Building and using Openwince's JTAG Tools

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 14:38, 26 July 2006 by Dtaylor (Talk) (JTAG tools command sequence to flash the bootloader)

Jump to: navigation, search

This page will have instructions for building the JTAG tools and How to use them to unbrick your Kuro

Building JTAG tools

JTAG tools command sequence to flash the bootloader

Commands to prepare the Kuro:

start jtag and execute the following commands at the jtag prompt:

jtag> cable parallel 0x378 DLC5
jtag> include motorola/mpc8241/1.2 
jtag> endian big 
jtag> instruction SAMPLE/PRELOAD 
jtag> shift ir 
jtag> shift dr  
jtag> dr 
jtag> instruction EXTEST 
jtag> shift ir 
jtag> initbus mpc824x 
jtag> detectflash 0xFFC00000 

To read the bootloader type:

jtag> readmem 0xfff00000 0x0070000 bootloader 

To write the bootloader type with file u-boot.bin type:

jtag> flashmem 0xfff00000 u-boot.bin