This repository holds the needed additional configuration to prepare the i.MX Linux BSP and build the i.MX EasyEVSE Linux demo.
The following instructions are abbreviated. Please consult the i.MX Linux Yocto Project User's Guide for specific details.
-
Default Build
repo init -u https://github.com/nxp-imx-support/nxp-easyevse-mpu-manifest.git -b release/easyevse-mpu-2.0 -m imx-6.1.55-2.2.0_evse.xml repo sync
-
Download the Plug & Trust Middleware (04.05.00)
- Login to NXP.com and download the EdgeLock SE05x Plug & Trust Middleware 04.05.00
- Copy the downloaded
se05x_mw_v04.05.00.zip
file to the directory where you ranrepo sync
above.
-
Build the Image
DISTRO=fsl-imx-wayland MACHINE=imx93evk-easyevse . imx-setup-easyevse.sh -b imx93 -r humble bitbake imx-image-easyevse
Note: The image is configured by default for use with the LVDS display (DY1212W-4856).
-
Optional: To use the older MIPI-DSI display (MX8-DSI-OLED1A), disable LVDS display support before the final build step from above.
echo 'DISTRO_FEATURES:remove = "LVDS_DISPLAY_SUPPORT"' >> conf/local.conf bitbake imx-image-easyevse
-
Optional: Disable SE050 authentication in the ISO 15118 stack before the final build step from above.
echo 'FEATPROD_PKCS11_SUPPORTED ?= "OFF"' >> conf/local.conf bitbake imx-image-easyevse
-
Install the image to eMMC or SDCard
The same image shall be flashed to both the EVSE and EV boards.
Consult the i.MX Linux User's Guide for details connecting to and flashing the system image on the boards.
-
Configure the board to boot in "Download mode"
-
Flash the imx-image-easyevse WIC image compiled above. E.g., using UUU:
cd tmp/deploy/images/imx93evk-easyevse uuu -b emmc_all imx-boot imx-image-easyevse-imx93evk-easyevse.wic.zst
-
Boot the image on eMMC or SDCard
-
Provisioning the SE050 is only necessary once.
-
Make sure the SE050 is plugged and working
OPENSSL_CONF=/etc/ssl/openssl11_sss_se050.cnf nxp_iot_agent_demo se05x_GetInfo
-
Run provision script
cd ~/res/se05x/ ./provision.sh
In certain cases, the SE050 memory may need to be purged and then re-provisioned.
-
Configure the
ssscli
toolcd /opt/ssscli pip3 uninstall cryptography pip3 install 'cryptography<38' python3 setup.py develop
-
Connect to the SE050 and clear its internal memory
cd ~ ssscli connect se05x t1oi2c /dev/i2c-0:0x48 ssscli se05x reset
-
Re-provision the SE050 as instructed above
If you continue to experience difficulties, it might be necessary to unassign your SE050 device at edgelock2go.com and reassign it to the device group within the EdgeLock 2GO platform.
Both connection to a typical Access Point (AP) via the mlan0
interface
Wi-Fi Direct (WFD) via the wfd0
interface and can be used. Please
refer to the
i.MX Linux Reference Manual
and
NXP Wireless SoC Features and Release Notes for Linux
for specific Wi-Fi details.
Connection to an AP uses the mlan0
interfaces. Wi-Fi Direct uses the
wfd0
interface.
-
Edit the /etc/wpa_supplicant/wpa_supplicant-interface.conf file, choosing the appropriate
mlan0
orwfd0
for interface.ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=1 ap_scan=1 network={ key_mgmt=WPA-PSK ssid="NAME-OF-YOUR-NETWORK" psk="PASSWORD" }
-
Enable the systemd wpa_supplicant@interface service to start on next boot and, optionally, start it immediately. Again, choose
mlan0
orwfd0
as appropriate for the interface name. E.g.,-
AP:
systemctl enable wpa_supplicant@mlan0 systemctl start wpa_supplicant@mlan0
-
WFD:
systemctl enable wpa_supplicant@wfd0 systemctl start wpa_supplicant@wfd0
-
Configure the cloud.conf
file with your credentials (consult the EasyEVSE User
Guide). This is necessary only on the EVSE system.
-
EVSE
cp .nxp-easyevse/cloud.conf ./ vi cloud.conf
-
EVSE
.nxp-easyevse/evse-startup.sh all
-
EV
./stx_pev_eth
- meta-imx: https://github.com/nxp-imx/meta-imx/
- meta-iot-cloud: https://github.com/intel-iot-devkit/meta-iot-cloud
- nxp-easyevse-mpu: https://github.com/nxp-imx-support/nxp-easyevse-mpu
- NXP i.MX 93 EVK (imx93evk)
Releases are tracked against the i.MX Linux software releases. Supported releases are listed below.
- Mickledore
- 6.1.55_2.2.0