您尚未登录。

#1 Re: 全志 SOC » V3S现在升级成V3LP了吗? » 2022-12-02 15:18:19

拉轰的脚踏车 说:

V3S现在升级成V3LP了吗?

有图有资料吗

#2 Re: 全志 SOC » T113-S3串口问题 » 2022-11-30 21:15:44

吴助建 说:

八成是RS-232芯片支持不到460800 bps。
要么换RS-232芯片,要么换周围的0.1uF电容到1uF或10uF试试。
跟软件应该没什么关系。

已解决,串口驱动的时钟配置问题
@吴助建

#4 全志 SOC » T113-S3串口问题 » 2022-11-30 17:48:12

how0723
回复: 3

T113-S3串口UART0 接收错误,波特率115200时正常,波特率460800时错误
1c9b6ce2-1e44-47fa-9946-d3883d2f07c2-image.png
串口错误标志位解读:
FE:帧错误,指示当前字符是否存在帧错误(缺少停止位)并且可能已经损坏
BRK:BREAK检测,指示当前字符是否为BREAK字符,数据位和停止位均为0
OE:接收器超限,指示接收过程中,是否存在数据来不及接收的现象
PRERR:RS-485模式下,它保存接收到的9位RS-485数据的第9个数据位。在RS-232/IrDA模式下,它是奇偶校验错误标志。指示是否检测到当前字符是否具有奇偶校验错误并且可能已经损坏
Error Detect:错误检测,指示RX_DATA字段是否具有错误-OE FE BRK PRERR

测出来的波形,黄色是RS232 绿色是TTL
_20221130174733.png

#5 全志 SOC » T113-S3的wifi模块由RTL8723BU换成RTL8723DU,就驱动不起来 » 2022-11-21 09:11:14

how0723
回复: 0

  4.978620] rtk_btusb: Realtek Bluetooth USB driver ver 3.1.981c756.20211102-175222
[    5.022481] rtk_btusb: btusb_probe intf->cur_altsetting->desc.bInterfaceNumber 0
[    5.030838] rtk_btusb: btusb_probe can_wakeup 1, may wakeup 0
[    5.037302] rtk_btusb: patch_add
[    5.040933] rtk_btusb: auto suspend is disabled
[    5.046015] rtk_btusb: pid = 0xd723
[    5.049973] rtk_btusb: patch_add: Reset gEVersion to 0xff
[    5.056060] rtk_btusb: set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
[    5.068458] rtk_btusb: btusb_probe: done
[    5.072425] rtk_btusb: btusb_open start
[    5.073136] usbcore: registered new interface driver rtk_btusb
[    5.077168] rtk_btusb: btusb_open hdev->promisc ==0
[    5.099514] rtk_btusb: download_patch start
[    5.104220] rtk_btusb: chip type value: 0x71
[    5.115795] rtk_btusb: HCI reset.
[    5.169212] rtk_btusb: read_ver_rsp->lmp_subver = 0x8723
[    5.175177] rtk_btusb: read_ver_rsp->hci_rev = 0xd
[    5.175181] rtk_btusb: patch_entry->lmp_sub = 0x8723
[    5.175184] rtk_btusb: load_firmware start
[    5.175188] rtk_btusb: lmp_version = 0x8723
[    5.175191] rtk_btusb: config filename rtl8723du_config
[    5.175412] usb 1-1.1: Direct firmware load for rtl8723du_config failed with error -2
[    5.175424] rtk_btusb: fw name is  rtl8723du_fw
[    5.179453] usb 1-1.1: Direct firmware load for rtl8723du_fw failed with error -2
[    5.219000] rtk_btusb: load firmware failed!
[    5.232288] rtk_btusb: Rtk patch end -1
[    5.257784] rtk_btusb: btusb_open failed

#6 全志 SOC » T113-S3烧录失败,求大佬帮我 » 2022-10-31 12:44:09

how0723
回复: 1

_20221031124236.jpg_20221031124240.jpg_20221031124245.jpg

如图所示,在使用usb烧录的时候,怎么都识别不到usb口,怎么解决

#8 Re: 全志 SOC » T113 RTL8189驱动挂载失败 » 2022-08-09 19:05:26

@梦程
楼主,你好,请问能否详细说一下。特别是打补丁的那部分

#11 全志 SOC » t1133-S3无法启动 » 2022-08-09 16:48:21

how0723
回复: 2

使用的是MQ-Dual,主控T113,双核A7内置128M内存,带RTL8189模块,带WIFI天线( https://item.taobao.com/item.htm?spm=2013.1.0.0.149015ffU3vFTX&id=587925184119&
因为板卡限制,将调试串口换为uart3,但是启动后,卡在下面的界面_20220809164620.jpg
kernel没有启动,不知什么问题导致的。

另外我看到dts有个配置,不知道怎么该,不知道是否有关
_20220809164802.png

#12 Re: 全志 SOC » 请问v3s哪些IO口是带中断的?哪些不带中断? » 2022-03-28 19:36:44

哇酷小二 说:

手册有写,貌似 PB和PG可以中断,新出的D1s就没这么多限制了,GPIO都能中断,每组IO复用也多了好几个。

谢谢
请问D1S跟T113-S3是兼容的吗 ?

#13 全志 SOC » 请问v3s哪些IO口是带中断的?哪些不带中断? » 2022-03-28 15:53:32

how0723
回复: 2

请问v3s哪些IO口是带中断的?哪些不带中断?在哪里可以查到?

#17 全志 SOC » 请问v3s如何调用gpio中断 » 2022-03-28 09:42:05

how0723
回复: 3

请问v3s如何调用gpio中断
能否给个示例代码
小弟初学,非常感谢

#20 Re: 全志 SOC » v3s网络问题 » 2022-01-11 22:37:41

为什么全志的驱动要放在stm里面 ?吐血

#22 全志 SOC » v3s网络问题 » 2022-01-11 22:15:01

how0723
回复: 3

同一块板子,使用spi启动,网络是正常的,dhcp能正常获取,能正常通信
使用tf卡启动,就不能发现网口,请问什么原因

tf卡启动时显示
Starting network: ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCGIFFLAGS: No such device
udhcpc: SIOCGIFINDEX: No such device
FAIL

ifconfig -a 显示:
# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#23 全志 SOC » LCD b通道与r通道反了,请问软件上怎么设置 » 2021-12-27 12:18:21

how0723
回复: 5

LCD b通道与r通道反了,请问软件上怎么设置
使用fb-test -b 应该显示蓝色,结果显示红色
使用fb-test -g 正常显示绿色
使用fb-test -r 应该显示红色,结果显示蓝色
_20211227121618.jpg
_20211227121623.jpg
fb-test -r
_20211227121630.jpg
fb-test -g
_20211227121636.jpg
fb-test -r
_20211227121640.jpg

#24 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-26 14:27:26

拆除原来别人焊接的,发现中间的pad没有焊接,应该是这个原因造成的!

#25 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-25 22:33:35

哇酷小二 说:

建议买一块开发板对比调试。

已解决。重新焊接了一块,没有这个问题。初步确定是焊接的问题,前一块板是找修手机的焊接的,后面是我自己亲自焊接的

#26 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-25 22:33:13

三木同子 说:
how0723 说:

@三木同子
分立电源的上电顺序应该怎么做 ?

没有做过相关的,所以上电时序无法给出建议。
另外刚看你原理图,电源芯片使能脚没有接,看下有没有影响
https://whycan.com/files/members/4444/20211224135009.png

已解决。重新焊接了一块,没有这个问题。初步确定是焊接的问题,前一块板是找修手机的焊接的,后面是我自己亲自焊接的

#27 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-25 22:32:59

@lovexulu
已解决。重新焊接了一块,没有这个问题。初步确定是焊接的问题,前一块板是找修手机的焊接的,后面是我自己亲自焊接的

#28 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-24 13:42:32

@三木同子
是否应该更换为官方提供的电源方案?

#29 Re: 全志 SOC » 请教一些V3S自制板不启动问题 » 2021-12-24 13:05:44

pans203 说:

有的,3.37V

我的板子的现象跟你的一样,请问你的解决了吗?

#30 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-24 12:01:41

@三木同子
按这个图来说,是要求上电,电源稳定时间小于2ms,但是我上电后复位也没有反应

#31 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-24 11:58:53

@三木同子
我看有人说上电顺序没有关系的
20211224115742.png

#32 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-24 11:54:58

@三木同子
分立电源的上电顺序应该怎么做 ?

#34 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-24 10:13:48

@lovexulu
插上后电脑设备管理器没有发现设备
这是电路图: http://xxxx:8080/board.zip
v3s是淘宝上买的,链接:https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6e532e8disPi7J&id=640402624928&_u=o2jht9p3857

#35 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 22:28:28

哇酷小二 说:
how0723 说:
哇酷小二 说:

建议买一块开发板对比调试。

怎么判断V3S是否是焊接过程中由于高温损坏 ?

不通电的情况下,380度吹十分钟一般都不会坏。

现在卡在这里了,一切看起来都正常,无从下手,又不敢贸然焊接新的板子

#36 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 21:34:32

哇酷小二 说:

建议买一块开发板对比调试。

怎么判断V3S是否是焊接过程中由于高温损坏 ?

#37 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 20:21:47

哇酷小二 说:
树莓学LINUX 说:
哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

请问怎样判断晶振是否起振

示波器或者频率计。

如果都没有,就用万用表量24Mhz晶振两端, 1.6v(???)左右。

X24MOUT对地峰峰值2.6V
X24MIN对地峰峰值1.5V

#38 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 20:02:14

哇酷小二 说:

检查没一组电源是否都正常,拆24M谐振电容。

请问24M谐振电容选用多大的?我选用的10pF的

#40 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 19:19:49

哇酷小二 说:
how0723 说:

@哇酷小二
串口无输出
32.768k晶振的一端是1.1V,另一端是3.1V,是不是不正常 ?
如果32.768k不起振,是否也无法进入fel ?

32k不用管,但是 vcc_rtc 这组电压要接。

vcc_rtc 接的3.3V,电压正常

#41 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 19:03:47

哇酷小二 说:
树莓学LINUX 说:
哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

请问怎样判断晶振是否起振

示波器或者频率计。

如果都没有,就用万用表量24Mhz晶振两端, 1.6v(???)左右。

_20211223190227.png
有频率的,起振了

#42 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 18:28:02

@哇酷小二
串口无输出
32.768k晶振的一端是1.1V,另一端是3.1V,是不是不正常 ?
如果32.768k不起振,是否也无法进入fel ?

#43 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 18:20:40

@哇酷小二
我检查了电源的连通性,都正常。
这是我的v3s和电源部分的原理图
1.zip

#44 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 17:33:54

@哇酷小二
测试了3.3V 3.0V 1.8V 1.2V 四种电源电压都正常
上电顺序有要求吗?

#45 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 16:22:20

哇酷小二 说:
how0723 说:
哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

找到原因了,应该使用无源晶振,贴片时使用了有源晶振

😂 笑哭.gif

换了无源晶振,测试已经起振,还是无法进入 fel模式
在线等,急

#46 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 15:30:21

哇酷小二 说:
how0723 说:
哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

找到原因了,应该使用无源晶振,贴片时使用了有源晶振

😂 笑哭.gif

换了无源晶振,测试已经起振,还是无法进入 fel模式

#47 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-21 21:07:50

哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

找到原因了,应该使用无源晶振,贴片时使用了有源晶振

#48 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-21 21:04:49

哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

32k晶振一端3.3V,另一端1.2V
24M晶振一端0.4V,另一端0.74V

#49 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-21 20:51:28

哇酷小二 说:

不用急,先看电源是不是正常?然后看24M有没有起振?

电源正常,晶振没有起振。晶振没有起振一般是什么原因?

#50 全志 SOC » v3s无法进入fel模式 » 2021-12-21 20:31:54

how0723
回复: 41

板子贴片回来后,上电后,没有发现usb设备,也无法进入fel模式,请问怎么回事?

#51 全志 SOC » 全志v3s的spi总线的问题 » 2021-12-15 13:49:57

how0723
回复: 2

全志v3s使用spi nor flash启动,启动后,这个spi总线能否当成普通的spi总线使用? 些时不能影响spi nor flash
有什么方法?

#52 Re: 全志 SOC » 请问licheepi zero如何挂载并格式化tf卡? » 2021-12-14 21:04:34

很简单,已解决。在ubuntu主机上格式化为ext4,然后在arm板上挂载就可以了

#53 全志 SOC » 请问licheepi zero如何挂载并格式化tf卡? » 2021-12-14 01:47:21

how0723
回复: 4

使用spi nor flash启动系统
另外使用一张tf卡存储数据
请问licheepi zero如何挂载并格式化tf卡?

#54 Re: 全志 SOC » 千辛万苦调试,只剩最后一步LCD驱动不起来 » 2021-12-12 22:00:37

哇酷小二 说:

buildroot 勾选 fbv 看图,或者 fb-test 测试程序可以测试lcd framebuffer

用fb-test 应该是正常的,可以肯定之前是lvgl的分辨率设置有问题。
测试结果如下:_20211212215924.jpg

#55 Re: 全志 SOC » 千辛万苦调试,只剩最后一步LCD驱动不起来 » 2021-12-12 21:44:49

哇酷小二 说:

buildroot 勾选 fbv 看图,或者 fb-test 测试程序可以测试lcd framebuffer

谢谢,我测试一下看看

#56 Re: 全志 SOC » 千辛万苦调试,只剩最后一步LCD驱动不起来 » 2021-12-12 21:42:17

哇酷小二 说:

企鹅头像正常吗?

光标正常吗?

如果都正常, 说明很可能你的 lvgl app 设置的分辨率不是 480*272。

有没有其他简单的测试方法 ?

#57 Re: 全志 SOC » 千辛万苦调试,只剩最后一步LCD驱动不起来 » 2021-12-12 21:41:44

哇酷小二 说:

企鹅头像正常吗?

光标正常吗?

如果都正常, 说明很可能你的 lvgl app 设置的分辨率不是 480*272。

lvgl app 设置的分辨率可能不是 480*272,具体要查一下
企鹅头像正常,光标正常,但是用echo 0 > /sys/class/graphics/fb0/blank 会失败

#58 Re: 全志 SOC » 千辛万苦调试,只剩最后一步LCD驱动不起来 » 2021-12-12 21:29:11

cube 说:

你的屏幕分辨率是多少呢?

480*272

#59 全志 SOC » 千辛万苦调试,只剩最后一步LCD驱动不起来 » 2021-12-12 19:43:59

how0723
回复: 10

入手licheepi zero有几天了,这几天千辛万苦调试,只剩最后一步LCD驱动不起来
使用了sun8i-v3s-licheepi-zero-dock.dts的设置
进入u-boot时能显示企鹅图标和一行英文
进入kernel后,只有一个光标在左上角闪
运行demo,原本应该显示一个lvgl的demo,结果显示花屏,图片如下
QQ截图20211212194228.png

QQ截图20211212204159.png

启动日志如下

U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 18:47:39)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 18:47:39 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 18:47:39 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffed9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (yehao@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #7 SMP Sun Dec 12 17:14:38 CST 2021
[    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 @c3edf000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait  mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 54568K/65024K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    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] 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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000182] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000412] Console: colour dummy device 80x30
[    0.000446] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000460] pid_max: default: 32768 minimum: 301
[    0.000588] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000601] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001183] CPU: Testing write buffer coherency: ok
[    0.001549] /cpus/cpu@0 missing clock-frequency property
[    0.001572] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002003] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002176] Hierarchical SRCU implementation.
[    0.002689] smp: Bringing up secondary CPUs ...
[    0.002702] smp: Brought up 1 node, 1 CPU
[    0.002712] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002718] CPU: All CPU(s) started in SVC mode.
[    0.003481] devtmpfs: initialized
[    0.006597] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006889] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006915] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007079] pinctrl core: initialized pinctrl subsystem
[    0.007938] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008074] NET: Registered protocol family 16
[    0.008541] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009644] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009662] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022894] SCSI subsystem initialized
[    0.023194] usbcore: registered new interface driver usbfs
[    0.023259] usbcore: registered new interface driver hub
[    0.023351] usbcore: registered new device driver usb
[    0.023595] pps_core: LinuxPPS API ver. 1 registered
[    0.023605] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023629] PTP clock support registered
[    0.023860] Advanced Linux Sound Architecture Driver Initialized.
[    0.025695] clocksource: Switched to clocksource arch_sys_counter
[    0.036473] NET: Registered protocol family 2
[    0.037048] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037082] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037108] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037234] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037283] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037497] NET: Registered protocol family 1
[    0.038071] RPC: Registered named UNIX socket transport module.
[    0.038088] RPC: Registered udp transport module.
[    0.038095] RPC: Registered tcp transport module.
[    0.038101] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040188] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049069] NFS: Registering the id_resolver key type
[    0.049118] Key type id_resolver registered
[    0.049125] Key type id_legacy registered
[    0.049169] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.050670] random: fast init done
[    0.053542] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053562] io scheduler noop registered
[    0.053571] io scheduler deadline registered
[    0.053847] io scheduler cfq registered (default)
[    0.053859] io scheduler mq-deadline registered
[    0.053865] io scheduler kyber registered
[    0.058105] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.127012] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.130221] console [ttyS0] disabled
[    0.150490] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.739555] console [ttyS0] enabled
[    0.747600] m25p80 spi32766.0: xt25f128b (16384 Kbytes)
[    0.752854] spi32766.0: parser cmdlinepart: 4
[    0.757292] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.763554] Creating 4 MTD partitions on "spi32766.0":
[    0.768717] 0x000000000000-0x000000100000 : "uboot"
[    0.774224] 0x000000100000-0x000000110000 : "dtb"
[    0.779450] 0x000000110000-0x000000510000 : "kernel"
[    0.784765] 0x000000510000-0x000001000000 : "rootfs"
[    0.790613] libphy: Fixed MDIO Bus: probed
[    0.795210] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.801095] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.806836] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.812990] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.818695] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.825929] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.831582] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.838808] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.843767] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.850738] libphy: stmmac: probed
[    0.856185] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.862723] ehci-platform: EHCI generic platform driver
[    0.868291] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.873906] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.881872] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.915713] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.922960] hub 1-0:1.0: USB hub found
[    0.926907] hub 1-0:1.0: 1 port detected
[    0.931424] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.937720] ohci-platform: OHCI generic platform driver
[    0.943290] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.950036] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.957990] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.030835] hub 2-0:1.0: USB hub found
[    1.034653] hub 2-0:1.0: 1 port detected
[    1.042275] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.051858] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.060770] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.067678] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.072217] i2c /dev entries driver
[    1.077062] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.086550] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.155746] sunxi-mmc 1c0f000.mmc: base:0xc407b000 irq:23
[    1.215732] sunxi-mmc 1c10000.mmc: base:0xc4144000 irq:24
[    1.222137] usbcore: registered new interface driver usbhid
[    1.227791] usbhid: USB HID core driver
[    1.233237] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.241274] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.248734] NET: Registered protocol family 17
[    1.253306] Key type dns_resolver registered
[    1.257839] Registering SWP/SWPB emulation handler
[    1.270237] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[    1.280863] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.293139] Console: switching to colour frame buffer device 60x34
[    1.301598] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.310153] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.321512] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.327358] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.336586] hub 3-0:1.0: USB hub found
[    1.340470] hub 3-0:1.0: 1 port detected
[    1.345530] using random self ethernet address
[    1.350089] using random host ethernet address
[    1.355641] usb0: HOST MAC da:57:2c:74:80:fd
[    1.360062] usb0: MAC de:06:b8:44:88:b1
[    1.363944] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.371460] g_cdc gadget: g_cdc ready
[    1.377779] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.387506] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 01:27:11 UTC (5231)
[    1.395987] vcc3v3: disabling
[    1.398960] vcc5v0: disabling
[    1.401924] ALSA device list:
[    1.404886]   #0: V3s Audio Codec
[    1.447975] random: crng init done
[    2.571907] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    2.578906] devtmpfs: mounted
[    2.583092] Freeing unused kernel memory: 1024K
[    3.492235] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM)
Starting logging: OK
Initializing random number generator... done.
Starting network: OK

Welcome to Bairen
bairen login:

#61 Re: 全志 SOC » 请教licheepi-zero使用4.19内核,LCD显示不正常 » 2021-12-12 16:06:27

阿黄 说:

结贴,需要在uboot中初始化LCD。 原因还不明。暂时先这样了

请问如何在在uboot中初始化LCD ?

#62 Re: 全志 SOC » 有没有“”设备树, Linux“”配置说明 » 2021-12-12 15:43:54

@nuvoton
如果使用sun8i-v3s-licheepi-zero-dock.dts,就完全不能驱动屏幕

#64 全志 SOC » v3s licheepi 调试u-boot和kernel卡住了 » 2021-12-12 11:24:58

how0723
回复: 1

v3s licheepi 调试u-boot和kernel卡住了
主要有以下3个疑点:
1、日志中出现 [    0.130002] console [ttyS0] disabled 是否有影响
2、日志中出现 [    0.932730] m25p80 spi32766.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.939382] m25p80: probe of spi32766.0 failed with error -2
怎么解决?
3、日志到了[    1.537083] Console: switching to colour dummy device 80x30就不再走下去了

U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 04:58:32)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 04:58:32 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 04:58:32 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected xt25f128b with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffed2 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (yehao@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #2 SMP Sun Dec 12 04:59:16 CST 2021
[    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
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3edf000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 54564K/65024K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10460K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    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] 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.000184] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000410] Console: colour dummy device 80x30
[    0.000445] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000460] pid_max: default: 32768 minimum: 301
[    0.000587] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000601] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001193] CPU: Testing write buffer coherency: ok
[    0.001566] /cpus/cpu@0 missing clock-frequency property
[    0.001590] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002017] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002189] Hierarchical SRCU implementation.
[    0.002686] smp: Bringing up secondary CPUs ...
[    0.002702] smp: Brought up 1 node, 1 CPU
[    0.002710] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002717] CPU: All CPU(s) started in SVC mode.
[    0.003470] devtmpfs: initialized
[    0.006579] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006873] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006900] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007060] pinctrl core: initialized pinctrl subsystem
[    0.007900] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008037] NET: Registered protocol family 16
[    0.008508] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009626] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009642] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022704] SCSI subsystem initialized
[    0.022997] usbcore: registered new interface driver usbfs
[    0.023064] usbcore: registered new interface driver hub
[    0.023159] usbcore: registered new device driver usb
[    0.023408] pps_core: LinuxPPS API ver. 1 registered
[    0.023417] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023439] PTP clock support registered
[    0.023659] Advanced Linux Sound Architecture Driver Initialized.
[    0.025483] clocksource: Switched to clocksource arch_sys_counter
[    0.036181] NET: Registered protocol family 2
[    0.036767] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036802] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036826] TCP: Hash tables configured (established 1024 bind 1024)
[    0.036953] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037002] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037209] NET: Registered protocol family 1
[    0.037769] RPC: Registered named UNIX socket transport module.
[    0.037786] RPC: Registered udp transport module.
[    0.037792] RPC: Registered tcp transport module.
[    0.037798] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.039875] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.048760] NFS: Registering the id_resolver key type
[    0.048807] Key type id_resolver registered
[    0.048815] Key type id_legacy registered
[    0.048857] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.050386] random: fast init done
[    0.053260] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053281] io scheduler noop registered
[    0.053289] io scheduler deadline registered
[    0.053567] io scheduler cfq registered (default)
[    0.053578] io scheduler mq-deadline registered
[    0.053585] io scheduler kyber registered
[    0.057816] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.058309] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.126796] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.130002] console [ttyS0] disabled
[    0.150276] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.746824] console [ttyS0] enabled
[    0.751500] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    0.759246] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    0.766920] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    0.774571] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    0.782232] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    0.789893] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    0.797552] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    0.805199] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    0.812858] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    0.820517] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    0.828176] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    0.835922] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    0.843657] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    0.851403] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    0.859150] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    0.866896] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    0.874631] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    0.882376] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    0.890122] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    0.897868] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    0.905614] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    0.913349] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    0.922604] panel-simple panel: panel supply power not found, using dummy regulator
[    0.932730] m25p80 spi32766.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.939382] m25p80: probe of spi32766.0 failed with error -2
[    0.945514] libphy: Fixed MDIO Bus: probed
[    0.950066] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.956657] ehci-platform: EHCI generic platform driver
[    0.962149] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.967828] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.975769] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.005538] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.012707] hub 1-0:1.0: USB hub found
[    1.016642] hub 1-0:1.0: 1 port detected
[    1.021141] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.027439] ohci-platform: OHCI generic platform driver
[    1.032991] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.039715] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.047650] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.120590] hub 2-0:1.0: USB hub found
[    1.124435] hub 2-0:1.0: 1 port detected
[    1.132047] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.141778] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.148673] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.153219] i2c /dev entries driver
[    1.158178] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    1.167738] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.235730] sunxi-mmc 1c0f000.mmc: base:0xc4077000 irq:24
[    1.242787] usbcore: registered new interface driver usbhid
[    1.248461] usbhid: USB HID core driver
[    1.254096] NET: Registered protocol family 17
[    1.258789] Key type dns_resolver registered
[    1.263209] Registering SWP/SWPB emulation handler
[    1.273654] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[    1.284216] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.298557] Console: switching to colour frame buffer device 60x34
[    1.307034] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.315126] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.324721] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    1.332489] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    1.340171] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    1.347839] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    1.355500] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    1.363149] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    1.370810] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    1.378471] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    1.386131] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    1.393779] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    1.401439] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    1.409184] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    1.416931] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    1.424666] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    1.432413] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    1.440159] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    1.447905] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    1.455651] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    1.463387] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    1.471133] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    1.478880] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    1.486627] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    1.494745] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.501470] [drm] No driver support for vblank timestamp query.
[    1.516803] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc073f638)
[    1.524143] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073e4b8)
[    1.531887] fb: switching to sun4i-drm-fb from simple
[    1.537083] Console: switching to colour dummy device 80x30

