Dennis Lee Bieber <[email protected]> wrote: > On Wed, 4 Apr 2018 20:52:50 +0100, Chris Green > <[email protected]> declaimed the following: > > > > >When inserted in the BBB I want to update it did nothing on rebooting. > >I also tried powering up with the 'boot' button held down but that did > >no good either, it simply did nothing. > > > "nothing"? Did it even boot? > No, it didn't even boot, the single (power?) LED came on but that was all. Had me worried for a minute but without the boot button down it acted quite normally still and booted Debian 7,
> >I tried running the script:- > > > > /opt/scripts/tools/beaglebone-black-eMMC-flasher.sh > > > >and that didn't work either (as reported above in an earlier posting), > >it seems to have done something to the microSD which had Debian 9 on > >it too. > > > > Given what I could understand of the script (I'm no where near a BASH > script expert -- my heaviest "shell script" experience is VAX/VMS DCL, > AREXX [Amiga REXX]... I don't consider Python a "scripting language" (AREXX > could be used to control any application that opened an AREXX message port, > and any statement in a script that did not parse as native AREXX would be > sent to the current "command host" -- ie; the shell by default or an > application if one did "address application-name" first -- and the easiest > way to make a statement "not native" was to quote the first word) -- pardon > the harangue -- I understand the script to copy files from the /booted/ > system media to the other media. If it booted from the eMMC, running the > script will copy the eMMC to the SD card. > > I could be all wet with that hypothesis <G> > I think you're spot on actually! :-) I didn't stare all that hard at the code but it certainly did seem to copy from the eMMC to the microSD card. > > > >So, how on earth am I going to get Debian 9 onto my BBB? Surely there > >must be a reliable way to do this, especially as I have a running > >Debian system on it. Is there a script I can get which can install an > >OS from an image on a microSD? I'd really be happiest with a > >script/program I can load and run on my existing system rather than > >some sort of automatic load which requires a combination of buttons > >pressed and power-up sequences. > > > > Boot with your existing system. Insert the SD card. MOUNT the SD card > if it isn't automatically mounted (there was a period of time where the > Wheezy images would auto-mount SD cards). > Yes, my Debian 7 does automount SD cards. > Edit the <SDCARDMOUNT>/boot/uEnv.txt file (NOT a file on the eMMC) as > described http://beagleboard.org/latest-images > > Reboot. If the reboot doesn't read the SD card a start flashing, > reboot > with the boot button held down! Due to the changes in device tree handling > since Wheezy, a Wheezy era eMMC uBoot may not be compatible (hypothesis -- > I don't think I've used the boot button since Wheezy) and my understanding > is that the boot button totally bypasses the eMMC uBoot for the one on the > SD card (newer versions, I believe, use the eMMC uBoot which transfers to > the SD card if installed to complete the boot). > . OK, thanks, that does seem to make sense to me. I'll need to wait until I'm next back on the boat which will be a week or so now. The boat is in France and I'm in England, it's not just down the road! :-) -- Chris Green ยท -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/fu3hpe-beu.ln1%40esprimo.zbmc.eu. For more options, visit https://groups.google.com/d/optout.
