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

BOOT_UART default 1 breaks hats using gpio 14 and 15 #643

Closed
digitalLumberjack opened this issue Dec 14, 2024 · 8 comments
Closed

BOOT_UART default 1 breaks hats using gpio 14 and 15 #643

digitalLumberjack opened this issue Dec 14, 2024 · 8 comments

Comments

@digitalLumberjack
Copy link

digitalLumberjack commented Dec 14, 2024

Describe the bug

Hello :)

With the commit d57c084

The bootloader enable by default BOOT_UART=1 and break support for hats using gpio 14 and 15

Steps to reproduce the behaviour

Update bootloader, reboot with a hat using gpio 14 and 15, see the error.

When setting BOOT_UART=0, it works again

EDIT seems like it does not work again with BOOT_UART=0

Device (s)

Raspberry Pi 5

Bootloader configuration.

[all]
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf41

System

[    6.226339] pinctrl-rp1 1f000d0000.gpio: pin gpio14 already requested by 1f00030000.serial; cannot claim for 1f00148000.dpi

Bootloader logs

No response

USB boot

No response

NVMe boot

No response

Network (TFTP boot)

No response

@pelwell
Copy link
Collaborator

pelwell commented Dec 14, 2024

We are aware, and a fix is in progress. In the meantime, enable_uart=0 in config.txt should work around the problem.

@lurch
Copy link
Contributor

lurch commented Dec 14, 2024

With the commit d57c084

The bootloader enable by default BOOT_UART=1 and break support for hats using gpio 14 and 15

FYI I suspect it was actually fe7bfc7 that changed the behaviour here. (This is just for information; I'm sure that Phil's fix will cure this issue)

@digitalLumberjack
Copy link
Author

Thank you, sorry if the feedback was a little bit to early.

@lurch
Copy link
Contributor

lurch commented Dec 14, 2024

No need to apologise, there's no way for you to know that we were already aware of the issue! Thank you for your report.
We spotted this issue ourselves only a couple of days ago 🙂

timg236 added a commit to timg236/rpi-eeprom that referenced this issue Dec 15, 2024
* Add net install to boot menu
  Press N (or shift).
* enable_uart: Require enable_uart=1 to enable RP1 UART console
  See: raspberrypi#643
timg236 added a commit that referenced this issue Dec 16, 2024
* Add net install to boot menu
  Press N (or shift).
* enable_uart: Require enable_uart=1 to enable RP1 UART console
  See: #643
@nbuchwitz
Copy link
Contributor

This also affects CM5 (luckily only the RS485 RTS gpio in our new product...). I've tested the firmware in #644 and can confirm that this will fix the issue. Thanks for the prompt reaction @pelwell / @timg236.

Any idea when this will be available as package release?

@timg236
Copy link
Collaborator

timg236 commented Dec 18, 2024

I think the apt update will be wk2 now

@timg236
Copy link
Collaborator

timg236 commented Dec 18, 2024

@nbuchwitz We managed to get the update out today - last one of the year I hope :)

@nbuchwitz
Copy link
Contributor

Thanks. I guess this can be closed then?

@timg236 timg236 closed this as completed Dec 19, 2024
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

5 participants