#65 Re: 全志 SOC » lichee zero 卡住了,哪里的问题? » 2021-12-12 11:09:01

hnhkj 说:

开来一个i2c的oled. 不能切换。禁止掉oled就ok了。

请问怎么禁用?我是初学

#66 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2021-12-12 04:35:21

我也遇到同样的问题,求大神指导

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 12 2021 - 03:52:27 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected xt25f128b with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffec2 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (yehao@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP Sun Dec 12 03:32:34 CST 2021
[    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
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3edf000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 54564K/65024K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10460K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    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] 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.000183] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000413] Console: colour dummy device 80x30
[    0.000446] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000460] pid_max: default: 32768 minimum: 301
[    0.000588] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000601] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001196] CPU: Testing write buffer coherency: ok
[    0.001560] /cpus/cpu@0 missing clock-frequency property
[    0.001584] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002024] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002212] Hierarchical SRCU implementation.
[    0.002716] smp: Bringing up secondary CPUs ...
[    0.002730] smp: Brought up 1 node, 1 CPU
[    0.002739] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002746] CPU: All CPU(s) started in SVC mode.
[    0.003498] devtmpfs: initialized
[    0.006620] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006918] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006942] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007103] pinctrl core: initialized pinctrl subsystem
[    0.007952] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008089] NET: Registered protocol family 16
[    0.008559] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009675] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009693] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022751] SCSI subsystem initialized
[    0.023049] usbcore: registered new interface driver usbfs
[    0.023115] usbcore: registered new interface driver hub
[    0.023204] usbcore: registered new device driver usb
[    0.023460] pps_core: LinuxPPS API ver. 1 registered
[    0.023469] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023490] PTP clock support registered
[    0.023712] Advanced Linux Sound Architecture Driver Initialized.
[    0.025536] clocksource: Switched to clocksource arch_sys_counter
[    0.036261] NET: Registered protocol family 2
[    0.036847] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036881] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036905] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037034] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037083] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037304] NET: Registered protocol family 1
[    0.037880] RPC: Registered named UNIX socket transport module.
[    0.037899] RPC: Registered udp transport module.
[    0.037905] RPC: Registered tcp transport module.
[    0.037911] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.039993] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.048857] NFS: Registering the id_resolver key type
[    0.048908] Key type id_resolver registered
[    0.048916] Key type id_legacy registered
[    0.048962] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.050467] random: fast init done
[    0.053344] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053363] io scheduler noop registered
[    0.053371] io scheduler deadline registered
[    0.053646] io scheduler cfq registered (default)
[    0.053658] io scheduler mq-deadline registered
[    0.053665] io scheduler kyber registered
[    0.057889] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.058386] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.126536] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.129702] console [ttyS0] disabled
[    0.149974] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.746522] console [ttyS0] enabled
[    0.751201] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    0.758950] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    0.766628] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    0.774276] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    0.781938] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    0.789600] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    0.797260] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    0.804908] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    0.812567] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    0.820225] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    0.827885] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    0.835632] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    0.843367] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    0.851114] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    0.858860] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    0.866606] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    0.874342] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    0.882088] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    0.889834] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    0.897580] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    0.905316] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    0.913062] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    0.922308] panel-simple panel: panel supply power not found, using dummy regulator
[    0.932411] m25p80 spi32766.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.939061] m25p80: probe of spi32766.0 failed with error -2
[    0.945131] libphy: Fixed MDIO Bus: probed
[    0.949743] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.956326] ehci-platform: EHCI generic platform driver
[    0.961821] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.967488] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.975398] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.005575] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.012760] hub 1-0:1.0: USB hub found
[    1.016697] hub 1-0:1.0: 1 port detected
[    1.021196] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.027494] ohci-platform: OHCI generic platform driver
[    1.033056] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.039788] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.047717] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.120650] hub 2-0:1.0: USB hub found
[    1.124494] hub 2-0:1.0: 1 port detected
[    1.132096] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.141827] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.148725] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.153268] i2c /dev entries driver
[    1.158232] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    1.167780] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.235770] sunxi-mmc 1c0f000.mmc: base:0xc4077000 irq:24
[    1.242813] usbcore: registered new interface driver usbhid
[    1.248488] usbhid: USB HID core driver
[    1.254135] NET: Registered protocol family 17
[    1.258823] Key type dns_resolver registered
[    1.263245] Registering SWP/SWPB emulation handler
[    1.273690] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[    1.284251] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.298588] Console: switching to colour frame buffer device 60x34
[    1.307062] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.315151] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.324692] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    1.332501] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    1.340181] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    1.347847] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    1.355509] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    1.363159] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    1.370818] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    1.378479] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    1.386139] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    1.393786] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    1.401446] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    1.409192] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    1.416939] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    1.424674] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    1.432421] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    1.440168] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    1.447915] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    1.455662] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    1.463397] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    1.471143] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    1.478890] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    1.486636] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    1.494745] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.501470] [drm] No driver support for vblank timestamp query.
[    1.516797] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc073f638)
[    1.524142] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073e4b8)
[    1.531884] fb: switching to sun4i-drm-fb from simple
[    1.537081] Console: switching to colour dummy device 80x30

页脚

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

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