Hi,
My customize board based on NXP imx6-sabresd board, the only change is DDR 2GBytes, Console is ttymxc2. And I just update some basic DTS setting, Enable uart3 and set it as console output. please check it below,
Now it boot up to user prompt, then I cannot enter any key in.
Don't know if any modules or library missing or stuck in any execution of initialize scripts?
Thanks in advance,
[ 0.000000] Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk2p2 rootwait rw
[ 0.540784] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 274, base_baud = 5000000) is a IMX
[ 0.540831] printk: console [ttymxc2] enabled
env:
uboot-imx-lf_v2021.04
linux-imx-lf-6.6.y
buildroot-2020.02.4-imx6-sabresd-cfg
DTS:
Log:
U-Boot 2021.04 (Aug 11 2024 - 23:38:58 -0700)
CPU: i.MX6Q rev1.6 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 25C
Reset cause: POR
Model: i.MX6 Quad SABRE Smart Device Board
DRAM: 2 GiB
CONFIG_FEC_MXC defined checking...
CONFIG_FEC_MXC defined
setup_fec call...init, is_mx6dq
setup_fec call enet_pads init
ENET PHY Reset...
MMC: FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
Loading Environment from MMC... *** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
RNG self test passed
SEC0: RNG instantiated
switch to partitions #0, OK
mmc2 is current device
flash target is MMC:2
Net:
Error: ethernet@2188000 address not set.
Error: ethernet@2188000 address not set.
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc2 is current device
Failed to load 'boot.scr'
Failed to load 'boot/boot.scr'
11436544 bytes read in 547 ms (19.9 MiB/s)
Booting from mmc ...
54388 bytes read in 6 ms (8.6 MiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0xae8200 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 18010473
Starting kernel ...
Remove device flags...
Cleanup before linux...
## Linux kernel_entry(at address 12000000)...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.6.23 (root@ubuntu) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #6 SMP Sun Aug 18 02:33:53 PDT 2024
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x7c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: 0x7c000000..0x8fffffff (327680 KiB) map reusable linux,cma
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000010000000-0x000000003fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000040000000-0x000000008fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000010000000-0x000000008fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000008fffffff]
[ 0.000000] percpu: Embedded 17 pages/cpu s39636 r8192 d21804 u69632
[ 0.000000] Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk2p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522752
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1722984K/2097152K available (16384K kernel code, 2504K rwdata, 6664K rodata, 2048K init, 692K bss, 46488K reserved, 327680K cma-reserved, 983040K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[ 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=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 errata 752271 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000001] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000019] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.005037] Console: colour dummy device 80x30
[ 0.005097] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.005113] CPU: Testing write buffer coherency: ok
[ 0.005152] CPU0: Spectre v2: using BPIALL workaround
[ 0.005160] pid_max: default: 32768 minimum: 301
[ 0.005318] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.005342] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.006227] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.007453] Setting up static identity map for 0x10300000 - 0x103000ac
[ 0.009638] rcu: Hierarchical SRCU implementation.
[ 0.009646] rcu: Max phase no-delay instances is 1000.
[ 0.014208] EFI services will not be available.
[ 0.014614] smp: Bringing up secondary CPUs ...
[ 0.015504] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.015520] CPU1: Spectre v2: using BPIALL workaround
[ 0.016572] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.016591] CPU2: Spectre v2: using BPIALL workaround
[ 0.017605] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.017622] CPU3: Spectre v2: using BPIALL workaround
[ 0.017745] smp: Brought up 1 node, 4 CPUs
[ 0.017757] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[ 0.017769] CPU: All CPU(s) started in SVC mode.
[ 0.019065] devtmpfs: initialized
[ 0.029751] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.030022] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.030048] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.047137] pinctrl core: initialized pinctrl subsystem
[ 0.051726] DMI not present or invalid.
[ 0.052656] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.056685] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.060066] thermal_sys: Registered thermal governor 'step_wise'
[ 0.060143] cpuidle: using governor menu
[ 0.060912] CPU identified as i.MX6Q, silicon rev 1.6
[ 0.069610] platform soc: Fixed dependency cycle(s) with /soc/bus@2000000/gpc@20dc000
[ 0.081967] mxs_phy 20c9000.usbphy: supply phy-3p0 not found, using dummy regulator
[ 0.082677] mxs_phy 20ca000.usbphy: supply phy-3p0 not found, using dummy regulator
[ 0.085189] platform 20dc000.gpc: Fixed dependency cycle(s) with /soc/bus@2000000/clock-controller@20c4000
[ 0.086626] platform 20e0000.iomuxc-gpr:ipu1_csi0_mux: Fixed dependency cycle(s) with /soc/bus@2100000/mipi@21dc000
[ 0.087126] platform 20e0000.iomuxc-gpr:ipu2_csi1_mux: Fixed dependency cycle(s) with /soc/bus@2100000/mipi@21dc000
[ 0.087498] platform 20e0000.pinctrl: Fixed dependency cycle(s) with /soc/bus@2000000/pinctrl@20e0000/imx6qdl-sabresd/hoggrp
[ 0.095806] platform 20e0000.iomuxc-gpr:ipu2_csi1_mux: Fixed dependency cycle(s) with /soc/bus@2100000/mipi@21dc000
[ 0.095916] platform 20e0000.iomuxc-gpr:ipu1_csi0_mux: Fixed dependency cycle(s) with /soc/bus@2100000/mipi@21dc000
[ 0.096008] platform 21dc000.mipi: Fixed dependency cycle(s) with /soc/bus@2000000/iomuxc-gpr@20e0000/ipu2_csi1_mux
[ 0.096105] platform 21dc000.mipi: Fixed dependency cycle(s) with /soc/bus@2000000/iomuxc-gpr@20e0000/ipu1_csi0_mux
[ 0.105150] No ATAGs?
[ 0.105316] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.105329] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.109195] imx6q-pinctrl 20e0000.pinctrl: no groups defined in /soc/bus@2000000/pinctrl@20e0000/enet_resetgrp
[ 0.109232] imx6q-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[ 0.120280] Serial: AMBA PL011 UART driver
[ 0.121932] imx mu driver is registered.
[ 0.122668] imx rpmsg driver is registered.
[ 0.129074] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.131042] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.132868] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.134671] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.136565] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.138389] gpio gpiochip5: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.140238] gpio gpiochip6: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.151941] iommu: Default domain type: Translated
[ 0.151952] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.153302] SCSI subsystem initialized
[ 0.153885] usbcore: registered new interface driver usbfs
[ 0.153927] usbcore: registered new interface driver hub
[ 0.153973] usbcore: registered new device driver usb
[ 0.154237] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[ 0.154255] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[ 0.154423] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[ 0.154439] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[ 0.156397] gpio-155 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 0.156553] i2c i2c-0: using pinctrl states for GPIO recovery
[ 0.157708] i2c i2c-0: IMX I2C adapter registered
[ 0.158538] gpio-108 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 0.158690] i2c i2c-1: using pinctrl states for GPIO recovery
[ 0.159958] i2c i2c-1: IMX I2C adapter registered
[ 0.160747] gpio-3 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 0.160891] i2c i2c-2: using pinctrl states for GPIO recovery
[ 0.161944] i2c i2c-2: IMX I2C adapter registered
[ 0.163696] pps_core: LinuxPPS API ver. 1 registered
[ 0.163704] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.163726] PTP clock support registered
[ 0.164048] EDAC MC: Ver: 3.0.0
[ 0.165085] scmi_core: SCMI protocol bus registered
[ 0.166674] No BMan portals available!
[ 0.167496] No QMan portals available!
[ 0.168473] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 0.171031] vgaarb: loaded
[ 0.171798] clocksource: Switched to clocksource mxc_timer1
[ 0.183804] NET: Registered PF_INET protocol family
[ 0.184241] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.186163] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.186193] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.186207] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.186293] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.186594] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.186821] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.186869] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.187072] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.187694] RPC: Registered named UNIX socket transport module.
[ 0.187705] RPC: Registered udp transport module.
[ 0.187710] RPC: Registered tcp transport module.
[ 0.187715] RPC: Registered tcp-with-tls transport module.
[ 0.187720] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.187733] PCI: CLS 0 bytes, default 64
[ 0.188480] armv7-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[ 0.188970] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.191720] Bus freq driver module loaded
[ 0.193084] Initialise system trusted keyrings
[ 0.193370] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 0.193756] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.194105] NFS: Registering the id_resolver key type
[ 0.194142] Key type id_resolver registered
[ 0.194149] Key type id_legacy registered
[ 0.194178] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.194187] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.194220] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.359902] Key type asymmetric registered
[ 0.359914] Asymmetric key parser 'x509' registered
[ 0.360015] bounce: pool size: 64 pages
[ 0.360075] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.360086] io scheduler mq-deadline registered
[ 0.360094] io scheduler kyber registered
[ 0.360125] io scheduler bfq registered
[ 0.442874] mxs-dma 110000.dma-controller: initialized
[ 0.465579] imx-sdma 20ec000.dma-controller: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.502003] imx-sdma 20ec000.dma-controller: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.502029] imx-sdma 20ec000.dma-controller: external firmware not found, using ROM firmware
[ 0.531475] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 0.538030] SuperH (H)SCI(F) driver initialized
[ 0.539468] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 273, base_baud = 5000000) is a IMX
[ 0.540784] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 274, base_baud = 5000000) is a IMX
[ 0.540831] printk: console [ttymxc2] enabled
[ 1.669969] msm_serial: driver initialized
[ 1.674127] STMicroelectronics ASC driver initialized
[ 1.681313] STM32 USART driver initialized
[ 1.689953] imx sema4 driver is registered.
[ 1.710663] brd: module loaded
[ 1.721945] loop: module loaded
[ 1.746755] CAN device driver interface
[ 1.752675] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 1.760939] Freescale FM module, FMD API version 21.1.0
[ 1.766719] Freescale FM Ports module
[ 1.770390] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 1.776312] fsl_dpa: FSL DPAA Ethernet driver
[ 1.780893] fsl_advanced: FSL DPAA Advanced drivers:
[ 1.785882] fsl_proxy: FSL DPAA Proxy initialization driver
[ 1.791694] fsl_oh: FSL FMan Offline Parsing port driver
[ 1.797648] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.802637] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.808601] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.814023] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.827141] pegasus: Pegasus/Pegasus II USB Ethernet driver
[ 1.832795] usbcore: registered new interface driver pegasus
[ 1.838495] usbcore: registered new interface driver asix
[ 1.843960] usbcore: registered new interface driver ax88179_178a
[ 1.850098] usbcore: registered new interface driver cdc_ether
[ 1.855996] usbcore: registered new interface driver smsc75xx
[ 1.861797] usbcore: registered new interface driver smsc95xx
[ 1.867582] usbcore: registered new interface driver net1080
[ 1.873302] usbcore: registered new interface driver cdc_subset
[ 1.879262] usbcore: registered new interface driver zaurus
[ 1.884926] usbcore: registered new interface driver cdc_ncm
[ 1.898439] usbcore: registered new interface driver usb-storage
[ 1.915041] i2c_dev: i2c /dev entries driver
[ 1.948575] sdhci: Secure Digital Host Controller Interface driver
[ 1.954790] sdhci: Copyright(c) Pierre Ossman
[ 1.962556] Synopsys Designware Multimedia Card Interface Driver
[ 1.971455] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.982598] sdhci-esdhc-imx 2194000.mmc: Got CD GPIO
[ 1.983309] sdhci-esdhc-imx 2198000.mmc: Got CD GPIO
[ 1.987613] sdhci-esdhc-imx 2194000.mmc: Got WP GPIO
[ 1.998141] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.007512] usbcore: registered new interface driver usbhid
[ 2.013140] usbhid: USB HID core driver
[ 2.019512] No fsl,qman node
[ 2.022431] Freescale USDPAA process driver
[ 2.026619] fsl-usdpaa: no region found
[ 2.030460] Freescale USDPAA process IRQ driver
[ 2.031054] mmc2: SDHCI controller on 2198000.mmc [2198000.mmc] using ADMA
[ 2.041108] isl29018 2-0044: No cache defaults, reading back from HW
[ 2.042303] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[ 2.048524] i2c i2c-2: SCL is stuck low, exit recovery
[ 2.052445] mmc3: SDHCI controller on 219c000.mmc [219c000.mmc] using ADMA
[ 2.067620] i2c i2c-2: SCL is stuck low, exit recovery
[ 2.072973] isl29018 2-0044: Failed to read 1: -11
[ 2.077781] isl29018 2-0044: regmap initialization fails: -11
[ 2.079253] mmc2: new high speed SDHC card at address aaaa
[ 2.083712] isl29018: probe of 2-0044 failed with error -11
[ 2.090039] mmcblk2: mmc2:aaaa SD32G 29.7 GiB
[ 2.100000] NET: Registered PF_INET6 protocol family
[ 2.106673] Segment Routing with IPv6
[ 2.110431] In-situ OAM (IOAM) with IPv6
[ 2.110782] mmcblk2: p1 p2
[ 2.114497] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.123889] NET: Registered PF_PACKET protocol family
[ 2.128957] can: controller area network core
[ 2.133417] NET: Registered PF_CAN protocol family
[ 2.138220] can: raw protocol
[ 2.141197] can: broadcast manager protocol
[ 2.145413] can: netlink gateway - max_hops=1
[ 2.150386] Key type dns_resolver registered
[ 2.156287] ThumbEE CPU extension supported.
[ 2.160577] Registering SWP/SWPB emulation handler
[ 2.176389] Loading compiled-in X.509 certificates
[ 2.218299] mmc3: Failed to initialize a non-removable card
[ 2.235857] imx6q-pinctrl 20e0000.pinctrl: invalid function pinctrl in map table
[ 2.249234] ethernet@2188000 enforce active low on GPIO handle
[ 2.257729] pps pps0: new PPS source ptp0
[ 2.264458] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.271203] fec 2188000.ethernet: Using random MAC address: 2a:5b:23:15:47:0a
[ 2.279497] mdio_bus 2188000.ethernet-1: MDIO device at address 1 is missing.
[ 2.286759] mdio_bus 2188000.ethernet-1: MDIO device at address 0 is missing.
[ 2.294781] fec 2188000.ethernet eth0: registered PHC device 0
[ 2.354245] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 2.362227] clk: Disabling unused clocks
[ 2.431306] EXT4-fs (mmcblk2p2): mounted filesystem 3b58e606-e4b9-43c4-b28c-ee57c9b69b8a r/w with ordered data mode. Quota mode: disabled.
[ 2.443850] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.451463] devtmpfs: mounted
[ 2.460034] Freeing unused kernel image (initmem) memory: 2048K
[ 2.466691] Run /sbin/init as init process
[ 2.651815] EXT4-fs (mmcblk2p2): re-mounted 3b58e606-e4b9-43c4-b28c-ee57c9b69b8a r/w. Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
modprobe: can't change directory to '/lib/modules': No such file or directory
Saving random seed: /dev/urandom exists
Starting reading /dev/urandom
OK
Saving random seed done
Starting network: OK
Starting dropbear sshd: OK
Welcome to Buildroot
buildroot login:
Hi Zhiming,
My command line is here,
[ 0.000000] Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk2p2 rootwait rw
but the reference link is , console=ttyS0,38400 init=/bin/sh
It seems be totally different.
Would you have any other suggestion?
Thanks a lot!
Hi
Can you share the pinctrl_uart3 definitions?
Best Regards
Zhiming
Hi,
Actually, I got three combination of u-boot/kernel/DTS, the results are almost same.
I just enable the "uart3" in u-boot2021, and bootcmd string.
static iomux_v3_cfg_t const uart3_pads[] = {
IOMUX_PADS(PAD_EIM_D24__UART3_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL)),
IOMUX_PADS(PAD_EIM_D25__UART3_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL)),
};
static void setup_iomux_uart(void)
{
SETUP_IOMUX_PADS(uart1_pads);
SETUP_IOMUX_PADS(uart3_pads);
}
In linux-imx-lf-6.6.y, imx6q-sabresd.dts, I enable uart3, and dtb reverse to dts, is like this,
serial@21ec000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x21ec000 0x4000>;
interrupts = <0x0 0x1c 0x4>;
clocks = <0x2 0xa0 0x2 0xa1>;
clock-names = "ipg", "per";
dmas = <0x13 0x1d 0x4 0x0 0x13 0x1e 0x4 0x0>;
dma-names = "rx", "tx";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x5e>;
};
I don't know if these is any posibility it get hibrinate mode/low power mode.
Or any IRQ conflict halt the CPU?
Very appreciated!
Hi
Can you test it on Uboot console?
Best Regards
Zhiming
Hi
You can try to check buildroot script
https://buildroot.uclibc.narkive.com/2CiQwiEE/cant-type-anything-into-serial-console-login
Best Regards
Zhiming