view patches/bootloader-disable.patch @ 18:94999935b791 default tip

main-rvtmodem.patch created
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 01 Nov 2015 06:40:12 +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