Linux: Difference between revisions

From Sharpfin
Jump to navigation Jump to search
Line 11: Line 11:
The kernel sources provided by Reciva suggest gcc 3.3.4 is used for compiling the kernel. A good start would be get a arm-linux- toolchain with the same version.
The kernel sources provided by Reciva suggest gcc 3.3.4 is used for compiling the kernel. A good start would be get a arm-linux- toolchain with the same version.


The following might or might not work:
The following worked for me


  download 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
* Download linux sources from Reciva and unpack
* Edit the top-level makefile in the bast_linux directory and point CROSS_COMPILER to the freshly built toolchain
* make
* make

Revision as of 22:10, 23 October 2006

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 kernel sources provided by Reciva suggest gcc 3.3.4 is used for compiling the kernel. A good start would be get a arm-linux- toolchain with the same version.

The following worked for me

  • download and unpack crosstool
  • eval `cat arm.dat gcc-3.3.4-glibc-2.3.2.dat` sh all.sh --notest
  • Have some coffee
  • Download linux sources from Reciva and unpack
  • Edit the top-level makefile in the bast_linux directory and point CROSS_COMPILER to the freshly built toolchain
  • make
  • make