annotate patches/bootloader-disable.patch @ 13:2a89e2821f40

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