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

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 12 04:07:47 EDT 2013


On Wed, Jun 12, 2013 at 09:19:48AM +0200, Adam Furmanczuk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 12.06.2013 08:12, Adam Furmanczuk wrote:
> > ********* *POCZATEK CZESCI SZYFROWANEJ / PODPISANEJ* *********
> > 
> > On 10.06.2013 19:29, Sascha Hauer wrote:
> >>> On Mon, Jun 10, 2013 at 07:23:33PM +0200, Adam Furmanczuk
> >>> wrote:
> >>>>> 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.
> >>> [...] CONFIG_ARCH_IMX_USBLOADER in a recent barebox. After 
> >>> compiling you will have scripts/imx/imx-usb-loader
> > Hi Sascha,
> > 
> > I have included the option: CONFIG_ARCH_IMX_USBLOADER=y then run
> > make clean and then make again, but there is no such file, tried to
> > search recursively for similar file in barebox top directory with:
> > find ./ -iname \*usb-loader\*
> > 
> 
> My bad, i got the latest git snaphot (699-bcc9) and there is
> USBLOADER.. have still some issues with compiling it.
> There is "memory bank" error [1]. Have seen there was a patch
> recently, but do not know the option to enable/disable

When CONFIG_ARCH_IMX_USBLOADER is enabled in your config you can do:

make scripts/imx/

This should build the tool only.

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