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

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

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

Jump to solution
3,871 Views
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 Kudos
Reply
1 Solution
3,864 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
3,865 Views
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 Kudos
Reply