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

start.elf Regression: vchiq has no connection to VideoCore #207

Closed
KyleSanderson opened this issue Aug 27, 2013 · 8 comments
Closed

start.elf Regression: vchiq has no connection to VideoCore #207

KyleSanderson opened this issue Aug 27, 2013 · 8 comments

Comments

@KyleSanderson
Copy link

Issue 123 has regressed and unfortunately made me pull out my laptop to save my Pi. Using rpi-update seemed to brick my Pi, rolling start.elf back to commit 8e9fd63 seems to have fixed it. I haven't tried any other commits (Commit f53948f looks troublesome), besides manually copying firmware files to the SD card after rpi-update left me in an unusable state.

@popcornmix
Copy link
Contributor

It's very unlikely that the rpi-update firmware is broken (there would be far more reports if it were).
I think your image may have become broken.
I'd suggest you:

sudo rm /boot/.firmware_revision && sudo rpi-update

and if that fails, try installing a new raspbian image, and then try rpi-update, which I believe will work.

@KyleSanderson
Copy link
Author

Ah I see what happened. I changed the GPU memory size to 24M which seemed to halt the initialization process at the beginning of the loop. Older firmware seems to work with lower sizes (?) whereas newer firmwares seem to arbitrarily freeze.

@popcornmix
Copy link
Contributor

Can you confirm if this is still an issue for you?

@KyleSanderson
Copy link
Author

It is still an issue for me. I hit this again about a month ago, cursed rather loudly, pulled out my laptop to rollback to a stable version. Cold Booting is what seems to trigger it.

@popcornmix
Copy link
Contributor

Does it only happen with gpu_mem=24?
Note that any gpu_mem < 32 will use the cutdown kernel which doesn't support most vchiq services.
What exactly are you running to see this message? I don't believe vchiq is required for a normal boot.
Can you try with gpu_mem=32?

@cleverca22
Copy link

back when i was working on device-tree support, i found that the kernel refuses to boot without a working mailbox

the issue was in https://github.com/raspberrypi/linux/blob/rpi-3.10.y/arch/arm/mach-bcm2708/power.c

it would write to the mailbox, then call read, and dead-lock
the irq to release a lock never fired, so the read function just hung, it never even got to /sbin/init

the exact same kernel would boot fine if i set config.txt to use atags, but fail if it was set to device-tree mode

@popcornmix
Copy link
Contributor

Yes, mailbox is required (but that will be present cutdown kernel) to boot linux.
I believe vchiq isn't required.

@popcornmix
Copy link
Contributor

Closing due to lack of response.
If still an issue, please reopen with answer to previous question.

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

3 participants