20171102_jeffrey - silenceuncrio/diary GitHub Wiki

0920

這兩天先讓 emmc 的進度告一段落

v1.60 並不急著要 release emmc 的版本

0935

emmc 適用的 rc.local 和 nand flash 的不同

要在 compile 階段就能產生差異

注意到 source code 的 m300/proscend 目錄

build@2f192722794e:/var/m300/proscend$ ls -al
...
drwxrwxr-x  3 build build 4096 Dec 23  2016 base_fs
drwxrwxr-x  4 build build 4096 Oct  2 01:56 customer_fs
drwxrwxr-x  3 build build 4096 Dec 23  2016 deploy_fs
...

用集合概念來看的話

base_fs + customer_fs = deploy_fs

1440

commit bbfdce11b9f77a32b33b4a6308406ec7f81e9f68
Author: jeffrey <[email protected]>
Date:   Thu Nov 2 14:40:16 2017 +0800

    refactoring the eMMC mfgtool's script - ucl2.xml
    - after formatting partition 4, do not mkdir anything

 .../emmc/mfgtools/Profiles/Linux/OS Firmware/ucl2.xml | 19 -------------------
 1 file changed, 19 deletions(-)

1510

為了 eMMCNAND Flash 在 rootfs 的差異化開始修改

commit cbdb13eb60943ce39e3324b797772ab629f8cc08
Author: jeffrey <[email protected]>
Date:   Thu Nov 2 15:08:57 2017 +0800

    according to the different storage memory to 'patch' our rootfs
    - memory_fs/emmc
      - use eMMC as storage memory
    - memory_fs/nandflash
      - use NAND Flash as storage memory

 proscend/Makefile | 2 ++
 1 file changed, 2 insertions(+)

1515

原本在 base_fs 裡的 rc.local 現在沒作用了

commit 4cf2f0fe99475bbeadd0cf6e2ba08d7a91ad1115
Author: jeffrey <[email protected]>
Date:   Thu Nov 2 15:16:14 2017 +0800

    remind anyone who want to modify 'rc.local'

 proscend/base_fs/default/rootfs/etc/fw_env.config |  18 +-
 proscend/base_fs/default/rootfs/etc/rc.local      | 316 +---------------------
 2 files changed, 15 insertions(+), 319 deletions(-)

修改一下內容提醒後續想要修改的同仁

/etc/fw_env.config 應該沒人會去動

1520

整個 memory_fs folder 漏了

commit 7ca0e3da4cacc7d2c9fa6f05183c368009cfb768
Author: jeffrey <[email protected]>
Date:   Thu Nov 2 15:20:26 2017 +0800

    add memory_fs

 proscend/memory_fs/Makefile                        |  16 ++
 .../emmc/default/rootfs/etc/fw_env.config          |   6 +
 .../memory_fs/emmc/default/rootfs/etc/rc.local     | 285 +++++++++++++++++++
 .../nandflash/default/rootfs/etc/fw_env.config     |   6 +
 .../nandflash/default/rootfs/etc/rc.local          | 309 +++++++++++++++++++++
 5 files changed, 622 insertions(+)

1615

eMMCNAND Flash 初步的並存還算滿意

eMMC 後續還有

  • image generation for firmware upgrade
  • firmware upgrade process
  • others uboot env
    • sys led
    • bootdelay
  • default hw_mcsv

1845

fix mantis issue

commit 376e373a4ed5365d504fba026b74c84c9b8b2dc5
Author: jeffrey <[email protected]>
Date:   Thu Nov 2 18:41:02 2017 +0800

    fix mantis issue 552: Firmware Upgrade progress bar become abnormal after time sync.
    - use another way to measure the time

 proscend/prosrc/icos/script/FirmwareProgress.sh | 4 ++--
 proscend/prosrc/icos/script/FirmwareUpgrade.sh  | 2 +-
 proscend/prosrc/www/app/feature/firmware.js     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)