201801_jeffrey - silenceuncrio/diary GitHub Wiki

2018-01

02 03 04 05 -
- 08 09 10 11 12 -
- 15 16 17 18 19 -
- 22 23 24 25 26 -
- 29 30 31

  • 20180102
    • git flow feature start pptpd
    • add compile flag 'PROSRC_PPTPD'
    • copy the opensrc 'pptpd-1.4.0' from project '579X'
    • git flow feature finish pptpd
    • modify the opensrc 'pptpd-1.4.0' for passing compile
    • add 'pptpd' icos module
    • add 'pptpd' CGI
  • 20180103
    • correct _json_2_setting_handle() part
    • add 'pptpd' web page
    • move some functions from menu group 'service' to the other group:
    • modify the 'pptpd' configurations
    • fix typo
    • implement the apply() fot 'pptpd'
    • add a 'ACCEPT' rule for PPTP protocol in chain 'APP_IN'
    • add rule to nat-postrouting 'PptpPostRouting' according setting while apply()
  • 20180104
  • 20180105
    • reserve the ppp unit number for pptpd
    • correct the ppp unit number order for pptpd
    • turn on the compile flag 'PROSRC_PPTPD' for all customer profiles

  • 20180108 fix pptpd compile error modify the web ui for 'Dual APN' modify the 'Dual APN' web page according to original designer
  • 20180108 review
  • 20180110 remove the whole menu group 'WAN' when 'PROSRC_2APN' defined add web ui for 'L2TP'
  • 20180111 change a way of c preprocessor to wrap wan menu group
  • 20180112

  • 20180115
  • 20180116
    • uboot 的 cross compile toolchain 奮鬥
    • 確認 mitrastar 提供的 toolchain 只適合 32-bit 的 ubuntu 做使用
    • make menuconfig 進去把 Dual Image 打開 - compile 不過
    • 試著 load uboot 並 write to Flash 就把板子玩掛了
    • flush credentials first then append the entries we needed
  • 20180117
    • 64位元ubuntu運行32位元程式
    • openwrt compile 環境保持 64bit 的開發環境
  • 20180118
    • mitrastart 在現場跟我又玩掛了一片板子
    • 修正 Dual Image compile 錯誤
    • APSoC SDK 5.0.0.0 User’s Manual - How to enable Dual Image support
  • 20180119
    • 跑了一趟 盟創
    • 解決 - build 出一個把板子搞壞的 uboot.img

  • 20180122
    • trace m360 uboot
  • 20180123
    • 參考 MitraStart 的 ReadMe.docx
    • 從 GitLab checkout 下來的 M360P 目前 make 會失敗
      • aaron 修正了 Dockerfile 解決了該問題
      • Add en_US.UTF-8 locale to avoid toolchain compile error
    • 參考 openwrt生成固件firmware过程
  • 20180124
    • trace m360 image 產出的步驟
    • 整理出產出 image 的主流程
    • 記錄 M360P image 的產出主流程
  • 20180125
    • 目前已經可以整出一包 proscend image for m360 upgrade
  • 20180126
    • 搞定 m360 linux bootup

  • 20180129
    • add quagga package for 'BGP' function
    • workaroud the 'keepalived' package
    • turn on 'openssl-util' - open source SSL toolkit (utility)
  • 20180130
    • 想知道 mitrastar 怎麼透過 web ui 來做 firmware upgrade
    • 試用 sysupgrade
    • sysupgrade 正常的動作需要 /lib/upgrade/
    • let the web module support the 'HTTPD' only currently
    • jffs2_build_filesystem() 耗時 86.820 - 15.156 = 71.664 秒
      • 第二次開機之後就快了 - jffs2 is ready
    • now we can generate the firmware image for proscend web ui upgrade
    • web ui firmware upgrade not implement yet
      • please use 'image/sysupgrade.bin' via uboot currently
        • 'image/M360-P-.img' is combined from sysupgrade.bin and our mcsv
  • 20180131
    • add 'bash' package and enable it
    • add 'jq' package and enabel it
    • modify the firmware image generation step
    • generate '/tmp/etc/sysinfo.txt'
      • some variable with "todo" value means that they need to do
⚠️ **GitHub.com Fallback** ⚠️