您尚未登录。

楼主 #1 2021-01-28 17:45:02

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

V3S禁用屏幕log,用于显示qt

rt
我做的V3S板子,可以正常启动linux系统,可以正常进入系统,只不过屏幕显示内核log,然后串口也有打印,通过串口输入指令cat /dev/random > /dev/fb0不能让屏幕花屏,估计是屏幕用于提示登录被占用了吧,如何禁用显示器shell呢
ps:有朋友说坑网有现成的教程,奈何表达能力不到位不知道如何搜索,输入屏幕+禁用或者屏幕+log 都得不到想要的结果

离线

#2 2021-01-28 17:55:45

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: V3S禁用屏幕log,用于显示qt

看下你 uboot bootargs 的 console参数是什么值?





离线

楼主 #3 2021-01-28 18:14:15

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

看下你 uboot bootargs 的 console参数是什么值?
QQ截图20210128181323.jpg
是说这个么

离线

#4 2021-01-28 18:57:06

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: V3S禁用屏幕log,用于显示qt

能进命令行吗?

# dmesg |grep bootargs





离线

楼主 #5 2021-01-28 19:48:11

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

哇酷小二 说:

能进命令行吗?

# dmesg |grep bootargs

QQ截图20210128181323_20210128-1947.jpg

啥都没有啊

离线

#6 2021-01-28 23:05:23

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: V3S禁用屏幕log,用于显示qt

如果你用的是荔枝派uboot 2017的话,在 include/configs/sun8i.h 修改bootargs参数。





离线

楼主 #7 2021-01-29 09:07:56

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

哇酷小二 说:

如果你用的是荔枝派uboot 2017的话,在 include/configs/sun8i.h 修改bootargs参数。

是荔枝派2017uboot的
需要添加什么参数呢,目前我只添加了这个(图中我选中的部分,其他的没有,因为接我的不一样),然后重新烧录,屏幕确实不提示登录了,但还是不能到内核禁用屏幕log
QQ截图20210129090554.jpg

离线

#8 2021-01-29 09:12:15

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: V3S禁用屏幕log,用于显示qt

改了这里LCD应该就没有kernel log吧?





离线

楼主 #9 2021-01-29 09:22:49

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

有,难道是内核也要配置?

离线

#10 2021-01-29 10:08:08

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: V3S禁用屏幕log,用于显示qt

楼主你步骤呢?

离线

楼主 #11 2021-01-29 10:10:38

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

raspberryman 说:

楼主你步骤呢?

全部是按照荔枝派zero官网的那个教程操作的
小白不敢乱点0.0

最近编辑记录 mysteryli (2021-01-29 10:10:58)

离线

#12 2021-01-29 10:27:14

pythinker
会员
注册时间: 2019-02-12
已发帖子: 215
积分: 215

Re: V3S禁用屏幕log,用于显示qt

mysteryli 说:
raspberryman 说:

楼主你步骤呢?

全部是按照荔枝派zero官网的那个教程操作的
小白不敢乱点0.0

地址呢?

离线

楼主 #13 2021-01-29 14:26:50

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

离线

楼主 #14 2021-01-29 14:27:39

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

就是按照教程 编译uboot,内核,buildroot这些,然后烧录到SD卡,开机
标准的步骤:P

离线

#15 2021-01-29 14:47:00

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: V3S禁用屏幕log,用于显示qt

把完整log贴上来吧

离线

楼主 #16 2021-01-29 21:49:17

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

Xshell 6 (Build 0095)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[D:\~]$ 

Connecting to COM35...
Connected.


U-Boot SPL 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58 +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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58 +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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 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 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
292 bytes read in 17 ms (16.6 KiB/s)
## Executing script at 41900000
reading zImage
3828472 bytes read in 218 ms (16.7 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
9262 bytes read in 29 ms (311.5 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dff42d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero+ (l@l-VirtualBox) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Fri Nov 20 22:44:44 CST 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3dea000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 53648K/64036K available (6144K kernel code, 199K rwdata, 1388K rodata, 1024K init, 259K bss, 10388K 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 - 0xc3e89000   (  62 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 - 0xc0a31e00   ( 200 kB)
[    0.000000]        .bss : 0xc0a33000 - 0xc0a73f0c   ( 260 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000135] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000339] Console: colour dummy device 80x30
[    0.000771] console [tty0] enabled
[    0.000812] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000848] pid_max: default: 32768 minimum: 301
[    0.000992] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001022] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001751] CPU: Testing write buffer coherency: ok
[    0.002195] /cpus/cpu@0 missing clock-frequency property
[    0.002241] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002616] Setting up static identity map for 0x40100000 - 0x40100058
[    0.003409] smp: Bringing up secondary CPUs ...
[    0.003452] smp: Brought up 1 node, 1 CPU
[    0.003472] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003491] CPU: All CPU(s) started in SVC mode.
[    0.004282] devtmpfs: initialized
[    0.007218] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007548] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007604] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007775] pinctrl core: initialized pinctrl subsystem
[    0.008815] NET: Registered protocol family 16
[    0.009316] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.010689] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.010739] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022394] SCSI subsystem initialized
[    0.022701] usbcore: registered new interface driver usbfs
[    0.022803] usbcore: registered new interface driver hub
[    0.022923] usbcore: registered new device driver usb
[    0.023174] pps_core: LinuxPPS API ver. 1 registered
[    0.023201] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023247] PTP clock support registered
[    0.023482] Advanced Linux Sound Architecture Driver Initialized.
[    0.025313] clocksource: Switched to clocksource arch_sys_counter
[    0.026183] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4080000
[    0.026236] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    0.033127] Console: switching to colour frame buffer device 100x30
[    0.042957] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    0.056829] NET: Registered protocol family 2
[    0.061215] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.065073] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.068960] TCP: Hash tables configured (established 1024 bind 1024)
[    0.072806] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.076591] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.080487] NET: Registered protocol family 1
[    0.084750] RPC: Registered named UNIX socket transport module.
[    0.088519] RPC: Registered udp transport module.
[    0.092095] RPC: Registered tcp transport module.
[    0.095582] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.101324] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.113847] NFS: Registering the id_resolver key type
[    0.117488] Key type id_resolver registered
[    0.120857] Key type id_legacy registered
[    0.128388] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.131966] io scheduler noop registered
[    0.135595] io scheduler deadline registered
[    0.139315] io scheduler cfq registered (default)
[    0.147181] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.219765] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.226785] console [ttyS0] disabled
[    0.250589] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.848034] console [ttyS0] enabled
[    0.855771] [drm] Initialized
[    0.864052] libphy: Fixed MDIO Bus: probed
[    0.871866] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.881831] ehci-platform: EHCI generic platform driver
[    0.890479] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.899987] ohci-platform: OHCI generic platform driver
[    0.908956] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.921832] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.934310] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.944671] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.952652] i2c /dev entries driver
[    0.960999] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    0.974148] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.045357] sunxi-mmc 1c0f000.mmc: base:0xc405f000 irq:23
[    1.113070] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.124973] sunxi-mmc 1c10000.mmc: base:0xc4063000 irq:24
[    1.135099] usbcore: registered new interface driver usbhid
[    1.144473] usbhid: USB HID core driver
[    1.152754] mmc0: new high speed SD card at address 1388
[    1.163762] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.175706] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.186258] mmcblk0: mmc0:1388 CS006 482 MiB 
[    1.199512] NET: Registered protocol family 17
[    1.208090] Key type dns_resolver registered
[    1.216301] Registering SWP/SWPB emulation handler
[    1.225433]  mmcblk0: p1 p2
[    1.237963] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.249714] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.259249] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.272198] hub 1-0:1.0: USB hub found
[    1.279994] hub 1-0:1.0: 1 port detected
[    1.288500] using random self ethernet address
[    1.296736] using random host ethernet address
[    1.305856] usb0: HOST MAC ee:b3:c7:d5:76:2c
[    1.313712] usb0: MAC 96:76:0c:f8:cd:30
[    1.321125] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.332139] g_cdc gadget: g_cdc ready
[    1.341739] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.354374] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:05 UTC (5)
[    1.366175] vcc5v0: disabling
[    1.372612] ALSA device list:
[    1.378943]   #0: V3s Audio Codec
[    1.387277] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.396432] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.410073] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.427478] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.440851] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.452930] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.461834] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.470416] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.478935] mmc1: new high speed SDIO card at address 0001
[    1.488164] random: fast init done
[    1.494333] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (80, <SessEnd), retry #0, port1 00000100
[    1.516606] EXT4-fs (mmcblk0p2): recovery complete
[    1.526398] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.537628] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.550532] devtmpfs: mounted
[    1.557969] Freeing unused kernel memory: 1024K
[    1.678031] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered

Welcome to Buildroot
ljn login: 

看到一处比较可疑的地方,但不知道为什么是这样
*** Warning - bad CRC, using default environment

离线

#17 2021-01-29 22:00:10

明月照我沟渠
会员
注册时间: 2020-07-09
已发帖子: 120
积分: 114

Re: V3S禁用屏幕log,用于显示qt

荔枝派Zero V3s开发板入坑记录 (TF/SD卡启动)(主线Linux,主线u-boot)
http://whycan.com/t_561.html
(出处:哇酷开发者社区)


*** Warning - bad CRC, using default environment
这个没问题, 是uboot加载环境变量出错, 他就用了默认参数.

离线

#18 2021-01-29 22:35:29

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: V3S禁用屏幕log,用于显示qt

[    0.000000] Linux version 4.10.15-licheepi-zero+ (l@l-VirtualBox) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Fri Nov 20 22:44:44 CST 2020


楼主, 你的kernel到底啥时候编译的? 2020-11-20?





离线

楼主 #19 2021-01-29 22:58:41

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

哇酷小二 说:

[    0.000000] Linux version 4.10.15-licheepi-zero+ (l@l-VirtualBox) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Fri Nov 20 22:44:44 CST 2020


楼主, 你的kernel到底啥时候编译的? 2020-11-20?

我刚刚换了 5.2的kernel
日志发现一句Setting up a 800x480 lcd console (overscan 0x0)感觉是罪魁祸首,但是不知道如何消除掉
还得请问各位大佬
另外还发现一个问题,读取的是带dock的那个设备树,为啥ifconfig查不到eth0呢

奉上dtb文件,没有改动过,荔枝派内核5.2分支的原版
sun8i-v3s-licheepi-zero-dock.zip


Xshell 6 (Build 0095)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[D:\~]$ 

Connecting to COM35...
Failed to open COM35.

Type `help' to learn how to use Xshell prompt.
[D:\~]$ 

Connecting to COM3...
Connected.


U-Boot SPL 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58 +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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58 +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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 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 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
292 bytes read in 17 ms (16.6 KiB/s)
## Executing script at 41900000
reading zImage
5001344 bytes read in 276 ms (17.3 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
12100 bytes read in 30 ms (393.6 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dfff43 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (l@l-VirtualBox) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Fri Jan 29 22:12:35 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 s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 51496K/64036K available (8192K kernel code, 301K rwdata, 1676K rodata, 1024K init, 252K bss, 12540K 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+0x354/0x514 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.000018] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000042] Switching to timer-based delay loop, resolution 41ns
[    0.000425] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000967] Console: colour dummy device 80x30
[    0.001898] printk: console [tty0] enabled
[    0.001991] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002067] pid_max: default: 32768 minimum: 301
[    0.002347] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002415] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003682] CPU: Testing write buffer coherency: ok
[    0.004380] /cpus/cpu@0 missing clock-frequency property
[    0.004459] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005495] Setting up static identity map for 0x40100000 - 0x40100060
[    0.005811] rcu: Hierarchical SRCU implementation.
[    0.006504] smp: Bringing up secondary CPUs ...
[    0.006571] smp: Brought up 1 node, 1 CPU
[    0.006611] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.006651] CPU: All CPU(s) started in SVC mode.
[    0.008230] devtmpfs: initialized
[    0.015943] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.016546] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016645] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.017005] pinctrl core: initialized pinctrl subsystem
[    0.018717] NET: Registered protocol family 16
[    0.019518] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022423] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.022505] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.066409] SCSI subsystem initialized
[    0.066782] usbcore: registered new interface driver usbfs
[    0.066950] usbcore: registered new interface driver hub
[    0.067157] usbcore: registered new device driver usb
[    0.067616] mc: Linux media interface: v0.10
[    0.067738] videodev: Linux video capture interface: v2.00
[    0.068221] Advanced Linux Sound Architecture Driver Initialized.
[    0.070918] clocksource: Switched to clocksource arch_sys_counter
[    0.091974] NET: Registered protocol family 2
[    0.093218] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.093350] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.093463] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.093562] TCP: Hash tables configured (established 1024 bind 1024)
[    0.093786] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.093893] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.094349] NET: Registered protocol family 1
[    0.097860] Initialise system trusted keyrings
[    0.098353] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.157717] Key type asymmetric registered
[    0.157788] Asymmetric key parser 'x509' registered
[    0.157957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.158013] io scheduler mq-deadline registered
[    0.158050] io scheduler kyber registered
[    0.159983] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.168807] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.298068] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.302823] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.304773] printk: console [ttyS0] disabled
[    0.325261] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.840829] printk: console [ttyS0] enabled
[    0.945364] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.952060] ehci-platform: EHCI generic platform driver
[    0.957799] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.963585] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.971719] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.000543] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.008550] hub 1-0:1.0: USB hub found
[    1.012602] hub 1-0:1.0: 1 port detected
[    1.017811] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.024215] ohci-platform: OHCI generic platform driver
[    1.029964] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.036789] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.044902] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.129860] hub 2-0:1.0: USB hub found
[    1.133929] hub 2-0:1.0: 1 port detected
[    1.139511] usbcore: registered new interface driver usb-storage
[    1.147680] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.157861] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.163122] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.167908] i2c /dev entries driver
[    1.174148] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.184916] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.194420] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.231660] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.239193] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.275169] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.284578] usbcore: registered new interface driver usbhid
[    1.290206] usbhid: USB HID core driver
[    1.297373] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.305110] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.313193] Initializing XFRM netlink socket
[    1.317577] NET: Registered protocol family 17
[    1.323180] Registering SWP/SWPB emulation handler
[    1.329779] Loading compiled-in X.509 certificates
[    1.344612] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.355401] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.390624] Console: switching to colour frame buffer device 100x30
[    1.437142] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.463048] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.507045] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.529520] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.556606] hub 3-0:1.0: USB hub found
[    1.577611] hub 3-0:1.0: 1 port detected
[    1.597843] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.626133] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.651534] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.678707] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.703269] mmc0: new high speed SD card at address 1388
[    1.727686] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
[    1.752686] vcc5v0: disabling
[    1.771793] ALSA device list:
[    1.790402]   #0: V3s Audio Codec
[    1.811584] mmcblk0: mmc0:1388 CS006 482 MiB 
[    1.832594] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.855897]  mmcblk0: p1 p2
[    1.883331] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.908595] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.934099] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.957604] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.980746] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    2.001812] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    2.023166] random: fast init done
[    2.037804] devtmpfs: mounted
[    2.055140] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    2.080604] Freeing unused kernel memory: 1024K
[    2.099337] mmc1: new high speed SDIO card at address 0001
[    2.119238] Run /sbin/init as init process
[    2.257094] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    2.602926] random: dd: uninitialized urandom read (512 bytes read)

Welcome to Buildroot
ljn login: root
Password: 
# ifconfig 
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)

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

# 

离线

楼主 #20 2021-01-31 08:50:31

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

自己顶一下 希望得到各位大佬的帮助

离线

#21 2021-02-01 11:04:02

歌以咏志
会员
注册时间: 2019-09-21
已发帖子: 219
积分: 210

Re: V3S禁用屏幕log,用于显示qt

U-Boot 2017.01-rc2 (Jan 31 2021 - 22:37:46 +0800) YK Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: c2, 20, 19
*** Warning - spi_flash_probe() failed, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000

我的也显示这个, 但是LCD正常噢。

离线

楼主 #22 2021-02-01 11:06:10

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

歌以咏志 说:
U-Boot 2017.01-rc2 (Jan 31 2021 - 22:37:46 +0800) YK Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: c2, 20, 19
*** Warning - spi_flash_probe() failed, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000

我的也显示这个, 但是LCD正常噢。

哎,那就不明白了,等待大佬的帮助...

离线

楼主 #23 2021-02-01 21:11:12

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

自己顶一下 希望得到各位大佬的帮助

离线

#24 2021-02-01 22:08:38

拉轰的脚踏车
会员
注册时间: 2020-03-20
已发帖子: 288
积分: 222

Re: V3S禁用屏幕log,用于显示qt

mysteryli 说:

自己顶一下 希望得到各位大佬的帮助

5.2 也是把log显示在LCD上?

离线

#25 2021-02-01 22:32:06

忙着折腾
会员
注册时间: 2019-02-20
已发帖子: 30
积分: 19

Re: V3S禁用屏幕log,用于显示qt

修改这个文件:drivers/video/console/Makefile
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o softcursor.o  这行屏蔽掉
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE)     += tileblit.o 这行也屏蔽掉

然后重新编译,亲测可行。

离线

#26 2021-02-01 22:40:31

忙着折腾
会员
注册时间: 2019-02-20
已发帖子: 30
积分: 19

Re: V3S禁用屏幕log,用于显示qt

mysteryli 说:
哇酷小二 说:

[    0.000000] Linux version 4.10.15-licheepi-zero+ (l@l-VirtualBox) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Fri Nov 20 22:44:44 CST 2020


楼主, 你的kernel到底啥时候编译的? 2020-11-20?

我刚刚换了 5.2的kernel
日志发现一句Setting up a 800x480 lcd console (overscan 0x0)感觉是罪魁祸首,但是不知道如何消除掉
还得请问各位大佬
另外还发现一个问题,读取的是带dock的那个设备树,为啥ifconfig查不到eth0呢

奉上dtb文件,没有改动过,荔枝派内核5.2分支的原版
sun8i-v3s-licheepi-zero-dock.zip


Xshell 6 (Build 0095)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[D:\~]$ 

Connecting to COM35...
Failed to open COM35.

Type `help' to learn how to use Xshell prompt.
[D:\~]$ 

Connecting to COM3...
Connected.


U-Boot SPL 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58 +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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-g32ab180-dirty (Jan 28 2021 - 20:45:58 +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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 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 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
292 bytes read in 17 ms (16.6 KiB/s)
## Executing script at 41900000
reading zImage
5001344 bytes read in 276 ms (17.3 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
12100 bytes read in 30 ms (393.6 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dfff43 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (l@l-VirtualBox) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Fri Jan 29 22:12:35 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 s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 51496K/64036K available (8192K kernel code, 301K rwdata, 1676K rodata, 1024K init, 252K bss, 12540K 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+0x354/0x514 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.000018] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000042] Switching to timer-based delay loop, resolution 41ns
[    0.000425] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000967] Console: colour dummy device 80x30
[    0.001898] printk: console [tty0] enabled
[    0.001991] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002067] pid_max: default: 32768 minimum: 301
[    0.002347] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002415] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003682] CPU: Testing write buffer coherency: ok
[    0.004380] /cpus/cpu@0 missing clock-frequency property
[    0.004459] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005495] Setting up static identity map for 0x40100000 - 0x40100060
[    0.005811] rcu: Hierarchical SRCU implementation.
[    0.006504] smp: Bringing up secondary CPUs ...
[    0.006571] smp: Brought up 1 node, 1 CPU
[    0.006611] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.006651] CPU: All CPU(s) started in SVC mode.
[    0.008230] devtmpfs: initialized
[    0.015943] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.016546] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016645] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.017005] pinctrl core: initialized pinctrl subsystem
[    0.018717] NET: Registered protocol family 16
[    0.019518] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022423] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.022505] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.066409] SCSI subsystem initialized
[    0.066782] usbcore: registered new interface driver usbfs
[    0.066950] usbcore: registered new interface driver hub
[    0.067157] usbcore: registered new device driver usb
[    0.067616] mc: Linux media interface: v0.10
[    0.067738] videodev: Linux video capture interface: v2.00
[    0.068221] Advanced Linux Sound Architecture Driver Initialized.
[    0.070918] clocksource: Switched to clocksource arch_sys_counter
[    0.091974] NET: Registered protocol family 2
[    0.093218] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.093350] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.093463] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.093562] TCP: Hash tables configured (established 1024 bind 1024)
[    0.093786] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.093893] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.094349] NET: Registered protocol family 1
[    0.097860] Initialise system trusted keyrings
[    0.098353] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.157717] Key type asymmetric registered
[    0.157788] Asymmetric key parser 'x509' registered
[    0.157957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.158013] io scheduler mq-deadline registered
[    0.158050] io scheduler kyber registered
[    0.159983] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.168807] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.298068] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.302823] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.304773] printk: console [ttyS0] disabled
[    0.325261] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.840829] printk: console [ttyS0] enabled
[    0.945364] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.952060] ehci-platform: EHCI generic platform driver
[    0.957799] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.963585] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.971719] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.000543] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.008550] hub 1-0:1.0: USB hub found
[    1.012602] hub 1-0:1.0: 1 port detected
[    1.017811] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.024215] ohci-platform: OHCI generic platform driver
[    1.029964] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.036789] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.044902] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.129860] hub 2-0:1.0: USB hub found
[    1.133929] hub 2-0:1.0: 1 port detected
[    1.139511] usbcore: registered new interface driver usb-storage
[    1.147680] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.157861] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.163122] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.167908] i2c /dev entries driver
[    1.174148] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.184916] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.194420] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.231660] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.239193] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.275169] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.284578] usbcore: registered new interface driver usbhid
[    1.290206] usbhid: USB HID core driver
[    1.297373] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.305110] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.313193] Initializing XFRM netlink socket
[    1.317577] NET: Registered protocol family 17
[    1.323180] Registering SWP/SWPB emulation handler
[    1.329779] Loading compiled-in X.509 certificates
[    1.344612] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.355401] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.390624] Console: switching to colour frame buffer device 100x30
[    1.437142] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.463048] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.507045] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.529520] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.556606] hub 3-0:1.0: USB hub found
[    1.577611] hub 3-0:1.0: 1 port detected
[    1.597843] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.626133] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.651534] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.678707] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.703269] mmc0: new high speed SD card at address 1388
[    1.727686] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
[    1.752686] vcc5v0: disabling
[    1.771793] ALSA device list:
[    1.790402]   #0: V3s Audio Codec
[    1.811584] mmcblk0: mmc0:1388 CS006 482 MiB 
[    1.832594] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.855897]  mmcblk0: p1 p2
[    1.883331] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.908595] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.934099] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.957604] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.980746] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    2.001812] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    2.023166] random: fast init done
[    2.037804] devtmpfs: mounted
[    2.055140] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    2.080604] Freeing unused kernel memory: 1024K
[    2.099337] mmc1: new high speed SDIO card at address 0001
[    2.119238] Run /sbin/init as init process
[    2.257094] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    2.602926] random: dd: uninitialized urandom read (512 bytes read)

Welcome to Buildroot
ljn login: root
Password: 
# ifconfig 
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)

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

# 

ifconfig eth0 192.168.1.150 netmask 255.255.255.0 执行这条命令试下,这样eth0应该就出来了。

离线

楼主 #27 2021-02-02 08:55:02

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

拉轰的脚踏车 说:
mysteryli 说:

自己顶一下 希望得到各位大佬的帮助

5.2 也是把log显示在LCD上?

是的

离线

楼主 #28 2021-02-02 08:56:14

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

忙着折腾 说:

修改这个文件:drivers/video/console/Makefile
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o softcursor.o  这行屏蔽掉
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE)     += tileblit.o 这行也屏蔽掉

然后重新编译,亲测可行。

好的好的  马上就尝试一下,非常感谢
另外楼上你说的,ifconfig -a都看不到eth0,执行你说的那个命令,恐怕不行吧
ps:板子没在手边 稍后试一下

离线

楼主 #29 2021-02-04 00:28:35

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

忙着折腾 说:

修改这个文件:drivers/video/console/Makefile
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o softcursor.o  这行屏蔽掉
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE)     += tileblit.o 这行也屏蔽掉

然后重新编译,亲测可行。

我看了一下,我对应的Makefile只有这些内容啊
QQ截图20210204002725.jpg
另外  eth0的那个问题的命令 会报错的
QQ截图20210204002623.jpg

