diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-09-07 22:43:46 +0200 |
---|---|---|
committer | Jan Luebbe <jlu@pengutronix.de> | 2012-09-07 22:43:46 +0200 |
commit | 876a4409b5564aca40234308c87ed6214c4abd5b (patch) | |
tree | 788248ca96994f4c3d43c76f4983807af810cb4a | |
parent | cb5cd4b23cc2d15aff7dca70ead9c1d7df2329c5 (diff) | |
download | platform-pengutronix-beagleboneti-876a4409b5564aca40234308c87ed6214c4abd5b.tar.gz platform-pengutronix-beagleboneti-876a4409b5564aca40234308c87ed6214c4abd5b.tar.xz |
barebox-defaultenv: use read-write rootfs
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
-rw-r--r-- | barebox-defaultenv/boot/sd | 16 | ||||
-rw-r--r-- | platformconfig | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/barebox-defaultenv/boot/sd b/barebox-defaultenv/boot/sd new file mode 100644 index 0000000..f2916a9 --- /dev/null +++ b/barebox-defaultenv/boot/sd @@ -0,0 +1,16 @@ +#!/bin/sh + +if [ "$1" = menu ]; then + boot-menu-add-entry "$0" "kernel & rootfs on SD card" + exit +fi + +global.bootm.image=/boot/uImage +#global.bootm.oftree=<path to oftree> +#global.bootm.initrd=<path to initrd> + +#bootargs-root-nfs -n "<path on server>" -s <serverip> +#bootargs-root-jffs2 -m <mtdname> +#bootargs-root-ubi -r <volume> -m <mtdname> + +global.linux.bootargs.root="root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rw" diff --git a/platformconfig b/platformconfig index 17e02f3..9114a36 100644 --- a/platformconfig +++ b/platformconfig @@ -131,7 +131,8 @@ PTXCONF_BAREBOX=y PTXCONF_BAREBOX_VERSION="2012.07.0" PTXCONF_BAREBOX_MD5="7d3293e72afe7726ac3d0f2b6fe961cf" PTXCONF_BAREBOX_CONFIG="barebox.config" -# PTXCONF_BAREBOX_EXTRA_ENV is not set +PTXCONF_BAREBOX_EXTRA_ENV=y +PTXCONF_BAREBOX_EXTRA_ENV_PATH="${PTXDIST_PLATFORMCONFIGDIR}/barebox-defaultenv" # PTXCONF_BAREBOX_BAREBOXENV is not set PTXCONF_BAREBOX_MLO=y PTXCONF_BAREBOX_MLO_VERSION="${PTXCONF_BAREBOX_VERSION}" |