Problems with uploading fsl-image-core to LS1046ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with uploading fsl-image-core to LS1046ardb

1,488 Views
bradleymarquard
Contributor I

I am trying to run fsl-image-core on the LS1046ardb. I ran bitbake fsl-image-core with the QorIQ SDK 2.0-1703. I am having trouble loading it onto the board. I am not quite sure if I am using the right files or the right commands.

I can run these commands fine

tftp 82000000 rcw_1600_qspiboot.bin
sf probe 0:1; sf erase 0 +$filesize; sf write 82000000 0 0x100

tftp 82000000 u-boot-qspi-2016.09+fslgit-r0.bin
sf probe 0:1; sf erase 100000 +$filesize; sf write 82000000 100000 $filesize

tftp 82000000 fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
sf probe 0:1; sf erase 300000 +$filesize; sf write 82000000 300000 $filesize

cpld reset altbank

The trouble comes when trying to load the FIT image. The two .itb files in the images folder are ppa.itb and ppa-ls1046ardb-20180408194441.itb

I tried to follow the instructions in QORIQ-SDK-2.0-IC-REV0 section 4.4.8.9.1 using the second itb file using these commands

setenv bootargs ‘root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200’
saveenv

tftp a0000000 ppa-ls1046ardb-20180408194441.itb
bootm a0000000

This gave me this error

## Loading kernel from FIT Image at a0000000 ...
Using 'config@1' configuration
Could not find subimage node
ERROR: can't get kernel image!

I then tried the same process again but loading the ppa.itb to 64500000 before running cpld reset altbank but it gave me the same results

I also tried using Image-ls1046ardb.bin, fsl-image-core-ls1046ardb.ext2.gz.u-boot, and Image-fsl-ls1046a-rdb.dtb with these commands instead of with the .itb

tftp a0000000 Image-ls1046ardb.bin
tftp b0000000 fsl-image-core-ls1046ardb.ext2.gz.u-boot
tftp c0000000 Image-fsl-ls1046a-rdb.dtb
bootm a0000000 b0000000 c0000000

which gave me this error

Wrong Image Format for bootm command
ERROR: can't get kernel image!

i also tried bootm 'a0000000 b0000000 c0000000' but that just brought up the help options for bootm

The last thing i tried was booti a0000000 b0000000 c0000000 which gave me this error

Bad Linux ARM64 Image magic!

What is the proper way to deploy fsl-image-core to the target board

Labels (1)
Tags (1)
3 Replies

944 Views
Pavel
NXP Employee
NXP Employee

Use "bitbake fsl-image-kernelitb" command for .itb file generation.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

944 Views
Pavel
NXP Employee
NXP Employee

Look at the Section 4.4.7.11 of SDK 2.0-1703 documentation:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

Use the following commands for booting:

=>tftp a0000000 kernel.itb;

=>bootm a0000000


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

944 Views
bradleymarquard
Contributor I

Where is the kernel.itb located after doing bitbake fsl-image-core. I can't find it in images/ls1046ardb. The only itb files there are ppa-ls1046ardb-20180408194441.itb and ppa.itb 

0 Kudos