Difference between revisions of "OpenWRT"

From Embedded Xinu
Jump to navigation Jump to search
m (Reverted edits by 70.87.7.56 (Talk); changed back to last version by Michael)
m
 
Line 9: Line 9:
 
* Also create versions with proper Linksys headers so that they can be uploaded though the web interface as "legit" firmware upgrades
 
* Also create versions with proper Linksys headers so that they can be uploaded though the web interface as "legit" firmware upgrades
  
So though the precious bounty is not in the original download, once you complete the build process, the build system leaves the linux source behind in the '''build_mipsel''' directory, and the toolchain is left waiting to be swiped as well.  Although we recommend building your own [[HOWTO:Build and Deploy XINU#Cross-Compiler|cross compiler]] which can be more finely tuned.
+
So though the precious bounty is not in the original download, once you complete the build process, the build system leaves the linux source behind in the '''build_mipsel''' directory, and the toolchain is left waiting to be swiped as well.  Although we recommend building your own [[HOWTO:Build XINU|cross compiler]] which can be more finely tuned.
  
 
The [[Main Page|Embedded XINU]] project has used OpenWRT's linux source as a reference in our work on implementing XINU for MIPS.
 
The [[Main Page|Embedded XINU]] project has used OpenWRT's linux source as a reference in our work on implementing XINU for MIPS.

Latest revision as of 20:06, 24 June 2008

OpenWRT is essentially a Linux distribution for embedded systems, specifically routers. It has an incredibly modular structure which allows it to build easily for dozens of different devices and makes package selection easy. It also makes browsing around its source relatively difficult. When you first download a copy of "White Russian", the stable branch of OpenWRT, you don't have a linux kernel, or even a toolchain, but you have its unique build system, which is everything you need to build a firmware image. As far as we can tell the build process follows these steps:

  • Download the correct toolchain
  • Build the toolchain
  • Download a linux kernel
  • Download selected packages
  • Use the toolchain to build the kernel / packages
  • Smush everything together into several flavors of executable (depending on file system)
  • Also create versions with proper Linksys headers so that they can be uploaded though the web interface as "legit" firmware upgrades

So though the precious bounty is not in the original download, once you complete the build process, the build system leaves the linux source behind in the build_mipsel directory, and the toolchain is left waiting to be swiped as well. Although we recommend building your own cross compiler which can be more finely tuned.

The Embedded XINU project has used OpenWRT's linux source as a reference in our work on implementing XINU for MIPS.

Related Links