From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Patrick Gerber <patrick.gerber@sensometrix.ch>
Cc: barebox@lists.infradead.org
Subject: Re: Flashing kernel from Linux
Date: Wed, 2 May 2012 12:42:49 +0200 [thread overview]
Message-ID: <20120502104249.GA20039@pengutronix.de> (raw)
In-Reply-To: <4FA10C8D.9010803@sensometrix.ch>
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
prev parent reply other threads:[~2012-05-02 10:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 10:29 Patrick Gerber
2012-05-02 10:42 ` Uwe Kleine-König [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120502104249.GA20039@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=patrick.gerber@sensometrix.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox