Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Apr 20, 2018 1:53 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 115 posts ]  Go to page Previous 1 2 3 4 5 68 Next
Author Message
PostPosted: Thu Aug 09, 2007 8:21 pm 
Offline
Newbie

Joined: Wed Jun 27, 2007 7:08 pm
Posts: 42
Location: Lünen, NRW, Germany
fine mdfirefighter thx for your help so far. I will test it tomorrow morning.

Niels

_________________
Grüße Niels
-----
http://www.hetzke.net


Top
   
PostPosted: Fri Aug 17, 2007 6:29 pm 
Offline
Newbie

Joined: Fri Aug 17, 2007 6:15 pm
Posts: 5
As I made the very same stupid mistake as Magnum (flashing a LS-live without debug-mode) I too now have a bricked LS-live :down:
You can imagine I was following this discussion with much interest. But it ended with a cliffhanger...

@Niels/Magnum or Aynsleyny: do you have any news? Managed to unbrick the LSpro?

@rjsoni; did you buy the JTAG cable you mentioned? Does it work? As you understand I'm in the market for a (cheap) JTAG cable myself (maybe somebody who successfully unbricked their LSPro wants to sell theirs).

Thanks, Erik


Top
   
PostPosted: Fri Aug 17, 2007 11:38 pm 
Offline
Total Newbie

Joined: Mon Jul 23, 2007 8:35 pm
Posts: 2
@papapda : Bought the £25 version Multi JTAG, recieved it but havent yet tried it out, will give it a go and post back the results.

Regards
rjsoni


Top
   
PostPosted: Mon Aug 20, 2007 1:11 pm 
Offline
Newbie

Joined: Wed Jun 27, 2007 7:08 pm
Posts: 42
Location: Lünen, NRW, Germany
Hello together,

I have had found a little time to follow the information from mdfirefighter.

I opened a telnet session on port 4444. It seems good. The command help spends me the following information:

Code:
root@ttyp2[knoppix]# telnet 127.0.0.1 4444
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Open On-Chip Debugger
> help
                help    display this help
               sleep    sleep for <n> milliseconds
             version    show OpenOCD version
            shutdown    shut the server down
                exit    exit telnet session
          log_output    redirect logging to <file> (default: stderr)
         debug_level    adjust debug level <0-3>
          jtag_speed    set jtag speed (if supported) <speed>
          scan_chain    print current scan chain configuration
            endstate    finish JTAG operations in <tap_state>
          jtag_reset    toggle reset lines <trst> <srst>
             runtest    move to Run-Test/Idle, and execute <num_cycles>
           statemove    move to current endstate or [tap_state]
              irscan    execute IR scan <device> <instr> [dev2] [instr2] ...
              drscan    execute DR scan <device> <var> [dev2] [var2] ...
    verify_ircapture    verify value captured during Capture-IR <enable|disable>
                 var    allocate, display or delete variable <name> [num_fields|
'del'] [size1] ...
               field    display/modify variable field <var> <field> [value|'flip
']
              script    execute commands from <file>
                xsvf    run xsvf <file>
             targets    no help available
               flash    no help available
             banks -    list configured flash banks
              info -    print info about flash bank <num>
             probe -    identify flash bank <num>
       erase_check -    check erase state of sectors in flash bank <num>
     protect_check -    check protection state of sectors in flash bank <num>
             erase -    erase sectors at <bank> <first> <last>
             write -    write binary <bank> <file> <offset>
           protect -    set protection of sectors at <bank> <first> <last> <on|o
ff>
                nand    no help available
                 pld    programmable logic device commands
              arm7_9    arm7/9 specific commands
        write_xpsr -    write program status register <value> <not cpsr|spsr>
    write_xpsr_im8 -    write program status register <8bit immediate> <rotate>
<not cpsr|spsr>
    write_core_reg -    write core register <num> <mode> <value>
          sw_bkpts -    support for software breakpoints <enable|disable>
    force_hw_bkpts -    use hardware breakpoints for all breakpoints (disables s
w breakpoint support) <enable|disable>
             dbgrq -    use EmbeddedICE dbgrq instead of breakpoint for target h
alt requests <enable|disable>
       fast_writes -    (deprecated, see: arm7_9 fast_memory_access)
fast_memory_access -    use fast memory accesses instead of slower but potential
ly unsafe slow accesses <enable|disable>
     dcc_downloads -    use DCC downloads for larger memory writes <enable|disab
le>
          etb_dump -    dump current ETB content
             armv4_5    armv4/5 specific commands
               reg -    display ARM core registers
        core_state -    display/change ARM core state <arm|thumb>
       disassemble -    disassemble instructions <address> <count> ['thumb']
            arm9tdmi    arm9tdmi specific commands
      vector_catch -    catch arm920t vectors ['all'|'none'|'<vec1 vec2 ...>']
           arm926ejs    arm926ejs specific commands
              cp15 -    display/modify cp15 register <opcode_1> <opcode_2> <CRn>
 <CRm> [value]
        cache_info -    display information about target caches
         virt2phys -    translate va to pa <va>
          mdw_phys -    display memory words <physical addr> [count]
          mdh_phys -    display memory half-words <physical addr> [count]
          mdb_phys -    display memory bytes <physical addr> [count]
          mww_phys -    write memory word <physical addr> <value>
          mwh_phys -    write memory half-word <physical addr> <value>
          mwb_phys -    write memory byte <physical addr> <value>
                 cfi    no help available
                 reg    no help available
                poll    poll target state
           wait_halt    wait for target halt [time (s)]
                halt    halt target
              resume    resume target [addr]
                step    step one instruction
               reset    reset target [run|halt|init|run_and_halt|run_and_init]
     soft_reset_halt    halt the target and do a soft reset
                 mdw    display memory words <addr> [count]
                 mdh    display memory half-words <addr> [count]
                 mdb    display memory bytes <addr> [count]
                 mww    write memory word <addr> <value>
                 mwh    write memory half-word <addr> <value>
                 mwb    write memory byte <addr> <value>
                  bp    set breakpoint <address> <length> [hw]
                 rbp    remove breakpoint <adress>
                  wp    set watchpoint <address> <length> <r/w/a> [value] [mask]
                 rwp    remove watchpoint <adress>
          load_image    load_image <file> <address> ['bin'|'ihex']
          dump_image    dump_image <file> <address> <size>
         load_binary    [DEPRECATED] load_binary <file> <address>
         dump_binary    [DEPRECATED] dump_binary <file> <address> <size>
>                  pld    programmable logic device commands


What now are the next steps?
Which image do I have to take?

Greetings
Niels

_________________
Grüße Niels
-----
http://www.hetzke.net


Top
   
PostPosted: Mon Aug 20, 2007 1:47 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
sounds you are really close to flashing the uboot binary.

niels....please document all the steps in the end so everyone else can follow them.

you should be able to use the uboot-files bundled in the ls-pro firmwares. its the stock one.

now we only need the command sequence for flashing.

"load_image" looks very suspicious.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Mon Aug 20, 2007 3:20 pm 
Offline
Newbie

Joined: Wed Jun 27, 2007 7:08 pm
Posts: 42
Location: Lünen, NRW, Germany
Hi mindbender,

yes sure, but what meens:
Code:
 ['bin'|'ihex']


Greetings
Niels

_________________
Grüße Niels
-----
http://www.hetzke.net


Top
   
PostPosted: Tue Aug 21, 2007 3:37 pm 
Offline
Developer

Joined: Wed Mar 21, 2007 7:03 am
Posts: 42
If you can't get it halted then the rest of the steps I'm about to give are useless. So work on getting it halted before you do anything else.

This would be for a full erase and flash:
(after its halted)
>flash probe 0
>flash erase 0 0 63
>load_image lspuboot.bin 0xfffc0000

Then all you have to do is wait for about 3-4 hours.


Top
   
PostPosted: Wed Aug 22, 2007 6:57 am 
Offline
Newbie

Joined: Wed Jun 27, 2007 7:08 pm
Posts: 42
Location: Lünen, NRW, Germany
Hello mdfirefighter,

thank you for your support so far . But where I get lspuboot.bin from? Have you a correct compiled file for me?

Thanks and greets

Niels

_________________
Grüße Niels
-----
http://www.hetzke.net


Top
   
PostPosted: Wed Aug 22, 2007 8:40 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
i would wonder if this is NOT a renamed uboot.buffalo.

think about it. uboot.buffalo is a binary.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Wed Aug 22, 2007 7:00 pm 
Offline
Developer

Joined: Wed Mar 21, 2007 7:03 am
Posts: 42
Sorry about that, that wasn't a real filename, I just put it in there as an example. The binary you will have to find on your own. As long as its the whole 256K binary you should be ok.

Regards


Top
   
PostPosted: Tue Aug 28, 2007 5:48 am 
Offline
Developer

Joined: Wed Mar 21, 2007 7:03 am
Posts: 42
Bender,

Can you get magnum setup with a good binary or does anyone have a good uboot for magnum to have. I used the one I ripped from my lsp when it was working. We really need to get a few more people through this so we can hard down the process.

Regards


Top
   
PostPosted: Tue Aug 28, 2007 6:40 am 
Offline
Newbie

Joined: Wed Jun 27, 2007 7:08 pm
Posts: 42
Location: Lünen, NRW, Germany
Hello guys,

I wanted to say why I have not found time again to flash the LSPRO a second time. Because my vacation starts at 15. September (3 weeks South Africa :biglol: :biglol: ) and therefor I have to manage still much at work and at home.

I hope that I found next week a little bit time for flashing ;) therefor would be a new image very good. ;)

