LS1028 ardb emmc kernel fusing with lsdk2004_ubuntu_main_LS_arm64.itb

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028 ardb emmc kernel fusing with lsdk2004_ubuntu_main_LS_arm64.itb

跳至解决方案
2,314 次查看
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 项奖励
回复
1 解答
2,299 次查看
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 项奖励
回复
2 回复数
2,300 次查看
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 项奖励
回复
2,293 次查看
pjw
Contributor II

 

Ok It works. Thanks!

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

bootm 0xa0000000#ls1028ardb

 

 

 

 

0 项奖励
回复