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 <