init
This commit is contained in:
99
02. PARA/01. Project(專案)/008. Sentinel.md
Normal file
99
02. PARA/01. Project(專案)/008. Sentinel.md
Normal file
@@ -0,0 +1,99 @@
|
||||
# Setup enviroment
|
||||
- Setup Gerrit first: [HA (Highly Available) Production Gerrit Infrastructure](https://spaces.logitech.com/display/VCE/HA+%28Highly+Available%29+Production+Gerrit+Infrastructure)
|
||||
- [Kong Build Instructions (CI Team)](https://spaces.logitech.com/pages/viewpage.action?pageId=69534226)
|
||||
|
||||
# Build Code
|
||||
## Fetch code
|
||||
### From vc.gerrit.logitech.com
|
||||
- `repo init -u ssh://ahuang11@vc.gerrit.logitech.com:29418/manifest -b pacman`
|
||||
- Gerrit HTTP password: IMlLvOUW5NCZcvwq84YrdRs6eL89Dy3AOGokmPOREw
|
||||
|
||||
### From Lesley's server
|
||||
- IP: 172.23.163.201 Port: 22
|
||||
- username/passwd: lhsieh1/lhsieh1
|
||||
- Path
|
||||
- **/homeMTK/awin/mt-8195**: 更新 MTK code 到這版:`pacman-t-alps-release-r0.mp6.tc41sp-V1.19.1.xml`
|
||||
- **/homeMTK/awin/mt-8195_sentinel-dev**: 更新 FIH code 到這版:`sentinel-dev_manifest-0.000.16.xml`
|
||||
- 要抓 MTK apk Sample code 建議從 `/homeMTK/awin/mt-8195` 來抓,因為不確定 FIH 現在的 code 是對照到 MTK 哪個版本
|
||||
- mt-8195: Pacman branch
|
||||
- mt-8195_sentinel-dev: sentinel-dev branch
|
||||
- mt-8195_sentinel-logi: sentinel-logi branch
|
||||
|
||||
## Sync Code
|
||||
Sync code commands:
|
||||
1. Sync the manifests
|
||||
```
|
||||
repo init -u https://sg1-mirror.gerrit.logitech.com/manifest.git -b pacman
|
||||
```
|
||||
`sg1-mirror.gerrit.logitech.com` can be changed to the following servers:
|
||||
* us1-mirror.gerrit.logitech.com (US West)
|
||||
* eu1-mirror.gerrit.logitech.com (EU East)
|
||||
* sg1-mirror.gerrit.logitech.com (Singapore)
|
||||
* in1-mirror.gerrit.logitech.com (India)
|
||||
|
||||
2. Sync the code with the specific version
|
||||
1. Set the manifest by the repo init, for example:
|
||||
```
|
||||
repo init -m pacman-t-alps-release-r0.mp6.tc41sp-V1.19.1.xml
|
||||
```
|
||||
`pacman-t-alps-release-r0.mp6.tc41sp-V1.19.1.xml` can be replaced by the other .xml in `.repo/manifests`.
|
||||
|
||||
2. Sync up the codes
|
||||
```
|
||||
time repo sync -j16 -c --no-tags
|
||||
```
|
||||
Note: `-j16` is used for 8 cores
|
||||
|
||||
## Reference:
|
||||
1. https://spaces.logitech.com/display/VCE/HA+%28Highly+Available%29+Production+Gerrit+Infrastructure
|
||||
2. https://spaces.logitech.com/pages/viewpage.action?pageId=69534226
|
||||
|
||||
# ADB command
|
||||
## Get version
|
||||
```
|
||||
adb shell getprop ro.build.fingerprint
|
||||
|
||||
or
|
||||
|
||||
adb shell getprop ro.vendor.mediatek.version.release
|
||||
```
|
||||
|
||||
## Enable the UVC mode
|
||||
```
|
||||
adb root ;\
|
||||
adb shell setprop vendor.debug.camera.custzone.lt 1 ;\
|
||||
adb shell setprop vendor.debug.camera.lt.fence.enable 1 ;\
|
||||
adb shell setprop vendor.debug.camera.lt.inline.wpe 1 ;\
|
||||
adb shell setenforce 0 ;\
|
||||
adb shell setprop sys.usb.config uvc
|
||||
```
|
||||
|
||||
## Switch camera ID
|
||||
```
|
||||
adb shell setprop debug.webcam.cam.id 1
|
||||
```
|
||||
|
||||
## Disable/Enable Sleep mode
|
||||
- Prevent to sleep: `adb shell "echo test > /sys/power/wake_lock"`
|
||||
- Allow to sleep: `adb shell "echo test > /sys/power/wake_unlock"`
|
||||
|
||||
# MTK demo code
|
||||
- `vendor/mediatek/proprietary/packages/apps/DPTZDemo`
|
||||
|
||||
# Firmware
|
||||
- [PACMAN Firmware build](https://drive.google.com/drive/folders/1wycKlDQv-CHEd_5BZFLwn9ibhTTphOAN)
|
||||
- [FIH Firmware build](https://drive.google.com/drive/u/0/folders/1-Pgfttm-tFUdMetCK2WHZH4cXrryydz9)
|
||||
|
||||
# Docs
|
||||
- [MTK參考文件](https://docs.google.com/document/d/12TbyjaSt2emCZu9NvD4cptN4pc0fkVxj1H3wOoN7X0U/edit#heading=h.gl7sjp6n8i2o)
|
||||
- [Branch意義解釋文件](https://docs.google.com/presentation/d/1iHnoIcCqpXh2v7qpmepuUxciawdDsbhJN5H6zYYEMpg/edit#slide=id.g109895f3f92_0_224)
|
||||
- [Sentinel EVT/DVT Sample Requirements](https://docs.google.com/spreadsheets/d/1uOLk1UU7T-ay-1TZfN1CLIhYqdwqbgGGZwfjRmMMcj0/edit#gid=0)
|
||||
- [Firmware comparison](https://spaces.logitech.com/pages/viewpage.action?pageId=135939412)
|
||||
|
||||
# Jira
|
||||
- [[Sentinel][Tiny] HDR Requirements and System Design](https://jira.logitech.com/browse/VC-67445)
|
||||
- [[Sentinel] APP for testing the image quality](https://jira.logitech.com/browse/VC-63616)
|
||||
- [MTK ISP Pipeline: Data path implementation with single camera](https://jira.logitech.com/browse/VC-67422)
|
||||
- [MTK ISP Pipeline: Data path implementation with dual camera](https://jira.logitech.com/browse/VC-67420)
|
||||
- [[Sentinel][FIH] adb port connection hang](https://jira.logitech.com/browse/VC-64910)
|
||||
- 解決device會hang的問題
|
||||
Reference in New Issue
Block a user