New IT forum Follow us on Twitter
23 May 2012, 04:20:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: TonidoPlug2 - Now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Black sheevaplug ESATA - Problems on boot from NAND - debian 2.6.32.8  (Read 3094 times)
fabaplug
Newbie
*
Posts: 16


« on: 06 December 2010, 10:17:44 pm »

This is my first post. I have search and try around forum and to fix my issue but i haven't found the goal!
I bought Black esata sheevaplug and i have update kernel from 2.6.32.8 but Now i can't use my esata external driver that i use perfectly before update kernel!!!
I use this guide on this forum: http://www.newit.co.uk/forum/index.php/topic,285.msg2569/topicseen.html#msg2569
My set up:
Code:
U-Boot 1.1.4 (Jul 14 2009 - 06:46:57) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CF120

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Marvell>>

FROM PRINTENV:

usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=F0:AD:4E:00:2D:3C
run_diag=no
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootargs=rootfstype=jffs2 console=ttys0,1:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none etenv bootargs rootfstype=jffs2 console=ttys0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw
mainline=Linux yes
arcNumber=2097
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
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
enaAutoRecovery=yes

Environment size: 2041/131068 bytes
Marvell>>

IDE RESET

Marvell>> ide reset

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode
  Device 1 @ 0 1:
Model: MAXTOR STM3160215A                       Firm: 3.AAD    Ser#:             9RX9C6DP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)

Marvell>>

BOOT COMMAND

Marvell>> boot

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.8
   Created:      2010-12-06  13:36:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2229528 Bytes =  2.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


AFTER BOOT NO SATA FIND WITH FDISK -L

Ubuntu 9.04 debian ttyS0

debian login: root
Password:
Last login: Mon Dec  6 20:14:57 UTC 2010 on ttyS0
Linux debian 2.6.32.8 #1 PREEMPT Mon Dec 6 05:36:10 PST 2010 armv5tel

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
root@debian:~# fdisk -l

Disk /dev/sda: 501 MB, 501219328 bytes
17 heads, 32 sectors/track, 1799 cylinders
Units = cylinders of 544 * 512 = 278528 bytes
Disk identifier: 0x62819549

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1800      489424    6  FAT16
root@debian:~#

DSMEG LOG

lib80211_crypt: registered algorithm 'NULL'
Gating clock of unused units
before: 0x00dfc3dd
 after: 0x00c7c1d9
rtc-mv rtc-mv: setting system clock to 2010-12-06 22:04:54 UTC (1291673094)
ata1: SATA link down (SStatus 0 SControl F300)
usb 1-1: new high speed USB device using orion-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
IP-Config: Complete:
     device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath=
scsi 2:0:0:0: Direct-Access     USB      Flash Disk       1100 PQ: 0 ANSI: 0 CCS
usb-storage: device scan complete
sd 2:0:0:0: [sda] 978944 512-byte logical blocks: (501 MB/478 MiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI disk
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata2: limiting SATA link speed to 1.5 Gbps
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F310)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F310)
jffs2_scan_dirent_node(): Name CRC failed on node at 0x142807dc: Read 0xffffffff, calculated 0xf6554880
Empty flash at 0x14280810 ends at 0x14281000
VFS: Mounted root (jffs2 filesystem) on device 31:1.
Freeing init memory: 116K
Warning: unable to open an initial console.
sd 2:0:0:0: Attached scsi generic sg0 type 0

Can someone understand all of this?Huh What can i do to use esata with nand boot?
Is there a guide or manual to learn to use boot commands on uboot to set setenv???
I want know because i believe in Sheevaplug project!!!
Fabio
« Last Edit: 06 December 2010, 10:20:13 pm by fabaplug » Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 07 December 2010, 08:32:58 am »

Try arcNumber 2678. No other changes.
Logged
fabaplug
Newbie
*
Posts: 16


« Reply #2 on: 07 December 2010, 09:35:05 am »

Good Morning Dr. Mark,
i have read so many topics about your precious tips about sheevaplug and i know that with your next tip we can fix it and i can understand where i make a mistake so i can update my black sheeva alone in the future.
This morning i try with this commands on Uboot with usb serial on Ubuntu console:
Code:
setenv mainlineLinux yes

setenv arcNumber 2678

setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none

saveenv

reset

And i have this on uboot

Code:
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.8
   Created:      2010-12-06  13:36:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2229528 Bytes =  2.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000a76).

Available machine support:

ID (hex)        NAME
00000690        Marvell DB-88F6281-BP Development Board
00000691        Marvell RD-88F6192-NAS Development Board
00000692        Marvell RD-88F6281 Reference Board
0000078c        Marvell 88F6281 GTW GE Board
00000831        Marvell SheevaPlug Reference Board
0000085b        QNAP TS-119/TS-219
00000915        Marvell OpenRD Base Board

Please check your kernel config and/or bootloader.



If i replace with
setenv arcNumber 2097
saveenv
reset
Black sheeva reboot i don't have warning on uboot - the esata external driver stop to blink (like it runs) but no sata :-(
This is dsmeg:
Code:
Last login: Mon Dec  6 23:45:15 UTC 2010 on ttyS0
Linux debian 2.6.32.8 #1 PREEMPT Mon Dec 6 05:36:10 PST 2010 armv5tel

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
root@debian:~# fdisk -l
root@debian:~# dmesg | more
Linux version 2.6.32.8 (root@ubuntu) (gcc version 4.5.1 (Sourcery G++ Lite 2010.
09-51) ) #1 PREEMPT Mon Dec 6 05:36:10 PST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell SheevaPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 131072
free_area_init_node: node 0, pgdat c04820b4, node_mem_map c0548000
  Normal zone: 1024 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 130048 pages, LIFO batch:31
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0
x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw i
p=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB = 512MB total
Memory: 514176KB available (4164K code, 959K data, 116K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
  final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
cfg80211: Calling CRDA for country: US
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 1004
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bi
t)
Scanning device for bad blocks
2 cmdlinepart partitions found on MTD device orion_nand
Creating 2 MTD partitions on "orion_nand":
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "rootfs"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address f0:ad:4e:00:2d:3c
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
Registered led device: plug:green:health
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
ata1: SATA link down (SStatus 0 SControl F300)
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Gating clock of unused units
before: 0x00dfc3dd
 after: 0x00c7c1d9
rtc-mv rtc-mv: setting system clock to 2010-12-07 09:16:17 UTC (1291713377)
IP-Config: Complete:
     device=eth0, addr=192.168.1.9, mask=255.255.255.0, gw=192.168.1.4,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=192.168.1.4, rootserver=192.168.1.4, rootpath=
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Gating clock of unused units
before: 0x00dfc3dd
 after: 0x00c7c1d9
rtc-mv rtc-mv: setting system clock to 2010-12-07 09:16:17 UTC (1291713377)
IP-Config: Complete:
     device=eth0, addr=192.168.1.9, mask=255.255.255.0, gw=192.168.1.4,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=192.168.1.4, rootserver=192.168.1.4, rootpath=
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata2: limiting SATA link speed to 1.5 Gbps
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F310)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F310)
jffs2_scan_dirent_node(): Name CRC failed on node at 0x142807dc: Read 0xffffffff
, calculated 0xf6554880
Empty flash at 0x14280810 ends at 0x14281000
VFS: Mounted root (jffs2 filesystem) on device 31:1.
Freeing init memory: 116K

What do you think about this "Patient" Dr. Mark!?!?!?!?
I appreciate so much your great collaboration to make happy this sheevaplug holders
Best Regards,
Fabio
Logged
NewIT_James
Administrator
Sr. Member
*****
Posts: 394


« Reply #3 on: 07 December 2010, 10:02:21 am »

Hi fabaplug,

The arcNumber change will work but I you will need to upgrade your kernel to at least 2.6.34.6.

NewIT Technical.

 
Logged

NewITJames
fabaplug
Newbie
*
Posts: 16


« Reply #4 on: 07 December 2010, 12:35:16 pm »

