Re: Flashing kernel from Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 02, 2012 at 12:29:33PM +0200, Patrick Gerber wrote:
> Dear mailing list
> 
> I used to flash the linux kernel using barebox update command.
> Now I would like to do the same from the Linux side. A simple dd to
> /dev/mtdblockX used to work with uboot but doesn't work with
> barebox. Barebox complain at startup about bad image...
> Do you have any hint about how to flash the kernel from the Linux side ?
You first need to erase the flash (using flash_erase from the mtd-utils)
and then you might need to use nandwrite to actually write the image.

IIRC Busybox contains these utilities, too.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux