tftp to flash from linux
Baruch Siach
baruch at tkos.co.il
Tue Sep 13 07:43:53 EDT 2011
Hi Wouter,
On Tue, Sep 13, 2011 at 01:36:31PM +0200, Vanhauwaert Wouter wrote:
> To update our platform from within a booted linux, we need tftp to write to
> the nand-flash (another partition) directly.
> Which one do I use? /dev/mtdx or /dev/mtdblockx? And what happens with bad
> blocks here? Are these bad-block aware?
Use the nandwrite utility from the mtd-utils package (there's also a Busybox
version), and /dev/mtdx.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the barebox
mailing list