导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. zestps
    Z
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 78
    • 主题 1
    • 帖子 1
    • 最佳 0
    • 群组 0

    zestpsLV 2

    @zestps

    78
    积分
    0
    声望
    1
    资料浏览
    1
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    zestps 取消关注 关注

    zestps 发布的最新帖子

    • T113-S3 buildroot启动Requested init /sbin/init failed (error -2)

      T113-S3的板子SD卡烧录后buildroot无法启动,日志显示如下如何解决
      [ 0.000000] Booting Linux on physical CPU 0x0
      [ 0.000000] Linux version 6.17.3 (zestps@ubuntu) (arm-linux-gnueabihf-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #8 SMP Sat Oct 18 06:57:06 PDT 2025
      [ 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: MangoPi MQ-Dual
      [ 0.000000] Memory policy: Data cache writealloc
      [ 0.000000] cma: Failed to reserve 64 MiB
      [ 0.000000] Zone ranges:
      [ 0.000000] Normal [mem 0x0000000040000000-0x0000000047ffffff]
      [ 0.000000] HighMem empty
      [ 0.000000] Movable zone start for each node
      [ 0.000000] Early memory node ranges
      [ 0.000000] node 0: [mem 0x0000000040000000-0x0000000047ffffff]
      [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff]
      [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
      [ 0.000000] percpu: Embedded 13 pages/cpu s20556 r8192 d24500 u53248
      [ 0.000000] Kernel command line: mem=128M cma=64M root=/dev/mmcblk0p2 init=/sbin/init rootwait rw rootfstype=ext4 console=tty0 console=ttyS3,115200 earlyprintk=sunxi-uart,0x02501400
      [ 0.000000] Unknown kernel command line parameters "earlyprintk=sunxi-uart,0x02501400", will be passed to user space.
      [ 0.000000] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
      [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
      [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32768
      [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [ 0.000000] rcu: Hierarchical RCU implementation.
      [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
      [ 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=2
      [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
      [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [ 0.000013] Switching to timer-based delay loop, resolution 41ns
      [ 0.000181] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [ 0.000631] Console: colour dummy device 80x30
      [ 0.000650] printk: legacy console [tty0] enabled
      [ 0.001040] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [ 0.001073] CPU: Testing write buffer coherency: ok
      [ 0.001124] pid_max: default: 32768 minimum: 301
      [ 0.001294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [ 0.001332] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [ 0.002191] /cpus/cpu@0 missing clock-frequency property
      [ 0.002256] /cpus/cpu@1 missing clock-frequency property
      [ 0.002279] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [ 0.002317] cacheinfo: Unable to detect cache hierarchy for CPU 0
      [ 0.003672] Setting up static identity map for 0x40100000 - 0x40100060
      [ 0.003914] rcu: Hierarchical SRCU implementation.
      [ 0.003942] rcu: Max phase no-delay instances is 1000.
      [ 0.004304] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
      [ 0.004867] smp: Bringing up secondary CPUs ...
      [ 0.005745] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [ 0.005955] smp: Brought up 1 node, 2 CPUs
      [ 0.006004] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [ 0.006024] CPU: All CPU(s) started in SVC mode.
      [ 0.006525] Memory: 115352K/131072K available (8192K kernel code, 929K rwdata, 2484K rodata, 1024K init, 222K bss, 14812K reserved, 0K cma-reserved, 0K highmem)
      [ 0.007047] devtmpfs: initialized
      [ 0.012088] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [ 0.012361] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [ 0.012412] posixtimers hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [ 0.012491] futex hash table entries: 512 (32768 bytes on 1 NUMA nodes, total 32 KiB, linear).
      [ 0.012683] pinctrl core: initialized pinctrl subsystem
      [ 0.014085] NET: Registered PF_NETLINK/PF_ROUTE protocol family
      [ 0.014521] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [ 0.015390] thermal_sys: Registered thermal governor 'step_wise'
      [ 0.015694] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
      [ 0.015749] hw-breakpoint: maximum watchpoint size is 8 bytes.
      [ 0.018880] /soc/clock-controller@2001000: Fixed dependency cycle(s) with /soc/rtc@7090000
      [ 0.019180] /soc/mixer@5100000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.019250] /soc/mixer@5200000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.019321] /soc/tv-encoder@5604000: Fixed dependency cycle(s) with /soc/lcd-controller@5470000
      [ 0.019361] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/mixer@5200000
      [ 0.019398] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/lcd-controller@5470000
      [ 0.019435] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/lcd-controller@5461000
      [ 0.019467] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/mixer@5100000
      [ 0.019528] /soc/lcd-controller@5461000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.019576] /soc/lcd-controller@5470000: Fixed dependency cycle(s) with /soc/tv-encoder@5604000
      [ 0.019627] /soc/lcd-controller@5470000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.019674] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/clock-controller@2001000
      [ 0.019704] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/rtc@7090000
      [ 0.019736] /soc/rtc@7090000: Fixed dependency cycle(s) with /soc/clock-controller@7010000
      [ 0.019765] /soc/interrupt-controller@3021000: Fixed dependency cycle(s) with /soc/interrupt-controller@3021000
      [ 0.020243] /soc/clock-controller@2001000: Fixed dependency cycle(s) with /soc/rtc@7090000
      [ 0.024265] /soc/mixer@5100000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.024529] /soc/mixer@5200000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.024929] /soc/tv-encoder@5604000: Fixed dependency cycle(s) with /soc/lcd-controller@5470000
      [ 0.025162] /soc/mixer@5200000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.025277] /soc/mixer@5100000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.025379] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/mixer@5200000
      [ 0.025471] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/lcd-controller@5470000
      [ 0.025512] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/lcd-controller@5461000
      [ 0.025546] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/mixer@5100000
      [ 0.025810] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/lcd-controller@5461000
      [ 0.025926] /soc/lcd-controller@5461000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.026247] /soc/tcon-top@5460000: Fixed dependency cycle(s) with /soc/lcd-controller@5470000
      [ 0.026372] /soc/tv-encoder@5604000: Fixed dependency cycle(s) with /soc/lcd-controller@5470000
      [ 0.026468] /soc/lcd-controller@5470000: Fixed dependency cycle(s) with /soc/tv-encoder@5604000
      [ 0.026575] /soc/lcd-controller@5470000: Fixed dependency cycle(s) with /soc/tcon-top@5460000
      [ 0.026994] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/clock-controller@2001000
      [ 0.027095] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/rtc@7090000
      [ 0.027224] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/rtc@7090000
      [ 0.027424] /soc/clock-controller@2001000: Fixed dependency cycle(s) with /soc/rtc@7090000
      [ 0.027567] /soc/rtc@7090000: Fixed dependency cycle(s) with /soc/clock-controller@7010000
      [ 0.032783] SCSI subsystem initialized
      [ 0.033376] usbcore: registered new interface driver usbfs
      [ 0.033449] usbcore: registered new interface driver hub
      [ 0.033505] usbcore: registered new device driver usb
      [ 0.033733] mc: Linux media interface: v0.10
      [ 0.033800] videodev: Linux video capture interface: v2.00
      [ 0.033899] pps_core: LinuxPPS API ver. 1 registered
      [ 0.033918] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
      [ 0.033962] PTP clock support registered
      [ 0.034573] Advanced Linux Sound Architecture Driver Initialized.
      [ 0.035889] clocksource: Switched to clocksource arch_sys_counter
      [ 0.044784] NET: Registered PF_INET protocol family
      [ 0.045029] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [ 0.045624] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
      [ 0.045679] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
      [ 0.045707] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [ 0.045741] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
      [ 0.045791] TCP: Hash tables configured (established 1024 bind 1024)
      [ 0.045964] UDP hash table entries: 256 (order: 1, 14336 bytes, linear)
      [ 0.046036] UDP-Lite hash table entries: 256 (order: 1, 14336 bytes, linear)
      [ 0.046238] NET: Registered PF_UNIX/PF_LOCAL protocol family
      [ 0.047004] RPC: Registered named UNIX socket transport module.
      [ 0.047051] RPC: Registered udp transport module.
      [ 0.047066] RPC: Registered tcp transport module.
      [ 0.047080] RPC: Registered tcp-with-tls transport module.
      [ 0.047095] RPC: Registered tcp NFSv4.1 backchannel transport module.
      [ 0.048439] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [ 0.049251] NFS: Registering the id_resolver key type
      [ 0.049344] Key type id_resolver registered
      [ 0.049364] Key type id_legacy registered
      [ 0.049527] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
      [ 0.049557] io scheduler mq-deadline registered
      [ 0.049575] io scheduler kyber registered
      [ 0.049606] io scheduler bfq registered
      [ 0.118875] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
      [ 0.131780] CAN device driver interface
      [ 0.135355] sun6i-rtc 7090000.rtc: registered as rtc0
      [ 0.135516] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T04:27:48 UTC (102468)
      [ 0.136087] i2c_dev: i2c /dev entries driver
      [ 0.138270] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [ 0.139921] usbcore: registered new interface driver usbhid
      [ 0.139958] usbhid: USB HID core driver
      [ 0.142994] NET: Registered PF_PACKET protocol family
      [ 0.143040] can: controller area network core
      [ 0.143102] NET: Registered PF_CAN protocol family
      [ 0.143123] can: raw protocol
      [ 0.143142] can: broadcast manager protocol
      [ 0.143162] can: netlink gateway - max_hops=1
      [ 0.143229] Key type dns_resolver registered
      [ 0.143522] Registering SWP/SWPB emulation handler
      [ 0.168391] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus)
      [ 0.169021] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
      [ 0.169081] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 1
      [ 0.170283] hub 1-0:1.0: USB hub found
      [ 0.170374] hub 1-0:1.0: 1 port detected
      [ 0.175404] ehci-platform 4200000.usb: EHCI Host Controller
      [ 0.175478] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 2
      [ 0.175632] ehci-platform 4200000.usb: irq 35, io mem 0x04200000
      [ 0.177779] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
      [ 0.178007] ohci-platform 4200400.usb: Generic Platform OHCI controller
      [ 0.178067] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 3
      [ 0.178245] ohci-platform 4200400.usb: irq 37, io mem 0x04200400
      [ 0.185087] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [ 0.185990] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
      [ 0.187090] hub 2-0:1.0: USB hub found
      [ 0.187217] hub 2-0:1.0: 1 port detected
      [ 0.208842] 2500400.serial: ttyS1 at MMIO 0x2500400 (irq = 236, base_baud = 1500000) is a 16550A
      [ 0.209627] sun20i-d1-pinctrl 2000000.pinctrl: unsupported function uart5 on pin PB6
      [ 0.209680] sun20i-d1-pinctrl 2000000.pinctrl: unsupported function uart5 on pin PB7
      [ 0.209705] dw-apb-uart 2500c00.serial: there is not valid maps for state default
      [ 0.231369] 2500c00.serial: ttyS3 at MMIO 0x2500c00 (irq = 237, base_baud = 1500000) is a 16550A
      [ 0.231475] printk: legacy console [ttyS3] enabled
      [ 0.253077] hub 3-0:1.0: USB hub found
      [ 0.282914] 2501400.serial: ttyS5 at MMIO 0x2501400 (irq = 238, base_baud = 1500000) is a 16550A
      [ 0.283237] hub 3-0:1.0: 1 port detected
      [ 0.300863] sunxi-mmc 4020000.mmc: Got CD GPIO
      [ 0.303538] clk: Disabling unused clocks
      [ 0.332388] sunxi-mmc 4020000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
      [ 0.334013] PM: genpd: Disabling unused power domains
      [ 0.546835] mmc0: new high speed SDHC card at address 0001
      [ 0.553324] ALSA device list:
      [ 0.559113] mmcblk0: mmc0:0001 SD 29.1 GiB
      [ 0.563327] No soundcards found.
      [ 1.209308] phy phy-4100400.phy.0: Changing dr_mode to 1
      [ 1.467043] ohci-platform 4101400.usb: Generic Platform OHCI controller
      [ 1.467131] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 4
      [ 1.481651] ohci-platform 4101400.usb: irq 36, io mem 0x04101400
      [ 1.481697] check access for rdinit=/init failed: -2, ignoring
      [ 1.493722] mmcblk0: p1 p2
      [ 1.550765] hub 4-0:1.0: USB hub found
      [ 1.554606] hub 4-0:1.0: 1 port detected
      [ 1.675909] ehci-platform 4101000.usb: EHCI Host Controller
      [ 1.681547] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 5
      [ 1.689485] ehci-platform 4101000.usb: irq 34, io mem 0x04101000
      [ 1.705906] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
      [ 1.712874] hub 5-0:1.0: USB hub found
      [ 1.716783] hub 5-0:1.0: 1 port detected
      [ 1.746694] EXT4-fs (mmcblk0p2): recovery complete
      [ 1.752723] EXT4-fs (mmcblk0p2): mounted filesystem 71612ee1-e960-4eef-9709-57e0ff658d0b r/w with ordered data mode. Quota mode: disabled.
      [ 1.788882] VFS: Mounted root (ext4 filesystem) on device 179:2.
      [ 1.795937] devtmpfs: error mounting -2
      [ 1.801007] Freeing unused kernel image (initmem) memory: 1024K
      [ 1.807137] Run /sbin/init as init process
      [ 1.811330] Kernel panic - not syncing: Requested init /sbin/init failed (error -2).
      [ 1.819086] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.17.3 #8 NONE
      [ 1.826146] Hardware name: Generic DT based system
      [ 1.830943] Call trace:
      [ 1.830957] unwind_backtrace from show_stack+0x10/0x14
      [ 1.838740] show_stack from dump_stack_lvl+0x50/0x64
      [ 1.843805] dump_stack_lvl from vpanic+0xf4/0x2f4
      [ 1.848611] vpanic from panic+0x30/0x34
      [ 1.852612] ---[ end Kernel panic - not syncing: Requested init /sbin/init failed (error -2). ]---

      发布在 T Series
      Z
      zestps