您尚未登录。

#1 Re: 人工智能,深度学习,神经网络 » MAX78000这款芯片应用于AI方向,有哪位做过吗?相比STM32+Cube.AI呢? » 2023-06-20 17:54:50

树莓学LINUX 说:

挖坟,我用过STM32F405跑离线语音关键字识别,大概识别一秒语音需要消耗200ms

用的cube.ai框架

#2 Re: 人工智能,深度学习,神经网络 » MAX78000这款芯片应用于AI方向,有哪位做过吗?相比STM32+Cube.AI呢? » 2023-06-20 17:52:49

挖坟,我用过STM32F405跑离线语音关键字识别,大概识别一秒语音需要消耗200ms

#3 全志 SOC » 香橙派与nanopi硬件配置大致相同的情况下,镜像能否通刷 » 2023-05-06 18:01:50

树莓学LINUX
回复: 0

nanopi处理器:H3,内存:1G ddr3
香橙派处理器:H3,内存:512M ddr3
这种情况下能否通刷固件,因为在armbian的官网上没有找到对我手里的nanopi型号的支持

#5 Re: 全志 SOC » V3s各电压的电流有多大? » 2022-06-23 19:04:15

即使没人算过这个参数,千万不要用LDO作为供电,我踩过这个坑

#6 Re: 全志 SOC » 小白开源V3S小电脑 » 2022-06-09 16:49:50

baicker 说:

请问使用7789的屏,反色咋整?系统固件可否分享?

抱歉挺久才看到,最近没上来水贴,在st7789.c里面有一行代码屏蔽掉就好,中文翻译就是开启反色显示,哈哈哈

#7 Re: 全志 SOC » 荔枝派zero v3s 菜鸟新手uboot+linux+rootfs首次跑通 » 2022-06-09 16:48:26

看到楼主的帖子我不禁想到了我第一次点亮v3s的心情,双端显示(串口和屏幕同时显示信息)需要在内核中开启一行代码,具体的在家里电脑,需要的话回去发给你方法,现在在摸鱼:p

#8 Re: 全志 SOC » 老哥们,很想自学然后做一块v3s的板子,请问该怎么开始呢? » 2022-04-17 22:13:08

我也是新手做  3s还是很简单的,无非就是几组供电(1.2,1.8,3.0,3.3,好像还有2.5?),供电不要用LDO,用DC转DC,屏幕简单的话用SPI,驱动是st7789,复杂一点是用mipi lcd 其余的按照别的大佬做好的抄就可以了。群里v3s的小电脑的资料还是很多的。

#9 Re: 全志 SOC » 运行qt报错 defaultServiceProvider::requestService(): no service found for » 2022-01-30 17:11:30

lengyuefneg 说:
树莓学LINUX 说:

@成为大佬
我编译的时候 gstreamer-mm编译不过去就这一个编译不过去

你好,我今天试了一下,用buildroot2019可以编译gstreamer-mm,但是我的还是会报错,想问一下这个你弄好了吗?

小白目前解决不了,没出来呢

#11 Re: 全志 SOC » 小白开源V3S小电脑 » 2022-01-29 15:11:47

使用SL2.1A扩展USB口,无线网卡,摄像头,鼠标键盘都可以往上装
4535495bb5633b53cb74c74a4fb7bcd.png

#13 Re: 全志 SOC » 小白开源V3S小电脑 » 2022-01-29 14:07:48

白嫖的立创里面CH340N的封装,没想到TX、RX是反过来的
CH340飞线.jpg

#14 Re: 全志 SOC » 小白开源V3S小电脑 » 2022-01-29 14:06:22

移植QT后,交叉编译一个绘图板上来,可以正常使用

#15 Re: 全志 SOC » 小白开源V3S小电脑 » 2022-01-29 14:05:24

在最新的buildroot中有opencv与python的选项,鼠标点一点就移植上来了

opencv.jpg

#17 全志 SOC » 小白开源V3S小电脑 » 2022-01-29 13:50:21

树莓学LINUX
回复: 9

小白完成了v3s_linux小电脑的制作,在这个过程中,很有收获。
linux硬件部分包括:

1、板载USB_hub,摄像头网卡均使用外置,所以足够的USB接口十分重要。
2、使用TFT_LCD显示屏幕,屏幕驱动芯片为ST7789.
3、使用TC8002D功放芯片驱动喇叭(未实现,原因未知,仍在排查)
4、串口部分使用CH340N,引脚较少,节省体积。
5、电源部分3.3,1.8,1.2使用sy8088aac DC-DC芯片,供电量比较给力,不发热。
6、增加用户LED与串口指示灯。
7、ADC按键。
8、使用四层PCB。

#18 Re: 全志 SOC » 自制V3S迷你PC没有声音 » 2022-01-27 17:07:33

CHSHIQING 说:

用镊子触碰功放芯片的IN-,就是你接HP_L的那个引脚有沙沙响的声音吗

是不是我板子上的有些引脚浮空有影响,我把SD卡插在dock板子上有声音

#19 Re: 全志 SOC » 自制V3S迷你PC没有声音 » 2022-01-27 16:31:54

CHSHIQING 说:

用镊子触碰功放芯片的IN-,就是你接HP_L的那个引脚有沙沙响的声音吗

能听到明显的的噪声,

#20 全志 SOC » 自制V3S迷你PC没有声音 » 2022-01-27 12:00:57

树莓学LINUX
回复: 3

1.png2.png

上图是我的音频部分电路图,芯片使用的是pin to pin 的替代芯片TC8002D

实际播放时,一点声音都没有,喇叭是8Ω2W的

请问可能是什么问题

#21 全志 SOC » 开源qq机器人可否运行在v3s上 » 2022-01-14 22:09:27

树莓学LINUX
回复: 1

http://b23.tv/sgaye3P
B站中有开源qq机器人,支持armv7架构,运行在v3s上是否可行。

#23 Re: 全志 SOC » 请问荔枝派zero的 3V0 LDO 可以用3V3代替吗?想省一个LDO芯片。 » 2022-01-06 12:36:39

起个名字好难 说:

https://whycan.cn/files/members/3819/QQ截图20200501221801.png

AVCC 2.8 - 3.3v, 理论上接3V3没有问题

请问这个PDF版本在哪里  可以共享一下吗

#26 全志 SOC » 有没有大佬成功编译opencv-contrib-python的 » 2021-12-26 22:42:11

树莓学LINUX
回复: 3

我使用6.3.1版本的gcc编译opencv-contrib-python,中间总是出现错误,想问问有没有大佬编译成功过得

#27 Re: 全志 SOC » 运行qt报错 defaultServiceProvider::requestService(): no service found for » 2021-12-26 21:02:18

@成为大佬
我编译的时候 gstreamer-mm编译不过去就这一个编译不过去

#28 Re: 全志 SOC » 全志V3S 荔枝派zero 驱动USB摄像头的问题 » 2021-12-26 20:29:22

我成功使用v3s zero读取了普通USB摄像头,需要在内核里面添加usb摄像头支持,这块百度就有很多教程,USB网卡也是同理

#30 Re: 全志 SOC » 自制V3S小电脑时遇到的问题 » 2021-12-24 23:26:46

@lovexulu
了解了,是我基础不扎实,谢谢解答

#31 Re: 全志 SOC » v3s无法进入fel模式 » 2021-12-23 18:37:48

哇酷小二 说:

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

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

#32 Re: 全志 SOC » 自制V3S小电脑时遇到的问题 » 2021-12-23 18:33:11

sunxiang 说:

@树莓学LINUX
我的设计就是LDO,5V转3.3V 3.3V转1.8V 3.3V转1.2V 可以正常使用,我也遇到过1.2V被拉成了0.8V,后面重新吹了一下就可以了

请问您用的LDO  1.2V最大输出电流多大,我用两个LDO并联上去,电压没有被拉低了,但是还是不正常

#33 Re: 全志 SOC » 自制V3S小电脑时遇到的问题 » 2021-12-23 18:31:55

资本家大善人 说:
树莓学LINUX 说:

我太难了,好像把芯片焊接坏了,从开发板上拆下来的焊接回去也不能用了,前排求购一个v3s开发板学习用,最好有全套资料 (哭)

试试v3x?

好嘛,价格几米

#34 Re: 全志 SOC » 自制V3S小电脑时遇到的问题 » 2021-12-23 12:27:32

我太难了,好像把芯片焊接坏了,从开发板上拆下来的焊接回去也不能用了,前排求购一个v3s开发板学习用,最好有全套资料 (哭)

#35 全志 SOC » 自制V3S小电脑时遇到的问题 » 2021-12-23 10:55:45

树莓学LINUX
回复: 12

最近自制一个v3s小电脑,遇到了如下问题:电源方面我使用LDO供电,如下  5.0转3.3、3.3转3.0、3.0转1.8、1.8转1.2,在不焊接芯片时,所有电压均正常,但是焊接上芯片之后,1.2V电压被拉低到0.8V,请问CPU1.2V供电电源输出电流需要达到多少?LDO只有300MA

#36 Re: 全志 SOC » V3S+ST7789运行demo卡顿严重,可能是哪些原因 » 2021-12-13 09:19:47

twzy 说:

这是啥应用,可以发出来一起测一下?

QT自带的demo spi 速率太高了,降低了速率就显示正常了

#37 全志 SOC » V3S+ST7789运行demo卡顿严重,可能是哪些原因 » 2021-12-12 20:57:17

树莓学LINUX
回复: 5

效果如图所示,SPI0速率为96MHz,使用杜邦线连接(使用过程中经常不稳定)

#38 Re: 全志 SOC » f1c200s(tiny200,f1c100s)如何播放视频spi flash里的视频? » 2021-12-11 10:36:53

我在buildroot里面安装了SDL库,还是显示初始化失败,回去试一下这个指令

#40 Re: 全志 SOC » 开源V3x 项目,立创EDA格式。 » 2021-12-11 09:21:52

为什么你布线那么漂亮,我布线那么丑,在那里学习布线技巧

#41 Re: 全志 SOC » Debian 9.9 (stretch) 文件系统制作 » 2021-12-05 23:14:33

晕哥 说:
kernelpanic 说:

谢谢分享,我可以打包出可启动的debian。

不过我登录名和密码怎么输入都不正确。

密码可以重置的,在电脑 chroot 之后输入 passwd root,然后输入两次密码就可以了。

请问晕哥,默认账户是什么

#42 Re: 全志 SOC » 求助!F1C100S使用USB Hub出现问题 » 2021-12-04 19:26:24

异乡是故乡 说:

V3s经过HUB接 4G模块确实OK, AIR720, AIR724我试过都可以的.

F1C倒是没注意.

V3S对HUB芯片类型有要求吗

#45 Re: 全志 SOC » V3S插入USB设备没有反应 » 2021-12-03 13:15:34

@benlypan
看样子ehci与ohci是必须的

#46 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-30 23:03:18

inner 说:

请问初始化LCD到底应该在u-boot还是linux kernel里修改,具体在哪修改

在内核里面

#48 全志 SOC » V3S插入USB设备没有反应 » 2021-11-30 22:54:57

树莓学LINUX
回复: 3

在使用别的大佬已经编译好的设备树,能监测到USB设备插入正常使用,但是自己编译的设备树,插上USB键盘摄像头之类什么显示都没有,有没有大佬帮我看看可能是哪里出了问题?

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.0-licheepi-zero (shumei@ubuntu) (arm-linux-gnueabihf-gcc (Linaro GCC 6.3-2017.02) 6.3.1 20170109, GNU ld (Linaro_Binutils-2017.02) 2.27.0.20161019) #35 SMP Sat Nov 20 21:49:32 PST 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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    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: 51544K/65536K available (8192K kernel code, 725K rwdata, 1964K rodata, 1024K init, 264K bss, 13992K 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+0x328/0x4bc 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.000023] Switching to timer-based delay loop, resolution 41ns
[    0.000246] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000506] Console: colour dummy device 80x30
[    0.000901] printk: console [tty0] enabled
[    0.000968] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001007] pid_max: default: 32768 minimum: 301
[    0.001189] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001226] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002136] CPU: Testing write buffer coherency: ok
[    0.002602] /cpus/cpu@0 missing clock-frequency property
[    0.002657] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003554] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003832] rcu: Hierarchical SRCU implementation.
[    0.004417] smp: Bringing up secondary CPUs ...
[    0.004471] smp: Brought up 1 node, 1 CPU
[    0.004492] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.004509] CPU: All CPU(s) started in SVC mode.
[    0.005209] devtmpfs: initialized
[    0.008921] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.009328] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.009387] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.009664] pinctrl core: initialized pinctrl subsystem
[    0.010968] NET: Registered protocol family 16
[    0.011578] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.012834] thermal_sys: Registered thermal governor 'step_wise'
[    0.013237] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.013304] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.033419] SCSI subsystem initialized
[    0.033631] usbcore: registered new interface driver usbfs
[    0.033729] usbcore: registered new interface driver hub
[    0.033858] usbcore: registered new device driver usb
[    0.034091] mc: Linux media interface: v0.10
[    0.034154] videodev: Linux video capture interface: v2.00
[    0.034452] Advanced Linux Sound Architecture Driver Initialized.
[    0.035892] clocksource: Switched to clocksource arch_sys_counter
[    0.048249] NET: Registered protocol family 2
[    0.049137] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.049219] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.049273] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.049309] TCP: Hash tables configured (established 1024 bind 1024)
[    0.049479] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.049549] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.049847] NET: Registered protocol family 1
[    0.052650] Initialise system trusted keyrings
[    0.053080] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.139186] Key type asymmetric registered
[    0.139249] Asymmetric key parser 'x509' registered
[    0.139359] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.139389] io scheduler mq-deadline registered
[    0.139405] io scheduler kyber registered
[    0.140356] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.144223] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.214668] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.217425] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    0.218722] printk: console [ttyS0] disabled
[    0.239087] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 40, base_baud = 1500000) is a U6_16550A
[    0.796317] printk: console [ttyS0] enabled
[    0.825614] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    0.836027] usbcore: registered new interface driver rtl8xxxu
[    0.842158] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.848795] ehci-platform: EHCI generic platform driver
[    0.854222] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.860500] ohci-platform: OHCI generic platform driver
[    0.865962] usbcore: registered new interface driver cdc_wdm
[    0.871706] usbcore: registered new interface driver usb-storage
[    0.879744] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.884892] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:29:49 UTC (1789)
[    0.893152] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.897870] i2c /dev entries driver
[    0.901623] usbcore: registered new interface driver zr364xx
[    0.907469] usbcore: registered new interface driver stkwebcam
[    0.913372] usbcore: registered new interface driver s2255
[    0.919050] usbcore: registered new interface driver uvcvideo
[    0.924809] USB Video Class driver (1.1.1)
[    0.929026] usbcore: registered new interface driver Philips webcam
[    0.935302] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
[    0.941653] usbcore: registered new interface driver cpia2
[    0.947953] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.956710] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    0.966895] usbcore: registered new interface driver usbhid
[    0.972509] usbhid: USB HID core driver
[    0.976798] fb_st7789v spi0.0: fbtft_property_value: buswidth = 8
[    0.982927] fb_st7789v spi0.0: fbtft_property_value: debug = 0
[    0.988832] fb_st7789v spi0.0: fbtft_property_value: rotate = 270
[    0.994938] fb_st7789v spi0.0: fbtft_property_value: fps = 60
[    1.000994] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.036293] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.078523] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.088517] mmc0: new high speed SDHC card at address 59b4
[    1.095209] mmcblk0: mmc0:59b4 SDU1  29.5 GiB
[    1.103107]  mmcblk0: p1 p2
[    1.549160] random: fast init done
[    1.574169] Console: switching to colour frame buffer device 40x30
[    1.582164] graphics fb0: fb_st7789v frame buffer, 320x240, 150 KiB video memory, 4 KiB buffer memory, fps=100, spi0.0 at 96 MHz
[    1.602630] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.624327] Initializing XFRM netlink socket
[    1.630064] NET: Registered protocol family 17
[    1.653090] Registering SWP/SWPB emulation handler
[    1.659353] Loading compiled-in X.509 certificates
[    1.678988] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[    1.691243] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[    1.698595] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 1
[    1.735072] hub 1-0:1.0: USB hub found
[    1.740531] hub 1-0:1.0: 1 port detected
[    1.756372] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.789705] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.802765] random: crng init done
[    1.818453] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.826772] ALSA device list:
[    1.830495]   #0: V3s Audio Codec
[    1.835309] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.846074] cfg80211: failed to load regulatory.db
[    1.882990] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.893438] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.930659] devtmpfs: mounted
[    1.939018] Freeing unused kernel memory: 1024K
[    1.945326] Run /sbin/init as init process
[    2.070902] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Initializing random number generator... done.
Starting network: OK

Belive Youself Forever
buildroot login: root
Password:
Login incorrect
buildroot login: root
Password:
# lsusb
Bus 001 Device 001: ID 1d6b:0002

#49 Re: 全志 SOC » 看到咸鱼上有卖V3S的10元一片,买了几片,准备画个板子玩玩 » 2021-11-29 22:45:28

树莓学LINUX 说:
memory 说:

@树莓学LINUX
console=ttyS0 

改为

console=tty0

试一试?

老大真棒,这样子就解决了

老大,还有一个问题就是,我在设备树里面添加了LRADC的设备树,在make编译时显示这块有语法错误,然后我发现好几个版本的sun8i-v3s.dtsi内容都有不一样,不知道是不是这里的问题,如果方便的话,可否发一下你的这个文件

#50 Re: 全志 SOC » 看到咸鱼上有卖V3S的10元一片,买了几片,准备画个板子玩玩 » 2021-11-29 22:16:28

memory 说:

@树莓学LINUX
console=ttyS0 

改为

console=tty0

试一试?

老大真棒,这样子就解决了

#52 Re: 全志 SOC » v3s的声卡设备树使能问题? » 2021-11-29 20:57:04

@kekemuyu
请问在设备树中使能了,还需要在menuconfig中开启吗

#53 Re: 全志 SOC » 看到咸鱼上有卖V3S的10元一片,买了几片,准备画个板子玩玩 » 2021-11-29 19:04:03

@哇酷小二
我遇到了一个问题,我的zero外接的TFT显示器,现在只能是内核启动完成后屏幕进入显示,请问怎样在串口和屏幕上都显示内核启动过程

我猜是修改uboot中的 

#define CONFIG_BOOTARGS      "console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0"

可是我不知道如何修改,

#55 Re: 全志 SOC » 看到咸鱼上有卖V3S的10元一片,买了几片,准备画个板子玩玩 » 2021-11-29 18:04:29

哇酷小二 说:
hameyou 说:

买开发板就没意思了,就是想自己做个板子玩玩

pcb开源的话,小站给你赞助两片全新的V3s芯片。

加微信 whycan_cn

这个活动现在还有吗

#56 全志 SOC » 内核显示的问题 » 2021-11-29 17:59:12

树莓学LINUX
回复: 0

我想在内核启动过程中,同时在串口和tft 屏幕显示内核启动信息,请问在uboot 的哪里可以修改,现在的屏幕只是在内核启动完成之后显示

#57 Re: 全志 SOC » 在buildroot中想添加QT或者Opencv,应该怎样满足依赖,小白学习没多久,请大佬赐教 » 2021-11-27 22:03:45

哇酷小二 说:

BR2_USE_WCHAR

貌似这个选项要勾上

谢谢回复,我在chaintools里面打开C++支持就可以了 QT和OPENCV都可以添加了

#58 全志 SOC » 在buildroot中想添加QT或者Opencv,应该怎样满足依赖,小白学习没多久,请大佬赐教 » 2021-11-27 20:23:44

树莓学LINUX
回复: 2

截图放不上来

*** Qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library ***

#59 Re: 全志 SOC » V3S 主线,怎么启用 DRM? » 2021-11-27 18:06:10

yuemin3 说:

要编译对应的dts,下个新版的buildroot来折腾才是正确的方式

请问所有的设备使用的都是同一套buildroot吗?

#60 Re: 全志 SOC » v3s接usb摄像头显示问题 » 2021-11-25 18:43:00

我用usb摄像头,用的原子的双缓冲代码,估计有个25帧

#61 Re: 全志 SOC » 求助:V3s芯片Linux系统,如何调节在屏幕(2.0寸240x320RGB)上的上电打印信息的字体大小? » 2021-11-25 12:08:12

liefyuan 说:

V3s芯片,U-Boot和Kernel、设备树和文件系统都搞好了,但是我屏幕太小了,打印不了太多信息,所以我想把字体调小一些,在网上找了一圈也没有找到这一块的任何信息?

请问怎样在内核阶段在屏幕上打印数据,我只能在登录界面在屏幕上显示数据

#62 Re: 全志 SOC » 模块供电问题 » 2021-11-22 14:17:28

sblpp 说:
树莓学LINUX 说:

还有一个问题,v3s    zero中,使用的是电源管理芯片ea3036,我可不可以全使用线性IDO降压电路

用电大的换成dcdc就行,其他的用小封装的ldo就行。

板子上几乎不存在用电量大的,  我的想法是 5V转3.3V  3.3V转3.0V 3.0V转1.8V  1.8V转1.2V   这样的话,估计发热也不会很严重

#63 Re: 全志 SOC » 模块供电问题 » 2021-11-22 12:01:54

还有一个问题,v3s    zero中,使用的是电源管理芯片ea3036,我可不可以全使用线性IDO降压电路

#64 全志 SOC » 模块供电问题 » 2021-11-22 11:53:11

树莓学LINUX
回复: 5

在实际使用中,比如我用不到mipi接口,我可不可以不对该部分进行供电,不对该处引脚进行上下拉操作,如图所示:
pic2.png

#65 Re: 全志 SOC » 发现一个问题,荔枝派的SD卡引脚与串口0使用的是同一个引脚,这样做不会产生冲突吗? » 2021-11-22 10:55:21

cube 说:

没错,这就是端口复用啊,同一个io口通过寄存器配置可以指定其中一种复用。

但是在实际使用中,我可以同时使用SD卡与串口0

#66 Re: 全志 SOC » 发现一个问题,荔枝派的SD卡引脚与串口0使用的是同一个引脚,这样做不会产生冲突吗? » 2021-11-22 10:54:57

wyhreg 说:

端口复用,在mcu上用的很多,根据自己的需要去配置寄存器就OK。

在实际使用中,SD卡与串口可以同时使用,高低电平的变化不会产生冲突吗?

#67 全志 SOC » 发现一个问题,荔枝派的SD卡引脚与串口0使用的是同一个引脚,这样做不会产生冲突吗? » 2021-11-21 22:58:00

树莓学LINUX
回复: 5

今天查看原理图发现了这个问题,如图所示,在正常使用中为什么没有产生冲突,感觉很神奇!
pic.png

#69 全志 SOC » 怎样在v3s上使用gcc编译器 » 2021-11-21 16:09:39

树莓学LINUX
回复: 4

是否像在PC上一样,下载gcc交叉编译软件,解压到根目录添加全局变量

#70 Re: 全志 SOC » v3s使用st7789显示反色 » 2021-11-21 16:07:19

最终还是解决的,通过对比STM32 的驱动文件,发现

write_reg(par, MIPI_DCS_EXIT_INVERT_MODE);

用这个可以关闭反色,还是吃了英文不好的亏·······

#71 全志 SOC » v3s使用st7789显示反色 » 2021-11-20 22:56:00

树莓学LINUX
回复: 4

如题,v3s使用st7789显示反色,黑色变成白色,彩色的类似于胶卷那样,请问底层驱动在哪里修改?

#72 Re: 全志 SOC » 5.2内核,启动SPI屏幕(ili9341)失败 » 2021-11-20 22:10:26

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

就是控制台的输出呀

这个问题问得很好,可是我不知道怎么回答。

太难了吧  他们说是默认的hdmi是开着的 但是我不知道是不是这样子的

如果是串口可以登录,应该是因为没有打开双端显示,意味着屏幕默认没有开启登录,可以开启双端显示,右上角有解决办法

#74 Re: 全志 SOC » V3S使用USB网卡 » 2021-11-20 14:38:31

已经成功驱动了,大体流程就是在内核中添加usb-wifi(百度有教程),然后更新zimage,然后需要添加bin文件到文件系统中,如我上面的错误就是没有在相应文件夹添加bin文件,在自己的电脑上找到相应的文件添加到里面就可以了,下图是ping 百度的网址

# ping 110.242.68.4
PING 110.242.68.4 (110.242.68.4): 56 data bytes
64 bytes from 110.242.68.4: seq=0 ttl=54 time=27.612 ms
64 bytes from 110.242.68.4: seq=1 ttl=54 time=26.551 ms
64 bytes from 110.242.68.4: seq=2 ttl=54 time=27.670 ms
64 bytes from 110.242.68.4: seq=3 ttl=54 time=28.107 ms
64 bytes from 110.242.68.4: seq=4 ttl=54 time=29.659 ms
^C
--- 110.242.68.4 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 26.551/27.919/29.659 ms

#75 全志 SOC » V3S使用USB网卡 » 2021-11-20 13:45:09

树莓学LINUX
回复: 1
Starting network: OK
# [    2.337802] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    2.694173] usb 1-1: Vendor: Realtek
[    2.697807] usb 1-1: Product: 802.11n WLAN Adapter
[    2.702608] usb 1-1: rtl8192cu_parse_efuse: dumping efuse (0x80 bytes):
[    2.709265] usb 1-1: 00: 29 81 00 74 cd 00 00 00
[    2.713893] usb 1-1: 08: ff 00 da 0b 78 81 01 41
[    2.718535] usb 1-1: 10: 32 00 85 62 9e ad 08 10
[    2.723150] usb 1-1: 18: 78 62 3d 63 0a 03 52 65
[    2.727782] usb 1-1: 20: 61 6c 74 65 6b 00 16 03
[    2.732397] usb 1-1: 28: 38 30 32 2e 31 31 6e 20
[    2.737019] usb 1-1: 30: 57 4c 41 4e 20 41 64 61
[    2.741647] usb 1-1: 38: 70 74 65 72 00 00 00 00
[    2.746261] usb 1-1: 40: 00 00 00 00 00 00 00 00
[    2.750888] usb 1-1: 48: 00 00 00 00 00 00 00 00
[    2.755502] usb 1-1: 50: 00 00 00 00 00 00 00 00
[    2.760129] usb 1-1: 58: 06 00 30 2f 2f 30 2f 2f
[    2.764744] usb 1-1: 60: 2c 2b 2b 2c 2b 2b 00 00
[    2.769370] usb 1-1: 68: 00 00 00 00 33 33 33 00
[    2.773985] usb 1-1: 70: 00 00 00 00 00 02 00 00
[    2.778610] usb 1-1: 78: 10 00 00 00 36 00 00 00
[    2.783229] usb 1-1: RTL8192CU rev A (TSMC) 2T2R, TX queues 2, WiFi=1, BT=0, GPS=0, HI PA=0
[    2.791587] usb 1-1: RTL8192CU MAC: 08:10:78:62:3d:63
[    2.796636] usb 1-1: rtl8xxxu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[    2.805497] usb 1-1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
[    2.814333] usb 1-1: request_firmware(rtlwifi/rtl8192cufw_TMSC.bin) failed
[    2.821266] usb 1-1: Fatal - failed to load firmware
[    2.826307] rtl8xxxu: probe of 1-1:1.0 failed with error -11

在内核中添加了对rtl8192的支持,重新启动后无法载入固件,搜索不到wlan0,请问下一步应该怎么办

#76 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-20 13:19:29

楼主你的内核配置config文件可以看看吗?我们的屏幕应该是同一个,但是我的屏幕显示是反色

#77 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-19 12:16:43

资本家大善人 说:

@树莓学LINUX
印象里好像不用,只设置了个控制台,7楼
这个很详细
https://blog.csdn.net/qq_28877125/article/details/120007416

开启双端显示后  屏幕能正常显示了   难道在使用串口的时候  屏幕默认不显示吗

#78 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-19 11:51:25

资本家大善人 说:

@树莓学LINUX
印象里好像不用,只设置了个控制台,7楼
这个很详细
https://blog.csdn.net/qq_28877125/article/details/120007416

尝试了很多次,使用自己编译的根文件系统不能显示,直接白屏,使用别人的根文件系统就可以正常显示,我哭了

#79 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-18 22:45:52

请问已经按照您的教程操作了,可是用官方教程的buildroot-2017.08.01编译出来的根文件系统,开机以后就是白屏,我又使用别人的已经编译成功的Debian根文件系统,开机之后可以正常显示,请问这是什么原因?难道在根文件系统中也要进行设置吗?

#80 Re: 全志 SOC » Debian 9.9 (stretch) 文件系统制作 » 2021-11-16 16:52:16

哇酷小二 说:

@树莓学LINUX
[    1.817230] No filesystem could mount root, tried:
[    1.817234]  ext3
[    1.822105]  ext2
[    1.824028]  ext4
[    1.825966]  vfat

根文件系统可能被你复制粘贴出问题了

谢谢回复,我才接触linux没多久,我的u-boot,内核都是用的是官网的,内核版本为linux5.1;仅仅改变第二分区的文件系统出现这样的错误,我这样做可以吗?
如果不可以,u-boot或者内核有需要修改的地方吗?

#81 Re: 全志 SOC » 在制作debian9.9根文件系统时出现了问题 » 2021-11-16 15:40:26

@风云剑

U-Boot SPL 2017.01-rc2 (Nov 15 2021 - 22:09:14)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (Nov 15 2021 - 22:09:14 -0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Nov 15 2021 - 22:09:14 -0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  2  1  0 
reading zImage
4544624 bytes read in 231 ms (18.8 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
13141 bytes read in 26 ms (493.2 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff354 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.0-licheepi-zero (shumei@ubuntu) (arm-linux-gnueabihf-gcc (Linaro GCC 6.3-2017.02) 6.3.1 20170109, GNU ld (Linaro_Binutils-2017.02) 2.27.0.20161019) #20 SMP Mon Nov 15 19:27:52 PST 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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: 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: 53624K/65536K available (7168K kernel code, 693K rwdata, 1784K rodata, 1024K init, 261K bss, 11912K 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+0x328/0x4bc 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.000023] Switching to timer-based delay loop, resolution 41ns
[    0.000260] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000548] Console: colour dummy device 80x30
[    0.000616] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000639] pid_max: default: 32768 minimum: 301
[    0.000814] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000834] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001727] CPU: Testing write buffer coherency: ok
[    0.002164] /cpus/cpu@0 missing clock-frequency property
[    0.002196] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003008] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003247] rcu: Hierarchical SRCU implementation.
[    0.003806] smp: Bringing up secondary CPUs ...
[    0.003834] smp: Brought up 1 node, 1 CPU
[    0.003847] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003856] CPU: All CPU(s) started in SVC mode.
[    0.004536] devtmpfs: initialized
[    0.008293] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008670] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008706] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008946] pinctrl core: initialized pinctrl subsystem
[    0.010255] NET: Registered protocol family 16
[    0.010793] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.012011] thermal_sys: Registered thermal governor 'step_wise'
[    0.012380] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.012406] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.033755] SCSI subsystem initialized
[    0.033949] usbcore: registered new interface driver usbfs
[    0.034022] usbcore: registered new interface driver hub
[    0.034143] usbcore: registered new device driver usb
[    0.034379] mc: Linux media interface: v0.10
[    0.034422] videodev: Linux video capture interface: v2.00
[    0.034690] Advanced Linux Sound Architecture Driver Initialized.
[    0.036024] clocksource: Switched to clocksource arch_sys_counter
[    0.048278] NET: Registered protocol family 2
[    0.049133] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.049184] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.049213] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.049237] TCP: Hash tables configured (established 1024 bind 1024)
[    0.049391] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.049447] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.049732] NET: Registered protocol family 1
[    0.051389] Initialise system trusted keyrings
[    0.051779] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.138621] Key type asymmetric registered
[    0.138658] Asymmetric key parser 'x509' registered
[    0.138758] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.138776] io scheduler mq-deadline registered
[    0.138787] io scheduler kyber registered
[    0.139758] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.143695] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.214063] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.216777] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    0.218037] printk: console [ttyS0] disabled
[    0.238366] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[    0.791207] printk: console [ttyS0] enabled
[    0.800832] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    0.811034] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.817696] ehci-platform: EHCI generic platform driver
[    0.823272] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.828961] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.836926] ehci-platform 1c1a000.usb: irq 34, io mem 0x01c1a000
[    0.866009] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.873278] hub 1-0:1.0: USB hub found
[    0.877244] hub 1-0:1.0: 1 port detected
[    0.881883] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.888225] ohci-platform: OHCI generic platform driver
[    0.893779] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.900527] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.908501] ohci-platform 1c1a400.usb: irq 35, io mem 0x01c1a400
[    0.981140] hub 2-0:1.0: USB hub found
[    0.984991] hub 2-0:1.0: 1 port detected
[    0.992360] usbcore: registered new interface driver usb-storage
[    0.999731] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.009678] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.014798] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:02:05 UTC (125)
[    1.022985] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.027699] i2c /dev entries driver
[    1.032733] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.043575] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.052592] sun4i-ss 1c15000.crypto: Die ID 7
[    1.057492] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.067617] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    1.080941] usbcore: registered new interface driver usbhid
[    1.086665] usbhid: USB HID core driver
[    1.090694] fb_st7789v spi0.0: fbtft_property_value: buswidth = 8
[    1.096860] fb_st7789v spi0.0: fbtft_property_value: debug = 0
[    1.102692] fb_st7789v spi0.0: fbtft_property_value: rotate = 270
[    1.108806] fb_st7789v spi0.0: fbtft_property_value: fps = 60
[    1.126129] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.133444] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.175712] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.185664] mmc0: new high speed SDHC card at address 59b4
[    1.192312] mmcblk0: mmc0:59b4 SDU1  29.5 GiB 
[    1.200125]  mmcblk0: p1 p2
[    1.649028] random: fast init done
[    1.674127] Console: switching to colour frame buffer device 40x30
[    1.681142] graphics fb0: fb_st7789v frame buffer, 320x240, 150 KiB video memory, 4 KiB buffer memory, fps=100, spi0.0 at 96 MHz
[    1.699607] Initializing XFRM netlink socket
[    1.703933] NET: Registered protocol family 17
[    1.726126] Registering SWP/SWPB emulation handler
[    1.731037] Loading compiled-in X.509 certificates
[    1.744658] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[    1.754842] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[    1.760763] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 3
[    1.769862] hub 3-0:1.0: USB hub found
[    1.773735] hub 3-0:1.0: 1 port detected
[    1.779500] ALSA device list:
[    1.782497]   No soundcards found.
[    1.793093] List of all partitions:
[    1.796762] b300        30924800 mmcblk0 
[    1.796770]  driver: mmcblk
[    1.803573]   b301           32768 mmcblk0p1 fb599233-01
[    1.803577] 
[    1.810415]   b302        30891008 mmcblk0p2 fb599233-02
[    1.810418] 
[    1.817230] No filesystem could mount root, tried: 
[    1.817234]  ext3
[    1.822105]  ext2
[    1.824028]  ext4
[    1.825966]  vfat
[    1.827889] 
[    1.831303] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[    1.839736] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0-licheepi-zero #20
[    1.846948] Hardware name: Allwinner sun8i Family
[    1.851686] [<c010d92c>] (unwind_backtrace) from [<c010a348>] (show_stack+0x10/0x14)
[    1.859431] [<c010a348>] (show_stack) from [<c074df90>] (dump_stack+0x98/0xac)
[    1.866651] [<c074df90>] (dump_stack) from [<c074c494>] (panic+0x110/0x2fc)
[    1.873613] [<c074c494>] (panic) from [<c0a01488>] (mount_block_root+0x308/0x330)
[    1.881093] [<c0a01488>] (mount_block_root) from [<c0a01678>] (prepare_namespace+0x150/0x18c)
[    1.889613] [<c0a01678>] (prepare_namespace) from [<c075044c>] (kernel_init+0x8/0x118)
[    1.897526] [<c075044c>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
[    1.905086] Exception stack(0xc0c3bfb0 to 0xc0c3bff8)
[    1.910135] bfa0:                                     00000000 00000000 00000000 00000000
[    1.918305] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.926473] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.933095] Rebooting in 5 seconds..

我把比较小的包解压到第二分区,第一分区的东西都没动,使用的是5.1的内核,报错是这个,请问可能是什么问题

#82 Re: 全志 SOC » Debian 9.9 (stretch) 文件系统制作 » 2021-11-16 15:36:10

U-Boot SPL 2017.01-rc2 (Nov 15 2021 - 22:09:14)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (Nov 15 2021 - 22:09:14 -0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Nov 15 2021 - 22:09:14 -0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  2  1  0 
reading zImage
4544624 bytes read in 231 ms (18.8 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
13141 bytes read in 26 ms (493.2 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff354 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.0-licheepi-zero (shumei@ubuntu) (arm-linux-gnueabihf-gcc (Linaro GCC 6.3-2017.02) 6.3.1 20170109, GNU ld (Linaro_Binutils-2017.02) 2.27.0.20161019) #20 SMP Mon Nov 15 19:27:52 PST 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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: 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: 53624K/65536K available (7168K kernel code, 693K rwdata, 1784K rodata, 1024K init, 261K bss, 11912K 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+0x328/0x4bc 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.000023] Switching to timer-based delay loop, resolution 41ns
[    0.000260] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000548] Console: colour dummy device 80x30
[    0.000616] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000639] pid_max: default: 32768 minimum: 301
[    0.000814] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000834] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001727] CPU: Testing write buffer coherency: ok
[    0.002164] /cpus/cpu@0 missing clock-frequency property
[    0.002196] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003008] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003247] rcu: Hierarchical SRCU implementation.
[    0.003806] smp: Bringing up secondary CPUs ...
[    0.003834] smp: Brought up 1 node, 1 CPU
[    0.003847] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003856] CPU: All CPU(s) started in SVC mode.
[    0.004536] devtmpfs: initialized
[    0.008293] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008670] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008706] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008946] pinctrl core: initialized pinctrl subsystem
[    0.010255] NET: Registered protocol family 16
[    0.010793] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.012011] thermal_sys: Registered thermal governor 'step_wise'
[    0.012380] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.012406] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.033755] SCSI subsystem initialized
[    0.033949] usbcore: registered new interface driver usbfs
[    0.034022] usbcore: registered new interface driver hub
[    0.034143] usbcore: registered new device driver usb
[    0.034379] mc: Linux media interface: v0.10
[    0.034422] videodev: Linux video capture interface: v2.00
[    0.034690] Advanced Linux Sound Architecture Driver Initialized.
[    0.036024] clocksource: Switched to clocksource arch_sys_counter
[    0.048278] NET: Registered protocol family 2
[    0.049133] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.049184] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.049213] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.049237] TCP: Hash tables configured (established 1024 bind 1024)
[    0.049391] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.049447] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.049732] NET: Registered protocol family 1
[    0.051389] Initialise system trusted keyrings
[    0.051779] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.138621] Key type asymmetric registered
[    0.138658] Asymmetric key parser 'x509' registered
[    0.138758] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.138776] io scheduler mq-deadline registered
[    0.138787] io scheduler kyber registered
[    0.139758] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.143695] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.214063] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.216777] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    0.218037] printk: console [ttyS0] disabled
[    0.238366] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[    0.791207] printk: console [ttyS0] enabled
[    0.800832] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    0.811034] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.817696] ehci-platform: EHCI generic platform driver
[    0.823272] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.828961] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.836926] ehci-platform 1c1a000.usb: irq 34, io mem 0x01c1a000
[    0.866009] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.873278] hub 1-0:1.0: USB hub found
[    0.877244] hub 1-0:1.0: 1 port detected
[    0.881883] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.888225] ohci-platform: OHCI generic platform driver
[    0.893779] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.900527] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.908501] ohci-platform 1c1a400.usb: irq 35, io mem 0x01c1a400
[    0.981140] hub 2-0:1.0: USB hub found
[    0.984991] hub 2-0:1.0: 1 port detected
[    0.992360] usbcore: registered new interface driver usb-storage
[    0.999731] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.009678] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.014798] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:02:05 UTC (125)
[    1.022985] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.027699] i2c /dev entries driver
[    1.032733] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.043575] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.052592] sun4i-ss 1c15000.crypto: Die ID 7
[    1.057492] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.067617] sun8i-v3s-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    1.080941] usbcore: registered new interface driver usbhid
[    1.086665] usbhid: USB HID core driver
[    1.090694] fb_st7789v spi0.0: fbtft_property_value: buswidth = 8
[    1.096860] fb_st7789v spi0.0: fbtft_property_value: debug = 0
[    1.102692] fb_st7789v spi0.0: fbtft_property_value: rotate = 270
[    1.108806] fb_st7789v spi0.0: fbtft_property_value: fps = 60
[    1.126129] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.133444] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.175712] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.185664] mmc0: new high speed SDHC card at address 59b4
[    1.192312] mmcblk0: mmc0:59b4 SDU1  29.5 GiB 
[    1.200125]  mmcblk0: p1 p2
[    1.649028] random: fast init done
[    1.674127] Console: switching to colour frame buffer device 40x30
[    1.681142] graphics fb0: fb_st7789v frame buffer, 320x240, 150 KiB video memory, 4 KiB buffer memory, fps=100, spi0.0 at 96 MHz
[    1.699607] Initializing XFRM netlink socket
[    1.703933] NET: Registered protocol family 17
[    1.726126] Registering SWP/SWPB emulation handler
[    1.731037] Loading compiled-in X.509 certificates
[    1.744658] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[    1.754842] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[    1.760763] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 3
[    1.769862] hub 3-0:1.0: USB hub found
[    1.773735] hub 3-0:1.0: 1 port detected
[    1.779500] ALSA device list:
[    1.782497]   No soundcards found.
[    1.793093] List of all partitions:
[    1.796762] b300        30924800 mmcblk0 
[    1.796770]  driver: mmcblk
[    1.803573]   b301           32768 mmcblk0p1 fb599233-01
[    1.803577] 
[    1.810415]   b302        30891008 mmcblk0p2 fb599233-02
[    1.810418] 
[    1.817230] No filesystem could mount root, tried: 
[    1.817234]  ext3
[    1.822105]  ext2
[    1.824028]  ext4
[    1.825966]  vfat
[    1.827889] 
[    1.831303] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[    1.839736] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0-licheepi-zero #20
[    1.846948] Hardware name: Allwinner sun8i Family
[    1.851686] [<c010d92c>] (unwind_backtrace) from [<c010a348>] (show_stack+0x10/0x14)
[    1.859431] [<c010a348>] (show_stack) from [<c074df90>] (dump_stack+0x98/0xac)
[    1.866651] [<c074df90>] (dump_stack) from [<c074c494>] (panic+0x110/0x2fc)
[    1.873613] [<c074c494>] (panic) from [<c0a01488>] (mount_block_root+0x308/0x330)
[    1.881093] [<c0a01488>] (mount_block_root) from [<c0a01678>] (prepare_namespace+0x150/0x18c)
[    1.889613] [<c0a01678>] (prepare_namespace) from [<c075044c>] (kernel_init+0x8/0x118)
[    1.897526] [<c075044c>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
[    1.905086] Exception stack(0xc0c3bfb0 to 0xc0c3bff8)
[    1.910135] bfa0:                                     00000000 00000000 00000000 00000000
[    1.918305] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.926473] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.933095] Rebooting in 5 seconds..


请问晕哥,出现这个是什么情况,不断重启,我只替换了内存卡第二分区的全部文件

#83 Re: 全志 SOC » 在哇酷那么久了,自己还是比较愚钝的,也做了一版V3S,这次把最终效果发出来,如果大家感觉有参考价值,我也可以开源。 » 2021-11-04 22:34:43

saub 说:

你的板子WIFI天线周围都不能铺铜,你这铺铜都把WIFI天线围住了,WIFI信号辐射不出来,建议将WIFI天线那里铺铜打开一个大缺口。

这个模块只能用陶瓷天线吗,我看的荔枝派的模块好像没有用到天线

#84 Re: 全志 SOC » 千万不要用Windows解压linux源代码,大坑 » 2021-11-03 21:54:38

jlau 说:

搞个manjaro kde吧,让你不想回windows。
熟悉ubuntu的话kde neon,kubuntu也不错

我是小白,刚开始学习,还需要努力!

#86 全志 SOC » 千万不要用Windows解压linux源代码,大坑 » 2021-11-03 11:57:14

树莓学LINUX
回复: 5

千万不要用Windows解压linux源代码。
图省事没用Git下载linux源码压缩包,在Windows上下载了zip后,直接解压然后再共享到ubuntu,结果就是死活编译不通过,文件夹存在头文件报错缺少该文件,这个问题卡了我好几天
:rolleyes
:rolleyes
:rolleyes

#87 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-03 11:22:40

资本家大善人 说:
树莓学LINUX 说:

请问io硬件连接是怎样的,连接到v3s的spi吗

是的

请问我可不可以用荔枝派zero连接外部的tf屏幕做测试

#88 Re: 全志 SOC » 荔枝派zero全志v3s驱动SPILCD屏幕(st7789) » 2021-11-02 22:47:05

请问io硬件连接是怎样的,连接到v3s的spi吗

#89 全志 SOC » linux学习路线 » 2021-11-02 10:26:59

树莓学LINUX
回复: 0

各位大佬好,菜鸟现在有一些单片机基础,51 32 8266都会一些,会用python 写个上位机之类,想学习linux 嵌入式,请推荐一条合适的学习路线。

#90 全志 SOC » /tools/binman/binman: 行 1: binman.py:未找到命令 » 2021-10-28 00:09:46

树莓学LINUX
回复: 1

在使用官方教程对U-BOOT进行编程时,出现“/tools/binman/binman: 行 1: binman.py:未找到命令”这个错误,尝试完全卸载python2、python3后安装再次安装python2仍然出现这个问题。
安装时出现“选中 'python-is-python2' 而非 'python'”
请问我应该怎么办

页脚

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

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