SD卡啟動,文件系統掛載情況:# mount
/dev/root on / type ext4 (rw,noatime,data=ordered)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
#
# cat /proc/mtd
dev: size erasesize name
mtd0: 00500000 00020000 "boot"
mtd1: 00a00000 00020000 "kernel"
mtd2: 00100000 00020000 "dtb"
mtd3: 0f000000 00020000 "rootfs"
NAND啟動,文件系統掛載情況:# mount
ubi0:rootfs on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=89164k,nr_inodes=22291,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)
#
# cat /proc/mtd
dev: size erasesize name
mtd0: 00500000 00020000 "boot"
mtd1: 00a00000 00020000 "kernel"
mtd2: 00100000 00020000 "dtb"
mtd3: 0f000000 00020000 "rootfs"
首先是Uboot啟動過程:U-Boot 2016.03-mys-imx6ulx+gca7b81f (Apr 27 2017 - 07:55:51 +0800)CPU: Freescale i.MX6ULL rev1.0 528 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 39C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environmentDisplay: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: Board Net Initialization Failed
No ethernet found.
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc0 is current device
reading boot.scr
423 bytes read in 10 ms (41 KiB/s)
Running bootscript from mmc ...
## Executing script at 80800000
reading zImage
6789824 bytes read in 302 ms (21.4 MiB/s)
reading mys-imx6ull-14x14-evk-gpmi-weim.dtb
36951 bytes read in 20 ms (1.8 MiB/s)
Kernel image @ 0x83000000 [ 0x000000 - 0x679ac0 ]
## Flattened Device Tree blob at 84000000Booting using the fdt blob at 0x84000000Using Device Tree in place at 84000000, end 8400c056
Starting kernel ..
最小系統加載啟動完畢后,運行升級腳本
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 432K (80b54000 - 80bc0000)
INIT: version 2.88 booting
Starting udev
udevd[114]: starting version 3.1.5
random: udevd urandom read with 32 bits of entropy available
EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
bootlogd: cannot allocate pseudo tty: No such file or directory
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1735: No soundcards found...
INIT: Entering runlevel: 5
Starting system message bus: dbus.System update start ...
prepare files are okay