Tanure

vim3 uboot log

Sep 27th, 2020
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.69 KB | None | 0 0
  1. G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.
  2. bl2_stage_init 0x01
  3. bl2_stage_init 0x81
  4. hw id: 0x0000 - pwm id 0x01
  5. bl2_stage_init 0xc1
  6. bl2_stage_init 0x02
  7.  
  8. L0:00000000
  9. L1:20000703
  10. L2:00008067
  11. L3:14000000
  12. B2:00402000
  13. B1:e0f83180
  14.  
  15. TE: 172072
  16.  
  17. BL2 Built : 15:22:05, Aug 28 2019. g12b g1bf2b53 - luan.yuan@droid15-sz
  18.  
  19. Board ID = 8
  20. Set A53 clk to 24M
  21. Set A73 clk to 24M
  22. Set clk81 to 24M
  23. A53 clk: 1200 MHz
  24. A73 clk: 1200 MHz
  25. CLK81: 166.6M
  26. smccc: 0002e806
  27. eMMC boot @ 0
  28. sw8 s
  29. DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:22:01
  30. board id: 8
  31. Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
  32. fw parse done
  33. Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0
  34. Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0
  35. PIEI prepare done
  36. fastboot data load
  37. 00000000
  38. emmc switch 1 ok
  39. ddr saved addr:00016000
  40. Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0
  41. 00000000
  42. emmc switch 0 ok
  43. fastboot data verify
  44. verify result: 265
  45. Cfg max: 4, cur: 1. Board id: 255. Force loop cfg
  46. LPDDR4 probe
  47. ddr clk to 1608MHz
  48. Load ddrfw from eMMC, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0
  49.  
  50. dmc_version 0001
  51. Check phy result
  52. INFO : End of CA training
  53. INFO : End of initialization
  54. INFO : Training has run successfully!
  55. Check phy result
  56. INFO : End of initialization
  57. INFO : End of read enable training
  58. INFO : End of fine write leveling
  59. INFO : End of Write leveling coarse delay
  60. INFO : Training has run successfully!
  61. Check phy result
  62. INFO : End of initialization
  63. INFO : End of read dq deskew training
  64. INFO : End of MPR read delay center optimization
  65. INFO : End of write delay center optimization
  66. INFO : End of read delay center optimization
  67. INFO : End of max read latency training
  68. INFO : Training has run successfully!
  69. 1D training succeed
  70. Load ddrfw from eMMC, src: 0x00048200, des: 0xfffd0000, size: 0x0000c000, part: 0
  71. Check phy result
  72. INFO : End of initialization
  73. INFO : End of 2D read delay Voltage center optimization
  74. INFO : End of 2D read delay Voltage center optimization
  75. INFO : End of 2D write delay Voltage center optimization
  76. INFO : End of 2D write delay Voltage center optimization
  77. INFO : Training has run successfully!
  78.  
  79. channel==0
  80. RxClkDly_Margin_A0==77 ps 8
  81. TxDqDly_Margin_A0==106 ps 11
  82. RxClkDly_Margin_A1==87 ps 9
  83. TxDqDly_Margin_A1==106 ps 11
  84. TrainedVREFDQ_A0==26
  85. TrainedVREFDQ_A1==26
  86. VrefDac_Margin_A0==28
  87. DeviceVref_Margin_A0==26
  88. VrefDac_Margin_A1==28
  89. DeviceVref_Margin_A1==26
  90.  
  91.  
  92. channel==1
  93. RxClkDly_Margin_A0==87 ps 9
  94. TxDqDly_Margin_A0==106 ps 11
  95. RxClkDly_Margin_A1==97 ps 10
  96. TxDqDly_Margin_A1==106 ps 11
  97. TrainedVREFDQ_A0==26
  98. TrainedVREFDQ_A1==25
  99. VrefDac_Margin_A0==27
  100. DeviceVref_Margin_A0==25
  101. VrefDac_Margin_A1==26
  102. DeviceVref_Margin_A1==25
  103.  
  104. dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004
  105.  
  106. soc_vref_reg_value 0x 00000024 00000025 00000026 00000024 00000024 00000025 00000024 00000025 00000025 00000026 00000024 00000025 00000025 00000024 00000027 00000026 00000025 00000026 00000026 4
  107. 2D training succeed
  108. aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:54:19
  109. auto size-- 65535DDR cs0 size: 2048MB
  110. DDR cs1 size: 2048MB
  111. DMC_DDR_CTRL: 00e00024DDR size: 3928MB
  112. cs0 DataBus test pass
  113. cs1 DataBus test pass
  114. cs0 AddrBus test pass
  115. cs1 AddrBus test pass
  116.  
  117. non-sec scramble use zero key
  118. ddr scramble enabled
  119.  
  120. 100bdlr_step_size ps== 444
  121. result report
  122. boot times 2Enable ddr reg access
  123. 00000000
  124. emmc switch 3 ok
  125. Authentication key not yet programmed
  126. get rpmb counter error 0x00000007
  127. 00000000
  128. emmc switch 0 ok
  129. Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
  130. Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x000d0000, part: 0
  131. 0.0;M3 CHK:0;cm4_sp_mode 0
  132. MVN_1=0x00000000
  133. MVN_2=0x00000000
  134. [Image: g12b_v1.1.3390-6ac5299 2019-09-26 14:10:05 luan.yuan@droid15-sz]
  135. OPS=0x10
  136. ring efuse init
  137. chipver efuse init
  138. 29 0b 10 00 01 25 0a 00 00 0d 35 37 4d 4d 4e 50
  139. [0.972794 Inits done]
  140. secure task start!
  141. high task start!
  142. low task start!
  143. run into bl31
  144. NOTICE: BL31: v1.3(release):4fc40b1
  145. NOTICE: BL31: Built : 15:58:17, May 22 2019
  146. NOTICE: BL31: G12A normal boot!
  147. NOTICE: BL31: BL33 decompress pass
  148. ERROR: Error initializing runtime service opteed_fast
  149.  
  150.  
  151. U-Boot 2015.01 (Dec 31 2019 - 00:36:50)
  152.  
  153. DRAM: 3.8 GiB
  154. Relocation Offset is: d6e46000
  155. spi_post_bind(spifc): req_seq = 0
  156. register usb cfg[0][1] = 00000000d7f39548
  157. aml_i2c_init_port init regs for 0
  158. MMC: aml_priv->desc_buf = 0x00000000d3e36a70
  159. aml_priv->desc_buf = 0x00000000d3e38db0
  160. SDIO Port B: 0, SDIO Port C: 1
  161. co-phase 0x3, tx-dly 0, clock 400000
  162. co-phase 0x3, tx-dly 0, clock 400000
  163. co-phase 0x3, tx-dly 0, clock 400000
  164. emmc/sd response timeout, cmd8, status=0x3ff2800
  165. emmc/sd response timeout, cmd55, status=0x3ff2800
  166. co-phase 0x3, tx-dly 0, clock 400000
  167. co-phase 0x1, tx-dly 0, clock 40000000
  168. aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x22000
  169. [mmc_startup] mmc refix success
  170. init_part() 297: PART_TYPE_AML
  171. [mmc_init] mmc init success
  172. start dts,buffer=00000000d3e3b620,dt_addr=00000000d3e3b620
  173. get_partition_from_dts() 91: ret 0
  174. parts: 3
  175. 00: logo 0000000000800000 1
  176. 01: ramdisk 0000000002000000 1
  177. 02: rootfs ffffffffffffffff 4
  178. init_part() 297: PART_TYPE_AML
  179. eMMC/TSD partition table have been checked OK!
  180. crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
  181. crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
  182. crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
  183. mmc env offset: 0x6c00000
  184. In: serial
  185. Out: serial
  186. Err: serial
  187. reboot_mode=watchdog_reboot
  188. [store]To run cmd[emmc dtb_read 0x1000000 0x40000]
  189. _verify_dtb_checksum()-3477: calc 8caae72a, store 8caae72a
  190. _verify_dtb_checksum()-3477: calc 8caae72a, store 8caae72a
  191. dtb_read()-3694: total valid 2
  192. update_old_dtb()-3675: do nothing
  193. aml_i2c_init_port init regs for 0
  194. fusb302_init: Device ID: 0x91
  195. CC connected in 1 as UFP
  196. fusb302 detect chip.port_num = 0
  197.  
  198. amlkey_init() enter!
  199. [EFUSE_MSG]keynum is 1
  200. vpu: clk_level in dts: 7
  201. vpu: vpu_power_on
  202. vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
  203. vpu: vpu_module_init_config
  204. vpp: vpp_init
  205. vpp: vpp osd2 matrix rgb2yuv..............
  206. cvbs: cpuid:0x29
  207. LCD_RESET PIN: 0
  208. lcd: detect mode: tablet, key_valid: 0
  209. lcd: detect lcd_clk_path: 1
  210. lcd: failed to get lcd_cpu_gpio_names
  211. lcd: load config from dts
  212. lcd: pinctrl_version: 2
  213. lcd: use panel_type=lcd_0
  214. lcd: bl: pinctrl_version: 2
  215. lcd: bl: name: backlight_pwm, method: 1
  216. lcd: bl: aml_bl_power_ctrl: 0
  217. Net: __phy_realtek_initdwmac.ff3f0000
  218. amlkey_init() enter!
  219. amlkey_init() 71: already init!
  220. [EFUSE_MSG]keynum is 1
  221. MACADDR:02:00:00:0a:25:01(from chipid)
  222.  
  223. upgrade_step=0
  224. reboot_mode:::: watchdog_reboot
  225.  
  226. amlkey_init() enter!
  227. amlkey_init() 71: already init!
  228. [EFUSE_MSG]keynum is 1
  229. [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet
  230.  
  231. mac address: c8:63:14:70:62:b9
  232. [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
  233. edid preferred_mode is <NULL>[0]
  234. hdr mode is 0
  235. dv mode is ver:0 len: 0
  236. hdr10+ mode is 0
  237. HDMI cable is NOT connected
  238. hpd_state=0
  239. [OSD]load fb addr from dts:/meson-fb
  240. [OSD]set initrd_high: 0x7f800000
  241. [OSD]fb_addr for logo: 0x7f800000
  242. [OSD]load fb addr from dts:/meson-fb
  243. [OSD]fb_addr for logo: 0x7f800000
  244. [OSD]VPP_OFIFO_SIZE:0xfff01fff
  245. [CANVAS]canvas init
  246. [CANVAS]addr=0x7f800000 width=5760, height=2160
  247. card in
  248. co-phase 0x2, tx-dly 0, clock 400000
  249. co-phase 0x2, tx-dly 0, clock 400000
  250. co-phase 0x2, tx-dly 0, clock 400000
  251. co-phase 0x2, tx-dly 0, clock 400000
  252. co-phase 0x2, tx-dly 0, clock 40000000
  253. aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x22000
  254. [mmc_startup] mmc refix success
  255. init_part() 282: PART_TYPE_DOS
  256. [mmc_init] mmc init success
  257. 750054 bytes read in 81 ms (8.8 MiB/s)
  258. [OSD]osd_hw.free_dst_data: 0,1079,0,1919
  259. [OSD]osd1_update_disp_freescale_enable
  260. cvbs: outputmode[panel] is invalid
  261. hdmitx: outputmode[panel] is invalid
  262. vpp: vpp_matrix_update: 0
  263. vpp: g12a/b post2(bit12) matrix: YUV limit -> RGB ..............
  264. lcd: enable: TS050, mipi, [email protected]
  265. lcd: tablet driver init(ver 20180718): mipi
  266. lcd: lcd_pll_wait_lock: pll_lock=1, wait_loop=1
  267. vpp: vpp_init_lcd_gamma_table
  268. lcd: pixel_clk = 120.000MHz, bit_rate = 960.000MHz, lanebyteclk = 120.000MHz
  269. lcd: Waiting STOP STATE LANE
  270. lcd: dsi init on
  271. lcd: bl: set level: 100, last level: 0
  272. lcd: bl: aml_bl_power_ctrl: 1
  273. lcd: clear mute
  274. vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
  275.  
  276. amlkey_init() enter!
  277. amlkey_init() 71: already init!
  278. [EFUSE_MSG]keynum is 1
  279. [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet
  280.  
  281. mac address: c8:63:14:70:62:b9
  282. [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
  283. gpio: pin GPIOAO_7 (gpio 7) value is 1
  284. saradc: 0x286, hw_ver: 0x32 (VIM3.V12)
  285. Product checking: pass! Hardware version: VIM3.V12
  286. reboot_mode=watchdog_reboot
  287. normal power on
  288. boot wol: disable
  289. port mode is usb3.0
  290. Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
  291. Device: SDIO Port B
  292. Manufacturer ID: 1b
  293. OEM: 534d
  294. Name: FB4HT
  295. Tran Speed: 50000000
  296. Rd Block Len: 512
  297. SD version 3.0
  298. High Capacity: Yes
  299. Capacity: 29.8 GiB
  300. mmc clock: 40000000
  301. Bus Width: 4-bit
  302. reading s905_autoscript
  303. 8600 bytes read in 6 ms (1.4 MiB/s)
  304. ## Executing script at 01020000
  305. Starting S905 autoscript...
  306. saradc: 0x286, hw_ver: 0x32 (VIM3.V12)
  307. uboot type: vendor
  308. autoscript loaded from: mmc
  309. Scanning mmc 0:1...
  310. reading uInitrd
  311. 11971430 bytes read in 657 ms (17.4 MiB/s)
  312. reading zImage
  313. 21331976 bytes read in 1170 ms (17.4 MiB/s)
  314. reading dtb.img
  315. 51400 bytes read in 6 ms (8.2 MiB/s)
  316. reading /boot/env.txt
  317. ** Unable to read file /boot/env.txt **
  318. reading env.txt
  319. 2760 bytes read in 3 ms (898.4 KiB/s)
  320. Import env.txt
  321. Booting mainline kernel...
  322. libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
  323. port mode is usb3.0
  324. HDMI: Autodetect: 1080p60hz
  325. libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
  326. [rsvmem] fdt get prop fail.
  327. ## Loading init Ramdisk from Legacy Image at 13000000 ...
  328. Image Name: uInitrd
  329. Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
  330. Data Size: 11971366 Bytes = 11.4 MiB
  331. Load Address: 00000000
  332. Entry Point: 00000000
  333. Verifying Checksum ... OK
  334. load dtb from 0x1000000 ......
  335. ERROR: Did not find a cmdline Flattened Device Tree
  336. load dtb from 0x0 ......
  337. ERROR: Did not find a cmdline Flattened Device Tree
  338. Could not find a valid device tree
  339. Scanning mmc 0:5...
  340. ** Invalid partition 5 **
  341. Scanning mmc 1:1...
  342. ** Unrecognized filesystem type **
  343. Scanning mmc 1:5...
  344. 8469162 bytes read in 243 ms (33.2 MiB/s)
  345. 28979712 bytes read in 816 ms (33.9 MiB/s)
  346. 87858 bytes read in 8 ms (10.5 MiB/s)
  347. 2701 bytes read in 4 ms (659.2 KiB/s)
  348. Import env.txt
  349. Can not get u-boot part UUID, set to NULL
  350. Booting legacy kernel...
  351. port mode is usb3.0
  352. HDMI: Autodetect: 1080p60hz
  353. ## Loading init Ramdisk from Legacy Image at 13000000 ...
  354. Image Name: uInitrd
  355. Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
  356. Data Size: 8469098 Bytes = 8.1 MiB
  357. Load Address: 00000000
  358. Entry Point: 00000000
  359. Verifying Checksum ... OK
  360. load dtb from 0x1000000 ......
  361. ## Flattened Device Tree blob at 01000000
  362. Booting using the fdt blob at 0x1000000
  363. reserving fdt memory region: addr=1000000 size=16000
  364. Loading Ramdisk to 7efec000, end 7f7ffa6a ... OK
  365. Loading Device Tree to 000000001ffe7000, end 000000001fffffff ... OK
  366.  
  367. Starting kernel ...
  368.  
  369. uboot time: 7694867 us
  370. [ 0.000000@0] Booting Linux on physical CPU 0x0
  371. [ 0.000000@0] Linux version 4.9.206 (khadas@3a97a4844f91) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #13 SM9
  372. [ 0.000000@0] Boot CPU: AArch64 Processor [410fd034]
Advertisement
Add Comment
Please, Sign In to add comment