On Thu, 22 Apr 2010, jamil_fawad wrote:
> Hi,
> I have compiled the 2.6.27.4 kernel after applying matts' patch. When I try
> to boot from compact flash with commands:
>
>
> load -b 0x00218000 -m disk hda1:/boot/vmlinux
> exec -c "console=ttyAM0,115200 root=/dev/sda1"
Just some thoughts...
What is in the /etc/fstab on /dev/sda1?
What happens if you do
exec -c "console=ttyAM0,115200 root=/dev/sda1 init=/bin/sh"
where /bin/sh is the default shell for your setup, alter if necessary
>
>
> I get the error: kernel panic - not syncing: No init found
>
> Earlier I have tried to compile 2.6.21 kernel but it was giving the error:
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0
>
>
> Here are my Boot messages:
>
>>> TS-BOOTROM, Rev 1.09 - built 09:54:04, Oct 23 2008
>>> Copyright (C) 2006-2008, Technologic Systems
>>> TS-7200: Rev >E1 CPU, Rev C PLD, 32MB SDRAM, options ( RS485 )
>
> +Ethernet eth0: MAC address 00:d0:69:42:82:00
> IP: 192.168.0.50/255.255.255.0, Gateway: 192.168.0.11
> Default server: 192.168.0.11
>
> RedBoot(tm) bootstrap and debug environment [ROMRAM]
> Non-certified release, version current-TS_5 - built 11:24:54, Jun 7 2006
>
> Platform: TS-7200 Board (ARM920T) Rev A
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
> RAM: 0x00000000-0x02000000, [0x00044f88-0x01fdd000] available
> FLASH: 0x60000000 - 0x60800000, 64 blocks of 0x00020000 bytes each.
> == Executing boot script in 0.100 seconds - enter ^C to abort
> ^C
> RedBoot> load -b 0x00218000 -m disk hda1:/boot/vmlinux
> Address offset = 0x00218000
> Entry point: 0x00218000, address range: 0x00218000-0x003d1394
> RedBoot> exec -c "console=ttyAM0,115200 root=/dev/sda1"
> Using base address 0x00218000 and length 0x001b9394
> Uncompressing
> Linux.............................................................
> ......................................................... done, booting the
> kern
> el.
> Linux version 2.6.27.4-matt (gcc version 3.4.4 (release)
> (Co
> deSourcery ARM 2005q3-2)) #4 PREEMPT Fri Apr 23 00:16:47 PKT 2010
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=40007177
> Machine: Technologic Systems TS-72xx SBC
> Memory policy: ECC disabled, Data cache writeback
> CPU0: D VIVT write-back cache
> CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> Built 4 zonelists in Zone order, mobility grouping on. Total pages: 8128
> Kernel command line: console=ttyAM0,115200 root=/dev/sda1
> PID hash table entries: 128 (order: 7, 512 bytes)
> Console: colour dummy device 80x30
> Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
> Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
> Memory: 8MB 8MB 8MB 8MB = 32MB total
> Memory: 28616KB available (3356K code, 332K data, 120K init)
> Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> net_namespace: 592 bytes
> NET: Registered protocol family 16
> ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz
> ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
> 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: 1024 (order: 1, 8192 bytes)
> TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> TCP: Hash tables configured (established 1024 bind 1024)
> TCP reno registered
> NET: Registered protocol family 1
> NetWinder Floating Point Emulator V0.97 (extended precision)
> msgmni has been set to 55
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver2 ports, IRQ sharing disabled
> Serial: AMBA driver
> apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
> console [ttyAM0] enabled
> apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
> apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
> ep93xx-eth version 0.1 loading
> ep93xx_mii_bus: probed
> Generic PHY 0:01: PHY supports MII frame preamble suppression
> net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
> net eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:42:82:00
> Uniform Multi-Platform E-IDE driver
> Driver 'sd' needs updating - please use bus_type methods
> scsi0 : pata_ts72xx
> ata1: PATA max PIO4 mmio cmd 0x11000000 ctl 0x10400006 irq 32
> ata1.00: CFA: SanDisk SDCFB-1024, HDX 4.03, max MWDMA2
> ata1.00: 2001888 sectors, multi 0: LBA
> ata1.00: configured for PIO
> scsi 0:0:0:0: Direct-Access ATA SanDisk SDCFB-10 HDX PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] 2001888 512-byte hardware sectors (1025 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support
> DP
> O or FUA
> sd 0:0:0:0: [sda] 2001888 512-byte hardware sectors (1025 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support
> DP
> O or FUA
> sda: sda1
> sd 0:0:0:0: [sda] Attached SCSI removable disk
> sd 0:0:0:0: Attached scsi generic sg0 type 0
> GPIO-18 autorequested
> usbmon: debugfs is not available
> ep93xx-ohci ep93xx-ohci: EP93xx OHCI
> ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus number 1
> ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 3 ports detected
> usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
> usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb1: Product: EP93xx OHCI
> usb usb1: Manufacturer: Linux 2.6.27.4-matt ohci_hcd
> usb usb1: SerialNumber: ep93xx
> mice: PS/2 mouse device common for all mice
> ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc0
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc1
> rtc-m48t86 rtc-m48t86: battery exhausted
> i2c /dev entries driver
> i2c-gpio i2c-gpio.0: using pins 14 (SDA) and 15 (SCL)
> Registered led device: green
> Registered led device: red
> usbcore: registered new interface driver usbhid
> usbhid: v2.6:USB HID core driver
> IPv4 over IPv4 tunneling driver
> TCP cubic registered
> NET: Registered protocol family 17
> NET: Registered protocol family 15
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> ep93xx-rtc ep93xx-rtc: setting system clock to 1970-01-01 00:00:31 UTC (31)
> VFS: Mounted root (ext2 filesystem).
> Freeing init memory: 120K
> Kernel panic - not syncing: No init found. Try passing init= option to
> kernel.
>
>
>
> Any help will be appreciated. I am in desperate need of booting 2.6 kernel
> from compact flash :(
>
> Regards
> Jamil Haider
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|