Advertisement
rippofunk

Odroid N2+ Sd card boot fail

Aug 25th, 2023 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 KB | None | 0 0
  1. Debian SD card, MMC Switch, UART Log
  2. G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.
  3. bl2_stage_init 0x01
  4. bl2_stage_init 0x81
  5. hw id: 0x0000 - pwm id 0x01
  6. bl2_stage_init 0xc1
  7. bl2_stage_init 0x02
  8.  
  9. no sdio debug board detected
  10. L0:00000000
  11. L1:00000703
  12. L2:0000c067
  13. L3:14000020
  14. B2:00402000
  15. B1:e0f83180
  16.  
  17. TE: 287808
  18.  
  19. BL2 Built : 06:17:13, Jun 28 2019. g12b gf0505d7-dirty - qi.duan@droid13
  20.  
  21. Board ID = 5
  22. Set A53 clk to 24M
  23. Set A73 clk to 24M
  24. Set clk81 to 24M
  25. A53 clk: 1200 MHz
  26. A73 clk: 1200 MHz
  27. CLK81: 166.6M
  28. smccc: 0004ac73
  29. DDR driver_vesion: LPDDR4_PHY_V_0_1_14 build time: Jun 28 2019 06:17:09
  30. board id: 5
  31. Load FIP HDR from SD, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
  32. fw parse done
  33. Load ddrfw from SD, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0
  34. Load ddrfw from SD, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0
  35. PIEI prepare done
  36. fastboot data load
  37. fastboot data verify
  38. verify result: 255
  39. Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
  40. DDR4 probe
  41. ddr clk to 1320MHz
  42. Load ddrfw from SD, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0
  43. Check phy result
  44. INFO : End of initialization
  45. INFO : End of read enable training
  46. INFO : End of fine write leveling
  47. INFO : End of read dq deskew training
  48. INFO : End of MPR read delay center optimization
  49. INFO : End of Write leveling coarse delay
  50. INFO : End of write delay center optimization
  51. INFO : End of read delay center optimization
  52. INFO : End of max read latency training
  53. INFO : Training has run successfully!
  54. 1D training succeed
  55. Load ddrfw from SD, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0
  56. Check phy result
  57. INFO : End of initialization
  58. INFO : End of 2D read delay Voltage center optimization
  59. INFO : End of 2D write delay Voltage center optimization
  60. INFO : Training has run successfully!
  61.  
  62. R0_RxClkDly_Margin==70 ps 6
  63. R0_TxDqDly_Margi==94 ps 8
  64.  
  65.  
  66. R1_RxClkDly_Margin==0 ps 0
  67. R1_TxDqDly_Margi==0 ps 0
  68.  
  69. dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001
  70. 2D training succeed
  71. auto size-- 65535DDR cs0 size: 2048MB
  72. DDR cs1 size: 2048MB
  73. DMC_DDR_CTRL: 00600024DDR size: 3928MB
  74. cs0 DataBus test pass
  75. cs1 DataBus test pass
  76. cs0 AddrBus test pass
  77. cs1 AddrBus test pass
  78. pre test bdlr_100_average==425 bdlr_100_min==425 bdlr_100_max==425 bdlr_100_cur==425
  79. aft test bdlr_100_average==425 bdlr_100_min==425 bdlr_100_max==425 bdlr_100_cur==425
  80. non-sec scramble use zero key
  81. ddr scramble enabled
  82.  
  83. 100bdlr_step_size ps== 425
  84. result report
  85. boot times 0Enable ddr reg access
  86. Load FIP HDR from SD, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
  87. Load BL3X from SD, src: 0x0003c200, des: 0x0172c000, size: 0x00096600, part: 0
  88. 0.0;M3 CHK:0;cm4_sp_mode 0
  89. E30HDR
  90. MVN_1=0x00000000
  91. MVN_2=0x00000000
  92. [Image: g12b_v1.1.3375-8f9c8a7 2019-01-24 10:44:46 guotai.shen@droid11-sz]
  93. OPS=0x40
  94. ring efuse init
  95. chipver efuse init
  96. 29 0c 40 00 01 0a 0f 00 00 04 34 38 38 4b 43 50
  97. [0.019859 Inits done]
  98. secure task start!
  99. high task start!
  100. low task start!
  101. run into bl31
  102. NOTICE: BL31: v1.3(release):ab8811b
  103. NOTICE: BL31: Built : 15:03:31, Feb 12 2019
  104. NOTICE: BL31: G12A normal boot!
  105. NOTICE: BL31: BL33 decompress pass
  106. ERROR: Error initializing runtime service opteed_fast
  107.  
  108.  
  109. U-Boot 2015.01-g430749a (Mar 29 2021 - 02:02:06)
  110.  
  111. DRAM: 3.5 GiB
  112. Relocation Offset is: d6ef0000
  113. spi_post_bind(spifc): req_seq = 0
  114. register usb cfg[0][1] = 00000000d7f849a8
  115. MMC: aml_priv->desc_buf = 0x00000000d3ee07c0
  116. aml_priv->desc_buf = 0x00000000d3ee2b00
  117. SDIO Port C: 0, SDIO Port B: 1
  118. card in
  119. co-phase 0x2, tx-dly 0, clock 400000
  120. co-phase 0x2, tx-dly 0, clock 400000
  121. co-phase 0x2, tx-dly 0, clock 400000
  122. co-phase 0x2, tx-dly 0, clock 400000
  123. co-phase 0x2, tx-dly 0, clock 40000000
  124. aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x12000
  125. [mmc_startup] mmc refix success
  126. [mmc_init] mmc init success
  127. In: serial
  128. Out: serial
  129. Err: serial
  130. vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
  131. vpu: driver version: v20190313
  132. vpu: detect chip type: 9
  133. vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz)
  134. vpu: clk_level = 7
  135. vpu: vpu_power_on
  136. vpu: set_vpu_clk
  137. vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
  138. vpu: set_vpu_clk finish
  139. vpu: vpu_module_init_config
  140. vpp: vpp_init
  141. vpp: vpp osd2 matrix rgb2yuv..............
  142. cvbs: cpuid:0x29
  143. cvbs_config_hdmipll_g12a
  144. cvbs_set_vid2_clk
  145. 41831 bytes read in 7 ms (5.7 MiB/s)
  146. [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
  147. [OSD]set initrd_high: 0x3d800000
  148. [OSD]fb_addr for logo: 0x3d800000
  149. [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
  150. [OSD]fb_addr for logo: 0x3d800000
  151. [OSD]VPP_OFIFO_SIZE:0xfff01fff
  152. [CANVAS]canvas init
  153. [CANVAS]addr=0x3d800000 width=3840, height=1440
  154. cvbs: outputmode[1080p60hz] is invalid
  155. vpp: vpp_matrix_update: 2
  156. set hdmitx VIC = 16
  157. config HPLL = 5940000 frac_rate = 1
  158. HPLL: 0x3b3a04f7
  159. HPLL: 0x1b3a04f7
  160. HPLLv1: 0xdb3a04f7
  161. config HPLL done
  162. j = 6 vid_clk_div = 1
  163. hdmitx phy setting done
  164. hdmitx: set enc for VIC: 16
  165. enc_vpu_bridge_reset[1319]
  166. rx version is 1.4 or below div=10
  167. set hdmitx VIC = 16
  168. config HPLL = 5940000 frac_rate = 1
  169. HPLL: 0x3b3a04f7
  170. HPLL: 0x1b3a04f7
  171. HPLLv1: 0xdb3a04f7
  172. config HPLL done
  173. j = 6 vid_clk_div = 1
  174. hdmitx phy setting done
  175. hdmitx: set enc for VIC: 16
  176. enc_vpu_bridge_reset[1319]
  177. rx version is 1.4 or below div=10
  178. [OSD]osd_hw.free_dst_data: 0,1919,0,1079
  179. Net: dwmac.ff3f0000
  180. syntax error
  181. Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
  182. ## Attempting fetch boot.ini in mmc:0...
  183. co-phase 0x3, tx-dly 0, clock 400000
  184. co-phase 0x3, tx-dly 0, clock 400000
  185. co-phase 0x3, tx-dly 0, clock 400000
  186. emmc/sd response timeout, cmd8, status=0x1ff2800
  187. emmc/sd response timeout, cmd55, status=0x1ff2800
  188. emmc/sd response timeout, cmd1, status=0x1ff2800
  189. ** Bad device mmc 0 **
  190. ## Executing script at 04000000
  191. Wrong image format for "source" command
  192. ## Attempting fetch boot.scr in mmc:0...
  193. co-phase 0x3, tx-dly 0, clock 400000
  194. co-phase 0x3, tx-dly 0, clock 400000
  195. co-phase 0x3, tx-dly 0, clock 400000
  196. emmc/sd response timeout, cmd8, status=0x1ff2800
  197. emmc/sd response timeout, cmd55, status=0x1ff2800
  198. emmc/sd response timeout, cmd1, status=0x1ff2800
  199. ** Bad device mmc 0 **
  200. ## Executing script at 04000000
  201. Wrong image format for "source" command
  202. ## Attempting fetch boot.ini in mmc:1...
  203. ** File not found boot.ini **
  204. ## Executing script at 04000000
  205. Wrong image format for "source" command
  206. ## Attempting fetch boot.scr in mmc:1...
  207. 4225 bytes read in 5 ms (825.2 KiB/s)
  208. ## Executing script at 04000000
  209. 203 bytes read in 6 ms (32.2 KiB/s)
  210. ini: Imported overlay_resize as 16384
  211. ini: Imported overlay_profile as
  212. ini: Imported overlays as spi0 i2c0 i2c1
  213. 78642 bytes read in 25 ms (3 MiB/s)
  214. 464 bytes read in 28 ms (15.6 KiB/s)
  215. ** File not found dtbs/5.15.0-odroid-arm64/amlogic/overlays/odroidn2/i2c0.dtbo **
  216. ** File not found dtbs/5.15.0-odroid-arm64/amlogic/overlays/odroidn2/i2c1.dtbo **
  217. 11542470 bytes read in 636 ms (17.3 MiB/s)
  218. Uncompressed size: 27852808 = 0x1A90008
  219. 7245311 bytes read in 401 ms (17.2 MiB/s)
  220. Booting Debian 5.15.0-odroid-arm64 from mmc 1:...
  221. libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
  222. [rsvmem] fdt get prop fail.
  223. active_slot is <NULL>
  224. Unknown command 'store' - try 'help'
  225. No dtbo patitions found
  226. load dtb from 0x1000000 ......
  227. ## Flattened Device Tree blob at 20000000
  228. Booting using the fdt blob at 0x20000000
  229. No valid dtbo image found
  230. libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
  231. [rsvmem] fdt get prop fail.
  232. reserving fdt memory region: addr=20000000 size=2a000
  233. Loading Ramdisk to 3d117000, end 3d7ffdff ... OK
  234. Loading Device Tree to 000000001ffd3000, end 000000001fffffff ... OK
  235.  
  236. Starting kernel ...
  237.  
  238. uboot time: 9010767 us
  239.  
  240.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement