20170907_jeffrey - silenceuncrio/diary GitHub Wiki

0915

今天來解 mantis issue 502: We need a way to prevent FirmwareUpgrade.sh be called again while it is busy

1330

解決 mantis issue 502

commit 761a206ef13e6ca160a5339f48a79f06d8c8284e
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Sep 7 13:25:45 2017 +0800

    Fix mantis issue 502: We need a way to prevent FirmwareUpgrade.sh be called again while it is busy
    - while firmware upgrade, ignore the following sigal
      - SIGINT: Ctrl-C
      - SIGTSTP: Ctrl-Z
      - SIGTERM: kill
    - ignore these signals is necessary because some ubi related commands need works together

1410

OSPF 開工

commit ced3f96c257ad991daadcb8201b6708e88a79876
Author: jeffrey <[email protected]>
Date:   Thu Sep 7 14:11:00 2017 +0800

    'OSPF' ICOS module implementing
    - let the proscend 'make menuconfig' recognize it

 proscend/mconfig/Config.in                              | 1 +
 proscend/mconfig/configs/Azuretec/0_LTR-101/defconfig   | 1 +
 proscend/mconfig/configs/Azuretec/1_LTRG-101/defconfig  | 1 +
 proscend/mconfig/configs/Azuretec/2_LTR-102/defconfig   | 1 +
 proscend/mconfig/configs/Azuretec/3_LTRG-102/defconfig  | 1 +
 proscend/mconfig/configs/Azuretec/4_OLTR-101/defconfig  | 1 +
 proscend/mconfig/configs/Azuretec/5_OLTRG-101/defconfig | 1 +
 proscend/mconfig/configs/Azuretec/6_OLTR-102/defconfig  | 1 +
 proscend/mconfig/configs/Azuretec/7_OLTRG-102/defconfig | 1 +
 proscend/mconfig/configs/M300/0_GENERIC/defconfig       | 1 +
 proscend/mconfig/configs/M300/1_GPS/defconfig           | 1 +
 proscend/mconfig/configs/M300/2_PLANET/defconfig        | 1 +
 proscend/mconfig/configs/M300/3_GPS_PLANET/defconfig    | 1 +
 13 files changed, 13 insertions(+)

1610

OSPF icos module 搞定... 不過還沒真把 ospfd 叫起來

commit f5e46e15abbe3cb5ce006a1c5077417be783394b
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Sep 7 16:09:51 2017 +0800

    'OSPF' ICOS module implementing
    - add 'MODULE_OSPF' into moduleInitAry[]
    - add ospfModule
    - add factory default configuration
    - in ospfModule._notify
      - PRO_EVENT 'ICOS_UCAST_MODULE_APPLY' not implement yet

 .../rootfs/home/factory/icos/ospf/ospfcfg.ini      |  18 +
 proscend/prosrc/icos/icoslib/Makefile              |   3 +
 proscend/prosrc/icos/icoslib/entry.c               |   7 +
 proscend/prosrc/icos/icoslib/ospf/Makefile         |  13 +
 proscend/prosrc/icos/icoslib/ospf/ospf.c           | 405 +++++++++++++++++++++
 proscend/prosrc/icos/include/icos_common.h         |   2 +-
 proscend/prosrc/icos/include/module_ospf.h         | 102 +++---
 7 files changed, 494 insertions(+), 56 deletions(-)