File: efuse-and-lock-values.patch

package info (click to toggle)
arduino 2%3A1.0.5%2Bdfsg2-4.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 40,336 kB
  • sloc: java: 57,238; cpp: 23,031; ansic: 13,695; makefile: 2,315; xml: 502; perl: 201; sh: 156; python: 62
file content (377 lines) | stat: -rw-r--r-- 11,968 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
Description: avrdude fuse read mask change
Author: Milan Kupcevic <milan@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824815
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/hardware/arduino/boards.txt
+++ b/hardware/arduino/boards.txt
@@ -8,11 +8,11 @@
 uno.upload.speed=115200
 uno.bootloader.low_fuses=0xff
 uno.bootloader.high_fuses=0xde
-uno.bootloader.extended_fuses=0x05
+uno.bootloader.extended_fuses=0xfd
 uno.bootloader.path=optiboot
 uno.bootloader.file=optiboot_atmega328.hex
-uno.bootloader.unlock_bits=0x3F
-uno.bootloader.lock_bits=0x0F
+uno.bootloader.unlock_bits=0xff
+uno.bootloader.lock_bits=0xcf
 uno.build.mcu=atmega328p
 uno.build.f_cpu=16000000L
 uno.build.core=arduino
@@ -28,11 +28,11 @@
 
 atmega328.bootloader.low_fuses=0xFF
 atmega328.bootloader.high_fuses=0xDA
-atmega328.bootloader.extended_fuses=0x05
+atmega328.bootloader.extended_fuses=0xfd
 atmega328.bootloader.path=atmega
 atmega328.bootloader.file=ATmegaBOOT_168_atmega328.hex
-atmega328.bootloader.unlock_bits=0x3F
-atmega328.bootloader.lock_bits=0x0F
+atmega328.bootloader.unlock_bits=0xff
+atmega328.bootloader.lock_bits=0xcf
 
 atmega328.build.mcu=atmega328p
 atmega328.build.f_cpu=16000000L
@@ -49,11 +49,11 @@
 
 diecimila.bootloader.low_fuses=0xff
 diecimila.bootloader.high_fuses=0xdd
-diecimila.bootloader.extended_fuses=0x00
+diecimila.bootloader.extended_fuses=0xf8
 diecimila.bootloader.path=atmega
 diecimila.bootloader.file=ATmegaBOOT_168_diecimila.hex
-diecimila.bootloader.unlock_bits=0x3F
-diecimila.bootloader.lock_bits=0x0F
+diecimila.bootloader.unlock_bits=0xff
+diecimila.bootloader.lock_bits=0xcf
 
 diecimila.build.mcu=atmega168
 diecimila.build.f_cpu=16000000L
@@ -70,11 +70,11 @@
 
 nano328.bootloader.low_fuses=0xFF
 nano328.bootloader.high_fuses=0xDA
-nano328.bootloader.extended_fuses=0x05
+nano328.bootloader.extended_fuses=0xfd
 nano328.bootloader.path=atmega
 nano328.bootloader.file=ATmegaBOOT_168_atmega328.hex
-nano328.bootloader.unlock_bits=0x3F
-nano328.bootloader.lock_bits=0x0F
+nano328.bootloader.unlock_bits=0xff
+nano328.bootloader.lock_bits=0xcf
 
 nano328.build.mcu=atmega328p
 nano328.build.f_cpu=16000000L
@@ -91,11 +91,11 @@
 
 nano.bootloader.low_fuses=0xff
 nano.bootloader.high_fuses=0xdd
-nano.bootloader.extended_fuses=0x00
+nano.bootloader.extended_fuses=0xf8
 nano.bootloader.path=atmega
 nano.bootloader.file=ATmegaBOOT_168_diecimila.hex
-nano.bootloader.unlock_bits=0x3F
-nano.bootloader.lock_bits=0x0F
+nano.bootloader.unlock_bits=0xff
+nano.bootloader.lock_bits=0xcf
 
 nano.build.mcu=atmega168
 nano.build.f_cpu=16000000L
@@ -115,8 +115,8 @@
 mega2560.bootloader.extended_fuses=0xFD
 mega2560.bootloader.path=stk500v2
 mega2560.bootloader.file=stk500boot_v2_mega2560.hex
-mega2560.bootloader.unlock_bits=0x3F
-mega2560.bootloader.lock_bits=0x0F
+mega2560.bootloader.unlock_bits=0xff
+mega2560.bootloader.lock_bits=0xcf
 
 mega2560.build.mcu=atmega2560
 mega2560.build.f_cpu=16000000L
@@ -136,8 +136,8 @@
 mega.bootloader.extended_fuses=0xF5
 mega.bootloader.path=atmega
 mega.bootloader.file=ATmegaBOOT_168_atmega1280.hex
-mega.bootloader.unlock_bits=0x3F
-mega.bootloader.lock_bits=0x0F
+mega.bootloader.unlock_bits=0xff
+mega.bootloader.lock_bits=0xcf
 
 mega.build.mcu=atmega1280
 mega.build.f_cpu=16000000L
@@ -156,8 +156,8 @@
 leonardo.bootloader.extended_fuses=0xcb
 leonardo.bootloader.path=caterina
 leonardo.bootloader.file=Caterina-Leonardo.hex
-leonardo.bootloader.unlock_bits=0x3F
-leonardo.bootloader.lock_bits=0x2F
+leonardo.bootloader.unlock_bits=0xff
+leonardo.bootloader.lock_bits=0xef
 leonardo.build.mcu=atmega32u4
 leonardo.build.f_cpu=16000000L
 leonardo.build.vid=0x2341
@@ -177,8 +177,8 @@
 esplora.bootloader.extended_fuses=0xcb
 esplora.bootloader.path=caterina
 esplora.bootloader.file=Caterina-Esplora.hex
-esplora.bootloader.unlock_bits=0x3F
-esplora.bootloader.lock_bits=0x2F
+esplora.bootloader.unlock_bits=0xff
+esplora.bootloader.lock_bits=0xef
 esplora.build.mcu=atmega32u4
 esplora.build.f_cpu=16000000L
 esplora.build.vid=0x2341
@@ -198,8 +198,8 @@
 micro.bootloader.extended_fuses=0xcb
 micro.bootloader.path=caterina
 micro.bootloader.file=Caterina-Micro.hex
-micro.bootloader.unlock_bits=0x3F
-micro.bootloader.lock_bits=0x2F
+micro.bootloader.unlock_bits=0xff
+micro.bootloader.lock_bits=0xef
 micro.build.mcu=atmega32u4
 micro.build.f_cpu=16000000L
 micro.build.vid=0x2341
@@ -217,11 +217,11 @@
 
 mini328.bootloader.low_fuses=0xff
 mini328.bootloader.high_fuses=0xd8
-mini328.bootloader.extended_fuses=0x05
+mini328.bootloader.extended_fuses=0xfd
 mini328.bootloader.path=optiboot
 mini328.bootloader.file=optiboot_atmega328-Mini.hex
-mini328.bootloader.unlock_bits=0x3F
-mini328.bootloader.lock_bits=0x0F
+mini328.bootloader.unlock_bits=0xff
+mini328.bootloader.lock_bits=0xcf
 
 mini328.build.mcu=atmega328p
 mini328.build.f_cpu=16000000L
@@ -238,11 +238,11 @@
 
 mini.bootloader.low_fuses=0xff
 mini.bootloader.high_fuses=0xdd
-mini.bootloader.extended_fuses=0x00
+mini.bootloader.extended_fuses=0xf8
 mini.bootloader.path=atmega
 mini.bootloader.file=ATmegaBOOT_168_ng.hex
-mini.bootloader.unlock_bits=0x3F
-mini.bootloader.lock_bits=0x0F
+mini.bootloader.unlock_bits=0xff
+mini.bootloader.lock_bits=0xcf
 
 mini.build.mcu=atmega168
 mini.build.f_cpu=16000000L
@@ -259,11 +259,11 @@
 
 ethernet.bootloader.low_fuses=0xff
 ethernet.bootloader.high_fuses=0xde
-ethernet.bootloader.extended_fuses=0x05
+ethernet.bootloader.extended_fuses=0xfd
 ethernet.bootloader.path=optiboot
 ethernet.bootloader.file=optiboot_atmega328.hex
-ethernet.bootloader.unlock_bits=0x3F
-ethernet.bootloader.lock_bits=0x0F
+ethernet.bootloader.unlock_bits=0xff
+ethernet.bootloader.lock_bits=0xcf
 
 ethernet.build.variant=standard
 ethernet.build.mcu=atmega328p
@@ -280,11 +280,11 @@
 
 fio.bootloader.low_fuses=0xFF
 fio.bootloader.high_fuses=0xDA
-fio.bootloader.extended_fuses=0x05
+fio.bootloader.extended_fuses=0xfd
 fio.bootloader.path=arduino:atmega
 fio.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
-fio.bootloader.unlock_bits=0x3F
-fio.bootloader.lock_bits=0x0F
+fio.bootloader.unlock_bits=0xff
+fio.bootloader.lock_bits=0xcf
 
 fio.build.mcu=atmega328p
 fio.build.f_cpu=8000000L
@@ -302,11 +302,11 @@
 
 bt328.bootloader.low_fuses=0xff
 bt328.bootloader.high_fuses=0xd8
-bt328.bootloader.extended_fuses=0x05
+bt328.bootloader.extended_fuses=0xfd
 bt328.bootloader.path=bt
 bt328.bootloader.file=ATmegaBOOT_168_atmega328_bt.hex
-bt328.bootloader.unlock_bits=0x3F
-bt328.bootloader.lock_bits=0x0F
+bt328.bootloader.unlock_bits=0xff
+bt328.bootloader.lock_bits=0xcf
 
 bt328.build.mcu=atmega328p
 bt328.build.f_cpu=16000000L
@@ -324,11 +324,11 @@
 
 bt.bootloader.low_fuses=0xff
 bt.bootloader.high_fuses=0xdd
-bt.bootloader.extended_fuses=0x00
+bt.bootloader.extended_fuses=0xf8
 bt.bootloader.path=bt
 bt.bootloader.file=ATmegaBOOT_168.hex
-bt.bootloader.unlock_bits=0x3F
-bt.bootloader.lock_bits=0x0F
+bt.bootloader.unlock_bits=0xff
+bt.bootloader.lock_bits=0xcf
 
 bt.build.mcu=atmega168
 bt.build.f_cpu=16000000L
@@ -347,8 +347,8 @@
 LilyPadUSB.bootloader.extended_fuses=0xce
 LilyPadUSB.bootloader.path=caterina-LilyPadUSB
 LilyPadUSB.bootloader.file=Caterina-LilyPadUSB.hex
-LilyPadUSB.bootloader.unlock_bits=0x3F
-LilyPadUSB.bootloader.lock_bits=0x2F
+LilyPadUSB.bootloader.unlock_bits=0xff
+LilyPadUSB.bootloader.lock_bits=0xef
 LilyPadUSB.build.mcu=atmega32u4
 LilyPadUSB.build.f_cpu=8000000L
 LilyPadUSB.build.vid=0x1B4F
@@ -366,11 +366,11 @@
 
 lilypad328.bootloader.low_fuses=0xFF
 lilypad328.bootloader.high_fuses=0xDA
-lilypad328.bootloader.extended_fuses=0x05
+lilypad328.bootloader.extended_fuses=0xfd
 lilypad328.bootloader.path=atmega
 lilypad328.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
-lilypad328.bootloader.unlock_bits=0x3F
-lilypad328.bootloader.lock_bits=0x0F
+lilypad328.bootloader.unlock_bits=0xff
+lilypad328.bootloader.lock_bits=0xcf
 
 lilypad328.build.mcu=atmega328p
 lilypad328.build.f_cpu=8000000L
@@ -387,11 +387,11 @@
 
 lilypad.bootloader.low_fuses=0xe2
 lilypad.bootloader.high_fuses=0xdd
-lilypad.bootloader.extended_fuses=0x00
+lilypad.bootloader.extended_fuses=0xf8
 lilypad.bootloader.path=lilypad
 lilypad.bootloader.file=LilyPadBOOT_168.hex
-lilypad.bootloader.unlock_bits=0x3F
-lilypad.bootloader.lock_bits=0x0F
+lilypad.bootloader.unlock_bits=0xff
+lilypad.bootloader.lock_bits=0xcf
 
 lilypad.build.mcu=atmega168
 lilypad.build.f_cpu=8000000L
@@ -408,11 +408,11 @@
 
 pro5v328.bootloader.low_fuses=0xFF
 pro5v328.bootloader.high_fuses=0xDA
-pro5v328.bootloader.extended_fuses=0x05
+pro5v328.bootloader.extended_fuses=0xfd
 pro5v328.bootloader.path=atmega
 pro5v328.bootloader.file=ATmegaBOOT_168_atmega328.hex
-pro5v328.bootloader.unlock_bits=0x3F
-pro5v328.bootloader.lock_bits=0x0F
+pro5v328.bootloader.unlock_bits=0xff
+pro5v328.bootloader.lock_bits=0xcf
 
 pro5v328.build.mcu=atmega328p
 pro5v328.build.f_cpu=16000000L
@@ -429,11 +429,11 @@
 
 pro5v.bootloader.low_fuses=0xff
 pro5v.bootloader.high_fuses=0xdd
-pro5v.bootloader.extended_fuses=0x00
+pro5v.bootloader.extended_fuses=0xf8
 pro5v.bootloader.path=atmega
 pro5v.bootloader.file=ATmegaBOOT_168_diecimila.hex
-pro5v.bootloader.unlock_bits=0x3F
-pro5v.bootloader.lock_bits=0x0F
+pro5v.bootloader.unlock_bits=0xff
+pro5v.bootloader.lock_bits=0xcf
 
 pro5v.build.mcu=atmega168
 pro5v.build.f_cpu=16000000L
@@ -450,11 +450,11 @@
 
 pro328.bootloader.low_fuses=0xFF
 pro328.bootloader.high_fuses=0xDA
-pro328.bootloader.extended_fuses=0x05
+pro328.bootloader.extended_fuses=0xfd
 pro328.bootloader.path=atmega
 pro328.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
-pro328.bootloader.unlock_bits=0x3F
-pro328.bootloader.lock_bits=0x0F
+pro328.bootloader.unlock_bits=0xff
+pro328.bootloader.lock_bits=0xcf
 
 pro328.build.mcu=atmega328p
 pro328.build.f_cpu=8000000L
@@ -471,11 +471,11 @@
 
 pro.bootloader.low_fuses=0xc6
 pro.bootloader.high_fuses=0xdd
-pro.bootloader.extended_fuses=0x00
+pro.bootloader.extended_fuses=0xf8
 pro.bootloader.path=atmega
 pro.bootloader.file=ATmegaBOOT_168_pro_8MHz.hex
-pro.bootloader.unlock_bits=0x3F
-pro.bootloader.lock_bits=0x0F
+pro.bootloader.unlock_bits=0xff
+pro.bootloader.lock_bits=0xcf
 
 pro.build.mcu=atmega168
 pro.build.f_cpu=8000000L
@@ -492,11 +492,11 @@
 
 atmega168.bootloader.low_fuses=0xff
 atmega168.bootloader.high_fuses=0xdd
-atmega168.bootloader.extended_fuses=0x00
+atmega168.bootloader.extended_fuses=0xf8
 atmega168.bootloader.path=atmega
 atmega168.bootloader.file=ATmegaBOOT_168_ng.hex
-atmega168.bootloader.unlock_bits=0x3F
-atmega168.bootloader.lock_bits=0x0F
+atmega168.bootloader.unlock_bits=0xff
+atmega168.bootloader.lock_bits=0xcf
 
 atmega168.build.mcu=atmega168
 atmega168.build.f_cpu=16000000L
@@ -515,8 +515,8 @@
 atmega8.bootloader.high_fuses=0xca
 atmega8.bootloader.path=atmega8
 atmega8.bootloader.file=ATmegaBOOT-prod-firmware-2009-11-07.hex
-atmega8.bootloader.unlock_bits=0x3F
-atmega8.bootloader.lock_bits=0x0F
+atmega8.bootloader.unlock_bits=0xff
+atmega8.bootloader.lock_bits=0xcf
 
 atmega8.build.mcu=atmega8
 atmega8.build.f_cpu=16000000L
@@ -535,8 +535,8 @@
 robotControl.bootloader.extended_fuses=0xcb
 robotControl.bootloader.path=caterina-Arduino_Robot
 robotControl.bootloader.file=Caterina-Robot-Control.hex
-robotControl.bootloader.unlock_bits=0x3F
-robotControl.bootloader.lock_bits=0x2F
+robotControl.bootloader.unlock_bits=0xff
+robotControl.bootloader.lock_bits=0xef
 robotControl.build.mcu=atmega32u4
 robotControl.build.f_cpu=16000000L
 robotControl.build.vid=0x2341
@@ -556,8 +556,8 @@
 robotMotor.bootloader.extended_fuses=0xcb
 robotMotor.bootloader.path=caterina-Arduino_Robot
 robotMotor.bootloader.file=Caterina-Robot-Motor.hex
-robotMotor.bootloader.unlock_bits=0x3F
-robotMotor.bootloader.lock_bits=0x2F
+robotMotor.bootloader.unlock_bits=0xff
+robotMotor.bootloader.lock_bits=0xef
 robotMotor.build.mcu=atmega32u4
 robotMotor.build.f_cpu=16000000L
 robotMotor.build.vid=0x2341