Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script syntax errors on older Pi models #211

Closed
brookst opened this issue Sep 1, 2020 · 0 comments
Closed

Update script syntax errors on older Pi models #211

brookst opened this issue Sep 1, 2020 · 0 comments

Comments

@brookst
Copy link
Contributor

brookst commented Sep 1, 2020

Running the latest rpi-eeprom-update on older Raspberry Pis gives the error:

/usr/bin/rpi-eeprom-update: 273: /usr/bin/rpi-eeprom-update: arithmetic expression: expecting ')': "(0x00*
0f >> 23) & 1"

This is due to hexdump eliding zeros in its output. I have boards with a BOARD_INFO of 0x00000002 and 0x0000000f. These get an asterisk and newline inserted by hexdump as above. All that's needed is to pass the -v flag to emit all output. Line 271 of rpi-eeprom-update is where this error occurs but I haven't checked if there are any other uses like this.

@timg236 timg236 closed this as completed in 18d50d5 Sep 2, 2020
timg236 added a commit that referenced this issue Sep 2, 2020
Fix #211 - hexdump error on older Pi models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant