Will 2.6.x work with gcc sys-include of 2.4.22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
I am trying to replace currently running 2.4.22 with 2.6.9 on a board based on
IXPD425. I tried compiling with our existing tool chain,

/usr/local/tools/arm/bin/arm-linux-gcc -v
Reading specs from /usr/local/tools/arm/bin/../lib/gcc-lib/arm-linux/3.2.1/specs
Configured with: ../../src/configure --target=arm-linux
--prefix=/usr/local/tools/arm --disable-shared --disable-threads
--enable-languages=c --with-headers=/usr/local/linux-2.4.22/include

Kernel boots fine like this.

When kernel tries to exec /sbin/init, it gets stuck/hung. It does not panic.
Does it has something to do with the --with-headers option of gcc?
Should I recompile the tool chain to include 2.6.9 kernel headers?

Thanks for any pointers.
Regards,
Om.


Uncompressing Linux.............................................................
........... done, booting the kernel.
Linux version 2.6.9-uc0 (port@xxxxxxxxxxxxxx) (gcc version 3.3.2) #2 Thu Jun 9 1
6:05:46 IST 2005
CPU: XScale-IXP4xx [690541f1] revision 1 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: Intel IXDP425 Development Platform
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: partno=8300000202 macbase=00:11:8b:00:14:30 version=2.17 co
nsole=ttyS0,9600 root=/dev/ram0 initrd=0x00800000,16M mem=256M
PID hash table entries: 2048 (order: 11, 32768 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB = 256MB total
Memory: 240768KB available (1829K code, 474K data, 80K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 16384K
NET: Registered protocol family 16
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers disabled
dmabounce: registered device 0000:00:0a.0 on pci bus
dmabounce: registered device 0000:00:0c.0 on pci bus
dmabounce: registered device 0000:00:0c.1 on pci bus
dmabounce: registered device 0000:00:0c.2 on pci bus
usbcore: registered new driver hub
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
PCI: enabling device 0000:00:0c.2 (0140 -> 0142)
ehci_hcd 0000:00:0c.2: Found HC with no IRQ.  Check BIOS/PCI 0000:00:0c.2 setup!
PCI: enabling device 0000:00:0c.0 (0140 -> 0142)
ohci_hcd 0000:00:0c.0: Found HC with no IRQ.  Check BIOS/PCI 0000:00:0c.0 setup!
PCI: enabling device 0000:00:0c.1 (0140 -> 0142)
ohci_hcd 0000:00:0c.1: Found HC with no IRQ.  Check BIOS/PCI 0000:00:0c.1 setup!
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 4681)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 1024) 16777216
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 80K


-- 
Nothing is as simple as it seems at first
	Or as hopeless as it seems in the middle
		Or as finished as it seems in the end.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux