Hello
I would like to flash my board with Yocto image
1. after building , what is the fladhing procedure
2. how to get the device to UUU mode
3. which connector to use?
please provide full flash description
Hello
I would like to flash my board with Yocto image
1. after building , what is the fladhing procedure
2. how to get the device to UUU mode
3. which connector to use?
please provide full flash description
To flash the image to EMMC:
1 Download the latest UUU tools from NXP (included in mfgTools)
2 Copy the image files from your Yocto build's tmp/deploy/images/sm3s-imx8mp directory to the UUU directory
3 Adjust the 4-pole dipswitch to 1=ON, 2=OFF, 3=OFF, 4=OFF
4 Connect to the micro USB connector (next to the dipswitch)
5 Power on the board
6 Run the following command in Windows PowerShell:
.\uuu.exe -b emmc_all imx-boot-sm2s-imx8mp-sd.bin-flash_evk avnet-image-weston-sm2s-imx8mp.wic.zst
.\uuu -b emmc_all imx-boot-sm2s-imx8mp-sd.bin-flash_evk avnet-image-weston-sm2s-imx8mp.wic.zst
You can find more details here: https://simple.embedded.avnet.com/2024.4/sources/simplecore-bsp/meta-simplecore-bsp-imx8/docs/flash_emmc.html
I flash ok using this command:
sudo ./uuu -b emmc_all /media/mynewdrive/iai/build/tmp/deploy/images/sm2s-imx8plus/imx-boot-sm2s-imx8plus-sd.bin-flash_hdmi_spl_uboot /media/mynewdrive/iai/build/tmp/deploy/images/sm2s-imx8plus/avnet-edge-ai-kit-demo-sm2s-imx8plus-20240516022036.rootfs.wic.zst
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.181-0-gd362f4a
Success 1 Failure 0
1:8-15205800 8/ 8 [Done ] FB: done
but then when syste, loads I get:
resetting ...
BA @------------------------------
company .......... msc
form factor ...... sm2s
platform ......... imx8mp
processor ........ imx8mp
feature .......... 24N0600I
serial ........... 1015414804
revision (MES) ... B0
boot count ....... 16
------------------------------
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
NOTICE: BL31: v2.4(release):acddd624b
NOTICE: BL31: Built : 13:59:48, Nov 10 2021
U-Boot 2021.04-msc-imx_v2021.04_5.10.35_2.0.0-develop (Jan 26 2023 - 13:53:00 +0000)
CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 45C
Reset cause: POR
Model: MSC SM2S-IMX8MPLUS
DRAM: 4 GiB
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF acddd62
switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net:
Warning: ethernet@30be0000 using MAC address from ROM
Warning: ethernet@30bf0000 using MAC address from ROM
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
Boardinfo: OK, complete.
Using module eMMC flash as boot device ...
131 bytes read in 0 ms
switch to partitions #0, OK
mmc2(part 0) is current device
Failed to load 'boot.scr'
Loading image <Image> from mmc 2:1
29188608 bytes read in 97 ms (287 MiB/s)
Loading fdt <msc-sm2s-imx8mp-24N0600I-module.dtb> from mmc 2:1
83694 bytes read in 1 ms (79.8 MiB/s)
Loading fdt <overlay-cam1-ap1302-ar1335-dual.dtbo> from mmc 2:1
3124 bytes read in 1 ms (3 MiB/s)
Loading fdt <overlay-lvds0-ama-101a01.dtb> from mmc 2:1
3331 bytes read in 1 ms (3.2 MiB/s)
Loading fdt <overlay-hdmi.dtb> from mmc 2:1
1577 bytes read in 1 ms (1.5 MiB/s)
Loading fdt <noptargs=${optargs}> from mmc 2:1
Failed to load 'noptargs=${optargs}'
Loading noptargs=${optargs} to 0x43100000 failed
WARN: Cannot load the DT
u-boot=>
I flash ok using this command:
sudo ./uuu -b emmc_all /media/mynewdrive/iai/build/tmp/deploy/images/sm2s-imx8plus/imx-boot-sm2s-imx8plus-sd.bin-flash_hdmi_spl_uboot /media/mynewdrive/iai/build/tmp/deploy/images/sm2s-imx8plus/avnet-edge-ai-kit-demo-sm2s-imx8plus-20240516022036.rootfs.wic.zst
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.181-0-gd362f4a
Success 1 Failure 0
1:8-15205800 8/ 8 [Done ] FB: done
but then when syste, loads I get:
resetting ...
BA @------------------------------
company .......... msc
form factor ...... sm2s
platform ......... imx8mp
processor ........ imx8mp
feature .......... 24N0600I
serial ........... 1015414804
revision (MES) ... B0
boot count ....... 16
------------------------------
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
NOTICE: BL31: v2.4(release):acddd624b
NOTICE: BL31: Built : 13:59:48, Nov 10 2021
U-Boot 2021.04-msc-imx_v2021.04_5.10.35_2.0.0-develop (Jan 26 2023 - 13:53:00 +0000)
CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 45C
Reset cause: POR
Model: MSC SM2S-IMX8MPLUS
DRAM: 4 GiB
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF acddd62
switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net:
Warning: ethernet@30be0000 using MAC address from ROM
Warning: ethernet@30bf0000 using MAC address from ROM
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
Boardinfo: OK, complete.
Using module eMMC flash as boot device ...
131 bytes read in 0 ms
switch to partitions #0, OK
mmc2(part 0) is current device
Failed to load 'boot.scr'
Loading image <Image> from mmc 2:1
29188608 bytes read in 97 ms (287 MiB/s)
Loading fdt <msc-sm2s-imx8mp-24N0600I-module.dtb> from mmc 2:1
83694 bytes read in 1 ms (79.8 MiB/s)
Loading fdt <overlay-cam1-ap1302-ar1335-dual.dtbo> from mmc 2:1
3124 bytes read in 1 ms (3 MiB/s)
Loading fdt <overlay-lvds0-ama-101a01.dtb> from mmc 2:1
3331 bytes read in 1 ms (3.2 MiB/s)
Loading fdt <overlay-hdmi.dtb> from mmc 2:1
1577 bytes read in 1 ms (1.5 MiB/s)
Loading fdt <noptargs=${optargs}> from mmc 2:1
Failed to load 'noptargs=${optargs}'
Loading noptargs=${optargs} to 0x43100000 failed
WARN: Cannot load the DT
u-boot=>