Hi James,
i have update kernel 2.6.34.6 (WITH THIS http://www.newit.co.uk/forum/index.php/topic,285.msg2569/topicseen.html#msg2569 and linux kernel from kernel.org apply the patches from sheeva with linux change .sh file kernel-upgrade-forum.sh to load uImage and modules from usb stick) but nothing happen changing the " setenv arcNumber 2678"
the same result:
Code:
Error: unrecognized/unsupported machine ID (r1 = 0x00000a76).

Available machine support:

ID (hex)        NAME
00000690        Marvell DB-88F6281-BP Development Board
00000691        Marvell RD-88F6192-NAS Development Board
00000692        Marvell RD-88F6281 Reference Board
0000078c        Marvell 88F6281 GTW GE Board
00000831        Marvell SheevaPlug Reference Board
0000085b        QNAP TS-119/TS-219
00000915        Marvell OpenRD Base Board

Please check your kernel config and/or bootloader.


James can you explain me the right things to do to obtain the esata black sheevaplug WORK with esata.......please?
thanks
Fabio
Logged
NewIT_James
Administrator
Sr. Member
*****
Posts: 394


« Reply #5 on: 07 December 2010, 12:57:09 pm »

I think your environment variables are causing these problems. Have a look at the post below and see if that helps you out.

http://www.newit.co.uk/forum/index.php/topic,134.0.html

NewIT Technical
« Last Edit: 07 December 2010, 01:16:03 pm by NewIT_James » Logged

NewITJames
fabaplug
Newbie
*
Posts: 16


« Reply #6 on: 07 December 2010, 02:27:56 pm »

Sorry but i don't understand what to do beacuse in that post i don't find file to download but only a long "printenv" and i don't know how copy all that in my setenv file?Huh??
I also try to upgrade uboot with " http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html " and " http://www.newit.co.uk/u-boot/uboot-sata-090903.bin " but i recieve the same result on boot setting setenv arcNumber 2678.
I would understand the logical of all this so i can fix this issue with myself and don't boring you with this stupid things.....
Fabio
Logged
NewIT_James
Administrator
Sr. Member
*****
Posts: 394


« Reply #7 on: 07 December 2010, 03:25:07 pm »

Fabio,

Post another Printenv and I will try and spot the problem.

NewIT Technical
Logged

NewITJames
fabaplug
Newbie
*
Posts: 16


« Reply #8 on: 07 December 2010, 04:23:57 pm »

This is last printenv
Code:
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
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
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=F0:AD:4E:00:2D:3C
run_diag=no
mainline=Linux yes
bootargs_end=:::DB88FXX81:eth0:none
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
mainlinux=yes
arcNumber=2097
bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
arcNumber=2097
bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
arcNumber=2097
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
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
enaAutoRecovery=yes

Environment size: 1441/131068 bytes


I set arcNumber to 2097 because if i set 2678 i have the unknown screen on uboot
Thanks
Fabio
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #9 on: 07 December 2010, 06:13:34 pm »

When I posted my first reply I made an assumption about the hardware that you had, and about how you had chosen your kernel. Since the suggestions we've made don't seem to be working, and since there are some obvious problems in your most recent post - there are duplicate entries in your list of environment variables - you need to clear up a couple of questions:

* You have a JFFS2 (not UBIFS) plug, correct?
* How did you upgrade the kernel?
* What is the output of uname -a?
* what is the output of dmesg | grep Linux?
Logged
fabaplug
Newbie
*
Posts: 16


« Reply #10 on: 08 December 2010, 11:21:00 am »

Good Morning Marcus,
First - i have bought Black Esata Sheeva from you NewIt and i have Ubuntu 9.04 (jffs2)!
Second - I upgrade the kernel for first time on this wiki: http://www.plugcomputer.org/plugwiki/index.php/Install_Prebuilt_Kernels_From_sheeva.with-linux.com copying also the setenv bootargs but after reset nothing happens and i use your post on newit forum http://www.newit.co.uk/forum/index.php/topic,285.msg2569/topicseen.html#msg2569 but changing the setenv arcNumber 2687 no esata external driver was found so i upgrade with your post to linux kernel 2.6.34.6 and i post the printenv as you can see!
Also i see the duplications of arcNumber and i decide to make a "resetenv" to uboot and know i have this:
Code:
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Jul 14 2009 - 06:46:57) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CF120

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
*** Warning - bad CRC or NAND, using default environment


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
egiga0 no link
mvEgigaInit: egiga1 mvEthPortEnable failed (error)
mvEgigaInit: egiga1 failed
Using egiga0 device
TFTP from server 10.4.50.5; our IP address is 10.4.50.165
Filename 'uImage'.
Load address: 0x2000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
## Booting image at 02000000 ...
Bad Magic Number
Unknown command '<NULL>' - try 'help'

and this is new printenv

