How to edit .scr boot script file to boot Linux from uboot

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

How to edit .scr boot script file to boot Linux from uboot

跳至解决方案
3,864 次查看
m_kei
Contributor III

In LSDK, a script file named *.scr is used to boot Linux on the SD card from uboot.
How do I edit this *.scr file, more specifically lx2160ardb_boot.scr?

As far as searching in the build folder, there are .scr files for various boards in the uboot folder. I think "flex-builder -i mkimage" only selects and copies the .scr file from the board specified by the "-m" option from the .scr file that exists in the uboot folder.

So I assume that somewhere during the "flex-builder -i atf" run that generates the uboot, a .scr file is generated, where is this done? Also, is it possible to generate a .scr file with different contents?

0 项奖励
回复
1 解答
3,857 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You could modify section [distro autoboot script] in configs/board/lx2160ardb_rev2/manifest

Then regenerate boot script with the following command.

$ flex-builder -i mkdistroscr -m lx2160ardb_rev2

在原帖中查看解决方案

0 项奖励
回复
1 回复
3,858 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You could modify section [distro autoboot script] in configs/board/lx2160ardb_rev2/manifest

Then regenerate boot script with the following command.

$ flex-builder -i mkdistroscr -m lx2160ardb_rev2

0 项奖励
回复