From: dan <[email protected]> Reply-To: <[email protected]> Date: Thursday, April 10, 2014 at 6:27 PM To: <[email protected]> Subject: Re: [beagleboard] undo boot from sdcard? need to boot from emmc while an sdcard is inserted
> no go, I mirrored your example exactly. Why don¹t you enter the commands manually in u-boot? Do the following: U-Boot# printenv Scroll up and look at the ³bootcmd² line. Each command is separated by a ³;². Use ³echo $<var>² to see the contents of any variable. This will help you understand what is going wrong. BTW, if you want to boot from eMMC, you can simply modify the uEnv.txt on your eMMC so that it does not query the SDCard. Just remove the part that does ³setenv mmcdev 0" Regards, John > > > On Thu, Apr 10, 2014 at 7:21 PM, Chad Baker <[email protected]> wrote: >> >> >> What does your second partition look like? >> I formatted my microSD with >> >> mkfs -t vfat -F 32 -n BoneBoot /dev/sda1 >> mkfs -V -t ext4 -j -L BoneData /dev/sda2 >> >> On 4/10/2014 8:05 PM, dan wrote: >> >> >>> >>> so I found a usb adapter. I made a bootable primary partition, 64MB, >>> formatted vfat, and made a file uEnv.txt, no go. Still hangs at boot. >>> >>> >>> >>> >>> mmcdev=1 >>> bootpart=1:2 >>> mmcroot=/dev/mmcblk1p2 ro >>> >>> >>> >>> >>> >>> >>> On Thu, Apr 10, 2014 at 6:56 PM, dan <[email protected]> wrote: >>> >>>> >>>> Chad, it's not working for me *but* I don't have a micro adapter so I've >>>> been working on mmcblk1 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Apr 10, 2014 at 5:55 PM, Chad Baker <[email protected]> wrote: >>>> >>>>> >>>>> >>>>> Assuming that you have a microSD card with the /dev/sd1 partition >>>>> formatted as vfat, >>>>> Copy a file with the following contents to /dev/sd1/uEnv.txt >>>>> >>>>> mmcdev=1 >>>>> bootpart=1:2 >>>>> mmcroot=/dev/mmcblk1p2 ro >>>>> - and when you reboot, the microSD should not cause a hang, but appear in >>>>> the file system. >>>>> >>>>> At least this works for me. >>>>> >>>>> >>>>> >>>>> >>>>> On 4/10/2014 5:28 PM, Dan Denson wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> >>>>>> I booted an image on sdcard by pressing the user/boot button. I then >>>>>> flashed the image to the emmc, which works fine. The system boots >>>>>> properly from emmc when there is no sdcard inserted, but if I insert an >>>>>> sdcard I can no longer boot from emmc. >>>>>> >>>>>> >>>>>> >>>>>> I have insterted an sdcard without boot flag and it wont boot, I have >>>>>> inserted one that was bootable and it boots the sdcard. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Is there a way to disable the boot from sdcard? >>>>>> >>>>>> -- >>>>>> For more options, visit http://beagleboard.org/discuss >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "BeagleBoard" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>>> an email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chad Baker 669 Landis St Memphis, TN 38104-5531 >>>>> >>>>> >>>>> >>>>> -- >>>>> For more options, visit http://beagleboard.org/discuss >>>>> --- >>>>> You received this message because you are subscribed to the Google Groups >>>>> "BeagleBoard" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an >>>>> email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Chad Baker 669 Landis St Memphis, TN 38104-5531 >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
