how to flash barebox and set root variable? - barebox is gone :(

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 10 13:29:01 EDT 2013


On Mon, Jun 10, 2013 at 07:23:33PM +0200, Adam Furmanczuk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 10.06.2013 19:07, Alexander Shiyan wrote:
> >> flashing barebox.bin to /dev/nor0.kernel
> >>> 
> >>> Unknown command 'tftp' - try 'help'
> > Seems tftp command is not compiled in. Ensure that you have 
> > CONFIG_CMD_TFTP in your .config.
> 
> Thanks Alexander,
> 
> but my barebox binary is gone :(. Have been a bit careles... I would
> need to flash the binary over my OCD USB controller, but do not realy
> have a clue how to do this.
> I am waiting for support reply for this ICnova iMX536 SODIMM module,
> they should give me some steps how to proceed.

Connect your board via USB to a host. Do you see a device? If yes,
enable CONFIG_ARCH_IMX_USBLOADER in a recent barebox. After compiling
you will have scripts/imx/imx-usb-loader which you can use to recover
via USB.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list