Hi, On 06/06/2019 10.17, daniel.sangorrin@toshiba.co.jp wrote: >> If yes, why not using u-boot-script >> and loading /boot/boot.scr instead? > > After loading boot.scr, don't we need the "source" command to work? "source" does not seem to be configured in the pre-installed u-boot. > > Also, to create boot.scr we need mkimage. I wonder if modern Debian u-boot-tools' mkimage will create a boot.scr that is compatible with the pre-installed u-boot (remember that I couldn't build the old u-boot with the new compilers). You could just use the mkimage that comes from your u-boot source to be certain. I do something similar [1] since the upstream debian u-boot-tools do not support creating signed fit images. [1] https://github.com/ilbers/isar/blob/master/meta/classes/fit-img.bbclass regards, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153 Keyserver: hkp://pool.sks-keyservers.net