Building Linux 2.6.13 for LN2410SBC
 
1. Install cross toolchain
   
• download prebuilt gcc 3.4.3 (CodeSourcery 2005Q1B version) from CodeSourcery
   
• install them to /usr/local/arm/release-3.4.3
 
• set path and environment variables
 
 $setenv GCC_ARM_HOME /usr/local/arm/release-3.4.3
 
 $set path=($GCC_ARM_HOME/bin $path)
 
 
2. Install kernel source and patches
 
 $bunzip2 -dc linux-2.6.13.2.tar.bz2 | tar xvf -
 
 $gzip -dc patch-2.6.13.2-ln2410sbc-0.5.gz | (cd linux-2.6.13.2;patch -p1)
 
 
3. Configure and build kernel
 
 $make oldconfig
 

 $make bootpImage INITRD_PHYS=0x30800000 INITRD=/path/to/LN2410disk.gz

 
 
4. Download linux/arch/arm/boot/bootpImage to the board (0x30f00000) via u-boot and run it
     

 

© 2004-2008 LittleChips.com. All Rights reserved.