您尚未登录。

楼主 #1 2020-07-06 18:16:44

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

7.2交叉编译器 buildroot 编译的 文件系统加载失败tf 启动 (Kernel panic - not syncing: Att)

xx.jpg

SSS.jpg

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-nano+ (root@ll-virtual-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #8 Thu Jul 2 11:43:51 CST 2020
[    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: 8128
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 23756K/32768K available (5120K kernel code, 208K rwdata, 1284K rodata, 1024K init, 218K bss, 9012K 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.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000109] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000590] Console: colour dummy device 80x30
[    0.000949] printk: console [tty0] enabled
[    0.001032] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.050246] pid_max: default: 32768 minimum: 301
[    0.050591] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050643] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.052018] CPU: Testing write buffer coherency: ok
[    0.053973] Setting up static identity map for 0x80100000 - 0x80100058
[    0.055883] devtmpfs: initialized
[    0.060848] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.060984] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.061300] pinctrl core: initialized pinctrl subsystem
[    0.063783] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.065465] cpuidle: using governor menu
[    0.112206] SCSI subsystem initialized
[    0.112635] usbcore: registered new interface driver usbfs
[    0.112849] usbcore: registered new interface driver hub
[    0.113050] usbcore: registered new device driver usb
[    0.113501] pps_core: LinuxPPS API ver. 1 registered
[    0.113568] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114068] Advanced Linux Sound Architecture Driver Initialized.
[    0.114402] clocksource: Switched to clocksource timer
[    0.140612] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.142412] Initialise system trusted keyrings
[    0.143024] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.160394] Key type asymmetric registered
[    0.160493] Asymmetric key parser 'x509' registered
[    0.160703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.160771] io scheduler mq-deadline registered
[    0.160803] io scheduler kyber registered
[    0.170063] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.330561] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.335590] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.337161] printk: console [ttyS0] disabled
[    0.357484] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 26, base_baud = 6250000) is a 16550A
[    0.683182] printk: console [ttyS0] enabled
[    0.709828] 1c25800.serial: ttyS1 at MMIO 0x1c25800 (irq = 27, base_baud = 6250000) is a 16550A
[    0.721809] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.739092] SCSI Media Changer driver v0.25 
[    0.744707] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.757999] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.771120] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.777840] ehci-platform: EHCI generic platform driver
[    0.783376] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.789731] ohci-platform: OHCI generic platform driver
[    0.795497] usbcore: registered new interface driver usb-storage
[    0.802132] udc-core: couldn't find an available UDC - added [zero] to list of pending drivers
[    0.812013] input: 1c23400.lradc as /devices/platform/soc/1c23400.lradc/input/input0
[    0.820767] i2c /dev entries driver
[    0.827773] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.865845] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.874972] usbcore: registered new interface driver usbhid
[    0.880603] usbhid: USB HID core driver
[    0.899222] Loading compiled-in X.509 certificates
[    0.912042] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.923415] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled
[    0.934216] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc06374b4)
[    0.943202] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc063610c)
[    0.951051] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.957740] [drm] No driver support for vblank timestamp query.
[    0.964954] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.111159] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.111518] mmc0: new SD card at address cffc
[    1.116819] mmcblk0: mmc0:cffc SU512 484 MiB 
[    1.133846] Console: switching to colour frame buffer device 100x30
[    1.168720]  mmcblk0: p1 p2
[    1.227867] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.245515] vcc3v0: disabling
[    1.258227] vcc5v0: disabling
[    1.270401] ALSA device list:
[    1.282474]   #0: Loopback 1
[    1.309175] random: fast init done
[    1.392239] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.409673] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.430905] devtmpfs: mounted
[    1.449141] Freeing unused kernel memory: 1024K
[    1.462800] Run /sbin/init as init process
[    1.507532] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.524115] CPU: 0 PID: 1 Comm: init Not tainted 5.2.0-licheepi-nano+ #8
[    1.539435] Hardware name: Allwinner suniv Family
[    1.552620] [<c010e3f8>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14)
[    1.569095] [<c010b9dc>] (show_stack) from [<c0116db4>] (panic+0xe8/0x2e4)
[    1.584758] [<c0116db4>] (panic) from [<c01185e8>] (do_exit+0x9dc/0xa18)
[    1.600117] [<c01185e8>] (do_exit) from [<c0119184>] (do_group_exit+0x3c/0xb4)
[    1.615993] [<c0119184>] (do_group_exit) from [<c0122d3c>] (get_signal+0x10c/0x7bc)
[    1.632223] [<c0122d3c>] (get_signal) from [<c010af4c>] (do_work_pending+0x1a8/0x558)
[    1.648678] [<c010af4c>] (do_work_pending) from [<c0101068>] (slow_work_pending+0xc/0x20)
[    1.665503] Exception stack(0xc1831fb0 to 0xc1831ff8)
[    1.679064] 1fa0:                                     be841f10 00000000 00000000 00000000
[    1.695964] 1fc0: 00000940 00000000 00000000 00000000 00000000 00000000 000275e4 00000000
[    1.712794] 1fe0: 00000000 be841f10 b6f90b53 b6f91000 00000030 ffffffff
[    1.727783] Rebooting in 5 seconds..
[    7.719715] Reboot failed -- System halted

这个是我的buildroot 的.config 文件

my (copy)config.rar

离线

#2 2020-07-06 18:49:46

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

Re: 7.2交叉编译器 buildroot 编译的 文件系统加载失败tf 启动 (Kernel panic - not syncing: Att)

根文件系统有问题,本站搜  exitcode=0x0000000b 应该很多答案


编译器有问题,换别的





离线

#3 2020-07-06 18:54:07

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

Re: 7.2交叉编译器 buildroot 编译的 文件系统加载失败tf 启动 (Kernel panic - not syncing: Att)

这个问题前面回答过你了:


用 arm-2014.05-29 这个工具链编译根文件系统(kernel和zImage不用管),药到病除: https://whycan.cn/t_2847.html#p23264





离线

楼主 #4 2020-07-06 19:07:12

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

Re: 7.2交叉编译器 buildroot 编译的 文件系统加载失败tf 启动 (Kernel panic - not syncing: Att)

哇酷小二 说:

这个问题前面回答过你了:


用 arm-2014.05-29 这个工具链编译根文件系统(kernel和zImage不用管),药到病除: https://whycan.cn/t_2847.html#p23264



是的, http://nano.lichee.pro/build_sys/rootfs.html   这个看云里也是使用的是这个工具链,也许是uboot-2018 对gcc 版本要求高6.0以上才使用的这个7.2的编译器,哎,先不管了,明天应这个工具链试一下。。

离线

页脚

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

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