20200217_jeffrey - silenceuncrio/diary GitHub Wiki

0840

review


ariel 表示

BGP Status 先做在 m330[develop]

連同 BGP MD5

等 M360P[release/v1.06] merge 回 M360P[develop] 後

再把 BGP Status poring 到 M360P[develop] 去


update task list

M300

  • none

m330

  • P1 - BGP with MD5
  • P2 - BGP status for every neighbors
  • P4 - Web UI; GPS Track drawing(Server)

m350

  • P1 - Web UI: CA info

m350-c

  • P1 - GRE
  • P1 - Firmware Upgrade
  • P1 - GRE keep alive

M360P

  • P2 - BGP status for every neighbors

上禮拜五下班前 jubuntu 上 m350.vmdk 上的 m350[develop]

  • proscend 外層已經 make 完成

繼續 proscend 內層

  • Vendor/Products = CTCU/0_CTCU

一樣是參考 jessy 在 2020-01-17 的 mail

Hi all:

M350 upgrade firmware:

(1) build environment is 32 bit OS

(2) "git pull" and "make clean" in top directory

(3) Execute "build.sh" in top directory

(4) rebuild proscend code

(5) Execute "build-image.sh" in top directory,

(6)  Set tftp server 192.168.1.10 and specify "(top directory)/artifact" folder

(7) Enter M350 u-boot.  Press "s" enter u-boot in console.

(8) Execute follow command:

       tftpboot 0x84000000 nornand-ipq40xx-single.img
       imgaddr=0x84000000 && source $imgaddr:script
       reset

注意到 jessy 在 2020-01-20 的 update

Hi all:

M350:

    git pull

    make package/boot/uboot-ipq40xx/clean

    make package/system/mtd/clean

    build.sh


有二項變化

    1. CTRL + u Enter u-boot.

    2. cd /tmp;tftp -g -r firmware.img 192.168.1.10;FirmwareUpgrade.sh firmware.img;reboot

            firmware.img 是在 proscend/image 下的那個檔案只含 kernel + rootfs 

proscend 內層 compile 之後

繼續以下

(5) Execute "build-image.sh" in top directory, 應該是在 (top directory)/artifact 產生以下檔案

  • ipq40xx-nornand-apps.img
  • nornand-ipq40xx-single.img

(6) Set tftp server 192.168.1.10 and specify "(top directory)/artifact" folder

  • 自己的 tftp server 為 192.168.1.113
  • 我可以在 uboot 使用 setenv serverip

(7) Enter M350 u-boot. Press "s" enter u-boot in console. 更正為按 CTRL + u 進入 u-boot.

(8) Execute follow command: tftpboot 0x84000000 nornand-ipq40xx-single.img imgaddr=0x84000000 && source $imgaddr:script reset


記得 20200210_jeffrey 遇到 web 起不來的現象

目前已經消失

m350 已經可以在 jubuntu 上開發了

0945

先幫同仁做 UI

m350 - P1 - Web UI: CA info

參考 M350 - wikis - Carrier Aggregation


m350[develop] - 'SIM Status' at status page supports more values:

  • Modem Lock - modem lock because wrong sim card
  • Unblock Fail - SIM unblock fail
  • Illegal - SIM illegal
commit bae6932bc0fb275945add4461cbfc3f9ede8aa7f
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 11:15:55 2020 +0800

    'SIM Status' at status page supports more values:
    - Modem Lock - modem lock because wrong sim card
    - Unblock Fail - SIM unblock fail
    - Illegal - SIM illegal

 proscend/prosrc/webcgi/status.c           | 27 +++++++++++++++------------
 proscend/prosrc/www/app/locale-en.json    |  3 +++
 proscend/prosrc/www/app/locale-fr.json    |  3 +++
 proscend/prosrc/www/app/locale-zh-tw.json |  3 +++
 4 files changed, 24 insertions(+), 12 deletions(-)

1145

急著上 code 結果犯了低級的錯誤... 吃快敲破碗...

m350[develop] - correct the size of SIM_STATUS_KEY or the status with id more than the size will fail the cgi

  • also the syntax of json file of multi-language file
commit 8d9ce669140194827f8b761cbfde68f7a45a95ec
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 11:40:37 2020 +0800

    correct the size of SIM_STATUS_KEY or the status with id more than the size will fail the cgi
    - also the syntax of json file of multi-language file

 proscend/prosrc/webcgi/status.c           | 2 +-
 proscend/prosrc/www/app/locale-en.json    | 6 +++---
 proscend/prosrc/www/app/locale-fr.json    | 6 +++---
 proscend/prosrc/www/app/locale-zh-tw.json | 6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)

1305

目前 web session 的機制有問題

明明都 login 了

但透過左側 menu 在切換網頁時

有機會跳出 login 畫面

明明都已經 login 了 - 但透過 menu 選單切換網頁時 偶而會跳出 login 畫面 image


發一條 issue 給自己吧

目前 mantis 還不能發 M350 相關的 issue

之前有類似的 issue

update 在這條 issue 上吧

1340

全機種的需求來囉

Dear Jeffrey and Aaron,

I have added one more SIM status and I need your help to display the right status

SIM_UNBLOCK_FAIL --> "Unblock Fail"

This change need to apply to all project develop branch (M350/M330/M360P/M300)

I have check in my code. Please help to add it accordingly.

Many Thanks! 

我早上已經把 M350 做完囉


先把 m350 - P1 - Web UI: CA info 告一段落再說

1410

