您尚未登录。

楼主 # 2022-03-27 13:38:47

lorenzo
会员
注册时间: 2022-03-24
已发帖子: 15
积分: 0

f1c100s buildroot启动失败

我下载最新的2022版的buildroot去构建根文件系统,配置按照wiki的方法,结果kernel painc,不知道什么原因,求大佬赐教

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-nano+ (lorenzo@ubuntu) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #1 Fri Mar 25 10:31:43 CST 2022
[    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] 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 rw
[    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: 55196K/65536K available (6144K kernel code, 235K rwdata, 1472K rodata, 1024K init, 228K bss, 10340K 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.000000] random: get_random_bytes called from start_kernel+0x254/0x42c with crng_init=0
[    0.000047] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000123] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000635] Console: colour dummy device 80x30
[    0.001241] printk: console [tty0] enabled
[    0.001337] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070268] pid_max: default: 32768 minimum: 301
[    0.070712] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070782] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072418] CPU: Testing write buffer coherency: ok
[    0.074359] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076640] devtmpfs: initialized
[    0.082315] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082473] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.082818] pinctrl core: initialized pinctrl subsystem
[    0.084815] NET: Registered protocol family 16
[    0.086271] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.088342] cpuidle: using governor menu
[    0.135283] SCSI subsystem initialized
[    0.135751] usbcore: registered new interface driver usbfs
[    0.135979] usbcore: registered new interface driver hub
[    0.136210] usbcore: registered new device driver usb
[    0.136686] pps_core: LinuxPPS API ver. 1 registered
[    0.136764] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.137366] Advanced Linux Sound Architecture Driver Initialized.
[    0.139060] clocksource: Switched to clocksource timer
[    0.167444] NET: Registered protocol family 2
[    0.169170] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.169359] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.169470] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.169554] TCP: Hash tables configured (established 1024 bind 1024)
[    0.169877] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.169993] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170541] NET: Registered protocol family 1
[    0.173095] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.175191] Initialise system trusted keyrings
[    0.175789] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.202460] Key type asymmetric registered
[    0.202569] Asymmetric key parser 'x509' registered
[    0.202783] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.202874] io scheduler mq-deadline registered
[    0.202922] io scheduler kyber registered
[    0.214623] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.391836] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.397324] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.399268] printk: console [ttyS0] disabled
[    0.419575] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 6250000) is a 16550A
[    0.798229] printk: console [ttyS0] enabled
[    0.806206] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.824061] SCSI Media Changer driver v0.25
[    0.829782] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.836381] ehci-platform: EHCI generic platform driver
[    0.842008] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.848296] ohci-platform: OHCI generic platform driver
[    0.854049] usbcore: registered new interface driver usb-storage
[    0.860864] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.870019] i2c /dev entries driver
[    0.875266] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.913313] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.922673] usbcore: registered new interface driver usbhid
[    0.928319] usbhid: USB HID core driver
[    0.948151] NET: Registered protocol family 17
[    0.952926] Key type dns_resolver registered
[    0.959773] Loading compiled-in X.509 certificates
[    0.974129] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.985620] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled
[    0.996605] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0737c74)
[    1.005757] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc07368cc)
[    1.013638] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.020356] [drm] No driver support for vblank timestamp query.
[    1.027642] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.249839] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.250303] mmc0: new SDHC card at address 0001
[    1.254748] mmcblk0: mmc0:0001 USD00 14.7 GiB
[    1.257968]  mmcblk0: p1 p2
[    1.281073] Console: switching to colour frame buffer device 100x30
[    1.410424] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.432564] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.465459] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.486645] ALSA device list:
[    1.503828]   #0: Loopback 1
[    1.521482] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.544398] cfg80211: failed to load regulatory.db
[    1.580598] EXT4-fs (mmcblk0p2): recovery complete
[    1.599558] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.622046] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.645211] devtmpfs: mounted
[    1.669968] Freeing unused kernel memory: 1024K
[    1.689108] Run /sbin/init as init process
[    1.717051] random: fast init done
[    1.756723] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.778437] CPU: 0 PID: 1 Comm: init Not tainted 5.2.0-licheepi-nano+ #1
[    1.798877] Hardware name: Allwinner suniv Family
[    1.817136] [<c010e42c>] (unwind_backtrace) from [<c010ba04>] (show_stack+0x10/0x14)
[    1.838730] [<c010ba04>] (show_stack) from [<c0116dc0>] (panic+0xe8/0x2e4)
[    1.859301] [<c0116dc0>] (panic) from [<c01185f4>] (do_exit+0x9dc/0xa18)
[    1.879499] [<c01185f4>] (do_exit) from [<c0119190>] (do_group_exit+0x3c/0xb4)
[    1.900223] [<c0119190>] (do_group_exit) from [<c0122d6c>] (get_signal+0x10c/0x7bc)
[    1.921489] [<c0122d6c>] (get_signal) from [<c010af70>] (do_work_pending+0x1a8/0x558)
[    1.943001] [<c010af70>] (do_work_pending) from [<c0101068>] (slow_work_pending+0xc/0x20)
[    1.964771] Exception stack(0xc3835fb0 to 0xc3835ff8)
[    1.983153] 5fa0:                                     befa8f10 00000000 00000000 00000000
[    2.004961] 5fc0: 00000940 00000000 00000000 00000000 00000000 00000000 000275e4 00000000
[    2.026820] 5fe0: 00000000 befa8f10 b6ef3b53 b6ef4000 00000030 ffffffff
[    2.047214] Rebooting in 5 seconds..
[    8.040014] Reboot failed -- System halted

离线

楼主 #1 2022-03-27 13:40:10

lorenzo
会员
注册时间: 2022-03-24
已发帖子: 15
积分: 0

Re: f1c100s buildroot启动失败

 
Target options  --->

    Target Architecture Variant (arm926t)  --->   // arm926ejs架构
[ ] Enable VFP extension support                  // Nano 没有 VFP单元,勾选会导致某些应用无法运行
    Target ABI (EABI)  --->
    Floating point strategy (Soft float)  --->    // 软浮点

System configuration  --->

    (Lichee Pi) System hostname                   // hostname
    (licheepi) Root password                      // 默认账户为root 密码为licheepi
    [*] remount root filesystem read-write during boot  // 启动时重新挂在文件系统使其可读写

按照这个配置的

离线

楼主 #3 2022-03-27 14:38:09

lorenzo
会员
注册时间: 2022-03-24
已发帖子: 15
积分: 0

Re: f1c100s buildroot启动失败

cube 说:

很可能gcc有问题,参考这个

buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *
https://whycan.com/t_5221.html

gcc版本问题吗? 好的谢谢

离线

页脚

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

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