Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    tina linux 调整了rootfs分区大小为204800后,启动失败

    MR Series
    1
    2
    1357
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      story_xjj LV 5 last edited by xiaowenge

      针对d1s,调整了rootfs分区的大小为204800后,重新编译生成的img文件达到了58M左右。烧录后启动提示root分区无法打开。
      启动信息记录如下:

      [02.259]
      Starting kernel ...
      
      [02.261][mmc]: MMC Device 2 not found
      [02.265][mmc]: mmc 2 not find, so not exit
      ** 7 printk messages dropped **
      Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
      On node 0 totalpages: 16384
        DMA32 zone: 224 pages used for memmap
        DMA32 zone: 0 pages reserved
        DMA32 zone: 16384 pages, LIFO batch:3
      elf_hwcap is 0x20112d
      pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      pcpu-alloc: [0] 0
      Built 1 zonelists, mobility grouping on.  Total pages: 16160
      Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr=rootwait gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:
      Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
      Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
      Sorting __ex_table...
      mem auto-init: stack:off, heap alloc:off, heap free:off
      Memory: 53012K/65536K available (4488K kernel code, 399K rwdata, 1713K rodata, 144K init, 229K bss, 12524K reserved, 0K cma-reserved)
      SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      rcu: Preemptible hierarchical RCU implementation.
              Tasks RCU enabled.
      rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
      plic: mapped 200 interrupts with 1 handlers for 2 contexts.
      riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
      clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      riscv_timer_clockevent depends on broadcast, but no broadcast function available
      clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      pid_max: default: 32768 minimum: 301
      Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
      Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
      ASID allocator initialised with 65536 entries
      rcu: Hierarchical SRCU implementation.
      devtmpfs: initialized
      random: get_random_u32 called from bucket_table_alloc.isra.27+0x102/0x124 with crng_init=0
      clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      futex hash table entries: 256 (order: 0, 6144 bytes, linear)
      pinctrl core: initialized pinctrl subsystem
      NET: Registered protocol family 16
      DMA: preallocated 256 KiB pool for atomic allocations
      cpuidle: using governor menu
      rtc_ccu: sunxi ccu init OK
      clock: sunxi ccu init OK
      clock: sunxi ccu init OK
      iommu: Default domain type: Translated
      sunxi iommu: irq = 4
      SCSI subsystem initialized
      usbcore: registered new interface driver usbfs
      usbcore: registered new interface driver hub
      usbcore: registered new device driver usb
      videodev: Linux video capture interface: v2.00
      Advanced Linux Sound Architecture Driver Initialized.
      Bluetooth: Core ver 2.22
      NET: Registered protocol family 31
      Bluetooth: HCI device and connection manager initialized
      Bluetooth: HCI socket layer initialized
      Bluetooth: L2CAP socket layer initialized
      pwm module init!
      g2d 5410000.g2d: Adding to iommu group 0
      G2D: rcq version initialized.major:252
      clocksource: Switched to clocksource riscv_clocksource
      sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      NET: Registered protocol family 2
      tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
      TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
      TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
      TCP: Hash tables configured (established 512 bind 512)
      UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      NET: Registered protocol family 1
      sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      spi spi0: spi0 supply spi not found, using dummy regulator
      sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
      sunxi_spi_resource_get()2189 - Failed to get sample mode
      sunxi_spi_resource_get()2194 - Failed to get sample delay
      sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
      sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
      sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
      workingset: timestamp_bits=62 max_order=14 bucket_order=0
      squashfs: version 4.0 (2009/01/31) Phillip Lougher
      ntfs: driver 2.1.32 [Flags: R/W].
      io scheduler mq-deadline registered
      io scheduler kyber registered
      [DISP]disp_module_init
      disp 5000000.disp: Adding to iommu group 0
      [DISP] disp_init,line:2386:
      smooth display screen:0 type:1 mode:4
      display_fb_request,fb_id:0
      Freeing logo buffer memory: 4000K
      disp_al_manager_apply ouput_type:1
      [DISP] lcd_clk_config,line:732:
      disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
           clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
      sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [DISP]disp_module_init finish
      sunxi_sid_init()551 - insmod ok
      pwm-regulator: supplied by regulator-dummy
      sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      uart uart0: get regulator failed
      uart uart0: uart0 supply uart not found, using dummy regulator
      uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
      sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      printk: console [ttyS0] enabled
      sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      uart uart1: get regulator failed
      uart uart1: uart1 supply uart not found, using dummy regulator
      uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
      misc dump reg init
      sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
      sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
      sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
      sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1
      sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
      sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
      sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
      sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0
      [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
      [ADDR_MGT] addr_mgt_probe: success.
      sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
      sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      random: fast init done
      random: crng init done
      sunxi-spinand-phy: read id failed : -110
      spi-nand: probe of spi0.0 failed with error -110
      ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      sunxi-ehci: EHCI SUNXI driver
      get ehci1-controller wakeup-source is fail.
      sunxi ehci1-controller don't init wakeup source
      [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31
      sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
      sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      hub 1-0:1.0: USB hub found
      hub 1-0:1.0: 1 port detected
      ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      sunxi-ohci: OHCI SUNXI driver
      get ohci1-controller wakeup-source is fail.
      sunxi ohci1-controller don't init wakeup source
      [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38
      sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
      hub 2-0:1.0: USB hub found
      hub 2-0:1.0: 1 port detected
      sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
      sunxi-rtc 7090000.rtc: registered as rtc0
      sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T01:14:33 UTC (4473)
      sunxi-rtc 7090000.rtc: sunxi rtc probed
      i2c /dev entries driver
      IR NEC protocol handler initialized
      uvcvideo: Unable to create debugfs directory
      usbcore: registered new interface driver uvcvideo
      USB Video Class driver (1.1.1)
      sunxi cedar version 1.1
      sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      VE: install start!!!
      
      VE: cedar-ve the get irq is 6
      
      VE: install end!!!
      
      VE: sunxi_cedar_probe
      Bluetooth: HCI UART driver ver 2.3
      Bluetooth: HCI UART protocol H4 registered
      Bluetooth: HCI UART protocol BCSP registered
      Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
      [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
      [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
      [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
      
      [XR_BT_LPM] bluesleep_probe: uart_index(1)
      sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: detmode:gpio polling
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: detmode:manually by software
      sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      ashmem: initialized
      sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      exFAT: Version 1.3.0
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
      
      mmc0: host does not support reading read-only switch, assuming write-enable
      [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
      sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [SNDCODEC][sunxi_card_init][583]:card init finished
      sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      mmc0: new high speed SD card at address e624
      input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      mmcblk0: mmc0:e624 SU02G 1.84 GiB
      [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
       mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
      NET: Registered protocol family 10
      Segment Routing with IPv6
      NET: Registered protocol family 17
      sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      sunxi-i2c sunxi-i2c2: probe success
      sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      get ehci0-controller wakeup-source is fail.
      sunxi ehci0-controller don't init wakeup source
      [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e
      [sunxi-ehci0]: Not init ehci0
      get ohci0-controller wakeup-source is fail.
      sunxi ohci0-controller don't init wakeup source
      [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8
      [sunxi-ohci0]: Not init ohci0
      clk: Not disabling unused clocks
      ALSA device list:
        #0: audiocodec
      alloc_fd: slot 0 not NULL!
      platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      cfg80211: failed to load regulatory.db
      [EXFAT] trying to mount...
      VFS: Cannot open root device "mmcblk0p5" or unknown-block(179,5): error -5
      Please append a correct "root=" boot option; here are the available partitions:
      b300         1931264 mmcblk0
       driver: mmcblk
        b301             252 mmcblk0p1 a0085546-4166-744a-a353-fca9272b8e45
      
        b302             252 mmcblk0p2 a0085546-4166-744a-a353-fca9272b8e46
      
        b303             252 mmcblk0p3 a0085546-4166-744a-a353-fca9272b8e47
      
        b304           10240 mmcblk0p4 a0085546-4166-744a-a353-fca9272b8e48
      
        b305          102400 mmcblk0p5 a0085546-4166-744a-a353-fca9272b8e49
      
        b306           11200 mmcblk0p6 a0085546-4166-744a-a353-fca9272b8e4a
      
        b307          102400 mmcblk0p7 a0085546-4166-744a-a353-fca9272b8e4b
      
        103:00000    1666380 mmcblk0p8 a0085546-4166-744a-a353-fca9272b8e4c
      
      Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5)
      CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #25
      Call Trace:
      [<ffffffe00002612c>] walk_stackframe+0x0/0x98
      [<ffffffe0000262e4>] show_stack+0x2a/0x34
      [<ffffffe0004703ea>] dump_stack+0x20/0x28
      [<ffffffe00002a6ec>] panic+0xec/0x272
      [<ffffffe000000ef6>] mount_block_root+0x214/0x27a
      [<ffffffe000000fe2>] mount_root+0x86/0x90
      [<ffffffe000001134>] prepare_namespace+0x148/0x152
      [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198
      [<ffffffe000480fb8>] kernel_init+0x12/0xee
      [<ffffffe000024e98>] ret_from_exception+0x0/0xc
      ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5) ]---
      
      1 Reply Last reply Reply Quote Share 0
      • S
        story_xjj LV 5 last edited by

        解决:问题找到了,tina linux内核rootfs只支持squashfs文件系统,如果选用其它文件系统就会出现上面的情况

        1 Reply Last reply Reply Quote Share 1
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策