-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
3.18.5: HiFiBerry Amp not working at all #788
Comments
Is this the only one of your boards that isn't working? If so, that would tend to point the finger at the codec. There are a few things you can try:
|
Thanks, I will look into this. I'm not sure if it is the only bard with this issue. |
If I get some time I can test some of the others (I don't have an "Amp"). |
Hi Phil, this is something we have to change ;-) Send a mail with your address to sales at hifiberry.com, I will make sure that you get an Amp+. |
Done - thank you! |
I don't have a /proc/device-tree. Is there anything I need to enable this? BTW: I think i've found the problem, just don't know how exactly to fix it. |
@pelwell : What compilation option do you use for the standard kernel? If I make the kernel using make bcmrpi_defconfig, I don't have a /proc/device-tree, but it is there when using the kernel that comes with rpi-update. |
You need to tag the kernel. This is from my build script log:
https://github.com/raspberrypi/tools/blob/master/mkimage/mkknlimg |
Thanks, Notro. Yes, that's right. The way the kernel boot process works, you have to choose between DT and ATAGs. Passing a DT blob to a kernel that doesn't expect it is an easy way to stop your Pi booting. To solve the problem of backwards compatibility, we needed a way of knowing if a kernel would understand the DTB, but that is hard when the kernel is compressed. By requiring a special trailer on the kernel to enable DT support, we moved the problem to the build process, which can spare a second or two to decompress and analyse the kernel image. Had you got that far, the vcdbg output would have said that the kernel lacked the required trailer. |
Ok, I see: "001182.934: No kernel trailer (run mkknlimg to fix) - assuming not DT-capable". I will have a closer look into this tomorrow. |
Looks like there was still some code missing in the Amp driver to fully work with device_tree_overlays. |
Are you happy to close this? |
Yes, latest kernel works. Thank you. |
configs: add `rust` config
The device_tree_overlay for the HiFiBerry Amp did not really work in 3.18.4. However using device_tree= it was possible to load the modules.
In the new 3.18.5 kernel, this isn't working at all.
The drivers are loaded, but won't be initialised. Any idea where to start debugging this?
The text was updated successfully, but these errors were encountered: