Исходники для dev-board. Плата для которой собираю очень похожа но не dev-board.
Вот такой вывод:
U-boot:
Код
U-Boot 1.1.4 (Sep 15 2010 - 16:55:08) Marvell version: 5.3.4_0012
U-Boot code: 01200000 -> 0128FFF0 BSS: -> 012A7E14
IRQ Stack: 009fff7c
FIQ Stack: 009fef7c
Soc: 88F6281 A0 (DDR2)
CPU running @ 333Mhz L2 running @ 166Mhz
SysClock = 0Mhz , TClock = 166Mhz
DRAM CAS Latency = 5 tRP = 4 tRAS = 15 tRCD=4
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
[16384kB@f8000000] Flash: 16 MB
Addresses 30M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (30M - 22M): Done
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX0 interface detected no Link.
PEX 0: interface detected no Link.
Net: egiga0 [PRIME], ppsdma
Hit any key to stop autoboot: 0
Marvell>> printenv
bootdelay=3
baudrate=115200
loads_echo=0
netmask=255.255.255.0
CASset=min
MALLOC_len=8
ethprime=egiga0
rootpath=/tftpboot/rootfs_arm-gnueabi
consoledev=ttyS0
linux_loadaddr=0x2000000
fix_nfsroot_to_BE=no
linux_parts=mtdparts=spi_flash:0x00100000(uboot)ro,0x001c0000(kernel),0x00d40000(rootfs)
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts); tftp $(linux_loadaddr) $(image_name);bootm $(linux_loadaddr)
standalone_mtd=setenv bootargs root=/dev/mtdblock2 rw rootfstype=jffs2 ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts); bootm 0xf8100000
netdev=eth0
image_name=uImage_xcat
vx_burn=mtdburn $(vx_image_name)
vx_image_name=vxWorks.st
vx=setenv bootargs mgi(0,0) host:VxWorks h=$(serverip) e=$(ipaddr):FFFF0000 u=anonymous pw=target; setenv bootaddr 0x700; setenv loadaddr 0x3000000; tftpboot $(loadaddr) $(vx_image_name); bootvx
vx_flash=setenv bootargs mgi(0,0) host:VxWorks h=$(serverip) e=$(ipaddr):FFFF0000 u=anonymous pw=target; setenv bootaddr 0x700; vx_unc_boot
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
ethaddr=00:50:43:5b:a9:a3
ethmtu=1500
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
serverip=192.168.0.20
ipaddr=192.168.0.88
bootargs=root=/dev/nfs rw nfsroot=192.168.0.20:/tftpboot/rootfs_arm-gnueabi ip=192.168.0.88:192.168.0.20::255.255.255.0::eth0:off console=ttyS0,115200 mtdparts=spi_flash:0x00100000(uboot)ro,0x001c0000(kernel),0x00d40000(rootfs)
filesize=13132c
fileaddr=2000000
ethact=egiga0
bootcmd=run standalone_mtd
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
disaMvPnp=no
enaAutoRecovery=yes
Environment size: 2082/4092 bytes
U-Boot code: 01200000 -> 0128FFF0 BSS: -> 012A7E14
IRQ Stack: 009fff7c
FIQ Stack: 009fef7c
Soc: 88F6281 A0 (DDR2)
CPU running @ 333Mhz L2 running @ 166Mhz
SysClock = 0Mhz , TClock = 166Mhz
DRAM CAS Latency = 5 tRP = 4 tRAS = 15 tRCD=4
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
[16384kB@f8000000] Flash: 16 MB
Addresses 30M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (30M - 22M): Done
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX0 interface detected no Link.
PEX 0: interface detected no Link.
Net: egiga0 [PRIME], ppsdma
Hit any key to stop autoboot: 0
Marvell>> printenv
bootdelay=3
baudrate=115200
loads_echo=0
netmask=255.255.255.0
CASset=min
MALLOC_len=8
ethprime=egiga0
rootpath=/tftpboot/rootfs_arm-gnueabi
consoledev=ttyS0
linux_loadaddr=0x2000000
fix_nfsroot_to_BE=no
linux_parts=mtdparts=spi_flash:0x00100000(uboot)ro,0x001c0000(kernel),0x00d40000(rootfs)
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts); tftp $(linux_loadaddr) $(image_name);bootm $(linux_loadaddr)
standalone_mtd=setenv bootargs root=/dev/mtdblock2 rw rootfstype=jffs2 ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts); bootm 0xf8100000
netdev=eth0
image_name=uImage_xcat
vx_burn=mtdburn $(vx_image_name)
vx_image_name=vxWorks.st
vx=setenv bootargs mgi(0,0) host:VxWorks h=$(serverip) e=$(ipaddr):FFFF0000 u=anonymous pw=target; setenv bootaddr 0x700; setenv loadaddr 0x3000000; tftpboot $(loadaddr) $(vx_image_name); bootvx
vx_flash=setenv bootargs mgi(0,0) host:VxWorks h=$(serverip) e=$(ipaddr):FFFF0000 u=anonymous pw=target; setenv bootaddr 0x700; vx_unc_boot
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
ethaddr=00:50:43:5b:a9:a3
ethmtu=1500
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
serverip=192.168.0.20
ipaddr=192.168.0.88
bootargs=root=/dev/nfs rw nfsroot=192.168.0.20:/tftpboot/rootfs_arm-gnueabi ip=192.168.0.88:192.168.0.20::255.255.255.0::eth0:off console=ttyS0,115200 mtdparts=spi_flash:0x00100000(uboot)ro,0x001c0000(kernel),0x00d40000(rootfs)
filesize=13132c
fileaddr=2000000
ethact=egiga0
bootcmd=run standalone_mtd
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
disaMvPnp=no
enaAutoRecovery=yes
Environment size: 2082/4092 bytes
Linux:
Код
Booting image at f8100000 ...
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1252744 Bytes = 1.2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Checking for Linux kernel endianess at 0xf8100040 = 0xe1a00000
Linux Kernel is LE
Starting kernel in LE mode ...
Uncompressing Linux...........................................................................
......... done, booting the kernel.
Linux version 2.6.22.18 (root@vechkanov1) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #6 Wed Sep 29 17:20:56 MSD 2010
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
Machine: Feroceon-KW
Using UBoot passing parameters structure
BoardID from uboot=10
Memory policy: ECC disabled, Data cache writeback
calling iotable_init. MEM_TABLE=
virt=0xef800000, phys=0x0f800000, lengh=0x00800000
virt=0xe0000000, phys=0xe0000000, lengh=0x08000000
virt=0xf1000000, phys=0xf1000000, lengh=0x00100000
virt=0xf8000000, phys=0xf8000000, lengh=0x01000000
virt=0xf4000000, phys=0xf4000000, lengh=0x04000000
virt=0xfb000000, phys=0xfb000000, lengh=0x00010000
virt=0xf2000000, phys=0xf2000000, lengh=0x00010000
Internal prestera id register = 0x000dc153
xCat revision = A1
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 62992
Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 ip=192.168.0.88:192.168.0.20::255.255.255.0::eth0:off console=ttyS0,115200 mtdparts=spi_flash:0x00100000(uboot)ro,0x001c0000(kernel),0x00d40000(rootfs)
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 248MB 0MB 0MB 0MB = 248MB total
Memory: 248960KB available (2372K code, 214K data, 96K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB
PEX0_IO ....base fc000000, size 1MB
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base d8000000, size 128MB
SPI_CS ....base f8000000, size 16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base fb000000, size 64KB
SAGE_UNIT ....base f4000000, size 64MB
DRAGONITE_DTCM ....base f2000000, size 64KB
Marvell Development Board (LSP Version KW_LSP_5.3.4_00018)-- DB-98DX4122-48G Soc: 88F6281 A0 LE
Detected Tclk 166666667 and SysClk 0
Switch decoding windows init is done.
MV Buttons Device Load
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
Time: kw_clocksource clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
Use the XOR engines (acceleration) for enhancing the following functions:
o RAID 5 Xor calculation
o kernel memcpy
o kenrel memzero
Number of XOR engines to use: 2
MV Buttons Driver Load
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
Loading Marvell Ethernet Driver:
o Cached descriptors in DRAM
o DRAM SW cache-coherency
o Multi RX Queue support - 8 RX queues
o Multi TX Queue support - 8 TX Queues
o TCP segmentation offload enabled
o Receive checksum offload enabled
o Transmit checksum offload enabled
o Network Fast Processing (Routing) supported
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Proc tool API enabled
o Rx descripors: q0=64 q1=64 q2=64 q3=64 q4=64 q5=64 q6=64 q7=64
o Tx descripors: q0=532 q1=532 q2=532 q3=532 q4=532 q5=532 q6=532 q7=532
o Loading network interface(s):
o eth0, ifindex = 28, GbE port = 0
Warning: Giga 1 is Forced Skipped Off
mvFpRuleDb (c052c000): 2048 entries, 8192 bytes
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
SPI Serial flash detected @ 0xf4000000, 16384KB (256sec x 64KB)
3 cmdlinepart partitions found on MTD device spi_flash
Creating 3 MTD partitions on "spi_flash":
0x00000000-0x00100000 : "uboot"
0x00100000-0x002c0000 : "kernel"
0x002c0000-0x01000000 : "rootfs"
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: started
IP-Config: Complete:
device=eth0, addr=192.168.0.88, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.88, domain=, nis-domain=(none),
bootserver=192.168.0.20, rootserver=192.168.0.20, rootpath=
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 96K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
И чешу в затылке... Linux не нашел init... А что делать то? Как выяснить почему?