I am trying to port kernel 3.10 for custom board. I have added file in imx6q-XXX.dts and imx6qdl-XXX.dtsi . Also a defconfig for same has been added to arch/arm/configs/XXX_defconfig. Files I modified are
1) arch/arm/boot/dts/Makefile for
+ imx6q-XXX.dtb \
+ imx6q-XXX-hdcp.dtb \
+ imx6q-XXX-ldo.dtb \
+ imx6dl-XXX.dtb \
+ imx6dl-XXX-hdcp.dtb \
+ imx6dl-XXX-ldo.dtb \
2) arch/arm/boot/dts/imx6qdl.dtsi for MMC Card to take file system from mmc card.
usdhc1 {
pinctrl_usdhc1_1: usdhc1grp-1 {
fsl,pins = <
MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071
MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10071
MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17071
MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17071
MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17071
MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17071
MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x17071
>;
};
};
which gives the respective imx6q-XXX.dtb file . I am able to boot the board successfully (uart and ethernet is fine too) . However i am getting few error continuously. Below is log for same :-
U-Boot > bootm 0x12000000 - 0x18000000
## Booting kernel from Legacy Image at 12000000 ...
Image Name: Linux-3.10.17-svn322
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5260848 Bytes = 5 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Loading Kernel Image ... OK
OK
Using Device Tree in place at 18000000, end 1800e4aa
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 3.10.17-svn322 (supriya@supriya-desktop) (gcc version 4.8.1 (GCC) ) #1 SMP PREEMPT Tue Sep 16 15:42:13 IST 2014
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 Quad MAGIK2 Smart Device Board
cma: CMA: reserved 320 MiB at 3c000000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @81512000 s8896 r8192 d15680 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw
PID 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: 1024MB = 1024MB total
Memory: 697684k/697684k available, 350892k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80bfbc64 (12240 kB)
.init : 0x80bfc000 - 0x80c402c0 ( 273 kB)
.data : 0x80c42000 - 0x80c925e0 ( 322 kB)
.bss : 0x80c925e0 - 0x80cfb764 ( 421 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1048576 B
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
CPU identified as i.MX6Q, silicon rev 1.5
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80628828 - 0x80628880
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Use WDOG2 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1125 mV
vdd3p0: 2800 <--> 3150 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2425 mV
cpu: 725 <--> 1450 mV at 1150 mV
vddpu: 725 <--> 1450 mV at 1150 mV
vddsoc: 725 <--> 1450 mV at 1200 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
mxs-dma 110000.dma-apbh: initialized
usb_otg_vbus: 5000 mV
usb_h1_vbus: 5000 mV
wm8962-supply: no parameters
mipi_dsi_pwr_on: no parameters
sensor-supply: 3300 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 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.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
pureg-dummy: no parameters
imx6_busfreq busfreq.15: DDR medium rate not supported.
Bus freq driver module loaded
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 2002
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: WEIM driver registered.
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: loaded firmware 1.1
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: unrecognized pfuze chip ID!
pfuze100-regulator: probe of 1-0008 failed with error -5
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled
serial: Freescale lpuart driver
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
m25p80 spi32766.0: found mr25h256, expected m25p32
m25p80 spi32766.0: mr25h256 (32 Kbytes)
spi_imx 2008000.ecspi: probed
CAN device driver interface
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
elan-touch 2-0010: elan - Read Hello Packet Failed
elan-touch: probe of 2-0010 failed with error -22
egalax_ts 1-0004: Failed to read firmware version
egalax_ts: probe of 1-0004 failed with error -5
egalax_ts 2-0004: Failed to read firmware version
egalax_ts: probe of 2-0004 failed with error -5
input: max11801_ts as /devices/soc0/soc.1/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input0
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
mag3110 2-000e: check mag3110 chip ID
mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!
mag3110: probe of 2-000e failed with error -22
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
mma8451 0-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!
mma8451: probe of 0-001c failed with error -22
imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
mmc0: host does not support reading read-only switch. assuming write-enable.
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SS08G 7.40 GiB
mmcblk0: p1
Galcore version 4.6.9.9754
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered
mxc_vpu 2040000.vpu: VPU initialized
leds-gpio leds.20: pins are not configured from the driver
caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
caam 2100000.caam: job rings = 2, qi = 0
caam 2100000.caam: authenc-hmac-md5-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-aes-caam
caam 2100000.caam: authenc-hmac-md5-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-md5-cbc-des-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-des-caam
caam 2100000.caam: ecb-des-caam
caam 2100000.caam: ecb-arc4-caam
caam 2100000.caam: ecb-aes-caam
caam 2100000.caam: ctr-aes-caam
caam 2100000.caam: cbc-aes-caam
caam 2100000.caam: ecb-des3-caam
caam 2100000.caam: cbc-3des-caam
caam 2100000.caam: cbc-des-caam
caam 2100000.caam: fsl,sec-v4.0 algorithms registered in /proc/crypto
platform 2101000.jr0: registering rng-caam
platform caam_sm: caam_sm_test: 8-byte key test match OK
platform caam_sm: caam_sm_test: 16-byte key test match OK
platform caam_sm: caam_sm_test: 32-byte key test match OK
platform caam_secvio.35: security violation service handlers armed
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
i2c-core: driver [cs42888] using legacy suspend method
i2c-core: driver [cs42888] using legacy resume method
wm8962 0-001a: Failed to read ID register
wm8962: probe of 0-001a failed with error -5
fsl-hdmi-dai hdmi_audio.16: failed to probe. Load HDMI-video first.
fsl-hdmi-dai: probe of hdmi_audio.16 failed with error -12
imx-wm8962 sound.28: failed to find codec platform device
imx-wm8962: probe of sound.28 failed with error -22
imx-audio-hdmi sound-hdmi.29: initialize HDMI-audio failed. load HDMI-video first!
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
imx6-cpufreq imx6-cpufreq.0: failed to get regulators
imx6-cpufreq: probe of imx6-cpufreq.0 failed with error -2
vddpu: disabling
input: gpio-keys.27 as /devices/soc0/gpio-keys.27/input/input1
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
ALSA device list:
No soundcards found.
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
EXT3-fs (mmcblk0p1): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (mmcblk0p1): error: couldn't mount because of unsupported optional features (244)
EXT4-fs (mmcblk0p1): recovery complete
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:1.
devtmpfs: mounted
Freeing unused kernel memory: 272K (80bfc000 - 80c40000)
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udevd[194]: starting version 182
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
EXT4-fs (mmcblk0p1): re-mounted. Opts: data=ordered
Populating dev cache
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1729: No soundcards found...
fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:05, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.21.1) startedimx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Sending discover...
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
libphy: 2188000.ethernet:05 - Link is Up - 100/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Sending discover...
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Sending select for 10.20.1.26...
Lease of 10.20.1.26 obtained, lease time 518400
/etc/udhcpc.d/50default: Adding DNS 10.20.1.4
/etc/udhcpc.d/50default: Adding DNS 4.4.4.4
done.
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Starting rpcbind daemon...imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
done.
Wed Sep 17 06:50:00 UTC 2014
INIT: Entering runlevel: 5
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
done
starting mountd: done
starting statd: done
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
Starting Telephony daemon
Starting Lighttpd Web Server: lighttpd.
imx-audio: setting default mixer settings.
Use the default setting in the audio driver
Starting OProfileUI server
Running local boot scripts (/etc/rc.local).
Stopping Bootlog daemon: bootlogd.
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
Poky Next (Yocto Project Reference Distro) 1.4+snapshot-20140917 imx6qsabresd /dev/ttymxc0
imx6qsabresd login: imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_TXD1 already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
imx6q-pinctrl 20e0000.iomuxc: pin-123 (2190000.usdhc) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 123 on device 20e0000.iomuxc
sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back
What should i modify to remove these errors.
Hi sn
seems MX6Q_PAD_ENET_TXD1 is already used somewhere
(on i.MX6 SDB board it is used as USB_H1_PWR_EN signal)
Best regards
igor
Hi Igor, which sabre sd board is this. I have one here and I don't see USB_H1_PWR
is defined. It is interesting for me because I am chasing another issue on ethernet on
a sabresd based custom board. Which iomux pad structure has that USB_H1_PWR for iomux ?
Thanks
Sinan Akman
Hi igor,
Well i am having a doubt regarding my approach for porting 3.10 kernel for my custom board. Can you please verify the same and guide me . Here's what I am following :-
I am trying to port kernel 3.10 for custom board. I have added file in imx6q-XXX-hdcp.dts , imx6q-XXX-ldo.dts , imx6q-XXX.dts and imx6qdl-XXX.dtsi .
Also a defconfig for same custom board has been added to arch/arm/configs/XXX_defconfig. Files I modified are
1) arch/arm/boot/dts/Makefile for
+ imx6q-XXX.dtb \
+ imx6q-XXX-hdcp.dtb \
+ imx6q-XXX-ldo.dtb \
+ imx6dl-XXX.dtb \
+ imx6dl-XXX-hdcp.dtb \
+ imx6dl-XXX-ldo.dtb \
2) arch/arm/boot/dts/imx6qdl.dtsi for MMC Card to take file system from mmc card.
usdhc1 {
pinctrl_usdhc1_1: usdhc1grp-1 {
fsl,pins = <
MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071
MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10071
MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17071
MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17071
MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17071
MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17071
>;
};
};
which gives the respective imx6q-XXX.dtb file . I am able to boot the board successfully (uart and ethernet is fine too) . And the board boots from SD card. (rootfs from card). uImage i am taking using tftp.
My doubts are
1. Is it correct to modify "imx6qd.dtsi" or "imx6q.dtsi" ?? Can I modify these files for custom board or these are some generic files which should not be modified.
2. Where should i add board specific pin muxing ?? should they be added only in board specific .dts files ??
I simply added in imx6q-XXX.dts file
&usdhc1{
pinctrl-names ="default";
pinctrl-0 = <>
.............................
status = "okay";
};
and i was able to boot from sd card (using sdhc1) for my custom board(XXX).
Since i simpy made a copy of sabersd .dts files configuration were same as sabersd. Since i wanted to enable sdhc1 for my custom board i added above struct tom custom board specific .dts file ...
Can you please verify and suggest me about my above doubts..
Thank you Igor
Hi sn
yes your approach is correct. One can change *.dtsi files too,
boards specifics can be changed in dts file. Device tree usage
is described more on below links
http://devicetree.org/Device_Tree_Usage
http://xillybus.com/tutorials/device-tree-zynq-1
Best regards
igor
Igor ,
Then why exactly we need these generic files if we can modify them for any board. Also what is the difference between "imx6qd.dtsi" , "imx6q.dtsi" and sabresd.dts files .
Also I have a query regarding addition of of USBH1 to arch/arm/boot/dts/imx6qdl.dtsi
Currently i see only
usbotg {
pinctrl_usbotg_1: usbotggrp-1 {
fsl,pins = <
MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
>;
};
pinctrl_usbotg_2: usbotggrp-2 {
fsl,pins = <
MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
>;
};
};
usbh2 {
pinctrl_usbh2_1: usbh2grp-1 {
fsl,pins = <
MX6QDL_PAD_RGMII_TXC__USB_H2_DATA 0x40013030
MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x40013030
>;
};
pinctrl_usbh2_2: usbh2grp-2 {
fsl,pins = <
MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x40017030
>;
};
};
usbh3 {
pinctrl_usbh3_1: usbh3grp-1 {
fsl,pins = <
MX6QDL_PAD_RGMII_RX_CTL__USB_H3_DATA 0x40013030
MX6QDL_PAD_RGMII_RXC__USB_H3_STROBE 0x40013030
>;
};
pinctrl_usbh3_2: usbh3grp-2 {
fsl,pins = <
MX6QDL_PAD_RGMII_RXC__USB_H3_STROBE 0x40017030
>;
};
};
However I wish to add USBH1 same as above for our custom board in arch/arm/boot/dts/imx6qdl.dtsi
These were the configuration we were using in previous kernel version for usbh1
/* USB ID */
MX6Q_PAD_GPIO_1__GPIO_1_1,
/* USB power pin */
MX6Q_PAD_CSI0_PIXCLK__GPIO_5_18,
/* USB OC pin */
MX6Q_PAD_CSI0_DATA_EN__GPIO_5_20,
MX6Q_PAD_ENET_TXD1__GPIO_1_29, /* PWR_EN */
/* USB HUB RST */
MX6Q_PAD_ENET_CRS_DV__GPIO_1_25,
So what I understand same PINS need to be added in new kernel3.10 in "arch/arm/boot/dts/imx6qdl.dtsi" also.
But I fail to find out what should be the proper way ? How do we decide grp1...grp2.(pinctrl_usbh3_1: usbh3grp-1, pinctrl_usbh3_2: usbh3grp-2) for usbh1 as above used for usbh2 and usbh3..
Thanks again ..
*.dtsi file is included to *.dts file.
Name of files may be different since there many different
boards.
~ igor
I am porting 3.10 kernel to our custom board. Below are logs I am getting for USB interface .Can anybody find the reason for these continous logs for USB. However I am able mount the USB device as USBH1. Also the continous log comes only when USB is not mount , if I connect the USB it stops reoccurring, else continuously comes.
(This message :- usb 1-1: reset high-speed USB device number 2 using ci_hdrc)
U-Boot > bootm 0x12000000 - 0x18000000
## Booting kernel from Legacy Image at 12000000 ...
Image Name: Linux-3.10.17-svn322
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5270864 Bytes = 5 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Loading Kernel Image ... OK
OK
Using Device Tree in place at 18000000, end 1800e476
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 3.10.17-svn322 (supriya@supriya-desktop) (gcc version 4.8.1 (GCC) ) #11 SMP PREEMPT Tue Sep 23 18:14:29 IST 2014
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 Quad MAGIK2 Smart Device Board
cma: CMA: reserved 320 MiB at 3c000000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @81514000 s8896 r8192 d15680 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait rw consoleblank=0 ip=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 bpp=32 fbmem=10M fb0base=0x27b00000 vmalloc=400M
PID 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: 1024MB = 1024MB total
Memory: 697676k/697676k available, 350900k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80bfec44 (12252 kB)
.init : 0x80bff000 - 0x80c432c0 ( 273 kB)
.data : 0x80c44000 - 0x80c942e0 ( 321 kB)
.bss : 0x80c942e0 - 0x80cfd464 ( 421 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1048576 B
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
CPU identified as i.MX6Q, silicon rev 1.5
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x8062aab0 - 0x8062ab08
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Use WDOG2 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1125 mV
vdd3p0: 2800 <--> 3150 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2425 mV
cpu: 725 <--> 1450 mV at 1150 mV
vddpu: 725 <--> 1450 mV at 1150 mV
vddsoc: 725 <--> 1450 mV at 1200 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
imx6q_usb_init
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
mxs-dma 110000.dma-apbh: initialized
usb_otg_vbus: 5000 mV
usb_h1_vbus: 5000 mV
wm8962-supply: no parameters
mipi_dsi_pwr_on: no parameters
sensor-supply: 3300 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 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.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
pureg-dummy: no parameters
imx6_busfreq busfreq.15: DDR medium rate not supported.
Bus freq driver module loaded
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 2002
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: WEIM driver registered.
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: loaded firmware 1.1
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: unrecognized pfuze chip ID!
pfuze100-regulator: probe of 1-0008 failed with error -5
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled
serial: Freescale lpuart driver
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
m25p80 spi32766.0: found mr25h256, expected m25p32
m25p80 spi32766.0: mr25h256 (32 Kbytes)
spi_imx 2008000.ecspi: probed
CAN device driver interface
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
ci_hdrc ci_hdrc.0: doesn't support gadget
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.10.17-svn322 ehci_hcd
usb usb1: SerialNumber: ci_hdrc.0
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
elan-touch 2-0010: elan - Read Hello Packet Failed
elan-touch: probe of 2-0010 failed with error -22
egalax_ts 1-0004: Failed to read firmware version
egalax_ts: probe of 1-0004 failed with error -5
egalax_ts 2-0004: Failed to read firmware version
egalax_ts: probe of 2-0004 failed with error -5
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
mag3110 2-000e: check mag3110 chip ID
mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!
mag3110: probe of 2-000e failed with error -22
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
mma8451 0-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!
mma8451: probe of 0-001c failed with error -22
imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
usb 1-1: new high-speed USB device number 2 using ci_hdrc
mmc0: host does not support reading read-only switch. assuming write-enable.
usb 1-1: New USB device found, idVendor=0424, idProduct=2512
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
mmc0: new high speed SDHC card at address aaaa
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 2 ports detected
mmcblk0: mmc0:aaaa SS08G 7.40 GiB
mmcblk0: p1
Galcore version 4.6.9.9754
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered
mxc_vpu 2040000.vpu: VPU initialized
leds-gpio leds.20: pins are not configured from the driver
usb 1-1.2: new high-speed USB device number 3 using ci_hdrc
caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
caam 2100000.caam: job rings = 2, qi = 0
caam 2100000.caam: authenc-hmac-md5-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-aes-caam
caam 2100000.caam: authenc-hmac-md5-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-des-caam
usb 1-1.2: New USB device found, idVendor=8564, idProduct=1000
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: Mass Storage Device
caam 2100000.caam: authencesn-hmac-sha256-cbc-des-caam
usb 1-1.2: Manufacturer: JetFlash
caam 2100000.caam: ecb-des-caam
usb 1-1.2: SerialNumber: 99TL2DWA1OQMAIUS
caam 2100000.caam: ecb-arc4-caam
caam 2100000.caam: ecb-aes-caam
usb-storage 1-1.2:1.0: USB Mass Storage device detected
caam 2100000.caam: ctr-aes-caam
scsi0 : usb-storage 1-1.2:1.0
caam 2100000.caam: cbc-aes-caam
caam 2100000.caam: ecb-des3-caam
caam 2100000.caam: cbc-3des-caam
caam 2100000.caam: cbc-des-caam
caam 2100000.caam: fsl,sec-v4.0 algorithms registered in /proc/crypto
platform 2101000.jr0: registering rng-caam
platform caam_sm: caam_sm_test: 8-byte key test match OK
platform caam_sm: caam_sm_test: 16-byte key test match OK
platform caam_sm: caam_sm_test: 32-byte key test match OK
platform caam_secvio.35: security violation service handlers armed
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
i2c-core: driver [cs42888] using legacy suspend method
i2c-core: driver [cs42888] using legacy resume method
wm8962 0-001a: Failed to read ID register
wm8962: probe of 0-001a failed with error -5
fsl-hdmi-dai hdmi_audio.16: failed to probe. Load HDMI-video first.
fsl-hdmi-dai: probe of hdmi_audio.16 failed with error -12
imx-wm8962 sound.28: failed to find codec platform device
imx-wm8962: probe of sound.28 failed with error -22
imx-audio-hdmi sound-hdmi.29: initialize HDMI-audio failed. load HDMI-video first!
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
imx6-cpufreq imx6-cpufreq.0: failed to get regulators
imx6-cpufreq: probe of imx6-cpufreq.0 failed with error -2
vddpu: disabling
input: gpio-keys.27 as /devices/soc0/gpio-keys.27/input/input0
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
ALSA device list:
No soundcards found.
EXT4-fs (mmcblk0p1): warning: maximal mount count reached, running e2fsck is recommended
EXT4-fs (mmcblk0p1): recovery complete
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:1.
devtmpfs: mounted
Freeing unused kernel memory: 272K (80bff000 - 80c43000)
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udevd[190]: starting version 182
scsi 0:0:0:0: Direct-Access JetFlash Transcend 8GB 1100 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
EXT4-fs (mmcblk0p1): re-mounted. Opts: data=ordered
Populating dev cache
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1729: No soundcards found...
Configuring network interfaces... fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:05, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.21.1) started
Sending discover...
libphy: 2188000.ethernet:05 - Link is Up - 100/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending select for 10.20.1.26...
Lease of 10.20.1.26 obtained, lease time 518400
/etc/udhcpc.d/50default: Adding DNS 10.20.1.4
/etc/udhcpc.d/50default: Adding DNS 4.4.4.4
done.
Starting rpcbind daemon...done.
Wed Sep 17 06:53:00 UTC 2014
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
done
starting mountd: done
starting statd: done
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
Starting Telephony daemon
Starting Lighttpd Web Server: lighttpd.
imx-audio: setting default mixer settings.
Use the default setting in the audio driver
Starting OProfileUI server
Running local boot scripts (/etc/rc.local).
Stopping Bootlog daemon: bootlogd.
Poky Next (Yocto Project Reference Distro) 1.4+snapshot-20140917 imx6qsabresd /dev/ttymxc0
imx6qsabresd login: root
root@imx6qsabresd:~# usb 1-1.2: USB disconnect, device number 3
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1: reset high-speed USB device number 2 using ci_hdrc
root@imx6qsabresd:~# ls usb 1-1: reset high-speed USB device number 2 using ci_hdrc
/sys/usb 1-1: reset high-speed USB device number 2 using ci_hdrc
ususb 1-1: reset high-speed USB device number 2 using ci_hdrc usb 1-1: reset high-speed USB device number 2 using ci_hdrc
^C
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
^C
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
ls /sys/bus/usb/
devices/ drivers_autoprobe uevent
drivers/ drivers_probe
root@imx6qsabresd:~# ls /sys/bus/usb/usb 1-1: reset high-speed USB device number 2 using ci_hdrc
devices drivers_autoprobe uevent
drivers drivers_probe
root@imx6qsabresd:~# ls /sys/bus/usb/usb 1-1: reset high-speed USB device number 2 using ci_hdrc
devices/usb 1-1: reset high-speed USB device number 2 using ci_hdrc
1-0:1.0 1-1 1-1:1.0 usb1
Starting OpenBSD Secure Shell server: sshd
done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
done
starting mountd: done
starting statd: done
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
Starting Telephony daemon
Starting Lighttpd Web Server: lighttpd.
imx-audio: setting default mixer settings.
Use the default setting in the audio driver
Starting OProfileUI server
Running local boot scripts (/etc/rc.local).
Stopping Bootlog daemon: bootlogd.
Poky Next (Yocto Project Reference Distro) 1.4+snapshot-20140917 imx6qsabresd /dev/ttymxc0
imx6qsabresd login: usb 1-1: reset high-speed USB device number 2 using ci_hdrc
ootusb 1-1: reset high-speed USB device number 2 using ci_hdrc
root@imx6qsabresd:~#
root@imx6qsabresd:~#
root@imx6qsabresd:~# usb 1-1: reset high-speed USB device number 2 using ci_hdrc
usb 1-1.2: new high-speed USB device number 3 using ci_hdrc
usb-storage 1-1.2:1.0: USB Mass Storage device detected
scsi0 : usb-storage 1-1.2:1.0
scsi 0:0:0:0: Direct-Access JetFlash Transcend 8GB 1100 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails
Igor ....
Also I have a query regarding addition of of USBH1 to arch/arm/boot/dts/imx6qdl.dtsi
Currently i see only
usbotg {
pinctrl_usbotg_1: usbotggrp-1 {
fsl,pins = <
MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
>;
};
pinctrl_usbotg_2: usbotggrp-2 {
fsl,pins = <
MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
>;
};
};
usbh2 {
pinctrl_usbh2_1: usbh2grp-1 {
fsl,pins = <
MX6QDL_PAD_RGMII_TXC__USB_H2_DATA 0x40013030
MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x40013030
>;
};
pinctrl_usbh2_2: usbh2grp-2 {
fsl,pins = <
MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x40017030
>;
};
};
usbh3 {
pinctrl_usbh3_1: usbh3grp-1 {
fsl,pins = <
MX6QDL_PAD_RGMII_RX_CTL__USB_H3_DATA 0x40013030
MX6QDL_PAD_RGMII_RXC__USB_H3_STROBE 0x40013030
>;
};
pinctrl_usbh3_2: usbh3grp-2 {
fsl,pins = <
MX6QDL_PAD_RGMII_RXC__USB_H3_STROBE 0x40017030
>;
};
};
However I wish to add USBH1 same as above for our custom board in arch/arm/boot/dts/imx6qdl.dtsi
These were the configuration we were using in previous kernel version for usbh1
/* USB ID */
MX6Q_PAD_GPIO_1__GPIO_1_1,
/* USB power pin */
MX6Q_PAD_CSI0_PIXCLK__GPIO_5_18,
/* USB OC pin */
MX6Q_PAD_CSI0_DATA_EN__GPIO_5_20,
MX6Q_PAD_ENET_TXD1__GPIO_1_29, /* PWR_EN */
/* USB HUB RST */
MX6Q_PAD_ENET_CRS_DV__GPIO_1_25,
So what I understand same PINS need to be added in new kernel3.10 in "arch/arm/boot/dts/imx6qdl.dtsi" also.
But I fail to find out what should be the proper way ? How do we decide grp1...grp2.(pinctrl_usbh3_1: usbh3grp-1, pinctrl_usbh3_2: usbh3grp-2) for usbh1 as above used for usbh2 and usbh3..
Thanks again ..
Hi Igor, I think it was Sn Ng who asked the questions but thanks for your help here.
Regards
Sinan Akman
Hey ..Can you please share the path of the file where I should disable it (USB_H1_PWR_EN )
thank you
Thank you i am able to resolve the above error. :smileyhappy:
Hi supriya negi,
Can you please share how did you resolve this error. I am also trying to enable UART3 and UART 4 in Imx 6 board.
i made changes in linux/arch/arm/boot/dts/im6qdl-iwg15s-pico.dtsi file for UART
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
iomuxc_imx6q_pico: iomuxc-imx6q-picogrp {
status = "okay";
};
};
&iomuxc_imx6q_pico
{
pinctrl_uart3: uart3grp {
fsl,pins = <
MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
>;
};
pinctrl_uart4: uart4grp{
fsl,pins = <
MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 /* UART4_RX */
MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 /* UART4_TX */
>;
};
};
After power On no pulses on DSO..
Please look below log regarding UART:
....
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a I MX
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a I MX
console [ttymxc1] enabled
imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_EIM_D25 already requested by 20e000 0.iomuxc; cannot claim for 21ec000.serial
imx6dl-pinctrl 20e0000.iomuxc: pin-90 (21ec000.serial) status -22
imx6dl-pinctrl 20e0000.iomuxc: could not request pin 90 (MX6DL_PAD_EIM_D25) from group uart3grp on device 20e0000.iomuxc
imx-uart 21ec000.serial: Error applying setting, reverse things back
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a I MX
imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW0 already requested by 20e00 00.iomuxc; cannot claim for 21f0000.serial
imx6dl-pinctrl 20e0000.iomuxc: pin-150 (21f0000.serial) status -22
imx6dl-pinctrl 20e0000.iomuxc: could not request pin 150 (MX6DL_PAD_KEY_ROW0) fr om group uart4grp on device 20e0000.iomuxc
imx-uart 21f0000.serial: Error applying setting, reverse things back
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a I MX
...
Thank you