上次已经开箱了,这次开机后看看有什么好玩的东东。开发板是用DC 5V来供电,但没有配电源适配器,作为开发板小达人,手里电源一大堆的,电源买多了也没什么用。上电前要确认BOOT Mode跳冒和Boot Dev拨码是否配置正确,具体可以参考官方的WiKi文档。从文档看官方是做了两个版本的,现在硬件更新到V2.1了。然后直接上电就可以了。下面是uboot启动信息,版本还是比较新的,
- U-Boot 2016.03+ga768050 (Apr 15 2018 - 14:06:05 +0800)
- CPU: Freescale i.MX6ULL rev1.0 528 MHz (running at 396 MHz)
- CPU: Commercial temperature grade (0C to 95C) at 37C
- Reset cause: POR
- SOM: i2S-6ULY2 14x14
- Board: i2C-6ULX-B
- Boot device: NAND
- DRAM: 256 MiB
- NAND: 256 MiB
- MMC: FSL_SDHC: 0
- *** Warning - bad CRC, using default environment
- In: serial
- Out: serial
- Err: serial
- SOM: i2S-6ULY2 14x14
- Board: i2C-6ULX-B
- Boot device: NAND
- Net: Board Net Initialization Failed
- No ethernet found.
- Normal Boot
复制代码
Linux启动比较长,节选部分就好了。
- RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
- NR_IRQS:16 nr_irqs:16 16
- mxc_clocksource_init 3000000
- Switching to timer-based delay loop, resolution 333ns
- sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
- clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
- Console: colour dummy device 80x30
- Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
- pid_max: default: 32768 minimum: 301
- Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- Initializing cgroup subsys memory
- Initializing cgroup subsys devices
- Initializing cgroup subsys freezer
- CPU: Testing write buffer coherency: ok
- /cpus/cpu@0 missing clock-frequency property
- CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
- Setting up static identity map for 0x80008280 - 0x800082d8
- Brought up 1 CPUs
- SMP: Total of 1 processors activated (6.00 BogoMIPS).
- CPU: All CPU(s) started in SVC mode.
- devtmpfs: initialized
- device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
- VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
- clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- futex hash table entries: 256 (order: 2, 16384 bytes)
- pinctrl core: initialized pinctrl subsystem
- NET: Registered protocol family 16
- DMA: preallocated 256 KiB pool for atomic coherent allocations
- cpuidle: using governor ladder
- cpuidle: using governor menu
- hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
- hw-breakpoint: maximum watchpoint size is 8 bytes.
- imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
- imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
- mxs-dma 1804000.dma-apbh: initialized
- SCSI subsystem initialized
- u***core: registered new interface driver u***fs
- u***core: registered new interface driver hub
- u***core: registered new device driver u***
- Linux video capture interface: v2.00
- pps_core: LinuxPPS API ver. 1 registered
- pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
- PTP clock support registered
- Advanced Linux Sound Architecture Driver Initialized.
- Switched to clocksource mxc_timer1
- NET: Registered protocol family 2
- TCP established hash table entries: 4096 (order: 2, 16384 bytes)
- TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
- TCP: Hash tables configured (established 4096 bind 4096)
- UDP hash table entries: 256 (order: 1, 8192 bytes)
- UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- NET: Registered protocol family 1
- RPC: Registered named UNIX socket transport module.
- RPC: Registered udp transport module.
- RPC: Registered tcp transport module.
- RPC: Registered tcp NFSv4.1 backchannel transport module.
- Bus freq driver module loaded
- VFS: Disk quotas dquot_6.6.0
- VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
- squashfs: version 4.0 (2009/01/31) Phillip Lougher
- NFS: Registering the id_resolver key type
- Key type id_resolver registered
- Key type id_legacy registered
- jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
- fuse init (API version 7.23)
- io scheduler noop registered
- io scheduler deadline registered
- io scheduler cfq registered (default)
- imx-weim 21b8000.weim: Driver registered.
- backlight supply power not found, using dummy regulator
- 21c8000.lcdif supply lcd not found, using dummy regulator
- mxsfb 21c8000.lcdif: failed to find mxc display driver
- Console: switching to colour frame buffer device 60x34
- mxsfb 21c8000.lcdif: initialized
- imx-sdma 20ec000.sdma: no event needs to be remapped
- imx-sdma 20ec000.sdma: loaded firmware 3.3
- imx-sdma 20ec000.sdma: initialized
- 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
- console [ttymxc0] enabled
- [drm] Initialized drm 1.1.0 20060810
- [drm] Initialized vivante 1.0.0 20120216 on minor 0
- brd: module loaded
- loop: module loaded
- nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
- nand: Micron MT29F2G08ABAEAWP
- nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
- gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
- Bad block table not found for chip 0
- Bad block table not found for chip 0
- Scanning device for bad blocks
- Bad block table written to 0x00000ffe0000, version 0x01
- Bad block table written to 0x00000ffc0000, version 0x01
- 7 cmdlinepart partitions found on MTD device gpmi-nand
- Creating 7 MTD partitions on "gpmi-nand":
- 0x000000000000-0x000000500000 : "bootloader"
- 0x000000500000-0x000000600000 : "env"
- 0x000000600000-0x000000700000 : "safe"
- 0x000000700000-0x000001700000 : "linux"
- 0x000001700000-0x000003700000 : "recovery"
- 0x000003700000-0x00000cd00000 : "rootfs"
- 0x00000cd00000-0x000010000000 : "data"
- gpmi-nand 1806000.gpmi-nand: driver registered.
- CAN device driver interface
- 20b4000.ethernet supply phy not found, using dummy regulator
- pps pps0: new PPS source ptp0
- fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
- fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 32:53:21:38:ce:8f
- libphy: fec_enet_mii_bus: probed
- fec 20b4000.ethernet eth0: registered PHC device 0
- 2188000.ethernet supply phy not found, using dummy regulator
- pps pps1: new PPS source ptp1
- fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
- fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 52:dc:43:d7:f3:48
- fec 2188000.ethernet eth1: registered PHC device 1
- ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- ehci-mxc: Freescale On-Chip EHCI Host driver
- u***core: registered new interface driver uas
- u***core: registered new interface driver u***-storage
- u***core: registered new interface driver u***_ehset_test
- 2184800.u***misc supply vbus-wakeup not found, using dummy regulator
- 2184000.u*** supply vbus not found, using dummy regulator
- 2184200.u*** supply vbus not found, using dummy regulator
- ci_hdrc ci_hdrc.1: EHCI Host Controller
- ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
- ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
- hub 1-0:1.0: USB hub found
- hub 1-0:1.0: 1 port detected
- mousedev: PS/2 mouse device common for all mice
- input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
- input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1
- snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
- i2c /dev entries driver
- pxp-v4l2 pxp_v4l2: initialized
- sdhci: Secure Digital Host Controller Interface driver
- sdhci: Copyright(c) Pierre Ossman
- sdhci-pltfm: SDHCI platform and OF driver helper
- /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
- sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
- sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
- mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
- u***core: registered new interface driver u***hid
- u***hid: USB HID core driver
- fsl-asrc 2034000.asrc: driver registered
- NET: Registered protocol family 26
- NET: Registered protocol family 10
- sit: IPv6 over IPv4 tunneling driver
- NET: Registered protocol family 17
- bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
- can: controller area network core (rev 20120528 abi 9)
- NET: Registered protocol family 29
- can: raw protocol (rev 20120528)
- can: broadcast manager protocol (rev 20120528 t)
- can: netlink gateway (rev 20130117) max_hops=1
- 8021q: 802.1Q VLAN Support v1.8
- Key type dns_resolver registered
- ubi0: attaching mtd5
- u*** 1-1: new high-speed USB device number 2 using ci_hdrc
- random: nonblocking pool is initialized
- hub 1-1:1.0: USB hub found
- hub 1-1:1.0: 4 ports detected
- ubi0: scanning is finished
- ubi0: attached mtd5 (name "rootfs", size 150 MiB)
- ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
- ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
- ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
- ubi0: good PEBs: 1200, bad PEBs: 0, corrupted PEBs: 0
- ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
- ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
- ubi0: available PEBs: 0, total reserved PEBs: 1200, PEBs reserved for bad PEB handling: 40
- ubi0: background thread "ubi_bgt0d" started, PID 82
- dhd_module_init in
- snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
- VSD_3V3: disabling
- ALSA device list:
- No soundcards found.
- UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 83
- UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
- UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
- UBIFS (ubi0:0): FS size: 145387520 bytes (138 MiB, 1145 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
- UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
- UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 94272A2F-B86C-43C7-BACE-AB8BB13933CB, small LPT model
- VFS: Mounted root (ubifs filesystem) on device 0:15.
- devtmpfs: mounted
- Freeing unused kernel memory: 280K (809bc000 - 80a02000)
- INIT: version 2.88 booting
- Starting udev
- udevd[106]: starting version 3.2
- udevd[107]: starting eudev-3.2
- ALSA: Restoring mixer settings...
- Sat Apr 21 06:53:40 UTC 2018
- /usr/***in/alsactl: load_state:1735: No soundcards found...
- INIT: Entering runlevel: 5
- Configuring network interfaces... udhcpc (v1.24.1) started
- Sending discover...
- Sending discover...
- Sending discover...
- No lease, forking to background
- done.
- Starting system message bus: dbus.
- Starting Dropbear SSH server: Generating key, this may take a while...
- Public key portion is:
- 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
- Fingerprint: md5 c0:e0:a5:01:c9:26:e8:a4:a3:e6:31:ba:5b:f1:b4:8c
- dropbear.
- Starting syslogd/klogd: done
- Starting vsftpd server: done
- i2SOM Yocto 2.2-r0 i2c6ulxbn /dev/ttymxc0
- i2c6ulxbn login:
复制代码
从启动信息上看,官方还是做了一些分区划分,具体用法还是看开发者了。文件系统是Yocto构建的,这个可以说是比较清新了,其它家的板子大都是buildroot,有些厂家还不提供buildroot的源码。SSH,DHCP都已经有了,可以更方便的折腾了。
|