您尚未登录。

楼主 # 2022-12-26 20:47:01

奋进love
会员
注册时间: 2021-06-12
已发帖子: 10
积分: 29.5

用外部工具链7.5.0 编译 buildroot-tiny200_master 生成rootfs 报错。 与linux一样的编译器。

U-Boot SPL 2018.01 (Nov 14 2022 - 19:59:51)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2018.01 (Nov 14 2022 - 19:59:51 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
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
3178376 bytes read in 177 ms (17.1 MiB/s)
reading suniv-f1c100s-licheepi-nano.dtb
7188 bytes read in 27 ms (259.8 KiB/s)
## Flattened Device Tree blob at 80c08000
   Booting using the fdt blob at 0x80c08000
   Loading Device Tree to 816fb000, end 816ffc13 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.7.1 (bl@bl-virtual-machine) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12), GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #30 Sun Dec 25 17:46:29 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: consle=tty1 consle=ttyS1,115200 panit=5 rootwait root=/dev/mmcblk0p2 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: 56268K/65536K available (5120K kernel code, 188K rwdata, 1380K rodata, 1024K init, 222K bss, 9268K 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+0x2a0/0x498 with crng_init=0
[    0.000045] 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.000752] Console: colour dummy device 80x30
[    0.001419] printk: console [tty0] enabled
[    0.001516] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070282] pid_max: default: 32768 minimum: 301
[    0.070912] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071044] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.073165] CPU: Testing write buffer coherency: ok
[    0.075114] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076677] devtmpfs: initialized
[    0.082658] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082843] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.083239] pinctrl core: initialized pinctrl subsystem
[    0.084921] thermal_sys: Registered thermal governor 'step_wise'
[    0.087227] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.089510] cpuidle: using governor menu
[    0.143550] SCSI subsystem initialized
[    0.144058] usbcore: registered new interface driver usbfs
[    0.144308] usbcore: registered new interface driver hub
[    0.144607] usbcore: registered new device driver usb
[    0.145190] pps_core: LinuxPPS API ver. 1 registered
[    0.145282] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.145970] Advanced Linux Sound Architecture Driver Initialized.
[    0.146412] clocksource: Switched to clocksource timer
[    0.179407] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.181311] Initialise system trusted keyrings
[    0.182077] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.317786] Key type asymmetric registered
[    0.317904] Asymmetric key parser 'x509' registered
[    0.318133] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.318233] io scheduler mq-deadline registered
[    0.318284] io scheduler kyber registered
[    0.333251] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.553174] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.559734] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    0.561781] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 21, base_baud = 6250000) is a 16550A
[    0.563137] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    0.565422] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 22, base_baud = 6250000) is a 16550A
[    0.919830] printk: console [ttyS1] enabled
[    0.928948] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    0.947293] panel-simple panel: supply power not found, using dummy regulator
[    0.956659] SCSI Media Changer driver v0.25
[    0.962306] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.969057] ehci-platform: EHCI generic platform driver
[    0.974735] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.981156] ohci-platform: OHCI generic platform driver
[    0.987049] usbcore: registered new interface driver usb-storage
[    0.994207] usb_phy_generic usb_phy_generic.0.auto: supply vcc not found, using dummy regulator
[    1.005225] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.011343] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.022171] hub 1-0:1.0: USB hub found
[    1.026183] hub 1-0:1.0: 1 port detected
[    1.032738] i2c /dev entries driver
[    1.038336] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.075259] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.085255] usbcore: registered new interface driver usbhid
[    1.091057] usbhid: USB HID core driver
[    1.113071] debugfs: Directory '1c23c00.codec' with parent 'F1C100s Audio Codec' already present!
[    1.128378] sun4i-codec 1c23c00.codec: Codec <-> 1c23c00.codec mapping ok
[    1.145800] Loading compiled-in X.509 certificates
[    1.166164] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.177020] sun4i-drm display-engine: bound 1e00000.display-frontend (ops 0xc063b260)
[    1.185892] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc063aaa0)
[    1.195282] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0639640)
[    1.203161] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.211322] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.434608] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.436957] mmc0: new high speed SDHC card at address aaaa
[    1.439393] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
[    1.444939]  mmcblk0: p1 p2
[    1.468031] Console: switching to colour frame buffer device 100x30
[    1.600210] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.622590] ALSA device list:
[    1.640079]   #0: Loopback 1
[    1.657324]   #1: F1C100s Audio Codec
[    1.698251] EXT4-fs (mmcblk0p2): recovery complete
[    1.717506] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.740189] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.762559] devtmpfs: mounted
[    1.786014] Freeing unused kernel memory: 1024K
[    1.804800] Run /sbin/init as init process
[    1.822701] random: fast init done
[    1.860777] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.882282] CPU: 0 PID: 1 Comm: init Not tainted 5.7.1 #30
[    1.901265] Hardware name: Allwinner suniv Family
[    1.919405] [<c010d634>] (unwind_backtrace) from [<c010ab84>] (show_stack+0x10/0x14)
[    1.940821] [<c010ab84>] (show_stack) from [<c0116608>] (panic+0xe8/0x2e4)
[    1.961212] [<c0116608>] (panic) from [<c0117d94>] (do_exit+0x7b4/0x9f0)
[    1.981127] [<c0117d94>] (do_exit) from [<c0118cd0>] (do_group_exit+0x3c/0xb4)
[    2.001652] [<c0118cd0>] (do_group_exit) from [<c01236e8>] (get_signal+0x10c/0x7d0)
[    2.022579] [<c01236e8>] (get_signal) from [<c010a0d8>] (do_work_pending+0x1b4/0x558)
[    2.043661] [<c010a0d8>] (do_work_pending) from [<c01000c8>] (slow_work_pending+0xc/0x20)
[    2.064910] Exception stack(0xc3839fb0 to 0xc3839ff8)
[    2.082938] 9fa0:                                     be99aee0 00000000 00000000 00000000
[    2.104423] 9fc0: 00000940 00000000 00000000 00000000 00000000 00000000 000275e4 00000000
[    2.125744] 9fe0: 00000000 be99aee0 b6f36b53 b6f37000 00000030 ffffffff
[    2.145230] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---

离线

楼主 #1 2022-12-26 20:48:28

奋进love
会员
注册时间: 2021-06-12
已发帖子: 10
积分: 29.5

Re: 用外部工具链7.5.0 编译 buildroot-tiny200_master 生成rootfs 报错。 与linux一样的编译器。

是因为编译器的问题吗?

离线

页脚

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

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