543042262 发表于 2021-10-11 09:12:35

OTG程序烧写问题

OKMX6UL-C2 v1.1的开发板,FETMX6ULC_V1.1的核心板,我根据用户手册用OTG烧写程序,SD没有插,拨码8off其他为on。烧写时如图C:\Users\Administrator\Desktop

报错日志:
DLL version: 2.5.1
Monday, October 11, 2021 09:11:13   Start new logging
ModuleID LevelID: CMyExceptionHandler thread is running
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: new MxHidDevice
ModuleID LevelID: DeviceTypeDisk--_devices size: 1
ModuleID LevelID: Volume--StorageDisk, Disk->_driveNumber:2, Volume->_diskNumber:2
ModuleID LevelID: DeviceTypeDisk--find Disk device: 036B75A0
ModuleID LevelID: Device::hubIndex::getmsc, return the port index is: 6
ModuleID LevelID: Device Manager thread is running
ModuleID LevelID: Can't set m_hStopEvent before it initialized or it already stop

ModuleID LevelID: CmdOperation device chagned and reset to state 0
ModuleID LevelID: ExecuteCommand--Boot, File is E:\BaiduNetdiskDownload\OTG\Profiles\linux\OS Firmware\firmware\u-boot-imx6ulevk_512m.imx
ModuleID LevelID: ExecuteCommand--Load, File is E:\BaiduNetdiskDownload\OTG\Profiles\linux\OS Firmware\firmware\zImage-emmc, address is 0x80800000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Load, File is E:\BaiduNetdiskDownload\OTG\Profiles\linux\OS Firmware\firmware\fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot, address is 0x83800000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Load, File is E:\BaiduNetdiskDownload\OTG\Profiles\linux\OS Firmware\firmware\imx6ul-14x14-evk.dtb, address is 0x83000000
ModuleID LevelID: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID LevelID: ExecuteCommand--Jump
ModuleID LevelID: *********MxHidDevice Jump to Ramkernel successfully!**********
ModuleID LevelID: CmdOperation, current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_007D#6&35e5f498&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_007D#6&35e5f498&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&PID_007D\6&35E5F498&0&2, _deviceInstanceID: USB\VID_15A2&PID_007D\6&35E5F498&0&2
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, vid_15a2&pid_007d, Hub:3-Port:2
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Remove
ModuleID LevelID: CmdOpreation--set m_hDeviceRemoveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device remove1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set
ModuleID LevelID: delete MxHidDevice
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#6&35e5f498&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#6&35e5f498&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_066f&pid_37ff, not handled
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - VOLUME_ARRIVAL_EVT(I)
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT(I)
ModuleID LevelID: VolumeDeviceClass::AddUsbDevice()I
ModuleID LevelID: DeviceTypeDisk--_devices size: 2
ModuleID LevelID: Volume--StorageDisk, Disk->_driveNumber:2, Volume->_diskNumber:3
ModuleID LevelID: Volume--StorageDisk, Disk->_driveNumber:3, Volume->_diskNumber:3
ModuleID LevelID: DeviceTypeDisk--find Disk device: 036BB230
ModuleID LevelID: Device::hubIndex::getmsc, return the port index is: 2
ModuleID LevelID: VolumeDeviceClass::AddUsbDevice() successful I add to current list, retrycount: 0
ModuleID LevelID: Device::hubIndex::getmsc, return the port index is: 2
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT-Disk(I), Hub:3-Port:2
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID LevelID: CmdOpreation--set m_hDeviceArriveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device arrive1
ModuleID LevelID: CmdOperation device chagned and reset to state 1
ModuleID LevelID: ExecuteCommand--Push, Body is send
ModuleID LevelID: ExecuteCommand--Push, Body is $ tar xf $FILE
ModuleID LevelID: ExecuteCommand--Push, Body is $ sh mksdcard.sh /dev/mmcblk1
ModuleID LevelID: ExecuteCommand--Push, Body is $ dd if=/dev/zero of=/dev/mmcblk1 bs=1k seek=384 conv=fsync count=129
ModuleID LevelID: ExecuteCommand--Push, Body is $ echo 0 > /sys/block/mmcblk1boot0/force_ro
ModuleID LevelID: PortMgrDlg(0)--MSCDevice--Command Push(no file) excute failed
ModuleID LevelID: CmdOperation, current command executed failed, so SetEvent(hDevCanDeleteEvent)

543042262 发表于 2021-10-11 09:26:30

串口日志打印:

Booting Linux on physical CPU 0x0
Linux version 3.14.38-6UL_ga-mfgtool+ge4944a5 (jenkins@yb5) (gcc version 4.9.2 (                                                                                        GCC) ) #1 SMP PREEMPT Tue Aug 18 20:28:28 CDT 2015
CPU: ARMv7 Processor revision 5 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
cma: CMA: reserved 64 MiB at 9c000000
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @9bbbe000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 130048
Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc cma=64m g_mass_stora                                                                                        ge.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_stor                                                                                        age.idProduct=0x37FF g_mass_storage.iSerialNumber= clk_ignore_unused
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: 436604K/524288K available (6663K kernel code, 347K rwdata, 2244K rodata,                                                                                       352K init, 418K bss, 87684K reserved, 0K highmem)
Virtual kernel memory layout:
    vector: 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
    lowmem: 0x80000000 - 0xa0000000   ( 512 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (14 MB)
      .text : 0x80008000 - 0x808bae40   (8908 kB)
      .init : 0x808bb000 - 0x80913080   ( 353 kB)
      .data : 0x80914000 - 0x8096aea0   ( 348 kB)
       .bss : 0x8096aeac - 0x809d38b0   ( 419 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
      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
Switching to timer-based delay loop
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
clocksource_of_init: no matching clocksources found
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 write 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 0x80657a78 - 0x80657ae8
Brought up 1 CPUs
SMP: Total of 1 processors activated (6.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
Use WDOG1 as reset source
syscon 20c8000.anatop: regmap registered
vdd3p0: 2625 <--> 3400 mV at 3000 mV
cpu: 725 <--> 1450 mV at 1150 mV
vddsoc: 725 <--> 1450 mV at 1175 mV
syscon 20e4000.iomuxc-gpr: regmap registered
syscon 21ac000.romcp: regmap registered
syscon 21bc000.ocotp-ctrl: regmap registered
failed to find ocotp node
failed to find ocotp node
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
20dc000.gpc supply pu not found, using dummy regulator
bio: create slab <bio-0> at 0
mxs-dma 1804000.dma-apbh: initialized
VSD_3V3: 3300 mV
usb_otg1_vbus: 5000 mV
vref-3v3: 3300 mV
SCSI subsystem initialized
usbcore: registered new inte**ce driver usbfs
usbcore: registered new inte**ce driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
Linux video capture inte**ce: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l                                                                                        inux.it>
PTP clock support registered
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
cfg80211: Calling CRDA to update world regulatory domain
Switched 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)
TCP: reno registered
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.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 7304K (83801000 - 83f23000)
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 256 (order: 2, 16384 bytes)
VFS: Disk quotas dquot_6.5.2
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.22)
msgmni has been set to 995
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
backlight.9 supply power not found, using dummy regulator
MIPI DSI driver module loaded
21c8000.lcdif supply lcd not found, using dummy regulator
mxsfb 21c8000.lcdif: failed to find mxc display driver
Console: switching 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 firmware 3.1
imx-sdma 20ec000.sdma: initialized
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a I                                                                                        MX
console enabled
serial: Freescale lpuart driver
imx sema4 driver is registered.
Initialized drm 1.1.0 20060810
Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
fsl-quadspi 21e0000.qspi: unrecognized JEDEC id ffffff
fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00                                                                                        :00:00
fec 2188000.ethernet (unregistered net_device): Using random MAC address: 56:db:                                                                                        b5:c4:83:44
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new inte**ce driver usb-storage
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
2184200.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
pxp-v4l2 pxp_v4l2.10: initialized
imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
sdhci: Secure Digital Host Controller Inte**ce driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: SDHCI controller on 2190000.usdhc using ADMA
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc using ADMA
usbcore: registered new inte**ce driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
Registering SWP/SWPB emulation handler
vref-3v3: disabling
usb_otg1_vbus: disabling
VSD_3V3: disabling
regulator-dummy: disabling
imx mcc test is registered.
Number of LUNs=8
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
Number of LUNs=1
LUN: removable file: (no medium)
Number of LUNs=1
g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
g_mass_storage gadget: g_mass_storage ready
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:13:42 UTC (8                                                                                        22)
clk: Not disabling unused clocks
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 352K (808bb000 - 80913000)
Starting UTP
uuc 0.5
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 0
g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ tar xf $FILE '
UTP: executing "tar xf $FILE "
UTP: sending Success to kernel for command $ tar xf $FILE .
utp_poll: pass returned.
UTP: received command '$ sh mksdcard.sh /dev/mmcblk1'
UTP: executing "sh mksdcard.sh /dev/mmcblk1"
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.000622 s, 1.6 MB/s
sfdisk: Warning: /dev/mmcblk1 is not a block device
sfdisk: Disk /dev/mmcblk1: cannot get geometry

Disk /dev/mmcblk1: 0 cylinders, 255 heads, 63 sectors/track
sfdisk:/dev/mmcblk1: unrecognized partition table type
Old situation:
sfdisk: No partitions found
sfdisk: Warning: given size (503) exceeds max allowable size (0)
New situation:
Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   IdSystem
/dev/mmcblk1p1         7+   509-   503-    514080    cW95 FAT32 (LBA)
/dev/mmcblk1p2       596+   596-   0          0   83Linux
/dev/mmcblk1p3         0      -      0          0    0Empty
/dev/mmcblk1p4         0      -      0          0    0Empty
sfdisk: Warning: partition 2 has size 0 but is not marked Empty
sfdisk: Warning: partition 1 extends past end of disk
Successfully wrote the new partition table


sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1                                                                                        )
to zero the first 512 bytes:dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
UTP: sending Success to kernel for command $ sh mksdcard.sh /dev/mmcblk1.
utp_poll: pass returned.
UTP: received command '$ dd if=/dev/zero of=/dev/mmcblk1 bs=1k seek=384 conv=fsy                                                                                        nc count=129'
UTP: executing "dd if=/dev/zero of=/dev/mmcblk1 bs=1k seek=384 conv=fsync count=                                                                                        129"
129+0 records in
129+0 records out
132096 bytes (132 kB) copied, 0.00274133 s, 48.2 MB/s
UTP: sending Success to kernel for command $ dd if=/dev/zero of=/dev/mmcblk1 bs=                                                                                        1k seek=384 conv=fsync count=129.
utp_poll: pass returned.
UTP: received command '$ echo 0 > /sys/block/mmcblk1boot0/force_ro'
UTP: executing "echo 0 > /sys/block/mmcblk1boot0/force_ro"
sh: /sys/block/mmcblk1boot0/force_ro: No such file or directory
UTP: sending Non-success to kernel for command $ echo 0 > /sys/block/mmcblk1boot                                                                                        0/force_ro.
utp_poll: exit with status 256

whl 发表于 2021-10-11 10:42:13

543042262 发表于 2021-10-11 09:26
串口日志打印:

Booting Linux on physical CPU 0x0


应该是选择的烧录工具不对
256M-nand的核心板选择mfgtool2-okmx6ul-c2-qt4-ddr256m-nand256m这个烧录工具,你选择的烧录工具应该是emmc核心板的

543042262 发表于 2021-10-11 13:56:40

whl 发表于 2021-10-11 10:42
应该是选择的烧录工具不对
256M-nand的核心板选择mfgtool2-okmx6ul-c2-qt4-ddr256m-nand256m这个烧录工 ...

按照你说的,OTG烧写成功了。然后拨码换成5,8为ON其他为OFF。启动后,串口打印如下。卡主了?

Display: TFT70AB-1024x600 (1024x600)
Video: 1024x600x16

NAND read: device 0 offset 0x400000, size 0x200000
2097152 bytes read: OK
display bmp cfb_console.c
In:    serial
Out:   serial
Err:   serial
Net:   FEC0
Error: FEC0 address not set.

Normal Boot
Hit any key to stop autoboot:0
nand boot..........

NAND read: device 0 offset 0xa00000, size 0x800000
8388608 bytes read: OK

NAND read: device 0 offset 0x840000, size 0x40000
262144 bytes read: OK
Kernel image @ 0x80800000 [ 0x000000 - 0x627bf8 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300cae9

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.38-6UL_ga-00001-g4ea478b (yangyang@developer-R                                                                                        H2485-V2) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011                                                                                        .07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Thu Jul 11 15:18:34 CST 2019
[    0.000000] CPU: ARMv7 Processor revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                                        n cache
[    0.000000] Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
[    0.000000] cma: CMA: reserved 64 MiB at 8c000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 8 pages/cpu @8bdbf000 s8832 r8192 d15744 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pag                                                                                        es: 60928
[    0.000000] Kernel command line: console=ttymxc0,115200 cma=64M root=/dev/mtd                                                                                        block5 rootfstype=yaffs2,calibrate=y
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 165600K/245760K available (7947K kernel code, 482K rwdata                                                                                        , 2800K rodata, 396K init, 433K bss, 80160K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]   vector: 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]   fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]   vmalloc : 0x90800000 - 0xff000000   (1768 MB)
[    0.000000]   lowmem: 0x80000000 - 0x90000000   ( 256 MB)
[    0.000000]   pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]   modules : 0x7f000000 - 0x7fe00000   (14 MB)
[    0.000000]       .text : 0x80008000 - 0x80a86f70   (10748 kB)
[    0.000000]       .init : 0x80a87000 - 0x80aea280   ( 397 kB)
[    0.000000]       .data : 0x80aec000 - 0x80b648a0   ( 483 kB)
[    0.000000]      .bss : 0x80b648ac - 0x80bd0e74   ( 434 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    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] Switching to timer-based delay loop
[    0.000019] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 14                                                                                        31655765682ns
[    0.002658] clocksource_of_init: no matching clocksources found
[    0.003029] Console: colour dummy device 80x30
[    0.003077] Calibrating delay loop (skipped), value calculated using timer fr                                                                                        equency.. 6.00 BogoMIPS (lpj=30000)
[    0.003107] pid_max: default: 32768 minimum: 301
[    0.003493] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003522] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.005042] Initializing cgroup subsys net_cls
[    0.005132] CPU: Testing write buffer coherency: ok
[    0.005631] /cpus/cpu@0 missing clock-frequency property
[    0.005674] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005736] Setting up static identity map for 0x8078bd80 - 0x8078bdd8
[    0.040751] Brought up 1 CPUs
[    0.040787] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.040804] CPU: All CPU(s) started in SVC mode.
[    0.042133] devtmpfs: initialized
[    0.052491] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7                                                                                       rev 5
[    0.053268] pinctrl core: initialized pinctrl subsystem
[    0.054169] regulator-dummy: no parameters
[    0.059476] NET: Registered protocol family 16
[    0.075815] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.077430] cpuidle: using governor ladder
[    0.077460] cpuidle: using governor menu
[    0.077834] Use WDOG1 as reset source
[    0.094569] syscon 20c8000.anatop: regmap registe                                                                                        red
[    0.095272] vdd3p0: 2625 <--> 3400 mV at 3000 mV
[    0.096123] cpu: 725 <--> 1450 mV at 1150 mV
[    0.096954] vddsoc: 725 <--> 1450 mV at 1175 mV
[    0.102245] syscon 20e4000.iomuxc-gpr: regmap reg                                                                                        istered
[    0.108460] syscon 21ac000.romcp: regmap register                                                                                        ed
[    0.109871] syscon 21bc000.ocotp-ctrl: regmap reg                                                                                        istered
[    0.115206] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                                                       registers.
[    0.115239] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.120063] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.122797] 20dc000.gpc supply pu not found, using dummy regulator
[    0.157973] bio: create slab <bio-0> at 0
[    0.164573] mxs-dma 1804000.dma-apbh: initialized
[    0.165509] VSD_3V3: 3300 mV
[    0.166236] usb_otg1_vbus: 5000 mV
[    0.166864] vref-3v3: 3300 mV
[    0.168114] gpio_dvfs: 1300 <--> 1400 mV at 1400 mV
[    0.169364] i2c-core: driver using legacy suspend method
[    0.169390] i2c-core: driver using legacy resume method
[    0.170589] SCSI subsystem initialized
[    0.171931] usbcore: registered new inte**ce driver usbfs
[    0.172111] usbcore: registered new inte**ce driver hub
[    0.172442] usbcore: registered new device driver usb
[    0.177241] i2c i2c-0: IMX I2C adapter registered
[    0.177488] Linux video capture inte**ce: v2.00
[    0.177668] pps_core: LinuxPPS API ver. 1 registered
[    0.177690] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                        tti <giometti@linux.it>
[    0.177752] PTP clock support registered
[    0.180231] MIPI CSI2 driver module loaded
[    0.180763] Advanced Linux Sound Architecture Driver Initialized.
[    0.182831] Bluetooth: Core ver 2.18
[    0.182960] NET: Registered protocol family 31
[    0.182983] Bluetooth: HCI device and connection manager initialized
[    0.183023] Bluetooth: HCI socket layer initialized
[    0.183056] Bluetooth: L2CAP socket layer initialized
[    0.183139] Bluetooth: SCO socket layer initialized
[    0.184893] Switched to clocksource mxc_timer1
[    0.186753] cfg80211: Calling CRDA to update world regulatory domain
[    0.210348] NET: Registered protocol family 2
[    0.212331] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.212416] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.212506] TCP: Hash tables configured (established 2048 bind 2048)
[    0.212622] TCP: reno registered
[    0.212659] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.212717] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.213272] NET: Registered protocol family 1
[    0.214029] RPC: Registered named UNIX socket transport module.
[    0.214061] RPC: Registered udp transport module.
[    0.214078] RPC: Registered tcp transport module.
[    0.214094] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.216799] imx rpmsg driver is registered.
[    0.218427] Bus freq driver module loaded
[    0.220341] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.240044] VFS: Disk quotas dquot_6.5.2
[    0.240796] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.246888] NFS: Registering the id_resolver key type
[    0.247013] Key type id_resolver registered
[    0.247037] Key type id_legacy registered
[    0.247123] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.248961] fuse init (API version 7.22)
[    0.250208] msgmni has been set to 451
[    0.258479] io scheduler noop registered
[    0.258511] io scheduler deadline registered
[    0.258986] io scheduler cfq registered (default)
[    0.259974] imx-weim 21b8000.weim: Driver registered.
[    0.265488] backlight.9 supply power not found, using dummy regulator
[    0.268519] MIPI DSI driver module loaded
[    0.272190] 21c8000.lcdif supply lcd not found, using dummy regulator
[    0.276111] mxsfb 21c8000.lcdif: failed to find mxc display driver
[    0.276926] mxsfb 21c8000.lcdif: initialized
[    0.284045] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.284253] imx-sdma 20ec000.sdma: loaded firmware 3.1
[    0.292842] imx-sdma 20ec000.sdma: initialized
[    0.294113] Serial: IMX driver
[    0.294766] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud =                                                                                       5000000) is a IMX
[    1.030519] console enabled
[    1.035599] serial: Freescale lpuart driver
[    1.041493] imx sema4 driver is registered.
[    1.046065] Initialized drm 1.1.0 20060810
[    1.051765] Initialized vivante 1.0.0 20120216 on minor 0
[    1.079433] brd: module loaded
[    1.094502] loop: module loaded
[    1.103084] CAN device driver inte**ce
[    1.109795] 2188000.ethernet supply phy not found, using dummy regulator
[    1.117842] pps pps0: new PPS source ptp0
[    1.122419] fec 2188000.ethernet (unregistered net_device): Invalid MAC addre                                                                                        ss: 00:00:00:00:00:00
[    1.131569] fec 2188000.ethernet (unregistered net_device): Using random MAC                                                                                       address: f2:d9:c1:b9:0b:47
[    1.141671] libphy: fec_enet_mii_bus: probed
[    1.148824] fec 2188000.ethernet eth0: registered PHC device 0
[    1.156234] PPP generic driver version 2.4.2
[    1.161073] PPP BSD Compression module registered
[    1.165968] PPP Deflate Compression module registered
[    1.171247] usbcore: registered new inte**ce driver asix
[    1.176932] usbcore: registered new inte**ce driver cdc_ether
[    1.182914] usbcore: registered new inte**ce driver cdc_eem
[    1.188942] usbcore: registered new inte**ce driver cdc_ncm
[    1.194690] GobiNet: Quectel_WCDMA&LTE_Linux&Android_GobiNet_Driver_V1.3.0
[    1.201820] usbcore: registered new inte**ce driver GobiNet
[    1.207613] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.214174] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.220050] usbcore: registered new inte**ce driver usb-storage
[    1.226511] usbcore: registered new inte**ce driver usbserial
[    1.232485] usbcore: registered new inte**ce driver usbserial_generic
[    1.239211] usbserial: USB Serial support registered for generic
[    1.245399] usbcore: registered new inte**ce driver ftdi_sio
[    1.251271] usbserial: USB Serial support registered for FTDI USB Serial Devi                                                                                        ce
[    1.258756] usbcore: registered new inte**ce driver option
[    1.264457] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.271588] usbcore: registered new inte**ce driver pl2303
[    1.277323] usbserial: USB Serial support registered for pl2303
[    1.283419] usbcore: registered new inte**ce driver cdc_xr_usb_serial
[    1.290020] xr_usb_serial_common: Exar USB UART (serial port) driver
[    1.296594] usbcore: registered new inte**ce driver usb_ehset_test
[    1.305033] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulat                                                                                        or
[    1.319919] 2184200.usb supply vbus not found, using dummy regulator
[    1.330286] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.335340] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.355002] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.362518] hub 1-0:1.0: USB hub found
[    1.366505] hub 1-0:1.0: 1 port detected
[    1.372663] mousedev: PS/2 mouse device common for all mice
[    1.380370] input: 20cc000.snvs-pwrkey as /devices/soc0/soc.0/2000000.aips-bu                                                                                        s/20cc000.snvs-pwrkey/input/input0
[    1.391282] snvs_pwrkey 20cc000.snvs-pwrkey: i.MX snvs powerkey probed
[    1.398195] <<-GTP-INFO->> GTP driver installing...
[    1.403621] <<-GTP-INFO->> GTP Driver Version: V2.4<2014/11/28>
[    1.409710] <<-GTP-INFO->> GTP Driver Built@15:17:54, Jul 11 2019
[    1.415869] <<-GTP-INFO->> GTP I2C Address: 0x5d
[    1.420559] 0-005d supply vdd_ana not found, using dummy regulator
[    1.426929] 0-005d supply vcc_i2c not found, using dummy regulator
[    1.433277] <<-GTP-INFO->> Guitar reset
[    1.566006] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Pr                                                                                        ocess reset.
[    1.574212] <<-GTP-INFO->> Guitar reset
[    1.694927] <<-GTP-ERROR->> GTP i2c test failed time 1.
[    1.715979] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Pr                                                                                        ocess reset.
[    1.724180] <<-GTP-INFO->> Guitar reset
[    1.844924] <<-GTP-ERROR->> GTP i2c test failed time 2.
[    1.865967] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Pr                                                                                        ocess reset.
[    1.874167] <<-GTP-INFO->> Guitar reset
[    1.994926] <<-GTP-ERROR->> GTP i2c test failed time 3.
[    2.015968] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Pr                                                                                        ocess reset.
[    2.024167] <<-GTP-INFO->> Guitar reset
[    2.144927] <<-GTP-ERROR->> GTP i2c test failed time 4.
[    2.165977] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Pr                                                                                        ocess reset.
[    2.174178] <<-GTP-INFO->> Guitar reset
[    2.294924] <<-GTP-ERROR->> GTP i2c test failed time 5.
[    2.314926] <<-GTP-ERROR->> I2C communication ERROR!
[    2.319950] goodix-ts: probe of 0-005d failed with error -5
[    2.326294] edt_ft5x06 0-0038: touchscreen probe failed
[    2.331593] edt_ft5x06: probe of 0-0038 failed with error -5
[    2.339377] input: iMX6UL TouchScreen Controller as /devices/virtual/input/in                                                                                        put2
[    2.351136] i2c-core: driver using legacy suspend method
[    2.357523] i2c-core: driver using legacy resume method
[    2.367915] rtc-rx8010 0-0032: Frequency stop was detected, probably due to a                                                                                       supply voltage drop
[    2.377495] rtc-rx8010 0-0032: Update timer was detected
[    2.383765] rtc-rx8010 0-0032: bad conditions detected, resetting date
[    2.396111] rtc-rx8010 0-0032: rtc core: registered rx8010 as rtc0
[    2.403698] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-r                                                                                        tc-lp as rtc1
[    2.412368] i2c /dev entries driver
[    2.416803] IR NEC protocol handler initialized
[    2.421371] IR RC5(x) protocol handler initialized
[    2.426250] IR RC6 protocol handler initialized
[    2.430805] IR JVC protocol handler initialized
[    2.435390] IR Sony protocol handler initialized
[    2.440032] IR RC5 (streamzap) protocol handler initialized
[    2.445655] IR SANYO protocol handler initialized
[    2.450381] IR MCE Keyboard/mouse protocol handler initialized
[    2.458925] pxp-v4l2 pxp_v4l2.10: initialized
[    2.463720] usbcore: registered new inte**ce driver uvcvideo
[    2.469584] USB Video Class driver (1.1.1)
[    2.474682] i2c-core: driver using legacy suspend method
[    2.480964] i2c-core: driver using legacy resume method
[    2.488155] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s                                                                                       (nowayout=0)
[    2.496752] Bluetooth: HCI UART driver ver 2.2
[    2.501232] Bluetooth: HCI H4 protocol initialized
[    2.506099] Bluetooth: HCI BCSP protocol initialized
[    2.511092] Bluetooth: HCIATH3K protocol initialized
[    2.516316] usbcore: registered new inte**ce driver bcm203x
[    2.522196] usbcore: registered new inte**ce driver btusb
[    2.527934] usbcore: registered new inte**ce driver ath3k
[    2.533629] usbcore: registered new inte**ce driver rtk_btusb
[    2.540065] sdhci: Secure Digital Host Controller Inte**ce driver
[    2.546331] sdhci: Copyright(c) Pierre Ossman
[    2.550711] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.560338] mmc0: no vqmmc regulator found
[    2.604967] mmc0: SDHCI controller on 2190000.usdhc using ADM                                                                                        A
[    2.627998] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    2.634398] nand: Micron MT29F2G08ABAGAWP
[    2.638483] nand: 256MiB, SLC, page size: 2048, OOB size: 128
[    2.645003] gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
[    2.652013] Scanning device for bad blocks
[    2.858746] 6 ofpart partitions found on MTD device gpmi-nand
[    2.864530] Creating 6 MTD partitions on "gpmi-nand":
[    2.869663] 0x000000000000-0x000000400000 : "boot"
[    2.877281] 0x000000400000-0x000000600000 : "logo"
[    2.884637] 0x000000600000-0x000000700000 : "ENV"
[    2.892049] 0x000000700000-0x000000a00000 : "DTB"
[    2.899589] 0x000000a00000-0x000001200000 : "kernel"
[    2.907461] 0x000001200000-0x000010000000 : "rootfs"
[    2.915536] gpmi-nand 1806000.gpmi-nand: driver registered.
[    2.924637] usbcore: registered new inte**ce driver usbhid
[    2.930345] usbhid: USB HID core driver
[    2.941392] fsl-asrc 2034000.asrc: driver registered
[    2.952095] imx-wm8960 sound.14: failed to find SAI platform device
[    2.958610] imx-wm8960: probe of sound.14 failed with error -22
[    2.967699] NET: Registered protocol family 26
[    2.972197] Netfilter messages via NETLINK v0.30.
[    2.977071] nfnl_acct: registering with nfnetlink.
[    2.982018] nf_conntrack version 0.5.0 (3611 buckets, 14444 max)
[    2.989409] ctnetlink v0.93: registering with nfnetlink.
[    2.995105] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    3.001679] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org                                                                                        >
[    3.009483] xt_time: kernel timezone is -0000
[    3.014576] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.020302] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    3.026871] arp_tables: (C) 2002 David S. Miller
[    3.031599] TCP: cubic registered
[    3.036330] NET: Registered protocol family 10
[    3.042748] sit: IPv6 over IPv4 tunneling driver
[    3.049187] NET: Registered protocol family 17
[    3.053712] can: controller area network core (rev 20120528 abi 9)
[    3.060194] NET: Registered protocol family 29
[    3.064676] can: raw protocol (rev 20120528)
[    3.069098] can: broadcast manager protocol (rev 20120528 t)
[    3.074816] can: netlink gateway (rev 20130117) max_hops=1
[    3.081063] Bluetooth: RFCOMM TTY layer initialized
[    3.086221] Bluetooth: RFCOMM socket layer initialized
[    3.091440] Bluetooth: RFCOMM ver 1.11
[    3.095297] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.100641] Bluetooth: BNEP filters: protocol multicast
[    3.105952] Bluetooth: BNEP socket layer initialized
[    3.110945] Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
[    3.117014] Bluetooth: HIDP socket layer initialized
[    3.122125] 8021q: 802.1Q VLAN Support v1.8
[    3.126516] Key type dns_resolver registered
[    3.149049] gpio_dvfs: disabling
[    3.152328] vref-3v3: disabling
[    3.155678] usb_otg1_vbus: disabling
[    3.159285] VSD_3V3: disabling
[    3.162366] regulator-dummy: disabling
[    3.167108] imx mcc test is registered.
[    3.172939] rtc-rx8010 0-0032: setting system clock to 1970-01-01 00:00:00 UT                                                                                        C (0)
[    3.199221] ALSA device list:
[    3.202230]   No soundcards found.
[    3.206679] yaffs: dev is 32505861 name is "mtdblock5" ro
[    3.212099] yaffs: passed flags ""
[    3.311032] random: nonblocking pool is initialized
[    3.370434] VFS: Mounted root (yaffs2 filesystem) readonly on device 31:5.
[    3.378572] devtmpfs: mounted
[    3.382376] Freeing unused kernel memory: 396K (80a87000 - 80aea000)
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
[    3.877665] udevd (89): /proc/89/oom_adj is deprecated, please use /proc/89/o                                                                                        om_score_adj instead.
Setting the hostname to freescale
Mounting filesystems
Starting inetd:
Starting syslogd and klogd
ifconfig: SIOCGIFFLAGS: No such device
Cannot find device "can0"
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
Cannot find device "can1"
ifconfig: SIOCGIFFLAGS: No such device
Reconfiguring network inte**ces... ifdown: inte**ce lo not configured
ifdown: inte**ce eth0 not configured
ifdown: inte**ce eth1 not configured
RTNETLINK answers: File exists
[   16.195787] fec 2188000.ethernet eth0: Freescale FEC PHY driver (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
[   16.245555] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Cannot find device "eth1"
Cannot find device "eth1"
Cannot find device "eth1"
done.
alsactl: load_state:1625: No soundcards found...
xres = 1024, yres = 600

whl 发表于 2021-10-12 14:45:33

543042262 发表于 2021-10-11 13:56
按照你说的,OTG烧写成功了。然后拨码换成5,8为ON其他为OFF。启动后,串口打印如下。卡主了?

Display ...

这是卡在屏幕校准界面了,如果没有屏幕的话,根据软件手册附录4的方法选择跳过屏幕校准就可以了
页: [1]
查看完整版本: OTG程序烧写问题