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
Missing snd-bcm2835.ko audio kernel module for 64 bit aarch64 #2430
Comments
We don't support a 64 bit kernel, most of the work done on it has been done by third parties. There are a number of reasons, but a big one is that the interface with the VC4 breaks in a number of places because the VC4 is 32 bit. Issues you are seeing are probably related to that, especially anything to do with VCHI. |
Hi James, |
Hi, pi@raspberrypi:~ $ uname -a Current CPU frequency (at idle state): CPU temperature: |
Hi,` Please see attached patch. Now this diff can help you to get the 4.9 kernel running with sound support. |
This isn't a good sign. Post the output from dmesg and we may spot something, but as JamesH65 said, "We don't support a 64 bit kernel". |
Hi Pelwell, Currently what I tested ran stable. |
I noticed one oddity:
but I can't see how that would explain your problem. Why are you using 4.10? I suggest you switch to 4.14 which is what we are developing on now and is likely be supported for a year. Even if it doesn't immediately solve the problem it will make it easier to compare configurations, and if we did find a fix on 4.10 we won't be updating that branch. |
Hi Phil, |
Your methodology was good, it is only the choice of the alternative branch which was a problem. 4.10 was only ever a temporary stepping stone, as were 4.11. 4.12 and 4.13 - 4.14 is the new king in waiting, and it will probably be crowned in the next few weeks. |
Thank you Phil for your explanation. I am curious to try out 4.14 and will report :) |
I build 4.14 for 64 bit today and receive a [0.190323] dmi: firmware registration failed message when trying to boot. |
Hi Ray, |
It stops there and that is it. |
Hi Ray, |
Those messages just indicate that your firmware doesn't support the new mailbox method of querying the voltage and temperature throttling status. Run rpi-update to get a new firmware, our just copy it from the firmware repo. |
Hi Phil, |
What we call firmware is really just a different kind of software - software that runs on the VideoCore processors (VPUs) and loads the OS, along with a number of other support roles such as the legacy 3D driver, ISP, display compositing etc. Running a 4.9 kernel with a current firmware works just fine - I switch back and forth between 4.9 and 4.14 on an almost daily basis without changing the firmware. |
Thank you Phil for your explanation. By the way is there an easier possibility to boot a different kernel than changing the /boot/config.txt? A Lilo or grup is probably not available for Raspberry? |
Some people run U-boot on Pis. It's not something we support directly, but we are happy to support the maintainers. |
NOOBS is another option... |
Thank you very much. :) |
Hi Phil, I add some output below: Here some output Best regards, |
Up on 4.14 in 64 bit mode using old dtbs... Looks good I did something wrong. lscpu reports: Also curious if we can get 64 bit versions of java and postgresql running |
Hi Raymond, Hello all Raspberry 64 Bit users :-) For multi boot I use NOOBS and edit /boot/config.txt I have a question about the bcm2710-rpi-3-b.dtb line. Now I will try to update the 32 Bit kernel with the firmware upgrade. |
Hi, I think it would not be conflicting because the kernels use different directories as the kerner version is a bit different. No problem for 32 Bit I can live with kernel 4.9. For the noisy sound I found a work around. I grepped for the process |
@Roland74 Can this issue now be closed? |
I suppose, I have moved on to opensuse 64 bit.
Raymond Clark
Sent from my iPhone
Expect tYopS
… On Apr 23, 2018, at 6:43 AM, James Hughes ***@***.***> wrote:
@Roland74 Can this issue now be closed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi James, it's OK to close the issue now. As I see it's already closed. |
Thanks for the update. |
I wish only that someone would have answered the original question, which I took to be "where is module snd-bcm2835.ko"? I inadvertently ran a curl script to install an Adafruit I2S audio bonnet on the wrong RPi (without said bonnet) and now trying to get my analog 3.5mm audio back, unsuccessfully. Trying to look under every rock to find something I've missed! I see that the module is being called to load in config.txt but I don't know if it is in fact loading. The audio port is simply not showing up as a sink option for example in the pulseaudio volume control. Can someone tell me where to look to find that that module is in fact there? I'm not up on the architecture at all. |
A huge amount has changed since 2018, but never mind.
If still stuck, look at the script you ran to see what changes it made. |
Hi,
I recently tried to build a 64 Bit kernen on my Raspberry Pi 3 on Raspbian following the instructions in http://www.tal.org/tutorials/raspberry-pi3-build-64-bit-kernel
git clone --depth=1 -b rpi-4.9.y https://github.com/raspberrypi/linux.git
mkdir kernel-out
cd linux
make O=../kernel-out/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcmrpi3_defconfig
The build completed but the audio kernel module snd-bcm2835.ko is missing afterwards.
After installing the kernel and kernel modules I was able to boot the 64 Bit kernel with wifi and X11 but I was not able to use sound. I looked into kernel-out and did not find the snd-bcm2835.ko. There were other snd*.ko modules but that does not help me to get the sound working. I looked into bcm2709_defconfig and there were some lines bcmrpi3_defconfig does not have especially
CONFIG_SND_BCM2835=m
That looks strange. Are you able to get sound working for 64 Bit. What happened to snd.bcm2835.ko and why is
CONFIG_SND_BCM2835=m
missing in bcmrpi3_defconfig?
Another issue I found after compiling the 64 Bit kernel was that I cannot get the processor temperature any more:
/opt/vc/bin/vcgencmd measure_temp
VCHI initialization failed
Even with sudo it does not help. Maybe I should open another issue?
Ok for this issue it would be great if you could give me any advice. I currently try to build
git clone --depth=1 -b rpi-4.10.y https://github.com/raspberrypi/linux.git
Kind regards,
Roland
The text was updated successfully, but these errors were encountered: