diff options
author | Andi Shyti <andi@etezian.org> | 2016-06-26 16:38:58 +0300 |
---|---|---|
committer | Andi Shyti <andi@smida.it> | 2017-02-19 05:17:14 +0200 |
commit | cd1b62fe96ba062b947780694eabc6be29535484 (patch) | |
tree | 0101355e86471f3427edd1413597950ad96142ed /board/odroid-xu4/boot.cmd | |
parent | 7466788e4008eaa6cd9ed651b7871986452ef2ce (diff) |
board: add support for the Odroid XU4 boardodroid-xu4-v1
The Odroid XU4 board is released by hardkernel and has a Samsunx
5422 SoC.
The board is supported both by mainline Linux Kernel and mainline
u-boot. For the latter a boot.cmd script is provided which needs
to be converted to boot.scr
It requires the odroid boot firmware that contains the previous
stages of boot earlier than u-boot
Signed-off-by: Andi Shyti <andi@etezian.org>
Diffstat (limited to 'board/odroid-xu4/boot.cmd')
-rw-r--r-- | board/odroid-xu4/boot.cmd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/odroid-xu4/boot.cmd b/board/odroid-xu4/boot.cmd new file mode 100644 index 000000000..2fb4c163a --- /dev/null +++ b/board/odroid-xu4/boot.cmd @@ -0,0 +1,10 @@ +setenv kernelname zImage; +setenv boot_kernel "setenv bootargs \"${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}\"; +load mmc ${mmcbootdev}:${mmcbootpart} 0x40007FC0 '${kernelname}'; +if load mmc ${mmcbootdev}:${mmcbootpart} 40800000 ${fdtfile}; then + bootz 0x40007FC0 - 40800000; +else + echo Warning! Booting without DTB: '${fdtfile}'!; + bootz 0x40007FC0 -; +fi;" +run boot_kernel;
\ No newline at end of file |