Flashing NAND from NAND

Atilla Filiz atilla.filiz at gmail.com
Sun Oct 18 18:10:35 CEST 2009


On IRC, I asked someone to
dd if=/dev/mtd0 of=nor.img
for me. Does that work? The link in the wiki page is dead.
I always flash my kernel and rootfs from NAND u-boot menu.

On Sun, Oct 18, 2009 at 5:25 PM, Joachim Ott <jo.omsl at googlemail.com> wrote:

> 2009/10/18 Atilla Filiz <atilla.filiz at gmail.com>:
> > Hello
> > I have a blank NOR and didn't have time to hack and flash it(don't want
> to
> > buy a debug board). Is it safe to boot into NAND u-boot menu and flash a
> new
> > bootloader to NAND? Probably not a good idea.
>
> To flash something via USB cable with dfu-util you have to be in the
> NOR boot menu. But it's totally legal to reflash /dev/mtd1 (u-boot),
> mtd2 (u-boot_env) or mtd3 (kernel) when you have booted into the
> rootfs in NAND. When you've booted from sd-card, you can reflash mtd6
> (rootfs) too. Use flash_eraseall and nand_write for this.
>
> Writing to /dev/mtd0 (NOR boot) is possible without debug board too,
> you need need to enable write access to it. See
> http://wiki.openmoko.org/wiki/Flashing_NOR
>
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>



-- 
---------------------------------------------------------
Atilla Filiz
Eindhoven University of Technology
Embedded Systems, Master's Programme
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20091018/a9ed7920/attachment.htm 


More information about the support mailing list