查看: 2877|回复: 0

[原创] iMX6ULL开发板上电启动

[复制链接]
  • TA的每日心情
    开心
    2018-5-31 10:17
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    发表于 2018-4-29 10:22:39 | 显示全部楼层 |阅读模式
    分享到:
    本帖最后由 bloong 于 2018-11-16 10:37 编辑

    上次已经开箱了,这次开机后看看有什么好玩的东东。开发板是用DC 5V来供电,但没有配电源适配器,作为开发板小达人,手里电源一大堆的,电源买多了也没什么用。上电前要确认BOOT Mode跳冒和Boot Dev拨码是否配置正确,具体可以参考官方的文档 http://wiki.i2som.com/pages/viewpage.action?pageId=2654236 从文档看官方是做了两个版本的,现在硬件更新到V2.1了。然后直接上电就可以了。下面是uboot启动信息,版本还是比较新的,

    1. U-Boot 2016.03+ga768050 (Apr 15 2018 - 14:06:05 +0800)

    2. CPU:   Freescale i.MX6ULL rev1.0 528 MHz (running at 396 MHz)
    3. CPU:   Commercial temperature grade (0C to 95C) at 37C
    4. Reset cause: POR
    5. SOM: i2S-6ULY2 14x14
    6. Board: i2C-6ULX-B
    7. Boot device:  NAND
    8. DRAM:  256 MiB
    9. NAND:  256 MiB
    10. MMC:   FSL_SDHC: 0
    11. *** Warning - bad CRC, using default environment

    12. In:    serial
    13. Out:   serial
    14. Err:   serial
    15. SOM: i2S-6ULY2 14x14
    16. Board: i2C-6ULX-B
    17. Boot device:  NAND
    18. Net:   Board Net Initialization Failed
    19. No ethernet found.
    20. Normal Boot
    复制代码
    Linux启动比较长,节选部分就好了。
    1. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    2. NR_IRQS:16 nr_irqs:16 16
    3. mxc_clocksource_init 3000000
    4. Switching to timer-based delay loop, resolution 333ns
    5. sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
    6. clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
    7. Console: colour dummy device 80x30
    8. Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
    9. pid_max: default: 32768 minimum: 301
    10. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    11. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    12. Initializing cgroup subsys memory
    13. Initializing cgroup subsys devices
    14. Initializing cgroup subsys freezer
    15. CPU: Testing write buffer coherency: ok
    16. /cpus/cpu@0 missing clock-frequency property
    17. CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    18. Setting up static identity map for 0x80008280 - 0x800082d8
    19. Brought up 1 CPUs
    20. SMP: Total of 1 processors activated (6.00 BogoMIPS).
    21. CPU: All CPU(s) started in SVC mode.
    22. devtmpfs: initialized
    23. device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
    24. VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    25. clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    26. futex hash table entries: 256 (order: 2, 16384 bytes)
    27. pinctrl core: initialized pinctrl subsystem
    28. NET: Registered protocol family 16
    29. DMA: preallocated 256 KiB pool for atomic coherent allocations
    30. cpuidle: using governor ladder
    31. cpuidle: using governor menu
    32. hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    33. hw-breakpoint: maximum watchpoint size is 8 bytes.
    34. imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
    35. imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
    36. mxs-dma 1804000.dma-apbh: initialized
    37. SCSI subsystem initialized
    38. usbcore: registered new interface driver usbfs
    39. usbcore: registered new interface driver hub
    40. usbcore: registered new device driver usb
    41. Linux video capture interface: v2.00
    42. pps_core: LinuxPPS API ver. 1 registered
    43. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    44. PTP clock support registered
    45. Advanced Linux Sound Architecture Driver Initialized.
    46. Switched to clocksource mxc_timer1
    47. NET: Registered protocol family 2
    48. TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    49. TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    50. TCP: Hash tables configured (established 4096 bind 4096)
    51. UDP hash table entries: 256 (order: 1, 8192 bytes)
    52. UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    53. NET: Registered protocol family 1
    54. RPC: Registered named UNIX socket transport module.
    55. RPC: Registered udp transport module.
    56. RPC: Registered tcp transport module.
    57. RPC: Registered tcp NFSv4.1 backchannel transport module.
    58. Bus freq driver module loaded
    59. VFS: Disk quotas dquot_6.6.0
    60. VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    61. squashfs: version 4.0 (2009/01/31) Phillip Lougher
    62. NFS: Registering the id_resolver key type
    63. Key type id_resolver registered
    64. Key type id_legacy registered
    65. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    66. fuse init (API version 7.23)
    67. io scheduler noop registered
    68. io scheduler deadline registered
    69. io scheduler cfq registered (default)
    70. imx-weim 21b8000.weim: Driver registered.
    71. backlight supply power not found, using dummy regulator
    72. 21c8000.lcdif supply lcd not found, using dummy regulator
    73. mxsfb 21c8000.lcdif: failed to find mxc display driver
    74. Console: switching to colour frame buffer device 60x34
    75. mxsfb 21c8000.lcdif: initialized
    76. imx-sdma 20ec000.sdma: no event needs to be remapped
    77. imx-sdma 20ec000.sdma: loaded firmware 3.3
    78. imx-sdma 20ec000.sdma: initialized
    79. 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
    80. console [ttymxc0] enabled
    81. [drm] Initialized drm 1.1.0 20060810
    82. [drm] Initialized vivante 1.0.0 20120216 on minor 0
    83. brd: module loaded
    84. loop: module loaded
    85. nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    86. nand: Micron MT29F2G08ABAEAWP
    87. nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    88. gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
    89. Bad block table not found for chip 0
    90. Bad block table not found for chip 0
    91. Scanning device for bad blocks
    92. Bad block table written to 0x00000ffe0000, version 0x01
    93. Bad block table written to 0x00000ffc0000, version 0x01
    94. 7 cmdlinepart partitions found on MTD device gpmi-nand
    95. Creating 7 MTD partitions on "gpmi-nand":
    96. 0x000000000000-0x000000500000 : "bootloader"
    97. 0x000000500000-0x000000600000 : "env"
    98. 0x000000600000-0x000000700000 : "safe"
    99. 0x000000700000-0x000001700000 : "linux"
    100. 0x000001700000-0x000003700000 : "recovery"
    101. 0x000003700000-0x00000cd00000 : "rootfs"
    102. 0x00000cd00000-0x000010000000 : "data"
    103. gpmi-nand 1806000.gpmi-nand: driver registered.
    104. CAN device driver interface
    105. 20b4000.ethernet supply phy not found, using dummy regulator
    106. pps pps0: new PPS source ptp0
    107. fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
    108. fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 32:53:21:38:ce:8f
    109. libphy: fec_enet_mii_bus: probed
    110. fec 20b4000.ethernet eth0: registered PHC device 0
    111. 2188000.ethernet supply phy not found, using dummy regulator
    112. pps pps1: new PPS source ptp1
    113. fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
    114. fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 52:dc:43:d7:f3:48
    115. fec 2188000.ethernet eth1: registered PHC device 1
    116. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    117. ehci-mxc: Freescale On-Chip EHCI Host driver
    118. usbcore: registered new interface driver uas
    119. usbcore: registered new interface driver usb-storage
    120. usbcore: registered new interface driver usb_ehset_test
    121. 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
    122. 2184000.usb supply vbus not found, using dummy regulator
    123. 2184200.usb supply vbus not found, using dummy regulator
    124. ci_hdrc ci_hdrc.1: EHCI Host Controller
    125. ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
    126. ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
    127. hub 1-0:1.0: USB hub found
    128. hub 1-0:1.0: 1 port detected
    129. mousedev: PS/2 mouse device common for all mice
    130. input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
    131. input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1
    132. snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
    133. i2c /dev entries driver
    134. pxp-v4l2 pxp_v4l2: initialized
    135. sdhci: Secure Digital Host Controller Interface driver
    136. sdhci: Copyright(c) Pierre Ossman
    137. sdhci-pltfm: SDHCI platform and OF driver helper
    138. /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
    139. sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
    140. sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
    141. mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
    142. usbcore: registered new interface driver usbhid
    143. usbhid: USB HID core driver
    144. fsl-asrc 2034000.asrc: driver registered
    145. NET: Registered protocol family 26
    146. NET: Registered protocol family 10
    147. sit: IPv6 over IPv4 tunneling driver
    148. NET: Registered protocol family 17
    149. bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    150. can: controller area network core (rev 20120528 abi 9)
    151. NET: Registered protocol family 29
    152. can: raw protocol (rev 20120528)
    153. can: broadcast manager protocol (rev 20120528 t)
    154. can: netlink gateway (rev 20130117) max_hops=1
    155. 8021q: 802.1Q VLAN Support v1.8
    156. Key type dns_resolver registered
    157. ubi0: attaching mtd5
    158. usb 1-1: new high-speed USB device number 2 using ci_hdrc
    159. random: nonblocking pool is initialized
    160. hub 1-1:1.0: USB hub found
    161. hub 1-1:1.0: 4 ports detected
    162. ubi0: scanning is finished
    163. ubi0: attached mtd5 (name "rootfs", size 150 MiB)
    164. ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    165. ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    166. ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    167. ubi0: good PEBs: 1200, bad PEBs: 0, corrupted PEBs: 0
    168. ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    169. ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
    170. ubi0: available PEBs: 0, total reserved PEBs: 1200, PEBs reserved for bad PEB handling: 40
    171. ubi0: background thread "ubi_bgt0d" started, PID 82
    172. dhd_module_init in
    173. snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
    174. VSD_3V3: disabling
    175. ALSA device list:
    176.   No soundcards found.
    177. UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 83
    178. UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    179. UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    180. UBIFS (ubi0:0): FS size: 145387520 bytes (138 MiB, 1145 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    181. UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    182. UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 94272A2F-B86C-43C7-BACE-AB8BB13933CB, small LPT model
    183. VFS: Mounted root (ubifs filesystem) on device 0:15.
    184. devtmpfs: mounted
    185. Freeing unused kernel memory: 280K (809bc000 - 80a02000)
    186. INIT: version 2.88 booting
    187. Starting udev
    188. udevd[106]: starting version 3.2
    189. udevd[107]: starting eudev-3.2
    190. ALSA: Restoring mixer settings...
    191. Sat Apr 21 06:53:40 UTC 2018
    192. /usr/sbin/alsactl: load_state:1735: No soundcards found...
    193. INIT: Entering runlevel: 5
    194. Configuring network interfaces... udhcpc (v1.24.1) started
    195. Sending discover...
    196. Sending discover...
    197. Sending discover...
    198. No lease, forking to background
    199. done.
    200. Starting system message bus: dbus.
    201. Starting Dropbear SSH server: Generating key, this may take a while...
    202. Public key portion is:
    203. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdUDJgSk/kMwBssWOR5GHLNhnbE62cA3zck+n/dK/81Be3iUpZvQxejk+KX/6lfYOmaxnSe/NbExnbIoYq0+LmCYE45RReCpeT6zv/Qe1rFwdTJEZgGZ6wuDPXMGik+D+RgUNNoTk2aM8zl3aMTh1NPFhH7f2H6+V2e74e68TVyngzwtG+fgsXqUBm8mbLWLklLf/5U7HNleO3/wg5xz45qL+hss6incIlLdXmex+GDACwxeM4HCj8lNywW0lzcbSHY00I+u/yR97RgpBZx3AiUv25x8PGtK683ZTl35WXKfiKdT+mmTzdSN3yDbOKI/cvv0/cuI9VQeBYNEM3R72X root@i2c6ulxbn
    204. Fingerprint: md5 c0:e0:a5:01:c9:26:e8:a4:a3:e6:31:ba:5b:f1:b4:8c
    205. dropbear.
    206. Starting syslogd/klogd: done
    207. Starting vsftpd server: done

    208. i2SOM Yocto 2.2-r0 i2c6ulxbn /dev/ttymxc0

    209. i2c6ulxbn login:
    复制代码

    从启动信息上看,官方还是做了一些分区划分,具体用法还是看开发者了。文件系统是Yocto构建的,这个可以说是比较清新了,其它家的板子大都是buildroot,有些厂家还不提供buildroot的源码。SSH,DHCP都已经有了,可以更方便的折腾了。


    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

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



    手机版|小黑屋|与非网

    GMT+8, 2024-4-27 02:14 , Processed in 0.117049 second(s), 17 queries , MemCache On.

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

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.