20170613_jeffrey - silenceuncrio/diary GitHub Wiki
0910
降頻 旺宏 1 號
零下 30 度 放了一夜後 開機 成功
降溫到 零下 35 度
待會試試
0925
morris 轉寄一封信給我
是他在官方論壇關於 零下 40 度無法開機 發問的回覆
對方提到我們可以試著調整 Extended Mode Register (EMR) 試試
0930
monkeyjj time
1100
降頻 旺宏 1 號
零下 35 度 開機 失敗
連續開了快 10 次後成功了
把 uboot env bootdelay 改成 3
讓下次開機能進 uboot
關機放個 20 分鐘後再開機
利用 mw 020e0404 0001f039 11
把 NAND 相關的暫存器的 DSE 從 011
改成最強的 111
還是開不起來
試著去調整 DDR 相關的 DSE 值時發現 該 field 是 Read Only Field
而且值為 0 DSE - output driver disabled
跟 morris 聊過決定我目前就先不再花時間在這 issue 了
至於 feature branch low-temperature-boot-up
先等過一陣子 morris 多測個幾片看看效果如何
再來決定要不要 merge 到 branch develop
1315
回到 VRRP
先 review
參考官網 Github 的 index
我可以找到 Keepalived User Guide
的 index
先手工整理一下
- Introduction
- Software Design
- Load Balancing Techniques
- Installing Keepalived
- Keepalived configuration synopsis
- Keepalived programs synopsis
- IPVS Scheduling Algorithms
- IPVS Protocol Support
- Configuring SNMP Support
- Case Study: Healthcheck
- Case Study: Failover using VRRP
- Case Study: Mixing Healthcheck & Failover
- Terminology
- License
- About These Documents
- TODO List
1340
這是目前能找到的最完整的 keepalived 文件了
就耐著性子看吧
1350
怎麼寫 keepalived.conf
要參考 Keepalived configuration synopsis
1450
試著來解 0000386: web ui cache issue
切回 branch develop
順便 pull 最新的 code
➜ M300 git:(feature/vrrp) git checkout develop
Switched to branch 'develop'
Your branch is up-to-date with 'origin/develop'.
➜ M300 git:(develop) git pull
remote: Counting objects: 22, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 22 (delta 17), reused 0 (delta 0)
Unpacking objects: 100% (22/22), done.
From 192.168.0.242:RD/M300
3ba7eb3..95b82ef develop -> origin/develop
a3d92ef..67f87e7 release/v1.50 -> origin/release/v1.50
First, rewinding head to replay your work on top of it...
Fast-forwarded develop to 95b82ef4dcf9db0b615a2e30fb9322b690890818.
➜ M300 git:(develop) git pull
Current branch develop is up to date.
➜ M300 git:(develop)
以 develop 這個 branch 為底
開一條 解 web ui cache 用的 feature branch - web-ui-cache
➜ M300 git:(develop) git flow feature start web-ui-cache
Switched to a new branch 'feature/web-ui-cache'
Summary of actions:
- A new branch 'feature/web-ui-cache' was created, based on 'develop'
- You are now on branch 'feature/web-ui-cache'
Now, start committing on your feature. When done, use:
git flow feature finish web-ui-cache
➜ M300 git:(feature/web-ui-cache)
參考 proscend/prosrc/www/Makefile
針對 .js
以及 .css
的 cache 解法
label := $(shell date +'%Y%m%d%H%M%s')
################################################################################
# Target all
################################################################################
default:
@if [ $(_BRAND_ID) -eq 44 ]; then \
make handle_digicomm; \
else \
make handle_nobrand; \
fi
sed "s/\.js/\.js\?v=${label}/g; s/\.css/\.css\?v=${label}/g" index.html.src > index.html
1535
打完收工 一併 commit
commit 3d9b737a6b639da2713fb24029424cea8fd56be3
Author: jeffrey <[email protected]>
Date: Tue Jun 13 15:30:38 2017 +0800
Append unique query string for each 'ng-include' directive while compile time
- solve the web ui cache issue
- the '*.html.src's are the source code for '*.html' with the Makefile
先不決定 merge 回 develop
1610
monkeyjj time