Navigation

    全志在线开发者论坛

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

    Starting kernel ...之后没有log输出

    D1系列-RISC-V
    2
    4
    92
    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.
    • J
      jxzhb LV 4 last edited by xiaowenge

      自己用D1做了一个核心板,其中用一个板子,之前刷程序,启动都没问题,用着用着,启动不了,可以正常刷程序,启动信息如下:

      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x0fb00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [00.729]ubi0: attaching mtd4
      [01.125]ubi0: scanning is finished
      [01.135]ubi0: attached mtd4 (name "sys", size 251 MiB)
      [01.140]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [01.146]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [01.152]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [01.158]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
      [01.164]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [01.170]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [01.178]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
      [01.187]sunxi flash init ok
      [01.189]line:714 init_clocks
      __clk_init: clk pll_periph0x2 already initialized
      register fix_factor clk error
      [01.200]drv_disp_init
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [01.437]do_fat_fsload for lcd config failed
      request pwm success, pwm2:pwm2:0x2000c00.
      [01.451]drv_disp_init finish
      [01.454]boot_gui_init:start
      [01.457]set disp.dev2_output_type fail. using defval=0
      [01.648]boot_gui_init:finish
      [02.061]LCD open finish
      partno erro : can't find partition bootloader
      54 bytes read in 0 ms
      [02.221]bmp_name=bootlogo.bmp size 38454
      38454 bytes read in 5 ms (7.3 MiB/s)
      [02.437]Loading Environment from SUNXI_FLASH... OK
      [02.472]Item0 (Map) magic is bad
      [02.475]usb burn from boot
      delay time 0
      weak:otg_phy_config
      [02.486]usb prepare ok
      [02.655]usb sof ok
      [02.656]usb probe ok
      [02.658]usb setup ok
      set address 0x2c
      set address 0x2c ok
      [05.663]do_burn_from_boot usb : have no handshake
      [05.688]update bootcmd
      [05.710]change working_fdt 0x5f4afda8 to 0x5f48fda8
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [05.759]do_fat_fsload for lcd config failed
      partno erro : can't find partition bootloader
      [05.787]please enable FAT_WRITE for lcd compatible first
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [05.821]do_fat_fsload for lcd config failed
      [05.826]libfdt fdt_path_offset() for lcd
      [05.829]update dts
      Hit any key to stop autoboot:  0
      dsp0:gpio init config fail
      DSP0 start ok, img length 252960, booting from 0x400660
      Android's image name: d1-nezha
      No reserved memory region found in source FDT
      [06.783]
      Starting kernel ...
      

      一直卡在Starting kernel ...,求大神帮忙分析一下,是什么问题?

      W 2 Replies Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 @jxzhb last edited by

        @jxzhb
        串口也是同一个吗?

        J 1 Reply Last reply Reply Quote Share 0
        • W
          whycan晕哥 LV 9 @jxzhb last edited by

          @jxzhb
          用对比软件试一试正常和不正常的 log。

          1 Reply Last reply Reply Quote Share 0
          • J
            jxzhb LV 4 @whycan last edited by

            @whycan 是同一个串口

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

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

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