初级会员
- 积分
- 57
- 金钱
- 57
- 注册时间
- 2020-3-26
- 在线时间
- 16 小时
|
10金钱
我用【正点原子】阿尔法Linux开发板(A盘)-基础资料 ---->【正点原子】阿尔法Linux开发板(A盘)-基础资料---->1、例程源码---->3、正点原子修改后的Uboot和Linux(出厂源码)里没有修改的源码编译,尝试用MfgTool工具烧写到emmc中,最后卡在UTP: Waiting for device to appear无法进行下去。u-boot启动过程中也提示*** Warning - bad CRC, using default environment,不知两个错误是否有关联。因为没有修改过任何代码和配置,想不通问题出在哪儿?
以下是烧写过程中串口输出的信息
U-Boot 2016.03 (Jun 07 2020 - 12:04:17 +0800)
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 61C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Display: ATK-LCD-4.3-480x272 (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1(part 0) is current device
Net: FEC1
Error: FEC1 address not set.
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x6797a0 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8591032 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300c72e
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.1.15 (zyy@zyy-Latitude-D630) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01) ) #1 SMP PREEMPT Sun Jun 7 10:05:20 CST 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Freescale i.MX6 ULL 14x14 EVK Board
[ 0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 128 MiB
[ 0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @97b90000 s16832 r8192 d24128 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttymxc0,115200 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
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 366884K/524288K available (8531K kernel code, 454K rwdata, 2964K rodata, 532K init, 452K bss, 26332K reserved, 131072K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
[ 0.000000] lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x80008000 - 0x80b421a4 (11497 kB)
[ 0.000000] .init : 0x80b43000 - 0x80bc8000 ( 532 kB)
[ 0.000000] .data : 0x80bc8000 - 0x80c39960 ( 455 kB)
[ 0.000000] .bss : 0x80c3c000 - 0x80cad160 ( 453 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] mxc_clocksource_init 3000000
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000016] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000061] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.002844] Console: colour dummy device 80x30
[ 0.002884] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.002916] pid_max: default: 32768 minimum: 301
[ 0.003143] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003176] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.004663] CPU: Testing write buffer coherency: ok
[ 0.005163] [url=]/cpus/cpu@0[/url] missing clock-frequency property
[ 0.005209] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005320] Setting up static identity map for 0x80008280 - 0x800082d8
[ 0.041222] Brought up 1 CPUs
[ 0.041261] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[ 0.041281] CPU: All CPU(s) started in SVC mode.
[ 0.042236] devtmpfs: initialized
[ 0.059676] device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
[ 0.067389] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.068292] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.078165] pinctrl core: initialized pinctrl subsystem
[ 0.081059] NET: Registered protocol family 16
[ 0.100838] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.131003] cpuidle: using governor ladder
[ 0.161074] cpuidle: using governor menu
[ 0.212506] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.212541] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.217120] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.217933] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.288938] mxs-dma 1804000.dma-apbh: initialized
[ 0.296317] SCSI subsystem initialized
[ 0.297656] usbcore: registered new interface driver usbfs
[ 0.297855] usbcore: registered new interface driver hub
[ 0.298073] usbcore: registered new device driver usb
[ 0.301106] i2c i2c-0: IMX I2C adapter registered
[ 0.301153] i2c i2c-0: can't use DMA
[ 0.302888] i2c i2c-1: IMX I2C adapter registered
[ 0.302935] i2c i2c-1: can't use DMA
[ 0.303268] Linux video capture interface: v2.00
[ 0.303498] pps_core: LinuxPPS API ver. 1 registered
[ 0.303520] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.303600] PTP clock support registered
[ 0.306666] MIPI CSI2 driver module loaded
[ 0.307413] Advanced Linux Sound Architecture Driver Initialized.
[ 0.309683] Bluetooth: Core ver 2.20
[ 0.309812] NET: Registered protocol family 31
[ 0.309835] Bluetooth: HCI device and connection manager initialized
[ 0.309876] Bluetooth: HCI socket layer initialized
[ 0.309910] Bluetooth: L2CAP socket layer initialized
[ 0.309997] Bluetooth: SCO socket layer initialized
[ 0.313315] Switched to clocksource mxc_timer1
[ 0.340734] NET: Registered protocol family 2
[ 0.342335] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.342480] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.342643] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.342789] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.342855] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.343416] NET: Registered protocol family 1
[ 0.344166] RPC: Registered named UNIX socket transport module.
[ 0.344198] RPC: Registered udp transport module.
[ 0.344217] RPC: Registered tcp transport module.
[ 0.344237] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.344795] Trying to unpack rootfs image as initramfs...
[ 1.923905] Freeing initrd memory: 8392K (83800000 - 84032000)
[ 1.927499] imx rpmsg driver is registered.
[ 1.930389] Bus freq driver module loaded
[ 1.932624] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 1.950104] VFS: Disk quotas dquot_6.6.0
[ 1.950632] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.956414] NFS: Registering the id_resolver key type
[ 1.956515] Key type id_resolver registered
[ 1.956537] Key type id_legacy registered
[ 1.956725] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 1.958688] fuse init (API version 7.23)
[ 1.970227] io scheduler noop registered
[ 1.970277] io scheduler deadline registered
[ 1.970778] io scheduler cfq registered (default)
[ 1.971986] imx-weim 21b8000.weim: Driver registered.
[ 1.978991] backlight supply power not found, using dummy regulator
[ 1.981486] MIPI DSI driver module loaded
[ 1.982025] MIPI DSI driver module loaded
[ 1.988403] 21c8000.lcdif supply lcd not found, using dummy regulator
[ 2.097733] mxsfb 21c8000.lcdif: failed to find mxc display driver
[ 2.108293] Console: switching to colour frame buffer device 100x30
[ 2.123513] mxsfb 21c8000.lcdif: initialized
[ 2.125693] imx-sdma 20ec000.sdma: no event needs to be remapped
[ 2.125919] imx-sdma 20ec000.sdma: loaded firmware 3.3
[ 2.133203] imx-sdma 20ec000.sdma: initialized
[ 2.135676] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
[ 2.853326] console [ttymxc0] enabled
[ 2.858955] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 233, base_baud = 5000000) is a IMX
[ 2.957342] imx-rng 2284000.rngb: iMX RNG Registered.
[ 2.963143] imx sema4 driver is registered.
[ 2.967628] [drm] Initialized drm 1.1.0 20060810
[ 2.973641] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[ 3.005774] brd: module loaded
[ 3.021909] loop: module loaded
[ 3.030966] fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff
[ 3.038354] fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
[ 3.051158] spi_imx 2010000.ecspi: probed
[ 3.058186] CAN device driver interface
[ 3.065297] flexcan 2090000.can: device registered (reg_base=a0a08000, irq=26)
[ 3.075022] 20b4000.ethernet supply phy not found, using dummy regulator
[ 3.284542] pps pps0: new PPS source ptp0
[ 3.290187] fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[ 3.300323] fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 6e:5e:0b:f9:b3:11
[ 3.311675] libphy: fec_enet_mii_bus: probed
[ 3.336014] fec 20b4000.ethernet eth0: registered PHC device 0
[ 3.343759] 2188000.ethernet supply phy not found, using dummy regulator
[ 3.554342] pps pps1: new PPS source ptp1
[ 3.559966] fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[ 3.570102] fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 3e:c4:54:3c:43:ea
[ 3.582682] fec 2188000.ethernet eth1: registered PHC device 1
[ 3.590451] PPP generic driver version 2.4.2
[ 3.595420] PPP BSD Compression module registered
[ 3.600180] PPP Deflate Compression module registered
[ 3.605385] PPP MPPE Compression module registered
[ 3.610237] NET: Registered protocol family 24
[ 3.615055] usbcore: registered new interface driver asix
[ 3.620656] usbcore: registered new interface driver ax88179_178a
[ 3.627035] usbcore: registered new interface driver cdc_ether
[ 3.633038] usbcore: registered new interface driver net1080
[ 3.638952] usbcore: registered new interface driver cdc_subset
[ 3.645118] usbcore: registered new interface driver zaurus
[ 3.650975] usbcore: registered new interface driver cdc_ncm
[ 3.656748] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.663367] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 3.669208] usbcore: registered new interface driver usb-storage
[ 3.675481] usbcore: registered new interface driver usb_ehset_test
[ 3.684679] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[ 3.694082] 2184000.usb supply vbus not found, using dummy regulator
[ 3.707169] 2184200.usb supply vbus not found, using dummy regulator
[ 3.717602] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 3.722589] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.743426] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.749349] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.756253] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.763551] usb usb1: Product: EHCI Host Controller
[ 3.768460] usb usb1: Manufacturer: Linux 4.1.15 ehci_hcd
[ 3.773927] usb usb1: SerialNumber: ci_hdrc.1
[ 3.780152] hub 1-0:1.0: USB hub found
[ 3.784219] hub 1-0:1.0: 1 port detected
[ 3.790845] mousedev: PS/2 mouse device common for all mice
[ 3.798595] input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 3.812989] <<-GTP-INFO->> GTP driver installing...
[ 3.822548] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[ 3.831762] i2c /dev entries driver
[ 3.838247] IR NEC protocol handler initialized
[ 3.842829] IR RC5(x/sz) protocol handler initialized
[ 3.848006] IR RC6 protocol handler initialized
[ 3.852575] IR JVC protocol handler initialized
[ 3.857186] IR Sony protocol handler initialized
[ 3.861838] IR SANYO protocol handler initialized
[ 3.866623] IR Sharp protocol handler initialized
[ 3.871366] IR MCE Keyboard/mouse protocol handler initialized
[ 3.877272] IR XMP protocol handler initialized
[ 3.885720] pxp-v4l2 pxp_v4l2: initialized
[ 3.891757] 0-000e supply vdd not found, using dummy regulator
[ 3.897885] 0-000e supply vddio not found, using dummy regulator
[ 3.904085] mag3110 0-000e: check mag3110 chip ID
[ 3.909116] mag3110 0-000e: read chip ID 0xfffffffb is not equal to 0xc4!
[ 3.916216] mag3110: probe of 0-000e failed with error -22
[ 3.924413] imx2-wdt 20bc000.wdog: use WDOG_B to reboot.
[ 3.930702] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 3.937152] Bluetooth: HCI UART driver ver 2.3
[ 3.941638] Bluetooth: HCI UART protocol H4 registered
[ 3.947001] Bluetooth: HCI UART protocol BCSP registered
[ 3.952347] Bluetooth: HCI UART protocol ATH3K registered
[ 3.958075] usbcore: registered new interface driver bcm203x
[ 3.964029] usbcore: registered new interface driver btusb
[ 3.969765] usbcore: registered new interface driver ath3k
[ 3.976441] sdhci: Secure Digital Host Controller Interface driver
[ 3.982660] sdhci: Copyright(c) Pierre Ossman
[ 3.987471] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.995838] [url=]/soc/aips-bus@02100000/usdhc@02190000[/url]: voltage-ranges unspecified
[ 4.003076] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 4.010551] sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
[ 4.063724] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 4.074172] [url=]/soc/aips-bus@02100000/usdhc@02194000[/url]: voltage-ranges unspecified
[ 4.081365] sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
[ 4.091568] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
[ 4.097899] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
[ 4.104312] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 4.154420] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 4.212557] usbcore: registered new interface driver usbhid
[ 4.218451] usbhid: USB HID core driver
[ 4.238803] mmc1: MAN_BKOPS_EN bit is not set
[ 4.244041] fsl-asrc 2034000.asrc: driver registered
[ 4.255585] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 4.275633] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4.282910] usb 1-1: Product: USB2.0 Hub
[ 4.289252] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 4.300329] imx-wm8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[ 4.309461] mmc1: new DDR MMC card at address 0001
[ 4.315730] hub 1-1:1.0: USB hub found
[ 4.320470] hub 1-1:1.0: 4 ports detected
[ 4.324737] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[ 4.329853] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 4.336492] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[ 4.344444] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[ 4.352301] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
[ 4.369823] mmcblk1: p1 p2
[ 4.471441] NET: Registered protocol family 26
[ 4.478273] NET: Registered protocol family 10
[ 4.485579] sit: IPv6 over IPv4 tunneling driver
[ 4.491861] NET: Registered protocol family 17
[ 4.496725] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 4.509462] can: controller area network core (rev 20120528 abi 9)
[ 4.515894] NET: Registered protocol family 29
[ 4.520431] can: raw protocol (rev 20120528)
[ 4.524894] can: broadcast manager protocol (rev 20120528 t)
[ 4.530627] can: netlink gateway (rev 20130117) max_hops=1
[ 4.536900] Bluetooth: RFCOMM TTY layer initialized
[ 4.541854] Bluetooth: RFCOMM socket layer initialized
[ 4.547260] Bluetooth: RFCOMM ver 1.11
[ 4.551088] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.556558] Bluetooth: BNEP filters: protocol multicast
[ 4.561840] Bluetooth: BNEP socket layer initialized
[ 4.566920] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 4.572888] Bluetooth: HIDP socket layer initialized
[ 4.578060] 8021q: 802.1Q VLAN Support v1.8
[ 4.582415] Key type dns_resolver registered
[ 4.611949] dhd_module_init in
[ 4.616569] input: gpio_keys@0 as [url=]/devices/platform/gpio_keys@0/input/input1[/url]
[ 4.624398] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2016-09-17 10:30:26 UTC (1474108226)
[ 4.648201] gpio_dvfs: disabling
[ 4.651469] VSD_3V3: disabling
[ 4.654629] can-3v3: disabling
[ 4.657718] clk: Not disabling unused clocks
[ 4.662009] ALSA device list:
[ 4.665023] #0: wm8960-audio
[ 4.669099] Freeing unused kernel memory: 532K (80b43000 - 80bc8000)
Starting UTP
uuc 0.5 [built Sep 16 2016 02:36:28]
UTP: Waiting for device to appear
|
最佳答案
查看完整内容[请看2#楼]
问题解决了,当然楼上二位说的也可以避免问题。在.config文件中手工把以下两项改成y,图形下总是改不成功,不知为啥
CONGFIG_USB_MASS_STORAGE=y,
CONFIG_FSL_UTP=y.
|