Kernel stops booting at chipidea-driver after patching ethernet

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Kernel stops booting at chipidea-driver after patching ethernet

384 次查看
marru
Contributor I

Hey Community,

first i got a problem with Ethernet. The Problem was, that Phy never startet and yocto (kirkstone) was not able to fetch device.

I patched the kernel descriped here:

Solved: Re: i.MX6UL ENET1 (with LAN8720A PHY) working in U... - NXP Community

by commenting 

fec_enet_clk_enable(ndev, false);

 

From that point, the phy start but:

at ci_hdcr-imx brings the kernel absolut to stop.

 

Here is the Bootlog of System where bootet (before patching ethernet:

 

破坏者
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.60-5.15.60-2.1.0+ge1b43282a845 (oe-user@oe-host) (arm-fslc-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Tue Oct 11 20:19:31 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: ARMour6ul by Markus Rupp
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000083ffffff]
[ 0.000000] node 0: [mem 0x0000000084000000-0x0000000085ffffff]
[ 0.000000] node 0: [mem 0x0000000086000000-0x000000009fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 12 pages/cpu s17164 r8192 d23796 u49152
[ 0.000000] pcpu-alloc: s17164 r8192 d23796 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 137796K/524288K available (12288K kernel code, 1334K rwdata, 4184K rodata, 1024K init, 433K bss, 58812K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000054] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002991] Console: colour dummy device 80x30
[ 0.003112] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.003170] pid_max: default: 32768 minimum: 301
[ 0.003667] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003728] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005582] CPU: Testing write buffer coherency: ok
[ 0.006285] CPU0: update cpu_capacity 1024
[ 0.006338] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.008671] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.009084] rcu: Hierarchical SRCU implementation.
[ 0.010357] smp: Bringing up secondary CPUs ...
[ 0.010403] smp: Brought up 1 node, 1 CPU
[ 0.010437] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.010469] CPU: All CPU(s) started in SVC mode.
[ 0.011536] devtmpfs: initialized
[ 0.023682] Duplicate name in lcdif@21c8000, renamed to "display#1"
[ 0.027320] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.027946] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.028025] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.055226] pinctrl core: initialized pinctrl subsystem
[ 0.059082] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.076865] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.079883] thermal_sys: Registered thermal governor 'step_wise'
[ 0.080266] cpuidle: using governor menu
[ 0.080635] CPU identified as i.MX6UL, silicon rev 1.2
[ 0.107906] vdd3p0: supplied by regulator-dummy
[ 0.108950] cpu: supplied by regulator-dummy
[ 0.110391] vddsoc: supplied by regulator-dummy
[ 0.136738] OF: /backlight: #pwm-cells = 3 found 2
[ 0.138812] No ATAGs?
[ 0.138963] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.139007] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.141821] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[ 0.144838] imx mu driver is registered.
[ 0.145730] imx rpmsg driver is registered.
[ 0.181337] Kprobes globally optimized
[ 0.223128] vgaarb: loaded
[ 0.224833] SCSI subsystem initialized
[ 0.225440] libata version 3.00 loaded.
[ 0.226055] usbcore: registered new interface driver usbfs
[ 0.226216] usbcore: registered new interface driver hub
[ 0.226353] usbcore: registered new device driver usb
[ 0.229250] i2c i2c-0: IMX I2C adapter registered
[ 0.230907] i2c i2c-1: IMX I2C adapter registered
[ 0.231632] mc: Linux media interface: v0.10
[ 0.231761] videodev: Linux video capture interface: v2.00
[ 0.232314] pps_core: LinuxPPS API ver. 1 registered
[ 0.232354] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.232424] PTP clock support registered
[ 0.235650] MIPI CSI2 driver module loaded
[ 0.235823] Advanced Linux Sound Architecture Driver Initialized.
[ 0.237647] Bluetooth: Core ver 2.22
[ 0.237802] NET: Registered PF_BLUETOOTH protocol family
[ 0.237836] Bluetooth: HCI device and connection manager initialized
[ 0.237881] Bluetooth: HCI socket layer initialized
[ 0.237915] Bluetooth: L2CAP socket layer initialized
[ 0.237972] Bluetooth: SCO socket layer initialized
[ 0.239181] clocksource: Switched to clocksource mxc_timer1
[ 0.239630] VFS: Disk quotas dquot_6.6.0
[ 0.239794] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.260799] NET: Registered PF_INET protocol family
[ 0.261383] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.263574] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.263689] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.263752] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.263872] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.264045] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.264244] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.264334] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.264769] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.266462] RPC: Registered named UNIX socket transport module.
[ 0.266523] RPC: Registered udp transport module.
[ 0.266547] RPC: Registered tcp transport module.
[ 0.266567] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.266603] PCI: CLS 0 bytes, default 64
[ 0.267787] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.270784] OPTEE busfreq Supported
[ 0.271225] Bus freq driver module loaded
[ 0.273489] Initialise system trusted keyrings
[ 0.274740] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.290692] NFS: Registering the id_resolver key type
[ 0.290858] Key type id_resolver registered
[ 0.290889] Key type id_legacy registered
[ 0.291137] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.291177] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.291274] jffs2: version 2.2. (NAND) \xc2\xa9 2001-2006 Red Hat, Inc.
[ 0.292528] fuse: init (API version 7.34)
[ 0.528974] Key type asymmetric registered
[ 0.529035] Asymmetric key parser 'x509' registered
[ 0.529312] io scheduler mq-deadline registered
[ 0.529358] io scheduler kyber registered
[ 0.538485] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.538944] OF: /backlight: #pwm-cells = 3 found 2
[ 0.539021] of_pwm_get(): can't parse "pwms" property
[ 0.539050] pwm-backlight backlight: unable to request PWM
[ 0.539081] pwm-backlight: probe of backlight failed with error -22
[ 0.546059] mxsfb 21c8000.lcdif: supply lcd not found, using dummy regulator
[ 0.656858] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 0.670235] Console: switching to colour frame buffer device 128x37
[ 0.763289] mxsfb 21c8000.lcdif: initialized
[ 0.772984] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.773054] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.777041] mxs-dma 1804000.dma-apbh: initialized
[ 0.786621] pfuze100-regulator 0-0008: unrecognized pfuze chip ID!
[ 0.790173] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 28, base_baud = 5000000) is a IMX
[ 1.642733] printk: console [ttymxc0] enabled
[ 1.649680] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 68, base_baud = 5000000) is a IMX
[ 1.660349] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 69, base_baud = 5000000) is a IMX
[ 1.671627] imx sema4 driver is registered.
[ 1.710569] brd: module loaded
[ 1.729004] loop: module loaded
[ 1.734407] imx ahci driver is registered.
[ 1.747246] tun: Universal TUN/TAP device driver, 1.6
[ 1.752919] CAN device driver interface
[ 1.830092] pps pps0: new PPS source ptp0
[ 1.837266] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.844223] fec 20b4000.ethernet: Using random MAC address: 96:d0:26:6f:77:1f
[ 1.857740] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.929963] pps pps1: new PPS source ptp1
[ 1.937393] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.944379] fec 2188000.ethernet: Using random MAC address: f2:54:b9:65:92:15
[ 1.953634] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.961114] usbcore: registered new interface driver r8152
[ 1.966761] usbcore: registered new interface driver lan78xx
[ 1.972684] usbcore: registered new interface driver asix
[ 1.978196] usbcore: registered new interface driver ax88179_178a
[ 1.984600] usbcore: registered new interface driver cdc_ether
[ 1.990649] usbcore: registered new interface driver smsc95xx
[ 1.996500] usbcore: registered new interface driver net1080
[ 2.002321] usbcore: registered new interface driver cdc_subset
[ 2.008360] usbcore: registered new interface driver zaurus
[ 2.014104] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.021775] usbcore: registered new interface driver cdc_ncm
[ 2.027463] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.034065] ehci-pci: EHCI PCI platform driver
[ 2.038742] usbcore: registered new interface driver usb-storage
[ 2.051101] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[ 2.057333] SPI driver ads7846 has no spi_device_id for ti,ads7843
[ 2.063625] SPI driver ads7846 has no spi_device_id for ti,ads7845
[ 2.069873] SPI driver ads7846 has no spi_device_id for ti,ads7873
[ 2.078369] input: iMX6UL Touchscreen Controller as /devices/platform/soc/2000000.bus/2040000.tsc/input/input0
[ 2.095516] rtc-m41t80 1-0068: registered as rtc0
[ 2.102696] rtc-m41t80 1-0068: setting system clock to 2023-04-18T13:02:22 UTC (1681822942)
[ 2.115099] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
[ 2.121841] i2c_dev: i2c /dev entries driver
[ 2.129890] pxp-v4l2 pxp_v4l2: initialized
[ 2.139854] Bluetooth: HCI UART driver ver 2.3
[ 2.144351] Bluetooth: HCI UART protocol H4 registered
[ 2.149592] Bluetooth: HCI UART protocol BCSP registered
[ 2.155009] Bluetooth: HCI UART protocol LL registered
[ 2.160313] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.166660] Bluetooth: HCI UART protocol Marvell registered
[ 2.172423] usbcore: registered new interface driver btusb
[ 2.180091] sdhci: Secure Digital Host Controller Interface driver
[ 2.186314] sdhci: Copyright(c) Pierre Ossman
[ 2.190771] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.198919] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[ 2.208096] usbcore: registered new interface driver usbhid
[ 2.222002] usbhid: USB HID core driver
[ 2.232976] optee: probing for conduit method.
[ 2.237490] optee: revision 3.19 (00919403)
[ 2.238284] optee: dynamic shared memory is enabled
[ 2.248992] optee: initialized driver
[ 2.263737] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[ 2.270877] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[ 2.290760] NET: Registered PF_LLC protocol family
[ 2.296906] NET: Registered PF_INET6 protocol family
[ 2.305608] Segment Routing with IPv6
[ 2.309683] In-situ OAM (IOAM) with IPv6
[ 2.313828] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.321951] NET: Registered PF_PACKET protocol family
[ 2.327174] can: controller area network core
[ 2.332318] NET: Registered PF_CAN protocol family
[ 2.337286] can: raw protocol
[ 2.340594] can: broadcast manager protocol
[ 2.344837] can: netlink gateway - max_hops=1
[ 2.349993] Bluetooth: RFCOMM TTY layer initialized
[ 2.355167] Bluetooth: RFCOMM socket layer initialized
[ 2.360634] Bluetooth: RFCOMM ver 1.11
[ 2.364553] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.370153] Bluetooth: BNEP filters: protocol multicast
[ 2.375505] Bluetooth: BNEP socket layer initialized
[ 2.380648] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.386630] Bluetooth: HIDP socket layer initialized
[ 2.392436] lib80211: common routines for IEEE802.11 drivers
[ 2.398251] lib80211_crypt: registered algorithm 'NULL'
[ 2.398276] lib80211_crypt: registered algorithm 'WEP'
[ 2.398292] lib80211_crypt: registered algorithm 'CCMP'
[ 2.398307] lib80211_crypt: registered algorithm 'TKIP'
[ 2.398682] Key type dns_resolver registered
[ 2.405358] mmc1: new DDR MMC card at address 0001
[ 2.411851] mmcblk1: mmc1:0001 004GA0 3.69 GiB
[ 2.420466] mmcblk1: p1 p2 p3 p4
[ 2.426287] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB
[ 2.434929] Registering SWP/SWPB emulation handler
[ 2.443197] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB
[ 2.450028] Loading compiled-in X.509 certificates
[ 2.456855] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (243:0)
[ 2.501831] imx_usb 2184000.usb: No over current polarity defined
[ 2.790187] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.795261] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 2.829486] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.836080] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 2.844575] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.852387] usb usb1: Product: EHCI Host Controller
[ 2.857671] usb usb1: Manufacturer: Linux 5.15.60-5.15.60-2.1.0+ge1b43282a845 ehci_hcd
[ 2.865653] usb usb1: SerialNumber: ci_hdrc.1
[ 2.871324] hub 1-0:1.0: USB hub found
[ 2.875276] hub 1-0:1.0: 1 port detected
[ 2.883089] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 2.896669] ALSA device list:
[ 2.899839] No soundcards found.
[ 2.922975] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 2.933149] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.944188] devtmpfs: mounted
[ 2.949852] Freeing unused kernel image (initmem) memory: 1024K
[ 2.956334] Run /sbin/init as init process
[ 2.960617] with arguments:
[ 2.960632] /sbin/init
[ 2.960644] with environment:
[ 2.960653] HOME=/
[ 2.960663] TERM=linux
[ 4.942767] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[ 5.168699] caam 2140000.crypto: device ID = 0x0a16030000000000 (Era
[ 5.219304] caam 2140000.crypto: job rings = 2, qi = 0
[ 11.132226] caam algorithms registered in /proc/crypto
[ 11.183009] caam 2140000.crypto: caam pkc algorithms registered in /proc/crypto
[ 11.219096] caam 2140000.crypto: rng crypto API alg registered prng-caam
[ 11.243365] caam 2140000.crypto: registering rng-caam
[ 11.286088] Device caam-keygen registered
[ 11.306357] random: crng init done
[ 11.827816] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 11.838109] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 12.023340] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null). Quota mode: none.
[ 64.540215] imx-sdma 20ec000.sdma: firmware found.
[ 64.552041] imx-sdma 20ec000.sdma: loaded firmware 3.6


 After changing the Ethernet-Driver (i added some debug-outputs to see where the kernel travels before hangs (not finished, latestly i cant see the kernel drive to base/platfrom.c)

 

 

 

破坏者


Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.71+g5bd277823ebe (oe-user@oe-host) (arm-fslc-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Feb 8 03:38:28 UTC 2023
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: ARMour6ul by Markus Rupp
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000083ffffff]
[ 0.000000] node 0: [mem 0x0000000084000000-0x0000000085ffffff]
[ 0.000000] node 0: [mem 0x0000000086000000-0x000000009fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 12 pages/cpu s17164 r8192 d23796 u49152
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 137792K/524288K available (12288K kernel code, 1338K rwdata, 4312K rodata, 1024K init, 433K bss, 58816K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000059] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002989] Console: colour dummy device 80x30
[ 0.003098] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.003154] pid_max: default: 32768 minimum: 301
[ 0.003643] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003710] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005558] CPU: Testing write buffer coherency: ok
[ 0.006272] CPU0: update cpu_capacity 1024
[ 0.006328] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.008966] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.009375] rcu: Hierarchical SRCU implementation.
[ 0.010688] smp: Bringing up secondary CPUs ...
[ 0.010738] smp: Brought up 1 node, 1 CPU
[ 0.010773] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.010803] CPU: All CPU(s) started in SVC mode.
[ 0.011876] devtmpfs: initialized
[ 0.024198] Duplicate name in lcdif@21c8000, renamed to "display#1"
[ 0.027888] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.028503] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.028583] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.055791] pinctrl core: initialized pinctrl subsystem
[ 0.056522] (null): MRUPP: base/platform.c 653
[ 0.056571] (null): MRUPP: base/platform.c 663
[ 0.056599] (null): MRUPP: base/platform.c 667
[ 0.056629] platform (null): MRUPP: base/platform.c 676
[ 0.056661] platform reg-dummy: MRUPP: base/platform.c 700
[ 0.056691] platform reg-dummy: MRUPP: base/platform.c 736
[ 0.056716] platform reg-dummy: MRUPP: base/platform.c 740
[ 0.056918] platform reg-dummy: MRUPP: base/platform.c 743
[ 0.060026] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.077865] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.081145] thermal_sys: Registered thermal governor 'step_wise'
[ 0.081527] cpuidle: using governor menu
[ 0.081901] CPU identified as i.MX6UL, silicon rev 1.2
[ 0.109125] vdd3p0: supplied by regulator-dummy
[ 0.110200] cpu: supplied by regulator-dummy
[ 0.111807] vddsoc: supplied by regulator-dummy
[ 0.140468] No ATAGs?
[ 0.140625] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.140669] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.143479] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[ 0.146501] imx mu driver is registered.
[ 0.147404] imx rpmsg driver is registered.
[ 0.185199] Kprobes globally optimized
[ 0.226992] vgaarb: loaded
[ 0.228708] SCSI subsystem initialized
[ 0.229998] usbcore: registered new interface driver usbfs
[ 0.230153] usbcore: registered new interface driver hub
[ 0.230287] usbcore: registered new device driver usb
[ 0.233492] i2c i2c-0: IMX I2C adapter registered
[ 0.235204] i2c i2c-1: IMX I2C adapter registered
[ 0.235934] mc: Linux media interface: v0.10
[ 0.236065] videodev: Linux video capture interface: v2.00
[ 0.236385] pps_core: LinuxPPS API ver. 1 registered
[ 0.236424] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.236491] PTP clock support registered
[ 0.239711] MIPI CSI2 driver module loaded
[ 0.239870] Advanced Linux Sound Architecture Driver Initialized.
[ 0.241732] Bluetooth: Core ver 2.22
[ 0.241895] NET: Registered PF_BLUETOOTH protocol family
[ 0.241929] Bluetooth: HCI device and connection manager initialized
[ 0.242139] Bluetooth: HCI socket layer initialized
[ 0.242191] Bluetooth: L2CAP socket layer initialized
[ 0.242265] Bluetooth: SCO socket layer initialized
[ 0.243553] clocksource: Switched to clocksource mxc_timer1
[ 0.244004] VFS: Disk quotas dquot_6.6.0
[ 0.244177] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.265556] NET: Registered PF_INET protocol family
[ 0.266136] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.268332] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.268452] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.268505] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.268624] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.268800] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.268996] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.269087] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.269533] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.271238] RPC: Registered named UNIX socket transport module.
[ 0.271302] RPC: Registered udp transport module.
[ 0.271328] RPC: Registered tcp transport module.
[ 0.271351] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.272912] (null): MRUPP: base/platform.c 653
[ 0.272963] (null): MRUPP: base/platform.c 663
[ 0.272993] (null): MRUPP: base/platform.c 667
[ 0.273025] platform (null): MRUPP: base/platform.c 672
[ 0.273065] platform regulatory.0: MRUPP: base/platform.c 700
[ 0.273096] platform regulatory.0: MRUPP: base/platform.c 736
[ 0.273123] platform regulatory.0: MRUPP: base/platform.c 740
[ 0.273418] platform regulatory.0: MRUPP: base/platform.c 743
[ 0.274069] PCI: CLS 0 bytes, default 64
[ 0.275228] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.278049] OPTEE busfreq Supported
[ 0.278502] Bus freq driver module loaded
[ 0.280783] Initialise system trusted keyrings
[ 0.282043] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.298591] NFS: Registering the id_resolver key type
[ 0.298754] Key type id_resolver registered
[ 0.298789] Key type id_legacy registered
[ 0.299042] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.299083] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.299181] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.300440] fuse: init (API version 7.34)
[ 0.532009] Key type asymmetric registered
[ 0.532074] Asymmetric key parser 'x509' registered
[ 0.532277] io scheduler mq-deadline registered
[ 0.532319] io scheduler kyber registered
[ 0.541875] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.543889] pwm-backlight backlight: invalid default brightness level: 255, using 7
[ 0.552205] mxsfb 21c8000.lcdif: supply lcd not found, using dummy regulator
[ 0.662763] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 0.676042] Console: switching to colour frame buffer device 128x37
[ 0.769310] mxsfb 21c8000.lcdif: initialized
[ 0.779120] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.779194] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.783309] mxs-dma 1804000.dma-apbh: initialized
[ 0.792988] pfuze100-regulator 0-0008: unrecognized pfuze chip ID!
[ 0.796885] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 28, base_baud = 5000000) is a IMX
[ 1.712408] printk: console [ttymxc0] enabled
[ 1.719323] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 68, base_baud = 5000000) is a IMX
[ 1.730058] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 69, base_baud = 5000000) is a IMX
[ 1.742313] imx sema4 driver is registered.
[ 1.781780] brd: module loaded
[ 1.800338] loop: module loaded
[ 1.805788] imx ahci driver is registered.
[ 1.816262] (null): MRUPP: base/platform.c 653
[ 1.820847] (null): MRUPP: base/platform.c 663
[ 1.825486] (null): MRUPP: base/platform.c 667
[ 1.830048] platform (null): MRUPP: base/platform.c 672
[ 1.835347] platform Fixed MDIO bus.0: MRUPP: base/platform.c 700
[ 1.841466] platform Fixed MDIO bus.0: MRUPP: base/platform.c 736
[ 1.847616] platform Fixed MDIO bus.0: MRUPP: base/platform.c 740
[ 1.854140] platform Fixed MDIO bus.0: MRUPP: base/platform.c 743
[ 1.862549] tun: Universal TUN/TAP device driver, 1.6
[ 1.868205] CAN device driver interface
[ 1.944421] pps pps0: new PPS source ptp0
[ 1.951759] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.958725] fec 20b4000.ethernet: Using random MAC address: da:42:64:be:eb:d9
[ 1.967770] mdio_bus 20b4000.ethernet-1: MDIO device at address 2 is missing.
[ 1.975153] mdio_bus 20b4000.ethernet-1: MDIO device at address 1 is missing.
[ 1.982332] fec 20b4000.ethernet (unnamed net_device) (uninitialized): MRUPP: DISABLE CLK-Disable
[ 1.991282] fec 20b4000.ethernet (unnamed net_device) (uninitialized): MRUPP: pinctrl_pm_select_sleep_state(&pdev->dev);
[ 2.002218] fec 20b4000.ethernet (unnamed net_device) (uninitialized): MRUPP: ndev->max_mtu = PKT_MAXBUF_SIZE - ETH_HLEN - ETH_FCS_LEN;
[ 2.015587] fec 20b4000.ethernet eth0: MRUPP: device_init_wakeup
[ 2.021974] fec 20b4000.ethernet eth0: registered PHC device 0
[ 2.027968] fec 20b4000.ethernet eth0: MRUPP: fep->rx_copybreak = COPYBREAK_DEFAULT;
[ 2.035790] fec 20b4000.ethernet eth0: MRUPP: INIT_WORK
[ 2.104519] pps pps1: new PPS source ptp1
[ 2.112040] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.119005] fec 2188000.ethernet: Using random MAC address: 36:6d:05:66:1b:d1
[ 2.126916] fec 2188000.ethernet (unnamed net_device) (uninitialized): MRUPP: DISABLE CLK-Disable
[ 2.135936] fec 2188000.ethernet (unnamed net_device) (uninitialized): MRUPP: pinctrl_pm_select_sleep_state(&pdev->dev);
[ 2.146883] fec 2188000.ethernet (unnamed net_device) (uninitialized): MRUPP: ndev->max_mtu = PKT_MAXBUF_SIZE - ETH_HLEN - ETH_FCS_LEN;
[ 2.160302] fec 2188000.ethernet eth1: MRUPP: device_init_wakeup
[ 2.166901] fec 2188000.ethernet eth1: registered PHC device 1
[ 2.172783] fec 2188000.ethernet eth1: MRUPP: fep->rx_copybreak = COPYBREAK_DEFAULT;
[ 2.180627] fec 2188000.ethernet eth1: MRUPP: INIT_WORK
[ 2.187448] usbcore: registered new interface driver r8152
[ 2.193091] usbcore: registered new interface driver lan78xx
[ 2.199001] usbcore: registered new interface driver asix
[ 2.204580] usbcore: registered new interface driver ax88179_178a
[ 2.210785] usbcore: registered new interface driver cdc_ether
[ 2.216807] usbcore: registered new interface driver smsc95xx
[ 2.222676] usbcore: registered new interface driver net1080
[ 2.228614] usbcore: registered new interface driver cdc_subset
[ 2.234718] usbcore: registered new interface driver zaurus
[ 2.240397] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.248094] usbcore: registered new interface driver cdc_ncm
[ 2.253939] usbcore: registered new interface driver r8153_ecm
[ 2.259798] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.266392] ehci-pci: EHCI PCI platform driver
[ 2.271080] usbcore: registered new interface driver usb-storage
[ 2.279121] imx_usb 2184000.usb: MRUPP: imx_usbmisc_data
[ 2.284640] imx_usb 2184000.usb: MRUPP: IS_ERR(data->usbmisc_data)
[ 2.291058] imx_usb 2184200.usb: MRUPP: imx_usbmisc_data
[ 2.296521] imx_usb 2184200.usb: MRUPP: IS_ERR(data->usbmisc_data)
[ 2.306894] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[ 2.313128] SPI driver ads7846 has no spi_device_id for ti,ads7843
[ 2.319429] SPI driver ads7846 has no spi_device_id for ti,ads7845
[ 2.325675] SPI driver ads7846 has no spi_device_id for ti,ads7873
[ 2.334852] input: iMX6UL Touchscreen Controller as /devices/platform/soc/2000000.bus/2040000.tsc/input/input0
[ 2.352522] rtc-m41t80 1-0068: registered as rtc0
[ 2.359740] rtc-m41t80 1-0068: setting system clock to 2023-04-21T08:04:49 UTC (1682064289)
[ 2.371574] (null): MRUPP: base/platform.c 653
[ 2.376283] (null): MRUPP: base/platform.c 667
[ 2.380847] platform (null): MRUPP: base/platform.c 685
[ 2.386147] platform (null): MRUPP: base/platform.c 691
[ 2.391396] platform (null): MRUPP: base/platform.c 693
[ 2.396680] platform (null): MRUPP: base/platform.c 695
[ 2.401940] platform alarmtimer.0.auto: MRUPP: base/platform.c 700
[ 2.408173] platform alarmtimer.0.auto: MRUPP: base/platform.c 736
[ 2.414410] platform alarmtimer.0.auto: MRUPP: base/platform.c 740
[ 2.421037] alarmtimer alarmtimer.0.auto: MRUPP: base/platform.c 743
[ 2.427868] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
[ 2.434432] i2c_dev: i2c /dev entries driver
[ 2.442246] pxp-v4l2 pxp_v4l2: initialized
[ 2.452526] Bluetooth: HCI UART driver ver 2.3
[ 2.457125] Bluetooth: HCI UART protocol H4 registered
[ 2.462294] Bluetooth: HCI UART protocol BCSP registered
[ 2.467790] Bluetooth: HCI UART protocol LL registered
[ 2.473017] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.479449] Bluetooth: HCI UART protocol Marvell registered
[ 2.485226] usbcore: registered new interface driver btusb
[ 2.491485] (null): MRUPP: base/platform.c 653
[ 2.496132] (null): MRUPP: base/platform.c 663
[ 2.500690] (null): MRUPP: base/platform.c 667
[ 2.505285] platform (null): MRUPP: base/platform.c 676
[ 2.510541] platform psci-cpuidle: MRUPP: base/platform.c 700
[ 2.516344] platform psci-cpuidle: MRUPP: base/platform.c 736
[ 2.522112] platform psci-cpuidle: MRUPP: base/platform.c 740
[ 2.528505] platform psci-cpuidle: MRUPP: base/platform.c 743
[ 2.535212] sdhci: Secure Digital Host Controller Interface driver
[ 2.541432] sdhci: Copyright(c) Pierre Ossman
[ 2.546021] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.554251] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[ 2.564612] usbcore: registered new interface driver usbhid
[ 2.570237] usbhid: USB HID core driver
[ 2.588163] optee: probing for conduit method.
[ 2.592681] optee: revision 3.19 (00919403)
[ 2.593492] optee: dynamic shared memory is enabled
[ 2.604434] optee: initialized driver
[ 2.611950] (null): MRUPP: base/platform.c 653
[ 2.616801] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[ 2.624177] (null): MRUPP: base/platform.c 663
[ 2.629228] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[ 2.636919] (null): MRUPP: base/platform.c 667
[ 2.641909] platform (null): MRUPP: base/platform.c 676
[ 2.647449] platform snd-soc-dummy: MRUPP: base/platform.c 700
[ 2.653394] platform snd-soc-dummy: MRUPP: base/platform.c 736
[ 2.659455] platform snd-soc-dummy: MRUPP: base/platform.c 740
[ 2.666195] platform snd-soc-dummy: MRUPP: base/platform.c 743
[ 2.688137] NET: Registered PF_LLC protocol family
[ 2.694504] NET: Registered PF_INET6 protocol family
[ 2.702985] Segment Routing with IPv6
[ 2.707569] In-situ OAM (IOAM) with IPv6
[ 2.711892] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.719902] NET: Registered PF_PACKET protocol family
[ 2.725210] can: controller area network core
[ 2.729981] NET: Registered PF_CAN protocol family
[ 2.735089] can: raw protocol
[ 2.738207] can: broadcast manager protocol
[ 2.742534] can: netlink gateway - max_hops=1
[ 2.747986] Bluetooth: RFCOMM TTY layer initialized
[ 2.753177] Bluetooth: RFCOMM socket layer initialized
[ 2.758636] Bluetooth: RFCOMM ver 1.11
[ 2.762466] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.768075] Bluetooth: BNEP filters: protocol multicast
[ 2.773444] Bluetooth: BNEP socket layer initialized
[ 2.778575] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.784655] Bluetooth: HIDP socket layer initialized
[ 2.790435] lib80211: common routines for IEEE802.11 drivers
[ 2.797144] Key type dns_resolver registered
[ 2.801754] mmc1: new DDR MMC card at address 0001
[ 2.808424] mmcblk1: mmc1:0001 004GA0 3.69 GiB
[ 2.817237] mmcblk1: p1 p2 p3 p4
[ 2.823102] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB
[ 2.831585] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB
[ 2.837163] (null): MRUPP: base/platform.c 653
[ 2.841741] (null): MRUPP: base/platform.c 663
[ 2.849435] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (243:0)
[ 2.855800] (null): MRUPP: base/platform.c 667
[ 2.860373] platform (null): MRUPP: base/platform.c 676
[ 2.865997] platform imx6q-cpufreq: MRUPP: base/platform.c 700
[ 2.871869] platform imx6q-cpufreq: MRUPP: base/platform.c 736
[ 2.877800] platform imx6q-cpufreq: MRUPP: base/platform.c 740
[ 2.887136] imx6q-cpufreq imx6q-cpufreq: MRUPP: base/platform.c 743
[ 2.893480] Registering SWP/SWPB emulation handler
[ 2.898903] Loading compiled-in X.509 certificates
[ 2.943618] imx_usb 2184000.usb: MRUPP: imx_usbmisc_data
[ 2.949048] imx_usb 2184000.usb: No over current polarity defined
[ 2.955340] imx_usb 2184000.usb: MRUPP: imx_get_clks
[ 2.960390] imx_usb 2184000.usb: MRUPP: imx_prepare_enable_clks 448

 

 

With our old image(rocko) all worked fine, please find attached our dts for costum board

dtsi:

 

破坏者

#include <dt-bindings/input/input.h>
#include "imx6ul.dtsi"

/ {
chosen {
stdout-path = &uart1;
};

memory {
reg = <0x80000000 0x20000000>;
};

reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;

linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x14000000>;
linux,cma-default;
};
};
leds {
compatible = "gpio-leds";

heartbeat {
label = "HeartBeat";
gpios = <&gpio5 3 0>;
linux,default-trigger = "heartbeat";
status = "okay";
};
};
};

&cpu0 {
arm-supply = <&reg_arm>;
soc-supply = <&reg_soc>;
};

&csi {
status = "disabled";
};


&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
phy-mode = "rmii";
phy-handle = <&ethphy0>;
phy-reset-gpios = <&gpio5 10 0>;
phy-reset-duration = <50>;
status = "okay";
};

&fec2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet2>;
phy-mode = "rmii";
phy-handle = <&ethphy1>;
phy-reset-gpios = <&gpio5 11 0>;
phy-reset-duration = <50>;
status = "okay";

mdio {
#address-cells = <1>;
#size-cells = <0>;

ethphy0: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <2>;
};

ethphy1: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
};
};
};

&gpc {
fsl,cpu_pupscr_sw2iso = <0x1>;
fsl,cpu_pupscr_sw = <0x0>;
fsl,cpu_pdnscr_iso2sw = <0x1>;
fsl,cpu_pdnscr_iso = <0x1>;
fsl,ldo-bypass = <0>; /* DCDC, ldo-enable */
};

&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";

pmic: pfuze3000@08 {
compatible = "fsl,pfuze3000";
reg = <0x08>;
status = "okay";

regulators {
sw1a_reg: sw1a {
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1475000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <6250>;
};

sw1c_reg: sw1b {
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1475000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <6250>;
};

sw2_reg: sw2 {
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};

sw3a_reg: sw3 {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1650000>;
regulator-boot-on;
regulator-always-on;
};

swbst_reg: swbst {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5150000>;
};

snvs_reg: vsnvs {
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <3000000>;
regulator-boot-on;
regulator-always-on;
};

vref_reg: vrefddr {
regulator-boot-on;
regulator-always-on;
};

vgen1_reg: vldo1 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};

vgen2_reg: vldo2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
regulator-always-on;
};

vgen3_reg: vccsd {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};

vgen4_reg: v33 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};

vgen5_reg: vldo3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};

vgen6_reg: vldo4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
};
};

&i2c2 {
clock_frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";

/* Datasheet address is 0xD0; right shifting once */
rtc: rtc@68 {
compatible = "stm,m41t81s";
reg = <0x68>;
status = "okay";
};
};

&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;
fsl,rs485-direction-control;
fsl,rs485-tx-enable-gpio = <&gpio1 22 0>;
status = "okay";
};

&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
cd-gpios = <&gpio1 19 1>;
removable;
no-1-8-v;
keep-power-in-suspend;
bus-width = <4>;
status = "okay";
};

&usdhc2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2>;
bus-width = <8>;
non-removable;
no-1-8-v;
keep-power-in-suspend;
status = "okay";
};

&wdog1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog>;
fsl,wdog_b;
};

&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog_1>;
imx6ul-armour6ul {

pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
MX6UL_PAD_BOOT_MODE0__GPIO5_IO10 0x70a1 /* eth0 PHY reset */
MX6UL_PAD_BOOT_MODE1__GPIO5_IO11 0x70a1 /* eth1 PHY reset */
MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059 /* SD1 CD */
MX6UL_PAD_GPIO1_IO05__USDHC1_VSELECT 0x17059 /* SD1 VSELECT */
MX6UL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x80000000 /* Heartbeat LED */
MX6UL_PAD_UART2_CTS_B__GPIO1_IO22 0x80000000 /* UART1 Direction pin for RS485 2 wire */
MX6UL_PAD_UART2_RTS_B__GPIO1_IO23 0x80000000 /* UART2 Direction pin for RS485 2 wire */
>;
};

pinctrl_enet1: enet1grp {
fsl,pins = <
MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0
MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031

>;
};

