您尚未登录。

#1 全志 SOC » f1c100s 跑linux液晶屏不显示,请问是哪里有问题,(Uboot可以显示) » 2024-02-28 16:02:40

wimmx
回复: 2

f1c100s 跑linux液晶屏不显示,请问是哪里有问题,(Uboot可以显示)

U-Boot SPL 2018.01-05682-g6b6a8abcde-dirty (Feb 28 2024 - 12:27:44)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2018.01-05682-g6b6a8abcde-dirty (Feb 28 2024 - 12:27:44 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
In:    serial@1c25400
Out:   serial@1c25400
Err:   serial@1c25400
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
reading zImage
5148560 bytes read in 499 ms (9.8 MiB/s)
reading suniv-f1c100s-licheepi-nano.dtb
9428 bytes read in 27 ms (340.8 KiB/s)
## Flattened Device Tree blob at 80c08000
   Booting using the fdt blob at 0x80c08000
   Loading Device Tree to 816fa000, end 816ff4d3 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.18 (root@LAPTOP-742J44QS) (arm-linux-gnueabi-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #15 Wed Feb 28 13:55:07 +08 2024
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Kernel command line: console=ttyS1,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw drm.debug=0x1f debug
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 51700K/65536K available (8192K kernel code, 611K rwdata, 1936K rodata, 1024K init, 258K bss, 13836K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000132] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000877] Console: colour dummy device 80x30
[    0.001018] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070266] CPU: Testing write buffer coherency: ok
[    0.070521] pid_max: default: 32768 minimum: 301
[    0.071140] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071216] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078664] Setting up static identity map for 0x80100000 - 0x80100058
[    0.081447] devtmpfs: initialized
[    0.089503] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.089597] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089879] pinctrl core: initialized pinctrl subsystem
[    0.095552] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.097542] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.100350] thermal_sys: Registered thermal governor 'step_wise'
[    0.100478] cpuidle: using governor menu
[    0.124986] SCSI subsystem initialized
[    0.125392] usbcore: registered new interface driver usbfs
[    0.125533] usbcore: registered new interface driver hub
[    0.125714] usbcore: registered new device driver usb
[    0.126433] pps_core: LinuxPPS API ver. 1 registered
[    0.126465] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.126545] PTP clock support registered
[    0.127242] Advanced Linux Sound Architecture Driver Initialized.
[    0.132812] clocksource: Switched to clocksource timer
[    0.184792] NET: Registered PF_INET protocol family
[    0.185543] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.187530] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.187643] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.187691] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.187751] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.187846] TCP: Hash tables configured (established 1024 bind 1024)
[    0.188193] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188286] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188902] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.191215] RPC: Registered named UNIX socket transport module.
[    0.191272] RPC: Registered udp transport module.
[    0.191288] RPC: Registered tcp transport module.
[    0.191300] RPC: Registered tcp-with-tls transport module.
[    0.191311] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.197642] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.199789] Initialise system trusted keyrings
[    0.201745] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.204765] NFS: Registering the id_resolver key type
[    0.204946] Key type id_resolver registered
[    0.204972] Key type id_legacy registered
[    0.691538] Key type asymmetric registered
[    0.691589] Asymmetric key parser 'x509' registered
[    0.691926] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.691972] io scheduler mq-deadline registered
[    0.691994] io scheduler kyber registered
[    1.013214] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    1.027991] [drm:drm_core_init] Initialized
[    1.028567] [drm:sun4i_drv_probe] Adding component /soc/display-backend@1e60000
[    1.028812] [drm:sun4i_drv_probe] Adding component /soc/lcd-controller@1c0c000
[    1.028977] [drm:sun4i_drv_traverse_endpoints] Endpoint is our panel... skipping
[    1.041204] SCSI Media Changer driver v0.25
[    1.044132] usbcore: registered new interface driver usb-storage
[    1.045259] UDC core: g_cdc: couldn't find an available UDC
[    1.045700] i2c_dev: i2c /dev entries driver
[    1.048206] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.052525] usbcore: registered new interface driver usbhid
[    1.052564] usbhid: USB HID core driver
[    1.072684] NET: Registered PF_PACKET protocol family
[    1.073155] Key type dns_resolver registered
[    1.092494] Loading compiled-in X.509 certificates
[    1.125626] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.139821] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    1.141988] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.146306] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    1.148609] printk: console [ttyS1] disabled
[    1.170299] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 116, base_baud = 6250000) is a 16550A
[    1.170482] printk: console [ttyS1] enabled
[    1.772524] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.785574] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin PE6 already requested by 1c21000.pwm; cannot claim for 1c20800.pinctrl:134
[    1.797418] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin-134 (1c20800.pinctrl:134) status -22
[    1.805873] panel-simple panel: error -EINVAL: failed to request GPIO
[    1.812338] panel-simple: probe of panel failed with error -22
[    1.825213] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.840549] usb_phy_generic usb_phy_generic.0.auto: dummy supplies not allowed for exclusive requests
[    1.851611] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.857663] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.866267] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.882462] hub 1-0:1.0: USB hub found
[    1.886625] hub 1-0:1.0: 1 port detected
[    1.896229] g_cdc gadget.0: HOST MAC 36:d1:42:62:d8:5d
[    1.901452] g_cdc gadget.0: MAC 5a:99:25:ca:1b:cb
[    1.906515] g_cdc gadget.0: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.914300] g_cdc gadget.0: g_cdc ready
[    1.920022] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.931130] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.940978] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.953609] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.965324] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.986692] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.999872] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    2.007372] clk: Disabling unused clocks
[    2.011532] ALSA device list:
[    2.014608]   #0: Loopback 1
[    2.018561] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.027337] cfg80211: failed to load regulatory.db
[    2.033382] Waiting for root device /dev/mmcblk0p2...
[    2.047387] mmc0: new high speed SD card at address 0007
[    2.055279] mmcblk0: mmc0:0007 SD128 121 MiB
[    2.066028]  mmcblk0: p1 p2
[    2.072197] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    2.107425] EXT4-fs (mmcblk0p2): mounted filesystem 8634e3c3-49ad-41b0-a0fb-f858b940c7cf r/w with ordered data mode. Quota mode: disabled.
[    2.440109] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.449009] devtmpfs: mounted
[    2.456446] Freeing unused kernel image (initmem) memory: 1024K
[    2.462567] Run /sbin/init as init process
[    2.466776]   with arguments:
[    2.469760]     /sbin/init
[    2.472470]     earlyprintk
[    2.475311]   with environment:
[    2.478460]     HOME=/
[    2.480825]     TERM=linux
[    2.759172] EXT4-fs (mmcblk0p2): re-mounted 8634e3c3-49ad-41b0-a0fb-f858b940c7cf r/w. Quota mode: disabled.
Saving 256 bits of non-creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: OK

Welcome to Buildroot
buildroot login: [   12.004051] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[   12.014774] platform 1c0c000.lcd-controller: deferred probe pending

#2 全志 SOC » 请问有没有V3s跑RT-Thread,且bootloader和app集合成一个工程,下载到flash中可运行的例子 » 2024-01-29 15:24:23

wimmx
回复: 2

请问有没有V3s跑RT-Thread,且bootloader和app集合成一个工程,下载到flash中可运行的例子

#3 Re: 全志 SOC » 模仿stm32标准库风格写的库文件(f1c100s/f1c200s),且已移植了rt-thread、lvgl、fatfs、cherryusb » 2024-01-27 13:50:10

最近都用楼主的代码开发项目,真的太好用了。小白福音啊,从stm32过来了上手太快了。这么好的帖子,怎么不是精华帖子呢。

#4 Re: 全志 SOC » 模仿stm32标准库风格写的库文件(f1c100s/f1c200s),且已移植了rt-thread、lvgl、fatfs、cherryusb » 2024-01-03 10:29:59

看了一下,资源挺全的,而且里面居然还有原理图和PCB,太强了。下载学习一下

页脚

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

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