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

[microblaze-uclinux] BINFMT_FLAT on startup



All,

I'm getting the following error during the boot up of uClinux:
Unable to read code+data+bss, errno 8
BINFMT_FLAT: reloc outside program 0x69696908 (0 - 0x1b2d4/0x8be0), killing init!

I'm running uClinux out of a SDRAM (using a opb_sdram memory controller in Xilinx). When I run it out of a DDR memory using an opb_ddr memory controller, uClinux boots fine. I'm probably not understanding the configuration changes I need to make for the SDRAM.

Here is the full boot capture:

Linux version 2.4.32-uc0 (devel@localhost) (gcc version 3.4.1 ( Xilinx EDK 8.2 Build EDK_Im.12 180506 )) #131 Fri Jun 22 01:29:57 EDT 2007
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line: ¸
Console: xmbserial on UARTLite
Calibrating delay loop... 3.46 BogoMIPS
Memory: 32MB = 32MB total
Memory: 28932KB available (1324K code, 2149K data, 64K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Linux version 2.4.32-uc0 (devel@localhost) (gcc version 3.4.1 ( Xilinx EDK 8.2 Build EDK_Im.12 180506 )) #141 Fri Jun 22 07:24:57 EDT 2007
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line: ¸
Console: xmbserial on UARTLite
Calibrating delay loop... 3.46 BogoMIPS
Memory: 32MB = 32MB total
Memory: 28932KB available (1324K code, 2148K data, 64K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0x40600000 (irq = 2) is a Microblaze UARTlite
Starting kswapd
xgpio #0 at 0x40000000 mapped to 0x40000000
xgpio #1 at 0x40020000 mapped to 0x40020000
xgpio #2 at 0x40040000 mapped to 0x40040000
Xilinx GPIO registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: using fifo mode.
eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0x40C00000, irq=1
eth0: id 2.0l; block id 11, type 1
uclinux[mtd]: RAM probe address=0x241871ec size=0x1de000
uclinux[mtd]: root filesystem index=0
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Incomplete network configuration information.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 64K
Unable to read code+data+bss, errno 8
BINFMT_FLAT: reloc outside program 0x69696908 (0 - 0x1b2d4/0x8be0), killing init! BINFMT_FLAT: reloc outside program 0x360f1c00 (0 - 0x1b2d4/0x8be0), killing init! BINFMT_FLAT: reloc outside program 0x74747474 (0 - 0x1b2d4/0x8be0), killing init!


-Ryan
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/