making MIPS build from ARMs source

Discussion in 'Tomato Firmware' started by Rangaistus, Oct 27, 2017.

  1. Rangaistus

    Rangaistus Reformed Router Member

    what's the effort involved in taking the source from an ARMs build, like @kille72, and make it into MIPS build? i'm not looking for the short answer. i understand it's a lot of work. i'd like to know what's involved.
     
  2. AndreDVJ

    AndreDVJ LI Guru Member

    The tree structure isn't that different, however you must have a local copy of the repository you need.

    1) You cannot cherry-pick commits from an ARM repository, because the "router" location is different.
    2) You'll have two branches to play with (tomato-shibby and tomato-shibby-RT-AC, or Toastman's equivalent), or just one if you plan to do changes for 2.6 kernel only.
    3) Not every change from ARM is applicable to MIPS (ipset 6.x is not compatible with MIPS' kernel).
    4) Most stuff on ~/release/src/router/ are the same as MIPS, and that's the place to get started as majority of changes are made there.
    5( Any specific hack to make something work on MIPS in case compilation fails (library not in MIPS toolchain), you're on your own.
     
  3. Justio

    Justio Networkin' Nut Member

    Is-it working? Did you manage to do something following AndreDVJ's advice?

    Thanks!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice