Advertisement
serenia

Readme

Aug 6th, 2019
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. 1. Build Environment
  2. ====================
  3. 1.1 PC Host Configurations
  4. =====================
  5. The build requires a linux machine.
  6. The build has been tested against the following PC configurations:
  7. - CPU: Intel Core i5 CPU M 540 @ 2.53GHz
  8. - OS: ubuntu 12.04.1 LTS 32 bit
  9. - Memory: 1.5 GB
  10. - minimum free disk space: 3 GB
  11. - shell: bash
  12.  
  13. Build using a PC configuration which deviates from the above is possible, but is not guaranteed to work.
  14.  
  15. 1.2 Tool chains
  16. ===============
  17. The file emlix.tar.gz contains the tool chain package.
  18. When going through this README.txt file, a command to be typed into a terminal window begins with the $ sign. The $ sign is not part of the command.
  19. Unpack the tool chains by following these instructions:
  20. $ Login as root
  21. $ cd /opt
  22. copy emlix.tar.gz to /opt directory
  23. $ tar zxf emlix.tar.gz
  24.  
  25. Set up path at the terminal windows, or place it in the bash startup file .bashrc:
  26. $ export PATH=/opt/emlix/pnx8181/bin:/opt/emlix/e2-2.2/bin:$PATH
  27.  
  28. 2. Build Instructions
  29. =====================
  30. The file payton_1.3.2.009_gpl.tar.gz contains the source code for building the firmware used by Cisco device SPA112, SPA122 and SPA232D.
  31. Follow these instructions to build the firmware:
  32. Login as root or user
  33. $ cd ~
  34. $ mkdir test
  35. $ cd test
  36. copy the file payton_1.3.2.009_gpl.tar.gz to ~/test directory
  37. $ tar zxf payton_1.3.2.009_gpl.tar.gz
  38. $ cd payton_1.3.2.009_gpl/payton/src
  39. $ make
  40. $ make install-232d
  41.  
  42. The firmware binaries can be found under the directory "payton/src/image".
  43. Payton_1.3.2_009_MMDDYY_hhmm_pfmwr.bin is the firmware for SPA112 and SPA122.
  44. Payton_232D_1.3.2_009_MMDDYY_hhmm_pfmwr_hsfw.bin is the firmware for SPA232D.
  45. Note that the file name is appended with a date code MMDDYY_hhmm which corresponds to the host PC system time when the build is generated, and will be different every time the build is re-generated.
  46.  
  47. 3. Archive Structure
  48. ====================
  49. payton/src is the main directory to build the firmware.
  50. payton_src/cy_proile contains configuration files.
  51. payton_src/host_tools contains utilities to be run on host for successful compilation.
  52. payton/src/linux contains the linux source code for building the target OS.
  53. payton/src/router contains proprietary and open source packages required to run on top of target linux OS.
  54.  
  55. 4. Glibc 2.5
  56. ====================
  57. The source code of glibc 2.5 is provided in glibc-2.5.tar.bz2.
  58.  
  59. 4. Build Verification
  60. =====================
  61. If compilation succeeds, the aforementioned binaries under the directory "payton/src/image" will be generated.
  62. As a sanity check, upgrade the device SPA112, SPA122, and SPA232D with the corresponding firmware via the web interface. One is expected to see the "Upgrade is successful" message. The firmware version should be changed to 1.3.2 (009), and one should be able to make a phone call if the box has been preconfigured with a VoIP account.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement