[llvmlinux] Raspberry Pi port, another big step

Tinti viniciustinti at gmail.com
Wed Oct 10 02:09:01 UTC 2012

Dear all,

Finally we have succeeded on building a Raspberry Pi kernel and in making
it start to boot.
Unfortunately it is still freezing for unknown reasons in different points.

Please follow the normal instructions for building a standard target.

  git clone http://git.linuxfoundation.org/llvmlinux.git
  cd llvmlinux
  make sync-all
  cd targets/rpi

On success, you should have your kernel at
Now you need to get the tools from official repo and generate a compatible

  git clone https://github.com/raspberrypi/tools.git
  cd tools/mkimage

This generates a file, at the same directory, called kernel.img which is
the basically the original
kernel with padding. Now, replace your kernel.img in your sdcard distro
(make a backup before).
I have tested with Raspian.

Boot Raspberry Pi, normally you should get at least some messages from
kernel or sometimes
an infinite loop printing random things. Please refer the attached photo in
my case.

More info at http://llvm.linuxfoundation.org/ and
http://elinux.org/RPi_Kernel_Compilation#Kernel_compilation .


Vinicius Tinti
mail => {viniciustinti at gmail.com, tinti at comp.eng.br}
skype => {viniciustinti}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20121009/6e26248c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: photo.JPG
Type: image/jpeg
Size: 301615 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20121009/6e26248c/attachment-0001.jpe>

More information about the LLVMLinux mailing list