summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot
blob: ce7da18e63103a58a61cdf36abd2d20b821021ab (plain)
1
2
3
4
5
6
7
8
9
#!/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