View source for User talk:Rfreire

From eLinux.org
Jump to: navigation, search

Welcome to eLinux.org! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! Wmat (talk) 14:45, 30 April 2013 (UTC)

Contents

Thread titleRepliesLast modified
Article Upstream Kernel Compilation313:40, 10 February 2015

Article Upstream Kernel Compilation

I was not too sure where to direct my feedback onto the quite good and detailed article RPi Upstream Kernel Compilation. Since you are the last contributor, I'm hoping I'm at the right place :)

Like I said, quite detailed write-up, I ended up with a working, bootable kernel on pretty much the first try! Thank you!

A couple comments though:

  • In the very beginning, the Pi seems to be looking for bcm2835-rpi-b-rev2.dtb instead of bcm2835-rpi-b.dtb. After I renamed the file, booting went on fine.
  • in the very last copy instructions, I feel like zImage etc should come from
    linux/arch/arm/boot/zImage
    instead of
    kernel/arch/arm/boot/zImage
    as the cit clone line in the very beginning creates a "linux" directory not a "kernel" directory

--Moritz (talk) 15:44, 8 January 2015 (UTC)

08:44, 8 January 2015

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Rfreire/Article Upstream Kernel Compilation/reply.

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
Moritz (talk)09:45, 12 January 2015

Moritz, you are right!

Thanks for fixing the Wiki page! And please excuse me from taking so long for replying.

Your revisions were awesome and the article now looks great!! Thanks for the help!

My best regards,

- RF.

13:37, 10 February 2015