Hello bodhi,
I have solved it! :-)
The solutions was to change the arcNumber to 2678 (sheva with sata device)
Then i have installed Jeff's uboot again with resetting the vars.
But i had still no sata_..... vars in the environment.
So i took your entries and added them to my environment.
This is how it looks like now:
root@debian:~# fw_printenv
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
ethaddr=00:10:75:26:6F:13
rescue_installed=1
arcNumber=2678
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=sata_bootcmd=run usb_set_bootargs; run sata_boot
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
usb_rootfstype=ext3
And the hardware looks like this:
root@debian:~# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 Debian 3.2.35-2
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell eSATA SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c043fa44, node_mem_map c04a6000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 118548k/118548k available, 12524k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc03e3130 (3949 kB)
[ 0.000000] .init : 0xc03e4000 - 0xc0408000 ( 144 kB)
[ 0.000000] .data : 0xc0408000 - 0xc0442520 ( 234 kB)
[ 0.000000] .bss : 0xc0442544 - 0xc04a5b84 ( 398 kB)
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 12.868446] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 12.958336] pid_max: default: 32768 minimum: 301
[ 12.958459] Security Framework initialized
[ 12.958533] Mount-cache hash table entries: 512
[ 12.958868] Initializing cgroup subsys cpuacct
[ 12.958892] Initializing cgroup subsys memory
[ 12.958916] Initializing cgroup subsys devices
[ 12.958926] Initializing cgroup subsys freezer
[ 12.958935] Initializing cgroup subsys net_cls
[ 12.958943] Initializing cgroup subsys blkio
[ 12.958963] Initializing cgroup subsys perf_event
[ 12.959056] CPU: Testing write buffer coherency: ok
[ 12.960349] devtmpfs: initialized
[ 12.962197] print_constraints: dummy:
[ 12.962449] NET: Registered protocol family 16
[ 12.963250] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 12.963264] Feroceon L2: Enabling L2
[ 12.963299] Feroceon L2: Cache support initialised.
[ 12.963894] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 12.963916] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 12.966216] bio: create slab <bio-0> at 0
[ 12.966589] vgaarb: loaded
[ 12.967127] Switching to clocksource orion_clocksource
[ 12.981232] NET: Registered protocol family 2
[ 12.981437] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 12.982049] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 12.982149] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 12.982202] TCP: Hash tables configured (established 4096 bind 4096)
[ 12.982211] TCP reno registered
[ 12.982221] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 12.982242] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 12.982450] NET: Registered protocol family 1
[ 12.982481] PCI: CLS 0 bytes, default 32
[ 12.982633] Unpacking initramfs...
[ 13.529817] Freeing initrd memory: 6600K
[ 13.529832] NetWinder Floating Point Emulator V0.97 (double precision)
[ 13.530373] audit: initializing netlink socket (disabled)
[ 13.530416] type=2000 audit(0.650:1): initialized
[ 13.531801] VFS: Disk quotas dquot_6.5.2
[ 13.531885] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 13.532002] JFFS2 version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 13.532337] msgmni has been set to 244
[ 13.533856] alg: No test for stdrng (krng)
[ 13.533970] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 13.533984] io scheduler noop registered
[ 13.533991] io scheduler deadline registered
[ 13.534044] io scheduler cfq registered (default)
[ 13.534120] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 13.534152] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 13.567197] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 13.607195] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 13.647193] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 13.687193] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 13.687582] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 13.708110] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 14.135613] console [ttyS0] enabled
[ 14.140094] ONFI flash detected
[ 14.143340] ONFI param page 0 valid
[ 14.146848] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD)
[ 14.154562] Scanning device for bad blocks
[ 14.310794] 4 cmdlinepart partitions found on MTD device orion_nand
[ 14.317093] Creating 4 MTD partitions on "orion_nand":
[ 14.322272] 0x000000000000-0x000000100000 : "u-boot"
[ 14.328110] 0x000000100000-0x000000500000 : "uImage"
[ 14.333878] 0x000000500000-0x000002500000 : "rootfs"
[ 14.339730] 0x000002500000-0x000010000000 : "data"
[ 14.346162] mousedev: PS/2 mouse device common for all mice
[ 15.357180] rtc-mv rtc-mv: internal RTC not ticking
[ 15.362178] i2c /dev entries driver
[ 15.365817] cpuidle: using governor ladder
[ 15.370068] cpuidle: using governor menu
[ 15.374047] leds-gpio: probe of leds-gpio failed with error -22
[ 15.380734] TCP cubic registered
[ 15.383977] NET: Registered protocol family 17
[ 15.388471] Registering the dns_resolver key type
[ 15.393258] Gating clock of unused units
[ 15.393266] before: 0x00dfc3fd
[ 15.393273] after: 0x00c7c1d9
[ 15.393703] registered taskstats version 1
[ 15.398275] /build/buildd-linux_3.2.35-2-armel-th89m3/linux-3.2.35/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 15.409433] Initializing network drop monitor service
[ 15.415097] Freeing init memory: 144K
[ 15.467662] udevd[48]: starting version 175
[ 15.535860] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 15.637550] mv643xx_eth smi: probed
[ 15.688387] usbcore: registered new interface driver usbfs
[ 15.693983] usbcore: registered new interface driver hub
[ 15.714096] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:26:6f:13
[ 15.728138] SCSI subsystem initialized
[ 15.766866] mmc0: mvsdio driver initialized, using GPIO 47 for card detection
[ 15.783063] usbcore: registered new device driver usb
[ 15.812306] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 15.840952] libata version 3.00 loaded.
[ 15.842837] sata_mv sata_mv.0: version 1.28
[ 15.842972] sata_mv sata_mv.0: slots 32 ports 2
[ 15.878089] scsi0 : sata_mv
[ 15.887529] scsi1 : sata_mv
[ 15.890604] ata1: SATA max UDMA/133 irq 21
[ 15.894717] ata2: SATA max UDMA/133 irq 21
[ 15.899424] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 15.904730] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 15.937187] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 15.957175] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 15.963210] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.970056] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.977324] usb usb1: Product: Marvell Orion EHCI
[ 15.982047] usb usb1: Manufacturer: Linux 3.2.0-4-kirkwood ehci_hcd
[ 15.988352] usb usb1: SerialNumber: orion-ehci.0
[ 15.994937] hub 1-0:1.0: USB hub found
[ 15.998743] hub 1-0:1.0: 1 port detected
[ 16.407182] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 16.427382] ata1.00: ATA-8: ST500LM012 HN-M500MBB, 2AR10001, max UDMA/133
[ 16.434198] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 16.457362] ata1.00: configured for UDMA/133
[ 16.461984] scsi 0:0:0:0: Direct-Access ATA ST500LM012 HN-M5 2AR1 PQ: 0 ANSI: 5
[ 16.817180] ata2: SATA link down (SStatus 0 SControl F300)
[ 16.853073] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 16.860632] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 16.866977] sd 0:0:0:0: [sda] Write Protect is off
[ 16.871819] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 16.871915] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 16.932373] sda: sda1 sda2 sda3
[ 16.937557] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.951782] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 29.442959] udevd[245]: starting version 175
[ 30.944283] Adding 987992k swap on /dev/sda2. Priority:-1 extents:1 across:987992k
[ 37.992924] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 43.342584] NET: Registered protocol family 10
With this i am satisfied.
Regard
TMM68
Edited 1 time(s). Last edit at 03/08/2013 01:35PM by tmm68.