www.mamboteam.com
macsat.com - OpenWrt | Olegs Firmware  
Home arrow Wiki (RDC Based Routers)
Wednesday, 07 January 2009
 
 
Main Menu
Home
About
News
Tutorials - OpenWrt (WR)
Tutorials - Oleg
Wiki (RDC Based Routers)
Online Shop
Forum
Downloads
Free Linux eBooks
Links
Search
Contact Us
We have 2 guests online
2937034 Visitors
Login
Welcome Guest.






Lost Password?
No account yet? Register
Old macsat.com
Nokia Unlock (Dansk)
Nokia Unlock (English)
XBins IRC Chat

Getting the Source Code

The source code is not currently available from all manufacturers at the moment, but all devices seem to be based upon a common source. I suspect that the board design is licensed from one of the manufacturers to the others. The fact that the source code has an MGB1000_GPL directory, suggests that it may well have come from Micronica. Anyway you can get the source code from:

Build Environment

The code is built under Linux. Unfortunately, the full set of headers is not included in the source code and t relies on some header files from elsewhere in the system. For this reason, a specific linux distribution is required - Fedora Core 4. The build has also been reported to work on Fedora Core 5, and I suspect it would work with any distribution if you get the right versions of the right files. They are normally in the form of foo-devel packages.

Do I really need to install Fedora Core 4? It’s not the latest / I do not want to repartition my disk. Yes, and no. For the reasons above, you do need Fedora Core 4 or 5, however I strongly reccommend using VM Player This allows you to run a virtual machine which runs linux from within you current operating system whether that is Windows, linux or OSX.

You can download the VMware minimal Fedora Core 4 image install image from http://www.thoughtpolice.co.uk/vmware/ which is a relatively small download.

Configuring the linux distribution

The following instructions assume you are using the VMWare image above. If not, you will need to adapt this depending you what you have installed.

First change the yum config. Redhat isnt hosting Fedora 4 core files anymore .

  • vi /etc/yum.repos.d/fedora.repo

Add the line

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/4/i386/os/
  • vi /etc/yum.repos.d/fedora-updates.repo

Add the line

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/4/i386/
  • Install the following extra rpms by typing: yum install <pkg>
    • gcc
    • openssl (probably not needed)
    • openssl-devel
    • texinfo
  • edit /etc/selinux/config and change your policy from “enforcing” to “permissive”, then relabel the disk: touch /.autorelabel and reboot (the virtual machine, if you are using VMWare, not the host operating system).

Main Build

OK, by now you should have your linux distribution up and running and it’s time to build the source code.

  • Create dummy executable file called rcsclean somewhere in path, e.g. touch ~/bin/rcsclean
  • Create a symbolic link from depmod to depmod.old, i.e. ln -s /sbin/depmod /sbin/depmod.old. This is because the source code is a 2.4 linux kernel, Fedora Core 4 is a 2.6 kernel.
  • Gunzip and de-tar the firmware, then follow the instructions in GPL_instructions.txt, i.e.
  • set path
  • make linuxall
 
building_the_firmware.txt (14094506 views) · Last modified: 2008/11/23 16:35 by ketelhuis
 
Recent changes RSS feed Creative Commons License Donate Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Powered by Joom Prosolution
Buy Router
Linksys WRT54GL
Linksys WRT54GL
Recent Forum Topics
Donations

If you appriciate this site, please consider making a small donation.

All donations will be used to cover expenses from running macsat.com.

Sponsored Ads
 
Top! Top!