Hi,

Please excuse me for mentioning the wrong version no ie 1.1.6.

I tried the cp.b command, but no help, the board hangs.

The kernel messges regarding the NAND flah are:
---------------------------------------------------------------------------------------
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB
3,3V 8-bit)
Scanning device for bad blocks
no of partitions inside at91_nand.c:3
 INSIDE add_mtd_partitions
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00200000 : "Kernel"
ftl_cs: FTL header not found.
0x00200000-0x02200000 : "Filesystem-1"
ftl_cs: FTL header not found.
0x02200000-0x04000000 : "Filesystem-2"
ftl_cs: FTL header not found.
-----------------------------------------------------------------------------------------------

In ramdisk :
---------------------------------------------------------
/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00004000 "Kernel"
mtd1: 02000000 00004000 "Filesystem-1"
mtd2: 01e00000 00004000 "Filesystem-2"
/ #
---------------------------------------------------------


*Then, do i need to put latest U-Boot or is it possible to do the changes
for the same.


*Thanks and Regards,
Naveen
Application Engineer
Innovate Software Solutions Pvt Ltd.,
Bengalooru
*

*
Mon, Sep 8, 2008 at 10:13 PM, Scott Wood <[EMAIL PROTECTED]> wrote:

> On Mon, Sep 08, 2008 at 04:54:03PM +0200, Pedro Luis D. L. wrote:
> > On Mon, 8 Sep 2008 19:51:59 +0530 Navin wrote:
> >
> > >Hi all,
> > >
> > >I am running u-b00t-1.6.6 on custom at91sam9263 board.
> >
> > Are you sure it is u-boot-1.6.6? The latest u-boot in repository is
> > 1.3.4.
>
> I'm guessing he meant 1.1.6, which is quite old (and apparently old
> enough to suffer l33tsp34k bitrot).
>
> > >Now i am able to boot, jffs2 filesystem with linux-2.6.20 kernel.
>
> Especially since he's also using a kernel that is quite old. :-)
>
> > >but the procedure i am using to burn is jffs2 is :
> >
> > >1)boot the linux kernel with ramdisk
> >
> > >2)erase the flash partition using $flasheraseall -j /dev/mtd1
> > >3)writing the image using $nandwrite -p /dev/mtd1 rootfs.jffs2
> > >
> >
> > You should be able to flash the jffs2 file sytem from u-boot.
> > No need to do it from linux.
>
> I think that's the point, that it should work from u-boot but doesn't.
>
> There's probably either something wrong with the u-boot NAND driver being
> used, or the ECC layout doesn't match the kernel's.
>
> > >In uboot i did this way:
> > >
> > >1) tftp 21100000 rootfs.jffs2
> > >2)nand write.jffs2 21100000 0x200000 0x(hex add of displayed by tftp)
> > >
> >
> > Which command is "nand write.jffs2"?
>
> It's a perfectly normal u-boot command.
>
> > Maybe you're using a version which
> > is modified by the board supplier.
> > A "normal" way to flash it would be:
> >
> > cp.b 21100000 $(destiny_addr) $(filesize)
>
> That's for NOR flash.  It does not work for NAND.
>
> -Scott
> _______________________________________________
> U-Boot mailing list
> [EMAIL PROTECTED]
> http://lists.denx.de/mailman/listinfo/u-boot
>



--
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to