Help with a board similar to the Xilinx ML403

Leonid Leonid at a-k-a.net
Fri Feb 23 05:37:01 EST 2007


Can I see your xparameters.h and kernel .config files please? EDK project can help as well, or at least MHS & MSS files along with BSP TCL scripts - I think you use some Linux BSP, right? 

Also how do you load kernel - using u-boot? If so, can you please define DEBUG in cmd_bootm.c file and send me output?

Thanks,

Leonid. 

________________________________________
From: linuxppc-embedded-bounces+leonid=a-k-a.net at ozlabs.org [mailto:linuxppc-embedded-bounces+leonid=a-k-a.net at ozlabs.org] On Behalf Of Luca Manai
Sent: Thursday, February 22, 2007 5:48 AM
To: linuxppc-embedded at ozlabs.org
Subject: Help with a board similar to the Xilinx ML403

Hello.

I would need some help to understand what is the problem...
I am a bit lost...

The board is very similar to the Xilinx ML403 with a Virtex-4 and PPC 405.

What can I provide to make the debugging easier?

Can the problem be the content of the initrd RAM disk?

Thanks for your help.

Luca.

===========================================================================

loaded at:     00400000 0065213C
board data at: 00650124 0065013C
relocated to:  0040408C 004040A4
zimage at:     00404E19 004F055F
initrd at:     004F1000 0064FE30
avail ram:     00653000 04000000

Linux/PPC load: console=ttyS0,9600
Uncompressing Linux...done.
Now booting the kernel
[    0.000000] Linux version 2.6.20 (rapax at localhost.localdomain) (gcc version 3.4.4) #24 Thu Feb 22 14:26:45 CET 2007
[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->    16384
[    0.000000]   Normal      16384 ->    16384
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->    16384
[    0.000000] Built 1 zonelists.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,9600
[    0.000000] Xilinx INTC #0 at 0x05810000 mapped to 0xFDFFE000
[    0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[    0.000254] Console: colour dummy device 80x25
[    0.001029] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.002145] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.022641] Memory: 61408k available (1560k kernel code, 432k data, 100k init, 0k highmem)
[    0.208605] Mount-cache hash table entries: 512
[    0.215183] NET: Registered protocol family 16
[    0.240164] NET: Registered protocol family 2
[    0.296652] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.297952] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.298188] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.298314] TCP: Hash tables configured (established 2048 bind 1024)
[    0.298347] TCP reno registered
[    0.317702] checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
[    1.078167] Freeing initrd memory: 1403k freed
[    1.085007] io scheduler noop registered
[    1.085068] io scheduler anticipatory registered (default)
[    1.085098] io scheduler deadline registered
[    1.085303] io scheduler cfq registered
[    1.158419] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
[    1.166897] serial8250.0: ttyS0 at MMIO 0x6001003 (irq = 5) is a 16550A
[    1.868935] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[    1.901545] tun: Universal TUN/TAP device driver, 1.6
[    1.921877] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    1.948919] XTemac: using sgDMA mode.
[    1.963764] XTemac: using TxDRE mode
[    1.978133] XTemac: using RxDRE mode
[    1.992471] XTemac: buffer descriptor size: 32768 (0x8000)
[    2.015328] XTemac: (buffer_descriptor_init) phy: 0x610000, virt: 0xff100000, size: 0x8000
[    2.055149] eth0: Dropping NETIF_F_SG since no checksum feature.
[    2.080791] eth0: Xilinx TEMAC #0 at 0xFFE00000 mapped to 0xC5000000, irq=4
[    2.108767] eth0: XTemac id 1.0f, block id 5, type 8
[    2.129728] mice: PS/2 mouse device common for all mice
[    2.151097] TCP cubic registered
[    2.164340] NET: Registered protocol family 1
[    2.181936] NET: Registered protocol family 17
[    2.201411] RAMDISK: Compressed image found at block 0
[    3.229002] VFS: Mounted root (ext2 filesystem).
[    3.355400] ------------[ cut here ]------------
[    3.373911] kernel BUG at mm/prio_tree.c:79!
[    3.390991] Oops: Exception in kernel mode, sig: 5 [#1]
[    3.411889] NIP: C003FA34 LR: C0044D68 CTR: 00000000
[    3.431752] REGS: c04b7dc0 TRAP: 0700   Not tainted  (2.6.20)
[    3.454721] MSR: 00029030 <EE,ME,IR,DR>  CR: 44088048  XER: 2000000E
[    3.480351] TASK = c02a9490[140] 'ifconfig' THREAD: c04b6000
[    3.502282] GPR00: 00000001 C04B7E70 C02A9490 C0486BA8 C044E95C C04B7E20 C04B7E24 0FFDF000 
[    3.535955] GPR08: 000000AD 00000010 0000000F 00000011 24004042 10065ABC 00000001 30017510 
[    3.569632] GPR16: 10001B05 00000000 0FFDF000 000000AD C0432B94 00000000 C0432BA8 00000000 
[    3.603306] GPR24: C0675E20 00000000 0FFF0000 C044BA00 00000000 C0486B54 C0486BA8 C0486DA0 
[    3.637713] NIP [C003FA34] vma_prio_tree_add+0x54/0xd0
[    3.658333] LR [C0044D68] vma_adjust+0x264/0x384
[    3.676836] Call Trace:
[    3.686598] [C04B7E70] [C0044D68] vma_adjust+0x264/0x384 (unreliable)
[    3.712428] [C04B7ED0] [C0045B2C] split_vma+0x118/0x13c
[    3.733395] [C04B7EF0] [C0046CF8] sys_mprotect+0x210/0x4dc
[    3.755370] [C04B7F40] [C0002E54] ret_from_syscall+0x0/0x3c
[    3.777723] Instruction dump:
[    3.789602] 80040008 7d675850 7c0a0050 556ba33e 5400a33e 7d295a14 7d080214 3908ffff 
[    3.820807] 3929ffff 7d294278 3149ffff 7c0a4910 <0f000000> 39200000 9123002c 8004002c 



More information about the Linuxppc-embedded mailing list