ml403 linux port with hard_temac
Antoine BRUNET
antbrunet at gmail.com
Mon Mar 3 20:17:01 EST 2008
Hi,
I try to build 2.6.24rc3 kernel of secretlab git for ml403.
I can build the kernel for a BSP (xilinx) without hard_temac and plb_temac.
And the kernel boot on ml403 :
loaded at: 00400000 007C01A0
board data at: 007BE124 007BE1A0
relocated to: 004040B8 00404134
zimage at: 00404EA9 0053D590
initrd at: 0053E000 007BE000
avail ram: 007C1000 04000000
Linux/PPC load: console=ttyS0,9600 root=/dev/ram0 rw initrd=/linuxrc
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.6.24-rc3-gd7ed933b-dirty (root at debian) (gcc version 4.0.2)
#28 Thu Feb 28 11:16:30 CET 2008
[ 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] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 16384
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,9600 root=/dev/ram0 rw
initrd=/linuxrc
[ 0.000000] Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFE000
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[ 0.000427] Console: colour dummy device 80x25
[ 0.001585] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.003394] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.037491] Memory: 59464k available (2100k kernel code, 672k data, 108k
init, 0k highmem)
[ 0.129388] Mount-cache hash table entries: 512
[ 0.138776] net_namespace: 64 bytes
[ 0.150035] NET: Registered protocol family 16
[ 0.222660] NET: Registered protocol family 2
[ 0.257836] IP route cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.264505] TCP established hash table entries: 2048 (order: 2, 16384
bytes)
[ 0.265237] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.265673] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.265756] TCP reno registered
[ 0.279119] checking if image is initramfs...it isn't (bad gzip magic
numbers); looks like an initrd
[ 0.393762] Freeing initrd memory: 2560k freed
[ 0.397985] sysctl table check failed: /kernel/l2cr .1.31 Missing
strategy
[ 0.398155] Call Trace:
[ 0.398209] [c3c17e80] [c000835c] show_stack+0x4c/0x174 (unreliable)
[ 0.398428] [c3c17eb0] [c003644c] set_fail+0x50/0x68
[ 0.398609] [c3c17ed0] [c0036ad4] sysctl_check_table+0x670/0x6bc
[ 0.398744] [c3c17f10] [c0036ae8] sysctl_check_table+0x684/0x6bc
[ 0.398873] [c3c17f50] [c002416c] register_sysctl_table+0x5c/0xac
[ 0.399053] [c3c17f70] [c0292a58] register_ppc_htab_sysctl+0x18/0x2c
[ 0.399257] [c3c17f80] [c028c824] kernel_init+0xb4/0x270
[ 0.399377] [c3c17ff0] [c0004b18] kernel_thread+0x44/0x60
[ 0.413198] Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
[ 0.418934] io scheduler noop registered (default)
[ 0.552627] Generic RTC Driver v1.07
[ 0.554582] Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ
sharing disabled
[ 0.562210] serial8250.0: ttyS0 at MMIO 0x40401003 (irq = 0) is a 16550A
[ 0.562392] console [ttyS0] enabled
[ 3.488329] RAMDISK driver initialized: 4 RAM disks of 8192K size 1024
blocksize
[ 3.592001] loop: module loaded
[ 3.632702] $Id: ftl.c,v 1.59 2005/11/29 14:48:31 gleixner Exp $
[ 3.705897] NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c$Revision:
1.41 $
[ 3.800355] INFTL: inftlcore.c $Revision: 1.19 $, inftlmount.c $Revision:
1.18 $
[ 3.891145] SSFDC read-only Flash Translation layer
[ 3.955590] TCP cubic registered
[ 3.994870] NET: Registered protocol family 1
[ 4.047673] NET: Registered protocol family 17
[ 4.103431] RPC: Registered udp transport module.
[ 4.160199] RPC: Registered tcp transport module.
[ 4.221066] RAMDISK: ext2 filesystem found at block 0
[ 4.282120] RAMDISK: Loading 2560KiB [1 disk] into ram disk... done.
[ 5.139783] EXT2-fs warning: mounting unchecked fs, running e2fsck is
recommended
[ 5.230262] VFS: Mounted root (ext2 filesystem).
[ 5.286631] Freeing unused kernel memory: 108k init
init started: BusyBox v1.8.2 (2008-02-11 16:09:57 CET)
starting pid 160, tty '': '/etc/init.d/rcS'
Cannot run '/etc/init.d/rcS': Permission denied
Please press Enter to activate this console.
starting pid 161, tty '': '/bin/sh'
#
If I add hard_temac and plb_temac in the same BSP and add in the .config of
the kernel:
CONFIG_NETDEV_1000=y
CONFIG_XILINX_TEMAC=y
#CONFIG_XILINX_TEMAC_PHY_GENERIC_PHY is not set
CONFIG_XILINX_TEMAC_PHY_MARVELL_88E1111=y
The kernel can't boot :
loaded at: 00400000 007BE1A0
board data at: 007BC124 007BC1A0
relocated to: 004040B8 00404134
zimage at: 00404EA9 0053B2E6
initrd at: 0053C000 007BC000
avail ram: 007BF000 04000000
Linux/PPC load: console=ttyS0,9600 root=/dev/ram0 rw initrd=/linuxrc
Uncompressing Linux...done.
Now booting the kernel
And the kernel displays nothing else...
I use a hard_temac 3.00a.
I have difficulties to locate the problem. Someone can help me? Thanks
--
-------------------------------------------------
Antoine BRUNET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080303/1b619540/attachment.htm
More information about the Linuxppc-embedded
mailing list