|
From: | Claudia De Bartolomeis |
Subject: | [Ltib] changing RAM size m5329 Kernel Panic |
Date: | Tue, 6 Nov 2007 17:00:24 +0100 |
Hi
everybody,
I'm developing a system on a custom board based on the M5329evb // design, which has 32MB of RAM I now have new boards with 64MB of RAM instead of 32. I tryed to make the kernel aware of it changing the option CONFIG_RAMSIZE from 0x2000000 to 0x4000000. But It doesn't work on my system. I get a kernel panic! Thanks a lot for any help. Claudia Here it follows my boot log with 64M RAM (init.c in DEBUG mode) : uClinux/COLDFIRE(m532x) COLDFIRE port done by Greg Ungerer, address@hidden Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne virtual_end is 0x44000000 virtual_end is 0x44000000 Built 1 zonelists Kernel command line: root=/dev/nfs nfsroot=192.168.0.24:/tftpboot/M5329claudia/nfs ip=192.168.0.23:192.168.0.2 4:192.168.0.2:255.255.255.0::eth0:off PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory available: 60940k/65536k RAM, (1652k kernel code, 331k data) Mount-cache hash table entries: 512 NET: Registered protocol family 16 USB-MCF532x: (HOST module) EHCI device is registered USB-MCF532x: (OTG module) EHCI device is registered USB-MCF532x: (OTG module) UDC device is registered SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. io scheduler noop registered io scheduler cfq registered (default) Initing M532x Framebuffer Console: switching to colour frame buffer device 80x30 fb0: M532x FB frame buffer device ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Oct 15 2007 12:26:11 ColdFire internal UART serial driver version 1.00 ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 FEC ENET Version 0.2 fec: PHY @ 0x1, ID 0x20005c90 -- DP83848 eth0: ethernet 00:cf:53:29:cf:01 uclinux[mtd]: RAM probe address=0x402102a0 size=0x1cb000 Creating 1 MTD partitions on "RAM": 0x00000000-0x001cb000 : "ROMfs" uclinux[mtd]: set ROMfs to be root filesystem NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 595 at 0x0094c000 Creating 1 MTD partitions on "NAND 32MiB 3,3V 8-bit": 0x00000000-0x01000000 : "M5329 flash partition 1" QSPI: spi->max_speed_hz 250000 QSPI: Baud set to 160 COLDFIRE-QSPI: probed and master registered QSPI device driver installed OK ColdFire QSPI (at 0x4010ac4c) called request_irq without a dev_id! QSPI: Unable to attach ColdFire QSPI interrupt vector=95 usbmon: debugfs is not available MCF532x USB EHCI: is found. ID=0x5 Rev=0x41 ehci ehci.1: EHCI Host Controller ehci ehci.1: new USB bus registered, assigned bus number 1 ehci ehci.1: irq 176, io mem 0xfc0b4000 ehci ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected MCF532x USB EHCI: is found. ID=0x5 Rev=0x41 ehci ehci.0: EHCI Host Controller ehci ehci.0: new USB bus registered, assigned bus number 2 ehci ehci.0: irq 175, io mem 0xfc0b0000 ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected ehci-mcf532x: can't find transceiver! Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver udc: Freescale MCF532x UDC driver version 27 October 2006 init udc: No external transceiver! udc: MCF532x USB Device is found. ID=0x5 Rev=0x41 ts: Compaq touchscreen protocol output ads7843 spi1.1: touchscreen, irq 68 input: ADS784x Touchscreen as /class/input/input0 TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX. IP-Config: Complete: device=eth0, addr=192.168.0.23, mask=255.255.255.0, gw=192.168.0.2, host=192.168.0.23, domain=, nis-domain=(none), bootserver=192.168.0.24, rootserver=192.168.0.24, rootpath= Looking up port of RPC 100003/2 on 192.168.0.24 Looking up port of RPC 100005/1 on 192.168.0.24 VFS: Mounted root (nfs filesystem) readonly. Freeing unused kernel memory: 80k freed (0x401d5000 - 0x401e8000) BINFMT_FLAT: reloc outside program 0xffffffff (0 - 0x727d4/0x459c0), killing init! BINFMT_FLAT: reloc outside program 0xffffffff (0 - 0x727d4/0x459c0), killing sh! Kernel panic - not syncing: No init found. Try passing init= option to kernel. Here there is the correct one with 32M RAM: uClinux/COLDFIRE(m532x) COLDFIRE port done by Greg Ungerer, address@hidden Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne virtual_end is 0x42000000 virtual_end is 0x42000000 Built 1 zonelists Kernel command line: root=/dev/nfs nfsroot=192.168.0.24:/tftpboot/M5329claudia/nfs ip=192.168.0.23:192.168.0.2 4:192.168.0.2:255.255.255.0::eth0:off PID hash table entries: 256 (order: 8, 1024 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 28500k/32768k RAM, (1652k kernel code, 331k data) Mount-cache hash table entries: 512 NET: Registered protocol family 16 USB-MCF532x: (HOST module) EHCI device is registered USB-MCF532x: (OTG module) EHCI device is registered USB-MCF532x: (OTG module) UDC device is registered SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub NET: Registered protocol family 2 IP route cache hash table entries: 256 (order: -2, 1024 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 1024 bind 512) TCP reno registered JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. io scheduler noop registered io scheduler cfq registered (default) Initing M532x Framebuffer Console: switching to colour frame buffer device 80x30 fb0: M532x FB frame buffer device ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Oct 15 2007 12:26:11 ColdFire internal UART serial driver version 1.00 ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 FEC ENET Version 0.2 fec: PHY @ 0x1, ID 0x20005c90 -- DP83848 eth0: ethernet 00:cf:53:29:cf:01 uclinux[mtd]: RAM probe address=0x402102a0 size=0x1cb000 Creating 1 MTD partitions on "RAM": 0x00000000-0x001cb000 : "ROMfs" uclinux[mtd]: set ROMfs to be root filesystem NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 595 at 0x0094c000 Creating 1 MTD partitions on "NAND 32MiB 3,3V 8-bit": 0x00000000-0x01000000 : "M5329 flash partition 1" QSPI: spi->max_speed_hz 250000 QSPI: Baud set to 160 COLDFIRE-QSPI: probed and master registered QSPI device driver installed OK ColdFire QSPI (at 0x4010ac4c) called request_irq without a dev_id! QSPI: Unable to attach ColdFire QSPI interrupt vector=95 usbmon: debugfs is not available MCF532x USB EHCI: is found. ID=0x5 Rev=0x41 ehci ehci.1: EHCI Host Controller ehci ehci.1: new USB bus registered, assigned bus number 1 ehci ehci.1: irq 176, io mem 0xfc0b4000 ehci ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected MCF532x USB EHCI: is found. ID=0x5 Rev=0x41 ehci ehci.0: EHCI Host Controller ehci ehci.0: new USB bus registered, assigned bus number 2 ehci ehci.0: irq 175, io mem 0xfc0b0000 ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected ehci-mcf532x: can't find transceiver! Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver udc: Freescale MCF532x UDC driver version 27 October 2006 init udc: No external transceiver! udc: MCF532x USB Device is found. ID=0x5 Rev=0x41 ts: Compaq touchscreen protocol output ads7843 spi1.1: touchscreen, irq 68 input: ADS784x Touchscreen as /class/input/input0 TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX. IP-Config: Complete: device=eth0, addr=192.168.0.23, mask=255.255.255.0, gw=192.168.0.2, host=192.168.0.23, domain=, nis-domain=(none), bootserver=192.168.0.24, rootserver=192.168.0.24, rootpath= Looking up port of RPC 100003/2 on 192.168.0.24 Looking up port of RPC 100005/1 on 192.168.0.24 VFS: Mounted root (nfs filesystem) readonly. Freeing unused kernel memory: 80k freed (0x401d5000 - 0x401e8000) þSetting the hostname to freescale.11.17-19:56+0000) multi-call binary Mounting filesystems Starting syslogd and klogd Setting up networking on loopback device: Setting up networking on eth0: Adding static route for default gateway to 192.168.0.2: route: SIOC[ADD|DEL]RT: File exists Setting nameserver to 192.168.0.24 in /etc/resolv.conf: BusyBox v1.00 (2006.11.17-19:56+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. Claudia De Bartolomeis EOStech S.r.l. Via Zanardi, 512/8 - 40131, Bologna Italy Tel. +39 0516347050 - Fax. +39 0516353273 |
[Prev in Thread] | Current Thread | [Next in Thread] |