Linux: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
* download and unpack crosstool | * download and unpack crosstool | ||
* eval `cat arm.dat gcc-3.3.4-glibc-2.3.2.dat` sh all.sh --notest | * eval `cat arm.dat gcc-3.3.4-glibc-2.3.2.dat` sh all.sh --notest | ||
* Have some coffee | * Have some <s>coffee</s> beer | ||
=== Compiling the linux kernel === | === Compiling the linux kernel === |
Revision as of 22:56, 22 August 2007
Reciva provides sources for the Linux kernel used on the Barracuda on the GPL archive page. First inspection of these sources show the following:
- A UART should be available somewhere on the hardware and a console is enabled
- LIRC (linux remote control) might be available
- more to discover here of course
Building
The following worked for me:
Creating the toolchain
It seems that reciva uses glibc 2.3.2 and gcc 3.3.4 at this moment. We'll create a toolchain with the same versions:
- download and unpack crosstool
- eval `cat arm.dat gcc-3.3.4-glibc-2.3.2.dat` sh all.sh --notest
- Have some
coffeebeer
Compiling the linux kernel
- Download linux sources from Reciva and unpack
- make bast_config
- make menuconfig - exact configuration to be determined
- Edit the top-level makefile in the bast_linux directory and point CROSS_COMPILER to the freshly built toolchain
- The same as above in the recive/Makefile
- make
- make
- make modules
- make -C reciva