image core-image-apd-minimal.sdcard do not work

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

image core-image-apd-minimal.sdcard do not work

3,989 Views
Janeting
Contributor II

I refer to S32G_BSP30.0_User_Manual, compile and get core-image-apd-minimal-s32g274ardb2.sdcard, after burning it to SD card, the development board cannot start normally (fsl-image-auto image is ok), the board model is S32G-VNP-RDB2, the following is my startup interface, the command line will not appear after staying, I have strictly followed the user manual operation, am I missing any steps?

[ 1.123706] can: netlink gateway - max_hops=1
[ 1.128182] 8021q: 802.1Q VLAN Support v1.8
[ 1.132665] printk: console [ttyLF0]: printing thread started
[ 1.143524] pca953x 0-0022: using AI
[ 1.653411] rtc-pcf85063 0-0051: registered as rtc1
[ 1.653464] i2c i2c-0: IMX I2C adapter registered
[ 1.653526] i2c i2c-0: using dma0chan4 (tx) and dma0chan5 (rx) for DMA transfers
[ 1.654483] i2c i2c-2: IMX I2C adapter registered
[ 1.654545] i2c i2c-2: using dma1chan18 (tx) and dma1chan19 (rx) for DMA transfers
[ 1.655386] i2c i2c-4: IMX I2C adapter registered
[ 1.655441] i2c i2c-4: using dma1chan20 (tx) and dma1chan21 (rx) for DMA transfers
[ 1.656103] phy-s32gen1-serdes 40480000.serdes: Using mode 0 for SerDes subsystem
[ 1.656528] phy-s32gen1-serdes 44180000.serdes: Using mode 3 for SerDes subsystem
[ 1.788545] phy-s32gen1-serdes 44180000.serdes: Unstable RX detected on XPCS1
[ 1.788564] phy-s32gen1-serdes 44180000.serdes: Unstable RX detected on XPCS0
[ 1.788701] s32gen1-pcie 40400000.pcie: Configured as RootComplex
[ 1.788809] s32gen1-pcie 40400000.pcie: Allocated line 0 for interrupt 64 (msi)
[ 2.789822] s32gen1-pcie 40400000.pcie: Failed to stabilize PHY link
[ 2.789830] s32gen1-pcie 40400000.pcie: failed to set common PCIe settings
[ 2.789994] s32gen1-pcie: probe of 40400000.pcie failed with error -110
[ 2.790807] imx_usb 44064000.usb: No over current polarity defined
[ 2.803148] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 2.803426] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 2.818178] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 2.818387] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1Device= 5.10
[ 2.818397] usb usb1: Product: EHCI Host Controller
[ 2.818402] usb usb1: Manufacturer: Linux 5.10.41-rt42+g98b692708f63 ehci_hcd
[ 2.818408] usb usb1: SerialNumber: ci_hdrc.0
[ 2.818894] hub 1-0:1.0: USB hub found
[ 2.818928] hub 1-0:1.0: 1 port detected
[ 3.001967] random: fast init done
[ 3.091947] EXT4-fs (mmcblk0p2): recovery complete
[ 3.092834] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.092916] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 3.093733] devtmpfs: mounted
[ 3.094462] Freeing unused kernel memory: 1280K
[ 3.094621] Run /sbin/init as init process
[ 3.221293]~DLT~ 1~INFO ~FIFO /tmp/dlt cannot be opened. Retrying later...
1970/01/01 00:00:03.224748 32247 000 ECU1 EXEC INTM log info V 1 [Enabled console [ 3.328933] cgroup: Unknown subsys name 'memory'
output.]
1970/01/01 00:00:03.224983 32249 001 ECU1 EXEC INTM log info V 2 [Init DLT back-end done, all known contexts set to default log level: Info]
[ 3.824896] s32cc-dwmac 4033c000.ethernet eth0: PHY [stmmac-0:01] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[ 3.838194] s32cc-dwmac 4033c000.ethernet eth0: Enabling Safety Features
[ 3.838225] s32cc-dwmac 4033c000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 3.838476] s32cc-dwmac 4033c000.ethernet eth0: registered PTP clock
[ 3.838959] s32cc-dwmac 4033c000.ethernet eth0: configuring for phy/rgmii-id link mode
[ 3.841821] 8021q: adding VLAN 0 to HW filter on device eth0
[ 4.160234] random: DiagnosticManag: uninitialized urandom read (4 bytes read)
[ 4.160290] random: DiagnosticManag: uninitialized urandom read (4 bytes read)
[ 4.160320] random: DiagnosticManag: uninitialized urandom read (4 bytes read)
[ 6.907094] s32cc-dwmac 4033c000.ethernet: Set TX clock to 125M
[ 6.907140] s32cc-dwmac 4033c000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 6.907182] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 201.791780] random: crng init done
[ 201.791797] random: 1 urandom warning(s) missed due to ratelimiting

