20180503_jeffrey - silenceuncrio/diary GitHub Wiki

0900

review

0945

修一下 M360 的 mac 取得方式

commit 0816726824a56ea33563fd390fe5112bf64cd9ef
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu May 3 09:41:25 2018 +0800

    use uboot env 'macaddr' instead of 'ethaddr' to set 'eth0 hw ether'
    - we can not set 'ethaddr' from uboot

 proscend/base_fs/default/rootfs/etc/rc.local | 60 +++++++++-------------------
 1 file changed, 18 insertions(+), 42 deletions(-)

macaddr 為主, ethaddr 為輔

  • macaddr 有設定的話就用 macaddr 的值當 mac
  • macaddr 沒設定的話就用 ethaddr 的值當 mac
  • 若連 ethaddr 也沒設定的話, 就使用 00:03:79:FF:FF:FF

1155

M360 小修

commit 7a1f4b21c44a152f110d50d882f7ceba3e218f2c
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu May 3 11:54:36 2018 +0800

    correct the IPv6 shared memory:
    - Router only / Bridge only:
      - ICOS_shm_status_update(SHM_LTE0_PROTO6, 0, &(local_lte_dpnp[0].ip6info));
    - Bridge+Router:
      - ICOS_shm_status_update(SHM_LTE1_PROTO6, 0, &(local_lte_dpnp[1].ip6info));

 proscend/prosrc/www/app/feature/status.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

1635

把 M300 的 image 拿去 M360 用會讓 M360 的畫面停在 40% 就不動了