Line 55: |
Line 55: |
| <b>Note</b>: don't forget to replace the file name and path in accordance with your own circumstances | | <b>Note</b>: don't forget to replace the file name and path in accordance with your own circumstances |
| | | |
− | Open a Terminal inside the SDK directory. You can change the directory in your current terminal (<i>cd ~/RUTX_R/openwrt-gpl-ipq40xx.Linux-x86_64</i>). | + | Open a Terminal inside the SDK directory. You can change the directory in your current terminal (<i>cd ~/RUTX_R/openwrt-gpl-ipq40xx.Linux-x86_64</i>) |
− | | |
− | | |
| | | |
| Once you open the Terminal, update the feeds: | | Once you open the Terminal, update the feeds: |
Line 70: |
Line 68: |
| [[File:Make_without_jobs_v1.gif]] | | [[File:Make_without_jobs_v1.gif]] |
| | | |
− | <b>Note</b>: the first time you compile a firmware file it may take up to <b>two hours</b> before it is complete. Don't close the Terminal window up until then. Once it is finished, you will find the firmware in the <i>./bin/targets/ipq40xx/generic</i> directory. It should contain a file openwrt-ipq40xx-qcom-ipq4018-rutx-squashfs-apps.bin, it can be used to upgrade your router's firmware via its web interface. | + | <b>Note</b>: the first time you compile a firmware file it may take up to <b>30 minutes</b> before it is complete. Don't close the Terminal window up until then. Once it is finished, you will find the firmware in the <i>./bin/targets/ipq40xx/generic</i> directory. It should contain a file openwrt-ipq40xx-qcom-ipq4018-rutx-squashfs-apps.bin, it can be used to upgrade your router's firmware via its web interface. |
| ---- | | ---- |
| You can speed up this process by passing an extra argument <b>-j</b>. This argument then compiles the necessary packages in parallel. | | You can speed up this process by passing an extra argument <b>-j</b>. This argument then compiles the necessary packages in parallel. |
Line 84: |
Line 82: |
| | | |
| Troubleshooting tips: | | Troubleshooting tips: |
− | 1. If you get error on first ‘make’, do ./scripts/feeds update -a once more. | + | 1. If you get error on first ‘make’, do ./scripts/feeds update -a once more. |
− | 2. Once you extract the SDK files, Rename rutos-ipq40xx-rutx-gpl to a different file name and move it to home directory. | + | 2. Once you extract the SDK files, Rename rutos-ipq40xx-rutx-gpl to a different file name and move it to home directory. |
− | 3. Try running `make distclean` if you believe that your SDK installation is corrupt. This will recompile the firmware from scratch. | + | 3. Try running `make distclean` if you believe that your SDK installation is corrupt. This will recompile the firmware from scratch. |
| + | 4. Allowing us to run command. “make -j<nproc_output> V=sc” for verbose output. This way you will see more logs that may help to troubleshoot compilation issues. |
| | | |
| ==Changing default settings== | | ==Changing default settings== |