0 Kudos
Reply
6 Replies

3,969 Views
Janeting
Contributor II

@Johnli Can it solve my problem? Is this image itself not supported? 

0 Kudos
Reply

3,921 Views
bpe
NXP Employee
NXP Employee

Can you please update this thread with a full console log, from power up to the last message before your RDB2 gets locked? Also, I need to know if the problematic image always stops after the same message or at a random time during boot?

 

Best Regards,
Platon

 

0 Kudos
Reply

3,894 Views
Janeting
Contributor II

Hi bpe:

Reference is as follows:

U-Boot 2020.04+g7eba18e1c0 (Aug 19 2021 - 15:37:50 +0000)

CPU: NXP S32G274A rev. 2.1.0
Reset cause: External Reset
Model: NXP S32G2XX
Board: NXP S32G274A-RDB
DRAM: 3.5 GiB
CA53 core 1 running.
CA53 core 2 running.
CA53 core 3 running.
All (4) cores are up.
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
Using external clock for PCIe0, CRNS
Configuring PCIe0 as RootComplex(x2)
Using external clock for PCIe1, CRNS
Frequency 125Mhz configured for PCIe1
Configuring PCIe1 as SGMII(x2) [XPCS0 2.5G, XPCS1 OFF]
PCIe0: Failed to get link up
Pcie0: LINK_DBG_1: 0x00000000, LINK_DBG_2: 0x00000800 (expected 0x000000d1)
DEBUG_R0: 0x00ce7600, DEBUG_R1: 0x08200000
PCI: Failed autoconfig bar 20
PCI: Failed autoconfig bar 24
PCIe1: Not configuring PCIe, PHY not configured
In: serial
Out: serial
Err: serial
Board revision: RDB2/GLDBOX Revision D
Net: EQOS phy: rgmii @ 1

Warning: eth_eqos (eth0) using random MAC address - aa:7d:95:95:63:99
eth0: eth_eqos PFE: emac0: sgmii emac1: none emac2: rgmii
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2

Hit any key to stop autoboot: 0
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
PFE: emac0: sgmii emac1: none emac2: rgmii
pfeng_cfg_mode_enable: Invalid PFE device
switch to partitions #0, OK
mmc0 is current device
13490184 bytes read in 586 ms (22 MiB/s)
Booting from mmc ...
41563 bytes read in 14 ms (2.8 MiB/s)
## Flattened Device Tree blob at 83e00000
Booting using the fdt blob at 0x83e00000
Loading Device Tree to 000000009fff2000, end 000000009ffff25a ... OK
Reserved memory region for spin-table: addr=fff38be8 size=18
PFE: emac0: sgmii emac1: none emac2: rgmii
PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
DT: Disabling PFE
DT: Enabling GMAC

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.41-rt42+g98b692708f63 (oe-user@oe-host) (aarch64-fsl-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Thu Aug 19 13:51:06 UTC 2021
[ 0.000000] Machine model: Freescale S32G274
[ 0.000000] earlycon: linflex0 at MMIO 0x00000000401c8000 (options '115200n8')
[ 0.000000] printk: bootconsole [linflex0] enabled
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000083200000, size 3 MiB
[ 0.000000] OF: reserved mem: initialized node pfebufs@83200000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000083600000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node pfebufs@83600000, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000008dfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000082ffffff]
[ 0.000000] node 0: [mem 0x0000000083000000-0x00000000835dffff]
[ 0.000000] node 0: [mem 0x00000000835e0000-0x00000000835fffff]
[ 0.000000] node 0: [mem 0x0000000083600000-0x00000000837dffff]
[ 0.000000] node 0: [mem 0x00000000837e0000-0x00000000bfffffff]
[ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000c03fffff]
[ 0.000000] node 0: [mem 0x00000000c0400000-0x00000000cfffffff]
[ 0.000000] node 0: [mem 0x00000000d0000000-0x00000000d03fffff]
[ 0.000000] node 0: [mem 0x00000000d0400000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000880000000-0x00000008dfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008dfffffff]
[ 0.000000] On node 0 totalpages: 917504
[ 0.000000] DMA zone: 7168 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 524288 pages, LIFO batch:63
[ 0.000000] Normal zone: 5376 pages used for memmap
[ 0.000000] Normal zone: 393216 pages, LIFO batch:63
[ 0.000000] cma: Reserved 256 MiB at 0x00000000efc00000
[ 0.000000] percpu: Embedded 17 pages/cpu s30552 r8192 d30888 u69632
[ 0.000000] pcpu-alloc: s30552 r8192 d30888 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, 1530923, or 1530924
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 904960
[ 0.000000] Kernel command line: console=ttyLF0,115200 root=/dev/mmcblk0p2 rootwait rw earlycon nohz=off coherent_pool=64M
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000ebc00000-0x00000000efc00000] (64MB)
[ 0.000000] Memory: 3240972K/3670016K available (8446K kernel code, 630K rwdata, 2752K rodata, 1280K init, 240K bss, 166900K reserved, 262144K cma-reserved)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: 544 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: MBI range [167:182]
[ 0.000000] GICv3: Using MBI frame 0x0000000050800000
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000050880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x324/0x4f4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 5.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x127350b88, max_idle_ns: 440795202120 ns
[ 0.000001] sched_clock: 56 bits at 5MHz, resolution 200ns, wraps every 4398046511100ns
[ 0.008583] Console: colour dummy device 80x25
[ 0.012626] Calibrating delay loop (skipped), value calculated using timer frequency.. 10.00 BogoMIPS (lpj=20000)
[ 0.022838] pid_max: default: 32768 minimum: 301
[ 0.027615] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.034835] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.044351] rcu: Hierarchical SRCU implementation.
[ 0.049440] smp: Bringing up secondary CPUs ...
[ 0.054272] Detected VIPT I-cache on CPU1
[ 0.057878] GICv3: CPU1: found redistributor 1 region 0:0x00000000508a0000
[ 0.064758] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.071994] Detected VIPT I-cache on CPU2
[ 0.075599] GICv3: CPU2: found redistributor 100 region 0:0x00000000508c0000
[ 0.082643] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
[ 0.089936] Detected VIPT I-cache on CPU3
[ 0.093523] GICv3: CPU3: found redistributor 101 region 0:0x00000000508e0000
[ 0.100562] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
[ 0.107194] smp: Brought up 1 node, 4 CPUs
[ 0.111160] SMP: Total of 4 processors activated.
[ 0.115829] CPU features: detected: 32-bit EL0 Support
[ 0.120967] CPU features: detected: CRC32 instructions
[ 0.139985] CPU: All CPU(s) started at EL1
[ 0.143680] alternatives: patching kernel code
[ 0.148928] devtmpfs: initialized
[ 0.158962] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.168310] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.183867] pinctrl core: initialized pinctrl subsystem
[ 0.189515] NET: Registered protocol family 16
[ 0.195315] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[ 0.203245] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.211854] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.219985] thermal_sys: Registered thermal governor 'step_wise'
[ 0.220352] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.232842] ASID allocator initialised with 65536 entries
[ 0.238195] Serial: AMBA PL011 UART driver
[ 0.268805] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.275105] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.281786] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.288503] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.301474] vgaarb: loaded
[ 0.303985] SCSI subsystem initialized
[ 0.307697] usbcore: registered new interface driver usbfs
[ 0.313015] usbcore: registered new interface driver hub
[ 0.318300] usbcore: registered new device driver usb
[ 0.324085] pps_core: LinuxPPS API ver. 1 registered
[ 0.328621] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.337746] PTP clock support registered
[ 0.342591] clocksource: Switched to clocksource arch_sys_counter
[ 0.356379] NET: Registered protocol family 2
[ 0.360563] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.369680] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.377879] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.385925] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.393620] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.399892] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.406496] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.413819] NET: Registered protocol family 1
[ 0.418458] RPC: Registered named UNIX socket transport module.
[ 0.423952] RPC: Registered udp transport module.
[ 0.428634] RPC: Registered tcp transport module.
[ 0.433322] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.439773] PCI: CLS 0 bytes, default 64
[ 0.444472] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.453563] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[ 0.460573] fuse: init (API version 7.32)
[ 0.464348] NET: Registered protocol family 38
[ 0.468626] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.475969] io scheduler mq-deadline registered
[ 0.480475] io scheduler kyber registered
[ 0.486002] s32g-siul2-pinctrl 4009c240.siul2-pinctrl0: initialized s32 pinctrl driver
[ 0.494016] s32g-siul2-pinctrl 44010400.siul2-pinctrl1: initialized s32 pinctrl driver
[ 0.505764] s32gen1-pcie 40400000.pcie: Configured as RootComplex
[ 0.511648] s32gen1-pcie 40400000.pcie: Allocated line 0 for interrupt 64 (msi)
[ 0.518780] s32gen1-pcie 40400000.pcie: failed to set common PCIe settings
[ 0.526939] serial: Freescale linflex driver
[ 0.540583] printk: console [ttyLF0] enabled0x401c8000 (irq = 34, base_baud = 7812500) is a FSL_LINFLEX
[ 0.540583] printk: console [ttyLF0] enabled
[ 0.549278] printk: bootconsole [linflex0] disabled
[ 0.549278] printk: bootconsole [linflex0] disabled
[ 0.559635] 401cc000.serial: ttyLF1 at MMIO 0x401cc000 (irq = 35, base_baud = 7812500) is a FSL_LINFLEX
[ 0.569648] 402bc000.serial: ttyLF2 at MMIO 0x402bc000 (irq = 56, base_baud = 7812500) is a FSL_LINFLEX
[ 0.581073] fsl_fccu 4030c000.fccu: FCCU status is 0 (normal)
[ 0.587483] debugfs: Directory 'dummy-mc_me@40088000' with parent 'regmap' already present!
[ 0.596402] debugfs: Directory 'dummy-mc_rgm@40078000' with parent 'regmap' already present!
[ 0.609955] spi-nor spi0.0: mx25uw51245g (65536 Kbytes)
[ 0.617480] libphy: Fixed MDIO Bus: probed
[ 0.622118] vcan: Virtual CAN interface driver
[ 0.626710] slcan: serial line CAN interface driver
[ 0.631685] slcan: 10 dynamic interface channels.
[ 0.636502] CAN device driver interface
[ 0.641514] flexcan 401b4000.flexcan: device registered (reg_base=(____ptrval____), irq(s):
[ 0.650037] flexcan 401b4000.flexcan: 26
[ 0.654129] flexcan 401b4000.flexcan: 27
[ 0.658220] flexcan 401b4000.flexcan: 28
[ 0.662310] flexcan 401b4000.flexcan: 29
[ 0.666401] flexcan 401b4000.flexcan: )
[ 0.671147] flexcan 401be000.flexcan: device registered (reg_base=(____ptrval____), irq(s):
[ 0.679690] flexcan 401be000.flexcan: 30
[ 0.683781] flexcan 401be000.flexcan: 31
[ 0.687889] flexcan 401be000.flexcan: 32
[ 0.691980] flexcan 401be000.flexcan: 33
[ 0.696070] flexcan 401be000.flexcan: )
[ 0.700482] e100: Intel(R) PRO/100 Network Driver
[ 0.705278] e100: Copyright(c) 1999-2006 Intel Corporation
[ 0.710943] e1000: Intel(R) PRO/1000 Network Driver
[ 0.715916] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 0.721832] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.726901] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.732974] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.738478] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.744963] s32cc-dwmac 4033c000.ethernet: IRQ eth_wake_irq not found
[ 0.751535] s32cc-dwmac 4033c000.ethernet: IRQ eth_lpi not found
[ 0.757819] s32cc-dwmac 4033c000.ethernet: PTP uses main clock
[ 0.763774] s32cc-dwmac 4033c000.ethernet: no reset control found
[ 0.769989] s32cc-dwmac 4033c000.ethernet: SerDes PHY was not found
[ 0.776379] s32cc-dwmac 4033c000.ethernet: SERDES is not configured
[ 0.782813] s32cc-dwmac 4033c000.ethernet: phy mode set to RGMII
[ 0.789102] s32cc-dwmac 4033c000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[ 0.796208] s32cc-dwmac 4033c000.ethernet: DWMAC4/5
[ 0.801276] s32cc-dwmac 4033c000.ethernet: DMA HW capability register supported
[ 0.808726] s32cc-dwmac 4033c000.ethernet: RX Checksum Offload Engine supported
[ 0.816177] s32cc-dwmac 4033c000.ethernet: TX Checksum insertion supported
[ 0.823183] s32cc-dwmac 4033c000.ethernet: Wake-Up On Lan supported
[ 0.829625] s32cc-dwmac 4033c000.ethernet: Enabled workarounds for s32g274a platform
[ 0.837518] s32cc-dwmac 4033c000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.845506] s32cc-dwmac 4033c000.ethernet: device MAC address 56:b9:82:5c:9b:9f
[ 0.852967] s32cc-dwmac 4033c000.ethernet: Enabled Flow TC (entries=8)
[ 0.859635] s32cc-dwmac 4033c000.ethernet: Enabling HW TC (entries=256, max_off=256)
[ 0.867532] s32cc-dwmac 4033c000.ethernet: SPH feature enabled
[ 0.873479] s32cc-dwmac 4033c000.ethernet: Using 32 bits DMA width
[ 0.880303] libphy: stmmac: probed
[ 0.896904] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.903615] ehci-pci: EHCI PCI platform driver
[ 0.908358] usbcore: registered new interface driver uas
[ 0.913844] usbcore: registered new interface driver usb-storage
[ 0.923065] s32gen1-rtc 40060000.rtc: registered as rtc0
[ 0.928520] s32gen1-rtc 40060000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[ 0.936954] i2c /dev entries driver
[ 0.941400] sac58r-wdt 4010c000.swt: SAC58R/S32V234/S32GEN1 Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.951906] sac58r-wdt 40200000.swt: SAC58R/S32V234/S32GEN1 Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.962376] sac58r-wdt 40204000.swt: SAC58R/S32V234/S32GEN1 Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.972844] sac58r-wdt 40208000.swt: SAC58R/S32V234/S32GEN1 Watchdog Timer Registered. timeout=30s (nowayout=0)
[ 0.983579] sdhci: Secure Digital Host Controller Interface driver
[ 0.989879] sdhci: Copyright(c) Pierre Ossman
[ 0.994321] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.001184] hse 40210000.mu0b: firmware not found
[ 1.006367] usbcore: registered new interface driver usbhid
[ 1.012065] usbhid: USB HID core driver
[ 1.030598] mmc0: SDHCI controller on 402f0000.usdhc [402f0000.usdhc] using ADMA
[ 1.039108] s32-adc 401f8000.adc: Device initialized successfully.
[ 1.071016] s32-adc 402e8000.adc: Device initialized successfully.
[ 1.072030] mmc0: new high speed SDHC card at address 5048
[ 1.077708] nxp_s32_ddr_perf 403e0000.ddr-perf: probing device
[ 1.083558] mmcblk0: mmc0:5048 SD16G 14.4 GiB
[ 1.089077] nxp_s32_ddr_perf 403e0000.ddr-perf: device initialized successfully
[ 1.095465] mmcblk0: p1 p2
[ 1.100941] s32-siul2-nvmem 4009c000.nvram: initialize s32 siul2 nvmem driver
[ 1.111613] NET: Registered protocol family 10
[ 1.117160] Segment Routing with IPv6
[ 1.120966] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.127540] NET: Registered protocol family 17
[ 1.132100] can: controller area network core
[ 1.136593] NET: Registered protocol family 29
[ 1.141150] can: raw protocol
[ 1.144188] can: broadcast manager protocol
[ 1.148460] can: netlink gateway - max_hops=1
[ 1.152929] 8021q: 802.1Q VLAN Support v1.8
[ 1.157430] printk: console [ttyLF0]: printing thread started
[ 1.168344] pca953x 0-0022: using AI
[ 1.677824] rtc-pcf85063 0-0051: registered as rtc1
[ 1.677876] i2c i2c-0: IMX I2C adapter registered
[ 1.677936] i2c i2c-0: using dma0chan4 (tx) and dma0chan5 (rx) for DMA transfers
[ 1.678861] i2c i2c-2: IMX I2C adapter registered
[ 1.678922] i2c i2c-2: using dma1chan18 (tx) and dma1chan19 (rx) for DMA transfers
[ 1.679766] i2c i2c-4: IMX I2C adapter registered
[ 1.679820] i2c i2c-4: using dma1chan20 (tx) and dma1chan21 (rx) for DMA transfers
[ 1.680474] phy-s32gen1-serdes 40480000.serdes: Using mode 0 for SerDes subsystem
[ 1.680907] phy-s32gen1-serdes 44180000.serdes: Using mode 3 for SerDes subsystem
[ 1.812925] phy-s32gen1-serdes 44180000.serdes: Unstable RX detected on XPCS1
[ 1.812944] phy-s32gen1-serdes 44180000.serdes: Unstable RX detected on XPCS0
[ 1.813082] s32gen1-pcie 40400000.pcie: Configured as RootComplex
[ 1.813194] s32gen1-pcie 40400000.pcie: Allocated line 0 for interrupt 64 (msi)
[ 2.814210] s32gen1-pcie 40400000.pcie: Failed to stabilize PHY link
[ 2.814218] s32gen1-pcie 40400000.pcie: failed to set common PCIe settings
[ 2.814380] s32gen1-pcie: probe of 40400000.pcie failed with error -110
[ 2.815206] imx_usb 44064000.usb: No over current polarity defined
[ 2.827554] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 2.827832] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 2.838596] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 2.838794] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 2.838806] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.838815] usb usb1: Product: EHCI Host Controller
[ 2.838822] usb usb1: Manufacturer: Linux 5.10.41-rt42+g98b692708f63 ehci_hcd
[ 2.839312] hub 1-0:1.0: USB hub found_hdrc.0
[ 2.839346] hub 1-0:1.0: 1 port detected
[ 2.960750] EXT4-fs (mmcblk0p2): recovery complete
[ 2.961644] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.961733] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.962627] devtmpfs: mounted
[ 2.963317] Freeing unused kernel memory: 1280K
[ 2.963482] Run /sbin/init as init process
[ 3.096935] random: fast init done
[ 3.106358]~DLT~ 1~INFO ~FIFO /tmp/dlt cannot be opened. Retrying later...
1970/01/01 00:00:03.108676 31086 000 ECU1 EXEC INTM log info V 1 [Enab[ 3.212538] cgroup: Unknown subsys name 'memory'
led console output.]
1970/01/01 00:00:03.108881 31088 001 ECU1 EXEC INTM log info V 2 [Init DLT back-end done, all known contexts set to default log level: Info]
[ 3.705380] s32cc-dwmac 4033c000.ethernet eth0: PHY [stmmac-0:01] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[ 3.718611] s32cc-dwmac 4033c000.ethernet eth0: Enabling Safety Features
[ 3.718639] s32cc-dwmac 4033c000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 3.718880] s32cc-dwmac 4033c000.ethernet eth0: registered PTP clock
[ 3.719367] s32cc-dwmac 4033c000.ethernet eth0: configuring for phy/rgmii-id link mode
[ 3.722214] 8021q: adding VLAN 0 to HW filter on device eth0
[ 4.030459] random: DiagnosticManag: uninitialized urandom read (4 bytes read)
[ 4.030513] random: DiagnosticManag: uninitialized urandom read (4 bytes read)
[ 4.030545] random: DiagnosticManag: uninitialized urandom read (4 bytes read)
[ 7.803419] s32cc-dwmac 4033c000.ethernet: Set TX clock to 125M
[ 7.803467] s32cc-dwmac 4033c000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7.803509] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

 

0 Kudos
Reply

3,881 Views
bpe
NXP Employee
NXP Employee

Thanks for providing the console log, there is one thing missing:  I need to know how random this behaviour is. Does it always fail, or you can get to the shell prompt from time to time?  Does is always stop after the same message or at a random time during boot?

Best Regards,
Platon

 

0 Kudos
Reply

3,874 Views
Janeting
Contributor II

Hi bpe:

Yes, it always fails. In fact, I have compared the difference between it and the fsl-image-auto startup process log, but I have not found anything suspicious. The biggest difference between them and fsl-image will enter the shell login after loading all startup items, but the core -image will fall into "random".

BR

0 Kudos
Reply

3,852 Views
bpe
NXP Employee
NXP Employee

First if all, yes, the build target you are trying to run is supported.
According to the information I received from the responsible SW team, the behaviour you
are observing is as expected.

Adaptive Autosar rootfs does not use the traditional ‘init’ from Linux systems.

In Adaptive Autosar images, ‘init’ is a symbolic link to Adaptive Autosar Execution Manager (execution-manager).

Therefore, this executable is being run instead of the original ‘init’ (/sbin/init.sysvinit) which would have gave you access to a Linux prompt.

If you want to boot Linux to prompt and start each of the Adaptive Autosar applications manually you can modify the Linux Kernel bootargs,

