-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Crash when running kernel exactly same as release hash #1042
Comments
Note: rpi-4.0.y is now the default kernel. In general you should use the dtb files you have built. In theory they should be the same if they came from the same git hash, but obviously something is wrong, so I'd try copying them (and you will have to copy them when changing kernel version). What firmware are you on? (vcgencmd version). |
Thanks. I'll try 4.0.y. I was able to get everything working by using the latest 3.18.y tree with the latest dtb compiled from that tree. Apparently the mmc had been moved out of the board support file into the dts. I am using straight Debian Jessie, not any Raspbian firmware. There is no vcgencmd. I have been looking around for the source code for vcgencmd but have not been able to find it. |
Apr 21 2015 14:42:19 FYI |
Here's the issue according to the the compiler: arch/arm/mach-bcm2709/armctrl.c: In function ‘armctrl_unmask_irq’: If the two were broken down into declaration and then code, it would be alright and the compiler should handle it properly and even compile it just the same as it was intended due to pre-processing. |
That's a warning - we don't like them, but it doesn't affect the generated code. As that file doesn't exist in the rpi-4.4.y tree (which we will move to soon) there is no point in fixing the warning now. |
I have followed the procedure outlined here to attemp to build an exact replica of the arm7 release Raspberry Pi kernel with Device Tree for the 2 B.
I'm following the procedure for sleuthing out what is the correct kernel version as outlined here:
#486
I have built commit 0be82f7 which was found here raspberrypi/firmware@47bd0f0
And I am also using the mkknlimg script (which had to be backported from rpi-3.18.y HEAD, I guess it wasn't in this kernel revision), and Device Tree is indeed running because it is reporting
And dtc -I fs /proc/device-tree also suceeds, so indeed device tree is happening.
However. at boot time there is a kernel crash:
Booting the stock kernel does NOT cause this crash! But... the kernels were-- if I am to believe the documentation in that issue-- built from the same source tree and commit.
The dts files and overlays are exactly copied from the stock firmware distribution; I have not copied over the dts files from the kernel build.
Why is this happening? What is broken? It seems like this should work.
The text was updated successfully, but these errors were encountered: