]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
samsung: common: add example boot scripts
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 22 May 2015 16:14:28 +0000 (18:14 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:24 +0000 (00:42 +0200)
commitdf51f983196ebf8f39853140136deddfaaaf2228
treec4daaff3e2b5fc5def807608fa6c5ac1a8cb0903
parent72a9834c6bf6dae9db32a1bc13ed511a8caf98e0
samsung: common: add example boot scripts

This commit adds example scripts of boot.scr:
- bootzimg.cmd - check if dtb exists and boot zImage
- autoboot.cmd - check which image exists: Image.itb, zImage or uImage
                 and optionally load fdt file for u/zImage

The blank spaces are added to improve readability and can be removed
before use mkimage.

Required U-Boot environment variables: $boardname, $fdtfile, $console,
$mmcbootdev, $mmcbootpart, $mmcrootdev, $mmcrootpart, $rootfstype.

Making boot.scr from file.cmd:
 mkimage -C none -A arm -T script -d file.cmd boot.scr

The Odroid XU3 default environment is ready for those boot scripts and
the right script can be loaded by DFU.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/bootscripts/autoboot.cmd [new file with mode: 0644]
board/samsung/common/bootscripts/bootzimg.cmd [new file with mode: 0644]