页次: 1
请教,这样做以后,如何配置屏幕分辨率呢?
1.使用Linux5.2内核,Br为2020版本
2.屏分辨率为1024x600
3.修改Uboot中参数为CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:33000,le:198,ri:120,up:21,lo:821,hs:2,vs:2,sync:3,vmode:0"
4.编译运行,Uboot运行时显示: Error need 2400kB for fb, but only 2048kB is reserved. 进入Linux后,没有生成/dev/fb0
5.修改Uboot参数,改回800x480.则一切正常
请教大佬们,如何解决?谢谢
项目要求实现准确的300us间隔,读取AD数据。可如何实现呢?
1、HRtimer
可实现基于ns的定时,但不准确,参考文章,文章结论,在系统负载大时,定时不准确:
https://blog.csdn.net/qq_33406883/article/details/99641461
2、基于内核定时器
只能ms级定时
3、看设备树,V3S的3个内部定时器都占用。是不是自己的驱动就不能用这3个定时器了?
4、V3S内部有个HS timer,似乎可以用?但没搜到用法。
5、设置一个周期300us的PWM信号,接到Gpio接口上,用GPIO中断来实现?
大佬们有什么建议?
下载Linux源码出错。
>>> linux-headers zero-4.13.y Downloading
Reinitialized existing Git repository in /home/sinlinx/code/licheepi-zero/buildroot-2018.08.2/dl/linux/git/.git/
Fetching all references
ssh: Could not resolve hostname https: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Detected a corrupted git cache.
Removing it and starting afresh.
Initialized empty Git repository in /home/sinlinx/code/licheepi-zero/buildroot-2018.08.2/dl/linux/git/.git/
Fetching all references
ssh: Could not resolve hostname https: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Detected a corrupted git cache.
This is the second time in a row; bailing out
--2022-08-27 21:14:37-- http://sources.buildroot.net/linux/linux-zero-4.13.y.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-08-27 21:14:38 ERROR 404: Not Found.
问题解决,写错了git地址
页次: 1