I'm trying to do automated testing of some new images on BBB. The current 
solution I'm looking at is to keep a stable image on the emmc (default 
debian image at the moment, but I'm not *too* picky here), and use it to 
flash the new image on the sd card, then trigger a reboot into the new 
image. I cannot assume at any time that the new image I'm flashing to the 
sd works well, or even boots at all, so I need a way to get back to the 
image on the emmc.

Fortunately, I've got pretty good access to network controllable relays and 
power. So I can automate the process of powering off the device, instrument 
the s2 button with a relay, and even check in uboot that s2 is pressed and 
force booting to the sd card.  The problem I'm having is that for some 
reason, even when I boot without pressing s2, it winds up booting the image 
that's on the sd card - I suspect maybe because it finds a uEnv.txt there 
when searching the mmc?  I've also noticed that I cannot saveenv when I 
boot from the emmc and get into uboot there, but I can when I boot with s2 
held and boot into the uboot from my image on the sdcard. If I set things 
in the environment and save them from there though, they don't show up in 
printenv when I boot off the emmc.

So that was a bit of a mouth full... if I were to distill it down to a 
single question - is there a something I can do to the debian or ubuntu 
image running off the emmc to ensure that when s2 is *not* pressed, it will 
boot the image on the emmc regardless of what's on the sd card?

Thanks,
Paul Larson

-- 
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.

Reply via email to