BSP44 lost kernel console

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BSP44 lost kernel console

296 Views
cf-technica
Contributor II

Hi all, 

I'm working with an S32G2 on yocto BSP44 and experiencing a console lost after kernel boots. 

U-boot console appears ok and also the early console during the kernel boot. But, after 11 seconds (when shell should appear) the serial console is lost.

This is the kernel boot log: 


Starting kernel ...

[ 0.000000][ T0] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000][ T0] Linux version 6.6.85-rt53-g6208e1d0d7b5-dirty (oe-user@oe-host) (aarch64-fsl-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Wed 5
[ 0.000000][ T0] Machine model: Freescale S32G274A
[ 0.000000][ T0] earlycon: linflex0 at MMIO 0x00000000401c8000 (options '')
[ 0.000000][ T0] printk: legacy bootconsole [linflex0] enabled
[ 0.000000][ T0] OF: reserved mem: 0x0000000034700000..0x000000003477ffff (512 KiB) nomap non-reusable pfebufs@34700000
[ 0.000000][ T0] OF: reserved mem: 0x0000000034780000..0x000000003479ffff (128 KiB) nomap non-reusable pfebufs@34080000
[ 0.000000][ T0] Reserved memory: created DMA memory pool at 0x0000000083200000, size 3 MiB
[ 0.000000][ T0] OF: reserved mem: initialized node pfebufs@83200000, compatible id shared-dma-pool
[ 0.000000][ T0] OF: reserved mem: 0x0000000083200000..0x00000000835dffff (3968 KiB) nomap non-reusable pfebufs@83200000
[ 0.000000][ T0] OF: reserved mem: 0x00000000835e0000..0x00000000835fffff (128 KiB) map non-reusable pfebufs@835e0000
[ 0.000000][ T0] OF: reserved mem: 0x0000000084000000..0x0000000084ffffff (16384 KiB) nomap non-reusable shm@84000000
[ 0.000000][ T0] OF: reserved mem: 0x00000000c0000000..0x00000000c03fffff (4096 KiB) nomap non-reusable shm@c0000000
[ 0.000000][ T0] OF: reserved mem: 0x00000000c0400000..0x00000000c07fffff (4096 KiB) nomap non-reusable shm@c0400000
[ 0.000000][ T0] OF: reserved mem: 0x00000000d0000000..0x00000000d000007f (0 KiB) nomap non-reusable shm@d0000000
[ 0.000000][ T0] OF: reserved mem: 0x00000000d0000080..0x00000000d00000ff (0 KiB) nomap non-reusable shm@d0000080
[ 0.000000][ T0] OF: reserved mem: 0x00000000ff600000..0x00000000ff7fffff (2048 KiB) nomap non-reusable atf@ff600000
[ 0.000000][ T0] Zone ranges:
[ 0.000000][ T0] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000][ T0] DMA32 empty
[ 0.000000][ T0] Normal empty
[ 0.000000][ T0] Movable zone start for each node
[ 0.000000][ T0] Early memory node ranges
[ 0.000000][ T0] node 0: [mem 0x0000000080000000-0x00000000831fffff]
[ 0.000000][ T0] node 0: [mem 0x0000000083200000-0x00000000835dffff]
[ 0.000000][ T0] node 0: [mem 0x00000000835e0000-0x0000000083ffffff]
[ 0.000000][ T0] node 0: [mem 0x0000000084000000-0x0000000084ffffff]
[ 0.000000][ T0] node 0: [mem 0x0000000085000000-0x00000000bfffffff]
[ 0.000000][ T0] node 0: [mem 0x00000000c0000000-0x00000000c07fffff]
[ 0.000000][ T0] node 0: [mem 0x00000000c0800000-0x00000000cfffffff]
[ 0.000000][ T0] node 0: [mem 0x00000000d0001000-0x00000000ff5fffff]
[ 0.000000][ T0] node 0: [mem 0x00000000ff600000-0x00000000ff7fffff]
[ 0.000000][ T0] node 0: [mem 0x00000000ff800000-0x00000000ffffffff]
[ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000][ T0] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.000000][ T0] cma: Reserved 256 MiB at 0x00000000ed600000 on node -1
[ 0.000000][ T0] psci: probing for conduit method from DT.
[ 0.000000][ T0] psci: PSCIv1.1 detected in firmware.
[ 0.000000][ T0] psci: Using standard PSCI v0.2 function IDs
[ 0.000000][ T0] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000][ T0] psci: SMC Calling Convention v1.4
[ 0.000000][ T0] percpu: Embedded 19 pages/cpu s40104 r8192 d29528 u77824
[ 0.000000][ T0] pcpu-alloc: s40104 r8192 d29528 u77824 alloc=19*4096
[ 0.000000][ T0] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000][ T0] Detected VIPT I-cache on CPU0
[ 0.000000][ T0] CPU features: detected: GIC system register CPU interface
[ 0.000000][ T0] CPU features: detected: ARM erratum 845719
[ 0.000000][ T0] CPU features: detected: NXP erratum ERR050481 (TLBI by VA handled incorrectly)
[ 0.000000][ T0] CPU features: detected: ARM errata 1165522, 1319367, 1530923, or 1530924
[ 0.000000][ T0] alternatives: applying boot alternatives
[ 0.000000][ T0] Kernel command line: console=ttyLF0,115200 root=/dev/mmcblk0p3 rootwait rw earlycon
[ 0.000000][ T0] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000][ T0] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 516095
[ 0.000000][ T0] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000][ T0] software IO TLB: area num 4.
[ 0.000000][ T0] software IO TLB: mapped [mem 0x00000000e9600000-0x00000000ed600000] (64MB)
[ 0.000000][ T0] Memory: 1681820K/2097148K available (9664K kernel code, 670K rwdata, 3024K rodata, 1856K init, 220K bss, 153184K reserved, 262144K cma-reserved)
[ 0.000000][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000][ T0] rcu: RCU event tracing is enabled.
[ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000][ T0] Trampoline variant of Tasks RCU enabled.
[ 0.000000][ T0] Tracing variant of Tasks RCU enabled.
[ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000][ T0] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000][ T0] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000][ T0] GICv3: 544 SPIs implemented
[ 0.000000][ T0] GICv3: 0 Extended SPIs implemented
[ 0.000000][ T0] GICv3: MBI range [167:182]
[ 0.000000][ T0] GICv3: Using MBI frame 0x0000000050800000
[ 0.000000][ T0] Root IRQ handler: gic_handle_irq
[ 0.000000][ T0] GICv3: GICv3 features: 16 PPIs
[ 0.000000][ T0] GICv3: CPU0: found redistributor 0 region 0:0x0000000050880000
[ 0.000000][ T0] ITS: No ITS available, not enabling LPIs
[ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000][ T0] arch_timer: cp15 timer(s) running at 5.00MHz (phys).
[ 0.000000][ T0] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x127350b88, max_idle_ns: 440795202120 ns
[ 0.000001][ T0] sched_clock: 56 bits at 5MHz, resolution 200ns, wraps every 4398046511100ns
[ 0.009150][ T0] Console: colour dummy device 80x25
[ 0.013914][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 10.00 BogoMIPS (lpj=20000)
[ 0.024807][ T0] pid_max: default: 32768 minimum: 301
[ 0.030227][ T0] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.038180][ T0] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.048724][ T1] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.057815][ T1] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.067853][ T1] rcu: Hierarchical SRCU implementation.
[ 0.073075][ T1] rcu: Max phase no-delay instances is 1000.
[ 0.080056][ T1] smp: Bringing up secondary CPUs ...
[ 0.085683][ T0] Detected VIPT I-cache on CPU1
[ 0.085792][ T0] GICv3: CPU1: found redistributor 1 region 0:0x00000000508a0000
[ 0.085861][ T0] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.086757][ T0] Detected VIPT I-cache on CPU2
[ 0.086839][ T0] GICv3: CPU2: found redistributor 100 region 0:0x00000000508c0000
[ 0.086879][ T0] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
[ 0.087634][ T0] Detected VIPT I-cache on CPU3
[ 0.087684][ T0] GICv3: CPU3: found redistributor 101 region 0:0x00000000508e0000
[ 0.087708][ T0] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
[ 0.087823][ T1] smp: Brought up 1 node, 4 CPUs
[ 0.150894][ T1] SMP: Total of 4 processors activated.
[ 0.156257][ T1] CPU features: detected: 32-bit EL0 Support
[ 0.162095][ T1] CPU features: detected: CRC32 instructions
[ 0.167979][ T1] CPU: All CPU(s) started at EL2
[ 0.172672][ T1] alternatives: applying system-wide alternatives
[ 0.181664][ T1] devtmpfs: initialized
[ 0.194399][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.204447][ T1] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.225246][ T1] pinctrl core: initialized pinctrl subsystem
[ 0.232241][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.239928][ T1] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.247638][ T1] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.255945][ T1] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.264818][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 0.264986][ T1] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.278819][ T1] ASID allocator initialised with 65536 entries
[ 0.284930][ T1] Serial: AMBA PL011 UART driver
[ 0.289634][ T1] scmi_core: SCMI protocol bus registered
[ 0.296446][ T1] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[ 0.304768][ T1] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[ 0.311644][ T1] arm-scmi firmware:scmi: SCMI Protocol v2.0 'NXP:S32G274A' Firmware version 0x0
[ 0.326093][ T1] /soc/interrupt-controller@50800000: Fixed dependency cycle(s) with /soc/interrupt-controller@50800000
[ 0.338593][ T1] /soc/siul2@4009c000/siul2-pinctrl@4009c240: Fixed dependency cycle(s) with /soc/siul2@4009c000/siul2-pinctrl@4009c240/jtag_pins
[ 0.358218][ T1] Modules: 28864 pages in range for non-PLT usage
[ 0.358231][ T1] Modules: 520384 pages in range for PLT usage
[ 0.364755][ T1] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.377800][ T1] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.384746][ T1] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.392208][ T1] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.399155][ T1] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.406616][ T1] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.413563][ T1] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.421025][ T1] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.437808][ T1] SCSI subsystem initialized
[ 0.442063][ T1] usbcore: registered new interface driver usbfs
[ 0.448025][ T1] usbcore: registered new interface driver hub
[ 0.454025][ T1] usbcore: registered new device driver usb
[ 0.459932][ T1] usb_phy_generic usbphynop: dummy supplies not allowed for exclusive requests
[ 0.468876][ T1] pps_core: LinuxPPS API ver. 1 registered
[ 0.474123][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.483945][ T1] PTP clock support registered
[ 0.489754][ T1] vgaarb: loaded
[ 0.493118][ T1] clocksource: Switched to clocksource arch_sys_counter
[ 0.507903][ T1] NET: Registered PF_INET protocol family
[ 0.513314][ T1] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.523120][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.532006][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.540344][ T1] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.549058][ T1] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 0.557694][ T1] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.564657][ T1] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.571924][ T1] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.579930][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.586584][ T1] RPC: Registered named UNIX socket transport module.
[ 0.592780][ T1] RPC: Registered udp transport module.
[ 0.598152][ T1] RPC: Registered tcp transport module.
[ 0.603532][ T1] RPC: Registered tcp-with-tls transport module.
[ 0.609715][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.616829][ T1] PCI: CLS 0 bytes, default 64
[ 0.622877][ T1] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 0.630308][ T1] fuse: init (API version 7.39)
[ 0.634805][ T1] NET: Registered PF_ALG protocol family
[ 0.640121][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.648133][ T1] io scheduler mq-deadline registered
[ 0.653337][ T1] io scheduler kyber registered
[ 0.658032][ T1] io scheduler bfq registered
[ 0.666596][ T1] s32cc-siul2-pinctrl 4009c240.siul2-pinctrl: initialized s32 pinctrl driver
[ 0.675760][ T1] s32cc-siul2-gpio 4009d700.siul2-gpio: No cache defaults, reading back from HW
[ 0.684367][ T1] s32cc-siul2-gpio 4009d700.siul2-gpio: No cache defaults, reading back from HW
[ 0.693548][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.703767][ T1] s32cc-siul2-gpio 4009d700.siul2-gpio: No cache defaults, reading back from HW
[ 0.712317][ T1] s32cc-siul2-gpio 4009d700.siul2-gpio: No cache defaults, reading back from HW
[ 0.724608][ T1] s32cc_fccu 4030c000.fccu: FCCU status is 0 (normal)
[ 0.732885][ T1] MACsec IEEE 802.1AE
[ 0.738639][ T1] vcan: Virtual CAN interface driver
[ 0.743391][ T1] slcan: serial line CAN interface driver
[ 0.748913][ T1] CAN device driver interface
[ 0.753645][ T1] e100: Intel(R) PRO/100 Network Driver
[ 0.758808][ T1] e100: Copyright(c) 1999-2006 Intel Corporation
[ 0.764995][ T1] e1000: Intel(R) PRO/1000 Network Driver
[ 0.770520][ T1] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 0.776978][ T1] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.782589][ T1] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.789214][ T1] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.795258][ T1] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.802884][ T1] hse-uio 40210000.mu0b: standard firmware, version 1.0.14
[ 0.809522][ T1] hse-uio 40210000.mu0b: successfully registered device
[ 0.816781][ T1] usbcore: registered new interface driver uas
[ 0.822400][ T1] usbcore: registered new interface driver usb-storage
[ 0.830022][ T1] imx_usb 44064000.usb: No over current polarity defined
[ 0.849710][ T11] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 0.851069][ T1] s32cc-rtc 40060000.rtc: registered as rtc0
[ 0.855148][ T11] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 0.860712][ T1] s32cc-rtc 40060000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[ 0.877268][ T1] i2c_dev: i2c /dev entries driver
[ 0.882604][ T1] s32cc-wdt 4010c000.watchdog: S32CC Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.892038][ T1] s32cc-wdt 40200000.watchdog: S32CC Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.901656][ T1] s32cc-wdt 40204000.watchdog: S32CC Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.911321][ T1] s32cc-wdt 40208000.watchdog: S32CC Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.921405][ T1] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 1000000000, volt: 0, enabled: 1. New: freq: 1000000000, volt: 0, enabled: 1
[ 0.936320][ T1] sdhci: Secure Digital Host Controller Interface driver
[ 0.942783][ T1] sdhci: Copyright(c) Pierre Ossman
[ 0.947808][ T1] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.954359][ T1] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 0.954669][ T44] sdhci-esdhc-imx 402f0000.mmc: could not get pinctrl
[ 0.961936][ T1] hse 40211000.mu1b: interface mu1b not active
[ 0.974595][ T1] usbcore: registered new interface driver usbhid
[ 0.980458][ T1] usbhid: USB HID core driver
[ 0.989386][ T1] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.999299][ T1] s32-siul2-nvmem 4009c000.nvram: Initialized s32cc siul2 nvmem driver
[ 0.999335][ T44] mmc0: SDHCI controller on 402f0000.mmc [402f0000.mmc] using ADMA
[ 1.007185][ T1] s32-siul2-nvmem 44010000.nvram: Initialized s32cc siul2 nvmem driver
[ 1.023663][ T1] NET: Registered PF_INET6 protocol family
[ 1.030199][ T1] Segment Routing with IPv6
[ 1.034197][ T1] In-situ OAM (IOAM) with IPv6
[ 1.038800][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.045978][ T1] NET: Registered PF_PACKET protocol family
[ 1.051481][ T1] can: controller area network core
[ 1.056393][ T1] NET: Registered PF_CAN protocol family
[ 1.061806][ T1] can: raw protocol
[ 1.065468][ T1] can: broadcast manager protocol
[ 1.070338][ T1] can: netlink gateway - max_hops=1
[ 1.075459][ T1] 8021q: 802.1Q VLAN Support v1.8
[ 1.099402][ T38] mmc0: new DDR MMC card at address 0001
[ 1.100440][ T44] s32cc-pcie 44100000.pcie: error -ENODEV: Failed to get 'serdes_lane0' PHY
[ 1.106130][ T38] mmcblk0: mmc0:0001 DG4008 7.28 GiB
[ 1.113034][ T44] s32cc-pcie 44100000.pcie: Failed to set PCIe host settings
[ 1.120222][ T38] mmcblk0: p1 p2 p3
[ 1.127070][ T44] s32cc-dwmac 4033c000.ethernet: IRQ eth_wake_irq not found
[ 1.129975][ T38] mmcblk0boot0: mmc0:0001 DG4008 4.00 MiB
[ 1.136198][ T44] s32cc-dwmac 4033c000.ethernet: IRQ eth_lpi not found
[ 1.143198][ T38] mmcblk0boot1: mmc0:0001 DG4008 4.00 MiB
[ 1.149220][ T44] s32cc-dwmac 4033c000.ethernet: SerDes PHY was not found
[ 1.155244][ T38] mmcblk0rpmb: mmc0:0001 DG4008 4.00 MiB, chardev (243:0)
[ 1.160911][ T44] s32cc-dwmac 4033c000.ethernet: SERDES is not configured
[ 1.160922][ T44] s32cc-dwmac: probe of 4033c000.ethernet failed with error -22
[ 1.182819][ T44] qoriq_thermal 400a8000.tmu: Critical rising/falling temperature threshold = 5 degree(s)
[ 1.185129][ T11] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 1.196741][ T44] nxp_s32cc_ddr_perf 403e0000.ddr-perf: probing device
[ 1.198429][ T11] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 1.205332][ T44] nxp_s32cc_ddr_perf 403e0000.ddr-perf: device initialized successfully
[ 1.213842][ T11] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.222976][ T1] clk: Disabling unused clocks
[ 1.229893][ T11] usb usb1: Product: EHCI Host Controller
[ 1.229901][ T11] usb usb1: Manufacturer: Linux 6.6.85-rt53-g6208e1d0d7b5-dirty ehci_hcd
[ 1.229909][ T11] usb usb1: SerialNumber: ci_hdrc.0
[ 1.253361][ T1] Warning: unable to open an initial console.
[ 1.253898][ T11] hub 1-0:1.0: USB hub found
[ 1.263686][ T11] hub 1-0:1.0: 1 port detected
[ 1.355170][ T1] EXT4-fs (mmcblk0p3): recovery complete
[ 1.364185][ T1] EXT4-fs (mmcblk0p3): mounted filesystem 19cc129b-779b-4a48-a234-f06e2122429e r/w with ordered data mode. Quota mode: disabled.
[ 1.376996][ T1] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 1.384141][ T1] devtmpfs: mounted
[ 1.388447][ T1] Freeing unused kernel memory: 1856K
[ 1.393497][ T1] Run /sbin/init as init process
[ 1.398019][ T1] with arguments:
[ 1.401663][ T1] /sbin/init
[ 1.405042][ T1] with environment:
[ 1.408867][ T1] HOME=/
[ 1.411904][ T1] TERM=linux
[ 1.624141][ T1] systemd[1]: System time before build time, advancing clock.
[ 1.667310][ T1] systemd[1]: systemd 255.13^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -F)
[ 1.699544][ T1] systemd[1]: Detected architecture arm64.
[ 1.714116][ T1] systemd[1]: Hostname set to <s32g-gundam-v2-spruce-sip>.
[ 1.841540][ T97] systemd-sysv-generator[97]: SysV service '/etc/init.d/usb-device' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. P!
[ 1.873912][ T97] systemd-sysv-generator[97]: SysV service '/etc/init.d/te-auto-repartition.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for comp!
[ 2.270926][ T1] systemd[1]: Queued start job for default target Multi-User System.
[ 2.291880][ T1] systemd[1]: Created slice Slice /system/getty.
[ 2.299452][ T1] systemd[1]: Created slice Slice /system/modprobe.
[ 2.306815][ T1] systemd[1]: Created slice Slice /system/serial-getty.
[ 2.313998][ T1] systemd[1]: Created slice User and Session Slice.
[ 2.320447][ T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.328932][ T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.337208][ T1] systemd[1]: Reached target Path Units.
[ 2.342503][ T1] systemd[1]: Reached target Remote File Systems.
[ 2.348706][ T1] systemd[1]: Reached target Slice Units.
[ 2.354321][ T1] systemd[1]: Reached target Swaps.
[ 2.370960][ T1] systemd[1]: Listening on Syslog Socket.
[ 2.376842][ T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 2.391622][ T1] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[ 2.403527][ T1] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.410524][ T1] systemd[1]: Listening on Journal Socket.
[ 2.416796][ T1] systemd[1]: Listening on Network Service Netlink Socket.
[ 2.428616][ T1] systemd[1]: Listening on udev Control Socket.
[ 2.435060][ T1] systemd[1]: Listening on udev Kernel Socket.
[ 2.441393][ T1] systemd[1]: Listening on User Database Manager Socket.
[ 2.469450][ T1] systemd[1]: Mounting Huge Pages File System...
[ 2.475947][ T1] systemd[1]: POSIX Message Queue File System was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/mqueue).
[ 2.492863][ T1] systemd[1]: Mounting Kernel Debug File System...
[ 2.499890][ T1] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[ 2.513538][ T1] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.6.85-rt53-g6208e1d0d7b5-di.
[ 2.535764][ T1] systemd[1]: Starting Load Kernel Module configfs...
[ 2.547117][ T1] systemd[1]: Starting Load Kernel Module drm...
[ 2.558752][ T1] systemd[1]: Starting Load Kernel Module fuse...
[ 2.565519][ T1] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[ 2.587174][ T1] systemd[1]: Starting Journal Service...
[ 2.603867][ T1] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[ 2.617748][ T1] systemd[1]: Starting Generate network units from Kernel command line...
[ 2.634440][ T1] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 2.647327][ T1] systemd[1]: Starting Apply Kernel Variables...
[ 2.665585][ T1] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
[ 2.686841][ T1] systemd[1]: Starting Coldplug All udev Devices...
[ 2.701035][ T1] systemd[1]: Mounted Huge Pages File System.
[ 2.713057][ T1] systemd[1]: Mounted Kernel Debug File System.
[ 2.729526][ T1] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 2.737558][ T114] EXT4-fs (mmcblk0p3): re-mounted 19cc129b-779b-4a48-a234-f06e2122429e r/w. Quota mode: disabled.
[ 2.739851][ T1] systemd[1]: Finished Load Kernel Module configfs.
[ 2.754974][ T107] systemd-journald[107]: Collecting audit messages is disabled.
[ 2.768043][ T1] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 2.776288][ T1] systemd[1]: Finished Load Kernel Module drm.
[ 2.784059][ T1] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 2.792235][ T1] systemd[1]: Finished Load Kernel Module fuse.
[ 2.802676][ T1] systemd[1]: Finished Generate network units from Kernel command line.
[ 2.812313][ T1] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 2.820349][ T1] systemd[1]: Finished Apply Kernel Variables.
[ 2.827283][ T1] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.
[ 2.835565][ T1] systemd[1]: Started Journal Service.
[ 2.967558][ T107] systemd-journald[107]: Received client request to flush runtime journal.
[ 4.825756][ T293] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 6.645141][ C2] random: crng init done
[ 11.305892][ T39] platform mdio-mux: deferred probe pending

 Is there something wrong in my yocto (fsl-auto) config? Should I change any kernel configuration since traces appear during early boot? Serial console should still be the same ttyLF0, as configured in u-boot environment.

 

Thanks,

Tags (3)
0 Kudos
Reply
3 Replies

225 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @cf-technica 

Thanks for your reply.

1. eMMC is similar to the SD case, may I know if it is possible to run the pre-built image on your board?  

2. If not, have you done any modification for the BSP44 rootfs/kernel configuration during build? I tested BSP44 from my end on a local RDB2, and there seems no issues for the default settings.

 

BR

Chenyin

 

0 Kudos
Reply

259 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @cf-technica 

Thanks for your post.

1. May I know if you have tested with the pre-built images of BSP44?

2. From the log

[ 4.825756][ T293] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 6.645141][ C2] random: crng init done
[ 11.305892][ T39] platform mdio-mux: deferred probe pending

What you have done for the custom build? I suggest checking your SD card or change another one for the trial.

 

BR

Chenyin

0 Kudos
Reply

232 Views
cf-technica
Contributor II

Hi @chenyin_h 

Thanks for the quick reply. Actualy we're not working with an SD card. Just flashed everything on a EMMC memory in our custom board. 

 

But, if mmc 0:2 is corrupted (the partition that includes the kernel and the devicetree) how can the kernel boot and show the current logs? I cannot see in the logs any errors that could lead to not having the login shell printed.  It seems like the serial console is reconfigured wrongly when system.d starts.

 

Thanks,

0 Kudos
Reply