i.MX 6ULL 驱动开发 一:搭建开发环境

家电修理 2023-07-16 19:16www.caominkang.com电器维修

一、搭建编译环境 1、工具 工具版本开发板正点原子 imx6ull 开发板gg-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihfubootuboot-imx-2016.03-2.1.0linuxlinux-imx-4.1.15 2、搭建 tftp 服务器

ubuntu20.04 搭建tftp服务器_lqonlylove的博客-CSDN博客_ubuntu配置tftp服务器

3、搭建 nfs 服务器

ubuntu20.04 搭建NFS服务器_lqonlylove的博客-CSDN博客

二、配置编译工具链 1、版本选择 2、解压
sudo tar -vxf g-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz

解压后名字太长,更改 g 文件夹名

onlylove@ubuntu:~/my/g$ ls
g-linaro-4.9.4  g-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz
onlylove@ubuntu:~/my/g$
3、配置

打开/etc/profile 以后,在面输入如下所示内容

export PATH=$PATH:/home/onlylove/my/g/g-linaro-4.9.4/bin

配置完后,重启主机。

4、验证
onlylove@ubuntu:~$ ls
Desk  Documents  Donloads  Music  my  Pictures  Public  Templates  Videos
onlylove@ubuntu:~$ arm-linux-gnueabihf-g -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-g
COLLECT_LTO_WRAPPER=/home/onlylove/my/g/g-linaro-4.9.4/bin/../libexec/g/arm-linux-gnueabihf/4.9.4/lto-rapper
Target: arm-linux-gnueabihf
Configured ith: /home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/snapshots/g-linaro-4.9-2017.01/configure SHELL=/bin/bash --ith-mpc=/home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknon-linux-gnu --ith-mpfr=/home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknon-linux-gnu --ith-gmp=/home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknon-linux-gnu --ith-gnu-as --ith-gnu-ld --disable-libmudflap --enable-lto --enable-objc-gc --enable-shared --ithout-included-gettext --enable-nls --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --ith-cloog=no --ith-ppl=no --ith-isl=no --disable-multilib --ith-float=hard --ith-mode=thumb --ith-tune=cortex-a9 --ith-arch=armv7-a --ith-fpu=vfpv3-d16 --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --ith-build-sysroot=/home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --ith-sysroot=/home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknon-linux-gnu/arm-linux-gnueabihf/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknon-linux-gnu --host=x86_64-unknon-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcg-buildslave/orkspace/tcg-make-release/label/docker-trusty-amd64-tcg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknon-linux-gnu
Thread model: posix
g version 4.9.4 (Linaro GCC 4.9-2017.01) 
onlylove@ubuntu:~$
三、uboot 1、版本选择

因使用正点原子开发板,选择正点原子提供uboot版本。

2、解压
tar -xvf uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek.tar.bz2
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ pd
/home/onlylove/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls 
api  disk   imxdonload.c  load.imx           tools     u-boot.map
arch    doc    imxdonload.h  MAINTAINERS      post    u-boot    u-boot-nodtb.bin
board   drivers   include  MAKEALL       README     u-boot.bin   u-boot.srec
cmd  dts    Kbuild   Makefile      scripts    u-boot.cfg   u-boot.sym
mon  examples  Kconfig  mx6ull_14x14_evk_emmc.sh  snapshot.mit  uboot.code-orkspace
config.mk  fs     lib   mx6ull_alientek_emmc.sh   System.map    u-boot.imx
configs imxdonload  Licenses    mx6ull_alientek_nand.sh   test    u-boot.lds
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$
3、编译脚本
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
api  disk   imxdonload.c  load.imx           tools     u-boot.map
arch    doc    imxdonload.h  MAINTAINERS      post    u-boot    u-boot-nodtb.bin
board   drivers   include  MAKEALL       README     u-boot.bin   u-boot.srec
cmd  dts    Kbuild   Makefile      scripts    u-boot.cfg   u-boot.sym
mon  examples  Kconfig  mx6ull_14x14_evk_emmc.sh  snapshot.mit  uboot.code-orkspace
config.mk  fs     lib   mx6ull_alientek_emmc.sh   System.map    u-boot.imx
configs imxdonload  Licenses    mx6ull_alientek_nand.sh   test    u-boot.lds
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ cat mx6ull_alientek_emmc.sh 
#!/bin/bash
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6ull_alientek_emmc_defconfig
make V=0  ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$
4、编译
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
api  disk   imxdonload.c  load.imx           tools     u-boot.map
arch    doc    imxdonload.h  MAINTAINERS      post    u-boot    u-boot-nodtb.bin
board   drivers   include  MAKEALL       README     u-boot.bin   u-boot.srec
cmd  dts    Kbuild   Makefile      scripts    u-boot.cfg   u-boot.sym
mon  examples  Kconfig  mx6ull_14x14_evk_emmc.sh  snapshot.mit  uboot.code-orkspace
config.mk  fs     lib   mx6ull_alientek_emmc.sh   System.map    u-boot.imx
configs imxdonload  Licenses    mx6ull_alientek_nand.sh   test    u-boot.lds
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ./mx6ull_alientek_emmc.sh
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
api mon  doc    fs    include  Licenses  Makefile         snapshot.mit
arch   config.mk  drivers   imxdonload Kbuild   load.imx  mx6ull_14x14_evk_emmc.sh  post  test
board  configs dts    imxdonload.c  Kconfig  MAINTAINERS  mx6ull_alientek_emmc.sh   README   tools
cmd disk    examples  imxdonload.h  lib   MAKEALL   mx6ull_alientek_nand.sh   scripts  uboot.code-orkspace
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ 
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ 
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ 
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ./mx6ull_alientek_emmc.sh 
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config include/generated
  CLEAN   .config include/config.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2534:
scripts/kconfig/confdata.c: In function ‘conf_rite’:
scripts/kconfig/confdata.c:771:19: arning: ‘%s’ directive riting likely 7 or more bytes into a region of size beteen 1 and 4097 [-Wformat-overflo=]
  771 |  sprintf(nename, "%s%s", dirname, basename);
   |       ^~~~~~
scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes
In file included from /usr/include/stdio.h:867,
     from scripts/kconfig/zconf.tab.c:84:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
   |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |    __bos (__s), __fmt, __va_arg_pack ());
   |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from scripts/kconfig/zconf.tab.c:2534:
scripts/kconfig/confdata.c:774:20: arning: ‘.tmpconfig.’ directive riting 11 bytes into a region of size beteen 1 and 4097 [-Wformat-overflo=]
  774 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
   |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
     from scripts/kconfig/zconf.tab.c:84:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output beteen 13 and 4119 bytes into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
   |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |    __bos (__s), __fmt, __va_arg_pack ());
   |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  HOSTLD  scripts/kconfig/conf
#
# configuration ritten to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK  include/config.h
  UPD  include/config.h
  GEN  include/autoconf.mk
  GEN  include/autoconf.mk.dep
  CHK  include/config/uboot.release
  CHK  include/generated/timestamp_autogenerated.h
  UPD  include/generated/timestamp_autogenerated.h
  UPD  include/config/uboot.release
  CFG  u-boot.cfg
  CHK  include/generated/version_autogenerated.h
  UPD  include/generated/version_autogenerated.h
  CC   lib/asm-offsets.s
  CC   arch/arm/lib/asm-offsets.s
  CHK  include/generated/generic-asm-offsets.h
  CHK  include/generated/asm-offsets.h
  UPD  include/generated/generic-asm-offsets.h
  UPD  include/generated/asm-offsets.h
  HOSTCC  tools/bmp_logo
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/img2srec
  LDS  u-boot.lds
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP tools/lib/crc32.c
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  WRAP tools/mon/bootm.c
  HOSTCC  tools/default_image.o
  WRAP tools/lib/fdtdec_mon.c
  WRAP tools/lib/fdtdec.c
  HOSTCC  tools/fit_mon.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-mon.o
  WRAP tools/mon/image-fit.c
  HOSTCC  tools/image-host.o
  WRAP tools/mon/image.c
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/kbimage.o
  WRAP tools/lib/md5.c
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  WRAP tools/lib/rc4.c
  HOSTCC  tools/rkmon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  WRAP tools/lib/sha1.c
  WRAP tools/lib/sha256.c
  WRAP tools/mon/hash.c
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  WRAP tools/lib/libfdt/fdt.c
  WRAP tools/lib/libfdt/fdt_ro.c
  WRAP tools/lib/libfdt/fdt_r.c
  WRAP tools/lib/libfdt/fdt_strerror.c
  WRAP tools/lib/libfdt/fdt_ip.c
  WRAP tools/lib/libfdt/fdt_region.c
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/proftool
  HOSTCC  tools/fdtgrep.o
tools/bmp_logo --gen-info ./tools/logos/freescale.bmp > include/bmp_logo.h
tools/bmp_logo --gen-data ./tools/logos/freescale.bmp > include/bmp_logo_data.h
  HOSTCC  tools/lib/crc32.o
  HOSTCC  tools/mon/bootm.o
  HOSTCC  tools/lib/fdtdec_mon.o
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/mon/image-fit.o
  HOSTCC  tools/mon/image.o
  HOSTCC  tools/lib/md5.o
  HOSTCC  tools/lib/rc4.o
  HOSTCC  tools/lib/sha1.o
  HOSTCC  tools/lib/sha256.o
  HOSTCC  tools/mon/hash.o
  HOSTCC  tools/lib/libfdt/fdt.o
  HOSTCC  tools/lib/libfdt/fdt_ro.o
  HOSTCC  tools/lib/libfdt/fdt_r.o
  HOSTCC  tools/lib/libfdt/fdt_strerror.o
  HOSTCC  tools/lib/libfdt/fdt_ip.o
  HOSTCC  tools/lib/libfdt/fdt_region.o
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/fdtgrep
  LD   arch/arm/cpu/built-in.o
  CC   arch/arm/cpu/armv7/cache_v7.o
  CC   arch/arm/imx-mon/iomux-v3.o
  CC   board/freescale/mon/mmc.o
  AS   arch/arm/lib/vectors.o
  AS   arch/arm/lib/crt0.o
  AS   arch/arm/lib/relocate.o
  LD   board/freescale/mon/built-in.o
  CC   arch/arm/imx-mon/cpu.o
  CC   arch/arm/lib/bootm-fdt.o
  CC   board/freescale/mx6ull_alientek_emmc/mx6ull_alientek_emmc.o
  CC   arch/arm/cpu/armv7/cpu.o
  CC   arch/arm/lib/bootm.o
  CC   arch/arm/cpu/armv7/cp15.o
  CC   arch/arm/imx-mon/speed.o
board/freescale/mx6ull_alientek_emmc/mx6ull_alientek_emmc.c:127:22: arning: ‘seq’ defined but not used [-Wunused-variable]
 static enum qn_level seq[3][2] = {
       ^
board/freescale/mx6ull_alientek_emmc/mx6ull_alientek_emmc.c:131:21: arning: ‘qn_output’ defined but not used [-Wunused-variable]
 static enum qn_func qn_output[8] = {
      ^
  CC   arch/arm/cpu/armv7/syslib.o
  CC   arch/arm/lib/sections.o
  CC   arch/arm/imx-mon/i2c-mxv7.o
  CC   arch/arm/lib/stack.o
  LD   board/freescale/mx6ull_alientek_emmc/built-in.o
  AS   arch/arm/cpu/armv7/lolevel_init.o
  CC   arch/arm/cpu/armv7/mx6/soc.o
  CC   arch/arm/lib/interrupts.o
  CC   arch/arm/imx-mon/misc.o
  CC   cmd/boot.o
  CC   arch/arm/imx-mon/cache.o
  CC   arch/arm/lib/reset.o
  CC   cmd/bootm.o
  CC   arch/arm/imx-mon/init.o
  CC   arch/arm/lib/cache.o
  CC   arch/arm/cpu/armv7/mx6/clock.o
  CC   arch/arm/lib/cache-cp15.o
  CC   cmd/help.o
  CC   arch/arm/imx-mon/video.o
  CC   cmd/version.o
  CC   arch/arm/imx-mon/syscounter.o
  AR   arch/arm/lib/lib.a
  CC   arch/arm/lib/eabi_pat.o
  CC   cmd/source.o
  LD   arch/arm/lib/built-in.o
  CC   arch/arm/imx-mon/cmd_bmode.o
  CC   cmd/bdinfo.o
  CC   mon/init/board_init.o
  LD   arch/arm/imx-mon/built-in.o
  CC   cmd/bmp.o
  CC   disk/part.o
  LD   arch/arm/cpu/armv7/mx6/built-in.o
  AS   arch/arm/cpu/armv7/start.o
  LD   mon/init/built-in.o
  CC   mon/main.o
  LD   arch/arm/cpu/armv7/built-in.o
  LD   drivers/adc/built-in.o
  CC   drivers/block/disk-uclass.o
  CC   cmd/cache.o
  CC   mon/exports.o
  LD   drivers/block/built-in.o
  CC   disk/part_dos.o
  CC   drivers/core/device.o
  CC   cmd/console.o
  CC   mon/hash.o
  CC   cmd/echo.o
  CC   mon/cli_hush.o
  LD   disk/built-in.o
  LD   drivers/dma/built-in.o
  CC   cmd/elf.o
  CC   drivers/gpio/mxc_gpio.o
  LD   drivers/gpio/built-in.o
  CC   drivers/core/lists.o
  CC   drivers/i2c/i2c_core.o
  CC   cmd/exit.o
  CC   cmd/ext4.o
  CC   drivers/core/root.o
  CC   drivers/i2c/mxc_i2c.o
  CC   cmd/ext2.o
  CC   drivers/core/uclass.o
  CC   cmd/fat.o
  CC   cmd/fdt.o
  CC   mon/autoboot.o
  LD   drivers/i2c/built-in.o
  CC   drivers/mmc/fsl_esdhc.o
  CC   drivers/core/util.o
  CC   mon/board_f.o
  CC   drivers/core/device-remove.o
  CC   drivers/mmc/mmc.o
  CC   drivers/core/dump.o
  CC   mon/board_r.o
  CC   cmd/flash.o
  LD   drivers/core/built-in.o
  CC   drivers/crypto/fsl/sec.o
  CC   cmd/fs.o
  CC   mon/board_info.o
  CC   cmd/fuse.o
  LD   drivers/crypto/fsl/built-in.o
  LD   drivers/crypto/rsa_mod_exp/built-in.o
  LD   drivers/crypto/built-in.o
  LD   drivers/dfu/built-in.o
  CC   mon/bootm.o
  LD   drivers/hmon/built-in.o
  CC   drivers/input/input.o
  CC   cmd/gpio.o
  CC   cmd/i2c.o
  CC   mon/bootm_os.o
  LD   drivers/input/built-in.o
  LD   drivers/memory/built-in.o
  CC   drivers/misc/mxc_ocotp.o
  CC   drivers/mmc/mmc_rite.o
  CC   mon/env_attr.o
  LD   drivers/mmc/built-in.o
  CC   drivers/mtd/mtdcore.o
  LD   drivers/misc/built-in.o
  CC   cmd/itest.o
  CC   drivers/pcmcia/tqm8xx_pcmcia.o
  CC   mon/env_callback.o
  LD   drivers/pcmcia/built-in.o
  LD   drivers/pm/built-in.o
  CC   drivers/rtc/date.o
  CC   cmd/load.o
  CC   mon/env_flags.o
  LD   drivers/rtc/built-in.o
  LD   drivers/soc/built-in.o
  LD   drivers/sound/built-in.o
  CC   drivers/thermal/thermal-uclass.o
  CC   drivers/mtd/mtd_uboot.o
  CC   drivers/thermal/imx_thermal.o
  CC   mon/env_mmc.o
  LD   drivers/mtd/built-in.o
  LD   drivers/mtd/onenand/built-in.o
  CC   cmd/mem.o
  CC   drivers/mtd/spi/sf_probe.o
  LD   drivers/thermal/built-in.o
  LD   drivers/timer/built-in.o
  CC   mon/fdt_support.o
  LD   drivers/tpm/built-in.o
  LD   drivers/tserial/built-in.o
  CC   drivers/video/cfb_console.o
  CC   drivers/mtd/spi/spi_flash.o
  CC   cmd/mii.o
  CC   cmd/mdio.o
  CC   mon/miiphyutil.o
  CC   drivers/mtd/spi/sf_params.o
  CC   cmd/misc.o
  CC   drivers/mtd/spi/sf.o
  CC   mon/usb.o
  CC   cmd/mmc.o
  LD   drivers/mtd/spi/built-in.o
  CC   cmd/.o
  CC   drivers/video/mxsfb.o
  CC   cmd/pcmcia.o
  CC   drivers/video/videomodes.o
  CC   cmd/sf.o
  CC   cmd/setexpr.o
  CC   mon/usb_hub.o
  CC   cmd/test.o
  LD   drivers/video/bridge/built-in.o
  LD   drivers/video/built-in.o
  CC   drivers/atchdog/imx_atchdog.o
  CC   cmd/usb.o
  LD   drivers/atchdog/built-in.o
  LD   drivers/built-in.o
  CC   cmd/ximg.o
  CC   drivers//fec_mxc.o
  CC   mon/usb_storage.o
  CC   cmd/nvedit.o
  CC   cmd/disk.o
  LD   drivers//built-in.o
  CC   drivers//phy/phy.o
  CC   mon/flash.o
  LD   cmd/built-in.o
  CC   mon/splash.o
  CC   drivers//phy/smsc.o
  CC   mon/env_mon.o
  LD   drivers/pci/built-in.o
  CC   drivers/poer/poer_core.o
  CC   drivers/poer/poer_i2c.o
  CC   mon/bouncebuf.o
  LD   drivers//phy/built-in.o
  LD   drivers/poer/built-in.o
  LD   drivers/poer/battery/built-in.o
  CC   mon/console.o
  CC   mon/dlmalloc.o
  LD   drivers/poer/fuel_gauge/built-in.o
  LD   drivers/poer/mfd/built-in.o
  CC   mon/malloc_simple.o
  CC   drivers/poer/pmic/pmic_pfuze3000.o
  LD   drivers/poer/pmic/built-in.o
  LD   drivers/poer/regulator/built-in.o
  CC   drivers/serial/serial.o
  CC   mon/image.o
  CC   mon/image-fdt.o
  CC   drivers/serial/serial_mxc.o
  CC   mon/memsize.o
  CC   mon/stdio.o
  CC   mon/cli_simple.o
  CC   mon/cli.o
  LD   drivers/serial/built-in.o
  CC   drivers/spi/spi.o
  CC   mon/cli_readline.o
  CC   mon/mand.o
  CC   mon/s_record.o
  CC   drivers/spi/fsl_qspi.o
  CC   mon/xyzModem.o
  LD   drivers/spi/built-in.o
  LD   drivers/usb/dc3/built-in.o
  LD   drivers/usb/emul/built-in.o
  LD   drivers/usb/gadget/built-in.o
  CC   drivers/usb/eth/usb_ether.o
  LD   drivers/usb/gadget/udc/built-in.o
  CC   drivers/usb/host/ehci-hcd.o
  LD   mon/built-in.o
  CC   drivers/usb/eth/asix.o
  LD   drivers/usb/musb/built-in.o
  LD   drivers/usb/phy/built-in.o
  LD   drivers/usb/ulpi/built-in.o
  LD   drivers/usb/musb-ne/built-in.o
  CC   fs/fs.o
  CC   lib/libfdt/fdt.o
  LD   drivers/usb/eth/built-in.o
  CC   /checksum.o
  CC   lib/libfdt/fdt_ro.o
  CC   fs/ext4/ext4fs.o
  CC   /arp.o
  CC   drivers/usb/host/ehci-mx6.o
  CC   /bootp.o
  CC   fs/ext4/ext4_mon.o
  LD   drivers/usb/host/built-in.o
  LD   test/built-in.o
  CC   test/dm/cmd_dm.o
  CC   lib/libfdt/fdt_r.o
  LD   test/dm/built-in.o
  CC   lib/libfdt/fdt_strerror.o
  CC   /eth_legacy.o
  CC   lib/libfdt/fdt_s.o
  CC   lib/libfdt/fdt_ip.o
  CC   lib/libfdt/fdt_empty_tree.o
  CC   /eth_mon.o
  CC   lib/libfdt/fdt_addresses.o
  CC   lib/libfdt/fdt_region.o
  CC   /.o
  CC   /nfs.o
  LD   lib/libfdt/built-in.o
  CC   lib/zlib/zlib.o
  CC   /ping.o
  CC   fs/ext4/dev.o
  CC   /tftp.o
  CC   fs/ext4/ext4_rite.o
  CC   fs/ext4/ext4_journal.o
  LD   /built-in.o
  CC   fs/ext4/crc16.o
  CC   lib/crc7.o
  CC   lib/crc8.o
  CC   lib/crc16.o
  CC   lib/gunzip.o
  CC   lib/initcall.o
  CC   lib/lmb.o
  LD   fs/ext4/built-in.o
  LD   lib/zlib/built-in.o
  CC   fs/fat/fat_rite.o
  CC   lib/ldiv.o
  CC   lib/_utils.o
  CC   lib/qsort.o
  CC   lib/rc4.o
  CC   lib/strmhz.o
  CC   lib/list_sort.o
  CC   lib/hashtable.o
  CC   lib/errno.o
  CC   lib/display_options.o
  CC   lib/crc32.o
  CC   lib/ctype.o
  CC   lib/div64.o
  CC   lib/hang.o
  CC   lib/linux_pat.o
  CC   lib/linux_string.o
  CC   lib/membuff.o
  CC   lib/slre.o
  CC   lib/string.o
  CC   lib/time.o
  CC   lib/vsprintf.o
  CC   fs/fat/file.o
  CC   lib/panic.o
  CC   lib/strto.o
  LD   fs/fat/built-in.o
  LD   fs/built-in.o
  LD   lib/built-in.o
  CC   examples/standalone/stubs.o
  CC   examples/standalone/hello_orld.o
  LD   examples/standalone/libstubs.o
  LD   examples/standalone/hello_orld
  OBJCOPY examples/standalone/hello_orld.srec
  OBJCOPY examples/standalone/hello_orld.bin
  LD   u-boot
  OBJCOPY u-boot-nodtb.bin
  OBJCOPY u-boot.srec
  SYM  u-boot.sym
  COPY u-boot.bin
  CFGS board/freescale/mx6ull_alientek_emmc/imximage.cfg.cfgtmp
  MKIMAGE u-boot.imx
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
api  disk   imxdonload.c  load.imx           tools     u-boot.map
arch    doc    imxdonload.h  MAINTAINERS      post    u-boot    u-boot-nodtb.bin
board   drivers   include  MAKEALL       README     u-boot.bin   u-boot.srec
cmd  dts    Kbuild   Makefile      scripts    u-boot.cfg   u-boot.sym
mon  examples  Kconfig  mx6ull_14x14_evk_emmc.sh  snapshot.mit  uboot.code-orkspace
config.mk  fs     lib   mx6ull_alientek_emmc.sh   System.map    u-boot.imx
configs imxdonload  Licenses    mx6ull_alientek_nand.sh   test    u-boot.lds
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.1
5、将 uboot 烧录到 SD卡中
sudo dd if=u-boot.imx of=/dev/sdb bs=1k seek=1 conv=fsync
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
api  disk   imxdonload.c  load.imx           tools     u-boot.map
arch    doc    imxdonload.h  MAINTAINERS      post    u-boot    u-boot-nodtb.bin
board   drivers   include  MAKEALL       README     u-boot.bin   u-boot.srec
cmd  dts    Kbuild   Makefile      scripts    u-boot.cfg   u-boot.sym
mon  examples  Kconfig  mx6ull_14x14_evk_emmc.sh  snapshot.mit  uboot.code-orkspace
config.mk  fs     lib   mx6ull_alientek_emmc.sh   System.map    u-boot.imx
configs imxdonload  Licenses    mx6ull_alientek_nand.sh   test    u-boot.lds
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ sudo dd if=u-boot.imx of=/dev/sdb bs=1k seek=1 conv=fsync
[sudo] passord for onlylove: 
419+0 records in
419+0 records out
429056 bytes (429 kB, 419 KiB) copied, 0.0837758 s, 5.1 MB/s
onlylove@ubuntu:~/my/uboot/uboot-imx-rel_imx_4.1.15_2.1.0_ga_alientek$
6、启动 uboot
U-Boot 2016.03 (Aug 20 2022 - 00:46:14 -0700)

CPU:   Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 43C
Reset cause: POR
Board: MX6ULL ALIENTEK EMMC
I2C:   ready
DRAM:  512 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
unsupported panel ATK-LCD-7-1024x600
In: serial
Out:   serial
Err:   serial
sitch to partitions #0, OK
mmc0 is current device
Net:   FEC1
Normal Boot
Hit any key to s autoboot:  0
=> help
?    - alias for 'help'
base - print or set address offset
bdinfo  - print Board Info structure
bmode   - sd1|sd2|qspi1|normal|usb|sata|ecspi1:0|ecspi1:1|ecspi1:2|ecspi1:3|esdhc1|esdhc2|esdhc3|esdhc4 [noreset]
bmp  - manipulate BMP image data
boot - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via ork using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bootz   - boot Linux zImage image from memory
clocks  - display clocks
clrlogo - fill the boot logo area ith black
cmp  - memory pare
coninfo - print console devices and information
cp   - memory copy
crc32   - checksum calculation
dcache  - enable or disable data cache
dhcp - boot image via ork using DHCP/TFTP protocol
dm   - Driver model lo level aess
echo - echo args to console
editenv - edit environment variable
env  - environment handling mands
erase   - erase FLASH memory
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
ext4size- determine a file's size
ext4rite- create a file in the root directory
false   - do nothing, unsuessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatsize - determine a file's size
fatrite- rite file into a dos filesystem
fdt  - flattened device tree utility mands
flinfo  - print FLASH memory information
fstype  - Look up a filesystem type
fuse - Fuse sub-system
go   - start application at address 'addr'
gpio - query and control gpio pins
help - print mand description/usage
i2c  - I2C sub-system
icache  - enable or disable instruction cache
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer pare
load - load binary file from a filesystem
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls   - list files in a directory (default /)
md   - memory display
mdio - MDIO utility mands
mii  - MII utility mands
mm   - memory modify (auto-incrementing address)
mmc  - MMC sub system
mmcinfo - display MMC info
mtest   - simple RAM read/rite test
m   - memory rite (fill)
nfs  - boot image via ork using NFS protocol
nm   - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to ork host
pmic - PMIC
printenv- print environment variables
protect - enable or disable FLASH rite protection
reset   - Perform RESET of the CPU
run  - run mands in an environment variable
save - save file to a filesystem
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setexpr - set environment variable as the result of eval expression
sf   - SPI flash sub-system
shovar - print local hushshell variables
size - determine a file's size
sleep   - delay execution for some time
source  - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via ork using TFTP protocol
true - do nothing, suessfully
usb  - USB sub-system
usbboot - boot from USB device
version - print monitor, piler and linker version
=> printenv
baudrate=115200
board_name=EVK
board_rev=14X14
boot_fdt=try
bootargs=console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.1.15:/home/onlylove/my/nfs/rootfs,proto=tcp r ip=192.168.1.20:192.168.1.15:192.168.1.1:255.255.255.0::eth0:off
bootcmd=tftp 80800000 zImage;tftp 83000000 imx6ull-alientek-emmc.dtb;bootz 80800000 - 83000000;
bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
bootdelay=3
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc0
ethact=FEC1
ethaddr=b8:ae:1d:01:00:00
ethprime=FEC
fdt_addr=0x83000000
fdt_file=imx6ull-14x14-emmc-7-1024x600-c.dtb
fdt_high=0xffffffff
fileaddr=83000000
filesize=9727
findfdt=if test $fdt_file = undefined; then if test $board_name = EVK && test $board_rev = 9X9; then setenv fdt_file imx6ull-9x9-evk.dtb; fi; if test $board_name = EVK && test $board_rev = 14X14; then setenv fdt_file imx6ull-14x14-evk.dtb; fi; if test $fdt_file = undefined; then echo WARNING: Could not determine dtb to use; fi; fi;
gateayip=192.168.1.1
get_cmd=dhcp
image=zImage
initrd_addr=0x83800000
initrd_high=0xffffffff
ip_dyn=yes
ipaddr=192.168.1.10
loadaddr=0x80800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.file=/fat g_mass_storage.ro=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" clk_ignore_unused
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
mmcautodetect=yes
mmcboot=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;
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk0p2 rootait r
args=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
boot=echo Booting from  ...; run args; 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;
mask=255.255.255.0
panel=ATK-LCD-7-1024x600
script=boot.scr
serverip=192.168.1.15

Environment size: 2704/8188 bytes
=>
7、配置 uboot 参数

根据实际情况配置

setenv ipaddr 192.168.6.200
setenv gateayip 192.168.6.2
setenv serverip 192.168.6.129
saveenv
四、rootfs 1、版本选择 2、解压
tar -xvf rootfs.tar.bz2
五、Linux 1、版本选择 2、解压
tar -xvf linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek.tar.bz2
onlylove@ubuntu:~/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ pd
/home/onlylove/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek
onlylove@ubuntu:~/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
arch  Documentation  init  lib       mx6ull_14x14_evk_nand.sh  REPORTING-BUGS  tools
block drivers  ipc   linux.code-orkspace  mx6ull_alientek_emmc.sh   samples   usr
COPYING  firmare    Kbuild   MAINTAINERS     mx6ull_alientek_nand.sh   scripts   virt
CREDITS  fs    Kconfig  Makefile             security  vmlinux.dis
crypto   include  kernel   mm     README     sound
onlylove@ubuntu:~/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek$
3、编译
onlylove@ubuntu:~/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ ls
arch  Documentation  init  lib       mx6ull_14x14_evk_nand.sh  REPORTING-BUGS  tools
block drivers  ipc   linux.code-orkspace  mx6ull_alientek_emmc.sh   samples   usr
COPYING  firmare    Kbuild   MAINTAINERS     mx6ull_alientek_nand.sh   scripts   virt
CREDITS  fs    Kconfig  Makefile             security  vmlinux.dis
crypto   include  kernel   mm     README     sound
onlylove@ubuntu:~/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek$ cat mx6ull_alientek_emmc.sh 
#!/bin/sh
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- imx_alientek_emmc_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- all -j16
onlylove@ubuntu:~/my/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek$

编译成功后,将 zImage 和 设备树拷贝到 tftp 下载目录下。

onlylove@ubuntu:~/my/tftp$ pd
/home/onlylove/my/tftp
onlylove@ubuntu:~/my/tftp$ ls
imx6ull-alientek-emmc.dtb  zImage
onlylove@ubuntu:~/my/tftp$
4、uboot 加载启动 linux 1、uboot加载命令
tftp 80800000 zImage
tftp 83000000 imx6ull-alientek-emmc.dtb
bootz 80800000 - 83000000
2、uboot加载参数配置
setenv bootargs 'console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.6.129:/home/onlylove/my/nfs,proto=tcp,nfsvers=4 r ip=192.168.6.200:192.168.6.129:192.168.6.2:255.255.255.0::eth0:off'
setenv bootcmd 'tftp 80800000 zImage;tftp 83000000 imx6ull-alientek-emmc.dtb;bootz 80800000 - 83000000;'
saveenv
3、加载过程
U-Boot 2016.03 (Aug 20 2022 - 00:46:14 -0700)

CPU:   Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 54C
Reset cause: POR
Board: MX6ULL ALIENTEK EMMC
I2C:   ready
DRAM:  512 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
unsupported panel ATK-LCD-7-1024x600
In: serial
Out:   serial
Err:   serial
sitch to partitions #0, OK
mmc0 is current device
Net:   FEC1
Normal Boot
Hit any key to s autoboot:  0
FEC1 Waiting for PHY auto negotiation to plete.... done
Using FEC1 device
TFTP from server 192.168.6.129; our IP address is 192.168.6.20
Filename 'zImage'.
Load address: 0x80800000
Loading: #################################################################
   #################################################################
   #################################################################
   #################################################################
   #################################################################
   #################################################################
   #############
   2.3 MiB/s
done
Bytes transferred = 5901752 (5a0db8 hex)
Using FEC1 device
TFTP from server 192.168.6.129; our IP address is 192.168.6.20
Filename 'imx6ull-alientek-emmc.dtb'.
Load address: 0x83000000
Loading: ###
   3.4 MiB/s
done
Bytes transferred = 39280 (9970 hex)
Kernel image @ 0x80800000 [ 0x000000 - 0x5a0db8 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300c96f

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.15 (onlylove@ubuntu) (g version 4.9.4 (Linaro GCC 4.9-2017.01) ) #1 SMP PREEMPT Sat Aug 20 01:19:15 PDT 2022
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 ULL 14x14 EVK Board
Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
Reserved memory: initialized node linux,cma, patible id shared-dma-pool
Memory policy: Data cache ritealloc
PERCPU: Embedded 12 pages/cpu @8bb2f000 s16768 r8192 d24192 u49152
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel mand line: console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.6.129:/home/onlylove/my/nfs,proto=tcp,nfsvers=4 r ip=192.168.6.200:192.168.6.129:192.168.6.2:255.255.255.0::eth0:off
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 180220K/524288K available (7300K kernel code, 333K rdata, 2524K rodata, 404K init, 439K bss, 16388K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
 vector  : 0xffff0000 - 0xffff1000   (   4 kB)
 fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
 vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
 lomem  : 0x80000000 - 0xa0000000   ( 512 MB)
 pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
 modules : 0x7f000000 - 0x7fe00000   (  14 MB)
   .text : 0x80008000 - 0x809a0308   (9825 kB)
   .init : 0x809a1000 - 0x80a06000   ( 404 kB)
   .data : 0x80a06000 - 0x80a595e0   ( 334 kB)
    .bss : 0x80a5c000 - 0x80ac9fc4   ( 440 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
  Additional per-CPU info printed ith stalls.
  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS:16 nr_irqs:16 16
mxc_clocksource_init 3000000
Sitching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, raps 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)
CPU: Testing rite 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 - 0x800082f0
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
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
h-breakpoint: found 5 (+1 reserved) breakpoint and 4 atchpoint registers.
h-breakpoint: maximum atchpoint size is 8 bytes.
imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6ul-evk/flexcan2grp
imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6ul-evk/uart2dtegrp
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
imx6ul-pinctrl 2290000.iomuxc-snvs: Invalid fsl,pins property in node /soc/aips-bus@02200000/iomuxc-snvs@02290000/imx6ul-evk/lcdifresetgrp
imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
mxs-dma 1804000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered ne interface driver usbfs
usbcore: registered ne interface driver hub
usbcore: registered ne device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Softare ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
Sitched 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.
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 256 (order: 2, 16384 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
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-eim 21b8000.eim: Driver registered.
backlight supply poer not found, using dummy regulator
21c8000.lcdif supply lcd not found, using dummy regulator
mxsfb 21c8000.lcdif: failed to find mxc display driver
Console: sitching to colour frame buffer device 128x37
mxsfb 21c8000.lcdif: initialized
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmare 3.3
imx-sdma 20ec000.sdma: initialized
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 233, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff
fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
spi_imx 2010000.ecspi: probed
CAN device driver interface
flexcan 2090000.can: device registered (reg_base=a09e8000, irq=25)
20b4000.ether supply phy not found, using dummy regulator
pps pps0: ne PPS source ptp0
libphy: fec_e_mii_bus: probed
fec 20b4000.ether eth0: registered PHC device 0
2188000.ether supply phy not found, using dummy regulator
pps pps1: ne PPS source ptp1
fec 2188000.ether eth1: registered PHC device 1
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered ne interface driver rtl8187
usbcore: registered ne interface driver rndis_lan
usbcore: registered ne interface driver r8152
usbcore: registered ne interface driver asix
usbcore: registered ne interface driver ax88179_178a
usbcore: registered ne interface driver cdc_ether
usbcore: registered ne interface driver 1080
usbcore: registered ne interface driver rndis_host
usbcore: registered ne interface driver cdc_subset
usbcore: registered ne interface driver zaurus
usbcore: registered ne interface driver cdc_ncm
GobiNet: Quectel_WCDMA<E_Linux&Android_GobiNet_Driver_V1.3.0
usbcore: registered ne interface driver GobiNet
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore: registered ne interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered ne interface driver usb-storage
usbcore: registered ne interface driver usbserial
usbcore: registered ne interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
2184800.usbmisc supply vbus-akeup not found, using dummy regulator
2184000.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: ne USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
2184200.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: ne USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mousedev: PS/2 mouse device mon for all mice
input: 20000.snvs:snvs-poerkey as /devices/platform/soc/2000000.aips-bus/20000.snvs/20000.snvs:snvs-poerkey/input/input0
usbcore: registered ne interface driver xpad
usb 2-1: ne high-speed USB device number 2 using ci_hdrc
input: EP0820M09 as /devices/platform/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0038/input/input1
snvs_rtc 20000.snvs:snvs-rtc-lp: rtc core: registered 20000.snvs:snvs-r as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
pxp-v4l2 pxp_v4l2: initialized
imx2-dt 20bc000.dog: use WDOG_B to reboot.
imx2-dt 20bc000.dog: timeout 60 sec (noayout=0)
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
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
mmc0: host does not support reading read-only sitch, assuming rite-enable
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
usbcore: registered ne interface driver usbhid
usbhid: USB HID core driver
mmc0: ne high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SC16G 14.8 GiB
 mmcblk0: p1
fsl-asrc 2034000.asrc: driver registered
imx-m8960 sound: m8960-hifi <-> 202c000.sai mapping ok
imx-m8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-m8960 sound: m8960-hifi <-> 202c000.sai mapping ok
mmc1: MAN_BKOPS_EN bit is not set
NET: Registered protocol family 10
mmc1: ne HS200 MMC card at address 0001
mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area ork core (rev 20120528 abi 9)
mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
NET: Registered protocol family 29
can: ra protocol (rev 20120528)
 mmcblk1: p1 p2
can: broadcast manager protocol (rev 20120528 t)
can: link gateay (rev 20130117) max_hops=1
lib80211: mon routines for IEEE802.11 drivers
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
input: gpio-keys as /devices/platform/gpio-keys/input/input2
snvs_rtc 20000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:23:05 UTC (1385)
fec 20b4000.ether eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ether:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 20b4000.ether eth0: Link is Up - 100Mbps/Full - flo control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link bees ready
IP-Config: Complete:
  device=eth0, haddr=b8:ae:1d:01:00:00, ipaddr=192.168.6.200, mask=255.255.255.0, g=192.168.6.2
  host=192.168.6.200, domain=, nis-domain=(none)
  bootserver=192.168.6.129, rootserver=192.168.6.129, rootpath=
gpio_dvfs: disabling
can-3v3: disabling
ALSA device list:
  #0: m8960-audio
VFS: Mounted root (nfs4 filesystem) on device 0:15.
devtmpfs: mounted
Freeing unused kernel memory: 404K (809a1000 - 80a06000)
ALSA: Restoring mixer setting......

Please press Enter to activate this console. random: nonblocking pool is initialized
/var/empty must be oned by root and not group or orld-ritable.

/ # ls
bin     home    mnt     share   video
dev     include    music   sys     中文测试
drivers    lib     proc    tmp
etc     linuxrc    root    usr
gdbtest    mini.log   sbin    var
/ #
5、挂载异常解决

Copyright © 2016-2025 www.caominkang.com 曹敏电脑维修网 版权所有 Power by