Guys,
I am trying to boot my pogoplug using NFS. It is almost working, but apparently something goes wrong during booting:
U-Boot 1.1.4
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0 1200Mhz L2 running @ 400Mhz
SysClock = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x0h
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initializ Done
NAND:512 MB
CPU : Marvell Feroceon (Rev 1)CLOUD ENGINES BO
Streaming disabled
W
USB 0: host mode
PEX 0: interfaceegiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
2.168.178.21; our IP address is 192.168.178.23
Filename 'uImage.sheeva.040309'.
Load address: 0x2000000
Loading: #####################################
###########################################
####################################
####################################
####################################
##############################################
done
Bytes tr## Booting image at 02000000 ...
Ima9-04-04 1:49:44 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2070252 00008000
Entry Point: 00008000
VerifyinOK
OK
StartiUncompressing Linux.......................................................
Linux version 2.6.22.18 (root@localhost.ease)) #1 Fri Apr 3 18:49:38 PDT 2009
CPU: ARM9177
Machine: Feroceon-KW
Using UBoot passing pdisabled, Data cache writeback
CPU0: D VIVT wriiativity 4, 32 byte lines, 128 sets
CPU 128 sets
Built 1 zonelists. Total pages: 6502parts=nand_mtd:0x00100000@0x0000b00000@0x0e
PID hash table entries: 1024 (order: 10, 40ntries: 32768 (order: 5, 131072 byte)
ntries: 16384 (order: 4, 65536 bytes)
Memory: 256MB 0MB 0MB 0MB = 256MB total
Memory: 255616KB available (3772K code, 258K data, 124K Testing write buffer ck
NET: Regist
-------------
SDRAM_CS0 ....base 00000000, sidisable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
INTER_REGS ....base f10 size 2MB
SPI_CS ....base f4000000, ....no such
CRYPT_ENG ....base f0000000, size SP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUGE
Detected Tclk 2000d SysClk 400000000
MV Buttons Device Load
Marce detected no Link.
PCI: bus0: Fast bastem initialized
usbcore: registered new interface driver hub
usbcore: registered new ly 2
Time: kw_clocksource clocksource htries: 2048 (order: 1, 8192 bytes)
TCP establis65536 bytes)
TCP bind hash table entries: 8192 (order: ured (established 8192 bind 8192)
TCP reno registered
RTC registered
Use the XOR engiunctions:
o RAID 5 Xor calculation
o kernel memcpynes to use: 4
cesadev_init(c00117e4)
m0
Warning: TS unit is powered off.
MV Buttons Driver Load
JFFS2 version 2.2. (NAND) �egistered
io scheduler anticipatory registered 1.90 $ 4 ports, IRQ sharing disabled
seis a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
RAMDISK driver initialized: 20 RAM disks of 4096K size 4096 blocksize
Loading Marvell Ethernet Driver:
o Cached descriptors in DRAM
o DRAM SW cache-coherency
o Single RX Queue support - ETH_DEF_RXQ=0
o Single TX Queue support - ETH_DEF_TXQ=0
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=128
o Tx descripors: q0=532
o Loading network interface(s):
o eth0, ifindex = 1, GbE pordex = 2, GbE port = 1
mvFpRuleDb (cfe000 Network Driver - version 7.3.20-k2-NAPI
Copyright (Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corpod Off
NFTL driver: nftlcore.c $Revision: 1.98 anufacturer ID: 0xad, Chip ID: 0xdc (Hys
Bad eraseblock 1653 at 0x0cea0000
Bad eraseblock 2690 at 0x1504000Bad eraseblock 3784 at 0x1d900000
eblock 3931 at 0x1eb60000
3 cmdlinepart pamand line partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00100000 : "uBoot"
0x00500000-0x20000000 : "rootfs"
Marvell Orion EHCI
ehci_marvell ehci_marvell.7r 1
ehci_marvell ehcehci_marvell ehcver 10 Dec 2004
usb usb1: configuration und
hub 1-0:1.0: 1 port detected
USB Univ3.0
usbcore: registered new interface driver use Class driver
Initializing USB Mass St interface driver usb-storage
USB Mass Storage vice common for all mice
i2c /dev entries drivemvBoardVoiceAssembleModeGet: TDM not sup,irq=-1
mp_check_config: Error, invalid voice agistered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered foraid6: int32x1 97 MB/s
raid6: iraid6: int32x4 126 MB/s
raid6: ix4 (126 MB/s)
md: raid6 personality registered tered for level 5
md: raid4 personality registepeed
arm4regs : 1084.000 MB/sec
8regs : 32regs : 899.600 MB/sec
raid5: ce-mapper: ioctl: 4.11.0-ioctl (2006-10- OCF package.
sdhci: Secure Dige Ossman
mvsdmmc: irq =t
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Archit5 2007 UTC).
oCodecRegGet: Error while reading registLogic chip/rev ID!
Error - Cannot initialize audio decoder.at address =0xff<6>ALSA er
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol faeth0: link down
eth0: started
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.178.23, mask=255.255.255.0, gw=255.255.255.255,
host=DB88FXX81, domain=, nis-domain=(none),
bootserver=192.168.178.21, rootserver=192.168.178.21, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Looking up port of RPC 100003/2 on 192.168.178.21
eth0: link up, full duplex, speed 100 Mbps
Looking up port of RPC 100005/1 on 192.168.178.21
VFS: Mounted root (nfs filesystem).
Freeing init memory: 124K
* Setting preliminary keymap...
[ OK ]
* Setting the system clock
The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.
Unable to set system clock.
* Unable to set System Clock to: Sun Sep 15 03:59:46 UTC 1918
* Starting basic networking...
[ OK ]
* Starting kernel event manager...
[ OK ]
* Loading hardware drivers... end_request: I/O error, dev mtdblock1, sector 0
Buffer I/O error on device mtdblock1, logical block 0
end_request: I/O error, dev mtdblock1, sector 8
Buffer I/O error on device mtdblock1, logical block 1
end_request: I/O error, dev mtdblock1, sector 16
Buffer I/O error on device mtdblock1, logical block 2
end_request: I/O error, dev mtdblock1, sector 24
Buffer I/O error on device mtdblock1, logical block 3
end_request: I/O error, dev mtdblock1, sector 0
Buffer I/O error on device mtdblock1, logical block 0
end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
end_request: I/O error, dev mtdblock0, sector 8
Buffer I/O error on device mtdblock0, logical block 1
end_request: I/O error, dev mtdblock0, sector 16
Buffer I/O error on device mtdblock0, logical block 2
end_request: I/O error, dev mtdblock0, sector 24
Buffer I/O error on device mtdblock0, logical block 3
end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
[ OK ]
* Setting the system clock
The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.
Unable to set system clock.
* Unable to set System Clock to: Sun Sep 15 03:59:49 UTC 1918
* Loading kernel modules... * Loading manual drivers...
[ OK ]
* Setting kernel variables (/etc/sysctl.conf)...
[ OK ]
* Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...
[ OK ]
* Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...
[ OK ]
* Setting kernel variables (/etc/sysctl.d/10-process-security.conf)... error: "vm.mmap_min_addr" is an unknown key
[fail]
* Setting kernel variables (/etc/sysctl.d/10-tcp-timestamps-workaround.conf)...
[ OK ]
* Activating swap...
[ OK ]
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
* Starting early crypto disks...
[ OK ]
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
* Starting remaining crypto disks...
[ OK ]
* Checking file systems... fsck 1.41.3 (12-Oct-2008)
[ OK ]
* Mounting local filesystems...
[ OK ]
* Activating swapfile swap...
[ OK ]
* Configuring network interfaces...
Doesnt look to bad: but I cant do anything, I dont get a prompt.
my exports file:
/sheevaplug/ubuntu 192.168.178.20/30(rw,sync,no_root_squash)
/tftpboot 192.168.178.20/30(rw,sync,no_root_squash)
this uimage is in /tftpboot
and I untarred the full directory structure of ubuntu-9.04.tar.gz to /sheevaplug/ubuntu (so not the JFFS file but the directories)
my uboot settings are:
baudrate=115200
loads_echo=0
netmask=255.255.0.0
run_diag=yes
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
ceboardver=PP_GTI:3.0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
ethaddr=00:25:31:00:02:07
cesvcid=WC5C3M7AH48P7CS3HPLVYTMYYJ
console_new=console=ttyS0,115200 mtdparts=nand_mtd:0x00100000@0x00000000(uBoot)ro,0x00400000@0x00100000(uImage),0x1fb00000@0x00500000(rootfs)
boottftp=tftpboot 0x2000000 $(image_name)
bootargs_nfs=root=/dev/nfs rw
boot_nfs=run boottftp;setenv bootargs $(console_new) $(bootargs_nfs) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end);bootm 0x2000000
bootnand=nand read.e 0x2000000 0x00100000 0x00500000
bootargs_nand=root=/dev/mtdblock2 rw
boot_nand=run bootnand;setenv bootargs $(console_new) $(bootargs_nand) ip=$(ipaddr):$(serverip)$(bootargs_end);bootm 0x2000000
bootargs_sd=root=/dev/mmcblk0p1 rw
boot_sd=run bootnand;setenv bootargs $(console_new) $(bootargs_sd) ip=$(ipaddr):$(serverip)$(bootargs_end);bootm 0x2000000
console_orig=console=ttyS0,115200
boot_orig=nand read 0x2000000 0x100000 0x200000; setenv bootargs $(console_orig) $(bootargs_root); bootm 0x2000000
ipaddr=192.168.178.23
serverip=192.168.178.21
rootpath=/sheevaplug/ubuntu
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage.sheeva.040309
bootcmd=run boot_nfs;
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
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
vxworks_en=no
bootdelay=3
disaMvPnp=no
How can I be sure he is using the file system from the NFS server and not from the pogoplug itself ? Or am i using an incompatible set of kernel image and ubuntu distribution ?
Next step would be too flash the pogoplug with the kernel and ubuntu version (this time the JFFS file)
Kind regards,
Luke