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

Re: [microblaze-uclinux] BINFMT_FLAT on startup



John,

Here is the capture from the uClinux boot.  What do you make of it?

Linux version 2.4.32-uc0 (devel@localhost) (gcc version 3.4.1 ( Xilinx EDK 8.2 Build EDK_Im.12 180506 )) #151 Fri Jun 22 14:16:54 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
BINFMT_FLAT: Loading file: /sbin/init
Mapping is 25fa0000, Entry point is 44, data_start is 8c80
Load /sbin/init: TEXT=25fa0040-25fa8c80 DATA=25fa8c84-25fa9974 BSS=25fa9974-25fbb3c4 BINFMT_FLAT: reloc outside program 0x4295f0 (0 - 0x1b384/0x8c40), killing init!
BINFMT_FLAT: Loading file: /sbin/init
Mapping is 25fa0000, Entry point is 44, data_start is 8c80
Load /sbin/init: TEXT=25fa0040-25fa8c80 DATA=25fa8c84-25fa9974 BSS=25fa9974-25fbb3c4 BINFMT_FLAT: reloc outside program 0x30035400 (0 - 0x1b384/0x8c40), killing init!
BINFMT_FLAT: Loading file: /bin/init
Mapping is 25fa0000, Entry point is 44, data_start is 8c80
Load /bin/init: TEXT=25fa0040-25fa8c80 DATA=25fa8c84-25fa9974 BSS=25fa9974-25fbb3c4 BINFMT_FLAT: reloc outside program 0x61616161 (0 - 0x1b384/0x8c40), killing init!
BINFMT_FLAT: Loading file: /bin/init
Mapping is 25fa0000, Entry point is 44, data_start is 8c80
Load /bin/init: TEXT=25fa0040-25fa8c80 DATA=25fa8c84-25fa9974 BSS=25fa9974-25fbb3c4 BINFMT_FLAT: reloc outside program 0x30a09803 (0 - 0x1b384/0x8c40), killing init! BINFMT_FLAT: reloc outside program 0x230a0144 (0 - 0xdf94/0xc060), killing sh! BINFMT_FLAT: reloc outside program 0x1208000 (0 - 0xdf94/0xc060), killing sh!
Kernel panic: No init found.  Try passing init= option to kernel.


John Williams wrote:
Hi Ryan,

Ryan Marotz wrote:
John,
I'm using uClinux not petalinux. Is there anything I can try with uClinux 2.4?

You can use mb-flthdr -k romfs/bin/init


On the other side, how easy is it to move to Petalinux with a Xilinx Vertex 4?

Relative to the difficulty of what you are trying to achieve, a migration to petalinux should be almost trivial!

Regards,

John
___________________________
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/



___________________________
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/