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

SD card detection broken in pieeprom-2024-01-15 #523

Closed
trejan opened this issue Jan 19, 2024 · 10 comments
Closed

SD card detection broken in pieeprom-2024-01-15 #523

trejan opened this issue Jan 19, 2024 · 10 comments

Comments

@trejan
Copy link
Contributor

trejan commented Jan 19, 2024

Describe the bug

Bootloader screen shows SD detected when no card is present. Blank space for the CID.

Tested with two separate Pi 5 boards. No hardware attached except for power, HDMI and an active cooler.

SD detection does work with previous pieeprom-2024-01-05.

Steps to reproduce the behaviour

Flash pieeprom-2024-01-05. Plug in power + HDMI only.

Device (s)

Raspberry Pi 5

Bootloader configuration.

[all]
BOOT_UART=1
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf461

System

2024/01/15 19:02:28
version f0aa07150e6f3ae21a88e5224cb9f57aba147348 (release)
timestamp 1705345348
update-time 1705672184
capabilities 0x0000007f
2024/01/15 19:02:28 
Copyright (c) 2012 Broadcom
version f0aa0715 (release) (embedded)

Bootloader logs

No response

USB boot

No response

NVMe boot

No response

Network (TFTP boot)

No response

@timg236
Copy link
Collaborator

timg236 commented Jan 19, 2024

Should the title say 2024/01/15 since you say "SD detection does work with previous pieeprom-2024-01-05."

Also, to confirm you saying that the "card detect is broken" rather than doesn't boot. I can see how card-detect could have changed / been broken but boot seems to work for me.

@trejan trejan changed the title SD card detection broken in pieeprom-2024-01-05 SD card detection broken in pieeprom-2024-01-15 Jan 19, 2024
@trejan
Copy link
Contributor Author

trejan commented Jan 19, 2024

Should the title say 2024/01/15 since you say "SD detection does work with previous pieeprom-2024-01-05."

Oops. Cut and paste fail.

Also, to confirm you saying that the "card detect is broken" rather than doesn't boot. I can see how card-detect could have changed / been broken but boot seems to work for me.

Yes. It is just the bootloader screen showing that the card is detected when its not present. Everything works fine with a card inserted.

@timg236
Copy link
Collaborator

timg236 commented Jan 19, 2024

Thanks, sounds like fallout from changes support the 2712D0 GPIO register churn.

@timg236
Copy link
Collaborator

timg236 commented Jan 19, 2024

The changes required were a bit more invasive than expected, I've posted a pre-release. Will need review before pushing to rpi-update.

rpi-eeprom-recovery.zip

@trejan
Copy link
Contributor Author

trejan commented Jan 19, 2024

The changes required were a bit more invasive than expected, I've posted a pre-release.

Thanks. The SD detection in the bootloader is fixed now.

Will need review before pushing to rpi-update.

I'll have to revert to 2024-01-15 later as net install doesn't work in this debug build. Using HTTP_HOST to point it at my local server doesn't help as it still fails the signature check.

Booting from NVMe and USB is okay.

@timg236
Copy link
Collaborator

timg236 commented Jan 22, 2024

The changes required were a bit more invasive than expected, I've posted a pre-release.

Thanks. The SD detection in the bootloader is fixed now.

Will need review before pushing to rpi-update.

I'll have to revert to 2024-01-15 later as net install doesn't work in this debug build. Using HTTP_HOST to point it at my local server doesn't help as it still fails the signature check.

Booting from NVMe and USB is okay.

Thanks. I think net-install was broken in the local build. Will push out a proper fix soon.

timg236 added a commit to timg236/rpi-eeprom that referenced this issue Jan 22, 2024
…atest)

* Fix issue boot.img end sector check - STABLE
  See:  raspberrypi#521
* Fix handling of files that use the last cluster in the partition
  See: raspberrypi#521
* Fix SD card detection
  See: raspberrypi#523
@timg236
Copy link
Collaborator

timg236 commented Jan 22, 2024

Fix should now be available in rpi-update

@trejan
Copy link
Contributor Author

trejan commented Jan 22, 2024

Yep. SD card detection and net install are both working with this new version. Thanks.

@trejan trejan closed this as completed Jan 22, 2024
@raspberrypi raspberrypi deleted a comment from microfx Feb 2, 2024
@timg236
Copy link
Collaborator

timg236 commented Feb 2, 2024

Deleted off topic comments and locking since OP verified as fixed.

@raspberrypi raspberrypi locked as resolved and limited conversation to collaborators Feb 2, 2024
@pelwell
Copy link
Collaborator

pelwell commented Feb 2, 2024

(Hint: rpi-update is not the same as rpi-eeprom-update)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants