15 lines
287 B
Bash
15 lines
287 B
Bash
#!/bin/sh
|
|
|
|
path="/mnt/mmc"
|
|
|
|
global.bootm.image="${path}/zimage"
|
|
|
|
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/mmcblk0p2"
|