Greetings
Niels

_________________
Grüße Niels
-----
http://www.hetzke.net


Top
   
PostPosted: Thu Sep 06, 2007 12:13 pm 
Offline
Newbie
User avatar

Joined: Fri Jan 26, 2007 5:10 am
Posts: 46
Location: Tempe, Arizona
mdfirefighter wrote:
Bender,
Can you get magnum setup with a good binary or does anyone have a good uboot for magnum to have. I used the one I ripped from my lsp when it was working. We really need to get a few more people through this so we can hard down the process.


I just successfully got thru the jtag flashing process. I used the openocd tarball that was loaded to the downloads section.
http://buffalo.nas-central.org/download/AL ... -lspro.tgz

Here's a few points from my experience.
(1) When compiling openocd from the tarball, use all the "--enable_parport" options when running configure (if you are using a wiggler cable)
(2) When connecting my wiggler cable, I had problems running openocd, as my gound connection was not very strong. All my other connections were good, but make absolutely sure that your ground is the best it can be. After re-connecting my JTAG connections the thrid time openocd started fine.
(3) When running openocd, ignore the "Error: embeddedice.c:190 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000018)"
(4) You don't need to be fast to use the "halt" instruction, I pulled the "sRST" low briefly after issuing the halt command, and the system halted just fine as it came up again (sRST is system reset, not JTAG nTRST)
(5) I used the command "flash write 0 lspstock052207.bin 0xfffc0000" (not "load_image lspstock052207.bin 0xfffc0000")

Thank you all for the tarball and for the comments on this thread!

Good luck magnum! You just need to get a successful halt, probe the flash, erase the flash, and finally write the flash (use the "lspstock052207.bin" file in the tarball).

:up: I'm buying all the bricks on eBay now!! :up: Whahoo!

_________________
LS Pro (1.11-1a, JTAG flashed, serial port added, Freeagent backup)


Top
   
PostPosted: Fri Sep 07, 2007 9:42 am 
Offline
Newbie

Joined: Wed Jun 27, 2007 7:08 pm
Posts: 42
Location: Lünen, NRW, Germany
Hello chipace,

from which tarball has you get lspstock052207.bin?

Greetings
Niels

_________________
Grüße Niels
-----
http://www.hetzke.net


Top
   
PostPosted: Sat Sep 08, 2007 4:02 am 
Offline
Newbie
User avatar

Joined: Fri Jan 26, 2007 5:10 am
Posts: 46
Location: Tempe, Arizona
magnum wrote:
from which tarball has you get lspstock052207.bin?

Here's the link to the openocd tarball in the downloads directory:
http://buffalo.nas-central.org/download/AL ... -lspro.tgz

The lspstock052207.bin file will be in the openocd-package/doc/config directory.
You should lauch openocd in that directory (the lsp_wig.cfg configuration file there too), such that you don't have to specify any paths when you write that file.

_________________
LS Pro (1.11-1a, JTAG flashed, serial port added, Freeagent backup)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 115 posts ]  Go to page Previous 1 2 3 4 5 68 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 10 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:
Powered by phpBB® Forum Software © phpBB Limited