20190902_jeffrey - silenceuncrio/diary GitHub Wiki

0900

review


CTCU 反應 M330 top banner 相關的 issue 如下圖所示

image

pull 最新的 M330[develop]

  • Vendor/products = CTCU/1_CTCU_WIFI

build image

確認過 M330 的確有此現象

那為何 M300 都沒被反應過該現象

檢查一下最新的 M300 CTCU 的 release

ok 也有一樣的問題

先針對 M330 來解決

可以參考 planet 的解法

將過長的 top.png 裁短 - 2600 * 64 裁短成 420 * 64

再另外準備一個 top_bg.png 來當 background 即可 - 10 * 64


注意到 CTCU top banner 的高度是 51

要先調整 top.png 的高度從 64 縮到 51

再行裁切


M330[develop] - CTCU: prevent the horizontal scrollbar caused by top.png with very long width (2600*64)

commit 7fa3c1bcb9746966b99c96e2cff8f6640f0a81b4
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Sep 2 10:31:09 2019 +0800

    CTCU: prevent the horizontal scrollbar caused by top.png with very long width (2600*64)

 proscend/prosrc/www/brand_ctcu/brand/custom.css |   2 +-
 proscend/prosrc/www/brand_ctcu/brand/top.png    | Bin 18134 -> 11298 bytes
 proscend/prosrc/www/brand_ctcu/brand/top_bg.png | Bin 0 -> 212 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

順手搬到 M300

M300[develop] - CTCU: prevent the horizontal scrollbar caused by top.png with very long width (2600*64)

commit f703d312d749c7da38d04c1cd4460912f4a71593
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Sep 2 10:43:34 2019 +0800

    CTCU: prevent the horizontal scrollbar caused by top.png with very long width (2600*64)

 proscend/prosrc/www/brand_ctcu/brand/custom.css |   2 +-
 proscend/prosrc/www/brand_ctcu/brand/top.png    | Bin 18134 -> 11298 bytes
 proscend/prosrc/www/brand_ctcu/brand/top_bg.png | Bin 0 -> 212 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

1045

幫忙準備一下 M360-PW 的 sample

目標 firmware 是 [M360-PW_v1.03_01F500001032E89A.img] 在 P:\2_Projects\3_Wireless\M360-P\firmware\20190703_V1.03\Generic\

uboot 也要更新

再來是 mac 和 序號

利用 帳號/密碼 = root/2wsx#EDC 無法登入

先利用實體按鈕(短的那一顆)來 reset default


順利登入並檢查 mac 和 序號

M360-PW login: root
Password:
M360-PW# mgmt info list
 model-name       = M360-PW
 lan-mac          = 00:0C:43:28:80:F8
 wan-mac          = 1A:30:97:81:83:C1
 sn               = BL9TT3PM1234
 smcsv            = 01F500001032E89A
 hmcsv            = 01F400661032E89A
 bootloader       = 1.0
 software-version = 3.10.14
 firmware-version = 1.03
 hardware-version = 0.1.0
 modem            = EC25EFAR06A06M4G
 IMEI             = 866758041514056
 uptime           = 00:01:07
 production       = Yes
M360-PW#

利用 fw_setenv 從 linux 寫入 uboot env 來設定 mac 與 序號

M360-PW# mgmt info list
 model-name       = M360-PW
 lan-mac          = 00:03:79:06:42:63
 wan-mac          = A6:D2:8C:00:C7:74
 sn               = BLAT63WJ0000
 smcsv            = 01F500001032E89A
 hmcsv            = 01F400661032E89A
 bootloader       = 1.0
 software-version = 3.10.14
 firmware-version = 1.03
 hardware-version = 0.1.0
 modem            = EC25EFAR06A06M4G
 IMEI             = 866758041514056
 uptime           = 00:01:15
 production       = Yes
M360-PW#

hmcsv 也需要再設定一下

直接刪掉再重開機即可

這樣一來 hmcsv 就會等於 smcsv


M360-PW# mgmt info list
 model-name       = M360-PW
 lan-mac          = 00:03:79:06:42:63
 wan-mac          = C6:05:20:3E:6B:D9
 sn               = BLAT63WJ0000
 smcsv            = 01F500001032E89A
 hmcsv            = 01F500001032E89A
 bootloader       = 1.0
 software-version = 3.10.14
 firmware-version = 1.03
 hardware-version = 0.1.0
 modem            = EC25EFAR06A06M4G
 IMEI             = 866758041514056
 uptime           = 00:01:01
 production       = Yes
M360-PW#

1115

幫忙 jessy 看 M330 的 WiFi STA

  • Vendor/Products = GENERIC/1_GENERIC_WIFI
  • Application
    • WIFI Support(STA mode)

前同事 林世宏 0922558324 來電

想問一下 proscend 目前有的職缺 PLM

因為他們公司已於今年四月底結束營業

找 spring 幫忙問一下

1435

M330[develop] - while connect to a WiFi network or delete a known one...

commit d281a41800b80f9d4e574c2e27f0bec203cdb6e4
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Sep 2 14:34:51 2019 +0800

    while connect to a WiFi network or delete a known one,
    after success responce received, reload after 5 second.

    give the icos module enough time to do.

 proscend/prosrc/www/app/feature/wifi_sta.html |  4 +--
 proscend/prosrc/www/app/feature/wifi_sta.js   | 45 ++++++++++++++++++++++-----
 2 files changed, 40 insertions(+), 9 deletions(-)