您尚未登录。

#4 Re: 全志 SOC » T113-S3 RGB液晶颜色不对 » 2024-11-19 12:07:57

billymc 说:
wupaul2001 说:

主线是有这样的问题,直接把tina的内核单独出来使用就可以,我也没时间去patch主线

主线内核驱动的问题?
用tina的内核意思是还是按以前的主线做,然后用Tina生成的zImage替换主线生成的zImage?

对的,设备树也使用tina的

#5 Re: 全志 SOC » V3s DRM 有2个plane不能显示是为啥? » 2024-11-15 00:20:23

主线DE2驱动的问题,可以试试用6.x的内核

#6 Re: 全志 SOC » T113-S3 RGB液晶颜色不对 » 2024-11-15 00:18:56

主线是有这样的问题,直接把tina的内核单独出来使用就可以,我也没时间去patch主线

#8 Re: 全志 SOC » 分享一个自己做的T113-S3/S4开发板 » 2024-11-05 22:52:11

soso 说:

有s4芯片,没跑起来过,求系统,哈哈哈

查看我的贴子

#9 Re: 全志 SOC » T113-I ddr初始化失败[悬赏200块] » 2024-11-02 14:00:35

@aeo1234

选看看参数是否不对?位宽等等,具体你可以在DragonHD的dram_init右击修改。

#11 Re: 全志 SOC » T113-I ddr初始化失败[悬赏200块] » 2024-10-31 13:17:14

dram的配置参数不对,先用DragonHD调试

#12 Re: 全志 SOC » T113 longan SDK适配T113S4卡optee » 2024-10-28 14:22:58

psci是电源管理吧,跟can有关???

#13 Re: 全志 SOC » T113 2024年最新SDK(包含Risv 代码) » 2024-10-28 14:19:11

我分享了buildroot的版本,使用sytechkit的boot, tina的内核

#20 Re: 工业芯 匠芯创 » Linux系统驱动步进电机方案探索 » 2024-09-13 12:23:48

或者你可以看看T113,内置异构核,应该可以实现你想要的功能

#21 Re: 工业芯 匠芯创 » Linux系统驱动步进电机方案探索 » 2024-09-13 12:22:46

外挂一个MCU吧,两块多,你要精准控制,Linux做不到的

#22 Re: 工业芯 匠芯创 » D13x 有现成的 ntp 功能吗? » 2024-09-04 00:29:43

nanchen 说:
musich 说:

想做ie1588时钟同步,收发dante,aes67,定时器实在是 太少了。

老哥你好,我看你对T113和V3S都有了解。公司现在让把V3S替换成T113和F133.这个方案可行嘛

可以,前提你要准备踩T113的坑

#27 Re: 全志 SOC » A133 使用GPU做OpenCL 并行运算 » 2024-08-28 15:11:33

我在使用opencl做并行计算,发现GPU比CPU还慢,原因为内存瓶颈,还有一个,大佬有使用GPU刷屏的demo吗?正好需要一份

#29 Re: 全志 SOC » 请教V3S Linux下实现准确的300us硬件定时? » 2024-07-23 16:47:16

linux实现不了吧,就算你硬件准确,中断也只是把任务加入到队列中吧,但任务什么时候执行是个不确定量

#31 Re: 全志 SOC » 如图,想外扩一PSRAM作为显存,速度100MHz,除CS外数据线很短,要等长走线吗? » 2024-06-25 15:34:38

musich 说:

如下图,想外扩一PSRAM作为显存,速度100MHz,除CS外数据线很短,要等长走线吗?

速度也不快不慢, 100M, 直接这么走过去 应该没问题吧.

就是片选CS有点长.

https://whycan.com/files/members/834/PSRAM.png

要串电脚,并且线要50欧的阻抗

#33 Re: 全志 SOC » 全志T113,uboot下l和内核启动后logo大小不一致 » 2024-06-25 15:09:29

@fj 启动参数加一个mem=(总内存大小-显存大小)
例如V3s, 系统内存64M, 驱动800x600的屏,显存大小=800x600x4约为2M, 所以启动参数mem=62M

#38 Re: 全志 SOC » v3s + 800*480 lcd +qt 设置UI背景为黑色的时,网络提示 link is down? » 2023-08-19 13:54:50

自己编译的主线表示没这现像,licheepi zero拆掉几个电阻试试

#39 Re: 全志 SOC » T113-S3 一个很奇怪的USB问题 » 2023-07-09 01:06:23

Winston 说:
wupaul2001 说:

电源问题,换个好点的电源就没事了,我的产品也遇到

ok谢谢!目前也是打算换电源.

最近又遇到了,把设备树usb_otg设为disabled好了

#41 Re: 全志 SOC » T113-S3 一个很奇怪的USB问题 » 2023-03-14 23:42:46

电源问题,换个好点的电源就没事了,我的产品也遇到

#43 全志 SOC » 请教longan » 2022-09-23 12:31:30

wupaul2001
回复: 0

大佬们好,我板上的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问题,有大佬遇到过吗???

#45 Re: 全志 SOC » 怎么判断v3s已经是硬解 » 2022-04-25 17:36:38

5.2内核中,DRM驱动有问题,不知道后面有没有改进,前面做一个热成像与普通摄像头图像混合时发这个问题,但在我对DRM的各种偿试,把DRM的寄存器与功能摸彻底后,驱动就更正了,但由于是保密项目,就没patch到主线

#46 Re: 全志 SOC » allwinner D1-H ,anyone please help me with eMMC schematic connection? » 2022-04-18 11:53:16

jagrutvaghela@vegg.co.in 说:

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

#49 Re: 全志 SOC » f1c100s linux 5.2 USB已完美驱动,host+device完美运行 » 2021-12-14 22:17:03

光速进行时 说:

求百度云链接

百度云太慢了,按楼上教程生成就可以

#50 Re: 全志 SOC » f1c100s linux 5.2 USB已完美驱动,host+device完美运行 » 2021-12-11 15:28:42

caoke 说:

百度云失效了,能不能补一下连接?

楼上有教程

#52 Re: 全志 SOC » V3S 主线,怎么启用 DRM? » 2021-12-04 15:58:33

需要V3s的 DE的手册,但原厂好像没公开

#54 Re: 全志 SOC » F1C100S I/O翻转频率比较低的问题? » 2021-12-04 15:55:34

用程序翻转都这样的了,STM32也是一样,要快,用TMR + DMA翻转

#56 Re: 全志 SOC » V3S 主线,怎么启用 DRM? » 2021-11-30 23:57:09

都不是。patch是我自己做的,你可以更新新版的内核,看看驱动是否有被patch了

#57 Re: 全志 SOC » V3S 主线,怎么启用 DRM? » 2021-11-27 00:29:35

@chenzh

你试试更新版本,modetest不正常是因为DRM驱动有问题。我有patch正常的驱动,但因保密问题,不能共享

#59 Re: 全志 SOC » v3s 上调 MIPI-CSI2 摄像头 » 2021-11-16 00:25:12

如果是要实时显示,还得弄DRM,这个好像驱动不完善

#61 全志 SOC » 请问大佬们,那里能买到AIC800的芯片??能批量吗?? » 2021-11-03 18:01:27

wupaul2001
回复: 5

请问大佬们,那里能买到AIC800的芯片??能批量吗??

#65 Re: 全志 SOC » 淘宝V3s摄像头(防瞌睡? 检测司机打电话?)卡在gc0403驱动,有能力继续研究的朋友送两台拆解,跟帖或者联系微信 whycan_cn » 2021-07-05 16:54:34

@哇酷小二
晕哥,v3s性能不行,我已经研究详细算法了,必须有NPU才能实现 防瞌睡? 检测司机打电话?
我现在正在搞这么一个项目,使用RV1126实现,带2T NPU,要使用RKNN把人体识别模型转过来

#66 Re: 全志 SOC » 帮定制V3S的sdk,有偿 » 2021-03-20 10:19:31

我有现成的环境,至于串口配置,还要看你原理图

#68 Re: 全志 SOC » 分享一个好不容易下载到的 XR829 Datasheet V1.0.pdf » 2021-02-13 23:37:12

我能搞到最新固件,但驱动不知道能否搞到,现在我用XR819

#70 Re: SigmaStar/SSD201/SSD202/SSD212 » 有坛友玩SSD201的吗? » 2021-02-09 15:05:04

EE 说:
wupaul2001 说:

已经成功跑起来,并且使用自己的文件系统,但是有一个不好的,就是只能从flash启动

二个不好,就是只能用I2C烧空片,还要买一个下载器。是这样吗?(我还没有跑过)

资料获取程度,下载方式,启动方式。。。都不爱

可是,A7 x 2 + 128M 又很勾引人,毕竟现在是用 F1C100S 跑 debian。。

所以,是想画一块SSD的板子,但有点的下不了手的感觉。有点 dirty

---

求助:有没有网友可以把下载器件的 EEPROM dump 出来发一下呢

如果有下载器 EEPROM,我想做一个下载器 onboard 的板子

不然,,,就整一块 A20

如果你是新手,暂时不建议玩,主线不支持,驱动不开源

#71 Re: SigmaStar/SSD201/SSD202/SSD212 » 有坛友玩SSD201的吗? » 2021-02-09 15:03:38

EE 说:
wupaul2001 说:

已经成功跑起来,并且使用自己的文件系统,但是有一个不好的,就是只能从flash启动

二个不好,就是只能用I2C烧空片,还要买一个下载器。是这样吗?(我还没有跑过)

资料获取程度,下载方式,启动方式。。。都不爱

可是,A7 x 2 + 128M 又很勾引人,毕竟现在是用 F1C100S 跑 debian。。

所以,是想画一块SSD的板子,但有点的下不了手的感觉。有点 dirty

---

求助:有没有网友可以把下载器件的 EEPROM dump 出来发一下呢

如果有下载器 EEPROM,我想做一个下载器 onboard 的板子

不然,,,就整一块 A20

是的,要买一个下载器,55块,这个就不要自己干了吧。

#72 Re: SigmaStar/SSD201/SSD202/SSD212 » 转自Q群的 SSD201/SSD202/SSD20X AD/DXP 原理图与PCB » 2021-02-08 16:12:24

已经打样,并贴好片,系统也完成跑起来了,但不是用这个转的文件打的样

#73 Re: SigmaStar/SSD201/SSD202/SSD212 » 有坛友玩SSD201的吗? » 2021-02-08 16:10:33

已经成功跑起来,并且使用自己的文件系统,但是有一个不好的,就是只能从flash启动

#77 Re: 全志 SOC » V3S好像快断货了,都快买不到芯片了 » 2021-01-27 12:00:24

fastspeet 说:

z真的假的呀,F1C200S会不会断货呀


200s比V3s断货还早,手上还有200多只上过机没上电的。需要可联系。

#78 Re: 全志 SOC » V3S好像快断货了,都快买不到芯片了 » 2021-01-26 13:48:03

varzhou 说:

大家都是通过谁家买的V3S芯片啊,我需要点搞样机


直接断了,我想入3K都没货了

#80 Re: 全志 SOC » F1C100s涨价又缺货,有什么推荐的替代? » 2021-01-25 18:30:23

Blueskull 说:
wupaul2001 说:

热风枪吹不坏的

汕头佬会用正常的320度吹?他们会用450度速战速决,或者直接下锅。
我手里有汕头来的F1C200S,坏的,表面塑料都起皮了。

所以我可以保证好的

#81 Re: 全志 SOC » F1C100s涨价又缺货,有什么推荐的替代? » 2021-01-25 16:59:06

Blueskull 说:
zzm24 说:

由于价格问题转向淘宝6元拆机,2000目砂纸打磨后上机,生产出来贼漂亮了
烧录,测试,结果翻车了.晶振不起振,DRAM坏,莫名不开机,翻车了,大家慎买F1C100S的拆机

F1c的封装的问题,热风吹两下就坏。这种带内存合封的芯片经不起汕头佬那种高温或者油炸暴力拆机。

热风枪吹不坏的

#83 Re: 全志 SOC » F1C100s涨价又缺货,有什么推荐的替代? » 2021-01-25 16:48:11

smartcar 说:
wupaul2001 说:

还有200多上过机的,没通电的

是连板子一起卖么?

拆卖

#90 Re: SigmaStar/SSD201/SSD202/SSD212 » 有没有人用过SigmaStar SSD201这颗芯片,感觉挺不错的啊 » 2020-12-08 17:41:05

雷霆跳蚤 说:

像这种搞个芯片资料还要遮遮掩掩的,我直接就排除了。国外的芯片生怕你不知道芯片的资料,国内的刚好反过来,话说开放这些资料主要是怕竞争对手抄还是怎么地?

这个芯片是台湾的

#93 Re: 全志 SOC » V3s使用gstreamer的插件openmax调用cedar硬解码,荔枝派zero测试通过 » 2020-11-27 15:49:34

逸俊晨晖 说:

40楼
看gstreamer相关资料

41楼
gst-omx认不出全志在openmax自己定义的颜色空间
看一楼的openmax接口修改部分
一种可能是没按照我说的添加颜色空间 另一种可能是添加了 但是buildroot编译标记没清理好导致改的没编译

42楼
gst对omx注册失败
看一楼的gst-omx注册部分


你在説我踩DE的坑吗?我已经完全填好了,只是还没有共享上来。F1C那个不能半透的BUG,在V3s上也有,我已经填好

#94 Re: 全志 SOC » 关于V3s display-engine/display_clocks /mixer0和tcon0 有关lcd时钟配置的一些问题 » 2020-11-27 15:20:51

hanzixi_angel 说:
wupaul2001 说:

不想换内核的话。修改/drivers/gpu/drm/sun4i/sun4i_tcon.c

-tcon->dclk_min_div = 6;
+tcon->dclk_min_div = 1;

 

这个就是分频设置了吧

解决最小分频限制

#95 Re: 全志 SOC » 关于V3s display-engine/display_clocks /mixer0和tcon0 有关lcd时钟配置的一些问题 » 2020-11-27 15:20:07

hanzixi_angel 说:
wupaul2001 说:

我使用5,2的内核


我使用的也是5.2的内核   您是从那个地址clone的?


主线clone的

#96 Re: 全志 SOC » 关于V3s display-engine/display_clocks /mixer0和tcon0 有关lcd时钟配置的一些问题 » 2020-11-24 18:13:15

不想换内核的话。修改/drivers/gpu/drm/sun4i/sun4i_tcon.c

-tcon->dclk_min_div = 6;
+tcon->dclk_min_div = 1;

#99 Re: 全志 SOC » 关于V3s display-engine/display_clocks /mixer0和tcon0 有关lcd时钟配置的一些问题 » 2020-11-19 00:40:21

不用搞了,直接换新的内核,虽然我知道是那里问题,根本问题不在设备树

#105 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 展会现场看到的机器狗 » 2020-09-26 01:03:17

达克罗德 说:
wupaul2001 说:

狗用的不是舵机,用的是FOC的无刷电机

谢谢指正,请问FOC能否做到关节静止保持一个角度?

可以的

#106 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 展会现场看到的机器狗 » 2020-09-22 12:30:51

达克罗德 说:
wupaul2001 说:

调整姿态

我怀疑是舵机必须有一定速度才能微调和维持某个角度,否则会过流?

狗用的不是舵机,用的是FOC的无刷电机

#107 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 展会现场看到的机器狗 » 2020-09-18 12:49:53

达克罗德 说:

好像是基于MIT的狗。
一个疑问,为什么机器狗即使不跑动也得不停原地踏步呢?看到好多机器狗都这样

调整姿态

#115 Re: 全志 SOC » 请教licheepi-zero使用4.19内核,LCD显示不正常 » 2020-08-19 13:57:59

不disable也可以的,DRM初始化后,会接管FB0

#116 Re: 全志 SOC » 请教licheepi-zero使用4.19内核,LCD显示不正常 » 2020-08-14 13:55:14

我想起来那个BUG不是存在内核,是U-BOOT,而且是X3的BUG

#118 Re: 全志 SOC » 请教licheepi-zero使用4.19内核,LCD显示不正常 » 2020-08-13 10:26:27

觉得你寻找问题的方向错了
1.你设备树中Panel节点对应的LCD型号选对了吗?
2.fb0是drm上真实的一个层
3.Linux 4版本VSYNC控制有一个BUG, 具体看你屏使用的是DE MODE还是SYNC
4.你的问题应该出在屏的时序上,而不是FB

#122 Re: 全志 SOC » 能在linux下使用h264编解码功能的V3S方案,只有海豚派吗? » 2020-07-30 11:51:26

wlcccccc 说:

可喜可贺啊 有代码没?


寻找aodzip大佬的贴子

#126 全志 SOC » patch了aodzip大佬的mipi-csi摄像头驱动,支持RGB565LE与RGB565BE » 2020-07-25 22:25:41

wupaul2001
回复: 14

patch了aodzip大佬的mipi-csi摄像头驱动,

支持RGB565LE与RGB565BE,

但实际速度还不如YUV420P,

发上来让大伙测试测试

sun6i-csi.zip

#127 全志 SOC » 关于v3s关机后,使用后备电池时钟不跑的解决方法 » 2020-07-14 16:32:36

wupaul2001
回复: 7

修改文件 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);

#131 Re: 全志 SOC » V3S 自己按照zero设计了个板子 开机不亮 555555555555 » 2020-06-16 23:47:05

V3s中间的热焊盘有焊上吗?那个必须焊的,是V3s的GND

#136 Re: DSP » 公司急需DSP数字电源大牛 » 2020-06-03 14:22:59

做了两年的电源,但不想努力了

#143 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-26 11:46:30

aodzip 说:

我加你

大佬我QQ是110460775

#144 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-26 11:44:31

aodzip 说:

看了下OV5647在主线的驱动,输出的格式好像只支持MEDIA_BUS_FMT_SBGGR8_1X8
而我5640的DEMO是MEDIA_BUS_FMT_UYVY8_2X8
你可能要自己改很多东西


好的,那我换个摄像头吧,谢谢大佬指点了

#145 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-26 11:41:28

aodzip 说:

你方便远程么?

media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080]'

可以的,能加一吓吗?

#146 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-26 11:21:34

aodzip 说:

可能是因为摄像头不支持FPS设置,尝试这个指令

media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080]'

大佬,能帮忙看看吗?

#147 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-26 10:57:38

我试了那命令,还是不行,估计是不支持了。我用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]

#148 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-25 22:56:39

aodzip 说:

可能是因为摄像头不支持FPS设置,尝试这个指令

media-ctl --set-v4l2 '5:0[fmt:UYVY8_2X8/1920x1080]'

好的, 我明天试试,谢谢指点

#149 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-25 18:05:28

aodzip 说:

这个驱动在编写的时候,是基于
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)

#150 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-25 16:15:35

aodzip 说:

请先严格按照github上所指示的环境和初始化方法配置。


buildroot 2019把media-ctl去掉了,我该怎么弄,我是v3s

#151 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-25 16:12:18

[    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

#152 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-25 16:11:16

aodzip 说:

请提供更详细的信息:Linux版本,media-ctl所使用的参数,dmesg日志
而且github上的版本比坑网缓存的驱动改动已经很大了,你是从github同步的代码吗?


我是从github下的,我文件系统没安装media-ctl,系统是linux 5.2

#153 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2020-05-25 15:53:23

aodzip 说:

白嫖: 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.

#154 Re: 全志 SOC » 搞定NS2009驱动 校准后没有大幅度的跳点 » 2020-05-22 16:50:56

为啥不直接移植tslib的呢,这个触摸库非常完善

#155 Re: 全志 SOC » 小智科技X3开发板正式开卖,2.54排针全接口引出,DIY神器。 (新货到, 第三批开放购买)Q群 202900925 » 2020-05-22 16:46:30

小智科技 说:

核心板默认没带任何储存,价格也做了修改,不带EMMC 79、带8G 三星 EMMC 99,不包邮,大家对包邮不太满意,对于买多个核心板的用户不划算,所以取消包邮降低售价,批量价格Q详谈。


昨晚付款了,什么时候能发货??

#156 Re: 全志 SOC » F1C100s看门狗失效bug » 2020-05-22 16:44:15

不用研究了,F1C100s看门狗初始化不对,你试试热重启,如果重启不了,看门狗就不正常了

#160 Re: 全志 SOC » 全志X3 样片零售 4核A7 内置128MB 512MB内存 双层板神器 » 2020-03-27 15:41:21

小智科技 说:

开发板还没定价,核心板大概几十元,比全淘宝A33核心板要便宜不少,主要走量!

512M版本大概什么时候有???

#162 Re: 全志 SOC » f1c100s linux 5.2 USB已完美驱动,host+device完美运行 » 2020-03-23 16:25:56

迪卡 说:

对,同关注

F1c200s 硬件只有三个端点可用,估计无解了。

#165 Re: 全志 SOC » 请教大家,我编译好AP6181的驱动后,为何死活加载不了固件 » 2020-03-12 17:02:58

smartcar 说:

也就是说wifi驱动没有bug,设备树配置修改就可以了?

不是,内核,驱动,设备树配置都得改

#166 Re: 全志 SOC » 请教大家,我编译好AP6181的驱动后,为何死活加载不了固件 » 2020-03-12 16:24:15

终于驱动起来了

        brcmf: wifi@1 {
                reg = <1>;
                compatible = "brcm,bcm4329-fmac";

        };

最后不要中断,否则会出现超时

#168 Re: 全志 SOC » 请教大家,我编译好AP6181的驱动后,为何死活加载不了固件 » 2020-03-12 12:34:08

# [  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

新问题又来了

#169 Re: 全志 SOC » 请教大家,我编译好AP6181的驱动后,为何死活加载不了固件 » 2020-03-12 12:13:34

问题已找到,是驱动早于rootfs加载,所以驱动不能编译到内核,只能编译为模块,然后加载,否则就会找不到固件

#170 Re: 全志 SOC » 请教大家,我编译好AP6181的驱动后,为何死活加载不了固件 » 2020-03-11 17:08:48

晕哥 说:

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


晕哥,我目录和文件都对的

#171 全志 SOC » 请教大家,我编译好AP6181的驱动后,为何死活加载不了固件 » 2020-03-11 16:19:45

wupaul2001
回复: 15

如题

终端打印

[    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里了

#174 全志 SOC » 关于F1C100s打开watchdog后仍然无法重启的解决办法 » 2020-03-09 00:42:00

wupaul2001
回复: 4

参考了坛上一位高人的贴子,到内核里打开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模式

#177 Re: 全志 SOC » 关于nano pi从u-boot启动到kernal出现1秒的花屏问题的分析及解决方法 » 2020-03-03 13:33:30

达克罗德 说:

有可能,我查一下。

另外,在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

#178 Re: 全志 SOC » 关于nano pi从u-boot启动到kernal出现1秒的花屏问题的分析及解决方法 » 2020-03-03 11:36:43

达克罗德 说:

谢谢楼主分享,我f1c也有同样问题。不过我在玩a33主线Linux的时候,没有这个问题,我也没有去设置kernel的mem大小,为什么就没问题呢?按照一楼的思路,只要不保留高位地址就应该会出问题

不一定在启动参数,可以在设备树中保留, 可以修改ioremap保留,方法各式各样

#179 Re: 全志 SOC » 关于nano pi从u-boot启动到kernal出现1秒的花屏问题的分析及解决方法 » 2020-03-03 10:17:19

gunge204 说:

终于有人对这个问题动手了,这也是困扰了我很久的问题。感谢分享
不过内核的东西我了解很少,请问这里的“mem=63M“,是在uboot里设置的传递给kernel的参数的吗?就是修改uboot中的bootargs,加上这么一句?

对的

#181 全志 SOC » 关于nano pi从u-boot启动到kernal出现1秒的花屏问题的分析及解决方法 » 2020-03-03 00:52:22

wupaul2001
回复: 19

由于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了。

本人写作水平有限,敬请见谅

#183 Re: 全志 SOC » 使用Buildroot编译出来的Qmake编译异常求解。 » 2019-12-23 17:57:03

晕哥 说:

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

跟着楼上试了一把, 一切正常。


谢谢晕哥,我路径错了

#184 全志 SOC » 使用Buildroot编译出来的Qmake编译异常求解。 » 2019-12-23 10:57:46

wupaul2001
回复: 4

使用Buildroot编译出来的Qmake编译异常,我有个APP需要用到serialport和mutilmedia模块,可是明明在menuconfig已经选择了这两个模块,qmake -v里指向引用的lib也找到,可是一编译就报Error unknow module: serialport mutilmedia.有朋友遇到过吗???

#189 Re: 全志 SOC » 新版buildroot去掉了mplayer,请问大家,用那个播放器代替??? » 2019-11-04 16:42:11

换回2017, 不是QT5.12.4, 低版本QT不支持Mqtt, 一连串的不支持

#198 Re: 全志 SOC » 各位F1C100s有研究过怎样加密吗?? » 2019-11-02 12:51:48

有兄弟有F1C上可以高效执行的壳么?

#199 Re: VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 习惯了在vps上面编译代码,又买了一个40G ssd/2G RAM/3x Intel Xeon 搬瓦工vps(运行远程桌面,可以Qt编程) » 2019-11-02 12:49:58

@晕哥 咋不自己搭?比这个便宜多了,我公司两台服务器,才4K多一台. 我们自己写了个程序,动态IP也能公网访问

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn