Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Help please with uboot GoFlexHome (no replies)

$
0
0
Hi there,

I've got a 2TB goflex home that I'm attempting to understand - unfortunately it's off (inter)network, I don't have JTAG ICE, but have added a serial port (based on an original Nokia CA-42 - all I had around, building an RS232 level shifter when I've finally finished the board). The Nokia cable doesn't show a serial port until the GFlex has powered up (so that causes some headaches firing up a console fast enough to interrupt the boot process)

Anyway, not wanting to brick the device, I decided to download davygravy's uboot for the goflex home - I load it in via tftp (according to jeffs instructions) and then tell it to go - it immediately goes into error and resets the CPU.

After dumping the nand and doing a checksum, it doesn't match any of the MD5's of the supported goflex devices.

I've also tried compiling the latest version of uboot (u-boot-2013.07.rc2) as this has support for the goflexhome built in (supposedly), this does something very similar (i.e. resets the CPU)

Davygravy:

NAS>> setenv ipaddr 192.168.0.254
NAS>> setenv serverip 192.168.0.50
NAS>> tftp 0x800000 uboot.mtd0.goflexhome.davygravy-2012-04-19.kwb
Using egiga0 device
TFTP from server 192.168.0.50; our IP address is 192.168.0.254
Filename 'uboot.mtd0.goflexhome.davygravy-2012-04-19.kwb'.
Load address: 0x800000
Loading: #################################################################
         ######################################
done
Bytes transferred = 524288 (80000 hex)
NAS>> go 0x800200
## Starting application at 0x00800200 ...
software interrupt
pc : [<00800fc8>]          lr : [<0060022c>]
sp : 00600000  ip : c8012078     fp : 005ff25c
r10: 00000000  r9 : 00000000     r8 : c8012000
r7 : 005ff67f  r6 : 00000002     r5 : 005ffe78  r4 : 00000000
r3 : 00000000  r2 : ffffffff     r1 : 00000000  r0 : deadbeef
Flags: nzcv  IRQs on  FIQs on  Mode USER_26
Resetting CPU ...
ÿ

         -- NAS EXPLORER --
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** QSI BOARD: NAS-PLUG LE

U-Boot 1.1.4 (Sep 26 2011 - 13:01:13) Marvell version: 3.4.27
QSI NAS version: 1.0.6

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

Soc: 88F6281 A1 (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 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:NAND READID : MID=0x98, DID=0xda
256 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

After build from uboot rc7

NAS>> setenv ipaddr 192.168.0.254
NAS>> setenv serverip 192.168.0.50
NAS>> tftp 0x800000 uboot.mtd0.kwb
Using egiga0 device
TFTP from server 192.168.0.50; our IP address is 192.168.0.254
Filename 'uboot.mtd0.kwb'.
Load address: 0x800000
Loading: #################################################################
         ######################################
done
Bytes transferred = 524288 (80000 hex)
NAS>> go 0x800200
## Starting application at 0x00800200 ...
software interrupt
pc : [<00800ea0>]          lr : [<0060022c>]
sp : 00600000  ip : 00000000     fp : 005ff25c
r10: 00000000  r9 : 00000000     r8 : c8011f68
r7 : 005ff67f  r6 : 00000002     r5 : 005ffe78  r4 : 00000000
r3 : c8011f68  r2 : ffffffff     r1 : 00000000  r0 : deadbeef
Flags: nzcv  IRQs on  FIQs on  Mode USER_26
Resetting CPU ...
ÿ

         -- NAS EXPLORER --
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** QSI BOARD: NAS-PLUG LE

U-Boot 1.1.4 (Sep 26 2011 - 13:01:13) Marvell version: 3.4.27
QSI NAS version: 1.0.6

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

Soc: 88F6281 A1 (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 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:NAND READID : MID=0x98, DID=0xda
256 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Any help gratefully recieved!

Viewing all articles
Browse latest Browse all 3247

Trending Articles