AnsweredAssumed Answered

LX2160ARDB- BSP firmware error message when put on system

Question asked by Tyler Bell on Mar 28, 2019
Latest reply on Jul 16, 2019 by Daniel Klauer

Hello, new to using NXP (and BSP in general), and could use some assistance.

 

I am trying to boot the LX2160ARDB from an SD card and it is unable to start Linux.

I see the below error message before being returned to the u-boot console (error in bold):

 

Hit any key to stop autoboot:  0
Device: FSL_SDHC
Manufacturer ID: 27
OEM: 5048
Name: SD08G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK
fsl-mc: Deploying data path layout ..ERROR (MC is not booted)

 

From what I can tell, u-boot starts and returns a console, but there's an error being reported about the firmware FIT file. Below is a snippet of the u-boot print log of the boot sequence (error in bold).

 

DPMAC2@xlaui4, DPMAC3@xgmii, DPMAC4@xgmii, DPMAC5@25g-aui, DPMAC6@25g-aui, DPMAC17@rgmii-id, DPMAC18@rgmii-id

MMC read: dev # 0, block # 20480, count 2048 ... 2048 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
Wrong FIT format: no description
fsl-mc: ERR: Bad firmware image (bad FIT header)

 

I'm following instructions from this pdf: "Layerscape LX2160A BSP v0.5.pdf" (Chapter 4 LX2160A BSP User Guide), and building with flexbuild (lsdk version 18.12). I'm using self-built firmware, but grabbing firmware from this url results in the same problem, so I must just not be executing a step properly or something.

 

wget http://www.nxp.com/lgfiles/sdk/lx2160a_bsp05/firmware_lx2160ardb_uboot_sdboot.img

 

Attached is a text file containing the build output from flex-builder for building the firmware image, using "flex-installer" to bind it to an SD card, and the full serial output from booting from SD card.

 

Any help would be appreciated, thanks!

 

For convenience, commands being run to build the SD card:

$ flex-builder -i mkrfs -a arm64 -r centos:tiny -m lx2160ardb

 $ flex-builder -i mkfw -a arm64 -m lx2160ardb -b sd

$ wget http://www.nxp.com/lgfiles/sdk/lx2160a_bsp05/bootpartition_LS_arm64_lts_4.14.tgz

$ flex-installer -f build/images/firmware_lx2160ardb_uboot_sdboot.img -b bootpartition_LS_arm64_lts_4.14.tgz -r build/rfs/rootfs_centos_7.6.1810_LS_arm64/ -d /dev/sde

Outcomes