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

Login with username, password and session length
May 22, 2012, 07:14:21 PM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read March 22, 2009, 12:38:20 AM #0
gurtlerc

Can't load factory Image

Hi,

I'm having a problem loading up the factory image back again. I have loaded up the image onto an older board ok, but the new boards don't seem to like the image.

The new board was loaded with Linux version 2.6.27.4 and the one on the web site is Linux version 2.6.25. This is the output, I'm not sure what I have done wrong.


Uncompressing Linux................................................................................................. done, booting the kernel.
Linux version 2.6.25 (user1@Atlas) (gcc version 4.2.3) #23 Wed Aug 27 22:28:51 EDT 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: 16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 mtdparts=atmel_nand:1M(bootloader),3M(kernel),-(rootfs)
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61756KB available (2756K code, 223K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after software 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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Aug 26 2008 19:36:02 Installing.
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
atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc4878000 (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)
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver rndis_wlan
usbcore: registered new interface driver zd1201
Driver 'sd' needs updating - please use bus_type methods
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
AT91 NAND: 8-bit, Software ECC
Scanning device for bad blocks
Bad eraseblock 537 at 0x04320000
Bad eraseblock 994 at 0x07c40000
Creating 2 MTD partitions on "at91_nand":
0x00000000-0x00040000 : "Partition 1"
0x00040000-0x08000000 : "Partition 2"
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
input: gpio-keys as /class/input/input0
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
i2c /dev entries driver
at91sam9_wdt: invalid timeout (must be between 1 and 16)
TCP cubic registered
NET: Registered protocol family 1
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
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
List of all partitions:
0100      12288 ram0 (driver?)
0101      12288 ram1 (driver?)
0102      12288 ram2 (driver?)
0103      12288 ram3 (driver?)
0104      12288 ram4 (driver?)
0105      12288 ram5 (driver?)
0106      12288 ram6 (driver?)
0107      12288 ram7 (driver?)
0108      12288 ram8 (driver?)
0109      12288 ram9 (driver?)
010a      12288 ram10 (driver?)
010b      12288 ram11 (driver?)
010c      12288 ram12 (driver?)
010d      12288 ram13 (driver?)
010e      12288 ram14 (driver?)
010f      12288 ram15 (driver?)
1f00        256 mtdblock0 (driver?)
1f01     130816 mtdblock1 (driver?)
No filesystem could mount root, tried:  jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
 
Read March 23, 2009, 10:16:38 AM #1
admin

Re: Can't load factory Image

The Linux 2.6.27 kernel has change the NAND FLASH device name from AT91_NAND to ATMEL_NAND.  You should check the U-boot boot argument settings to make sure it correspond to the kernel version you are using.  In your current case you need to change the Atmel_nand back to AT91_NADN.  The U-boot printenv and saveenv command can be used to check the boot arguments.
 
Read March 24, 2009, 09:03:41 PM #2
gurtlerc

Re: Can't load factory Image

Thanks, yes that works.

Would you be able to make the 2.6.27.4 image available for download, and the new file system as well?

Thanks,

Chris
 
Read March 25, 2009, 04:21:11 PM #3
admin

Re: Can't load factory Image

The pre-built 2.6.27.4 image attached.  The file system can be downloaded from http://www.glomationinc.com/Support/9260/9260rootfs.img
« Last Edit: October 06, 2009, 07:38:59 AM by admin »
* uImage (1437.5 KB - downloaded 47 times.)
 
Read April 24, 2009, 08:37:40 AM #4
hud001

Re: Can't load factory Image

I see new boards ship with kernel 2.6.27.4. 

But the 9260rootfs.img you have provided is for kernel 2.6.25 (/lib/modules/2.6.25). 

This can cause confusion for device drivers. E.g.seen on boot modprobe: chdir(2.6.27.4): No such file or directory

Do you have an updated version of 9260rootfs.img for kernel 2.6.27.4?

Is it possible to post linux-2.6.27.4-patch-gesbc-9260 so we can build our own kernels/file systems?

Kind Regards
David



 
Read April 27, 2009, 12:21:39 PM #5
admin

Re: Can't load factory Image

The patch can be downloaded from http://maxim.org.za/at91_26.html

Unless you have drivers configured as modules that need to be loaded at boot time you can always disable the module load script  or create a /lib/module<kernel version> directory to avoid the warning message.

 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re