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,882件の閲覧回数
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,875件の閲覧回数
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,876件の閲覧回数
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 件の賞賛
返信