Advertisement
Guest User

Remix Mini PC firmware boot log (secure boot on Allwinner)

a guest
Dec 10th, 2016
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.41 KB | None | 0 0
  1. sbrom commit : 8
  2. set pll start
  3. set pll end
  4. try to probe rtc region
  5. rtc[0] value = 0x00000000
  6. rtc[1] value = 0x00000000
  7. rtc[2] value = 0x00000000
  8. rtc[3] value = 0x00000000
  9. rtc[4] value = 0x00000000
  10. rtc[5] value = 0x00000000
  11. flag=0x00000000
  12. try to init dram
  13. DRAM driver version: V1.1
  14. rsb_send_initseq: rsb clk 400Khz -> 3Mhz
  15. PMU: AXP81X
  16. ddr voltage = 1500 mv
  17. DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
  18. DRAM clk = 672 MHz
  19. DRAM zq value: 003d3ddd
  20. DRAM init OK
  21. DRAM size = 2048 MB
  22. DRAM init ok
  23. init dram ok, size=2048M
  24. try to setup mmu
  25. mmu setup ok
  26. init heap
  27. init gic
  28. init flash
  29. [mmc]: mmc driver ver 2015-09-24 15:58
  30. [mmc]: ***Try MMC card 2***
  31. [mmc]: MMC 5.0
  32. [mmc]: HSDDR52/DDR50 4 bit
  33. [mmc]: 50000000 Hz
  34. [mmc]: 14910 MB
  35. [mmc]: ***SD/MMC 2 init OK!!!***
  36. *******************TOC1 Head Message*************************
  37. Toc_name = sunxi-secure
  38. Toc_magic = 0x89119800
  39. Toc_add_sum = 0x9b8d3bb5
  40. Toc_serial_num = 0x00000000
  41. Toc_status = 0x00000000
  42. Toc_items_nr = 0x00000009
  43. Toc_valid_len = 0x00118000
  44. TOC_MAIN_END = 0x3b45494d
  45. ***************************************************************
  46.  
  47.  
  48. *******************TOC1 Item Message*************************
  49. Entry_name = rootkey
  50. Entry_data_offset = 0x00001000
  51. Entry_data_len = 0x00000d9c
  52. encrypt = 0x00000000
  53. Entry_type = 0x00000000
  54. run_addr = 0x00000000
  55. index = 0x00000000
  56. Entry_call = 0x00000000
  57. Entry_end = 0x3b454949
  58. ***************************************************************
  59.  
  60.  
  61. *******************TOC1 Item Message*************************
  62. Entry_name = monitor
  63. Entry_data_offset = 0x00002000
  64. Entry_data_len = 0x00000362
  65. encrypt = 0x00000000
  66. Entry_type = 0x00000002
  67. run_addr = 0x00000000
  68. index = 0x00000000
  69. Entry_call = 0x00000000
  70. Entry_end = 0x3b454949
  71. ***************************************************************
  72.  
  73.  
  74. *******************TOC1 Item Message*************************
  75. Entry_name = monitor
  76. Entry_data_offset = 0x00002400
  77. Entry_data_len = 0x0000b1b8
  78. encrypt = 0x00000000
  79. Entry_type = 0x00000003
  80. run_addr = 0x40000000
  81. index = 0x00000000
  82. Entry_call = 0x40000000
  83. Entry_end = 0x3b454949
  84. ***************************************************************
  85.  
  86.  
  87. *******************TOC1 Item Message*************************
  88. Entry_name = scp
  89. Entry_data_offset = 0x0000d800
  90. Entry_data_len = 0x0000035e
  91. encrypt = 0x00000000
  92. Entry_type = 0x00000002
  93. run_addr = 0x00000000
  94. index = 0x00000000
  95. Entry_call = 0x00000000
  96. Entry_end = 0x3b454949
  97. ***************************************************************
  98.  
  99.  
  100. *******************TOC1 Item Message*************************
  101. Entry_name = scp
  102. Entry_data_offset = 0x0000dc00
  103. Entry_data_len = 0x00019a80
  104. encrypt = 0x00000000
  105. Entry_type = 0x00000003
  106. run_addr = 0x00000000
  107. index = 0x00000000
  108. Entry_call = 0x00000000
  109. Entry_end = 0x3b454949
  110. ***************************************************************
  111.  
  112.  
  113. *******************TOC1 Item Message*************************
  114. Entry_name = boot
  115. Entry_data_offset = 0x00027800
  116. Entry_data_len = 0x0000035f
  117. encrypt = 0x00000000
  118. Entry_type = 0x00000002
  119. run_addr = 0x00000000
  120. index = 0x00000000
  121. Entry_call = 0x00000000
  122. Entry_end = 0x3b454949
  123. ***************************************************************
  124.  
  125.  
  126. *******************TOC1 Item Message*************************
  127. Entry_name = recovery
  128. Entry_data_offset = 0x00027c00
  129. Entry_data_len = 0x00000363
  130. encrypt = 0x00000000
  131. Entry_type = 0x00000002
  132. run_addr = 0x00000000
  133. index = 0x00000000
  134. Entry_call = 0x00000000
  135. Entry_end = 0x3b454949
  136. ***************************************************************
  137.  
  138.  
  139. *******************TOC1 Item Message*************************
  140. Entry_name = u-boot
  141. Entry_data_offset = 0x00028000
  142. Entry_data_len = 0x00000361
  143. encrypt = 0x00000000
  144. Entry_type = 0x00000002
  145. run_addr = 0x00000000
  146. index = 0x00000000
  147. Entry_call = 0x00000000
  148. Entry_end = 0x3b454949
  149. ***************************************************************
  150.  
  151.  
  152. *******************TOC1 Item Message*************************
  153. Entry_name = u-boot
  154. Entry_data_offset = 0x00028400
  155. Entry_data_len = 0x000ec000
  156. encrypt = 0x00000000
  157. Entry_type = 0x00000003
  158. run_addr = 0x4a000000
  159. index = 0x00000000
  160. Entry_call = 0x4a000000
  161. Entry_end = 0x3b454949
  162. ***************************************************************
  163.  
  164. probe root certif
  165. certif valid: the root key is valid
  166. find monitor key stored in root certif
  167. ready to run monitor
  168. find scp key stored in root certif
  169. set arisc reset to de-assert state
  170. find boot key stored in root certif
  171. find recovery key stored in root certif
  172. find u-boot key stored in root certif
  173. ready to run u-boot
  174. sbromsw_toc1_traverse find out all items
  175. monitor entry=0x40000000
  176. uboot entry=0x4a000000
  177. 0xffffffff 0xffffffff
  178. 0xff1dffff 0xffffffff
  179. 0xff10ffff 0xffffffff
  180. 0x1414ffff 0xffff1f13
  181. 0x0b16ffff 0xffffffff
  182. storage_type=2
  183. dram = 2048 M Z��{� Configuring SPC Controller
  184. NOTICE: BL3-1: v1.0(debug):f6fa4da
  185. NOTICE: BL3-1: Built : 10:32:52, Sep 11 2015
  186. NOTICE: BL3-1 commit: f6fa4da980d4486e06482fb4e21fec9c9584d92d
  187.  
  188. INFO: BL3-1: Initializing runtime services
  189. INFO: BL3-1: Preparing for EL3 exit to normal world
  190. INFO: BL3-1: Next image address = 0x4a000000
  191. INFO: BL3-1: Next image spsr = 0x1d3
  192.  
  193.  
  194. U-Boot 2014.07 (Oct 16 2015 - 16:19:09) Allwinner Technology
  195.  
  196. uboot commit : c269a9dfab203bc3b00a38a0ae4e8f0a1bcfca23
  197.  
  198. reg=0x0
  199. secure mode: with secureos
  200. rsb: secure monitor exist
  201. [ 1.519]pmbus: ready
  202. [ 1.521][ARISC] :arisc initialize
  203. [ 1.663][ARISC] :arisc_dvfs_cfg_vf_table: support only one vf_table
  204. [ 1.750][ARISC] :arisc para ok
  205. [SCP] :sunxi-arisc driver begin startup 2
  206. [SCP] :arisc_para size:240
  207. [SCP] :arisc version: [v0.1.90]
  208. [SCP] :sunxi-arisc driver v1.10 is starting
  209. [ 1.767][ARISC] :sunxi-arisc driver startup succeeded
  210. [ 1.788]PMU: AXP81X
  211. [ 1.790]PMU: AXP81X found
  212. bat_vol=0, ratio=0
  213. [ 1.812]PMU: dcdc2 1100
  214. [ 1.853]PMU: cpux 1008 Mhz,AXI=336 Mhz
  215. PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz AHB2=300Mhz MBus=400Mhz
  216. device_type = 3253, onoff=1
  217. dcdc1_vol = 3300, onoff=1
  218. dcdc2_vol = 1100, onoff=1
  219. dcdc6_vol = 1200, onoff=1
  220. aldo1_vol = 3300, onoff=0
  221. aldo2_vol = 3300, onoff=1
  222. aldo3_vol = 3000, onoff=1
  223. dldo1_vol = 3300, onoff=1
  224. dldo2_vol = 3100, onoff=1
  225. dldo3_vol = 2800, onoff=0
  226. dldo4_vol = 3300, onoff=0
  227. eldo1_vol = 1800, onoff=1
  228. eldo2_vol = 1800, onoff=0
  229. eldo3_vol = 1800, onoff=0
  230. fldo2_vol = 1100, onoff=1
  231. gpio0_vol = 3100, onoff=0
  232. vbus not exist
  233. no battery, limit to dc
  234. run key detect
  235. no key found
  236. no uart input
  237. DRAM: 2 GiB
  238. fdt addr: 0xb6ea26c0
  239. Relocation Offset is: 75ef5000
  240. In: serial
  241. Out: serial
  242. Err: serial
  243. gic: sec monitor mode
  244. boot_init_gpio used
  245. sprite recovery not used
  246. workmode = 0,storage type = 2
  247. [ 2.221]MMC: 2
  248. [mmc]: mmc driver ver 2015-08-14 18:40:00
  249. [mmc]: get sdc_ex_dly_used 2, use auto tuning sdly
  250. [mmc]: card2 io is 1.8V.
  251. SUNXI SD/MMC: 2
  252. [mmc]: start mmc_calibrate_delay_unit, don't access device...
  253. [mmc]: delay chain cal done, sample: 172(ps)
  254. [mmc]: delay chain cal done, ds: 172(ps)
  255. [mmc]: media type 0x8000000
  256. [mmc]: ************Try MMC card 2************
  257. [mmc]: host caps: 0x1ef
  258. [mmc]: MID 000015 PSN fc2e4fa1
  259. [mmc]: PNM AGND3R -- 0x41-47-4e-44-33
  260. [mmc]: PRV 0.1
  261. [mmc]: MDT m-9 y-2015
  262. [mmc]: MMC v5.0
  263. [mmc]: speed mode : HSSDR52/SDR25
  264. [mmc]: clock : 50000000 Hz
  265. [mmc]: bus_width : 8 bit
  266. [mmc]: user capacity : 14910 MB
  267. [mmc]: boot capacity : 4096 KB
  268. [mmc]: rpmb capacity : 4096 KB
  269. [mmc]: ************SD/MMC 2 init OK!!!************
  270. [mmc]: erase_grp_size : 0x400WrBlk*0x200=0x80000 Byte
  271. [mmc]: secure_feature : 0x55
  272. [mmc]: secure_removal_type : 0x9
  273. [mmc]: EOL Info(Rev blks): Normal
  274. [mmc]: Wear out(type A): 0%-10% life time used
  275. [mmc]: Wear out(type B): 0%-10% life time used
  276. [ 2.477]sunxi flash init ok
  277. out of usb burn from boot: without usb
  278. [ 2.502]start
  279. drv_disp_init
  280. init_clocks: finish init_clocks.
  281. enable power vcc-hdmi-33, ret=0
  282. drv_disp_init finish
  283. reading disp_rsl.fex
  284. FAT: Misaligned buffer address (b6e94368)
  285. 8 bytes read in 7 ms (1000 Bytes/s)
  286. display resolution 4, type 4
  287. display output attr: type 4, used 1, channel 0, mode 4
  288. reading disp_rsl.fex
  289. FAT: Misaligned buffer address (b6e94368)
  290. 8 bytes read in 7 ms (1000 Bytes/s)
  291. could not get output resolution for 'cvbs_channel'
  292. display output attr: type 2, used 1, channel 1, mode 11
  293. boot_disp.auto_hpd=1
  294. boot_disp.hdmi_mode_check=1
  295. boot_disp.output_type=3
  296. auto hpd result: hdmi_connect=0, cvbs_connect=0!
  297. vendor_id=00000000
  298. reading tv_vdid.fex
  299. [mmc]: blkcnt should not be 0
  300. 12 bytes read in 6 ms (2 KiB/s)
  301. pvendor_id=10, ret=0x10, vendorID=0x10000000
  302. pvendor_id=ac, ret=0xac, vendorID=0x10ac0000
  303. pvendor_id=7a, ret=0x7a, vendorID=0x10ac7a00
  304. pvendor_id=a0, ret=0xa0, vendorID=0x10ac7aa0
  305. not support mode[4], use inline mode[4]
  306. [ 7.538]end
  307. --------fastboot partitions--------
  308. -total partitions:14-
  309. -name- -start- -size-
  310. bootloader : 1000000 1000000
  311. env : 2000000 1000000
  312. boot : 3000000 2000000
  313. system : 5000000 4ccccc00
  314. verity_block: 51cccc00 3000000
  315. misc : 54cccc00 1000000
  316. recovery : 55cccc00 2000000
  317. private : 57cccc00 1000000
  318. alog : 58cccc00 4000000
  319. Reserve0 : 5ccccc00 1000000
  320. Reserve1 : 5dcccc00 2000000
  321. Reserve2 : 5fcccc00 1000000
  322. cache : 60cccc00 30000000
  323. UDISK : 90cccc00 0
  324. -----------------------------------
  325. base bootcmd=run setargs_nand boot_normal
  326. bootcmd set setargs_mmc
  327. misc partition found
  328. to be run cmd=run setargs_mmc boot_normal
  329. read item0 copy0
  330. the secure storage item0 copy0 is good
  331. no item name initcall_debug in the map
  332. sunxi storage read fail
  333. no item name cma in the map
  334. sunxi storage read fail
  335. name in map mac
  336. the secure storage item2 copy0 is good
  337. Don't need to decrypt object
  338. update mac = 40:9F:87:0A:77:13
  339. no item name wifi_mac in the map
  340. sunxi storage read fail
  341. no item name bt_mac in the map
  342. sunxi storage read fail
  343. no item name specialstr in the map
  344. sunxi storage read fail
  345. no item name androidboot.serialno in the map
  346. sunxi storage read fail
  347. name in map serialno
  348. the secure storage item3 copy0 is good
  349. Don't need to decrypt object
  350. update serialno = JS2B300154410324
  351. check user data form private
  352. update dtb dram start
  353. update dtb dram end
  354. serial is: 4400519008083809080b
  355. no battery exist
  356. [boot_disp] adver need show
  357. reading advert.crc
  358. ** Unable to read file advert.crc **
  359. sunxi bmp info error : unable to open logo file sunxi_flash
  360. cat not find the advert.crc
  361. verify the advert.crc failed
  362. sunxi_advert_display failed,display default logo
  363. reading bootlogo.bmp
  364. 3686456 bytes read in 90 ms (39.1 MiB/s)
  365. screen_id =0, screen_width =0, screen_height =0
  366. frame buffer address 47400036
  367. [ 8.116]inter uboot shell
  368. Hit any key to stop autoboot: 0
  369. read partition: boot or recovery
  370. [ 8.611]sunxi flash read :offset 3000000, 17546065 bytes OK
  371. Kernel load addr 0x41080000 size 12710 KiB
  372. RAM disk load addr 0x42000000 size 3401 KiB
  373. total_len=16500736
  374. [ 8.806]ready to boot
  375. prepare for kernel
  376. [mmc]: mmc exit start
  377. [mmc]: start mmc_calibrate_delay_unit, don't access device...
  378. [mmc]: delay chain cal done, sample: 166(ps)
  379. [mmc]: delay chain cal done, ds: 172(ps)
  380. [mmc]: mmc 2 exit ok
  381.  
  382. Starting kernel ...
  383.  
  384. INFO: BL3-1: Next image address = 0x41080000
  385. INFO: BL3-1: Next image spsr = 0x3c5
  386. [ 0.000000] Initializing cgroup subsys cpuset
  387. [ 0.000000] Initializing cgroup subsys cpu
  388. [ 0.000000] Initializing cgroup subsys cpuacct
  389. [ 0.000000] Linux version 3.10.87 (jenkins@pallas.corp.jide.com) (gcc version 4.9.3 20150113 (prerelease) (Linaro GCC 4.9-2015.01-3) ) #1 SMP PREEMPT Sat Oct 24 00:59:37 CST 2015
  390. [ 0.000000] CPU: AArch64 Processor [410fd034] revision 4
  391. [ 0.000000] Machine: sun50iw1p1
  392. [ 0.000000] bootconsole [earlycon0] enabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement