20180319_jeffrey - silenceuncrio/diary GitHub Wiki

0910

apple 開發者年費先前我幫公司代墊

剛剛用列印出來的電子發票請款

0930

commit 32486e88ff975484301de1fc24563ab26680d157
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 19 09:27:46 2018 +0800

    modify the panel title more clearly for 'IPS' web page

 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(-)

0935

commit 4cca7f0de15d2298f5db947784949f2d89edcb19
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 19 09:33:59 2018 +0800

    add the multi-language "key-value" for "MENU_IPS"

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

0940

先壓個日期給 ariel 關於 M300 還未完工的 task

  • a specail key to avoid break into uboot
    • 3/19 ~ 3/23
  • Study(IEC-62056-21, DNP3 and DLMS)
    • 3/19 ~ 4/3
  • VRRP(IPV6)
    • 4/9 ~ 4/20

1010

先做 a specail key to avoid break into uboot

參考先前的做法 - https://github.com/silenceuncrio/diary/wiki/20171030_jeffrey

紀錄一下 patch uboot 的步驟

  • bitbake u-boot-imx -c devshell
  • quilt new zero_bootdelay.patch
  • quilt add include/configs/mx6ul_14x14_evk.h
  • 修改 include/configs/mx6ul_14x14_evk.h
  • quilt refresh

得到 patches/zero_bootdelay.patch

Index: git/include/configs/mx6ul_14x14_evk.h
===================================================================
--- git.orig/include/configs/mx6ul_14x14_evk.h
+++ git/include/configs/mx6ul_14x14_evk.h
@@ -206,6 +206,10 @@
         "fi\0" \
     "no_good=.\0" \
     "uboot_env_ver=1.0\0" \
+	\
+	/* do not allow user stop autoboot - no chance to change the uboot env */ \
+	"bootdelay=0\0" \
+	\
     "bootcmd=mw 0x020A0004 00100000 1; mw 0x020E01CC 0x00000005 1;" \
         "run app_choose;" \
         "echo run bootargs_${app_primary}; run bootargs_${app_primary};" \

patches/zero_bootdelay.patch 複製到 meta-proscend/recipes-bsp/u-boot/files/

修改 meta-proscend\recipes-bsp\u-boot\u-boot-imx_2015.04.bbappend

diff --git a/meta-proscend/recipes-bsp/u-boot/u-boot-imx_2015.04.bbappend b/meta-proscend/recipes-bsp/u-boot/u-boot-imx_2015.04.bbappend
index d8cd58b..43cd031 100644
--- a/meta-proscend/recipes-bsp/u-boot/u-boot-imx_2015.04.bbappend
+++ b/meta-proscend/recipes-bsp/u-boot/u-boot-imx_2015.04.bbappend
@@ -13,6 +13,7 @@ SRC_URI_append_m300 = " \
     file://uboot_env_v1.0.patch \
     file://remove_fsl_usdhc_and_vedio.patch \
     file://use_usdhc_pad_ctrl_in_gpmi_pad_ctrl.patch \
+    file://zero_bootdelay.patch \
 "

 SRC_URI_append_m300e = " \

利用 bitbake u-boot-imx -c compile -vf 確認 compile 無誤

直接利用 source bimage.sh 產生 mfgtool image

1055

commit 155525a4fce29bde16caec1fc41de92c3833e117
Refs: [hotfix/v1.65], {origin/hotfix/v1.65}
Author: jeffrey <[email protected]>
Date:   Mon Mar 19 10:54:44 2018 +0800

    do not allow user stop autoboot - no chance to change the uboot env

 .../recipes-bsp/u-boot/files/zero_bootdelay.patch         | 15 +++++++++++++++
 .../recipes-bsp/u-boot/u-boot-imx_2015.04.bbappend        |  1 +
 2 files changed, 16 insertions(+)

1435

commit 2f98587859fddd82db9afd9beafd43245a2c66f5
Refs: [hotfix/v1.65], {origin/hotfix/v1.65}
Author: jeffrey <[email protected]>
Date:   Mon Mar 19 14:33:17 2018 +0800

    add more SMS actions for 'SMS' web page

 proscend/prosrc/www/app/feature/sms.js    | 12 ++++++++++++
 proscend/prosrc/www/app/locale-en.json    | 10 ++++++++++
 proscend/prosrc/www/app/locale-fr.json    | 10 ++++++++++
 proscend/prosrc/www/app/locale-zh-tw.json | 10 ++++++++++
 4 files changed, 42 insertions(+)

1700

M360-P 也順便改一下

commit 760f426bfbc9139baa4280a5e90e6eb0b98a9e15
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 19 16:57:33 2018 +0800

    add more SMS actions for 'SMS' web page

 proscend/prosrc/www/app/feature/sms.js    | 11 +++++++++++
 proscend/prosrc/www/app/locale-en.json    |  8 ++++++++
 proscend/prosrc/www/app/locale-fr.json    |  8 ++++++++
 proscend/prosrc/www/app/locale-zh-tw.json |  8 ++++++++
 4 files changed, 35 insertions(+)