please choosego to mobile | Continue to access the PC version
View: 930|Reply: 0

Endless Loading Kernel orange pi zero 2

[Copy link]

1

threads

1

posts

33

credits

Novice

Rank: 1

credits
33
Published in 2022-2-9 17:54:51 | Show all floors |Read mode
Hi!
I've met a problem with orange pi zero 2.
I've launched official ubuntu and debian images from orange pi, and it's worked correct!
Then i've tried to build my own image from official github sources. During build process i've met a trouble with .dtb, so i've generated .dtb for another image (not for ubuntu server 20, but for ubuntu server 18), and add it to my build.
After flashing image to micro SD and trying to launch boot unfortunately failed. I even didn't come to u-boot.
After this issue i've decided to return to 100% work image, but it didn't work too!
Now u-boot launches, at first red led enable, then in a few seconds after message "starting kernel..." red led disables, but green enables. And that's it!
Kernel didn't loads
I've already tried to check another micro sd, also i've tried to check this micro sd on orange pi zero (not zero 2) board, and it worked!
But in orange pi zero 2 it didn't work.
Help me, please. How can i fix this issue? Maybe something wrong with built-in SPI FLASH?
Here is my bootlog:
  1. [247]HELLO! BOOT0 is starting May 13 2020 14:10:04!
  2. [253]BOOT0 commit : 593cf83
  3. [255]set pll start
  4. [258]periph0 has been enabled
  5. [261]set pll end
  6. [263]unknow PMU
  7. [265]PMU: AXP806
  8. [272]vaild para:1  select dram para0
  9. [275]board init ok
  10. [277]DRAM BOOT DRIVE INFO: V0.52
  11. [280]the chip id is 0x5000
  12. [283]chip id check OK
  13. [285]DRAM_VCC set to 1500 mv
  14. [289]read_calibration error
  15. [293]read_calibration error
  16. [297]read_calibration error
  17. [301]read_calibration error
  18. [305]read_calibration error
  19. [309]read_calibration error
  20. [313]read_calibration error
  21. [317]read_calibration error
  22. [321]read_calibration error
  23. [325]read_calibration error
  24. [327]retraining final error
  25. [332][AUTO DEBUG]32bit,1 ranks training success!
  26. [339]DRAM CLK =720 MHZ
  27. [342]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
  28. [348]Actual DRAM SIZE =1024 M
  29. [351]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6041
  30. [364]DRAM simple test OK.
  31. [366]rtc standby flag is 0x0, super standby flag is 0x0
  32. [372]dram size =1024
  33. [374]*****dram handle ok****
  34. [378]card no is 0
  35. [379]sdcard 0 line count 4
  36. [382][mmc]: mmc driver ver 2019-12-19 10:41
  37. [386][mmc]: sdc0 spd mode error, 2
  38. [390][mmc]: set f_max to 50M, set f_max_ddr to 25M
  39. [395][mmc]: mmc 0 bias 0
  40. [403][mmc]: Wrong media type 0x0
  41. [406][mmc]: ***Try SD card 0***
  42. [416][mmc]: HSSDR52/SDR25 4 bit
  43. [419][mmc]: 50000000 Hz
  44. [421][mmc]: 7624 MB
  45. [423][mmc]: ***SD/MMC 0 init OK!!!***
  46. [525]Loading boot-pkg Succeed(index=0).
  47. [529]Entry_name        = u-boot
  48. [538]Entry_name        = monitor
  49. [541]Entry_name        = dtbo
  50. [544]Entry_name        = dtb
  51. [548]Jump to second Boot.
  52. NOTICE:  BL3-1: v1.0(debug):9fecd83
  53. NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28
  54. NOTICE:  BL3-1 commit: 8
  55. ERROR:   Error initializing runtime service tspd_fast
  56. NOTICE:  BL3-1: Preparing for EL3 exit to normal world
  57. NOTICE:  BL3-1: Next image address = 0x4a000000
  58. NOTICE:  BL3-1: Next image spsr = 0x1d3


  59. U-Boot 2018.05-orangepi (Dec 09 2021 - 11:09:32 +0800) Xunlong Software

  60. [00.624]CPU:   Allwinner H616
  61. [00.627]Model: Orange Pi Zero 2
  62. I2C:   ready
  63. [00.632]DRAM:  1 GiB
  64. Relocation Offset is: 35ec9000
  65. [00.672]secure enable bit: 0
  66. [00.675]PMU: AXP806
  67. [00.680]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
  68. [00.862]sunxi overlay merged okqv
  69. [00.865]drv_disp_init
  70. [00.894]__clk_enable: clk is null.
  71. tv_init()950 fetch tv0 err.
  72. [00.900]drv_disp_init finish
  73. [00.902]gic: sec monitor mode
  74. [00.908]flash init start
  75. [00.910]workmode = 0,storage type = 1
  76. [00.913]MMC:    0
  77. [00.915]get mem for descripter OK !

  78. card_caps:0x3000000a
  79. host_caps:0x3000003f
  80. [00.944]sunxi flash init ok
  81. [00.948]Loading Environment from FAT... [00.951]get mem for descripter OK !

  82. ** Bad device mmc 1 **
  83. Failed (-5)
  84. [00.966]usb burn from boot
  85. delay time 0
  86. weak:otg_phy_config
  87. [00.980]usb prepare ok
  88. [01.245]usb sof ok
  89. [01.246]usb probe ok
  90. [01.248]usb setup ok
  91. set address 0xf
  92. set address 0xf ok
  93. [04.254]do_burn_from_boot usb : have no handshake
  94. [04.258]boot_gui_init:start
  95. card_caps:0x3000000a
  96. host_caps:0x3000003f
  97. 139 bytes read in 41 ms (2.9 KiB/s)
  98. Set HDMI disp_mode to 1080p60
  99. 139 bytes read in 41 ms (2.9 KiB/s)
  100. Set fb0_width to 1280
  101. Set fb0_height to 720
  102. [04.652]boot_gui_init:finish
  103. [04.655]bmp_name=/boot/boot.bmp
  104. 230456 bytes read in 54 ms (4.1 MiB/s)
  105. [04.725]update dts
  106. Net:   [04.728]No ethernet found.
  107. Hit any key to stop autoboot:  1  0
  108. no mmc device at slot 1
  109. card_caps:0x3000000a
  110. host_caps:0x3000003f
  111. switch to partitions #0, OK
  112. mmc0 is current device
  113. Scanning mmc 0:1...
  114. Found U-Boot script /boot/boot.scr
  115. 2616 bytes read in 53 ms (47.9 KiB/s)
  116. ## Executing script at 43100000
  117. U-boot loaded from SD
  118. Boot script loaded from mmc
  119. 139 bytes read in 41 ms (2.9 KiB/s)
  120. 8472173 bytes read in 435 ms (18.6 MiB/s)
  121. 24125512 bytes read in 1091 ms (21.1 MiB/s)
  122. ## Booting kernel from Legacy Image at 41000000 ...
  123.    Image Name:   
  124.    Image Type:   ARM Linux Kernel Image (uncompressed)
  125.    Data Size:    24125448 Bytes = 23 MiB
  126.    Load Address: 41000000
  127.    Entry Point:  41000000
  128.    Verifying Checksum ... OK
  129. ## Loading init Ramdisk from Legacy Image at 43300000 ...
  130.    Image Name:   uInitrd
  131.    Image Type:   ARM Linux RAMDisk Image (gzip compressed)
  132.    Data Size:    8472109 Bytes = 8.1 MiB
  133.    Load Address: 00000000
  134.    Entry Point:  00000000
  135.    Verifying Checksum ... OK
  136.    Loading Ramdisk to 497eb000, end 49fff62d ... OK
  137.    reserving fdt memory region: addr=48000000 size=1000000
  138. ## Linux machid: 00000000, FDT addr: 7be89560

  139. Starting kernel ...

Copy code



You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list