20201102_jeffrey - silenceuncrio/diary GitHub Wiki

0840

這個禮拜的 review list


工作交接

  • [30%] PPTP - Aaron
  • [80%] GRE - Aaron
  • [80%] RIP - John
  • [80%] OSPF - John
  • [80%] BGP - John
  • [80%] M300 manufacturing tool - Jessy
  • [80%] M300 uboot - Jessy
  • [80%] M300 eMMC - Jessy
  • [80%] M300 dual image - Jessy
  • [80%] M360P uboot - Jessy
  • [80%] M360P dual image - Jessy
  • [10%] firmware upgrade - Jessy
  • [80%] icos web module - Sharon
  • [80%] Web UI - Sharon
  • [30%] proscend apple account and google account

M300 - task

  • [0%] P2 - remove abnormal key file while web start (develop branch)
  • [0%] P4 - BGP status (web ui)
  • [0%] P4 - give a init value for google map

M300 - issue

  • 0001211: GPS time not sync time zone

M300 - bug

  • [30%] firmware upgrade 卡在 40%
    • pc 網卡直連 M300 lan 端
    • 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到

M330 - task

  • [0%] P3 - sync multi language from m330 to all mobile project

M330 - issue

  • none

M330 - bug

  • [0%] firmware upgrade 上傳成 M300 的 firmware 第一次失敗後到至後續上傳正確的也會失敗
    • lighttpd 回 request entity too large

M350-C - task

  • [0%] P1 - (Web UI) connection table
  • [0%] P2 - remove abnormal key file while web start (develop branch)
  • [0%] P2 - Health retry counter
  • [0%] P2 - no more mark_wan_lte related to display signal image at top banner
  • [0%] P2 - Dynamic Web UI by HW_MCSV
  • [0%] P2 - Dynamic Firmware Upgrade by HW_MCSV

M350-C - issue

  • none

M350-C - bug

  • [20%] web ui openvpn wizard 會讓 lighttpd process 被 kill 掉
    • M330 不會
    • M330 的 lighttpd 為 1.4.30
    • M350 的 lighttpd 為 1.4.40
  • [80%] 修改 menu.html.src 透過 web upgrade 後會 cache 舊的 menu
    • 可以套用至全平台

M350-C - misc

  • [30%] 跨 repository 間 code 的 sync - 培養功力
    • 起手式
      git format-patch -k --stdout ${A_COMMIT_HASH}..${B_COMMIT_HASH} > xxx.patch
      git am -k -3 < xxx.patch
      
    • git am 失敗的時候該怎麼辦? git apply --reject

M360P - task

  • [0%] P2 - web ui: Carrier Aggregation info porting
  • [0%] P2 - remove abnormal key file while web start (develop branch)

M360P - issue

  • [60%] 1103: ui menu not base on compile flag
  • [60%] 936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...
  • [60%] 787: when local ethernet link is 100 half, firmware upgrade via web ui fail

M360P - bug

  • [30%] - 0000908: sometimes first time modify LTE NET mode or APN on dual APN will apply fail - root cause 是 lighttpd 重啟了
    • M360P 的 lighttpd 為 1.4.30

0850

工作交接 - [0%] GRE - Aaron

M360P 不同的 profile 有使用不同的 GRE compile flag

需要額外整理在交接文件

先把各個 model 的各個 profile 所使用的 GRE compile flag 整理一下

M300

configs/Advice/0_GPS_ADVICE/defconfig:PROSRC_GRE=y
configs/Advice/2_EMMC_ADVICE/defconfig:PROSRC_GRE=y
configs/CTCU/0_CTCU/defconfig:PROSRC_GRE=y
configs/Azuretec/3_LTRG101/defconfig:PROSRC_GRE=y
configs/Azuretec/0_OLTRG100/defconfig:PROSRC_GRE=y
configs/Azuretec/2_OLTRG100X/defconfig:PROSRC_GRE=y
configs/Azuretec/1_OLTRG101/defconfig:PROSRC_GRE=y
configs/CXR/0_CXR/defconfig:PROSRC_GRE=y
configs/CXR/1_GPS_CXR/defconfig:PROSRC_GRE=y
configs/Hytec/0_GPS_HYTEC/defconfig:PROSRC_GRE=y
configs/Planet/1_GPS_PLANET/defconfig:PROSRC_GRE=y
configs/Planet/0_PLANET/defconfig:PROSRC_GRE=y
configs/Planet/3_GPS_PLANET2/defconfig:PROSRC_GRE=y
configs/Planet/2_PLANET2/defconfig:PROSRC_GRE=y
configs/XENTINO/4_TPG/defconfig:PROSRC_GRE=y
configs/XENTINO/0_XENTINO/defconfig:PROSRC_GRE=y
configs/XENTINO/1_GPS/defconfig:PROSRC_GRE=y
configs/XENTINO/3_LITE/defconfig:PROSRC_GRE=y
configs/XENTINO/2_MR401G/defconfig:PROSRC_GRE=y
configs/GENERIC/6_GPS_PROSCEND/defconfig:PROSRC_GRE=y
configs/GENERIC/3_LITE_GPS/defconfig:PROSRC_GRE=y
configs/GENERIC/1_GPS/defconfig:PROSRC_GRE=y
configs/GENERIC/0_GENERIC/defconfig:PROSRC_GRE=y
configs/GENERIC/7_WIFI_PROSCEND/defconfig:PROSRC_GRE=y
configs/GENERIC/4_EMMC_GPS/defconfig:PROSRC_GRE=y
configs/GENERIC/2_MTK_WIFI/defconfig:PROSRC_GRE=y
configs/GENERIC/5_EMMC_MTK_WIFI/defconfig:PROSRC_GRE=y
  • 全部的 profile 都使用 compile flag PROSRC_GRE
sAttStringSet moduleInitAry[] =
{
    ...
#ifdef PROSRC_GRE
    { "MODULE_GRE_3G", MODULE_GRE_3G },
#endif
    ...
  • 實際使用的 icos module 為 MODULE_GRE_3G

M360

configs/GENERIC/2_WIFI/defconfig:PROSRC_GRE_2G=y
configs/GENERIC/1/defconfig:PROSRC_GRE_2G=y
configs/PI/3_WIFI/defconfig:PROSRC_GRE=y
configs/PI/2_GENERIC/defconfig:PROSRC_GRE_2G=y
configs/PI/1/defconfig:PROSRC_GRE=y
  • PI/3_WIFIPI/1 使用 compile flag PROSRC_GRE
  • 其餘使用 compile flag PROSRC_GRE_2G
sAttStringSet moduleInitAry[] =
{
    ...
#ifdef PROSRC_GRE
    { "MODULE_GRE", MODULE_GRE },
#endif
    ...
#ifdef PROSRC_GRE_2G
    { "MODULE_GRE_2G", MODULE_GRE_2G },
#endif
    ...
  • PROSRC_GRE 使用 icos module MODULE_GRE
  • PROSRC_GRE_2G 使用 icos module MODULE_GRE_2G

M330

configs/CTCU/1_CTCU_WIFI/defconfig:PROSRC_GRE_3G=y
configs/CTCU/2_CTCU_CHT/defconfig:PROSRC_GRE_3G=y
configs/CTCU/0_CTCU/defconfig:PROSRC_GRE_3G=y
configs/PI/0_PI_WIFI/defconfig:PROSRC_GRE_3G=y
configs/PI/1_PI_GENERIC/defconfig:PROSRC_GRE_3G=y
configs/TECOM/0_RS485/defconfig:PROSRC_GRE_3G=y
configs/HYTEC/1_HYTEC_WIFI/defconfig:PROSRC_GRE_3G=y
configs/HYTEC/0_HYTEC/defconfig:PROSRC_GRE_3G=y
configs/TATUNG/0_TATUNG_WIFI/defconfig:PROSRC_GRE_3G=y
configs/ADVICE/0_ADVICE_WIFI/defconfig:PROSRC_GRE_3G=y
configs/ALLNET/0_WIFI/defconfig:PROSRC_GRE_3G=y
configs/SATSON/0_WIFI/defconfig:PROSRC_GRE_3G=y
configs/GENERIC/0_GENERIC/defconfig:PROSRC_GRE_3G=y
configs/GENERIC/2_GENERIC_RS485/defconfig:PROSRC_GRE_3G=y
configs/GENERIC/3_PROSCEND/defconfig:PROSRC_GRE_3G=y
configs/GENERIC/1_GENERIC_WIFI/defconfig:PROSRC_GRE_3G=y
configs/TAIWANMOBILE/0_WIFI/defconfig:PROSRC_GRE_3G=y
  • 全部的 profile 都使用 compile flag PROSRC_GRE_3G
sAttStringSet moduleInitAry[] =
{
    ...
#ifdef PROSRC_GRE_3G
    { "MODULE_GRE_3G", MODULE_GRE_3G },
#endif
    ...
  • 實際使用的 icos module 為 MODULE_GRE_3G

M350

configs/CTCU/1_CTCU_WIFI/defconfig:PROSRC_GRE=y
configs/CTCU/0_CTCU/defconfig:PROSRC_GRE=y
configs/GENERIC/0_GENERIC/defconfig:PROSRC_GRE=y
configs/GENERIC/1_GENERIC_WIFI/defconfig:PROSRC_GRE=y
configs/GENERIC/2_DUAL_MODEM_TEST/defconfig:PROSRC_GRE=y
  • 全部的 profile 都使用 compile flag PROSRC_GRE
sAttStringSet moduleInitAry[] =
{
    ...
#ifdef PROSRC_GRE
    { "MODULE_GRE_3G", MODULE_GRE_3G },
#endif
    ...
  • 實際使用的 icos module 為 MODULE_GRE_3G

試著整理成簡單的表格

Model - Profiles Compile Flag ICOS Module
M300 - all profiles PROSRC_GRE (*) MODULE_GRE_3G
M360 - PI/3_WIFI and PI/1 PROSRC_GRE MODULE_GRE
M360 - Others PROSRC_GRE_2G MODULE_GRE_2G
M330 - all profiles PROSRC_GRE_3G MODULE_GRE_3G
M350 - all profiles PROSRC_GRE (*) MODULE_GRE_3G
  • (*) 將 compile flag 從 PROSRC_GRE_3G 換成 PROSRC_GRE

從 不同的 GRE ICOS Module 觀察 UI

MODULE_GRE - UI

image

MODULE_GRE_2G - UI

image image

MODULE_GRE_3G - UI

image image

1130

回顧自己寫的 GRE wiki

讓交接更完整

1345

gre keepalive 實作的 source code 需要說明文件讓架構更清楚

節省同事 trace 的 時間

1440

gre 交接文件今天先告一段落

明天再看過 想一下還有什麼要補充


工作交接 - [0%] Web UI - Sharon

各 model 有一些特別在 Web UI 提供的功能

盤一下有哪一些

  • M300
    • Dealer Customization
    • translate_diy
  • M360P
    • WEB UI for Upgrade uboot
  • M330
    • translate_diy
  • M350
    • translate_diy

先在 M300 wiki 起個文件方便整理

1515

工作交接 - [0%] firmware upgrade - Jessy

先在 M300 wiki 起個文件方便整理

1520

工作交接 - [0%] proscend apple account and google account

寫在 M300 wiki

先找時間交接給 winston 好了

1625

工作交接 - [0%] Web UI - Sharon

自己還有 wiki 文件待補