DockStar JTAG

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: DockStar JTAG

Postby jtagfun » Mon Sep 13, 2010 10:27 pm

I compared env from a brand new Dockstar and env after resetenv and found two differences:

(1). "ceserialno" was not set by resetenv.
(2). "ceboardver" was set by resetenv to "REDSTONE 0.1", but it's "REDSTONE 1.0" for the new Dockstar.

After setting "ceserialno" and changing "ceboardver" to "REDSTONE 1.0" I was able to recover kernel and root-fs.
jtagfun
 
Posts: 24
Joined: Sun Aug 29, 2010 11:37 am

Re: DockStar JTAG

Postby ril3y » Tue Oct 05, 2010 2:43 am

Hey guys, I am not sure that I have "bricked" my dockstar. Here is what is happening.. I am attempting to put a new linux image on my dockstar. I have followed various walkthroughs and I always fail at here:

$this->bbcode_second_pass_code('', '
U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60

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 128MB
DRAM Total size 128MB 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)
CLOUD ENGINES BOARD: REDSTONE:0.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

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

Reading data from 0x3ff800 -- 100% complete.
3145728 bytes read: OK
## Booting image at 00800000 ...
Image Name: Linux-2.6.35.4
Created: 2010-09-25 23:03:30 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1062884 Bytes = 1 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.')


It just dies at Uncompressing Linux... I can however follow the instructions here:
http://Arch Linux ARM.com/index.php5?title=Ha ... Reflashing
and restore my dockstar with no problems at all. I am a veteran linux user so I am pretty sure I am not making a simple noob mistake. Anyone have a thought as to what I might be doing wrong? I also have purchased a Wiggler off of ebay to fix via JTAG if needed... (Since the Bus Pirate does not fully support openOCD yet)

Thanks for any suggestions!

ril3y

I can
ril3y
 
Posts: 3
Joined: Tue Oct 05, 2010 2:38 am

Re: DockStar JTAG

Postby peaslaker » Tue Oct 05, 2010 11:31 pm

You're trying to boot a generic new linux image from the cloudengines u-boot. That's not a combination that works.

$this->bbcode_second_pass_quote('', 'I') am attempting to put a new linux image on my dockstar.


From your description I am not sure how many of the old system components you are seeking to retain. This makes all the difference in the advice that can be given.
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: DockStar JTAG

Postby ril3y » Tue Oct 05, 2010 11:57 pm

So what I need to install the matching uBoot image then? And then it will boot the matching linux kernel?

Thanks for the reply

ril3y
ril3y
 
Posts: 3
Joined: Tue Oct 05, 2010 2:38 am

Re: DockStar JTAG

Postby ril3y » Wed Oct 06, 2010 1:02 pm

Oh and I am not trying to retain ANY of the default firmware features. I want a purely NEW openwrt build. Just a raw clean linux install. I am going to use the board as a linux server.

Ril3y
ril3y
 
Posts: 3
Joined: Tue Oct 05, 2010 2:38 am

Re: DockStar JTAG

Postby peaslaker » Wed Oct 06, 2010 3:01 pm

The main thing is that an ARM linux kernel must contain board specific features (depending on options chosen when the kernel is built). When the kernel is initialised, the bootloader needs to tell the kernel which board it is running on. The alternative is that the kernel is built to just support a single board.

Therefore you can fix this situation either by making sure your kernel is dockstar-specific (which is poorly documented but I think is a valid approach), or by upgrading the u-boot and specifying the appropriate u-boot parameters. The environment parameters that have special meaning are:
$this->bbcode_second_pass_code('', '
mainlineLinux
arcNumber
bootargs
')
The old u-boot doesn't include the magic to load the arcNumber into the appropriate register in order to initialise the kernel correctly for the specified board. That is why a new u-boot is required.

The path that most quickly leads to success is that currently documented on the wiki: http://Arch Linux ARM.com/index.php5?title=Pl ... ug_Setboot
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: DockStar JTAG

Postby forsage » Tue Oct 19, 2010 4:32 pm

Hello.
After playing with openwrt and dockstar, my dockstar not booting now. :( Only fast blinking with green diode. Tell me please, the only one way to reanimate it this is jtag ?
forsage
 
Posts: 1
Joined: Tue Oct 19, 2010 4:25 pm

Re: DockStar JTAG

Postby bzboi » Wed Oct 20, 2010 10:19 pm

$this->bbcode_second_pass_quote('forsage', 'H')ello.
After playing with openwrt and dockstar, my dockstar not booting now. :( Only fast blinking with green diode. Tell me please, the only one way to reanimate it this is jtag ?

Do you have a serial cable? Post a boot log using Teraterm or Putty and we'll see.
bzboi
 
Posts: 55
Joined: Sun Jul 11, 2010 5:39 pm

Re: DockStar JTAG

Postby aex » Wed Nov 10, 2010 4:04 pm

Hi, sadly i briked my dockstar trying to go from openwrt to debian.
It does not boot or write anything on serial.

Maybe its completaly dead because it is not recognised by jtag, but maybe im just connecting it wrong.

Could someone please help me with that?

wiggler compatible JTAG Pinout

1 VCC
2 VCC
3 TRST Opendrain Test Reset active low
5 TDI Output Test data input
7 TMS Output Test mode Select
9 TCD Output Test Clock
13 TDO Input Test Data Output
15 SRST Opendrain System reset active low
4,6,8,10,12,14,16,18,20 GND
19,17,11 Not Connected

wiggler http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=270627269001&ssPageName=STRK:MEWNX:IT

usb2lpt http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=170391361404&ssPageName=STRK:MEWNX:IT

thanks

aex
aex
 
Posts: 8
Joined: Tue Aug 17, 2010 6:57 pm

Re: DockStar JTAG

Postby aex » Sat Nov 13, 2010 2:03 pm

help?
aex
 
Posts: 8
Joined: Tue Aug 17, 2010 6:57 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests