I have a imx8mp evk power evaluation kit
https://www.nxp.com/design/design-center/development-boards-and-designs/8MPLUSLPD4-PEVK
And for this flexbuild https://github.com/NXP/flexbuild
was made, with
bld -m imx8mpevk
And the output images was flashed into SD card with
flex-installer -d /dev/sdb -m imx8mpevk -f firmware_imx8mpevk_sdboot.img -r
rootfs_lsdk2412_debian_desktop_arm64.tar.zst -b
boot_IMX_arm64_lts_6.6.36.tar.zst
But the SD card bootup fails with
U-Boot SPL 2024.04-00005-g66fcf6427d8 (Mar 31 2025 - 02:10:26 -0400) DDRINFO: start DRAM init DDRINFO: DRAM rate 4000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done SEC0: RNG instantiated Normal Boot Trying to boot from BOOTROM Boot Stage: Primary boot image offset 0x8000, pagesize 0x200, ivt offset 0x0 NOTICE: Do not release JR0 to NS as it can be used by HAB NOTICE: BL31: v2.10.0 (release):automotive-14.0.0_2.3.0 NOTICE: BL31: Built : 02:12:46, Mar 31 2025 U-Boot 2024.04-00005-g66fcf6427d8 (Mar 31 2025 - 02:10:26 -0400) CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz) CPU: Commercial temperature grade (0C to 95C) at 28C Reset cause: POR Model: NXP i.MX8MPlus LPDDR4 EVK board DRAM: 6 GiB optee optee: OP-TEE api uid mismatch TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50] SNK.Power3.0 on CC1 PDO 0: type 0, 5000 mV, 3000 mA [E] PDO 1: type 0, 9000 mV, 3000 mA [] PDO 2: type 0, 15000 mV, 3000 mA [] PDO 3: type 0, 20000 mV, 2250 mA [] Requesting PDO 3: 20000 mV, 2250 mA Source accept request PD source ready! tcpc_pd_receive_message: Polling ALERT register, TCPC_ALERT_RX_STATUS bit failed, ret = -62 Power supply on USB2 TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50] Core: 287 devices, 37 uclasses, devicetree: separate MMC: FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... *** Warning - bad CRC, using default environment [*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c fail to probe panel device adv7535@3d fail to get display timings probe video device failed, ret -19 [0] lcd-controller@32e80000, video [1] mipi_dsi@32e60000, video_bridge [2] adv7535@3d, panel adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c fail to probe panel device adv7535@3d fail to get display timings probe video device failed, ret -19 In: serial Out: serial Err: serial SEC0: RNG instantiated switch to partitions #0, OK mmc1 is current device flash target is MMC:1 Net: eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME] Fastboot: Normal Normal Boot Hit any key to stop autoboot: 0 Working FDT set to 43000000 libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND starting USB... Bus usb@38100000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@38200000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@38100000 for devices... 2 USB Device(s) found scanning bus usb@38200000 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device switch to partitions #0, OK mmc2(part 0) is current device Scanning mmc 2:1... 62378 bytes read in 4 ms (14.9 MiB/s) optee optee: OP-TEE api uid mismatch Unable to open OP-TEE session (err=-19) mm_communicate failed! Error: Cannot initialize UEFI sub-system, r = 3 Running BSP bootcmd ... switch to partitions #0, OK mmc1 is current device Can't set block device Can't set block device Booting from net ... ethernet@30bf0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT ! phy_startup() failed: -110FAILED: -110BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 DHCP client bound to address 10.240.3.131 (1015 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET BOOTP broadcast 1 DHCP client bound to address 10.240.3.131 (8 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET WARN: Cannot load the DT u-boot=> boot
while the same steps followed, when rootfs of base debian, it boots all good. ( rootfs_lsdk2412_debian_desktop_arm64.tar.zst )
Any clues?
I confirm with the LSDK testing team, they have verified, there is no problem with the built image.
Before run your flex-installer command, first please run the following command to partition and format SD card.
$ flex-installer -i pf -d <device>
As you mentioned, you could boot rootfs of base debian on the target board, you could run the following command on the target board to upgrade to desktop debian rootfs filesystem in the base debian rootfs filesystem.
dhclient -i end0
debian-post-install-pkg desktop