@
博客说明
撰写日期 | 2019.09.06 |
---|---|
完稿日期 | 2019.09.06 |
最近维护 | 暂无 |
本文作者 | multimicro |
联系方式 | multimicro@qq.com |
资料链接 | 本文无附件资料 |
GitHub | |
原文链接 |
开发环境
环境说明 | 详细信息 | 备注信息 |
---|---|---|
操作系统 | Windows_x64、Manjaro18.04 KDE、Debian | |
Vivado版本 | 2018.3 | |
开发板型号 | ZYNQ7010(米联客 MiZ701N 黑色版本) | |
编译器版本 | gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf | |
编译器路径 | /opt/toolschain/linaro/bin/arm-linux-gnueabihf- | 绝对路径 |
Xilinx uboot版本 | u-boot-xlnx-v2018.3 | |
Xilinx kernel版本 | linux-xlnx-v2018.3 | |
文件系统 | linaro-precise-ubuntu-desktop-20121124-560 | |
SD卡型号 | SanDisk C10 A1至尊高速移动版 16GB |
0. SD卡制作
参考
1. 移植u-boot
1.1 流程概述
网上移植u-boot的教程比较多,这里仅说明一下u-boot的编译流程,本博客采用的是2018.3版本。
- 打开vivado 2018.3,按照建立起一个工程,由于本博客是要求从SD卡启动,所以,在ZYNQ的IP内需要勾选上SD卡外设。然后编译工程,产生bit文件。
- 提前说一下这一步,从vivado内打开Xilinx SDK工具,记得导入bit文件。然后建立u-boot所需要的FSBL工程,详情参考,最终生成的BOOT.bin文件默认在此文件夹下:
- 编译uboot工程,产生u-boot.elf文件,供给步骤2所需
1.2 编译uboot
git 下来Xilinx公司提供的uboot工程:
proxychains4 git clone https://github.com/Xilinx/u-boot-xlnx.git
前面的proxychains4
是走的终端代理,不走代理的话,直接克隆即可。走代理的方式详情参考里面内容。 根据自己使用的vivado版本进行检出对应的tag文件,不清楚tag名称的,可以使用git tag
命令查看 * 然后检出tag文件内容使用
git checkout xilinx-v2018.3git checkout -b xilinx-v2018.3
此时的uboot版本和vivado版本一致,可以进行后续工作。 在此之前要更改一个配置文件
vim configs/zynq_zc702_defconfig
禁掉此行,否则uboot会在FLASH里面读取配置文件。然后
vim arch/arm/dts/zynq-zc702.dts
更改频率,这个频率就是在vivado建立工程时的晶振频率50MHz 然后在终端里面
make CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm zynq_zc702_defconfig
make CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm menuconfigmake CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm -j8
最后产生了u-boot文件 执行命令,生成elf文件
cp u-boot u-boot.elf
然后用此u-boot.elf完成上述步骤2
1.3 测试uboot运行情况
此SD卡里面有完整的BOOT.bin、devicetree.dtb、uEnv.txt、uImage文件,所以打印出的情况是下面这种(截选部分打印信息)
U-Boot 2018.01-dirty (Sep 06 2019 - 18:55:56 +0800) Xilinx Zynq ZC702Model: Zynq ZC702 Development BoardBoard: Xilinx ZynqSilicon: v3.1I2C: readyDRAM: ECC disabled 1 GiBMMC: sdhci@e0100000: 0 (SD)Using default environmentIn: serial@e0001000Out: serial@e0001000Err: serial@e0001000Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-ideth0: ethernet@e000b000reading uEnv.txt398 bytes read in 11 ms (35.2 KiB/s)Importing environment from SD ...Hit any key to stop autoboot: 0Device: sdhci@e0100000Manufacturer ID: 3OEM: 5344Name: SC16GTran Speed: 50000000Rd Block Len: 512SD version 3.0High Capacity: YesCapacity: 14.8 GiBBus Width: 4-bitErase Group Size: 512 Bytesreading uEnv.txt398 bytes read in 10 ms (38.1 KiB/s)Loaded environment from uEnv.txtImporting environment from SD ...Running uenvcmd ...Copying Linux from SD to RAM...reading uImage3966200 bytes read in 204 ms (18.5 MiB/s)reading devicetree.dtb
2. 移植uImage
2.1 编译uImage
和uboot步骤一样,先git下来uImage代码工程,不用代理就把proxychains4
取掉
proxychains4 git clone https://github.com/Xilinx/linux-xlnx.git
检出2018.3版本,
git checkout xilinx-v2018.3git checkout -b xilinx-v2018.3
检出完成 然后执行以下步骤:
make CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm cleanmake CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm xilinx_zynq_defconfig
make CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm menuconfig
在可视化配置面板中,需要转到此位置进行更改一些配置 Kernel hacking-> [ ]Kernel low-level debugging functiongs(read help!) 按照红框里面的配置更改 配置完成,开始编译uImage
make CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm -j8make CROSS_COMPILE=/opt/toolschain/linaro/bin/arm-linux-gnueabihf- ARCH=arm uImage LOADADDR=0x00008000
此时uImage
编译完成
2.2 制作设备树文件
在linux-xlnx/arch/arm/boot/dts
目录内新建一个名为zynq-7010.dts
文件,文件内容:
/dts-v1/;/include/ "zynq-7000.dtsi"/ { model = "HLF"; compatible = "ALINX,zynq", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0; serial0 = &uart1; spi0 = &qspi; mmc0 = &sdhci0; }; memory@0 { device_type = "memory"; reg = <0x0 0x20000000>; }; chosen { bootargs = ""; stdout-path = "serial0:115200n8"; }; usb_phy0: phy0 { compatible = "usb-nop-xceiv"; #phy-cells = <0>; reset-gpios = <&gpio0 46 1>; };};&clkc { ps-clk-frequency = <50000000>;};&gem0 { status = "okay"; phy-mode = "rgmii-id"; phy-handle = <ðernet_phy>; ethernet_phy: ethernet-phy@0 { reg = <0>; device_type = "ethernet-phy"; };};&qspi { u-boot,dm-pre-reloc; status = "okay";};&sdhci0 { u-boot,dm-pre-reloc; status = "okay"; broken-mmc-highspeed; clock-frequency = <20000000>; disable-wp; no-1-8-v;};&uart1 { u-boot,dm-pre-reloc; status = "okay";};&usb0 { u-boot,dm-pre-reloc; status = "okay"; usb-phy = <&usb_phy0>;};
然后在uImage
工程的顶层目录里面,执行以下命令:
./scripts/dtc/dtc -I dts -O dtb -o ./arch/arm/boot/devicetree.dtb ./arch/arm/boot/dts/zynq-7010.dts
产生了devicetree.dtb文件
2.3 启动配置文件制作uEnv.txt
随便找个位置新建一个uEnv.txt 文件,文件内写入boot的配置信息:
uenvcmd=run linaro_sdbootlinaro_sdboot=echo Copying Linux from SD to RAM... && \fatload mmc 0 0x3000000 ${kernel_image} && \fatload mmc 0 0x2A00000 ${devicetree_image} && \if fatload mmc 0 0x2000000 ${ramdisk_image}; \then bootm 0x3000000 0x2000000 0x2A00000; \else bootm 0x3000000 - 0x2A00000; fibootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait
2.4测试uImage
将uImage
文件、devicetree.dtb
文件和uEnv.txt
拷贝到SD卡里面,此时SD卡里面共有四个文件 为了以防没有执行权限,在linxu下面进入SD卡的boot文件夹里面执行以下命令
sudo chmod 777 *
虽然执行完也是下面模样,哈哈哈,但不影响执行 现在插入SD卡,上电看一下打印出的信息: 注:文件系统已经移植好了,所以后面可以看到挂载文件系统的信息。
U-Boot 2018.01-dirty (Sep 06 2019 - 20:31:16 +0800) Xilinx Zynq ZC702Model: Zynq ZC702 Development BoardBoard: Xilinx ZynqSilicon: v3.1I2C: readyDRAM: ECC disabled 1 GiBMMC: sdhci@e0100000: 0 (SD)Using default environmentIn: serial@e0001000Out: serial@e0001000Err: serial@e0001000Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-ideth0: ethernet@e000b000reading uEnv.txt398 bytes read in 11 ms (35.2 KiB/s)Importing environment from SD ...Hit any key to stop autoboot: 0Device: sdhci@e0100000Manufacturer ID: 3OEM: 5344Name: SC16GTran Speed: 50000000Rd Block Len: 512SD version 3.0High Capacity: YesCapacity: 14.8 GiBBus Width: 4-bitErase Group Size: 512 Bytesreading uEnv.txt398 bytes read in 11 ms (35.2 KiB/s)Loaded environment from uEnv.txtImporting environment from SD ...Running uenvcmd ...Copying Linux from SD to RAM...reading uImage3966200 bytes read in 254 ms (14.9 MiB/s)reading devicetree.dtb9279 bytes read in 16 ms (565.4 KiB/s)** Unable to read file uramdisk.image.gz **## Booting kernel from Legacy Image at 03000000 ... Image Name: Linux-4.14.0-xilinx-dirty Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3966136 Bytes = 3.8 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK## Flattened Device Tree blob at 02a00000 Booting using the fdt blob at 0x2a00000 Loading Kernel Image ... OK Loading Device Tree to 1fffa000, end 1ffff43e ... OKStarting kernel ...Uncompressing Linux... done, booting the kernel.Booting Linux on physical CPU 0x0Linux version 4.14.0-xilinx-dirty (china@alan) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #2 SMP PREEMPT Fri Sep 6 21:44:47 CST 2019CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387dCPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cacheOF: fdt: Machine model: HLFbootconsole [earlycon0] enabledMemory policy: Data cache writealloccma: Reserved 16 MiB at 0x3f000000random: fast init donepercpu: Embedded 16 pages/cpu @ef7ce000 s34764 r8192 d22580 u65536Built 1 zonelists, mobility grouping on. Total pages: 260608Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwaitPID hash table entries: 4096 (order: 2, 16384 bytes)Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)Memory: 1012892K/1048576K available (6144K kernel code, 238K rwdata, 1560K rodata, 1024K init, 153K bss, 19300K reserved, 16384K cma-reserved, 245760K highmem)Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc0700000 (7136 kB) .init : 0xc0900000 - 0xc0a00000 (1024 kB) .data : 0xc0a00000 - 0xc0a3b8c0 ( 239 kB) .bss : 0xc0a3b8c0 - 0xc0a61d84 ( 154 kB)Preemptible hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. Tasks RCU enabled.RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16efuse mapped to f0802000slcr mapped to f0804000L2C: platform modifies aux control register: 0x72360000 -> 0x72760000L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000L2C-310 erratum 769419 enabledL2C-310 enabling early BRESP for Cortex-A9L2C-310 full line of zeros enabled for Cortex-A9L2C-310 ID prefetch enabled, offset 1 linesL2C-310 dynamic clock gating enabled, standby mode enabledL2C-310 cache controller enabled, 8 ways, 512 kBL2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001zynq_clock_init: clkc starts at f0804100Zynq clock initsched_clock: 64 bits at 325MHz, resolution 3ns, wraps every 4398046511103nsclocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4af477f6aa, max_idle_ns: 440795207830 nsSwitching to timer-based delay loop, resolution 3nsclocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 551318127 nstimer #0 at f080c000, irq=17Console: colour dummy device 80x30Calibrating delay loop (skipped), value calculated using timer frequency.. 650.00 BogoMIPS (lpj=3250000)pid_max: default: 32768 minimum: 301Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)CPU: Testing write buffer coherency: okCPU0: thread -1, cpu 0, socket 0, mpidr 80000000Setting up static identity map for 0x100000 - 0x100060Hierarchical SRCU implementation.smp: Bringing up secondary CPUs ...CPU1: thread -1, cpu 1, socket 0, mpidr 80000001smp: Brought up 1 node, 2 CPUsSMP: Total of 2 processors activated (1300.00 BogoMIPS).CPU: All CPU(s) started in SVC mode.devtmpfs: initializedVFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 nsfutex hash table entries: 512 (order: 3, 32768 bytes)pinctrl core: initialized pinctrl subsystemNET: Registered protocol family 16DMA: preallocated 256 KiB pool for atomic coherent allocationscpuidle: using governor menuhw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.hw-breakpoint: maximum watchpoint size is 4 bytes.zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000zynq-pinctrl 700.pinctrl: zynq pinctrl initializede0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 6250000) is a xuartps▒▒k▒▒▒▒[ttyPS0] enabledconsole [ttyPS0] enabledbootconsole [earlycon0] disabledbootconsole [earlycon0] disabledvgaarb: loadedSCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbusb_phy_generic phy0: phy0 supply vcc not found, using dummy regulatormedia: Linux media interface: v0.10Linux video capture interface: v2.00pps_core: LinuxPPS API ver. 1 registeredpps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo GiomettiPTP clock support registeredEDAC MC: Ver: 3.0.0FPGA manager frameworkfpga-region fpga-full: FPGA Region probedAdvanced Linux Sound Architecture Driver Initialized.clocksource: Switched to clocksource arm_global_timerNET: Registered protocol family 2TCP established hash table entries: 8192 (order: 3, 32768 bytes)TCP bind hash table entries: 8192 (order: 4, 65536 bytes)TCP: Hash tables configured (established 8192 bind 8192)UDP hash table entries: 512 (order: 2, 16384 bytes)UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)NET: Registered protocol family 1RPC: Registered named UNIX socket transport module.RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters availableworkingset: timestamp_bits=30 max_order=18 bucket_order=0jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.bounce: pool size: 64 pagesio scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)io scheduler mq-deadline registeredio scheduler kyber registereddma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16brd: module loadedloop: module loadedzynq-qspi e000d000.spi: couldn't determine configuration infozynq-qspi e000d000.spi: about dual memories. defaulting to single memorylibphy: Fixed MDIO Bus: probedCAN device driver interfacelibphy: MACB_mii_bus: probedmacb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 27 (00:0a:35:00:01:22)RTL8211E Gigabit Ethernet e000b000.ethernet-ffffffff:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:00, irq=POLL)e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-ke1000e: Copyright(c) 1999 - 2015 Intel Corporation.ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driverehci-pci: EHCI PCI platform driverusbcore: registered new interface driver usb-storagechipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulatorci_hdrc ci_hdrc.0: EHCI Host Controllerci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedi2c /dev entries driverIR NEC protocol handler initializedIR RC5(x/sz) protocol handler initializedIR RC6 protocol handler initializedIR JVC protocol handler initializedIR Sony protocol handler initializedIR SANYO protocol handler initializedIR Sharp protocol handler initializedIR MCE Keyboard/mouse protocol handler initializedIR XMP protocol handler initializedcdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f0990000 with timeout 10sEDAC MC: ECC not enabledXilinx Zynq CpuIdle Driver startedsdhci: Secure Digital Host Controller Interface driversdhci: Copyright(c) Pierre Ossmansdhci-pltfm: SDHCI platform and OF driver helpermmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMAledtrig-cpu: registered to indicate activity on CPUsusbcore: registered new interface driver usbhidusbhid: USB HID core driverfpga_manager fpga0: Xilinx Zynq FPGA Manager registeredNET: Registered protocol family 10Segment Routing with IPv6sit: IPv6, IPv4 and MPLS over IPv4 tunneling driverNET: Registered protocol family 17can: controller area network core (rev 20170425 abi 9)NET: Registered protocol family 29can: raw protocol (rev 20170425)can: broadcast manager protocol (rev 20170425 t)can: netlink gateway (rev 20170425) max_hops=1Registering SWP/SWPB emulation handlerhctosys: unable to open rtc device (rtc0)of_cfs_initof_cfs_init: OKALSA device list: No soundcards found.Waiting for root device /dev/mmcblk0p2...mmc0: new SDHC card at address aaaammcblk0: mmc0:aaaa SC16G 14.8 GiB mmcblk0: p1 p2EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)VFS: Mounted root (ext4 filesystem) on device 179:2.devtmpfs: mountedFreeing unused kernel memory: 1024Kinit: hwclock main process (685) terminated with status 1init: ureadahead main process (686) terminated with status 5mmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingLast login: Thu Jan 1 00:00:09 UTC 1970 on tty1mmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, abortingcat: /var/lib/update-notifier/fsck-at-reboot: No such file or directoryrun-parts: /etc/update-motd.d/98-fsck-at-reboot exited with return code 1Welcome to Linaro 12.11 (GNU/Linux 4.14.0-xilinx-dirty armv7l) * Documentation: https://wiki.linaro.org/0 packages can be updated.0 updates are security updates.0 packages can be updated.0 updates are security updates.0 packages can be updated.0 updates are security updates.root@linaro-ubuntu-desktop:~# pwd/rootroot@linaro-ubuntu-desktop:~# cd /root@linaro-ubuntu-desktop:/# ls -altotal 88drwxr-xr-x 23 root root 4096 Jan 1 00:02 .drwxr-xr-x 23 root root 4096 Jan 1 00:02 ..drwxr-xr-x 2 root root 4096 Nov 24 2012 .diskdrwxr-xr-x 2 root root 4096 Nov 24 2012 bindrwxr-xr-x 2 root root 4096 Oct 20 2012 bootdrwxr-xr-x 10 root root 2940 Jan 1 00:00 devdrwxr-xr-x 128 root root 4096 Jan 1 00:00 etcdrwxr-xr-x 3 root root 4096 Nov 24 2012 homedrwxr-xr-x 17 root root 4096 Nov 24 2012 libdrwx------ 2 root root 16384 Sep 6 2019 lost+founddrwxr-xr-x 2 root root 4096 Nov 24 2012 mediadrwxr-xr-x 2 root root 4096 Oct 20 2012 mntdrwxr-xr-x 2 root root 4096 Nov 24 2012 optdr-xr-xr-x 82 root root 0 Jan 1 00:00 procdrwx------ 4 root root 4096 Jan 1 1970 rootdrwxr-xr-x 12 root root 480 Jan 1 00:00 rundrwxr-xr-x 2 root root 4096 Nov 24 2012 sbindrwxr-xr-x 2 root root 4096 Mar 5 2012 selinuxdrwxr-xr-x 2 root root 4096 Nov 24 2012 srvdr-xr-xr-x 12 root root 0 Jan 1 00:00 sysdrwxrwxrwt 4 root root 4096 Jan 1 00:00 tmpdrwxr-xr-x 10 root root 4096 Nov 24 2012 usrdrwxr-xr-x 13 root root 4096 Jan 1 1970 varroot@linaro-ubuntu-desktop:/#
可以看到kernel可以挂载上文件系统,但是有错误的打印信息 mmcblk0: error -110 sending status command, retrying mmcblk0: error -110 sending status command, aborting 目前不清楚为何,查了好多资料,才算是打印的少了,之前的一直不停的在打印,网上有人说是SD卡的速度太快了,我在设备树中降低的SD卡的速度后,算是可以挂载上文件系统了,但在成功挂载前还是会出现这种情况,不知道是为何。若有大神了解原因,还请不吝赐教,在此感谢!
3移植文件系统
下载好文件系统后,在文件系统所在文件夹内执行以下命令:
sudo tar --strip-components=3 -C /run/media/china/rootfs -xzpf linaro-precise-ubuntu-desktop-20120723-305.tar.gz binary/boot/filesystem.dir
注意,红框里的路径要保持一致方可
暂存问题
挂载文件系统时,打印出如下错误信息
mmcblk0: error -110 sending status command, retryingmmcblk0: error -110 sending status command, aborting
维护日志
维护日期 | 维护内容 |
---|---|
暂无 | 暂无 |