One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/usr/bin/env bash | |
# 配置每个 fork 文件存储位置 | |
PATH_FORK=/data/forks/dragonpilot | |
PATH_GERNBY=${PATH_FORK}/gernby | |
PATH_OPENPILOT=${PATH_FORK}/openpilot | |
PATH_DRAGONPILOT=${PATH_FORK}/dragonpilot | |
# 配置每个 fork 的 git 地址 | |
GIT_GERNBY=https://github.com/Gernby/openpilot |
#!/sbin/sh | |
source /sdcard/bash_init.sh |
main()
https://github.com/commaai/panda/blob/7bd01a5f04/board/main.c#L746
init_interrupts(true);
https://github.com/commaai/panda/blob/7bd01a5f04/board/main.c#L748
初始化定时器中断
REGISTER_INTERRUPT(TIM1_BRK_TIM9_IRQn, TIM1_BRK_TIM9_IRQ_Handler, 2U, FAULT_INTERRUPT_RATE_TIM1)
https://github.com/commaai/panda/blob/7bd01a5f04/board/main.c#L751
https://github.com/commaai/panda/blob/7bd01a5f04/board/main.c#L671
[ | |
{ | |
"id": "jiejing/1.html", | |
"pathname": "上清桥南天桥南北主路 双向(包括辅路)", | |
"pointx": "116.364376", | |
"pointy": "40.023619", | |
"title": "上清桥南天桥", | |
"description": "南北双向,位于京藏高速上,包括辅路" | |
}, | |
{ |
I encounter the same problem.
Here is my solution. Briefly speaking, it can be solved by recompiling the android source. Patients are needed.
1, Following the instruction here https://source.android.com/source/initializing.html to initialize a build environment.
2, Download the source code from git (Take about 1 hour with 10 M bandwidth).
3, Modify the path_to_working_directory/frameworks/av/cmds/screenrecord/screenrecord.cpp by changing the kMaxTimeLimitSec to 7200 (means 2 hours).
#show branches | |
repo branches | |
#init branch | |
repo init -b android-6.0.1_r81 | |
#start branch | |
repo start android-6.0.1_r81 --all |
setprop persist.sys.timezone $(curl -s -m5 https://ipapi.co/timezone) |
# EXAMPLE OUTPUT | |
# ============== | |
# opening device 0xddcc | |
# connected | |
# tester present ... | |
# read data by id: boot software id ... | |
# 39990-TVA-A110 | |
# read data by id: application software id ... | |
# 39990-TVA-A150 | |
# read data by id: application data id ... |
# | |
## poppler | |
# | |
# dependences | |
sudo apt-get install build-essential cmake libfreetype6-dev libfontconfig1-dev libnss3-dev libjpeg-dev libcairo2-dev libopenjp2-7-dev libsignon-qt5-dev libgirepository1.0-dev libcurlpp-dev libtiff-dev liblcms2-dev libboost-dev libcurl4-openssl-dev libfuzzy-dev | |
# get soruce code | |
wget https://poppler.freedesktop.org/poppler-0.85.0.tar.xz | |
# extract | |
tar xvf poppler-0.85.0.tar.xz | |
# make config |