FreeCalypso > hg > tcs211-patches
comparison patches/bootloader-disable.patch @ 10:8604a725d883
bootloader-disable.patch implemented
| author | Space Falcon <falcon@ivan.Harhan.ORG> |
|---|---|
| date | Sat, 06 Jun 2015 07:52:36 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 9:73e647918297 | 10:8604a725d883 |
|---|---|
| 1 # TI's TCS211 firmware includes a component called "bootloader" which executes | |
| 2 # before the main fw and seems to provide a mechanism for interrupting and | |
| 3 # diverting the regular boot process by sending some magic into one of the | |
| 4 # UARTs, replicating the equivalent functionality provided by the Calypso boot | |
| 5 # ROM. However, we never got the source for this part, only a binary object | |
| 6 # library, so it is not immediately apparent exactly what this bootloader does, | |
| 7 # what the communication protocol is and so forth - and I (Space Falcon) don't | |
| 8 # feel like reverse-engineering this piece as the needed functionality is | |
| 9 # provided much more usefully (unbrickable!) by the boot ROM in the chip. | |
| 10 # | |
| 11 # If one does not wish to run code for which we have no source and which we | |
| 12 # therefore don't really understand, the present patch disables the TCS211 | |
| 13 # bootloader by smacking a "bx lr" Thumb instruction at the | |
| 14 # $sta_select_application entry point to the code for which we have no source. | |
| 15 | |
| 16 [start.obj] | |
| 17 | |
| 18 .text 16a 70 | |
| 19 .text 16b 47 |
