查看: 2357|回复: 0

[原创] uboot 2019.04 移植到 米尔 mys_y6ulx 开发板

[复制链接]

主题

好友

7163

积分

版主

  • TA的每日心情
    开心
    2019-7-8 10:54
  • 签到天数: 325 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2019-6-8 17:33:49 |显示全部楼层
    本帖最后由 robe.zhang 于 2019-6-8 17:34 编辑

    串口  1000000 bps,8N1,串口正常工作,可以调试
    主要做了以下修改:
    (uboot\include\configs\mys_imx6ull.h)                                       // 调试
    添加宏定义,开始调试代码
    #define DEBUG
    (u-boot-2019.04\arch\arm\dts\imx6ull-14x14-evk.dts)                         // 修改 model
    修改设备树,model 属性,显示正常
    (u-boot-2019.04\board\robe\robe_mys_y6ulx\robe_mys_y6ulx.c)                 // 修改 board
    修改 checkboard 函数,board 显示正常
    (u-boot-2019.04\include\configs\robe_mys_y6ulx.h)                           // 修改串口波特率
    两个方法,环境变量,驱动 kconfig 都可以
    优先级: 环境变量 > 驱动修改
    修改环境变量:"baudrate=1000000\0" 或者修改 驱动 kconfig 之后
    还需要添加 #define CONFIG_SYS_BAUDRATE_TABLE    { 9600, 19200, 38400, 57600, 115200, 230400, 500000, 1000000, 1500000 }
    (u-boot-2019.04\configs\robe_mys_y6ulx_defconfig)                           // 修改设备树
    修改配置文件 CONFIG_DEFAULT_DEVICE_TREE="robe_mys_y6ulx"
    (u-boot-2019.04\arch\arm\dts\Makefile)
    修改 makefile ,添加 dtb-$(CONFIG_TARGET_ROBE_MYS_Y6ULX) += robe_mys_y6ulx.dtb
    (u-boot-2019.04\include\configs\robe_mys_y6ulx.h)
    修改设备树文件,1修改环境变量  "fdt_file=robe_mys_y6ulx.dtb\0"

    启动 log:
    1. initcall: 87847ac4


    2. U-Boot 2019.04 (Jun 06 2019 - 12:40:17 +0800)

    3. initcall: 87810ec0
    4. U-Boot code: 87800000 -> 87867F54  BSS: -> 87871C1C
    5. initcall: 878022a8
    6. CPU:   Freescale i.MX6ULL rev1.0 528 MHz (running at 396 MHz)
    7. CPU:   Commercial temperature grade (0C to 95C)uclass_find_device_by_seq: 0 -1
    8. uclass_find_device_by_seq: 0 0
    9.    - -1 -1 'imx_thermal'
    10.    - not found
    11. at 48C
    12. Reset cause: POR
    13. initcall: 87811560
    14. Model: Robe_mys_y6ulx iot board.
    15. Board: Robe_mys_y6ulx iot board.
    16. initcall: 87810ff8
    17. DRAM:  initcall: 87803dd4
    18. initcall: 87811150
    19. Monitor len: 00071C1C
    20. Ram size: 20000000
    21. Ram top: A0000000
    22. initcall: 87810cc8
    23. initcall: 87810d14
    24. TLB table from 9fff0000 to 9fff4000
    25. initcall: 87811070
    26. initcall: 87811078
    27. initcall: 87810e58
    28. Reserving 455k for U-Boot at: 9ff7e000
    29. initcall: 87810e28
    30. Reserving 16392k for malloc() at: 9ef7c000
    31. initcall: 87810fa4
    32. Reserving 80 Bytes for Board Info at: 9ef7bfb0
    33. initcall: 87811080
    34. initcall: 87810df4
    35. Reserving 256 Bytes for Global Data at: 9ef7beb0
    36. initcall: 87810d88
    37. Reserving 35328 Bytes for FDT at: 9ef734b0
    38. initcall: 87811088
    39. initcall: 87811090
    40. initcall: 87811058
    41. initcall: 878111c0
    42. initcall: 87810cf0
    43. initcall: 878110b4

    44. RAM Configuration:
    45. Bank #0: 80000000 512 MiB

    46. DRAM:  512 MiB
    47. initcall: 87810d6c
    48. New Stack Pointer is: 9ef73490
    49. initcall: 87810f60
    50. initcall: 87811098
    51. initcall: 878110a0
    52. initcall: 87810ef0
    53. Relocation Offset is: 1877e000
    54. Relocating to 9ff7e000, new gd at 9ef7beb0, sp at 9ef73490
    55. initcall: 9ff8f490
    56. initcall: 9ff8f294
    57. initcall: 87811480 (relocated to 9ff8f480)
    58. dram_bank_mmu_setup: bank: 0
    59. mmu_set_region_dcache_behaviour: start=0x00000000, size=1048575, option=0x1e
    60. mmu_set_region_dcache_behaviour: start=0x00000009, size=131072, option=0x1e
    61. initcall: 87811438 (relocated to 9ff8f438)
    62. efi_runtime_relocate: Relocating to offset=9ff7e000
    63. efi_runtime_relocate: rel->info=0x17 *p=0x87800868 rel->offset=878004d8
    64. efi_runtime_relocate: Setting 9ff7e4d8 to 9ff7e868
    65. efi_runtime_relocate: rel->info=0x17 *p=0x87800800 rel->offset=878007d0
    66. efi_runtime_relocate: Setting 9ff7e7d0 to 9ff7e800
    67. efi_runtime_relocate: rel->info=0x17 *p=0x87865c34 rel->offset=878007dc
    68. efi_runtime_relocate: Setting 9ff7e7dc to 9ffe3c34
    69. efi_runtime_relocate: rel->info=0x17 *p=0x87865c70 rel->offset=878007e4
    70. efi_runtime_relocate: Setting 9ff7e7e4 to 9ffe3c70
    71. efi_runtime_relocate: rel->info=0x17 *p=0x87865c70 rel->offset=878007ec
    72. efi_runtime_relocate: Setting 9ff7e7ec to 9ffe3c70
    73. efi_runtime_relocate: rel->info=0x17 *p=0x87800818 rel->offset=878007f0
    74. efi_runtime_relocate: Setting 9ff7e7f0 to 9ff7e818
    75. efi_runtime_relocate: rel->info=0x17 *p=0x87865b48 rel->offset=878007f4
    76. efi_runtime_relocate: Setting 9ff7e7f4 to 9ffe3b48
    77. efi_runtime_relocate: rel->info=0x17 *p=0x8783d78c rel->offset=87800830
    78. efi_runtime_relocate: Setting 9ff7e830 to 9ffbb78c
    79. efi_runtime_relocate: rel->info=0x17 *p=0x878003bc rel->offset=87800834
    80. efi_runtime_relocate: Setting 9ff7e834 to 9ff7e3bc
    81. efi_runtime_relocate: rel->info=0x17 *p=0x878003b4 rel->offset=87800838
    82. efi_runtime_relocate: Setting 9ff7e838 to 9ff7e3b4
    83. efi_runtime_relocate: rel->info=0x17 *p=0x878003b4 rel->offset=8780083c
    84. efi_runtime_relocate: Setting 9ff7e83c to 9ff7e3b4
    85. efi_runtime_relocate: rel->info=0x17 *p=0x8783d838 rel->offset=87800840
    86. efi_runtime_relocate: Setting 9ff7e840 to 9ffbb838
    87. efi_runtime_relocate: rel->info=0x17 *p=0x878003c4 rel->offset=87800844
    88. efi_runtime_relocate: Setting 9ff7e844 to 9ff7e3c4
    89. efi_runtime_relocate: rel->info=0x17 *p=0x8783e430 rel->offset=87800848
    90. efi_runtime_relocate: Setting 9ff7e848 to 9ffbc430
    91. efi_runtime_relocate: rel->info=0x17 *p=0x8783e8fc rel->offset=8780084c
    92. efi_runtime_relocate: Setting 9ff7e84c to 9ffbc8fc
    93. efi_runtime_relocate: rel->info=0x17 *p=0x8783ed2c rel->offset=87800850
    94. efi_runtime_relocate: Setting 9ff7e850 to 9ffbcd2c
    95. efi_runtime_relocate: rel->info=0x17 *p=0x878003bc rel->offset=87800854
    96. efi_runtime_relocate: Setting 9ff7e854 to 9ff7e3bc
    97. efi_runtime_relocate: rel->info=0x17 *p=0x8783d6a8 rel->offset=87800858
    98. efi_runtime_relocate: Setting 9ff7e858 to 9ffbb6a8
    99. efi_runtime_relocate: rel->info=0x17 *p=0x878003cc rel->offset=8780085c
    100. efi_runtime_relocate: Setting 9ff7e85c to 9ff7e3cc
    101. efi_runtime_relocate: rel->info=0x17 *p=0x878003d4 rel->offset=87800860
    102. efi_runtime_relocate: Setting 9ff7e860 to 9ff7e3d4
    103. efi_runtime_relocate: rel->info=0x17 *p=0x878003dc rel->offset=87800864
    104. efi_runtime_relocate: Setting 9ff7e864 to 9ff7e3dc
    105. initcall: 87811498 (relocated to 9ff8f498)
    106. initcall: 878113fc (relocated to 9ff8f3fc)
    107. Pre-reloc malloc() used 0xfc bytes (0 KB)
    108. using memory 0x9ef7c000-0x9ff7e000 for malloc()
    109. initcall: 87810ca0 (relocated to 9ff8eca0)
    110. initcall: 878113e8 (relocated to 9ff8f3e8)
    111. initcall: 878112ac (relocated to 9ff8f2ac)
    112. initcall: 8781128c (relocated to 9ff8f28c)
    113. initcall: 878113d4 (relocated to 9ff8f3d4)
    114. uclass_find_device_by_seq: 0 -1
    115. uclass_find_device_by_seq: 0 0
    116.    - -1 -1 'root_driver'
    117.    - not found
    118. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    119. get_prop_check_min_len: ranges
    120. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    121. get_prop_check_min_len: ranges
    122. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    123. get_prop_check_min_len: ranges
    124. Looking for 'gpio' at 10232, name gpio@0209c000
    125.    - can0, /soc/aips-bus@02000000/can@02090000
    126.    - can1, /soc/aips-bus@02000000/can@02094000
    127.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    128.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    129.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    130. Found seq 0
    131. OF: ** translation for device gpio@0209c000 **
    132. OF: bus is default (na=1, ns=1) on aips-bus@02000000
    133. OF: translating address: 00c00902
    134. OF: parent bus is default (na=1, ns=1) on soc
    135. OF: no ranges, 1:1 translation
    136. OF: parent translation for: 00000000
    137. OF: with offset: 34193408
    138. OF: one level translation: 00c00902
    139. OF: parent bus is default (na=1, ns=1) on
    140. OF: no ranges, 1:1 translation
    141. OF: parent translation for: 00000000
    142. OF: with offset: 34193408
    143. OF: one level translation: 00c00902
    144. OF: reached root node
    145. Looking for 'gpio' at 10428, name gpio@020a0000
    146.    - can0, /soc/aips-bus@02000000/can@02090000
    147.    - can1, /soc/aips-bus@02000000/can@02094000
    148.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    149.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    150.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    151.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    152. Found seq 1
    153. OF: ** translation for device gpio@020a0000 **
    154. OF: bus is default (na=1, ns=1) on aips-bus@02000000
    155. OF: translating address: 00000a02
    156. OF: parent bus is default (na=1, ns=1) on soc
    157. OF: no ranges, 1:1 translation
    158. OF: parent translation for: 00000000
    159. OF: with offset: 34209792
    160. OF: one level translation: 00000a02
    161. OF: parent bus is default (na=1, ns=1) on
    162. OF: no ranges, 1:1 translation
    163. OF: parent translation for: 00000000
    164. OF: with offset: 34209792
    165. OF: one level translation: 00000a02
    166. OF: reached root node
    167. Looking for 'gpio' at 10608, name gpio@020a4000
    168.    - can0, /soc/aips-bus@02000000/can@02090000
    169.    - can1, /soc/aips-bus@02000000/can@02094000
    170.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    171.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    172.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    173.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    174.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    175. Found seq 2
    176. OF: ** translation for device gpio@020a4000 **
    177. OF: bus is default (na=1, ns=1) on aips-bus@02000000
    178. OF: translating address: 00400a02
    179. OF: parent bus is default (na=1, ns=1) on soc
    180. OF: no ranges, 1:1 translation
    181. OF: parent translation for: 00000000
    182. OF: with offset: 34226176
    183. OF: one level translation: 00400a02
    184. OF: parent bus is default (na=1, ns=1) on
    185. OF: no ranges, 1:1 translation
    186. OF: parent translation for: 00000000
    187. OF: with offset: 34226176
    188. OF: one level translation: 00400a02
    189. OF: reached root node
    190. Looking for 'gpio' at 10788, name gpio@020a8000
    191.    - can0, /soc/aips-bus@02000000/can@02090000
    192.    - can1, /soc/aips-bus@02000000/can@02094000
    193.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    194.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    195.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    196.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    197.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    198.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    199. Found seq 3
    200. OF: ** translation for device gpio@020a8000 **
    201. OF: bus is default (na=1, ns=1) on aips-bus@02000000
    202. OF: translating address: 00800a02
    203. OF: parent bus is default (na=1, ns=1) on soc
    204. OF: no ranges, 1:1 translation
    205. OF: parent translation for: 00000000
    206. OF: with offset: 34242560
    207. OF: one level translation: 00800a02
    208. OF: parent bus is default (na=1, ns=1) on
    209. OF: no ranges, 1:1 translation
    210. OF: parent translation for: 00000000
    211. OF: with offset: 34242560
    212. OF: one level translation: 00800a02
    213. OF: reached root node
    214. Looking for 'gpio' at 10968, name gpio@020ac000
    215.    - can0, /soc/aips-bus@02000000/can@02090000
    216.    - can1, /soc/aips-bus@02000000/can@02094000
    217.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    218.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    219.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    220.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    221.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    222.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    223.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    224. Found seq 4
    225. OF: ** translation for device gpio@020ac000 **
    226. OF: bus is default (na=1, ns=1) on aips-bus@02000000
    227. OF: translating address: 00c00a02
    228. OF: parent bus is default (na=1, ns=1) on soc
    229. OF: no ranges, 1:1 translation
    230. OF: parent translation for: 00000000
    231. OF: with offset: 34258944
    232. OF: one level translation: 00c00a02
    233. OF: parent bus is default (na=1, ns=1) on
    234. OF: no ranges, 1:1 translation
    235. OF: parent translation for: 00000000
    236. OF: with offset: 34258944
    237. OF: one level translation: 00c00a02
    238. OF: reached root node
    239. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    240. get_prop_check_min_len: ranges
    241. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    242. get_prop_check_min_len: ranges
    243. Looking for 'pinctrl' at 15196, name iomuxc@020e0000
    244.    - can0, /soc/aips-bus@02000000/can@02090000
    245.    - can1, /soc/aips-bus@02000000/can@02094000
    246.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    247.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    248.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    249.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    250.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    251.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    252.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    253.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    254.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    255.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    256.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    257.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    258.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    259.    - serial0, /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
    260.    - serial1, /soc/aips-bus@02100000/serial@021e8000
    261.    - serial2, /soc/aips-bus@02100000/serial@021ec000
    262.    - serial3, /soc/aips-bus@02100000/serial@021f0000
    263.    - serial4, /soc/aips-bus@02100000/serial@021f4000
    264.    - serial5, /soc/aips-bus@02100000/serial@021fc000
    265.    - serial6, /soc/aips-bus@02000000/spba-bus@02000000/serial@02018000
    266.    - serial7, /soc/aips-bus@02200000/serial@02288000
    267.    - spi0, /soc/aips-bus@02100000/qspi@021e0000
    268.    - spi1, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000
    269.    - spi2, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000
    270.    - spi3, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000
    271.    - spi4, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000
    272.    - usbphy0, /soc/aips-bus@02000000/usbphy@020c9000
    273.    - usbphy1, /soc/aips-bus@02000000/usbphy@020ca000
    274. Not found
    275. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    276. get_prop_check_min_len: ranges
    277. Looking for 'mmc' at 21016, name usdhc@02190000
    278.    - can0, /soc/aips-bus@02000000/can@02090000
    279.    - can1, /soc/aips-bus@02000000/can@02094000
    280.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    281.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    282.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    283.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    284.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    285.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    286.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    287.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    288.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    289.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    290.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    291.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    292. Found seq 0
    293. Looking for 'mmc' at 21016, name usdhc@02190000
    294.    - can0, /soc/aips-bus@02000000/can@02090000
    295.    - can1, /soc/aips-bus@02000000/can@02094000
    296.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    297.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    298.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    299.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    300.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    301.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    302.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    303.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    304.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    305.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    306.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    307.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    308. Found seq 0
    309. mmc_bind: alias ret=0, devnum=0
    310. Looking for 'mmc' at 21344, name usdhc@02194000
    311.    - can0, /soc/aips-bus@02000000/can@02090000
    312.    - can1, /soc/aips-bus@02000000/can@02094000
    313.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    314.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    315.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    316.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    317.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    318.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    319.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    320.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    321.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    322.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    323.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    324.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    325.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    326. Found seq 1
    327. Looking for 'mmc' at 21344, name usdhc@02194000
    328.    - can0, /soc/aips-bus@02000000/can@02090000
    329.    - can1, /soc/aips-bus@02000000/can@02094000
    330.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    331.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    332.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    333.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    334.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    335.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    336.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    337.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    338.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    339.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    340.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    341.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    342.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    343. Found seq 1
    344. mmc_bind: alias ret=0, devnum=1
    345. Looking for highest alias id for 'i2c'
    346.    - can0, /soc/aips-bus@02000000/can@02090000
    347.    - can1, /soc/aips-bus@02000000/can@02094000
    348.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    349.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    350.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    351.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    352.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    353.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    354.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    355.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    356. Found seq 0
    357.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    358. Found seq 1
    359.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    360. Found seq 2
    361.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    362. Found seq 3
    363.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    364.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    365.    - serial0, /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
    366.    - serial1, /soc/aips-bus@02100000/serial@021e8000
    367.    - serial2, /soc/aips-bus@02100000/serial@021ec000
    368.    - serial3, /soc/aips-bus@02100000/serial@021f0000
    369.    - serial4, /soc/aips-bus@02100000/serial@021f4000
    370.    - serial5, /soc/aips-bus@02100000/serial@021fc000
    371.    - serial6, /soc/aips-bus@02000000/spba-bus@02000000/serial@02018000
    372.    - serial7, /soc/aips-bus@02200000/serial@02288000
    373.    - spi0, /soc/aips-bus@02100000/qspi@021e0000
    374.    - spi1, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000
    375.    - spi2, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000
    376.    - spi3, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000
    377.    - spi4, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000
    378.    - usbphy0, /soc/aips-bus@02000000/usbphy@020c9000
    379.    - usbphy1, /soc/aips-bus@02000000/usbphy@020ca000
    380. i2c_uclass_init: highest alias id is 3
    381. Looking for 'i2c' at 21844, name i2c@021a0000
    382.    - can0, /soc/aips-bus@02000000/can@02090000
    383.    - can1, /soc/aips-bus@02000000/can@02094000
    384.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    385.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    386.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    387.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    388.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    389.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    390.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    391.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    392. Found seq 0
    393. i2c_post_bind: i2c@021a0000, req_seq=0
    394. i2c_post_bind: i2c@021a0000, new req_seq=0
    395. Looking for 'i2c' at 22272, name i2c@021a4000
    396.    - can0, /soc/aips-bus@02000000/can@02090000
    397.    - can1, /soc/aips-bus@02000000/can@02094000
    398.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    399.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    400.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    401.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    402.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    403.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    404.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    405.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    406.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    407. Found seq 1
    408. i2c_post_bind: i2c@021a4000, req_seq=1
    409. i2c_post_bind: i2c@021a4000, new req_seq=1
    410. Looking for 'spi' at 24272, name qspi@021e0000
    411.    - can0, /soc/aips-bus@02000000/can@02090000
    412.    - can1, /soc/aips-bus@02000000/can@02094000
    413.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    414.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    415.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    416.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    417.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    418.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    419.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    420.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    421.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    422.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    423.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    424.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    425.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    426.    - serial0, /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
    427.    - serial1, /soc/aips-bus@02100000/serial@021e8000
    428.    - serial2, /soc/aips-bus@02100000/serial@021ec000
    429.    - serial3, /soc/aips-bus@02100000/serial@021f0000
    430.    - serial4, /soc/aips-bus@02100000/serial@021f4000
    431.    - serial5, /soc/aips-bus@02100000/serial@021fc000
    432.    - serial6, /soc/aips-bus@02000000/spba-bus@02000000/serial@02018000
    433.    - serial7, /soc/aips-bus@02200000/serial@02288000
    434.    - spi0, /soc/aips-bus@02100000/qspi@021e0000
    435. Found seq 0
    436. ofnode_read_u32: reg: 0x0 (0)
    437. ofnode_read_u32: spi-max-frequency: 0x1ba8140 (29000000)
    438. ofnode_read_bool: spi-cpol: false
    439. ofnode_read_bool: spi-cpha: false
    440. ofnode_read_bool: spi-cs-high: false
    441. ofnode_read_bool: spi-3wire: false
    442. ofnode_read_bool: spi-half-duplex: false
    443. ofnode_read_u32: spi-tx-bus-width: (not found)
    444. ofnode_read_u32: spi-rx-bus-width: (not found)
    445. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    446. get_prop_check_min_len: ranges
    447. Looking for 'pinctrl' at 27196, name iomuxc-snvs@02290000
    448.    - can0, /soc/aips-bus@02000000/can@02090000
    449.    - can1, /soc/aips-bus@02000000/can@02094000
    450.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    451.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    452.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    453.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    454.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    455.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    456.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    457.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    458.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    459.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    460.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    461.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    462.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    463.    - serial0, /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
    464.    - serial1, /soc/aips-bus@02100000/serial@021e8000
    465.    - serial2, /soc/aips-bus@02100000/serial@021ec000
    466.    - serial3, /soc/aips-bus@02100000/serial@021f0000
    467.    - serial4, /soc/aips-bus@02100000/serial@021f4000
    468.    - serial5, /soc/aips-bus@02100000/serial@021fc000
    469.    - serial6, /soc/aips-bus@02000000/spba-bus@02000000/serial@02018000
    470.    - serial7, /soc/aips-bus@02200000/serial@02288000
    471.    - spi0, /soc/aips-bus@02100000/qspi@021e0000
    472.    - spi1, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000
    473.    - spi2, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000
    474.    - spi3, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000
    475.    - spi4, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000
    476.    - usbphy0, /soc/aips-bus@02000000/usbphy@020c9000
    477.    - usbphy1, /soc/aips-bus@02000000/usbphy@020ca000
    478. Not found
    479. ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
    480. get_prop_check_min_len: ranges
    481. Looking for 'spi' at 28608, name spi5
    482.    - can0, /soc/aips-bus@02000000/can@02090000
    483.    - can1, /soc/aips-bus@02000000/can@02094000
    484.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    485.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    486.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    487.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    488.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    489.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    490.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    491.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    492.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    493.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    494.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    495.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    496.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    497.    - serial0, /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
    498.    - serial1, /soc/aips-bus@02100000/serial@021e8000
    499.    - serial2, /soc/aips-bus@02100000/serial@021ec000
    500.    - serial3, /soc/aips-bus@02100000/serial@021f0000
    501.    - serial4, /soc/aips-bus@02100000/serial@021f4000
    502.    - serial5, /soc/aips-bus@02100000/serial@021fc000
    503.    - serial6, /soc/aips-bus@02000000/spba-bus@02000000/serial@02018000
    504.    - serial7, /soc/aips-bus@02200000/serial@02288000
    505.    - spi0, /soc/aips-bus@02100000/qspi@021e0000
    506.    - spi1, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000
    507.    - spi2, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000
    508.    - spi3, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000
    509.    - spi4, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000
    510.    - usbphy0, /soc/aips-bus@02000000/usbphy@020c9000
    511.    - usbphy1, /soc/aips-bus@02000000/usbphy@020ca000
    512. Not found
    513. Looking for 'gpio' at 28820, name gpio_spi@0
    514.    - can0, /soc/aips-bus@02000000/can@02090000
    515.    - can1, /soc/aips-bus@02000000/can@02094000
    516.    - ethernet0, /soc/aips-bus@02100000/ethernet@02188000
    517.    - ethernet1, /soc/aips-bus@02000000/ethernet@020b4000
    518.    - gpio0, /soc/aips-bus@02000000/gpio@0209c000
    519.    - gpio1, /soc/aips-bus@02000000/gpio@020a0000
    520.    - gpio2, /soc/aips-bus@02000000/gpio@020a4000
    521.    - gpio3, /soc/aips-bus@02000000/gpio@020a8000
    522.    - gpio4, /soc/aips-bus@02000000/gpio@020ac000
    523.    - i2c0, /soc/aips-bus@02100000/i2c@021a0000
    524.    - i2c1, /soc/aips-bus@02100000/i2c@021a4000
    525.    - i2c2, /soc/aips-bus@02100000/i2c@021a8000
    526.    - i2c3, /soc/aips-bus@02100000/i2c@021f8000
    527.    - mmc0, /soc/aips-bus@02100000/usdhc@02190000
    528.    - mmc1, /soc/aips-bus@02100000/usdhc@02194000
    529.    - serial0, /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
    530.    - serial1, /soc/aips-bus@02100000/serial@021e8000
    531.    - serial2, /soc/aips-bus@02100000/serial@021ec000
    532.    - serial3, /soc/aips-bus@02100000/serial@021f0000
    533.    - serial4, /soc/aips-bus@02100000/serial@021f4000
    534.    - serial5, /soc/aips-bus@02100000/serial@021fc000
    535.    - serial6, /soc/aips-bus@02000000/spba-bus@02000000/serial@02018000
    536.    - serial7, /soc/aips-bus@02200000/serial@02288000
    537.    - spi0, /soc/aips-bus@02100000/qspi@021e0000
    538.    - spi1, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000
    539.    - spi2, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000
    540.    - spi3, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000
    541.    - spi4, /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000
    542.    - usbphy0, /soc/aips-bus@02000000/usbphy@020c9000
    543.    - usbphy1, /soc/aips-bus@02000000/usbphy@020ca000
    544. Not found
    545. ofnode_read_u32: reg: 0x0 (0)
    546. ofnode_read_u32: spi-max-frequency: 0x186a0 (100000)
    547. ofnode_read_bool: spi-cpol: false
    548. ofnode_read_bool: spi-cpha: false
    549. ofnode_read_bool: spi-cs-high: false
    550. ofnode_read_bool: spi-3wire: false
    551. ofnode_read_bool: spi-half-duplex: false
    552. ofnode_read_u32: spi-tx-bus-width: (not found)
    553. ofnode_read_u32: spi-rx-bus-width: (not found)
    554. initcall: 87803e0c (relocated to 9ff81e0c)
    555. initcall: 8783d52c (relocated to 9ffbb52c)
    556. efi_add_memory_map: 0x80000000 0x20000 7 no
    557. efi_add_memory_map: 0x9df73000 0x208d 2 no
    558. efi_add_memory_map: 0x9ff7e000 0x1 5 no
    559. initcall: 87816e64 (relocated to 9ff94e64)
    560. initcall: 878113c4 (relocated to 9ff8f3c4)
    561. initcall: 878113a8 (relocated to 9ff8f3a8)
    562. Now running in RAM - U-Boot at: 9ff7e000
    563. initcall: 878112b4 (relocated to 9ff8f2b4)
    564. initcall: 87811388 (relocated to 9ff8f388)
    565. MMC:   uclass_find_device_by_seq: 0 0
    566.    - 0 -1 'usdhc@02190000'
    567.    - 1 -1 'usdhc@02194000'
    568.    - not found
    569. uclass_find_device_by_seq: 1 0
    570.    - 0 -1 'usdhc@02190000'
    571.    - found
    572. uclass_find_device_by_seq: 0 -1
    573. uclass_find_device_by_seq: 0 0
    574.    - -1 -1 'soc'
    575.    - -1 -1 'aips-bus@02000000'
    576.    - -1 -1 'spba-bus@02000000'
    577.    - -1 -1 'anatop@020c8000'
    578.    - -1 -1 'snvs@020cc000'
    579.    - -1 -1 'aips-bus@02100000'
    580.    - -1 -1 'aips-bus@02200000'
    581.    - -1 -1 'regulators'
    582.    - not found
    583. uclass_find_device_by_seq: 0 -1
    584. uclass_find_device_by_seq: 0 0
    585.    - -1 0 'soc'
    586.    - found
    587. uclass_find_device_by_seq: 0 1
    588.    - -1 0 'soc'
    589.    - -1 -1 'aips-bus@02000000'
    590.    - -1 -1 'spba-bus@02000000'
    591.    - -1 -1 'anatop@020c8000'
    592.    - -1 -1 'snvs@020cc000'
    593.    - -1 -1 'aips-bus@02100000'
    594.    - -1 -1 'aips-bus@02200000'
    595.    - -1 -1 'regulators'
    596.    - not found
    597. uclass_find_device_by_seq: 0 -1
    598. uclass_find_device_by_seq: 0 0
    599.    - -1 -1 'iomuxc@020e0000'
    600.    - -1 -1 'iomuxc-snvs@02290000'
    601.    - not found
    602. fdtdec_get_addr_size_fixed: reg: addr=020e0000, size=4000
    603. fdtdec_get_int: fsl,mux_mask: (not found)
    604. fdtdec_get_bool: fsl,input-sel
    605. uclass_find_device_by_seq: 0 -1
    606. uclass_find_device_by_seq: 0 0
    607.    - -1 -1 'imx6ul-evk'
    608.    - -1 -1 'hoggrp-1'
    609.    - -1 -1 'csi1grp'
    610.    - -1 -1 'enet1grp'
    611.    - -1 -1 'enet2grp'
    612.    - -1 -1 'flexcan1grp'
    613.    - -1 -1 'flexcan2grp'
    614.    - -1 -1 'i2c1grp'
    615.    - -1 -1 'i2c2grp'
    616.    - -1 -1 'lcdifdatgrp'
    617.    - -1 -1 'lcdifctrlgrp'
    618.    - -1 -1 'pwm1grp'
    619.    - -1 -1 'qspigrp'
    620.    - -1 -1 'uart1grp'
    621.    - -1 -1 'uart2grp'
    622.    - -1 -1 'uart2dtegrp'
    623.    - -1 -1 'usdhc1grp'
    624.    - -1 -1 'usdhc2grp'
    625.    - -1 -1 'wdoggrp'
    626.    - -1 -1 'imx6ul-evk'
    627.    - -1 -1 'hoggrp-2'
    628.    - -1 -1 'dvfsgrp'
    629.    - -1 -1 'lcdifresetgrp'
    630.    - -1 -1 'spi4grp'
    631.    - -1 -1 'sai2_hp_det_grp'
    632.    - not found
    633. uclass_find_device_by_seq: 0 -1
    634. uclass_find_device_by_seq: 0 0
    635.    - -1 0 'imx6ul-evk'
    636.    - found
    637. uclass_find_device_by_seq: 0 1
    638.    - -1 0 'imx6ul-evk'
    639.    - -1 -1 'hoggrp-1'
    640.    - -1 -1 'csi1grp'
    641.    - -1 -1 'enet1grp'
    642.    - -1 -1 'enet2grp'
    643.    - -1 -1 'flexcan1grp'
    644.    - -1 -1 'flexcan2grp'
    645.    - -1 -1 'i2c1grp'
    646.    - -1 -1 'i2c2grp'
    647.    - -1 -1 'lcdifdatgrp'
    648.    - -1 -1 'lcdifctrlgrp'
    649.    - -1 -1 'pwm1grp'
    650.    - -1 -1 'qspigrp'
    651.    - -1 -1 'uart1grp'
    652.    - -1 -1 'uart2grp'
    653.    - -1 -1 'uart2dtegrp'
    654.    - -1 -1 'usdhc1grp'
    655.    - -1 -1 'usdhc2grp'
    656.    - -1 -1 'wdoggrp'
    657.    - -1 -1 'imx6ul-evk'
    658.    - -1 -1 'hoggrp-2'
    659.    - -1 -1 'dvfsgrp'
    660.    - -1 -1 'lcdifresetgrp'
    661.    - -1 -1 'spi4grp'
    662.    - -1 -1 'sai2_hp_det_grp'
    663.    - not found
    664. fdtdec_get_int_array: fsl,pins
    665. get_prop_check_min_len: fsl,pins
    666. uclass_find_device_by_seq: 0 -1
    667. uclass_find_device_by_seq: 0 0
    668.    - -1 0 'soc'
    669.    - found
    670. uclass_find_device_by_seq: 0 1
    671.    - -1 0 'soc'
    672.    - -1 1 'aips-bus@02000000'
    673.    - found
    674. uclass_find_device_by_seq: 0 2
    675.    - -1 0 'soc'
    676.    - -1 1 'aips-bus@02000000'
    677.    - -1 -1 'spba-bus@02000000'
    678.    - -1 -1 'anatop@020c8000'
    679.    - -1 -1 'snvs@020cc000'
    680.    - -1 -1 'aips-bus@02100000'
    681.    - -1 -1 'aips-bus@02200000'
    682.    - -1 -1 'regulators'
    683.    - not found
    684. uclass_find_device_by_seq: 0 0
    685.    - 0 -1 'usdhc@02190000'
    686.    - 1 -1 'usdhc@02194000'
    687.    - not found
    688. uclass_find_device_by_seq: 0 -1
    689. uclass_find_device_by_seq: 0 0
    690.    - -1 0 'imx6ul-evk'
    691.    - found
    692. uclass_find_device_by_seq: 0 1
    693.    - -1 0 'imx6ul-evk'
    694.    - -1 1 'hoggrp-1'
    695.    - found
    696. uclass_find_device_by_seq: 0 2
    697.    - -1 0 'imx6ul-evk'
    698.    - -1 1 'hoggrp-1'
    699.    - -1 -1 'csi1grp'
    700.    - -1 -1 'enet1grp'
    701.    - -1 -1 'enet2grp'
    702.    - -1 -1 'flexcan1grp'
    703.    - -1 -1 'flexcan2grp'
    704.    - -1 -1 'i2c1grp'
    705.    - -1 -1 'i2c2grp'
    706.    - -1 -1 'lcdifdatgrp'
    707.    - -1 -1 'lcdifctrlgrp'
    708.    - -1 -1 'pwm1grp'
    709.    - -1 -1 'qspigrp'
    710.    - -1 -1 'uart1grp'
    711.    - -1 -1 'uart2grp'
    712.    - -1 -1 'uart2dtegrp'
    713.    - -1 -1 'usdhc1grp'
    714.    - -1 -1 'usdhc2grp'
    715.    - -1 -1 'wdoggrp'
    716.    - -1 -1 'imx6ul-evk'
    717.    - -1 -1 'hoggrp-2'
    718.    - -1 -1 'dvfsgrp'
    719.    - -1 -1 'lcdifresetgrp'
    720.    - -1 -1 'spi4grp'
    721.    - -1 -1 'sai2_hp_det_grp'
    722.    - not found
    723. fdtdec_get_int_array: fsl,pins
    724. get_prop_check_min_len: fsl,pins
    725. OF: ** translation for device usdhc@02190000 **
    726. OF: bus is default (na=1, ns=1) on aips-bus@02100000
    727. OF: translating address: 00001902
    728. OF: parent bus is default (na=1, ns=1) on soc
    729. OF: no ranges, 1:1 translation
    730. OF: parent translation for: 00000000
    731. OF: with offset: 35192832
    732. OF: one level translation: 00001902
    733. OF: parent bus is default (na=1, ns=1) on
    734. OF: no ranges, 1:1 translation
    735. OF: parent translation for: 00000000
    736. OF: with offset: 35192832
    737. OF: one level translation: 00001902
    738. OF: reached root node
    739. ofnode_read_u32: bus-width: 0x4 (4)
    740. fdtdec_get_int: fsl,tuning-step: 0x2 (2)
    741. fdtdec_get_int: fsl,tuning-start-tap: (not found)
    742. fdtdec_get_int: fsl,strobe-dll-delay-target: (not found)
    743. ofnode_read_bool: non-removable: false
    744. fdtdec_get_int: #gpio-cells: 0x2 (2)
    745. uclass_find_device_by_seq: 0 0
    746.    - 0 -1 'gpio@0209c000'
    747.    - 1 -1 'gpio@020a0000'
    748.    - 2 -1 'gpio@020a4000'
    749.    - 3 -1 'gpio@020a8000'
    750.    - 4 -1 'gpio@020ac000'
    751.    - -1 -1 'gpio_spi@0'
    752.    - not found
    753. gpio_request_tail: Node 'usdhc@02190000', property 'wp-gpios', failed to request GPIO index 0: -2
    754. ofnode_read_u32: vqmmc-supply: (not found)
    755. clock is enabled (400000Hz)
    756. uclass_find_device_by_seq: 0 1
    757.    - 0 0 'usdhc@02190000'
    758.    - 1 -1 'usdhc@02194000'
    759.    - not found
    760. uclass_find_device_by_seq: 1 1
    761.    - 0 0 'usdhc@02190000'
    762.    - 1 -1 'usdhc@02194000'
    763.    - found
    764. uclass_find_device_by_seq: 0 1
    765.    - 0 0 'usdhc@02190000'
    766.    - 1 -1 'usdhc@02194000'
    767.    - not found
    768. uclass_find_device_by_seq: 0 -1
    769. uclass_find_device_by_seq: 0 0
    770.    - -1 0 'imx6ul-evk'
    771.    - found
    772. uclass_find_device_by_seq: 0 1
    773.    - -1 0 'imx6ul-evk'
    774.    - -1 1 'hoggrp-1'
    775.    - found
    776. uclass_find_device_by_seq: 0 2
    777.    - -1 0 'imx6ul-evk'
    778.    - -1 1 'hoggrp-1'
    779.    - -1 -1 'csi1grp'
    780.    - -1 -1 'enet1grp'
    781.    - -1 -1 'enet2grp'
    782.    - -1 -1 'flexcan1grp'
    783.    - -1 -1 'flexcan2grp'
    784.    - -1 -1 'i2c1grp'
    785.    - -1 -1 'i2c2grp'
    786.    - -1 -1 'lcdifdatgrp'
    787.    - -1 -1 'lcdifctrlgrp'
    788.    - -1 -1 'pwm1grp'
    789.    - -1 -1 'qspigrp'
    790.    - -1 -1 'uart1grp'
    791.    - -1 -1 'uart2grp'
    792.    - -1 -1 'uart2dtegrp'
    793.    - -1 2 'usdhc1grp'
    794.    - found
    795. uclass_find_device_by_seq: 0 3
    796.    - -1 0 'imx6ul-evk'
    797.    - -1 1 'hoggrp-1'
    798.    - -1 -1 'csi1grp'
    799.    - -1 -1 'enet1grp'
    800.    - -1 -1 'enet2grp'
    801.    - -1 -1 'flexcan1grp'
    802.    - -1 -1 'flexcan2grp'
    803.    - -1 -1 'i2c1grp'
    804.    - -1 -1 'i2c2grp'
    805.    - -1 -1 'lcdifdatgrp'
    806.    - -1 -1 'lcdifctrlgrp'
    807.    - -1 -1 'pwm1grp'
    808.    - -1 -1 'qspigrp'
    809.    - -1 -1 'uart1grp'
    810.    - -1 -1 'uart2grp'
    811.    - -1 -1 'uart2dtegrp'
    812.    - -1 2 'usdhc1grp'
    813.    - -1 -1 'usdhc2grp'
    814.    - -1 -1 'wdoggrp'
    815.    - -1 -1 'imx6ul-evk'
    816.    - -1 -1 'hoggrp-2'
    817.    - -1 -1 'dvfsgrp'
    818.    - -1 -1 'lcdifresetgrp'
    819.    - -1 -1 'spi4grp'
    820.    - -1 -1 'sai2_hp_det_grp'
    821.    - not found
    822. fdtdec_get_int_array: fsl,pins
    823. get_prop_check_min_len: fsl,pins
    824. OF: ** translation for device usdhc@02194000 **
    825. OF: bus is default (na=1, ns=1) on aips-bus@02100000
    826. OF: translating address: 00401902
    827. OF: parent bus is default (na=1, ns=1) on soc
    828. OF: no ranges, 1:1 translation
    829. OF: parent translation for: 00000000
    830. OF: with offset: 35209216
    831. OF: one level translation: 00401902
    832. OF: parent bus is default (na=1, ns=1) on
    833. OF: no ranges, 1:1 translation
    834. OF: parent translation for: 00000000
    835. OF: with offset: 35209216
    836. OF: one level translation: 00401902
    837. OF: reached root node
    838. ofnode_read_u32: bus-width: 0x4 (4)
    839. fdtdec_get_int: fsl,tuning-step: 0x2 (2)
    840. fdtdec_get_int: fsl,tuning-start-tap: (not found)
    841. fdtdec_get_int: fsl,strobe-dll-delay-target: (not found)
    842. ofnode_read_bool: non-removable: true
    843. gpio_request_tail: Node 'usdhc@02194000', property 'wp-gpios', failed to request GPIO index 0: -2
    844. ofnode_read_u32: vqmmc-supply: (not found)
    845. clock is enabled (400000Hz)
    846. uclass_find_device_by_seq: 0 2
    847.    - 0 0 'usdhc@02190000'
    848.    - 1 1 'usdhc@02194000'
    849.    - not found
    850. uclass_find_device_by_seq: 1 2
    851.    - 0 0 'usdhc@02190000'
    852.    - 1 1 'usdhc@02194000'
    853.    - not found
    854. FSL_SDHC: 0, FSL_SDHC: 1
    855. initcall: 87811324 (relocated to 9ff8f324)
    856. fdtdec_get_config_int: load-environment
    857. Loading Environment from MMC... blk_find_device: if_type=6, devnum=0: usdhc@02190000.blk, 6, 0
    858. uclass_find_device_by_seq: 0 -1
    859. uclass_find_device_by_seq: 0 0
    860.    - -1 -1 'usdhc@02190000.blk'
    861.    - -1 -1 'usdhc@02194000.blk'
    862.    - not found
    863. ofnode_read_u32: vmmc-supply: 0x20 (32)
    864. ofnode_read_u32: vqmmc-supply: (not found)
    865. clock is disabled (0Hz)
    866. clock is enabled (400000Hz)
    867. clock is enabled (50000000Hz)
    868. miss: start 0, count 1
    869. blk_find_device: if_type=6, devnum=0: usdhc@02190000.blk, 6, 0
    870. fill: start 0, count 1
    871. part_init: try 'DOS': ret=0
    872. blk_find_device: if_type=6, devnum=0: usdhc@02190000.blk, 6, 0
    873. fdtdec_get_config_string: u-boot,mmc-env-partition
    874. fdtdec_get_config_int: u-boot,mmc-env-offset
    875. miss: start 600, count 16
    876. blk_find_device: if_type=6, devnum=0: usdhc@02190000.blk, 6, 0
    877. *** Warning - bad CRC, using default environment

    878. Destroy Hash Table: 9ffe3a44 table = 00000000
    879. Create Hash Table: N=273
    880. INSERT: table 9ffe3a44, filled 1/277 rv 9ef7faa0 ==> name="bootcmd" value="mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi"
    881. INSERT: table 9ffe3a44, filled 2/277 rv 9ef7f924 ==> name="bootdelay" value="2"
    882. INSERT: table 9ffe3a44, filled 3/277 rv 9ef7eb14 ==> name="baudrate" value="1000000"
    883. INSERT: table 9ffe3a44, filled 4/277 rv 9ef7f49c ==> name="loadaddr" value="0x82000000"
    884. INSERT: table 9ffe3a44, filled 5/277 rv 9ef7f4d8 ==> name="script" value="boot.scr"
    885. INSERT: table 9ffe3a44, filled 6/277 rv 9ef7f190 ==> name="image" value="zImage"
    886. INSERT: table 9ffe3a44, filled 7/277 rv 9ef7ef9c ==> name="console" value="ttymxc0"
    887. INSERT: table 9ffe3a44, filled 8/277 rv 9ef7ebb4 ==> name="fdt_high" value="0xffffffff"
    888. INSERT: table 9ffe3a44, filled 9/277 rv 9ef7fb54 ==> name="initrd_high" value="0xffffffff"
    889. INSERT: table 9ffe3a44, filled 10/277 rv 9ef7f550 ==> name="fdt_file" value="robe_mys_y6ulx.dtb"
    890. INSERT: table 9ffe3a44, filled 11/277 rv 9ef7f3e8 ==> name="fdt_addr" value="0x83000000"
    891. INSERT: table 9ffe3a44, filled 12/277 rv 9ef7e77c ==> name="boot_fdt" value="try"
    892. INSERT: table 9ffe3a44, filled 13/277 rv 9ef7ee98 ==> name="ip_dyn" value="yes"
    893. INSERT: table 9ffe3a44, filled 14/277 rv 9ef7f834 ==> name="videomode" value="video=ctfb:x:480,y:272,depth:24,pclk:108695,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0"
    894. INSERT: table 9ffe3a44, filled 15/277 rv 9ef7f8fc ==> name="mmcdev" value="1"
    895. INSERT: table 9ffe3a44, filled 16/277 rv 9ef7f938 ==> name="mmcpart" value="1"
    896. INSERT: table 9ffe3a44, filled 17/277 rv 9ef7ed30 ==> name="mmcroot" value="/dev/mmcblk1p2 rootwait rw"
    897. INSERT: table 9ffe3a44, filled 18/277 rv 9ef7f7f8 ==> name="mmcautodetect" value="yes"
    898. INSERT: table 9ffe3a44, filled 19/277 rv 9ef7ee34 ==> name="mmcargs" value="setenv bootargs console=${console},${baudrate} root=${mmcroot}"
    899. INSERT: table 9ffe3a44, filled 20/277 rv 9ef7e8d0 ==> name="loadbootscript" value="fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};"
    900. INSERT: table 9ffe3a44, filled 21/277 rv 9ef7f488 ==> name="bootscript" value="echo Running bootscript from mmc ...; source"
    901. INSERT: table 9ffe3a44, filled 22/277 rv 9ef7ecb8 ==> name="loadimage" value="fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}"
    902. INSERT: table 9ffe3a44, filled 23/277 rv 9ef7e704 ==> name="loadfdt" value="fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}"
    903. INSERT: table 9ffe3a44, filled 24/277 rv 9ef7f604 ==> name="mmcboot" value="echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;"
    904. INSERT: table 9ffe3a44, filled 25/277 rv 9ef7f3ac ==> name="netargs" value="setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp"
    905. INSERT: table 9ffe3a44, filled 26/277 rv 9ef7e5d8 ==> name="netboot" value="echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;"
    906. INSERT: free(data = 9ef7df28)
    907. INSERT: done
    908. blk_find_device: if_type=6, devnum=0: usdhc@02190000.blk, 6, 0
    909. Using default environment
    910. Destroy Hash Table: 9ffe3a44 table = 9ef7e5c0
    911. Create Hash Table: N=273
    912. INSERT: table 9ffe3a44, filled 1/277 rv 9ef7faa0 ==> name="bootcmd" value="mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi"
    913. INSERT: table 9ffe3a44, filled 2/277 rv 9ef7f924 ==> name="bootdelay" value="2"
    914. INSERT: table 9ffe3a44, filled 3/277 rv 9ef7eb14 ==> name="baudrate" value="1000000"
    915. INSERT: table 9ffe3a44, filled 4/277 rv 9ef7f49c ==> name="loadaddr" value="0x82000000"
    916. INSERT: table 9ffe3a44, filled 5/277 rv 9ef7f4d8 ==> name="script" value="boot.scr"
    917. INSERT: table 9ffe3a44, filled 6/277 rv 9ef7f190 ==> name="image" value="zImage"
    918. INSERT: table 9ffe3a44, filled 7/277 rv 9ef7ef9c ==> name="console" value="ttymxc0"
    919. INSERT: table 9ffe3a44, filled 8/277 rv 9ef7ebb4 ==> name="fdt_high" value="0xffffffff"
    920. INSERT: table 9ffe3a44, filled 9/277 rv 9ef7fb54 ==> name="initrd_high" value="0xffffffff"
    921. INSERT: table 9ffe3a44, filled 10/277 rv 9ef7f550 ==> name="fdt_file" value="robe_mys_y6ulx.dtb"
    922. INSERT: table 9ffe3a44, filled 11/277 rv 9ef7f3e8 ==> name="fdt_addr" value="0x83000000"
    923. INSERT: table 9ffe3a44, filled 12/277 rv 9ef7e77c ==> name="boot_fdt" value="try"
    924. INSERT: table 9ffe3a44, filled 13/277 rv 9ef7ee98 ==> name="ip_dyn" value="yes"
    925. INSERT: table 9ffe3a44, filled 14/277 rv 9ef7f834 ==> name="videomode" value="video=ctfb:x:480,y:272,depth:24,pclk:108695,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0"
    926. INSERT: table 9ffe3a44, filled 15/277 rv 9ef7f8fc ==> name="mmcdev" value="1"
    927. INSERT: table 9ffe3a44, filled 16/277 rv 9ef7f938 ==> name="mmcpart" value="1"
    928. INSERT: table 9ffe3a44, filled 17/277 rv 9ef7ed30 ==> name="mmcroot" value="/dev/mmcblk1p2 rootwait rw"
    929. INSERT: table 9ffe3a44, filled 18/277 rv 9ef7f7f8 ==> name="mmcautodetect" value="yes"
    930. INSERT: table 9ffe3a44, filled 19/277 rv 9ef7ee34 ==> name="mmcargs" value="setenv bootargs console=${console},${baudrate} root=${mmcroot}"
    931. INSERT: table 9ffe3a44, filled 20/277 rv 9ef7e8d0 ==> name="loadbootscript" value="fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};"
    932. INSERT: table 9ffe3a44, filled 21/277 rv 9ef7f488 ==> name="bootscript" value="echo Running bootscript from mmc ...; source"
    933. INSERT: table 9ffe3a44, filled 22/277 rv 9ef7ecb8 ==> name="loadimage" value="fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}"
    934. INSERT: table 9ffe3a44, filled 23/277 rv 9ef7e704 ==> name="loadfdt" value="fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}"
    935. INSERT: table 9ffe3a44, filled 24/277 rv 9ef7f604 ==> name="mmcboot" value="echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;"
    936. INSERT: table 9ffe3a44, filled 25/277 rv 9ef7f3ac ==> name="netargs" value="setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp"
    937. INSERT: table 9ffe3a44, filled 26/277 rv 9ef7e5d8 ==> name="netboot" value="echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;"
    938. INSERT: free(data = 9ef7df28)
    939. INSERT: done
    940. Selecting environment with bad CRC
    941. Initial value for argc=3
    942. Final value for argc=3
    943. initcall: 878114a4 (relocated to 9ff8f4a4)
    944. initcall: 87816e80 (relocated to 9ff94e80)
    945. initcall: 87811314 (relocated to 9ff8f314)
    946. initcall: 87814458 (relocated to 9ff92458)
    947. In:    serial
    948. Out:   serial
    949. Err:   serial
    950. Initial value for argc=3
    951. Final value for argc=3
    952. Initial value for argc=3
    953. Final value for argc=3
    954. Initial value for argc=3
    955. Final value for argc=3
    956. initcall: 87801aa4 (relocated to 9ff7faa4)
    957. initcall: 87811304 (relocated to 9ff8f304)
    958. initcall: 878112e4 (relocated to 9ff8f2e4)
    959. initcall: 87803e24 (relocated to 9ff81e24)
    960. Initial value for argc=3
    961. Final value for argc=3
    962. Initial value for argc=3
    963. Final value for argc=3
    964. initcall: 878112c8 (relocated to 9ff8f2c8)
    965. Net:   CPU Net Initialization Failed
    966. No ethernet found.
    967. initcall: 878112bc (relocated to 9ff8f2bc)
    968. fdtdec_get_config_int: bootdelay
    969. ### main_loop entered: bootdelay=2

    970. fdtdec_get_config_int: kernel-offset
    971. fdtdec_get_config_int: rootdisk-offset
    972. fdtdec_get_config_string: bootcmd
    973. fdtdec_get_config_int: bootsecure
    974. ### main_loop: bootcmd="mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi"
    975. Hit any key to stop autoboot:  0
    976. =>
    977. => ver
    978. U-Boot 2019.04 (Jun 06 2019 - 12:40:17 +0800)

    979. arm-linux-gnueabihf-gcc (Linaro GCC 6.3-2017.02) 6.3.1 20170109
    980. GNU ld (Linaro_Binutils-2017.02) 2.27.0.20161019
    981. =>
    982. U-Boot 2019.04 (Jun 06 2019 - 12:40:17 +0800)

    983. arm-linux-gnueabihf-gcc (Linaro GCC 6.3-2017.02) 6.3.1 20170109
    984. GNU ld (Linaro_Binutils-2017.02) 2.27.0.20161019
    985. => <INTERRUPT>
    986. => bd
    987. arch_number = 0x00000000
    988. boot_params = 0x80000100
    989. DRAM bank   = 0x00000000
    990. -> start    = 0x80000000
    991. -> size     = 0x20000000
    992. current eth = unknown
    993. ip_addr     = <NULL>
    994. baudrate    = 1000000 bps
    995. TLB addr    = 0x9fff0000
    996. relocaddr   = 0x9ff7e000
    997. reloc off   = 0x1877e000
    998. irq_sp      = 0x9ef734a0
    999. sp start    = 0x9ef73490
    1000. Early malloc usage: fc / 400
    1001. fdt_blob    = 0x9ef734b0
    1002. =>
    复制代码



    以上所有源码位于:https://github.com/robe-zhang/mys_y6ulx/tree/master/u-boot-2019.04
    移植笔记完整版位于:https://github.com/robe-zhang/mys_y6ulx/blob/master/note_robe/note_uboot/note_uboot_porting




    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    关闭

    站长推荐上一条 /4 下一条

    手机版|电路城

    GMT+8, 2019-7-20 08:45 , Processed in 0.112339 second(s), 12 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz!

    返回顶部