20190222_jeffrey - silenceuncrio/diary GitHub Wiki

0855

昨天下班前 proscend 外層已經 build 好了

不過 git pull 並沒有發現 john 有任何 commit

make[3]: Entering directory `/home/user/proscend/opensrc/inadyn-mt.v.02.28.10'
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I ./m4
aclocal-1.14: warning: couldn't open directory './m4': No such file or directory
Can't locate Autom4te/C4che.pm in @INC (you may need to install the Autom4te::C4che module) (@INC contains: /home/user/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/../host/share/autoconf /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/user/staging_dir/host/bin/autom4te line 39.
BEGIN failed--compilation aborted at /home/user/staging_dir/host/bin/autom4te line 39.
aclocal-1.14: error: echo failed with exit status: 2
make[3]: *** [aclocal.m4] Error 2
make[3]: Leaving directory `/home/user/proscend/opensrc/inadyn-mt.v.02.28.10'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/proscend/opensrc/inadyn-mt.v.02.28.10'
make[1]: *** [build] Error 1
make[1]: Leaving directory `/home/user/proscend/opensrc'
make: *** [opensrc] Error 2
user@3b95631f73fe:~/proscend$

果然出現根昨天一樣的錯誤

今天還是可以做 web

進了 proscend/prosrc/www 後還是可以 make

而且 make react 也可以

就從 device tftp 需要的檔案吧

1140

jessy 表示他 build proscend/opensrc/inadyn-mt.v.02.28.10 也會有錯誤

就先不要去 build 該套件

diff --git a/proscend/opensrc/Makefile b/proscend/opensrc/Makefile
index e89cbab..d09d109 100644
--- a/proscend/opensrc/Makefile
+++ b/proscend/opensrc/Makefile
@@ -27,7 +27,7 @@ dir_$(PROSRC_DHCPC) += dhcpcd-6.11.3
 dir_$(PROSRC_SNTP) += chrony-2.4
 dir_$(PROSRC_HPING3) += hping-master
 #dir_$(PROSRC_SSH) += dropbear-2016.74
-dir_$(PROSRC_DDNSD) += inadyn-mt.v.02.28.10
+#dir_$(PROSRC_DDNSD) += inadyn-mt.v.02.28.10
 # Ariel: pptpd is here is unable to pass compiler; however I add a pptpd in SDK packages
 #dir_$(PROSRC_PPTPD) += pptpd-1.4.0

多給 john 一些時間去改吧

那我就先來遺失的 ospfd 和 bgpd 找回來

diff --git a/M330_defconfig b/M330_defconfig
index b34f278..e70cf4b 100644
--- a/M330_defconfig
+++ b/M330_defconfig
@@ -3316,12 +3316,12 @@ CONFIG_PACKAGE_mcproxy=y
 # CONFIG_PACKAGE_parprouted is not set
 CONFIG_PACKAGE_quagga=y
 # CONFIG_PACKAGE_quagga-babeld is not set
-# CONFIG_PACKAGE_quagga-bgpd is not set
+CONFIG_PACKAGE_quagga-bgpd=y
 # CONFIG_PACKAGE_quagga-isisd is not set
 # CONFIG_PACKAGE_quagga-libospf is not set
 CONFIG_PACKAGE_quagga-libzebra=y
 # CONFIG_PACKAGE_quagga-ospf6d is not set
-# CONFIG_PACKAGE_quagga-ospfd is not set
+CONFIG_PACKAGE_quagga-ospfd=y
 CONFIG_PACKAGE_quagga-ripd=y
 # CONFIG_PACKAGE_quagga-ripngd is not set
 # CONFIG_PACKAGE_quagga-vtysh is not set

proscend 外層直接 source proenv.sh 後再 make

1300

proscend 外層 build 好了

build 內層吧

透過 uboot upgrade rootfs 試試 - run lf; run bootcmd

ospfd 和 bgpd 都有了

1315

M330 - OSPF 測試 PASS

1330

M330 - BGP 測試 PASS

上 code 吧

commit 45a86c8b11a816a11864b9b93b10198392d93c14
Refs: [feature/proscend-porting], {origin/feature/proscend-porting}
Author: jeffrey <[email protected]>
Date:   Fri Feb 22 13:32:06 2019 +0800

    turn on the compile flag 'CONFIG_PACKAGE_quagga-ospfd' and 'CONFIG_PACKAGE_quagga-bgpd'

 M330_defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

1335

盤一下這周的工作摘要

  • M330
    • GUI
    • VRRP
      • testing PASS (with M300)
    • GRE
      • testing PASS (with M300)
    • PPTP
      • testing PASS
    • RIP
      • testing PASS (with M300)
    • OSPF
      • turn on at kernel config
      • testing PASS (with M300)
    • BGP
      • turn on at kernel config
      • testing PASS (with M300)
  • M300
    • bootloader version for eMMC

寫週報吧