9
0
Fork 0
barebox/arch/arm/boards/highbank/env/boot/ahci-boot

17 lines
308 B
Bash

#!/bin/sh
path="/mnt/ahci-boot"
global.bootm.image="${path}/zImage"
. /env/data/oftree
oftree=${path}/oftree
if [ -f $oftree ]; then
global.bootm.oftree="$oftree"
fi
# The rootdevice may actually be mmcblk1p2 if a card
# is inserted to the back MMC slot
global.linux.bootargs.dyn.root="root=/dev/sda2"