Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
May 20, 2012, 01:32:19 AM
News: Glomation introduced new wireless ready low cost GESBC-9260S
Pages: [1]
Topic Tools  
Read June 16, 2009, 04:09:19 AM #0
Klaus

Rootfs for Kernel 2.6.27.4

I cannot restore the factory images on my new GESBC-9260.

Is it possible to put the most recent images on your support webpage?
This would save much trial and error time.

First, I had the same problems as http://glomation.net/smf/index.php/topic,88.0.html.
Then I proceeded as follows:

1) Reprogrammed 2.6.27.4 with uImage (see thread link above)
2) Reprogrammed rootfs with http://www.glomationinc.com/Support/9260/9260rootfs.img

Now I get error messages just before the login prompt:
init started: BusyBox v1.12.1 (2008-10-07 15:15:41 EDT)
JFFS2 warning: (338) jffs2_sum_write_data: Not enough space for summary, padsize                        = -185

What is going wrong here?
What are the consequences of this warning?

Thanks for your support
Klaus

Here are the boot messag details:

DRAM:  128 MB
NAND:  1024 MiB
In:    serial
Out:   serial
Err:   serial
Net:   macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0xc5e1)
Hit any key to stop autoboot:  0
U-Boot> <INTERRUPT>
U-Boot> printenv
bootcmd=nand read 0x22000000 0x100000 0x200000; bootm
bootdelay=1
baudrate=115200
ethaddr=00:0c:20:02:0a:5b
ipaddr=192.168.0.200
serverip=192.168.0.102
netmask=255.255.255.0
ethact=macb0
bootargs=console=ttyS0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 mtdparts=a                       tmel_nand:1M(bootloader),3M(kernel),-(rootfs)
stdin=serial
stdout=serial
stderr=serial

Environment size: 354/131067 bytes
U-Boot> boot

NAND read: device 0 offset 0x100000, size 0x200000
 2097152 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...
   Image Name:   Linux-2.6.27.4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1482240 Bytes =  1.4 MB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................                       .................................. done, booting the kernel.
Linux version 2.6.27.4 (user1@Atlas) (gcc version 4.2.3) #3 Mon Nov 3 22:19:05 E                       ST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9260-EK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rw rootfstype=jffs                       2 mtdparts=atmel_nand:1M(bootloader),3M(kernel),-(rootfs)
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126704KB available (2708K code, 221K data, 124K init)
Calibrating delay loop... 99.12 BogoMIPS (lpj=495616)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after general reset
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Nov  3 2008 22:10:29 Installing.
msgmni has been set to 247
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc8870000 (irq 14)
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:0c:20:02:0a:5b)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
Driver 'sd' needs updating - please use bus_type methods
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 464 at 0x03a00000
Bad eraseblock 1694 at 0x0d3c0000
Bad eraseblock 3101 at 0x183a0000
Bad eraseblock 3199 at 0x18fe0000
Bad eraseblock 3866 at 0x1e340000
Bad eraseblock 5478 at 0x2acc0000
Bad eraseblock 6473 at 0x32920000
Bad eraseblock 6606 at 0x339c0000
3 cmdlinepart partitions found on MTD device atmel_nand
Creating 3 MTD partitions on "atmel_nand":
0x00000000-0x00100000 : "bootloader"
0x00100000-0x00400000 : "kernel"
0x00400000-0x40000000 : "rootfs"
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 124K
init started: BusyBox v1.12.1 (2008-10-07 15:15:41 EDT)
JFFS2 warning: (338) jffs2_sum_write_data: Not enough space for summary, padsize                        = -185
starting pid 348, tty '': '/etc/init.d/rcS'
Loading kernel module vntwusb.
modprobe: chdir(2.6.27.4): No such file or directory
starting pid 355, tty '/dev/ttyS0': '/sbin/getty -L ttyS0 115200 vt100'

Debian GNU/Linux 5.0 GESBC ttyS0

GESBC login: root
 
Read June 16, 2009, 08:33:12 AM #1
admin

Re: Rootfs for Kernel 2.6.27.4

The warning could be a result of not cleanly erased NAND FLASH.  Sometime power down without properly shutdown Linux can result similar warnings.  The JFFS2 should be able to repair by itself.
 
Read June 16, 2009, 11:19:53 AM #2
Klaus

Re: Rootfs for Kernel 2.6.27.4

The warning could be a result of not cleanly erased NAND FLASH.  Sometime power down without properly shutdown Linux can result similar warnings.  The JFFS2 should be able to repair by itself.


Yes, it repaired by itself. Thanks!
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re