view patches/bootloader-disable.patch @ 17:1fffae285c85

main-pirelli.patch created
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 08 Sep 2015 01:56:42 +0000
parents 8604a725d883
children
line wrap: on
line source

# TI's TCS211 firmware includes a component called "bootloader" which executes
# before the main fw and seems to provide a mechanism for interrupting and
# diverting the regular boot process by sending some magic into one of the
# UARTs, replicating the equivalent functionality provided by the Calypso boot
# ROM.  However, we never got the source for this part, only a binary object
# library, so it is not immediately apparent exactly what this bootloader does,
# what the communication protocol is and so forth - and I (Space Falcon) don't
# feel like reverse-engineering this piece as the needed functionality is
# provided much more usefully (unbrickable!) by the boot ROM in the chip.
#
# If one does not wish to run code for which we have no source and which we
# therefore don't really understand, the present patch disables the TCS211
# bootloader by smacking a "bx lr" Thumb instruction at the
# $sta_select_application entry point to the code for which we have no source.

[start.obj]

.text 16a 70
.text 16b 47