User Tools

Site Tools


info:avr32_buildroot_patching

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
info:avr32_buildroot_patching [2008/09/10 18:16] tomgeeinfo:avr32_buildroot_patching [2008/09/12 09:49] (current) tomgee
Line 1: Line 1:
 ===== Buildroot Patching ===== ===== Buildroot Patching =====
 +//AVR32 websites//\\
 +Building avr32 on Ubunt:\\
 +http://www.yagarto.de/howto/avr32ngw100/index.html
  
 +//TG notes, from Atmel//:\\
 +Buildroot is a script system that heavily depends on a Linux® system. It is highly recommended that users either run a native Linux installation or run Linux with a virtual machine when running other operating systems.
  
 +//From doc32062//:\\
 +List of requirements for the build machine
 +   * C compiler (GCC) 
 +   * C++ compiler (for Qtopia® (G++)) 
 +   * GNU make 
 +   * sed 
 +   * bison 
 +   * flex 
 +   * autoconf 
 +   * ncurses library (development install) 
 +   * zlib library (development install) 
 +   * libacl library (development install) 
 +   * lzo library (development install) 
 +
 +Buildroot has a well defined structure of directories. 
 +From a fresh extraction of the
 +tarball, Buildroot will look like: 
 +  *  Config.in 
 +  *  .defconfig 
 +  *  docs/ 
 +  *  Makefile 
 +  *  package/ 
 +  *  project/ 
 +  *  target/ 
 +  *  TODO 
 +  *  toolchain/ 
 + 
 +After a successful build there will be 6 extra 
 +directories in the base directory of Buildroot: 
 +  *  binaries/ 
 +  *  build_avr32_nofpu/ 
 +  *  include/ 
 +  *  project_build_avr32_nofpu/ 
 +  *  src/ 
 +  *  toolchain_build_avr32_nofpu/  
 +
 +//From AVR Freaks Forum://\\
 What I learned was that if you plan to do significant and exploratory kernel modification, buildroot is probably not what you want. But if you need to make a small change (such as adding support for more serial ports), buildroot will probably suffice. What I learned was that if you plan to do significant and exploratory kernel modification, buildroot is probably not what you want. But if you need to make a small change (such as adding support for more serial ports), buildroot will probably suffice.
  
 As was mentioned in the above URL, you will find it easiest to patch setup.c using quilt. I present it here in a more general and complete form: As was mentioned in the above URL, you will find it easiest to patch setup.c using quilt. I present it here in a more general and complete form:
-  + 
  
   - Install quilt   - Install quilt
Line 23: Line 65:
 Place your patch inside target/device/Atmel/<your_board>/kernel-patches. Make sure that the filename starts with linux-2.6.xx-<patch order>. Then run make. I'm starting to become a bit of a buildroot maniac now Smile Place your patch inside target/device/Atmel/<your_board>/kernel-patches. Make sure that the filename starts with linux-2.6.xx-<patch order>. Then run make. I'm starting to become a bit of a buildroot maniac now Smile
  
-{{info:uboot_patch.jpg|}}+{{info:uboot_patch.jpg|}}\\ 
 +{{info:quilt.jpg|}}
  
 ===== Patch to Enable Multiple UARTS ===== ===== Patch to Enable Multiple UARTS =====
info/avr32_buildroot_patching.1221084978.txt.gz · Last modified: 2008/09/10 18:16 by tomgee