3.3 IPK Package Installation

This section describes how to install the demo application onto an existing root filesystem. This method is the fastest way to evaluate the OCPP stack along with the demo application. It also allows you to test a pre-built IPK package directly on a Linux-based target.

Note:
  • The IPK package is located in the demo_linux_ocpp_v1.6_certification/ipk folder.
  • Ensure that both the target board and the host PC are connected to the same network; otherwise, communication between them will fail.
  • The IP address 10.40.24.185 in the command below must be replaced with the actual IP address of the target board. To obtain the target board’s IP address, run the ifconfig command on the target board:
    
    root@sama5d27-wlsom1-ek-sd:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 04:91:62:42:F6:76
              inet addr:10.40.24.185  Bcast:10.40.24.255  Mask:255.255.255.0
              inet6 addr: fe80::691:62ff:fe43:f675/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:54418 errors:0 dropped:360 overruns:0 frame:0
              TX packets:939 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:5176322 (4.9 MiB)  TX bytes:63397 (61.9 KiB)
              Interrupt:156 Base address:0x8000
    

Once the board has booted successfully and is up and running, execute the commands below on the target board:

  1. Copy the IPK file to the target from the host Linux development PC, using a file transfer protocol such as SCP:
    cd ~demo_linux_ocpp_v1.6_certification/ipk
    scp demo-ocpp1.6_1.0.0-r0_cortexa5t2hf-neon-vfpv4_2025_10.ipk root@10.40.24.185:/root
  2. Install the IPK package:
    root@sama5d27-wlsom1-ek-sd:~#opkg install demo-ocpp1.6_1.0.0-r0_cortexa5t2hf-neon-vfpv4_2025_10.ipk
  3. Verify the installation:
    root@sama5d27-wlsom1-ek-sd:#ls /ocpp1.6/
    CSR.json  Invalid_Signed_Cert.pem OCPP_v16.json    Signed_Cert.pem  certificate.pem    chargeingprofilem_v2.db csr_output.pem  oflinepackets.db  tagauthcache.db CentralSystemRootCertificate.crt  ManufacturerRootCertificate.crt  PrivateKey.json  ca_cert.pem      certificates.json  config.json ocpp1.6_WD private_key.pem   taglocallist.db
    
  4. Run the OCPP demo application:
    root@sama5d27-wlsom1-ek-sd:/ocpp1.6#./ocpp1.6_WD
    2025-12-10 08:47:03 [DEBUG]: [APP_LOG] Options:
    Reboot the application:
            0: Reboot the applicationCore:
            A: Authorize
            B: Boot Notification
            c: Change Configuration
            D: Data Transfer
            H: Heart Beat
            M: Meter Values
            R: Reset
            S: StartTransaction
            N: StatusNotification
            Z: StopTransaction
    
  5. Go to OCPP Compliance Test Tool (OCTT) Server Setup.