WAN Ethernet page 在 change Work As 的時候

Apply Ok 按了 OK 按鈕之後

有時會發現 Work As 沒有 apply 成功

但跳到別頁又跳回來就好了

m350 有這個問題

但其他平台應該都有一樣的問題

先發一條 issue 在 m330 上給自己好了

因為 m330 是最快要 release 的機種

但可以先在 m350 修掉這個 bug


繼續 m350 - P1 - Web UI: CA info

1520

差不多了 多測試一下


跟 ariel 借一下有支援 ca 的 lte module

1545

測試 PASS 上 code

m350[develop] - add 'Carrier Aggregation Info' at 'LTE > Serving Cell' page

  • according to LTE module (ca_info.num)
commit 00709151533d01b2f3bffb73d641bda641343415
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 15:47:39 2020 +0800

    add 'Carrier Aggregation Info' at 'LTE > Serving Cell' page
    - according to LTE module (ca_info.num)

 proscend/prosrc/webcgi/lte.c                       | 51 ++++++++++++
 proscend/prosrc/www/app/feature/serving_cell.html  | 97 ++--------------------
 proscend/prosrc/www/app/feature/serving_cell.js    | 44 +++++++---
 .../prosrc/www/app/feature/serving_cell_nav.html   | 19 +++++
 .../www/app/feature/serving_cell_tab_ca_info.html  | 69 +++++++++++++++
 .../app/feature/serving_cell_tab_service_cell.html | 87 +++++++++++++++++++
 proscend/prosrc/www/app/locale-en.json             | 17 ++++
 proscend/prosrc/www/app/locale-fr.json             | 17 ++++
 proscend/prosrc/www/app/locale-zh-tw.json          | 17 ++++
 proscend/prosrc/www/app/services/icos.service.js   |  3 +
 10 files changed, 320 insertions(+), 101 deletions(-)

來做全機種的需求

Dear Jeffrey and Aaron,

I have added one more SIM status and I need your help to display the right status

SIM_UNBLOCK_FAIL --> "Unblock Fail"

This change need to apply to all project develop branch (M350/M330/M360P/M300)

I have check in my code. Please help to add it accordingly.

Many Thanks! 

從 m300 開始做

使用 VMware jbox


修改後 build 個 image 測一下


測試 PASS - 上 code

M300[develop] - 'SIM Status' at status page supports more values:

  • Unblock Fail - SIM unblock fail
  • Illegal - SIM illegal
commit ca7e4ebdddb7e296003327b812f807ee92f910a9
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 16:36:37 2020 +0800

    'SIM Status' at status page supports more values:
    - Unblock Fail - SIM unblock fail
    - Illegal - SIM illegal

 proscend/prosrc/webcgi/status.c           | 30 ++++++++++++++++--------------
 proscend/prosrc/www/app/locale-en.json    |  2 ++
 proscend/prosrc/www/app/locale-fr.json    |  2 ++
 proscend/prosrc/www/app/locale-zh-tw.json |  2 ++
 4 files changed, 22 insertions(+), 14 deletions(-)

再來是 m330[develop] - 一樣使用 jbox


m330[develop] - 'SIM Status' at status page supports more values:

  • Modem Locked - modem lock because wrong sim card
  • Unblock Fail - SIM unblock fail
  • Illegal - SIM illegal
commit 27b69304f474bc796e2b6caa436eaec9a1cc26f7
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 16:56:51 2020 +0800

    'SIM Status' at status page supports more values:
    - Modem Locked - modem lock because wrong sim card
    - Unblock Fail - SIM unblock fail
    - Illegal - SIM illegal

 proscend/prosrc/webcgi/status.c           | 29 ++++++++++++++++-------------
 proscend/prosrc/www/app/locale-en.json    |  3 +++
 proscend/prosrc/www/app/locale-fr.json    |  3 +++
 proscend/prosrc/www/app/locale-zh-tw.json |  3 +++
 4 files changed, 25 insertions(+), 13 deletions(-)

再來是 M360P

回到 jubuntu 這個 VMware

改完一樣 build 個 image 試一下


M360P[develop] - 'SIM Status' at status page supports more values:

  • Modem Locked - modem lock because wrong sim card
  • Unblock Fail - SIM unblock fail
  • Illegal - SIM illegal
commit ce68c82941dd681ab163f1fba6ab03936903ff43
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 17:21:37 2020 +0800

    'SIM Status' at status page supports more values:
    - Modem Locked - modem lock because wrong sim card
    - Unblock Fail - SIM unblock fail
    - Illegal - SIM illegal

 proscend/prosrc/webcgi/status.c           | 29 ++++++++++++++++-------------
 proscend/prosrc/www/app/locale-en.json    |  3 +++
 proscend/prosrc/www/app/locale-fr.json    |  3 +++
 proscend/prosrc/www/app/locale-zh-tw.json |  3 +++
 4 files changed, 25 insertions(+), 13 deletions(-)

1725

回到 m350

再做點小修改

m350[develop] - change wording "Modem Lock" to "Modem Locked"

  • same with the other model
commit e573e1abbf16fba706cce71ec1f66c5048ed90f1
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Feb 17 17:29:15 2020 +0800

    change wording "Modem Lock" to "Modem Locked"
    - same with the other model

 proscend/prosrc/www/app/locale-en.json    | 2 +-
 proscend/prosrc/www/app/locale-fr.json    | 2 +-
 proscend/prosrc/www/app/locale-zh-tw.json | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)