General NAS-Central Forums

Welcome to the NAS community
It is currently Sat Sep 23, 2017 6:25 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu May 27, 2010 3:14 am 
Offline

Joined: Wed Apr 16, 2008 4:23 am
Posts: 14
Hi guys,

I was finally able to solder a USB-serial custom cable using a DKU-5 cable using instructions from here and the Wiki. I am trying to determine why my Edmini has stopped booting - after disassembly ! I am thinking i may have shorted something. I cannot hear the hard drive when I apply power to the unit. Here's the serial port capture, it just stops after "Hit any key to stop autoboot: 3". I noticed the unrecognized flash and size=0 kB, so if you can compare with your own dumps, I would appreciate... puzzled by the "WOL not enabled. System Power off" logs.

Cheers,
flavoie

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
** MARVELL BOARD: DB-88F5182-EDmini-V2 LE

U-Boot 1.1.1 (Aug 16 2006 - 10:46:18) Marvell version: 1.7.3 - LaCie version: 1.3.4

DRAM CS[0] base 0x00000000 size 64MB
DRAM Total size 64MB
Flash: flashStructGet manu 0xff id 0xff
[0kB@fff80000] ## Unknown FLASH at fff80000: Size = 0x00000000 = 0 MB
Flash: 0 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment


Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 400Mhz
SysClock = 133Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: device mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0 [PRIME]
Power Button Released
WOL not enabled. System Power off
Hit any key to stop autoboot: 3


Last edited by flavoie on Thu May 27, 2010 3:29 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu May 27, 2010 3:29 am 
Offline

Joined: Wed Apr 16, 2008 4:23 am
Posts: 14
Feeling dumb, but better now. Issue solved.
After reading yet another thread, I realized that I could play with the power button in front - it's actually the first time I notice I have to press this thing, I think i never had to, the unit would power and boot by itself AFAIK. I had to press it quite deep to hear a click and then the bootup continues way further, up to the point where my Edmini fully works. Well the good news is that i'll now be able to play with it and change the firmware. The full logs, for posterity (after hitting the power button... bummer) :

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
** MARVELL BOARD: DB-88F5182-EDmini-V2 LE

U-Boot 1.1.1 (Aug 16 2006 - 10:46:18) Marvell version: 1.7.3 - LaCie version: 1. 3.4

DRAM CS[0] base 0x00000000 size 64MB
DRAM Total size 64MB
Flash: flashStructGet manu 0xff id 0xff
[0kB@fff80000] ## Unknown FLASH at fff80000: Size = 0x00000000 = 0 MB
Flash: 0 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment


Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 400Mhz
SysClock = 133Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: device mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0 [PRIME]
Power Button Released
Hit any key to stop autoboot: 0
Waiting for LUMP (2)
Using egiga0 device
no lump receive; continuing

Reset IDE:
Marvell Serial ATA Adapter
Intergrated Sata device found
Device 1: OK
Model: Hitachi HDP725050GLA360 Firm: GM4OA52A Ser#: GEB53 0RE2XSB8B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Checking whether rollback is requested..
Checking for /snaps/00
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 4096 oldroot
<DIR> 4096 etc
<DIR> 4096 dev
<DIR> 4096 usr
Checking for Image /snaps/00/boot/uImage
** Image /snaps/00/boot/uImage not found...
Checking for /snaps/01
** Can not find directory. **
** End of Snapshots **
No valid Image Found. Loading default kernel

Loading from IDE device 1, partition 6: Name: hdb6
Type: U-Boot
Image Name: Linux-2.6.12.6-arm1-lacie5a
Created: 2006-10-31 10:26:32 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1523420 Bytes = 1.5 MB
Load Address: 00008000
Entry Point: 00008000
## Booting image at 00400000 ...
Image Name: Linux-2.6.12.6-arm1-lacie5a
Created: 2006-10-31 10:26:32 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1523420 Bytes = 1.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................. ............................................ done, booting the kernel.
Linux version 2.6.12.6-arm1-lacie5a (root@lacie) (gcc version 3.4.4 (release) (C odeSourcery ARM 2005q3-2)) #1 Tue Oct 31 11:26:21 CET 2006
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 133000000, Tclk = 166666667
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB 0MB 0MB 0MB = 64MB total
Memory: 61440KB available (2817K code, 416K 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 64MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
PCI0_MEM ....base e8000000, size 128MB
PCI0_IO ....base f2100000, size 1MB
INTER_REGS ....base f1000000, size 1MB
DEVICE_CS0 ....no such
DEVICE_CS1 ....base f4000000, size 16MB
DEVICE_CS2 ....no such
DEV_BOOCS ....base ff800000, size 8MB
CRYPTO ENG ....base f0000000, size 64KB

LaCie EDmini V2 (MV LSP Version 1.10.3.patch2_DB_NAS)-- RD-88F5182-EDMV2 Soc: 88F5182 A2

Detected Tclk 166666667 and SysClk 133000000
Marvell USB EHCI Host controller #0: c3c11b00
Marvell USB EHCI Gadget controller #1: c3c11a40
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
o RAID 5 Xor calculation
o kernel memcpy
o kenrel memzero
o copy user to/from kernel buffers
Number of XOR engines to use: 2
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
Registering unionfs 1.1.5
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
o Ethernet descriptors in DRAM
o DRAM SW cache-coherency
o Checksum offload enabled
o Loading network interface 'egiga0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
Vendor: Hitachi Model: HDP725050GLA360 Rev: GM4O
Type: Direct-Access ANSI SCSI revision: 03
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
SCSI device sda: drive cache: write back
sda: sda1 < sda5 sda6 sda7 sda8 sda9 > sda2
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
physmap flash device: 80000 at ff800000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
edmini_power 1.0 initialised
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid10 personality registered as nr 9
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 5
Loading I2C based RTC driver device interface.
Found TWSI adapter with id: 0
Found I2C RTC rs5c372 @ 0x32
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing init memory: 96K
kjournald starting. Commit interval 5 seconds
#### Started PatchManager ####
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
#### Running File System Check on Base Partition ###
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda9, internal journal
EXT3-fs: sda9: 1 orphan inode deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Mounting kernel-based file systems: /procnodev sysfs
/sys [ OK ]
Starting clock sync [ OK ]
Starting system log daemon... [ OK ]
Starting kernel log daemon... [ OK ]
Loading modules: xfs reiserfs g_ether ntfs [ OK ]
Activating all swap files/partitions... [ OK ]
Starting UserData service
Bringing up the loopback interface... [ OK ]
Setting hostname to EDmini... [ OK ]
Bringing up the egiga0 interface (udhcpc)...
Removing remaining PID file
udhcpc (v0.9.9-pre) started
Lease of 192.168.0.104 obtained, lease time 86400
Reloading smbd...
Reloading nmbd... [ OK ]
Bringing up the usb0 interface (udhcpc)...
Removing remaining PID file
udhcpc (v0.9.9-pre) started
No lease, forking to background. [ OK ]
Starting HTTPD... [ OK ]
Starting Network Interface Plugging Daemon:Process 698 died: No such process; removing PID file. (/var/run/ifplugd.egiga0.pid)
egiga0Process 734 died: No such process; removing PID file. (/var/run/ifplugd.usb0.pid)
usb0.
Starting ipconfd ... [ OK ]
Starting udevd... [ OK ]
Starting FTP Server... [ OK ]
Starting nmbd... [ OK ]
Starting smbd...
/usr/sbin/smbd: /lib/libpam.so.0: no version information available (r[ OK ]d by /usr/sbin/smbd)
Starting DAAP server
setting dest to 4 [ OK ]
Twonky server seems already be running under PID 935
(PID file /var/run/twonky.pid already exists). Checking for process...
Looks like the daemon crashed: the PID does not match the daemon.
Removing flag file...
Starting /usr/local/TwonkyVision/twonkymedia ...
TwonkyMedia Version 4.4.2
Time synchronization from network
Updating PatchManager Log

LaCix Linux release 1.0
Kernel 2.6.12.6-arm1-lacie5a on an armv5tejl / ttyS0
EDmini login:


Top
 Profile  
 
PostPosted: Sat May 29, 2010 7:49 am 
Offline

Joined: Thu May 08, 2008 11:23 am
Posts: 112
Location: near Toulouse, France
flavoie wrote:
I realized that I could play with the power button in front - it's actually the first time I notice I have to press this thing, I think i never had to, the unit would power and boot by itself AFAIK.
The EDminiV2 never fully powers off :( (unless you pull the plug ;-) ).
U-Boot is running when the EDminiV2 appears to be powered-off :? .
A flag in an EEPROM (a non-volatile memory) is used to communicate between Linux and U-Boot to determine what U-Boot does when it gets control.
Depending on this flag U-Boot will either wait for you to press the power button or else boot Linux immediately.


Top
 Profile  
 
PostPosted: Fri Dec 31, 2010 11:01 am 
Offline

Joined: Fri Dec 31, 2010 10:54 am
Posts: 1
Hi, i know it's a while since last post but..
i'm trying to talk to Marvell board (from Lacie d2 Network).
i've found a lot of info on rigacci www but still connection via serial console if failing...
i plugged rx tx and gnd to my rs-232->USB converter. and during boot i'm getting lots of trash.
i'm using zoc6 (mac), 115200, 8N1 (like in env from catched u-Boot)
is it possible that i also need to convert voltages from 3.3 in marvel to at least 5v in rs?
how did you managed to connect to serial console?


Top
 Profile  
 
PostPosted: Mon Jan 03, 2011 6:12 am 
Offline

Joined: Thu May 08, 2008 11:23 am
Posts: 112
Location: near Toulouse, France
misfor wrote:
i plugged rx tx and gnd to my rs-232->USB converter. and during boot i'm getting lots of trash.
i'm using zoc6 (mac), 115200, 8N1 (like in env from catched u-Boot)
is it possible that i also need to convert voltages from 3.3 in marvel to at least 5v in rs?
Are you sure your RS-232 -> USB converter uses TTL logic levels and not RS-232 logic levels (+/-12V)?
RS-232 logic levels will not work and may damage your EDmini v2.

I doubt if it is a 3.3V/5V problem.

By "trash" do you mean strange characters or just missing characters?
Strange characters usually mean a problem with the baud rate, the number of data bits or possibly the polarity.

Missing characters usually mean the data is arriving too fast for the receiving software to handle.
In this case enabling software flow control (aka XOFF/XON or ^S/^Q) may help.

I don't have a Mac but minicom (Linux) and HyperTerminal (Windows) work fine for me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group