Difference between revisions of "Thread:User talk:Rfreire/Article Upstream Kernel Compilation/reply (2)"

From eLinux.org
Jump to: navigation, search
 
m
 
Line 3: Line 3:
 
Regarding the dtb file: I rechecked the process and noticed one more weird thing: When invoking 'make rpi_b_config' I get <pre>'Can't find default configuration "configs/rpi_b_defconfig"!'</pre> Removing the _b, so only 'make rpi_cofig' gives me a working config file. This config file does not contain any reference to "rev2"
 
Regarding the dtb file: I rechecked the process and noticed one more weird thing: When invoking 'make rpi_b_config' I get <pre>'Can't find default configuration "configs/rpi_b_defconfig"!'</pre> Removing the _b, so only 'make rpi_cofig' gives me a working config file. This config file does not contain any reference to "rev2"
  
I did some more research and was able to trace back the "rev2" to u-boot/board/raspberry/rpi/rpi.c. It seems to me that my board is not correctly detected. cat /proc/cpuinfo gives me 0000 as the revision number...
+
I did some more research and was able to trace back the "rev2" to u-boot/board/raspberry/rpi/rpi.c. It seems to me that my board is not correctly detected. cat /proc/cpuinfo gives me  
 +
<pre>
 +
Hardware : BCM2835
 +
Revision : 0000</pre>
 +
However, a precompiled rasbmc kernel correctly reports:
 +
<pre>
 +
Hardware : BCM2708
 +
Revision : 000e</pre>

Latest revision as of 04:53, 13 January 2015

Hi Rodrigo, Happy new year and thank you for your fast reply! I am pretty new to kernel compilation in general and cross-compilation specifically, so I'm glad I can contribute to fine-tuning the description in the article.

Regarding the dtb file: I rechecked the process and noticed one more weird thing: When invoking 'make rpi_b_config' I get

'Can't find default configuration "configs/rpi_b_defconfig"!'

Removing the _b, so only 'make rpi_cofig' gives me a working config file. This config file does not contain any reference to "rev2"

I did some more research and was able to trace back the "rev2" to u-boot/board/raspberry/rpi/rpi.c. It seems to me that my board is not correctly detected. cat /proc/cpuinfo gives me

Hardware	: BCM2835
Revision	: 0000

However, a precompiled rasbmc kernel correctly reports:

Hardware	: BCM2708
Revision	: 000e