Aydan
Posts: 676
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Compile RPi1 kernel on ARM7 (Cubox-i 4x4)

Mon Jan 25, 2016 1:02 pm

Hello,

how would I go about compiling a Kernel for BCM2835 (PRi0/1) on an ARM7 platform?
In my case it would be a Cubox-i 4x4.
The crosscompiler toolchain from https://github.com/raspberrypi/tools if only available for i386 and amd64.

Regards
Aydan

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5768
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Compile RPi1 kernel on ARM7 (Cubox-i 4x4)

Mon Jan 25, 2016 1:07 pm

No need to cross-compile, just compile it like you would normally.

Aydan
Posts: 676
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Compile RPi1 kernel on ARM7 (Cubox-i 4x4)

Mon Jan 25, 2016 2:56 pm

So there's no problem with cpu features being present on the compiling machine but not the target like NEON or Thumb?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5768
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Compile RPi1 kernel on ARM7 (Cubox-i 4x4)

Mon Jan 25, 2016 3:10 pm

Not when it comes to compiling the kernel.

Aydan
Posts: 676
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Compile RPi1 kernel on ARM7 (Cubox-i 4x4)

Mon Jan 25, 2016 4:00 pm

Thanks, I'll give it a try.

Return to “Linux Kernel”