LS1028 ardb emmc kernel fusing with lsdk2004_ubuntu_main_LS_arm64.itb

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

LS1028 ardb emmc kernel fusing with lsdk2004_ubuntu_main_LS_arm64.itb

Jump to solution
969 Views
pjw
Contributor II

Hi, I'm testing with the LS1028ARDB reference board now.

What I'm doing now, build itb file from flexbuild_lsdk2004_update_290520 source,
I'm trying to push the file to emmc. To change the kernel because itb file contains a kernel.
The file name is this. lsdk2004_ubuntu_main_LS_arm64.itb


The commands used to enter u-boot are as follows.


tftp a00000 lsdk2004_ubuntu_main_LS_arm64.itb
mmc dev 1(emmc)
mmc write a00000 0x08000 AE341(file size)

The block address referred to LSDKUG_Rev20.04_290520.pdf.

When rebooting after proceeding as above, message appears that kernel image cannot be found.


Note that uploading the lsdk2004_yocto_tiny_LS_arm64.itb file will work normally.
The file has a capacity of about 35MB and the file lsdk2004_ubuntu_main_LS_arm64.itb is 348MB in size.


So, I guess, because the uuntu_main_LS_arm64.itb file has a large capacity, only a portion of that file is uploaded.

So I want to know how to change related settings or how to solve them.

0 Kudos
1 Solution
954 Views
yipingwang
NXP TechSupport
NXP TechSupport

tftp a0000000 lsdk2004_ubuntu_main_LS_arm64.itb
mmc dev 1
mmc write a0000000 0x8000 af000

 

mmc read 0xa0000000 0x8000 0xaf000

bootm 0xa0000000#ls1028ardb

If your problem remains, please provide your procedure how you generated lsdk2004_ubuntu_main_LS_arm64.itb.

View solution in original post

0 Kudos
2 Replies
955 Views
yipingwang
NXP TechSupport
NXP TechSupport

tftp a0000000 lsdk2004_ubuntu_main_LS_arm64.itb
mmc dev 1
mmc write a0000000 0x8000 af000

 

mmc read 0xa0000000 0x8000 0xaf000

bootm 0xa0000000#ls1028ardb

If your problem remains, please provide your procedure how you generated lsdk2004_ubuntu_main_LS_arm64.itb.

0 Kudos
948 Views
pjw
Contributor II

 

Ok It works. Thanks!

I couldn't because I didn't enter ls1028ardb after #.

bootm 0xa0000000#ls1028ardb

 

 

 

 

0 Kudos