from within the u-boot prompt, as follows:

run => edit mmcargs – and add init=/sbin/init.sysvinit at the end
saveenv

(Just add ‘init=/sbin/init.sysvinit’ to your original ‘mmcargs’ variable from the u-boot environment).

If you want the Adaptive Autosar applications to output on the serial console instead of redirecting the output into “/var/…”,

just modify the same ‘mmcargs’ variable from within the u-boot prompt, as follows:

run => edit mmcargs – just replace ‘rw’ with ‘ro’ in order to make the file system read-only and the Adaptive Autosar Applications will output

to the serial console instead

saveenv

Note that ‘core-image-apd-minimal’ image does not include the more complex Adaptive Autosar radar and fusion demos. In order to

use them, you can build the following images:

‘core-image-apd-minimal-radar-fusion’ – contains both ‘radar’ and ‘fusion’ demos
‘core-image-apd-minimal-radar’ – contains ‘radar’ demo
‘core-image-apd-minimal-fusion’ – contains ‘fusion’ demo

The changes to init described above have been verified and confirmed being able
to boot to the log in prompt and could view the Adaptive Autosar content in /opt.

To take things further you should consult the AA documentation, as this requires a license to access we can't really offer much more on this.

 

Hope this helps,
Platon

 

0 Kudos
Reply