Make / Build Guide

Issue #7 closed
NetgearDude created an issue

Hi noob question here.

Could you possibly publish a guide on how to MAKE an image?

The default make obviously doesn't work. with Make V1...V2 other dirs have to be compiled first. I tried, following other guides, I cleared all the errors and now after a "successful" make I can't figure out where the TRX file is supposed to show. Image folder is empty.

I didn't change or make any special config, I went with everything default, just to try but no luck. Simply trying to build a lighter image for R7000 without vpn, mysql, nginx, usb, qos etc. so dnsmasq can work faster. Experiencing latency on dns resolution even though just 350 domains are blocked/filtered.

Also, the stock clock speed for R7000 is 1200Mhz, yours comes at 1000. Big difference after I changed it.

nvram get clkfreq
nvram set clkfreq=1200,800
nvram commit && reboot

Comments (6)

  1. kollaesch

    If the build guide is transparent then someone could create a docker image as platform for this to build.

    The current README.md just states the build-system preparation and unfortunately ends with "You're ready".

    The actual build commands are missing. Please add them as well! Thanks!

  2. Nathan Ellsworth

    Yes, I agree. I would like to build an image as well and would appreciate knowing the commands the developers use to do that.

  3. gilgrissom

    #metoo :)

    I followed instructions per README.md and setup a VirtualBox with Debian 9.x/64bit.

    I struggled to figure out how to start a basic build and ended up with several errors and build inconsistencies.

    I'm not sure if the cause is a mis-configuration with my development environment or some issues with the building tree/repository

    I believe the purpose of this effort and its open-sourcing is multi-fold; including, but not limited to:

    • Motivate other developers to embark in this kind of challenges
    • Improve the software both in terms of functionalities and overall quality
    • Relieve the stress/fatigue on the "Usual Suspects" (@kille72, @pedro311 just to name some)
    • Acknowledge and address security concerns
    • Improve professional/hobbyist skills and knowledge

    I'd really appreciate if a bit of extra effort would be spent in an A-Z tutorial from the bear-metal (Virtual Machine preparation) to a finished and polished firmware image ready to be flashed on dummy or productive devices.

    Thanks for your tireless contribution the community.

  4. MichaƂ Obrembski

    I will think about creating "induction to developing" document, where you can find basic architecture concepts and how to prepare machine for it based on newest Ubuntu (or Debian? not sure now which one i will take)

  5. Log in to comment