README 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ____ _____ ____
  2. _ _ _ | __|| || __|
  3. | (_) |__ _ _ ___ | | | | | || |
  4. | | | '_ \ '_/ -_)| |__ | | | || |__
  5. |_|_|_.__/_| \___||____||_|_|_||____|
  6. -----------------------------------------
  7. The libre embedded GNU/Linux distro.
  8. This compact disk contains the source code and firmware images
  9. for the %T line of routers.
  10. Disk Layout:
  11. ============================
  12. /bin/%T/* : Contains firmware images for %T family of routers
  13. libreCMC-%V-src.tar.gz : The full libreCMC source code w/ original configuration.
  14. Building libreCMC image from source:
  15. ============================
  16. To build your own firmware, you need to have access to a GNU/Linux system
  17. (case-sensitive filesystem required) with the following installed :
  18. gcc, binutils, bzip2, flex, python, perl, make, find,
  19. grep, diff, unzip, gawk, getopt, libssl-dev (openssl-devel), libz-dev and libc headers.
  20. References to this and other documentation use : "$LIBRECMC_SRC" , which
  21. is the directory where the libreCMC source code resides.
  22. Before starting, please extract : libreCMC-%V.tar.gz
  23. tar fxv librecmc-%V.tar.gz
  24. cd libreCMC/
  25. Within the libreCMC src. directory (in this case, trunk), please use "make menuconfig" to create your
  26. desired configuration for the toolchain and firmware. Please note that the default configuration is
  27. what was used to build the firmware image for your router. It is advised that you use this configuration. If
  28. you need to restore the default configuration, copy librecmc_config to libreCMC/trunk/.config
  29. Simply running "make" will build your firmware. The build system will extract all included sources,
  30. build the cross-compile toolchain, the kernel and all chosen applications. If there is an issue, please run:
  31. make V=s
  32. This will show debugging output and give a clue as to why the build failed.
  33. When the build completes without any issues, the resulting librecmc-ar71xx-generic-tpe-r1100-squashfs-sysupgrade.bin image will
  34. be found in : $SRC_ROOT/bin/targets/ar71xx/
  35. Flashing The libreCMC firmware
  36. ============================
  37. 1) Open a web browser and go to : https://192.168.10.1
  38. 2) You will see a security warning because SSL cert is self-
  39. signed. Click the "understand the risks" and then "add exception" buttons.
  40. 3) Enter the admin password for the router (stock password is : none )
  41. 4) The backup / flash utility is under "System -> Backup / Flash Firmware".
  42. 5) Make sure to backup your configuration (if you are upgrading to a new release)
  43. by clicking the "Generate archive" button. This will download a file named
  44. backup-libreCMC-$(DATE).tar.gz
  45. 6) Upload the new firmware by clicking the "browse" button under "Flash new firmware image".
  46. If you wish to keep your current settings, make sure that the "Keep Settings" checkbox is
  47. checked. If the file name is correct, make sure to click the "Flash Image" button.
  48. 7) Wait a about 1 - 2.5 min. The router will restart itself then the page should refresh, bringing
  49. you back to the login page.
  50. Final Words
  51. ============================
  52. We would like to thank you for supporting the libreCMC project. If you find any
  53. software in this release that is non-free software, please report it to info@librecmc.org.
  54. We will review the offending piece of software and devise a workaround or patch.
  55. libreCMC aims to always be a 100% libre Free Software project.
  56. Happy Hacking,
  57. Your libreCMC Project
  58. http://librecmc.org
  59. info@librecmc.org