* Flashing kernel from Linux
@ 2012-05-02 10:29 Patrick Gerber
2012-05-02 10:42 ` Uwe Kleine-König
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Gerber @ 2012-05-02 10:29 UTC (permalink / raw)
To: barebox
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 ?
Thanks in advance
Patrick
--
____________________________________
Patrick Gerber
patrick.gerber@sensometrix.ch
Sensometrix SA
rue Albert-Richard 2
1201 Genève
+41 (0) 22 510 22 01
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Flashing kernel from Linux
2012-05-02 10:29 Flashing kernel from Linux Patrick Gerber
@ 2012-05-02 10:42 ` Uwe Kleine-König
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2012-05-02 10:42 UTC (permalink / raw)
To: Patrick Gerber; +Cc: barebox
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-02 10:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-02 10:29 Flashing kernel from Linux Patrick Gerber
2012-05-02 10:42 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox