From 4997cbc2b211f6752e54869c636bab5ef808d96b Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 14 Feb 2012 11:40:12 -0600 Subject: [PATCH] panda/es: switch to using uEnv.txt boot files by default Signed-off-by: Robert Nelson --- mk_mmc.sh | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 2a53d02..48fbdf0 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # -# Copyright (c) 2009-2011 Robert Nelson +# Copyright (c) 2009-2012 Robert Nelson # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -627,6 +627,46 @@ mmc_load_uimage=fatload mmc 0:1 \${address_uimage} \${bootfile} mmcargs=setenv bootargs console=\${console} \${optargs} mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} VIDEO_DISPLAY root=\${mmcroot} rootfstype=\${mmcrootfstype} +loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm \${address_uimage} \${address_uinitrd} +uenv_normalboot_cmd + ;; + panda) + +cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <> ${TEMPDIR}/bootscripts/normal.cmd <> ${TEMPDIR}/bootscripts/netinstall.cmd <> ${TEMPDIR}/bootscripts/normal.cmd <