User Tools

Site Tools


redboot_recovery

===== Introduction ===== A lot of people have made the switch from Redboot to Fastboot on the TS-7260. I did that too. Kernel 2.4 seemed to work pretty well but I needed to run my own 2.6 kernel. After a lot of time trying to make the USB ports work with no success, I decided to go back to Redboot. Searching the Yahoo groups I found [[http://tech.groups.yahoo.com/group/ts-7000/message/5312|this]] post. The credit goes to Tom Hansen who did it, I just wanted to extend some steps and share some problems I had during the process. ==== Getting the files ==== Download the eeprom file for the 7250 (ts7260-default did not work for me): <code> cd mkdir ts7260_recovery cd ts7260_recovery wget ftp://ftp.embeddedarm.com/images/preboot/ts7250-default </code> Download the bootrom image: <code> wget ftp://ftp.embeddedarm.com/images/tsbootrom/ts7260-32-default </code> Download the redboot image: <code> wget ftp://ftp.embeddedarm.com/images/redboot/ts7260-32-kernel </code> ==== Download Serial Blaster and compile it ==== Download it from [[http://ynezz.ibawizard.net/ts72xx/serial_blaster_1.0.tar.bz2|here]]: <code> wget http://ynezz.ibawizard.net/ts72xx/serial_blaster_1.0.tar.bz2 </code> Make some changes to serial_blaster.c: <code> tar xvjf serial_blaster_1.0.tar.bz2 cd serial_blaster_1.0 gedit serial_blaster.c </code> Replace line 174 <code> WriteByte(fd, ch, TRUE); </code> with: <code> WriteByte(fd, ch, ((x%1024) == 0) ); </code> Make some changes to boot.S: <code> gedit boot.S </code> Uncomment the #define declarations to match your board (mine has 64MB of RAM and 32MB of flash): <code> @#define SDRAM_SIZE 32 #define SDRAM_SIZE 64 #define FLASH_SIZE 32 @#define FLASH_SIZE 128 </code> Close, save, compile and run it: <code> make sudo ./serial_blaster </code> ==== Copy the files to the TS-7260 ==== Boot the TS-7260 with JP1, JP2 and JP3 installed. Once the system has gotten into redboot over the serial link ignore the 'checksum' message and start minicom. Load the eeprom image to the RAM on the TS-7260 with (TS-7260): <code> RedBoot>load -v -r -b 0x00200000 -m xmodem </code> Copy the 2k eeprom image file with xmodem (PC): <code> sx ts7260-default </code> Write the eeprom image to the eeprom (TS-7260): <code> RedBoot>eeprom_write -b 0x00200000 -o 0 -l 2048 </code> Load the bootrom image to the TS7260 with: <code> RedBoot>load -v -r -b 0x00200000 -m xmodem </code> Copy the bootrom image file with xmodem (PC): <code> sx ts7260-32-default </code> Write the bootrom image to the FLASH memory on the TS7260: <code> RedBoot>fis write -f 0x60000000 -b 0x00200000 -l 0x4000 </code> Load the redboot image to the TS7260 with: <code> RedBoot>load -v -r -b 0x00200000 -m xmodem </code> Copy the redboot image file with xmodem (PC): <code> sx ts7260-32-kernel </code> Write the redboot image to the FLASH memory on the TS7260: <code> RedBoot>fis write -f 0x61D04000 -b 0x00200000 -l 0x40000 </code> Turn off, remove JP1 and boot.

redboot_recovery.txt · Last modified: 2017/01/03 21:27 by admin