diff options
author | WestfW <westfw@gmail.com> | 2011-06-10 17:47:47 -0700 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-10-10 12:11:15 -0400 |
commit | b4952051f6eb9a47c9bd08918a093cd070637704 (patch) | |
tree | 645db8512dc70c6b7e93b59693bf6fc9786acb96 /bootloaders/optiboot/optiboot_luminet.hex | |
parent | 64cbe56ab5028dfc6d61767f40f060471ab468df (diff) |
Add a version number to the optiboot source and binary.
http://code.google.com/p/arduino/issues/detail?id=554
end of flash memory where they can be read (at least in theory) by
device programmers, hex-file examination, or application programs.
This is done by putting the version number in a separate section
(".version"), and using linker/objcopy magic to locate that section as
appropriate for the target chip. (See
http://lists.gnu.org/archive/html/avr-gcc-list/2011-02/msg00016.html
for some discussion on the details.)
Start the version at 4.1 (the last "packaged" version of optiboot was
called version 3, so the "top of source" would be 4.0, and adding the
version number makes 4.1)
Refactor LDSECTION in the Makefile to LDSECTIONS so that multiple
section start addresses can be defined.
Change the _isp makefile definitions to make the bootloader section
readable (but not writable) by the application section. (This would
need to be done elsewhere as well to handle all bootloader programming
techniques. Notably Arduino's boards.txt
Note that this change does not change the "code" portion of optiboot
at all. The only diffs in the .hex files are the added version word
at the end of flash memory.
(cherry picked from commit 00706284dec3171646419839bd4a9e3f1c2d7088)
Diffstat (limited to 'bootloaders/optiboot/optiboot_luminet.hex')
-rw-r--r-- | bootloaders/optiboot/optiboot_luminet.hex | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/bootloaders/optiboot/optiboot_luminet.hex b/bootloaders/optiboot/optiboot_luminet.hex index 3ad3c0a..0f901f4 100644 --- a/bootloaders/optiboot/optiboot_luminet.hex +++ b/bootloaders/optiboot/optiboot_luminet.hex @@ -1,42 +1,42 @@ -:101D0000112484B714BE81FF22D185E08EBD8EE000
-:101D10001AD1D49AD29A86E023EC3FEF91E03DBDF0
-:101D20002CBD9BB9589BFECFCC9AA8958150B9F792
-:101D3000DD24D39485E0C82E0FE7F02E1EECE12EB3
-:101D4000E9D0813421F481E00DD183E020C08234D8
-:101D500011F484E103C0853419F485E003D1C8C0CF
-:101D6000853581F4D7D0082F10E0D4D090E0982F9B
-:101D70008827802B912B880F991F90938101809346
-:101D80008001B5C0863529F484E0ECD080E0B3D082
-:101D9000AFC0843609F06BC0D1D0C0E0D1E0BAD07A
-:101DA0008993809182018150809382018823B9F7C1
-:101DB000E0918001F091810183E087BFE895CCD06C
-:101DC00007B600FCFDCF8091800190918101892BA5
-:101DD00041F5809100012091010130E0322F22274E
-:101DE00090E0282B392B309385012093840140917A
-:101DF00008018091090190E0982F882750E0842BFA
-:101E0000952B909387018093860124503040209336
-:101E10000801232F332720930901F0920001E0925B
-:101E200001014091800150918101A0E0B1E02C912D
-:101E300030E011968C91119790E0982F8827822B93
-:101E4000932B1296FA010C01D7BEE89511244E5F30
-:101E50005F4FF1E0A034BF0751F7E0918001F091AE
-:101E60008101C7BEE89507B600FCFDCF41C08437AD
-:101E700089F564D071D0E0918001F09181013097B3
-:101E800019F42091840113C0E130F10519F4209177
-:101E900085010DC0E830F10519F42091860107C0D5
-:101EA000E930F10519F42091870101C02491809156
-:101EB000800190918101019690938101809380012E
-:101EC000822F19D0809182018150809382018823D2
-:101ED00091F60EC0853739F43FD08EE10CD083E9FE
-:101EE0000AD08CE054CF813511F488E02CD034D066
-:101EF00080E101D025CF2AE030E08095089410F4ED
-:101F0000DA9802C0DA9A000015D014D086952A9586
-:101F1000B1F70895A89529E030E0CB99FECF0AD01B
-:101F200009D008D08894CB9908942A9511F0879508
-:101F3000F7CF08959EE09A95F1F70895EBDFEADF79
-:101F400080938201E7CF98E191BD81BD089580E043
-:101F5000FADFE4E0FF270994DDDF803209F0F7DFE4
-:101F600084E1C9CF1F93182FD5DF1150E9F7F4DFB3
-:041F70001F91089520
-:0400000300001D00DC
+:10000000112484B714BE81FF22D185E08EBD8EE01D
+:100010001AD1D49AD29A86E023EC3FEF91E03DBD0D
+:100020002CBD9BB9589BFECFCC9AA8958150B9F7AF
+:10003000DD24D39485E0C82E0FE7F02E1EECE12ED0
+:10004000E9D0813421F481E00DD183E020C08234F5
+:1000500011F484E103C0853419F485E003D1C8C0EC
+:10006000853581F4D7D0082F10E0D4D090E0982FB8
+:100070008827802B912B880F991F90938101809363
+:100080008001B5C0863529F484E0ECD080E0B3D09F
+:10009000AFC0843609F06BC0D1D0C0E0D1E0BAD097
+:1000A0008993809182018150809382018823B9F7DE
+:1000B000E0918001F091810183E087BFE895CCD089
+:1000C00007B600FCFDCF8091800190918101892BC2
+:1000D00041F5809100012091010130E0322F22276B
+:1000E00090E0282B392B3093850120938401409197
+:1000F00008018091090190E0982F882750E0842B17
+:10010000952B909387018093860124503040209353
+:100110000801232F332720930901F0920001E09278
+:1001200001014091800150918101A0E0B1E02C914A
+:1001300030E011968C91119790E0982F8827822BB0
+:10014000932B1296FA010C01D7BEE89511244E5F4D
+:100150005F4FF1E0A034BF0751F7E0918001F091CB
+:100160008101C7BEE89507B600FCFDCF41C08437CA
+:1001700089F564D071D0E0918001F09181013097D0
+:1001800019F42091840113C0E130F10519F4209194
+:1001900085010DC0E830F10519F42091860107C0F2
+:1001A000E930F10519F42091870101C02491809173
+:1001B000800190918101019690938101809380014B
+:1001C000822F19D0809182018150809382018823EF
+:1001D00091F60EC0853739F43FD08EE10CD083E91B
+:1001E0000AD08CE054CF813511F488E02CD034D083
+:1001F00080E101D025CF2AE030E08095089410F40A
+:10020000DA9802C0DA9A000015D014D086952A95A3
+:10021000B1F70895A89529E030E0CB99FECF0AD038
+:1002200009D008D08894CB9908942A9511F0879525
+:10023000F7CF08959EE09A95F1F70895EBDFEADF96
+:1002400080938201E7CF98E191BD81BD089580E060
+:10025000FADFE4E0FF270994DDDF803209F0F7DF01
+:1002600084E1C9CF1F93182FD5DF1150E9F7F4DFD0
+:040270001F9108953D
+:021EFE000104DD
:00000001FF
|