by moonman » Fri Nov 01, 2013 9:14 am
You can edit your bootcmd, or create a script that does it for you and then reboots
The default bootcmd on mine:
$this->bbcode_second_pass_code('', 'bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset')
So the script:
to_stock:
$this->bbcode_second_pass_code('', '#!/bin/sh
fw_setenv bootcmd 'run pogo_bootcmd; reset'
reboot')
to_default:
$this->bbcode_second_pass_code('', '#!/bin/sh
fw_setenv bootcmd 'usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset'
reboot')
Never tested this, so have a serial or netconsole ready in case it doesn't work.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System