summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91sam9m10ihd/env/boot/android
blob: e440f180688ef0bb94c7d5341401e13c688d8880 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ "$1" = menu ]; then
	boot-menu-add-entry "$0" "android (nand)"
	exit
fi

global.bootm.image="/dev/nand0.kernel.bb"
global.linux.bootargs.dyn.root="root=/dev/mtdblock1 rootfstype=jffs2 rw init=/init rootdelay=1"
# clean the mtdparts otherwise android does not boot
global -r linux.mtdparts.