Skip to content

Commit

Permalink
Workaround for newer firmware sending opt 97 GUID big-endian
Browse files Browse the repository at this point in the history
Closes #16
  • Loading branch information
maxnet committed Mar 28, 2023
1 parent 1428253 commit 4a719e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
cmprovision4 (1.6.3) unstable; urgency=medium

* Workaround for boot firmware sending GUID magic in big-endian
instead of little-endian.
* Word-wrap image file name on any character.

-- Floris Bos <[email protected]> Tue, 28 Mar 2023 22:45:29 +0200

cmprovision4 (1.6.2) unstable; urgency=medium

* REMOVES OUI (MAC ADDRESS) FILTER. Will now provision any device
Expand Down
1 change: 1 addition & 0 deletions etc/dnsmasq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tftp-root=/var/lib/cmprovision/scriptexecute

# dhcp
dhcp-match=set:client_is_a_pi,97,0:52:50:69:34
dhcp-match=set:client_is_a_pi,97,0:34:69:50:52

log-dhcp
dhcp-range=172.20.0.2,172.20.255.255,255.255.0.0
Expand Down

1 comment on commit 4a719e0

@timg236
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bootloader bug, the macro for generating the magic number changed due to other changes. Due to the large number of units in the field and the latency of getting the EEPROM updated I think we have to just document the number of prefixes e.g big/little endian RPi4.

Please sign in to comment.