离线

楼主 #30 2021-02-04 00:31:26

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

再贴一下屏幕的log,之前忘记拍照了
_20210204003042.jpg

离线

#31 2021-02-04 20:11:40

忙着折腾
会员
注册时间: 2019-02-20
已发帖子: 30
积分: 19

Re: V3S禁用屏幕log,用于显示qt

mysteryli 说:
忙着折腾 说:

修改这个文件:drivers/video/console/Makefile
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o softcursor.o  这行屏蔽掉
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE)     += tileblit.o 这行也屏蔽掉

然后重新编译,亲测可行。

我看了一下,我对应的Makefile只有这些内容啊
https://whycan.com/files/members/3311/QQ截图20210204002725.jpg
另外  eth0的那个问题的命令 会报错的
https://whycan.com/files/members/3311/QQ截图20210204002623.jpg


我的内核是4.13.y 不是5.2的

离线

楼主 #32 2021-02-05 08:34:54

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

忙着折腾 说:
mysteryli 说:
忙着折腾 说:

修改这个文件:drivers/video/console/Makefile
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o softcursor.o  这行屏蔽掉
#obj-$(CONFIG_FRAMEBUFFER_CONSOLE)     += tileblit.o 这行也屏蔽掉

然后重新编译,亲测可行。

我看了一下,我对应的Makefile只有这些内容啊
https://whycan.com/files/members/3311/QQ截图20210204002725.jpg
另外  eth0的那个问题的命令 会报错的
https://whycan.com/files/members/3311/QQ截图20210204002623.jpg


我的内核是4.13.y 不是5.2的

那我换你的内核试试

离线

楼主 #33 2021-02-06 14:00:53

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 486
积分: 391
个人网站

Re: V3S禁用屏幕log,用于显示qt

mysteryli 说:
忙着折腾 说:
mysteryli 说:

我看了一下,我对应的Makefile只有这些内容啊
https://whycan.com/files/members/3311/QQ截图20210204002725.jpg
另外  eth0的那个问题的命令 会报错的
https://whycan.com/files/members/3311/QQ截图20210204002623.jpg


我的内核是4.13.y 不是5.2的

那我换你的内核试试

老哥我试了一下 确实是没有log了,但是也没了/dev/fb0节点...
你后来又配置什么了嘛

离线

#34 2021-02-07 12:06:49

忙着折腾
会员
注册时间: 2019-02-20
已发帖子: 30
积分: 19

Re: V3S禁用屏幕log,用于显示qt

mysteryli 说:
mysteryli 说:
忙着折腾 说:

我的内核是4.13.y 不是5.2的

那我换你的内核试试

老哥我试了一下 确实是没有log了,但是也没了/dev/fb0节点...
你后来又配置什么了嘛


我用的是SPI的屏幕,改了下面3个文件。
FluxBB bbcode 测试
FluxBB bbcode 测试
FluxBB bbcode 测试
FluxBB bbcode 测试
可能是你修改drivers/video/console/Makefile这个文件后,就不会生成原来并口RGB的fb0了(我也不知道这样改fb0会消失),你用的是并口RGB屏,而我又启用了SPI屏的驱动,又生成了fb0,我用的是SPI屏。

离线

页脚

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

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