• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: booting from usb flash or and nfs problem  (Read 3033 times)
shadow
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: September 27, 2009, 12:12:41 PM »

please I need help I bought the FDI ARM-57TS-3250 kit three weeks ago. I was not able to use it eever since.
first I installed the LTIB and generated my new rootfs and kernel.
I then tried to write the new rootfs to the nand flash but the new fs size is about 14MB (I added Xorg server and other stuff) while the flash partition for the rootfs (which is used as ramdisk) is limited to 6MB. (and even when I twrite it directly to the RAM the kit stop responding)

so I tried to copy this rootfs to a usb flash and tried to boot from the flash using rhe kernel arg "root=/dev/sda1" but the kernel couldn't mount it!!
so I switched to nfs and setup my liux host to use nfs and set the exports file and every thing but I get the following and then stop responding:

SIBL 1.01 (06/12/2009) - 266000000 Hz
Copyright 2009, Future Designs, Inc.
-------------------------------------------------------------------
DDR:   SDRAMCLK_CTRL = 0003CAA6
DDR:   DDR_LAP_NOM   = 0000002C (44)
DDR:   DDR_LAP_COUNT = 0000002C (44)
DDR:   DDR_CAL_DELAY = 00000009 (9)

LCD:   Turning on ... Done
NAND:  Initializing MLC ... OK
LCD:   Drawing splash screen ...  OK
NAND:  Initializing MLC ... OK
UBOOT: Loading to address 0x81FC0000 ...  OK
UBOOT: Running at 0x81FC0000...


U-Boot 1.3.3 (May 27 2009 - 03:47:53)

DRAM:  32 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
uboot> printenv
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:00:01
ipaddr=192.168.10.20
gatewayip=192.168.10.254
netmask=255.255.255.0
serverip=192.168.10.1
gatewayip=192.168.10.254
ipaddr=192.168.10.20
bootfile=uImage
bootcmd=nand read.jffs2 0x80100000 0x80000 0x200000; nand read.jffs2 0x81800000
0x280000 0x600000; bootm 0x80100000
bootargs=console=ttyTX0,115200n81 root=/dev/ram0 rw ramdisk_size=17085 initrd=0x
81800000,0x600000 init=/sbin/init
stdin=serial
stdout=serial
stderr=serial

Environment size: 477/131068 bytes
uboot> setnev bootargs console=ttyTX0,115200n81 root=/dev/nfs nfsroot=/home/shad
printrnv
Unknown command 'printrnv' - try 'help'
uboot> printenv
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:00:01
ipaddr=192.168.10.20
gatewayip=192.168.10.254
netmask=255.255.255.0
serverip=192.168.10.1
gatewayip=192.168.10.254
ipaddr=192.168.10.20
bootfile=uImage
bootcmd=nand read.jffs2 0x80100000 0x80000 0x200000; nand read.jffs2 0x81800000
0x280000 0x600000; bootm 0x80100000
bootargs=console=ttyTX0,115200n81 root=/dev/ram0 rw ramdisk_size=17085 initrd=0x
81800000,0x600000 init=/sbin/init
stdin=serial
stdout=serial
stderr=serial

Environment size: 477/131068 bytes
uboot> setenv bootargs console=ttyTX0,115200n81 root=/dev/nfs rw nfsroot=192.168
.1.105:/home/shadow
uboot> setenv bootargs console=ttyTX0,115200n81 root=/dev/nfs rw nfsroot=192.168
.1.105:/home/shadow/ltib/rootfs ip=dhcp init=/sbin/init
uboot> printenv
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:00:01
ipaddr=192.168.10.20
gatewayip=192.168.10.254
netmask=255.255.255.0
serverip=192.168.10.1
gatewayip=192.168.10.254
ipaddr=192.168.10.20
bootfile=uImage
bootcmd=nand read.jffs2 0x80100000 0x80000 0x200000; nand read.jffs2 0x81800000
0x280000 0x600000; bootm 0x80100000
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyTX0,115200n81 root=/dev/nfs rw nfsroot=192.168.1.105:/home/s
hadow/ltib/rootfs ip=dhcp init=/sbin/init

Environment size: 485/131068 bytes
uboot> setenv serverip 192.168.1.105
uboot> setenv gatewayip=192.168.1.254
## Error: illegal character '=' in variable name "gatewayip=192.168.1.254"
uboot> setenv gatewayip 192.168.1.254
uboot> printnev
Unknown command 'printnev' - try 'help'
uboot> printenv
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:00:01
ipaddr=192.168.10.20
netmask=255.255.255.0
gatewayip=192.168.10.254
ipaddr=192.168.10.20
bootfile=uImage
bootcmd=nand read.jffs2 0x80100000 0x80000 0x200000; nand read.jffs2 0x81800000
0x280000 0x600000; bootm 0x80100000
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyTX0,115200n81 root=/dev/nfs rw nfsroot=192.168.1.105:/home/s
hadow/ltib/rootfs ip=dhcp init=/sbin/init
serverip=192.168.1.105
gatewayip=192.168.1.254

Environment size: 485/131068 bytes
uboot> nand read.jffs2 0x80100000 0x80000 0x200000

NAND read: device 0 offset 0x80000, size 0x200000

Reading data from 0x27f800 -- 100% complete.
 2097152 bytes read: OK
uboot> bootm 0x80100000
## Booting kernel from Legacy Image at 80100000 ...
   Image Name:   Linux-2.6.27.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1735904 Bytes =  1.7 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
................................................... done, booting the kernel.
Linux version 2.6.27.8 (vmplanet@fedora-vm) (gcc version 3.4.5) #21 PREEMPT Tue
Jun 9 20:11:41 PDT 2009
Kernel command line: console=ttyTX0,115200n81 root=/dev/nfs rw nfsroot=192.168.1
.105:/home/shadow/ltib/rootfs ip=dhcp init=/sbin/init
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28840KB available (3228K code, 238K data, 124K init)
Calibrating delay loop... 132.60 BogoMIPS (lpj=265216)
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
Hardware descriptor info:
 DRAM config word: 0x00000001
 syscfg word:      0x00000002
 fieldval word:    0x000a3250
 MAC address:      <6>00:11:22:33:44:55
LPC32XX DMA driver
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 56
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
CLCD: Phytec LCD hardware, QVGA portrait display
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x40090000 (irq = 9) is a 16550A
Serial: AMBA PL011 UART driver
lpc32xx_hsuart.0: ttyTX0 at MMIO 0x40014000 (irq = 26) is a lpc32xx_hsuart
console [ttyTX0] enabled
brd: module loaded
loop: module loaded
LPC32XX_mii_bus: probed
eth0: LPC32XX mac at 0x31060000 irq 29
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1)
Driver 'sd' needs updating - please use bus_type methods
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit
)
Scanning device for bad blocks
Bad eraseblock 1652 at 0x0ce80000
Creating 6 MTD partitions on "lpc32xx_nand":
0x00020000-0x00060000 : "arm9dimm3250-boot"
0x00060000-0x00080000 : "arm9dimm3250-ubt-prms"
0x00080000-0x00280000 : "arm9dimm3250-kernel"
0x00280000-0x00880000 : "arm9dimm3250-rootfs"
0x00880000-0x00900000 : "arm9dimm3250-splash"
0x00900000-0x10000000 : "armtskit-jffs2"
usbmon: debugfs is not available
I2C device at address 0x2d<6>ISP1301 Vendor ID  : 0x04cc
ISP1301 Product ID : 0x1301
ISP1301 Version ID : 0x0210
usb-ohci usb-ohci: at 0xf3120000, irq 0
usb-ohci usb-ohci: pnx4008 OHCI
usb-ohci usb-ohci: new USB bus registered, assigned bus number 1
usb-ohci usb-ohci: irq 59, io mem 0xf3120000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: pnx4008 OHCI
usb usb1: Manufacturer: Linux 2.6.27.8 ohci_hcd
usb usb1: SerialNumber: usb-ohci
Initializing USB Mass Storage driver...
usb 1-1: new full speed USB device using usb-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: New USB device found, idVendor=0781, idProduct=5151
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Cruzer Micro
usb 1-1: Manufacturer: SanDisk Corporation
usb 1-1: SerialNumber: 20044317210514622E68
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: LPC32xx Touchscreen as /class/input/input0
i2c /dev entries driver
PNX4008-WDT: PNX4008 Watchdog Timer: heartbeat 19 sec
mmci-pl18x: DMA buffer(10000 bytes), P:0x81dd0000, V:0xffc73000
mmc0: MMCI rev 0 cfg 00 at 0x0000000020098000 irq 15,13
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.17.
ASoC version 0.13.2
UDA1380 Audio Codec 0.6<6>ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 1
Sending DHCP requests .., OK
Looking up port of RPC 100003/2 on 192.168.1.105
Looking up port of RPC 100005/1 on 192.168.1.105
scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Micro     0.1  PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 3911679 512-byte hardware sectors (2003 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 3911679 512-byte hardware sectors (2003 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:<7>usb-storage: queuecommand called
sd 0:0:0:0: [sda] Attached SCSI removable disk
Freeing init memory: 124K
Warning: unable to open an initial console.
JFFS2 notice: (340) check_node_data: wrong data CRC in data node at 0x0e8912ec:
read 0xc1d2aaae, calculated 0x5151b6b3.
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 OK
nfs: server 192.168.1.105 not responding, still trying
nfs: server 192.168.1.105 not responding, still trying


please any help the kit is useless this way. I send for the FDI support two weeks ago but no reply!?
Logged

tinker
Newbie
*

Karma: 2
Posts: 43


View Profile
« Reply #1 on: September 27, 2009, 12:51:34 PM »

Shadow,

This forum is mainly for the Sheevaplug and related devices based on the kirkwood SOC.
I think you would find better source of information at a "future design" forum http://www.teamfdi.com/forum/forum_index.html


good luck
Logged

Pages: [1]
Print
Jump to: