RE: NAND Kernel partition vanished

2010-10-12 Thread gai boger


 gai boger bebe...@hotmail.com writes:
  It seems that the partition name Kernel in the nand no longer
  exists. Using dfu-util, it doesn't recognize the name, and when I
  use dfu-util -a 3 then it says it writes to an UNDEFINED
  partition, and at the u-boot it says that I'm writing to the
  rootfs partition.
 
 Have you read http://docs.openmoko.org/trac/ticket//2348 ?

I read it and that doesn't seem to be the problem nor the solution.
 
 
 
 Can you still boot the system in nand? If yes, check dmesg output for 2 
 things:
 
 The kernel commandline should look similar to this:
 
 [ 0.00] Kernel command line: rootfstype=jffs2
 root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=4
 regular_boot 
 mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0f6a
   (rootfs)
 
 And somewhat later:
  
 [ 1.30] 6 cmdlinepart partitions found on MTD device neo1973-nand
 [ 1.305000] Creating 6 MTD partitions on neo1973-nand:
 [ 1.305000] 0x-0x0004 : u-boot
 [ 1.305000] 0x0004-0x0008 : u-boot_env
 [ 1.305000] 0x0008-0x0088 : kernel
 [ 1.31] 0x0088-0x0092 : splash
 [ 1.315000] 0x0092-0x0096 : factory
 [ 1.315000] 0x0096-0x1000 : rootfs
  
 Maybe you u-boot environment is damaged?

The dmesg output does appear when I'm using the SHR-unstable. 
 
It seems that the problem is apparent only with the NOR u-boot and I've tried 
several ways and I can't flash a new kernel to the NAND.
 
Forgive me if I hadn't done my homework and looked throughly through the wiki 
pages but is there a way to flash a new kernel to the NAND through a 
distribution working on the SD card?
  ___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


RE: NAND Kernel partition vanished

2010-10-12 Thread gai boger

 On 12 October 2010 20:18, gai boger bebe...@hotmail.com wrote:
  ...
  It seems that the problem is apparent only with the NOR u-boot and I've
  tried several ways and I can't flash a new kernel to the NAND.
 
  Forgive me if I hadn't done my homework and looked throughly through the
  wiki pages but is there a way to flash a new kernel to the NAND through a
  distribution working on the SD card?
 
 That's my favorite way of flashing a new kernel:
 
 flash_eraseall /dev/mtd3
 nandwrite -p /dev/mtd3 kermel_image
 
 Use mtd6 for flashing a new rootfs. With dfu-util it's way too slow.

I eventually managed to flash the kernel through dfu-util on windows.
 
 
Thank you for your help.  ___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support