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?
已解决! 转到解答。
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
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