pinctrl_enet2: enet2grp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
>;
};

pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
>;
};

pinctrl_i2c2: i2c2grp {
fsl,pins = <
MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
>;
};

pinctrl_uart1: uart1grp {
fsl,pins = <
MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1
>;
};

pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071
MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
>;
};

pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069
MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059
MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059
MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059
MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059
>;
};
pinctrl_wdog: wdoggrp {
fsl,pins = <
MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0
>;
};
};
};

dts:

 

破坏者

/*
* Copyright (C) 2015 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

/dts-v1/;

#include "armour6ul.dtsi"

/ {
model = "ARMour6ul by Markus Rupp";
compatible = "fsl,imx6ul-14x14-evk", "fsl,imx6ul", "repl, nyx-gateway";

backlight {
compatible = "pwm-backlight";
pwms = <&pwm1 0 5000000>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <255>;
status = "okay";
};

pxp_v4l2 {
compatible = "fsl,imx6ul-pxp-v4l2", "fsl,imx6sx-pxp-v4l2", "fsl,imx6sl-pxp-v4l2";
status = "okay";
};

leds {
compatible = "gpio-leds";

heartbeat {
label = "HeartBeat";
gpios = <&gpio5 3 0>;
linux,default-trigger = "heartbeat";
status = "disabled";
};
};

leds {
compatible = "gpio-leds";

runled {
label = "RunLed";
gpios = <&gpio5 3 0>;
status = "okay";
};
};
};

&lcdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl>;
display = <&display0>;
status = "okay";

display0: display {
bits-per-pixel = <16>;
bus-width = <24>;

display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <600>;
hfront-porch = <160>;
hback-porch = <150>;
hsync-len = <10>;
vback-porch = <11>;
vfront-porch = <50>;
vsync-len = <10>;

hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
};
};
};
};

&pwm1 {
#pwm-cells = <2>; /* CHANGE TO 2-CELL-PARAM, BASE ARE 3 CELLS */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>;
status = "okay";
};

&pxp {
status = "okay";
};

&tsc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tsc>;
xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
measure-delay-time = <0xffff>;
pre-charge-time = <0x1ffff>;
status = "okay";
};

&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2>;
/* for DTE mode, add below change */
/* fsl,dte-mode; */
/* pinctrl-0 = <&pinctrl_uart2dte>; */
status = "okay";
};

&uart3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart3>;
fsl,rs485-direction-control;
fsl,rs485-tx-enable-gpio = <&gpio1 23 0>;
status = "okay";
};

&usbotg1 {
pinctrl-names = "default";
dr_mode = "otg";
pinctrl-0 = <&pinctrl_usb_otg1_id>;
status = "okay";
};

&usbotg2 {
dr_mode = "host";
disable-over-current;
status = "okay";
};

&usbphy2 {
tx-d-cal = <0x5>;
};

&iomuxc {
pinctrl-names = "default";
imx6ul-armour6ul {
pinctrl_lcdif_dat: lcdifdatgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79
MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79
MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79
MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79
MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79
MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79
MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79
MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79
MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79
MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79
MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79
MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79
MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79
MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79
MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79
MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79
MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79
MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x79
MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x79
MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x79
MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x79
MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x79
MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x79
>;
};

pinctrl_lcdif_ctrl: lcdifctrlgrp {
fsl,pins = <
MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79
MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79
MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79
MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79
/* used for lcd reset */
MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x79
>;
};

pinctrl_pwm1: pwm1grp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO08__PWM1_OUT 0x110b0
>;
};

pinctrl_tsc: tscgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0
MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
>;
};

pinctrl_uart2: uart2grp {
fsl,pins = <
MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1
MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1
>;
};

pinctrl_uart3: uart3grp {
fsl,pins = <
MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x1b0b1
MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x1b0b1
>;
};

pinctrl_usb_otg1_id: usbotg1idgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x17059
>;
};

};

};

 

imx6ul is original from git

标签 (1)
0 项奖励
回复
0 回复数