IIC卡死了
正在layout一个8层全通孔的
用的两层板???
wupaul2001 说:主线是有这样的问题,直接把tina的内核单独出来使用就可以,我也没时间去patch主线
主线内核驱动的问题?
用tina的内核意思是还是按以前的主线做,然后用Tina生成的zImage替换主线生成的zImage?
对的,设备树也使用tina的
主线DE2驱动的问题,可以试试用6.x的内核
主线是有这样的问题,直接把tina的内核单独出来使用就可以,我也没时间去patch主线
试试换最新版本内核,5.2的DE2驱动有问题,虽然我patch了
有s4芯片,没跑起来过,求系统,哈哈哈
查看我的贴子
@aeo1234
选看看参数是否不对?位宽等等,具体你可以在DragonHD的dram_init右击修改。
dram的配置参数不对,先用DragonHD调试
psci是电源管理吧,跟can有关???
我分享了buildroot的版本,使用sytechkit的boot, tina的内核
可以
工业上用的基本就是FPGA
看我以前的贴子
比我用全志A133慢
买个深圳明纬也不贵,没必要吧?
@comer007
直接使用syterkit
或者你可以看看T113,内置异构核,应该可以实现你想要的功能
外挂一个MCU吧,两块多,你要精准控制,Linux做不到的
musich 说:想做ie1588时钟同步,收发dante,aes67,定时器实在是 太少了。
老哥你好,我看你对T113和V3S都有了解。公司现在让把V3S替换成T113和F133.这个方案可行嘛
可以,前提你要准备踩T113的坑
链接: https://pan.baidu.com/s/141U4VqiybjLGHXVZ6W6xbQ
提取码:eh7k
刚好在做这方面的东西
声卡驱动不支持,打开重采样应该就可以
不使用QT,使用lvgl刷屏
我在使用opencl做并行计算,发现GPU比CPU还慢,原因为内存瓶颈,还有一个,大佬有使用GPU刷屏的demo吗?正好需要一份
支不支持MPD, 刚在做相关的东西
linux实现不了吧,就算你硬件准确,中断也只是把任务加入到队列中吧,但任务什么时候执行是个不确定量
@Gentlepig
长期保存建议512M的SLC
如下图,想外扩一PSRAM作为显存,速度100MHz,除CS外数据线很短,要等长走线吗?
速度也不快不慢, 100M, 直接这么走过去 应该没问题吧.
就是片选CS有点长.
要串电脚,并且线要50欧的阻抗
@fj
这只是解决花屏的
@fj 启动参数加一个mem=(总内存大小-显存大小)
例如V3s, 系统内存64M, 驱动800x600的屏,显存大小=800x600x4约为2M, 所以启动参数mem=62M
V3S绝对有G2D
用AT32F421可以不,64脚的才2块多
使用无损能量回收
查查MDIO和MDC, init error是这两没通信正常
自己编译的主线表示没这现像,licheepi zero拆掉几个电阻试试
wupaul2001 说:电源问题,换个好点的电源就没事了,我的产品也遇到
ok谢谢!目前也是打算换电源.
最近又遇到了,把设备树usb_otg设为disabled好了
我以前就这么干过
电源问题,换个好点的电源就没事了,我的产品也遇到
大佬们好,我板上的PMU是AXP707, 但longanSDK里没这个PMU,只有AXP803, AXP806, AXP858, AXP2202。 请教我应该选那个?
[38145]fes begin:83e3c82
[38147]set pll start
[38149]periph0 has been enabled
[38153]set pll end
[38155][pmu]: bus read error
[38159]PMU: AXP803
[38179]vaild para:1 select dram para0
[38183]board init ok
[38185]beign to init dram
[38188]DRAM BOOT DRIVE INFO: V0.61
[38191]the chip id is 0x1400
[38194]the chip id is 0x1400
[38197]the chip id is 0x1400
[38200]the chip id is 0x1400
[38203]the chip id is 0x1400
[38206]chip id check OK
[38211]DRAM_VCC set to 1200 mv
[38241]DRAM retraining ten
[38271]DRAM retraining ten
[38302]DRAM retraining ten
[38331]DRAM retraining ten
[38335]init dram fail
用PhoenixSuit烧录时,串口打印这个,但DDR用dragonhd检测是正常的,现在怀疑是PMU问题,有大佬遇到过吗???
f1c200就算了,弄个T113-s3还可以
5.2内核中,DRM驱动有问题,不知道后面有没有改进,前面做一个热成像与普通摄像头图像混合时发这个问题,但在我对DRM的各种偿试,把DRM的寄存器与功能摸彻底后,驱动就更正了,但由于是保密项目,就没patch到主线
can you suggest any specific emmc5.0 part? 4 bit, which can work with D1.
emmc bit0~bit3 connect to D1 SD port D0~D3, emmc clk connect to SD port clk, emmc cmd connect to SD port cmd, emmc bit4~bit7 no connect, rst no connect
坐等开卖
不行,没驱动,早试过了
求百度云链接
百度云太慢了,按楼上教程生成就可以
百度云失效了,能不能补一下连接?
楼上有教程
你用SOC去干这事,只能是这速度
需要V3s的 DE的手册,但原厂好像没公开
5.2的内核
用程序翻转都这样的了,STM32也是一样,要快,用TMR + DMA翻转
@checkout
还真是我做的固件
都不是。patch是我自己做的,你可以更新新版的内核,看看驱动是否有被patch了
@chenzh
你试试更新版本,modetest不正常是因为DRM驱动有问题。我有patch正常的驱动,但因保密问题,不能共享
改用XR819吧,一直在用,比ESP8089稳定,又便宜
如果是要实时显示,还得弄DRM,这个好像驱动不完善
DDR4后可以不等长
请问大佬们,那里能买到AIC800的芯片??能批量吗??
正在写一个SPI转64个IO, 但速度不快
FPGA用在高速响应场合
@哇酷小二
有空可以了解openpose这个库
@哇酷小二
晕哥,v3s性能不行,我已经研究详细算法了,必须有NPU才能实现 防瞌睡? 检测司机打电话?
我现在正在搞这么一个项目,使用RV1126实现,带2T NPU,要使用RKNN把人体识别模型转过来
我有现成的环境,至于串口配置,还要看你原理图
需求説説
我能搞到最新固件,但驱动不知道能否搞到,现在我用XR819
怎么把我的图都截了?
wupaul2001 说:已经成功跑起来,并且使用自己的文件系统,但是有一个不好的,就是只能从flash启动
二个不好,就是只能用I2C烧空片,还要买一个下载器。是这样吗?(我还没有跑过)
资料获取程度,下载方式,启动方式。。。都不爱
可是,A7 x 2 + 128M 又很勾引人,毕竟现在是用 F1C100S 跑 debian。。
所以,是想画一块SSD的板子,但有点的下不了手的感觉。有点 dirty
---
求助:有没有网友可以把下载器件的 EEPROM dump 出来发一下呢
如果有下载器 EEPROM,我想做一个下载器 onboard 的板子
不然,,,就整一块 A20
如果你是新手,暂时不建议玩,主线不支持,驱动不开源
wupaul2001 说:已经成功跑起来,并且使用自己的文件系统,但是有一个不好的,就是只能从flash启动
二个不好,就是只能用I2C烧空片,还要买一个下载器。是这样吗?(我还没有跑过)
资料获取程度,下载方式,启动方式。。。都不爱
可是,A7 x 2 + 128M 又很勾引人,毕竟现在是用 F1C100S 跑 debian。。
所以,是想画一块SSD的板子,但有点的下不了手的感觉。有点 dirty
---
求助:有没有网友可以把下载器件的 EEPROM dump 出来发一下呢
如果有下载器 EEPROM,我想做一个下载器 onboard 的板子
不然,,,就整一块 A20
是的,要买一个下载器,55块,这个就不要自己干了吧。
已经打样,并贴好片,系统也完成跑起来了,但不是用这个转的文件打的样
已经成功跑起来,并且使用自己的文件系统,但是有一个不好的,就是只能从flash启动
车载上用
我的华为P40,插上显示器就有这桌面,不用装
v3s 内蒙用,还算正常
z真的假的呀,F1C200S会不会断货呀
200s比V3s断货还早,手上还有200多只上过机没上电的。需要可联系。
大家都是通过谁家买的V3S芯片啊,我需要点搞样机
直接断了,我想入3K都没货了
拆机包好15/片
wupaul2001 说:热风枪吹不坏的
汕头佬会用正常的320度吹?他们会用450度速战速决,或者直接下锅。
我手里有汕头来的F1C200S,坏的,表面塑料都起皮了。
所以我可以保证好的
zzm24 说:由于价格问题转向淘宝6元拆机,2000目砂纸打磨后上机,生产出来贼漂亮了
烧录,测试,结果翻车了.晶振不起振,DRAM坏,莫名不开机,翻车了,大家慎买F1C100S的拆机F1c的封装的问题,热风吹两下就坏。这种带内存合封的芯片经不起汕头佬那种高温或者油炸暴力拆机。
热风枪吹不坏的
想要的,我热风枪拆,这样能保证不坏
wupaul2001 说:还有200多上过机的,没通电的
是连板子一起卖么?
拆卖
200s
还有200多上过机的,没通电的
以前做过,合泰的方案
设置EMMC使用UDA区启动
u-boot里运行mmcpart 0 0 7 0
谢谢大佬
像这种搞个芯片资料还要遮遮掩掩的,我直接就排除了。国外的芯片生怕你不知道芯片的资料,国内的刚好反过来,话说开放这些资料主要是怕竞争对手抄还是怎么地?
这个芯片是台湾的
如题
直接上一套麦景图好了,懒得折腾
40楼
看gstreamer相关资料41楼
gst-omx认不出全志在openmax自己定义的颜色空间
看一楼的openmax接口修改部分
一种可能是没按照我说的添加颜色空间 另一种可能是添加了 但是buildroot编译标记没清理好导致改的没编译42楼
gst对omx注册失败
看一楼的gst-omx注册部分
你在説我踩DE的坑吗?我已经完全填好了,只是还没有共享上来。F1C那个不能半透的BUG,在V3s上也有,我已经填好
wupaul2001 说:不想换内核的话。修改/drivers/gpu/drm/sun4i/sun4i_tcon.c
-tcon->dclk_min_div = 6;
+tcon->dclk_min_div = 1;
这个就是分频设置了吧
解决最小分频限制
wupaul2001 说:我使用5,2的内核
我使用的也是5.2的内核 您是从那个地址clone的?
主线clone的
不想换内核的话。修改/drivers/gpu/drm/sun4i/sun4i_tcon.c
-tcon->dclk_min_div = 6;
+tcon->dclk_min_div = 1;
我使用5,2的内核
查查emmc clk的信号完整性
不用搞了,直接换新的内核,虽然我知道是那里问题,根本问题不在设备树
这个可是2018年的新版本,并不是网上能下载到的2016年老版本。xr819.rar
@skliu 要么是你走线有问题
看着挺好好的,就是64M DDR2小了一点
三个SPI线用普通GPIO模拟SPI实现
谢谢分享,晚上试用一吓
wupaul2001 说:狗用的不是舵机,用的是FOC的无刷电机
谢谢指正,请问FOC能否做到关节静止保持一个角度?
可以的
wupaul2001 说:调整姿态
我怀疑是舵机必须有一定速度才能微调和维持某个角度,否则会过流?
狗用的不是舵机,用的是FOC的无刷电机
好像是基于MIT的狗。
一个疑问,为什么机器狗即使不跑动也得不停原地踏步呢?看到好多机器狗都这样
调整姿态
大佬搞搞AIC-510的看看
阿里兄好
参考BSP,把驱动移过来
准确定位,应该使用PID控制
我两台放公司还好
可以使用Dispaly Engine实现硬件拉绅
不disable也可以的,DRM初始化后,会接管FB0
我想起来那个BUG不是存在内核,是U-BOOT,而且是X3的BUG
可以,串四个电容就行
觉得你寻找问题的方向错了
1.你设备树中Panel节点对应的LCD型号选对了吗?
2.fb0是drm上真实的一个层
3.Linux 4版本VSYNC控制有一个BUG, 具体看你屏使用的是DE MODE还是SYNC
4.你的问题应该出在屏的时序上,而不是FB
平台是v3s
camera你们自己选,我测试的是ov5640
sun6i-csi.zippatch支持JPEG输出
可喜可贺啊 有代码没?
寻找aodzip大佬的贴子
最后更新了一版,支持mjpeg,晚点上
已经成功在主线上v3s硬解H264
H3效能太差了,不建议玩
修改文件 drivers/rtc/rtc-sun6i.c
添加
#define SUN6I_LOSC_CTRL_FIX BIT(15) //fix bug, when powerdown
#define SUN6I_LOSC_CTRL_EXT_OSC_GSM BIT(3)
修改
/* Switch to the external, more precise, oscillator */
writel(SUN6I_LOSC_CTRL_KEY | SUN6I_LOSC_CTRL_EXT_OSC | SUN6I_LOSC_CTRL_EXT_OSC_GSM | SUN6I_LOSC_CTRL_FIX,
rtc->base + SUN6I_LOSC_CTRL);
批量8块多,我v3s上用上了
没有大佬遇到过吗???
如题
V3s中间的热焊盘有焊上吗?那个必须焊的,是V3s的GND
改调试串口非常麻烦,不建议改
看不清楚你EMMC和TF切换用的啥芯片
有大佬带玩FOC更好
我有一批RGB接口800x480的
做了两年的电源,但不想努力了
两层板应该可以,很快就得试试了
你问的应该是dvp,这个是支持的
csi摄像头吧,不支持
大佬巨作
F1C200s用户能用的端点只有3个
到MPS看
我加你
大佬我QQ是110460775
看了下OV5647在主线的驱动,输出的格式好像只支持MEDIA_BUS_FMT_SBGGR8_1X8
而我5640的DEMO是MEDIA_BUS_FMT_UYVY8_2X8
你可能要自己改很多东西
好的,那我换个摄像头吧,谢谢大佬指点了
你方便远程么?
media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080]'
可以的,能加一吓吗?
可能是因为摄像头不支持FPS设置,尝试这个指令
media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080]'
大佬,能帮忙看看吗?
我试了那命令,还是不行,估计是不支持了。我用media-ctl -p打印如下
Device topology
- entity 1: sun6i-csi (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "ov5647 1-0036":0 [ENABLED,IMMUTABLE]
- entity 5: ov5647 1-0036 (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev0
pad0: Source
-> "sun6i-csi":0 [ENABLED,IMMUTABLE]
可能是因为摄像头不支持FPS设置,尝试这个指令
media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080]'
好的, 我明天试试,谢谢指点
这个驱动在编写的时候,是基于
Buildroot环境buildroot 2020.02.1
Linux Kernel版本5.4.35你先准备一个相同的环境,内核我认为都是5.4版本的就可以接受
环境弄好了,运行media-ctl报
# media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080@1/15]'
Unable to setup formats: Inappropriate ioctl for device (25)
请先严格按照github上所指示的环境和初始化方法配置。
buildroot 2019把media-ctl去掉了,我该怎么弄,我是v3s
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-licheepi-zero+ (paulwu@paulwu-virtual-machine) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #57 SMP Mon May 25 13:44:58 CST 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 15784
[ 0.000000] Normal zone: 124 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 15784 pages, LIFO batch:3
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] pcpu-alloc: s34508 r8192 d22836 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15660
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 50572K/63136K available (7168K kernel code, 303K rwdata, 1968K rodata, 1024K init, 268K bss, 12564K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2fc/0x488 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000213] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000465] Console: colour dummy device 80x30
[ 0.000764] printk: console [tty0] enabled
[ 0.000822] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000853] pid_max: default: 32768 minimum: 301
[ 0.001024] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001056] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001897] CPU: Testing write buffer coherency: ok
[ 0.002472] /cpus/cpu@0 missing clock-frequency property
[ 0.002517] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003353] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003613] rcu: Hierarchical SRCU implementation.
[ 0.004189] smp: Bringing up secondary CPUs ...
[ 0.004229] smp: Brought up 1 node, 1 CPU
[ 0.004246] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.004261] CPU: All CPU(s) started in SVC mode.
[ 0.005357] devtmpfs: initialized
[ 0.009161] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.009525] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.009575] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009844] pinctrl core: initialized pinctrl subsystem
[ 0.011013] NET: Registered protocol family 16
[ 0.011614] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.012924] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.012973] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.039450] SCSI subsystem initialized
[ 0.039780] usbcore: registered new interface driver usbfs
[ 0.039867] usbcore: registered new interface driver hub
[ 0.039992] usbcore: registered new device driver usb
[ 0.040421] mc: Linux media interface: v0.10
[ 0.040485] videodev: Linux video capture interface: v2.00
[ 0.040836] Advanced Linux Sound Architecture Driver Initialized.
[ 0.042375] clocksource: Switched to clocksource arch_sys_counter
[ 0.054758] NET: Registered protocol family 2
[ 0.055616] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.055685] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055725] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.055756] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.055921] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.055988] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.056335] NET: Registered protocol family 1
[ 0.057302] RPC: Registered named UNIX socket transport module.
[ 0.057349] RPC: Registered udp transport module.
[ 0.057362] RPC: Registered tcp transport module.
[ 0.057375] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.059997] Initialise system trusted keyrings
[ 0.060422] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.068745] NFS: Registering the id_resolver key type
[ 0.068833] Key type id_resolver registered
[ 0.068850] Key type id_legacy registered
[ 0.068877] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.104345] Key type asymmetric registered
[ 0.104391] Asymmetric key parser 'x509' registered
[ 0.104502] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.104528] io scheduler mq-deadline registered
[ 0.104543] io scheduler kyber registered
[ 0.109950] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.110479] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.111378] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.179835] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.183305] printk: console [ttyS0] disabled
[ 0.203639] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.765386] printk: console [ttyS0] enabled
[ 0.793147] 1c28800.serial: ttyS1 at MMIO 0x1c28800 (irq = 37, base_baud = 1500000) is a U6_16550A
[ 0.804317] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.840350] panel-simple panel: panel supply power not found, using dummy regulator
[ 0.849922] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.862282] libphy: Fixed MDIO Bus: probed
[ 0.867252] PPP generic driver version 2.4.2
[ 0.871890] PPP BSD Compression module registered
[ 0.876684] PPP Deflate Compression module registered
[ 0.881759] PPP MPPE Compression module registered
[ 0.886578] NET: Registered protocol family 24
[ 0.891182] usbcore: registered new interface driver asix
[ 0.896698] usbcore: registered new interface driver ax88179_178a
[ 0.902872] usbcore: registered new interface driver cdc_ether
[ 0.908745] usbcore: registered new interface driver net1080
[ 0.914468] usbcore: registered new interface driver cdc_subset
[ 0.920419] usbcore: registered new interface driver zaurus
[ 0.926062] usbcore: registered new interface driver simcom_wwan
[ 0.932138] usbcore: registered new interface driver sierra_net
[ 0.938149] usbcore: registered new interface driver cdc_ncm
[ 0.943835] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.950356] ehci-platform: EHCI generic platform driver
[ 0.955939] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.961567] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.969580] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[ 1.002386] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.009638] hub 1-0:1.0: USB hub found
[ 1.013641] hub 1-0:1.0: 1 port detected
[ 1.018292] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.024648] ohci-platform: OHCI generic platform driver
[ 1.030229] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.036986] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.044966] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[ 1.117475] hub 2-0:1.0: USB hub found
[ 1.121334] hub 2-0:1.0: 1 port detected
[ 1.128933] usbcore: registered new interface driver usb-storage
[ 1.135283] usbcore: registered new interface driver usbserial_generic
[ 1.141861] usbserial: USB Serial support registered for generic
[ 1.147991] usbcore: registered new interface driver option
[ 1.153644] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.160782] usbcore: registered new interface driver qcserial
[ 1.166640] usbserial: USB Serial support registered for Qualcomm USB modem
[ 1.174253] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.185799] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.191586] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.200953] hub 3-0:1.0: USB hub found
[ 1.204984] hub 3-0:1.0: 1 port detected
[ 1.211145] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.216351] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.221027] i2c /dev entries driver
[ 1.225840] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[ 1.241427] bm_cw2015_init
[ 1.245032] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.253845] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.290370] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.297736] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.332474] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.340682] usbcore: registered new interface driver usbhid
[ 1.346384] usbhid: USB HID core driver
[ 1.354882] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.362526] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.370075] Initializing XFRM netlink socket
[ 1.374534] NET: Registered protocol family 17
[ 1.379625] Key type dns_resolver registered
[ 1.384205] Registering SWP/SWPB emulation handler
[ 1.390189] Loading compiled-in X.509 certificates
[ 1.400452] simple-framebuffer 43da8000.framebuffer: framebuffer at 0x43da8000, 0x258000 bytes, mapped to 0x(ptrval)
[ 1.411165] simple-framebuffer 43da8000.framebuffer: format=x8r8g8b8, mode=1024x600x32, linelength=4096
[ 1.431195] Console: switching to colour frame buffer device 128x37
[ 1.447318] simple-framebuffer 43da8000.framebuffer: fb0: simplefb registered!
[ 1.457761] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc084b380)
[ 1.465551] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc084867c)
[ 1.473486] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.480256] [drm] No driver support for vblank timestamp query.
[ 1.486337] checking generic (43da8000 258000) vs hw (0 ffffffff)
[ 1.486344] fb0: switching to sun4i-drm-fb from simple
[ 1.491753] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.505301] Console: switching to colour dummy device 80x30
[ 1.511235] mmc0: new high speed SDHC card at address 0001
[ 1.518786] mmcblk0: mmc0:0001 N1BN1 7.52 GiB
[ 1.525001] mmcblk0: p1 p2
[ 1.530517] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.584642] Console: switching to colour frame buffer device 128x37
[ 1.608202] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[ 1.616836] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[ 1.625671] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[ 1.636094] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.644762] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T01:14:47 UTC (4487)
[ 1.653452] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.665301] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.676133] vcc3v0: disabling
[ 1.683126] vcc5v0: disabling
[ 1.689943] ALSA device list:
[ 1.696706] #0: V3s Audio Codec
[ 1.704505] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.717099] cfg80211: failed to load regulatory.db
[ 1.758347] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.770763] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.785121] devtmpfs: mounted
[ 1.793540] Freeing unused kernel memory: 1024K
[ 1.802285] Run /sbin/init as init process
[ 1.951507] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 2.188946] random: dd: uninitialized urandom read (512 bytes read)
[ 3.769924] random: crng init done
请提供更详细的信息:Linux版本,media-ctl所使用的参数,dmesg日志
而且github上的版本比坑网缓存的驱动改动已经很大了,你是从github同步的代码吗?
我是从github下的,我文件系统没安装media-ctl,系统是linux 5.2
白嫖: https://github.com/aodzip/sun6i-mipi-csi
MIPI-CSI2 驱动已经测试OV5640摄像头2Lane模式 1080P@15FPS 720P@30FPS
DVP没测试,因为主线本身就支持DVP,希望没给它改坏吧以下由 @哇酷小二 2020-05-04 添加:
-------------------------------------不方便打开github的朋友可以此处下载: sun6i-mipi-csi_20200504.7z
大佬,我移植后,运行fswebcam出现以下情况,请是什么问题?我用的摄像头是ov5647
# fswebcam -S 5 -d /dev/video0 -p YUV420P -r 320x240 test.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Error starting stream.
VIDIOC_STREAMON: Invalid argument
Unable to use mmap. Using read instead.
Unable to use read.
为啥不直接移植tslib的呢,这个触摸库非常完善
核心板默认没带任何储存,价格也做了修改,不带EMMC 79、带8G 三星 EMMC 99,不包邮,大家对包邮不太满意,对于买多个核心板的用户不划算,所以取消包邮降低售价,批量价格Q详谈。
昨晚付款了,什么时候能发货??
不用研究了,F1C100s看门狗初始化不对,你试试热重启,如果重启不了,看门狗就不正常了
nano pi没上拉电阻,要自己加
I2c加上拉电阻
要修改的地方太多了,倒不改个PCB实际
开发板还没定价,核心板大概几十元,比全淘宝A33核心板要便宜不少,主要走量!
512M版本大概什么时候有???
@晕哥, I2C地址不一样
对,同关注
F1c200s 硬件只有三个端点可用,估计无解了。
SIM7600CE的我填好了
gawk 这个不用管,要管的是下面两个报错
也就是说wifi驱动没有bug,设备树配置修改就可以了?
不是,内核,驱动,设备树配置都得改
终于驱动起来了
brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac";
};
最后不要中断,否则会出现超时
linux 5.X 内核wifi有bug, 请大家注意。具体请看
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git/commit/?id=91046d6364afde646734c7ead1f649d253c386e9
# [ 232.527064] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
# [ 235.282051] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 235.291898] ieee80211 phy1: brcmf_bus_started: failed: -110
[ 235.301435] ieee80211 phy1: brcmf_attach: dongle is not responding: err=-110
[ 235.313568] brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed
新问题又来了
问题已找到,是驱动早于rootfs加载,所以驱动不能编译到内核,只能编译为模块,然后加载,否则就会找不到固件
https://blog.csdn.net/mike8825/article/details/51171055
https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/errno-base.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_GENERIC_ERRNO_BASE_H #define _ASM_GENERIC_ERRNO_BASE_H #define EPERM 1 /* Operation not permitted */ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */ #define EINTR 4 /* Interrupted system call */ #define EIO 5 /* I/O error */ #define ENXIO 6 /* No such device or address */ #define E2BIG 7 /* Argument list too long */ #define ENOEXEC 8 /* Exec format error */ #define EBADF 9 /* Bad file number */ #define ECHILD 10 /* No child processes */ #define EAGAIN 11 /* Try again */ #define ENOMEM 12 /* Out of memory */ #define EACCES 13 /* Permission denied */ #define EFAULT 14 /* Bad address */ #define ENOTBLK 15 /* Block device required */ #define EBUSY 16 /* Device or resource busy */ #define EEXIST 17 /* File exists */ #define EXDEV 18 /* Cross-device link */ #define ENODEV 19 /* No such device */ #define ENOTDIR 20 /* Not a directory */ #define EISDIR 21 /* Is a directory */ #define EINVAL 22 /* Invalid argument */ #define ENFILE 23 /* File table overflow */ #define EMFILE 24 /* Too many open files */ #define ENOTTY 25 /* Not a typewriter */ #define ETXTBSY 26 /* Text file busy */ #define EFBIG 27 /* File too large */ #define ENOSPC 28 /* No space left on device */ #define ESPIPE 29 /* Illegal seek */ #define EROFS 30 /* Read-only file system */ #define EMLINK 31 /* Too many links */ #define EPIPE 32 /* Broken pipe */ #define EDOM 33 /* Math argument out of domain of func */ #define ERANGE 34 /* Math result not representable */ #endif
看起来是目录或文件不存在: No such file or directory
晕哥,我目录和文件都对的
如题
终端打印
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-licheepi-zero+ (paulwu@paulwu-virtual-machine) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #41 SMP Tue Mar 10 23:13:46 PDT 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16129
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 51424K/65024K available (8192K kernel code, 319K rwdata, 2016K rodata, 1024K init, 269K bss, 13600K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2fc/0x488 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000204] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000441] Console: colour dummy device 80x30
[ 0.000738] printk: console [tty0] enabled
[ 0.000793] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000823] pid_max: default: 32768 minimum: 301
[ 0.000991] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001022] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001835] CPU: Testing write buffer coherency: ok
[ 0.002401] /cpus/cpu@0 missing clock-frequency property
[ 0.002449] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003303] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003560] rcu: Hierarchical SRCU implementation.
[ 0.004134] smp: Bringing up secondary CPUs ...
[ 0.004175] smp: Brought up 1 node, 1 CPU
[ 0.004193] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.004207] CPU: All CPU(s) started in SVC mode.
[ 0.005287] devtmpfs: initialized
[ 0.008934] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.009282] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.009333] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009587] pinctrl core: initialized pinctrl subsystem
[ 0.010726] NET: Registered protocol family 16
[ 0.011316] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.012617] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.012665] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.038941] SCSI subsystem initialized
[ 0.039258] usbcore: registered new interface driver usbfs
[ 0.039340] usbcore: registered new interface driver hub
[ 0.039462] usbcore: registered new device driver usb
[ 0.039737] mc: Linux media interface: v0.10
[ 0.039792] videodev: Linux video capture interface: v2.00
[ 0.040093] Advanced Linux Sound Architecture Driver Initialized.
[ 0.042095] clocksource: Switched to clocksource arch_sys_counter
[ 0.053867] NET: Registered protocol family 2
[ 0.054698] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.054769] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.054807] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.054840] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.054995] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.055058] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.055385] NET: Registered protocol family 1
[ 0.056331] RPC: Registered named UNIX socket transport module.
[ 0.056376] RPC: Registered udp transport module.
[ 0.056390] RPC: Registered tcp transport module.
[ 0.056402] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.058959] Initialise system trusted keyrings
[ 0.059390] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.067757] NFS: Registering the id_resolver key type
[ 0.067841] Key type id_resolver registered
[ 0.067857] Key type id_legacy registered
[ 0.067887] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.103864] Key type asymmetric registered
[ 0.103911] Asymmetric key parser 'x509' registered
[ 0.104022] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.104052] io scheduler mq-deadline registered
[ 0.104067] io scheduler kyber registered
[ 0.109259] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.109731] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.110592] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.179327] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.182706] printk: console [ttyS0] disabled
[ 0.203025] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.764809] printk: console [ttyS0] enabled
[ 0.790741] 1c28800.serial: ttyS1 at MMIO 0x1c28800 (irq = 37, base_baud = 1500000) is a U6_16550A
[ 0.801761] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.837510] panel-simple panel: panel supply power not found, using dummy regulator
[ 0.847024] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.858930] libphy: Fixed MDIO Bus: probed
[ 0.863847] PPP generic driver version 2.4.2
[ 0.868510] PPP BSD Compression module registered
[ 0.873305] PPP Deflate Compression module registered
[ 0.878379] PPP MPPE Compression module registered
[ 0.883200] NET: Registered protocol family 24
[ 0.887935] usbcore: registered new interface driver asix
[ 0.893497] usbcore: registered new interface driver ax88179_178a
[ 0.899639] usbcore: registered new interface driver cdc_ether
[ 0.905563] usbcore: registered new interface driver net1080
[ 0.911289] usbcore: registered new interface driver cdc_subset
[ 0.917286] usbcore: registered new interface driver zaurus
[ 0.922949] usbcore: registered new interface driver simcom_wwan
[ 0.929005] usbcore: registered new interface driver sierra_net
[ 0.935007] usbcore: registered new interface driver cdc_ncm
[ 0.940670] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.947219] ehci-platform: EHCI generic platform driver
[ 0.952774] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.958406] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.966415] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[ 1.002069] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.009320] hub 1-0:1.0: USB hub found
[ 1.013292] hub 1-0:1.0: 1 port detected
[ 1.017959] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.024315] ohci-platform: OHCI generic platform driver
[ 1.029892] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.036640] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.044637] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[ 1.117149] hub 2-0:1.0: USB hub found
[ 1.121007] hub 2-0:1.0: 1 port detected
[ 1.128676] usbcore: registered new interface driver usb-storage
[ 1.135003] usbcore: registered new interface driver usbserial_generic
[ 1.141589] usbserial: USB Serial support registered for generic
[ 1.147713] usbcore: registered new interface driver option
[ 1.153369] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.160540] usbcore: registered new interface driver qcserial
[ 1.166416] usbserial: USB Serial support registered for Qualcomm USB modem
[ 1.173983] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.185512] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.191302] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.200748] hub 3-0:1.0: USB hub found
[ 1.204758] hub 3-0:1.0: 1 port detected
[ 1.210938] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.216144] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.220799] i2c /dev entries driver
[ 1.225748] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[ 1.237260] bm_cw2015_init
[ 1.240090] cw2015_probe...
[ 1.334045] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.342889] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.379753] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.387079] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.422170] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.430471] usbcore: registered new interface driver usbhid
[ 1.436157] usbhid: USB HID core driver
[ 1.442488] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.450024] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.457620] Initializing XFRM netlink socket
[ 1.461953] NET: Registered protocol family 17
[ 1.467009] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1.474727] Key type dns_resolver registered
[ 1.479265] Registering SWP/SWPB emulation handler
[ 1.485481] Loading compiled-in X.509 certificates
[ 1.495734] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0x(ptrval)
[ 1.506357] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[ 1.518828] Console: switching to colour frame buffer device 60x34
[ 1.527445] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[ 1.537766] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc094b380)
[ 1.549167] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc094867c)
[ 1.560714] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.571172] [drm] No driver support for vblank timestamp query.
[ 1.580971] fb0: switching to sun4i-drm-fb from simple
[ 1.589204] Console: switching to colour dummy device 80x30
[ 1.596013] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.606920] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.618850] mmc0: new high speed SDHC card at address aaaa
[ 1.620818] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
[ 1.623423] mmcblk0: p1 p2
[ 1.626888] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.628393] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.629887] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.632578] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.646592] random: fast init done
[ 1.647213] mmc1: new high speed SDIO card at address 0001
[ 1.650913] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
[ 1.651144] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.bin failed with error -2
[ 1.704014] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 1.704648] scsi host0: usb-storage 1-1:1.0
[ 1.931135] Console: switching to colour frame buffer device 128x37
[ 2.069133] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[ 2.081121] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[ 2.093528] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[ 2.107517] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 2.119907] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T01:56:29 UTC (6989)
[ 2.132272] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.147666] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.158272] vcc3v0: disabling
[ 2.165068] vcc5v0: disabling
[ 2.171658] ALSA device list:
[ 2.178208] #0: V3s Audio Codec
[ 2.185926] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.198381] cfg80211: failed to load regulatory.db
[ 2.252896] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[ 2.269809] EXT4-fs (mmcblk0p2): recovery complete
[ 2.280318] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.292399] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.304252] devtmpfs: mounted
[ 2.312396] Freeing unused kernel memory: 1024K
[ 2.320927] Run /sbin/init as init process
[ 2.458899] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
brcmfmac43362-sdio.bin 和brcmfmac43362-sdio.txt都放到lib/firmware/brcm里了
自己修改一吓驱动就可以
直接调用槽函数
参考了坛上一位高人的贴子,到内核里打开watchdog,但是结果仍然无法重启。
由于项目需要,于是用了奋战了一个晚上到3点,终找到了问题所在, 其实就是watchdog的寄存器偏移不对,最后只要修改sunxi-f1c100s.dtsi
把wdt: watchdog@1c20ca0 {
compatible = "allwinner, suniv-f1c100s-wdt",
"allwinner, sun4i-a10-wdt";
reg = <0x1c20ca0 0x20>;
}
改为
wdt: watchdog@1c20ca0 {
compatible = "allwinner, suniv-f1c100s-wdt",
"allwinner, sun6i-a31-wdt";
reg = <0x1c20ca0 0x20>;
}
这样就能正常重启了,我使用的是5.2的内核,其它的内核有可能不存在这个情况
存储器使用的是TF卡,如果是SPI NAND,请修改驱动退出4byte模式
好像是转接板电源没接通
1W5有点小
有可能,我查一下。
另外,在uboot中需要保留这个1MB吗?我看有人说需要设置CONFIG_SYS_MEM_TOP_HIDE
Continuity with Linux Boot Logo
If you want Linux to keep your U-Boot Logo during boot process, then some tweaks are needed:
define CONFIG_SYS_MEM_TOP_HIDE in U-Boot configuration file, here we reserve 2MBytes:
#define CONFIG_SYS_MEM_TOP_HIDE (2 << 20)
Uboot本来就用这1M作为fb
谢谢楼主分享,我f1c也有同样问题。不过我在玩a33主线Linux的时候,没有这个问题,我也没有去设置kernel的mem大小,为什么就没问题呢?按照一楼的思路,只要不保留高位地址就应该会出问题
不一定在启动参数,可以在设备树中保留, 可以修改ioremap保留,方法各式各样
终于有人对这个问题动手了,这也是困扰了我很久的问题。感谢分享
不过内核的东西我了解很少,请问这里的“mem=63M“,是在uboot里设置的传递给kernel的参数的吗?就是修改uboot中的bootargs,加上这么一句?
对的
普通CR2302也得充电,应该在1N4148上并一个1K的电阻,1N4148换成BAT54, 4148压降有点大了
由于f1c系列的性价比,所以我选用了f1c做产品,但所有程序和硬件都做好时,突然想起了从u-boot启动到kernal出现1秒的花屏这个问题,这问题客户是百分百不能接受的,于是花了两天时间去解决这问题。
1。从u-boot的源代码 /drivers/video/sunix/sunix_display.c里找到sunxi_simplefb_setup这个函数,再往里面看找到
start = gd->bd->bi_dram[0].start;
size = gd->bd->bi_dram[0].size - sunxi_display.fb_size;
这两行代码説明,framebuffer的内存是放到总内存大小的最后,gd->bd->bi_dram[0].start,gd->bd->bi_dram[0].size这两个是Uboot从硬件里获取到的内存起始地址及大小。
于是在网上找资料,找了很多资料都説fb放到最后就不会被kernal覆盖掉。但奇怪了,fb已经在最后了为啥还是花屏。
2。直接今天看到/drivers/video/sunix/sunix_display.c, 里有这么一段话
/*
* Do not report the framebuffer as free RAM to the OS, note we cannot
* use fdt_add_mem_rsv() here, because then it is still seen as RAM,
* and e.g. Linux refuses to iomap RAM on ARM, see:
* linux/arch/arm/mm/ioremap.c around line 301.
*/
于是在网上再找资料,无意中看到一篇文章説用cat /proc/iomem查看kernal中占用的RAM空间,运行后,注意到80000000-83FFFFFF : System RAM
靠,这不是把fb干掉了,难怪花屏,然后按着文章试用在uboot的启动参数里加入memmap=1m$0x83EFFFFF,结果还是不行,试了好几个memmap方式都不行, 最后想了一吓反正kernal都是从0x80000000开始,我是否可以用mem=63M的参数限制kernal的RAM空间呢。抱着一丝的希望。结果成功了,启动不花屏了。
3。最后提醒大家,fb这个空间不一定是1M的,空间最小大小是按屏幕分辩率的,例如我的480x272的屏为例最小大小为480x272x4=510K,为了方便,我直接保留1M,还有,我的CPU是F1C200s,所以我的是mem=63M, 如果是100s那就应该是31M了。
本人写作水平有限,敬请见谅
EC200与合宇宙同价
https://whycan.cn/files/members/3/2019-12-23_143701.png
cd /opt/buildroot-2019.08-sf/output/build/qt5serialbus-5.12.4/examples/serialbus/modbus/master /opt/buildroot-2019.08-sf/output/host/bin/qmake master.pro make
跟着楼上试了一把, 一切正常。
谢谢晕哥,我路径错了
使用Buildroot编译出来的Qmake编译异常,我有个APP需要用到serialport和mutilmedia模块,可是明明在menuconfig已经选择了这两个模块,qmake -v里指向引用的lib也找到,可是一编译就报Error unknow module: serialport mutilmedia.有朋友遇到过吗???
最近较忙,没时间处理
刚入坑,这几天正在写驱动......
@晕哥,有必要买那么贵?我手上的才99块
WM_HideWindow应用于所有控件
换回2017, 不是QT5.12.4, 低版本QT不支持Mqtt, 一连串的不支持
@checkout 谢谢了
如题
@晕哥 都没封
@晕哥 我也是沿海的,我这边光纤都是单独外网IP的
一个产线上的设备
@晕哥 用电信
能上网就有公网IP
@晕哥,能发出测试视频看看效果吗
有兄弟有F1C上可以高效执行的壳么?
@晕哥 咋不自己搭?比这个便宜多了,我公司两台服务器,才4K多一台. 我们自己写了个程序,动态IP也能公网访问
加密芯片能保证都是密文发送