Code:
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
mainlineLinux=no
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
bootcmd=tftpboot 0x2000000 $(image_name);setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig);  bootm 0x2000000;
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:0c:34:0a
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
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
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
enaAutoRecovery=yes
ethact=egiga0
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) root=/dev/nfs rw nfsroot=10.4.50.5:/mnt/ARM_FS/ ip=10.4.50.165:10.4.50.5:::DB88FXX81:eth0:none mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 mv_phone_config=dev0:fxs,dev1:fxs

Environment size: 1542/131068 bytes
Marvell>>

What do you thing about?Huh I made resetenv because i think that erase all bad code and remake clean but the true is different......
Help me to go out from this horrible nightmare!!!
But i want understand more about this u-boot.
Thanks
Fabio
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #11 on: 08 December 2010, 05:51:55 pm »

Good Morning Marcus,
First - i have bought Black Esata Sheeva from you NewIt and i have Ubuntu 9.04 (jffs2)!
Second - I upgrade the kernel for first time on this wiki: http://www.plugcomputer.org/plugwiki/index.php/Install_Prebuilt_Kernels_From_sheeva.with-linux.com

The first line on the page you referred to states:

WARNING - This procedure will not work on a SheevaPlug as shipped from the factory because the flash partition is too small for the Prebuilt Kernels and you will end up with an unbootable kernel

Now you will have to use the installer to fix your plug.

You can either:

  • Use the command line installer

or

  • Use the graphical installer

or

  • Upgrade U-Boot manually (optional step, only required if you ever want to boot from SD card)
  • Amend Environment variables manually
  • Prepare a USB stick with relevant installer files
  • Manually run installer process from Sheevaplug console

The manual process, with 4 separate steps, has some advantages over the installer options, in that some users have difficulty getting the JTAG connection to work.
Logged
fabaplug
Newbie
*
Posts: 16


« Reply #12 on: 16 December 2010, 12:06:20 am »

And the winner issssssss "The beautiful Sheevaplug with a black dress".....ohhh yesssss
After i bricked the esata sheevaplug and i read read and test and read and test and install so much stuffs
But the point is the same of a week ago-----> NO ESATA
Now i have uboot.bin----->esata version on new it
and kernel 2.6.33.3 that for all people that have esata plug works great.....no for me!
Linux ubuntu 2.6.33.3 #2 PREEMPT Tue Apr 27 15:07:28 MDT 2010 armv5tel GNU/Linux
Linux version 2.6.33.3 (kelly@speedy) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #2 PREEMPT Tue Apr 27 15:07:28 MDT 2010
Tomorrow i buy a new one so i can use this only for usb and STOP!
thanks
fabio
Last question: How can New IT make a esata black sheevaplug work out of the box?Huh??
                    Is possible to know how i can make it like out of the factory???
« Last Edit: 16 December 2010, 12:09:51 am by fabaplug » Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #13 on: 16 December 2010, 08:34:05 am »

and kernel 2.6.33.3 that for all people that have esata plug works great.....no for me!
Linux ubuntu 2.6.33.3 #2 PREEMPT Tue Apr 27 15:07:28 MDT 2010 armv5tel GNU/Linux
Linux version 2.6.33.3 (kelly@speedy) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #2 PREEMPT Tue Apr 27 15:07:28 MDT 2010

For this kernel you need to set arcNumber to 2097. For newer (since 2.6.34, excluding 2.6.35, which doesn't work for eSATA) kernels from sheeva.with-linux.com, you need arcNumber 2678.

Last question: How can New IT make a esata black sheevaplug work out of the box?Huh??
                    Is possible to know how i can make it like out of the factory???

The key difference between what you have now and our UBIFS configuration is the kernel. With our kernel (although we'll be changing this soon) you need arcNumber 2097. (The ex-factory configuration uses JFFS2 file system which isn't as good as the UBIFS setup that you now have).
Logged
fabaplug
Newbie
*
Posts: 16


« Reply #14 on: 16 December 2010, 04:52:56 pm »

Hello Marcus.....
so i have a chance to have huge black esata alive!
What do you think is better:
1 - Now i have reflashed with ESIA a 2.6.33.3 and ubuntu 9.04 and i have mtd0: 00400000 uImage so i can "Install Prebuilt Kernels From sheeva.with-linux.com" like (what is the SECURE ESATA KERNEL THAT WORK???) with README script.
2 - Compile a new kernel from kernel.org with your guide here (http://www.newit.co.uk/forum/index.php/topic,285.msg2569/topicseen.html#msg2569)
Thanks
Fabio
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!