Bootargs for NAND Flash

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

Bootargs for NAND Flash

1,531 Views
varada_pavani
Contributor I

Hi ,

We are using LS2088A Based custom board. We are booting PBL and U-boot from QSPI Flash and we want to boot dpl, dpc, dtb, kernel and filesystem  from NAND flash. So can anyone suggest proper bootargs for this.

Thanks.

0 Kudos
3 Replies

1,270 Views
Pavel
NXP Employee
NXP Employee

It looks like that your command "bootm" is incorrect

See the page 148 of LSDK 19.03 documentation.

 

=> bootm a0000000#<board-name>

The <board-name> can be: ls1012ardb, ls1012afrwy, ls1043ardb, ls1046ardb, ls1088ardb, ls2088ardb.


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:

This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------

0 Kudos

1,270 Views
Pavel
NXP Employee
NXP Employee

Look at the Section 7.2.6.2 of LSDK 19.03 documentation:

https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev19.03.pdf

 

Create .itb file.

Write this file to the NAND.

Use "nand read" command for reading .itb file to the SDRAM.

Use "bootm" command for booting.


Have a great day,
Pavel Chubakov

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,270 Views
varada_pavani
Contributor I

Hi Pavel Chubakov,

We have created lsdk_linux_arm64_tiny.itb file using  this command flex-builder -i mklinux -m ls2088ardb -a arm64 and flashed using following procedure.

fatload mmc 0 0xa0000000 lsdk_linux_arm64_tiny.itb
nand write 0xa0000000 0x0 $filesize
nand read 0xa0000000 0x0 $filesize

=> bootm 0xa0000000
## Loading kernel from FIT Image at 80000000 ...
Could not find configuration node
ERROR: can't get kernel image!

Getting above error. Can you please help us?

0 Kudos