Skip to content

rampageX/brcm-arm-toolchains

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

brcm-arm-toolchains

This is a toolchain for building router firmware based on Broadcom Cortex-A9. Example products are ASUS RT-AC56U, RT-AC68U, RT-AC87U and RT-AC3200 etc. This toolchain is compiled from buildroot source codes published in ASUS GPL codes. Major components in this toolchain include:

  • GCC 4.5.3
  • uClibc 0.9.33.2
  • Linux kernel 2.6.36.4

Essentially the same used by Asus to build their latest ARM based ASUSWRT or by other people to build Asuswrt-Merlin. ASUS's toolchain in their GPL code uses uClibc 0.9.32.1 and compiled in an ancient version of LinuxThread thread library i.e. with NPTL disabled. What's new in this toolchain is uClibc 0.9.33.2. It's the latest stable release of uClibc which supports Native Posix Thread Library. NPTL is enabled as well as TLS in both libc and gcc.

The toolchain has been tested to successfully build Asuswrt-Merlin v378.55. And of course it also runs on the target board, RT-AC56U.

Although this toolchain is created primarily to build ASUSWRT or its variants. I believe it's not the only application. If people have success stories using this toolchain. I'm happy to hear from you.

Setup for building ASUSWRT or Asuswrt-Merlin

This toolchain is a drop-in replacement for the toolchain included in ASUS GPL code and Asuswrt-Merlin. For first time builders, you go to src-rt-6.x.4708/toolchains, rename the existing hndtools-arm-linux-2.6.36-uclibc-4.5.3 to a different name. Then create a symbolic link with the same name linking to the hndtools-arm-linux-2.6.36-uclibc-4.5.3 that you check out from this repository.

Known issue

One program, wred does not run properly. It's a userland middle-ware, part of the DPI software stack from Trend Micro that ASUS includes in newer models of their routers. The fix perhaps is only for Trend Micro to tidy up their use of pthread APIs in wred.

Source code

The source code is "buildroot-2012.02" which is available from published ASUS GPL codes.

Forum discussion

http://www.snbforums.com/threads/arm-toolchains-with-nptl-for-asuswrt-merlin.27938/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 40.7%
  • C++ 35.5%
  • Roff 11.0%
  • Perl 5.0%
  • Shell 4.1%
  • TeX 1.5%
  • Other 2.2%