AnsweredAssumed Answered

iMX6 ULL MFGTool issue

Question asked by frank chiang on Apr 22, 2018
Latest reply on Apr 25, 2018 by frank chiang

Hi All


I am developing imx6 ULL project. I use mfgtool to update bin file on SD CARD, It doesn't work.

I got message for uart output as below. How do slove I this problem?


PS: I try to update bin file to SD card from Imx6 UL EVB, and insert it to our ULL platform . Then it can work. It's really strange.


U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:29:06 -0500)^J
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 44C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready


DRAM: 512 MiB^J
MMC: no card present^J


*** Warning - MMC init failed, using default environment^J
Display: TFT43AB (480x272)^J
Video: 480x272x24^J
In: serial^J
Out: serial^J
Err: serial^J
MMC: no card present^J
Net: Board Net Initialization Failed^J
No ethernet found.^J
Boot from USB for mfgtools^J
Use default environment for ^I^I^I^I mfgtools^J
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};^J
Hit any key to stop autoboot: 0 ^J
Kernel image @ 0x80800000 [ 0x000000 - 0x554130 ]^J
## Loading init Ramdisk from Legacy Image at 83800000 ...^J
Image Name: fsl-image-mfgtool-initramfs-imx6^J
Image Type: ARM Linux RAMDisk Image (gzip compressed)^J
Data Size: 8591032 Bytes = 8.2 MiB^J
Load Address: 00000000^J
Entry Point: 00000000^J
Verifying Checksum ... OK^J
## Flattened Device Tree blob at 83000000^J
Booting using the fdt blob at 0x83000000^J
Using Device Tree in place at 83000000, end 8300bc50^J
Starting kernel ...^J
Booting Linux on physical CPU 0x0^M^J
Linux version 4.1.15+ (bamboo@yb6) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Fri Sep 16 18:10:49 CDT 2016^M^J
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d^M^J
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache^M^J
Machine model: Freescale i.MX6 ULL 14x14 EVK Board^M^J
Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB^M^J
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool^M^J
Memory policy: Data cache writealloc^M^J
PERCPU: Embedded 12 pages/cpu @8bb32000 s16716 r8192 d24244 u49152^M^J
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048^M^J
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.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber= clk_ignore_unused^M^J
PID hash table entries: 2048 (order: 1, 8192 bytes)^M^J
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)^M^J
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)^M^J
Memory: 172396K/524288K available (6903K kernel code, 320K rwdata, 2416K rodata, 384K init, 423K bss, 24212K reserved, 327680K cma-reserved, 0K highmem)^M^J
Virtual kernel memory layout:^M^J
vector : 0xffff0000 - 0xffff1000 ( 4 kB)^M^J
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)^M^J
vmalloc : 0xa0800000 - 0xff000000 (1512 MB)^M^J
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)^M^J
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)^M^J
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)^M^J
.text : 0x80008000 - 0x80921fd8 (9320 kB)^M^J
.init : 0x80922000 - 0x80982000 ( 384 kB)^M^J
.data : 0x80982000 - 0x809d2080 ( 321 kB)^M^J
.bss : 0x809d5000 - 0x80a3ee54 ( 424 kB)^M^J
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1^M^J
Preemptible hierarchical RCU implementation.^M^J
^IAdditional per-CPU info printed with stalls.^M^J
^IRCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.^M^J
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1^M^J
NR_IRQS:16 nr_irqs:16 16^M^J
mxc_clocksource_init 24000000^M^J
Switching to timer-based delay loop, resolution 41ns^M^J
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns^M^J
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns^M^J
Console: colour dummy device 80x30^M^J
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)^M^J
pid_max: default: 32768 minimum: 301^M^J
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)^M^J
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)^M^J
CPU: Testing write buffer coherency: ok^M^J
/cpus/cpu@0 missing clock-frequency property^M^J
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000^M^J
Setting up static identity map for 0x80008280 - 0x800082f0^M^J
Brought up 1 CPUs^M^J
SMP: Total of 1 processors activated (48.00 BogoMIPS).^M^J
CPU: All CPU(s) started in SVC mode.^M^J
devtmpfs: initialized^M^J
device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"^M^J
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5^M^J
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns^M^J
pinctrl core: initialized pinctrl subsystem^M^J
NET: Registered protocol family 16^M^J
DMA: preallocated 256 KiB pool for atomic coherent allocations^M^J
cpuidle: using governor ladder^M^J
cpuidle: using governor menu^M^J
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.^M^J
hw-breakpoint: maximum watchpoint size is 8 bytes.^M^J
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver^M^J
imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver^M^J
mxs-dma 1804000.dma-apbh: initialized^M^J
SCSI subsystem initialized^M^J
usbcore: registered new interface driver usbfs^M^J
usbcore: registered new interface driver hub^M^J
usbcore: registered new device driver usb^M^J
i2c i2c-0: IMX I2C adapter registered^M^J
i2c i2c-0: can't use DMA^M^J
i2c i2c-1: IMX I2C adapter registered^M^J
i2c i2c-1: can't use DMA^M^J
Linux video capture interface: v2.00^M^J
pps_core: LinuxPPS API ver. 1 registered^M^J
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <>^M^J
PTP clock support registered^M^J
Advanced Linux Sound Architecture Driver Initialized.^M^J
Switched to clocksource mxc_timer1^M^J
NET: Registered protocol family 2^M^J
TCP established hash table entries: 4096 (order: 2, 16384 bytes)^M^J
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)^M^J
TCP: Hash tables configured (established 4096 bind 4096)^M^J
UDP hash table entries: 256 (order: 1, 8192 bytes)^M^J
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)^M^J
NET: Registered protocol family 1^M^J
RPC: Registered named UNIX socket transport module.^M^J
RPC: Registered udp transport module.^M^J
RPC: Registered tcp transport module.^M^J
RPC: Registered tcp NFSv4.1 backchannel transport module.^M^J
Trying to unpack rootfs image as initramfs...^M^J
Freeing initrd memory: 8392K (83800000 - 84032000)^M^J
imx rpmsg driver is registered.^M^J
Bus freq driver module loaded^M^J
futex hash table entries: 256 (order: 2, 16384 bytes)^M^J
VFS: Disk quotas dquot_6.6.0^M^J
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)^M^J
NFS: Registering the id_resolver key type^M^J
Key type id_resolver registered^M^J
Key type id_legacy registered^M^J
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.^M^J
fuse init (API version 7.23)^M^J
io scheduler noop registered^M^J
io scheduler deadline registered^M^J
io scheduler cfq registered (default)^M^J
imx-weim 21b8000.weim: Driver registered.^M^J
backlight supply power not found, using dummy regulator^M^J
21c8000.lcdif supply lcd not found, using dummy regulator^M^J
mxsfb 21c8000.lcdif: failed to find mxc display driver ^M^J
Console: switching to colour frame buffer device 60x34^M^J
mxsfb 21c8000.lcdif: initialized^M^J
imx-sdma 20ec000.sdma: no event needs to be remapped^M^J
imx-sdma 20ec000.sdma: loaded firmware 3.3^M^J
imx-sdma 20ec000.sdma: initialized^M^J
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX^M^J
console [ttymxc0] enabled^M^J
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 235, base_baud = 5000000) is a IMX^M^J
imx sema4 driver is registered.^M^J
[drm] Initialized drm 1.1.0 20060810^M^J
[drm] Initialized vivante 1.0.0 20120216 on minor 0^M^J
brd: module loaded^M^J
loop: module loaded^M^J
fsl-quadspi 21e0000.qspi: found gd25q32, expected n25q256a^M^J
fsl-quadspi 21e0000.qspi: gd25q32 (4096 Kbytes)^M^J
fsl-quadspi 21e0000.qspi: Unsupported cmd 0x03^M^J
20b4000.ethernet supply phy not found, using dummy regulator^M^J
pps pps0: new PPS source ptp0^M^J
fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00^M^J
fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 86:c7:5a:5f:a6:98^M^J
libphy: fec_enet_mii_bus: probed^M^J
fec 20b4000.ethernet eth0: registered PHC device 0^M^J
2188000.ethernet supply phy not found, using dummy regulator^M^J
pps pps1: new PPS source ptp1^M^J
fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00^M^J
fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 96:77:1f:ae:4e:82^M^J
fec 2188000.ethernet eth1: registered PHC device 1^M^J
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver^M^J
ehci-mxc: Freescale On-Chip EHCI Host driver^M^J
usbcore: registered new interface driver usb-storage^M^J
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator^M^J
2184000.usb supply vbus not found, using dummy regulator^M^J
2184200.usb supply vbus not found, using dummy regulator^M^J
ci_hdrc ci_hdrc.1: EHCI Host Controller^M^J
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1^M^J
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00^M^J
hub 1-0:1.0: USB hub found^M^J
hub 1-0:1.0: 1 port detected^M^J
Mass Storage Function, version: 2009/09/11^M^J
LUN: removable file: (no medium)^M^J
LUN: removable read only file: /fat^M^J
Number of LUNs=1^M^J
Number of LUNs=1^M^J
g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11^M^J
g_mass_storage gadget: g_mass_storage ready^M^J
mousedev: PS/2 mouse device common for all mice^M^J
input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0^M^J
input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1^M^J
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0^M^J
i2c /dev entries driver^M^J
IR NEC protocol handler initialized^M^J
IR RC5(x/sz) protocol handler initialized^M^J
IR RC6 protocol handler initialized^M^J
IR JVC protocol handler initialized^M^J
IR Sony protocol handler initialized^M^J
IR SANYO protocol handler initialized^M^J
IR Sharp protocol handler initialized^M^J
IR MCE Keyboard/mouse protocol handler initialized^M^J
IR XMP protocol handler initialized^M^J
pxp-v4l2 pxp_v4l2: initialized^M^J
imx2-wdt 20bc000.wdog: use WDOG_B to reboot.^M^J
imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)^M^J
sdhci: Secure Digital Host Controller Interface driver^M^J
sdhci: Copyright(c) Pierre Ossman^M^J
sdhci-pltfm: SDHCI platform and OF driver helper^M^J
/soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified^M^J
sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO^M^J
sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found^M^J
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA^M^J
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified^M^J
sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode^M^J
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found^M^J
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found^M^J
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA^M^J
usbcore: registered new interface driver usbhid^M^J
usbhid: USB HID core driver^M^J
g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage^M^J
NET: Registered protocol family 10^M^J
sit: IPv6 over IPv4 tunneling driver^M^J
NET: Registered protocol family 17^M^J
Key type dns_resolver registered^M^J
cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)^M^J
Registering SWP/SWPB emulation handler^M^J
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)^M^J
VSD_3V3: disabling^M^J
can-3v3: disabling^M^J
clk: Not disabling unused clocks^M^J
ALSA device list:^M^J
No soundcards found.^M^J
Freeing unused kernel memory: 384K (80922000 - 80982000)^M^J
Starting UTP^M^J
uuc 0.5 [built Sep 16 2016 02:36:28]^M^J
UTP: Waiting for device to appear^M^J
UTP: file/device node /dev/utp already exists^M^J
cpu_id is 0^M^J
UTP: received command 'send'^M^J
UTP: sending Success to kernel for command send.^M^J
UTP: received command '$ dd if=$FILE of=/dev/mmcblk1 bs=1k seek=1 skip=1'^M^J
UTP: executing "dd if=$FILE of=/dev/mmcblk1 bs=1k seek=1 skip=1"^M^J
32+1 records in^M^J
32+1 records out^M^J
33040 bytes (33 kB, 32 KiB) copied, 0.00122458 s, 27.0 MB/s^M^J
UTP: sending Success to kernel for command $ dd if=$FILE of=/dev/mmcblk1 bs=1k seek=1 skip=1.^M^J
utp_poll: pass returned.^M^J
UTP: received command '$ echo Update Complete!'^M^J
UTP: executing "echo Update Complete!"^M^J
Update Complete!^M^J
UTP: sending Success to kernel for command $ echo Update Complete!.^M^J
utp_poll: pass returned.^M^J