Newer
Older
barebox / arch / ppc / boards / owc-da923rc / defaultenv-owc-da923rc / bin / boot
@Barbier, Renaud Barbier, Renaud on 8 May 2019 250 bytes owc: directories and files renaming
#!/bin/sh
#Load the firmware images from the NOR UBIFS file system and boot

readlink /mnt/active symlink

bootargs="ubi.mtd=nand root=ubi0:fs-active rootfstype=ubifs rw panic=25"
cp /mnt/$symlink/uImage /
cp /mnt/$symlink/dtb /
bootm -o /dtb /uImage