I have added one line to tjtag3.c to add the LX4189 cpu def:
===============================================================
sabayon tjtag3 # ./tjtag -backup:wholeflash /fc:89 /wiggler /silent
==============================================
EJTAG Debrick Utility v3.0 Tornado-MOD
==============================================
Probing bus ... Done
Instruction Length set to 5
CPU Chip ID: 00000010011111010011000111001011 (027D31CB)
*** Found a LX4189 chip ***
- EJTAG IMPCODE ....... : 10010010010010010010010010010010 (92492492)
- EJTAG Version ....... : Unknown (4 is a reserved value)
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R3k ASID_8 MIPS16 MIPS32
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Skipped
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Manual Flash Selection ... Done
Flash Vendor ID: 00000000000000000000000101111110 (0000017E)
Flash Device ID: 00000000000000000010000100000001 (00002101)
*** Manually Selected a Spansion S29GL128P U (16MB) Flash Chip ***
- Flash Chip Window Start .... : 1c000000
- Flash Chip Window Length ... : 01000000
- Selected Area Start ........ : 1f000000
- Selected Area Length ....... : 01000000
*** You Selected to Backup the WHOLEFLASH.BIN ***
=========================
Backup Routine Started
=========================
Saving WHOLEFLASH.BIN.SAVED_20120422_210703 to Disk...
5% bytes = 916256
===============================================================
But it the dumpfile is empty.
Any idea why?
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
at address 0xbf580000
for both OpenRG and OpenWRT mod.if (((vendid & 0x00ff) == 0x0001) && (devid == 0x227E))
{
unsigned int devsubid_m, devsubid_l;
vendid = 0x017E;
devsubid_m = 0x00ff & ejtag_read_h(FLASH_MEMORY_START+0x1C); // sub ID step 1
devsubid_l = 0x00ff & ejtag_read_h(FLASH_MEMORY_START+0x1E); // sub ID step 2
devid = (0x0100 * devsubid_m) + (0x0000 + devsubid_l);
}
Hi,
// { size16MB, "WHOLEFLASH", 0x1C000000, 0x1000000 },{ size16MB, "WHOLEFLASH", 0x1F000000, 0x1000000 },There was yet another entry here commented out. According to me the addresses defined here are irrelevant to the board at hand. One could maybe try the start address from the boot logs instead of the one defined in the WHOLEFLASH here.