after a few years of letting things rot, I just managed to pick up my old binaries and gave it a dry run:
https://github.com/nmenon/beagle-recover has the original working binaries since the google groups link no longer work. NOTE: I HAVE NOT TRIED WITH ANY OF THE LATEST SOURCES. I do not have plans to do so in the future as well - an quick try indicated things are broke :(
[Original post]
http://groups.google.com/group/beagleboard/web/beagle_recover.tar.bz2 has the recovery package ready to go for ubuntu 8.04 32bit OS: download this, run sudo ./recover_beagle.sh - as shown in the video... Steps summary:
1. first shutdown the board.
2. run 'sudo recover_beagle.sh /dev/ttyUSB0' in a terminal -> you need
super user permissions(sudo permissions) to run this script.
3. Keep the pushbutton S1pressed while powering on the board -> there
are two white push button switches, use the one closer to the edge of
the board
NOTE: if your nand is completely erased, the above step wont be
needed, but what the heck, use it for preventing all kind of cases
where you have an MMC card/partly corrupted nand etc..
4. Once the terminal starts downloading, you can remove ur finger off
the S1 switch ;)..
5. wait a bit for files to reach and be flashed :).. the script should
exit happily once it is done.
With u-boot-v1 in mainline arm repo, here is take two of the same.. this time with a script and a non-Oscar winning video:
complete discussion and thread here: http://groups.google.com/group/beagleboard/t/e193478766224281
copied here for details:
On my ubuntu 8.04 32bit OS PC, here are the steps I did. ------------- Build Steps ---------------- $git clone git://gitorious.org/x-load-omap3/mainline.git xloader $git clone git://git.denx.de/u-boot-arm.git $git clone git://git.denx.de/u-boot-v2.git $git clone git://github.com/nmenon/omap-u-boot-utils.git $alias mymake='make -j2 CROSS_COMPILE=arm-none-linux-gnueabi- V=1 ARCH=arm' $cd x-loader $mymake omap3530beagle_config;mymake $wget "http://beagleboard.googlecode.com/files/signGP.c" $gcc -o signGP signGP.c $./signGP x-load.bin 0x40200800 $cd ../u-boot-v2/ $mymake omap3530_beagle_per_uart_defconfig; mymake $cd ../u-boot-arm $mymake omap3_beagle_config;mymake $cd ../omap-u-boot-utils $make;make usb $mkdir -p ../beagle_recover/target_files;cd ../beagle_recover $cp ../omap-u-boot-utils/pusb ../omap-u-boot-utils/pserial ../omap-u-boot-utils/ukermit ../omap-u-boot-utils/ucmd . $cp ../u-boot-arm/u-boot.bin target_files/u-boot-v1.bin $cp ../u-boot-v2/uboot.bin target_files/u-boot-v2.bin $cp ../xloader/x-load.bin.ift target_files/x-load.bin.ift ------------- Flashing Steps ---------------- $TTY=/dev/ttyS0 $sudo ./pusb -f ./target_files/u-boot-v2.bin Connected just the USB cable to the board with the user switch S1 pressed. $./ucmd -p $TTY -c "loadb -f /dev/ram0" -e "bps..." $./ukermit -p $TTY -f target_files/u-boot-v1.bin $./ucmd -p $TTY -c "go 0x80000000" -e "serial";./ucmd -p $TTY -c "help" -e "#" $./ucmd -p $TTY -c "nand erase" -e "#" $./ucmd -p $TTY -c "nand write.i 80000000 80000 80000" -e "#" $./ucmd -p $TTY -c "loadb 80000000" -e "bps..." $./ukermit -p $TTY -f target_files/x-load.bin.ift $./ucmd -p $TTY -c "nandecc hw" -e "#" $./ucmd -p $TTY -c "nand write.i 80000000 0 80000" -e "#" The following step is optional if you want to remove the autoboot. $ ./ucmd -p $TTY -c "setenv bootcmd;nandecc sw;saveenv" -e "#" The attached tarball contain prebuilt images, and you can also use a script recover_beagle.sh which is part of the tgz attached.