9
0
Fork 0

cfa10036: Update the environment

Since we added a new partition in the board, the partitions number of
the boot and rootfs partition have changed as well.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Maxime Ripard 2013-02-26 17:50:21 +01:00 committed by Sascha Hauer
parent c981b83356
commit 2cc328ec2d
2 changed files with 5 additions and 5 deletions

View File

@ -5,6 +5,6 @@ if [ "$1" = menu ]; then
exit
fi
global.bootm.image="/mnt/disk0.1/zImage-${global.hostname}"
global.bootm.oftree="/mnt/disk0.1/oftree-${global.board.variant}"
global.linux.bootargs.dyn.root="root=/dev/mmcblk0p3 rootfstype=ext3 rootwait"
global.bootm.image="/mnt/disk0.2/zImage-${global.hostname}"
global.bootm.oftree="/mnt/disk0.2/oftree-${global.board.variant}"
global.linux.bootargs.dyn.root="root=/dev/mmcblk0p4 rootfstype=ext3 rootwait"

View File

@ -5,5 +5,5 @@ if [ "$1" = menu ]; then
exit
fi
mkdir -p /mnt/disk0.1
automount -d /mnt/disk0.1 '[ -e /dev/disk0.1 ] && mount /dev/disk0.1 /mnt/disk0.1'
mkdir -p /mnt/disk0.2
automount -d /mnt/disk0.2 '[ -e /dev/disk0.2 ] && mount /dev/disk0.2 /mnt/disk0.2'