Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layerscape/armv8_64b - LS1088A RDB Board - Device Support Broken #11824

Open
1 task done
cowgirlalexa opened this issue Jan 18, 2023 · 35 comments
Open
1 task done

layerscape/armv8_64b - LS1088A RDB Board - Device Support Broken #11824

cowgirlalexa opened this issue Jan 18, 2023 · 35 comments
Labels
bug issue report with a confirmed bug

Comments

@cowgirlalexa
Copy link

cowgirlalexa commented Jan 18, 2023

Describe the bug

All releases since Openwrt 22.03.0 including the current snapshots are not booting on the LS1088 A RDB Board if installed clean using the SDCard Images. (22.03.0-3) Last working release is OpenWRT 21.02.5

Sysupgrade using the *sdboot-squashfs-sysupgrade.bin from 21.02.5 to 22.03.3 is working and booting but the configuration of the network ports fails: restool error "Did not find a device file"

OpenWrt version

Since 22.03.0

OpenWrt target/subtarget

layerscape/armv8_64b

Device

LS1088A RDB Board

Image kind

Official downloaded image

Steps to reproduce

Clean install with SD Card Image - Boot log:

NOTICE: UDIMM 18ASF1G72AZ-2G3B1

NOTICE: 8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1
NOTICE: BL2: v2.4(release):v22.03.3-0-g221fbfa2d8
NOTICE: BL2: Built : 00:24:21, Jan 3 2023
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.4(release):v22.03.3-0-g221fbfa2d8
NOTICE: BL31: Built : 00:24:21, Jan 3 2023
NOTICE: Welcome to ls1088ardb BL31 Phase

U-Boot 2021.04-OpenWrt-r20028-43d71ad93e (Jan 03 2023 - 00:24:21 +0000)

SoC: LS1088AE Rev1.0 (0x87030010)
Clock Configuration:
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
CPU3(A53):1600 MHz CPU4(A53):1600 MHz CPU5(A53):1600 MHz
CPU6(A53):1600 MHz CPU7(A53):1600 MHz
Bus: 700 MHz DDR: 2100 MT/s
Reset Configuration Word (RCW):
00000000: 4000541c 00000040 00000000 00000000
00000010: 00000000 000a0000 00300000 00000000
00000020: 01c01150 00002580 00000000 00000040
00000030: 00000c5b 00000000 00002403 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 00000011 000009e7
00000070: 44110000 00009555
VID: Core voltage after adjustment is at 1026 mV
DRAM: 7.9 GiB
DDR 7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
Using SERDES1 Protocol: 29 (0x1d)
Using SERDES2 Protocol: 13 (0xd)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
PCIe3: pcie@3600000 Root Complex: no link
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Model: NXP Layerscape 1088a RDB Board
Board: LS1088A-RDB, Board Arch: V1, Board version: C, boot from SD card
QSPI:0
CPLD: v1.8
SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz
SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
SEC0: RNG instantiated
Net: eth0: DPMAC1@xgmiiPHY reset timed out
, eth1: DPMAC2@xgmii, eth2: DPMAC3@qsgmii, eth3: DPMAC4@qsgmii, eth4: DPMAC5@qsgmii, eth5: DPMAC6@qsgmii, eth6: DPMAC7@qsgmii, eth7: DPMAC8@qsgmii, eth8: DPMAC9@qsgmii, eth9: DPMAC10@qsgmii
Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
starting openwrt ...

MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.28.1, boot status: 0x1)

MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK
fsl-mc: Deploying data path layout ... SUCCESS
6898840 bytes read in 296 ms (22.2 MiB/s)

Loading kernel from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.10.161
Created: 2023-01-03 0:24:21 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x810000ec
Data Size: 6881548 Bytes = 6.6 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: crc32
Hash value: 4ef4ffd8
Hash algo: sha1
Hash value: eeb5198cb9b5f8704f1c66e3c7ce2d318067d6dd
Verifying Hash Integrity ... crc32+ sha1+ OK

Loading fdt from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob
Created: 2023-01-03 0:24:21 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x81690340
Data Size: 15372 Bytes = 15 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: fbd24836
Hash algo: sha1
Hash value: 2e2513ada7ac193cd32ca9cb318fd9b7bb6b5ff9
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x81690340
Uncompressing Kernel Image
Loading Device Tree to 000000009fff9000, end 000000009ffffc0b ... OK
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND

Actual behaviour

Stops booting

Expected behaviour

Booting

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@cowgirlalexa cowgirlalexa added the bug issue report with a confirmed bug label Jan 18, 2023
@CHKDSK88
Copy link
Contributor

Hi @cowgirlalexa. Please explain couple things:

Describe the bug

All releases since Openwrt 21.03.0 including the current snapshots are not booting on the LS1088 A RDB Board if installed clean using the SDCard Images. (21.03.0-3) Last working release is OpenWRT 21.02.5

Do you mean 22.03?

Sysupgrade using the *sdboot-squashfs-sysupgrade.bin from 21.02.5 to 21.03.3 is working and booting but the configuration of the network ports fails: restool error "Did not find a device file"

OpenWrt version

Since 21.03.0

OpenWrt target/subtarget

layerscape/armv8_64b

Device

LS1088A RDB Board

Image kind

Official downloaded image

Steps to reproduce

Clean install with SD Card Image - Boot log:

ing SERDES1 Protocol: 29 (0x1d) Using SERDES2 Protocol: 13 (0xd) NAND: 512 MiB MMC: FSL_SDHC: 0 Loading Environment from SPI Flash... SF: Detected s25fl512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB OK EEPROM: NXID v1 In: serial Out: serial Err: serial Model: NXP Layerscape 1088a RDB Board Board: LS1088ARDB-PB, Board Arch: V1, Board version: B, boot from QSPI:1 CPLD: v5.0 SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz Net: PHY reset timed out PCIe0: pcie@3400000 Root Complex: no link PCIe1: pcie@3500000 Root Complex: no link PCIe2: pcie@3600000 Root Complex: no link DPMAC1@xgmii, DPMAC2@xgmii, DPMAC3@qsgmii, DPMAC4@qsgmii, DPMAC5@qsgmii, DPMAC6@qsgmii, DPMAC7@qsgmii, DPMAC8@qsgmii, DPMAC9@qsgmii, DPMAC10@qsgmii Hit any key to stop autoboot: 0 starting openwrt ... SF: Detected s25fl512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB device 0 offset 0xa00000, size 0x300000 SF: 3145728 bytes @ 0xa00000 Read: OK device 0 offset 0xe00000, size 0x100000 SF: 1048576 bytes @ 0xe00000 Read: OK crc32+ fsl-mc: Booting Management Complex ... SUCCESS fsl-mc: Management Complex booted (version: 10.20.4, boot status: 0x1) device 0 offset 0xd00000, size 0x100000 SF: 1048576 bytes @ 0xd00000 Read: OK fsl-mc: Deploying data path layout ... SUCCESS SF: Detected s25fl512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB device 0 offset 0xf00000, size 0x100000 SF: 1048576 bytes @ 0xf00000 Read: OK device 0 offset 0x1000000, size 0x1000000 SF: 16777216 bytes @ 0x1000000 Read: OK

But it's bootlog from SPI boot.

Booting kernel from Legacy Image at 81000000 ...

Image Name: ARM64 OpenWrt Linux-5.4.145 Created: 2021-09-23 5:55:55 UTC Image Type: AArch64 Linux Kernel Image (gzip compressed) Data Size: 6593687 Bytes = 6.3 MiB Load Address: 80080000 Entry Point: 80080000 Verifying Checksum ... OK

Flattened Device Tree blob at 8f000000

Booting using the fdt blob at 0x8f000000 Uncompressing Kernel Image Loading Device Tree to 000000009fff8000, end 000000009ffffc42 ... OK WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND

Actual behaviour

Stops booting

Expected behaviour

Booting

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.

Please check what exactly do you test and post bootlog again.

@cowgirlalexa
Copy link
Author

cowgirlalexa commented Jan 25, 2023

22.03 indeed.

Sorry that was a copy and past error. This is the correct bootlog:

NOTICE: UDIMM 18ASF1G72AZ-2G3B1

NOTICE: 8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1
NOTICE: BL2: v2.4(release):v22.03.3-0-g221fbfa2d8
NOTICE: BL2: Built : 00:24:21, Jan 3 2023
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.4(release):v22.03.3-0-g221fbfa2d8
NOTICE: BL31: Built : 00:24:21, Jan 3 2023
NOTICE: Welcome to ls1088ardb BL31 Phase

U-Boot 2021.04-OpenWrt-r20028-43d71ad93e (Jan 03 2023 - 00:24:21 +0000)

SoC: LS1088AE Rev1.0 (0x87030010)
Clock Configuration:
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
CPU3(A53):1600 MHz CPU4(A53):1600 MHz CPU5(A53):1600 MHz
CPU6(A53):1600 MHz CPU7(A53):1600 MHz
Bus: 700 MHz DDR: 2100 MT/s
Reset Configuration Word (RCW):
00000000: 4000541c 00000040 00000000 00000000
00000010: 00000000 000a0000 00300000 00000000
00000020: 01c01150 00002580 00000000 00000040
00000030: 00000c5b 00000000 00002403 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 00000011 000009e7
00000070: 44110000 00009555
VID: Core voltage after adjustment is at 1026 mV
DRAM: 7.9 GiB
DDR 7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
Using SERDES1 Protocol: 29 (0x1d)
Using SERDES2 Protocol: 13 (0xd)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
PCIe3: pcie@3600000 Root Complex: no link
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Model: NXP Layerscape 1088a RDB Board
Board: LS1088A-RDB, Board Arch: V1, Board version: C, boot from SD card
QSPI:0
CPLD: v1.8
SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz
SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
SEC0: RNG instantiated
Net: eth0: DPMAC1@xgmiiPHY reset timed out
, eth1: DPMAC2@xgmii, eth2: DPMAC3@qsgmii, eth3: DPMAC4@qsgmii, eth4: DPMAC5@qsgmii, eth5: DPMAC6@qsgmii, eth6: DPMAC7@qsgmii, eth7: DPMAC8@qsgmii, eth8: DPMAC9@qsgmii, eth9: DPMAC10@qsgmii
Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
starting openwrt ...

MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.28.1, boot status: 0x1)

MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK
fsl-mc: Deploying data path layout ... SUCCESS
6898840 bytes read in 296 ms (22.2 MiB/s)

Loading kernel from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.10.161
Created: 2023-01-03 0:24:21 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x810000ec
Data Size: 6881548 Bytes = 6.6 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: crc32
Hash value: 4ef4ffd8
Hash algo: sha1
Hash value: eeb5198cb9b5f8704f1c66e3c7ce2d318067d6dd
Verifying Hash Integrity ... crc32+ sha1+ OK

Loading fdt from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob
Created: 2023-01-03 0:24:21 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x81690340
Data Size: 15372 Bytes = 15 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: fbd24836
Hash algo: sha1
Hash value: 2e2513ada7ac193cd32ca9cb318fd9b7bb6b5ff9
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x81690340
Uncompressing Kernel Image
Loading Device Tree to 000000009fff9000, end 000000009ffffc0b ... OK
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND

@cowgirlalexa
Copy link
Author

Last working bootlog (openwrt-21.02.5-layerscape-armv8_64b-fsl_ls1088a-rdb-sdboot-squashfs-sdcard.img):

NOTICE: UDIMM 18ASF1G72AZ-2G3B1

NOTICE: 8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1
NOTICE: BL2: v1.5(release):v21.02.5
NOTICE: BL2: Built : 19:16:38, Oct 13 2022
NOTICE: BL2: Booting BL31
NOTICE: BL31: v1.5(release):v21.02.5
NOTICE: BL31: Built : 19:16:38, Oct 13 2022
NOTICE: Welcome to LS1088 BL31 Phase

U-Boot 2019.10-OpenWrt-r16688-fa9a932fdb (Oct 13 2022 - 19:16:38 +0000)

SoC: LS1088AE Rev1.0 (0x87030010)
Clock Configuration:
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
CPU3(A53):1600 MHz CPU4(A53):1600 MHz CPU5(A53):1600 MHz
CPU6(A53):1600 MHz CPU7(A53):1600 MHz
Bus: 700 MHz DDR: 2100 MT/s
Reset Configuration Word (RCW):
00000000: 4000541c 00000040 00000000 00000000
00000010: 00000000 000a0000 00300000 00000000
00000020: 01c01150 00002580 00000000 00000040
00000030: 00000c5b 00000000 00002403 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 00000011 000009e7
00000070: 44110000 00009555
VID: Core voltage after adjustment is at 1026 mV
DRAM: 7.9 GiB
DDR 7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
Using SERDES1 Protocol: 29 (0x1d)
Using SERDES2 Protocol: 13 (0xd)
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Model: NXP Layerscape 1088a RDB Board
Board: LS1088A-RDB, Board Arch: V1, Board version: C, boot from SD card
QSPI:0
CPLD: v1.8
SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz
SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
Net: PHY reset timed out
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
DPMAC1@xgmii, DPMAC2@xgmii, DPMAC3@qsgmii, DPMAC4@qsgmii, DPMAC5@qsgmii, DPMAC6@qsgmii, DPMAC7@qsgmii, DPMAC8@qsgmii, DPMAC9@qsgmii, DPMAC10@qsgmii
Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
starting openwrt ...

MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.20.4, boot status: 0x1)

MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK
fsl-mc: Deploying data path layout ... SUCCESS
6779832 bytes read in 334 ms (19.4 MiB/s)

Loading kernel from FIT Image at 81000000 ...

Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.215
Created: 2022-10-13 19:16:38 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x810000e8
Data Size: 6758447 Bytes = 6.4 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80080000
Entry Point: 0x80080000
Hash algo: crc32
Hash value: f2a4c840
Hash algo: sha1
Hash value: daa7b2038ec3bf29b1b4ec18c302eaed743a503e
Verifying Hash Integrity ... crc32+ sha1+ OK

Loading fdt from FIT Image at 81000000 ...

Using 'config@1' configuration
Trying 'fdt@1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob
Created: 2022-10-13 19:16:38 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x81672260
Data Size: 19491 Bytes = 19 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 24e480ea
Hash algo: sha1
Hash value: ca0b2200997708112616c6a2277f1559fa324911
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x81672260
Uncompressing Kernel Image
Loading Device Tree to 000000009fff8000, end 000000009ffffc22 ... OK
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.215 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16688-fa9a932fdb)) #0 SMP PREEMPT Thu Oct 13 19:16:38 2022
[ 0.000000] Machine model: LS1088A RDB Board
[ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] cma: Reserved 16 MiB at 0x00000000fac00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000819fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x819f33d800-0x819f33efff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000819fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000fbdfffff]
[ 0.000000] node 0: [mem 0x0000008080000000-0x000000817fffffff]
[ 0.000000] node 0: [mem 0x0000008188000000-0x000000819fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000819fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 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 22 pages/cpu s51672 r8192 d30248 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1628160
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rw rootwait rootfstype=squashfs,f2fs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xf6c00000-0xfac00000] (64MB)
[ 0.000000] Memory: 6379084K/6617088K available (10878K kernel code, 532K rwdata, 1940K rodata, 640K init, 853K bss, 221620K reserved, 16384K cma-reserved)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: .RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[ 0.000000] .Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006100000
[ 0.000000] ITS [mem 0x06020000-0x0603ffff]
[ 0.000000] ITS@0x0000000006020000: allocated 65536 Devices @8197080000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x0000008197040000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000008197050000
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c409fb33, max_idle_ns: 440795203156 ns
[ 0.000002] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps every 4398046511103ns
[ 0.008298] Console: colour dummy device 80x25
[ 0.012827] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023273] pid_max: default: 32768 minimum: 301
[ 0.028050] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.035705] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.044596] ASID allocator initialised with 32768 entries
[ 0.050093] rcu: Hierarchical SRCU implementation.
[ 0.055029] Platform MSI: gic-its@6020000 domain created
[ 0.060434] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.068027] fsl-mc MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.076074] smp: Bringing up secondary CPUs ...
[ 0.080943] Detected VIPT I-cache on CPU1
[ 0.080959] GICv3: CPU1: found redistributor 1 region 0:0x0000000006120000
[ 0.080968] GICv3: CPU1: using allocated LPI pending table @0x0000008197060000
[ 0.080985] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.081301] Detected VIPT I-cache on CPU2
[ 0.081312] GICv3: CPU2: found redistributor 2 region 0:0x0000000006140000
[ 0.081321] GICv3: CPU2: using allocated LPI pending table @0x0000008197070000
[ 0.081335] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.081629] Detected VIPT I-cache on CPU3
[ 0.081640] GICv3: CPU3: found redistributor 3 region 0:0x0000000006160000
[ 0.081648] GICv3: CPU3: using allocated LPI pending table @0x0000008197100000
[ 0.081663] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.081967] Detected VIPT I-cache on CPU4
[ 0.081984] GICv3: CPU4: found redistributor 100 region 0:0x0000000006180000
[ 0.081993] GICv3: CPU4: using allocated LPI pending table @0x0000008197110000
[ 0.082015] CPU4: Booted secondary processor 0x0000000100 [0x410fd034]
[ 0.082353] Detected VIPT I-cache on CPU5
[ 0.082366] GICv3: CPU5: found redistributor 101 region 0:0x00000000061a0000
[ 0.082374] GICv3: CPU5: using allocated LPI pending table @0x0000008197120000
[ 0.082389] CPU5: Booted secondary processor 0x0000000101 [0x410fd034]
[ 0.082700] Detected VIPT I-cache on CPU6
[ 0.082714] GICv3: CPU6: found redistributor 102 region 0:0x00000000061c0000
[ 0.082722] GICv3: CPU6: using allocated LPI pending table @0x0000008197130000
[ 0.082737] CPU6: Booted secondary processor 0x0000000102 [0x410fd034]
[ 0.083044] Detected VIPT I-cache on CPU7
[ 0.083058] GICv3: CPU7: found redistributor 103 region 0:0x00000000061e0000
[ 0.083067] GICv3: CPU7: using allocated LPI pending table @0x0000008197140000
[ 0.083082] CPU7: Booted secondary processor 0x0000000103 [0x410fd034]
[ 0.083129] smp: Brought up 1 node, 8 CPUs
[ 0.261797] SMP: Total of 8 processors activated.
[ 0.266540] CPU features: detected: 32-bit EL0 Support
[ 0.271730] CPU features: detected: CRC32 instructions
[ 0.279223] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.287657] CPU: All CPU(s) started at EL2
[ 0.291804] alternatives: patching kernel code
[ 0.299975] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.309816] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.317610] xor: measuring software checksum speed
[ 0.362466] 8regs : 3166.000 MB/sec
[ 0.406705] 32regs : 3633.000 MB/sec
[ 0.450946] arm64_neon: 3201.000 MB/sec
[ 0.455166] xor: using function: 32regs (3633.000 MB/sec)
[ 0.461059] NET: Registered protocol family 16
[ 0.466303] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.473065] cpuidle: using governor menu
[ 0.477268] Serial: AMBA PL011 UART driver
[ 0.482031] Machine: LS1088A RDB Board
[ 0.485809] SoC family: QorIQ LS1088A
[ 0.489494] SoC ID: svr:0x87030010, Revision: 1.0
[ 0.500054] fsl_mc_bus 80c000000.fsl-mc: MC firmware version: 10.20.4
[ 0.509113] fsl_mc_dprc dprc.1: DMA mask not set
[ 0.518705] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.525471] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.532231] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.538991] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.547076] raid6: using algorithm neonx8 gen() 0 MB/s
[ 0.552395] raid6: .... xor() 0 MB/s, rmw enabled
[ 0.557289] raid6: using neon recovery algorithm
[ 0.562186] iommu: Default domain type: Passthrough
[ 0.567249] vgaarb: loaded
[ 0.570147] SCSI subsystem initialized
[ 0.574321] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not supported
[ 0.581731] i2c i2c-0: IMX I2C adapter registered
[ 0.586542] pps_core: LinuxPPS API ver. 1 registered
[ 0.591552] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.600793] PTP clock support registered
[ 0.604920] No BMan portals available!
[ 0.608855] QMan: Allocated lookup table at (ptrval), entry count 65537
[ 0.616333] No QMan portals available!
[ 0.620258] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 0.626346] fsl-ifc 2240000.ifc: Freescale Integrated Flash Controller
[ 0.632943] fsl-ifc 2240000.ifc: IFC version 2.0, 8 banks
[ 0.638956] clocksource: Switched to clocksource arch_sys_counter
[ 0.645195] VFS: Disk quotas dquot_6.6.0
[ 0.649181] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.658832] thermal_sys: Registered thermal governor 'step_wise'
[ 0.658834] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.665149] NET: Registered protocol family 2
[ 0.676317] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.685854] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.694521] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.702807] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.710832] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.717485] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.724436] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.731907] NET: Registered protocol family 1
[ 0.736315] PCI: CLS 0 bytes, default 64
[ 0.741262] workingset: timestamp_bits=44 max_order=21 bucket_order=0
[ 0.748105] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.754004] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.763979] fuse: init (API version 7.31)
[ 0.768106] SGI XFS with security attributes, realtime, no debug enabled
[ 0.775392] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.783456] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[ 0.790846] layerscape-pcie 3400000.pcie: IO 0x2000010000..0x200001ffff -> 0x00000000
[ 0.799017] layerscape-pcie 3400000.pcie: MEM 0x2040000000..0x207fffffff -> 0x40000000
[ 0.807282] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[ 0.814046] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.819581] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.825816] pci_bus 0000:00: root bus resource [mem 0x2040000000-0x207fffffff] (bus address [0x40000000-0x7fffffff])
[ 0.836450] pci 0000:00:00.0: [1957:80c0] type 01 class 0x060400
[ 0.842522] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[ 0.848848] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x03ffffff]
[ 0.855173] pci 0000:00:00.0: reg 0x38: [mem 0x2048000000-0x2048ffffff pref]
[ 0.862319] pci 0000:00:00.0: supports D1 D2
[ 0.866624] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 0.874316] pci 0000:00:00.0: BAR 1: assigned [mem 0x2040000000-0x2043ffffff]
[ 0.881519] pci 0000:00:00.0: BAR 0: assigned [mem 0x2044000000-0x2044ffffff]
[ 0.888721] pci 0000:00:00.0: BAR 6: assigned [mem 0x2045000000-0x2045ffffff pref]
[ 0.896360] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 0.901726] layerscape-pcie 3500000.pcie: host bridge /soc/pcie@3500000 ranges:
[ 0.909110] layerscape-pcie 3500000.pcie: IO 0x2800010000..0x280001ffff -> 0x00000000
[ 0.917280] layerscape-pcie 3500000.pcie: MEM 0x2840000000..0x287fffffff -> 0x40000000
[ 0.925538] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00
[ 0.932301] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 0.937836] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
[ 0.946877] pci_bus 0001:00: root bus resource [mem 0x2840000000-0x287fffffff] (bus address [0x40000000-0x7fffffff])
[ 0.957506] pci 0001:00:00.0: [1957:80c0] type 01 class 0x060400
[ 0.963590] pci 0001:00:00.0: reg 0x38: [mem 0x2840000000-0x28400007ff pref]
[ 0.970731] pci 0001:00:00.0: supports D1 D2
[ 0.975036] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 0.982678] pci 0001:00:00.0: BAR 6: assigned [mem 0x2840000000-0x28400007ff pref]
[ 0.990319] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 0.995671] layerscape-pcie 3600000.pcie: host bridge /soc/pcie@3600000 ranges:
[ 1.003062] layerscape-pcie 3600000.pcie: IO 0x3000010000..0x300001ffff -> 0x00000000
[ 1.011233] layerscape-pcie 3600000.pcie: MEM 0x3040000000..0x307fffffff -> 0x40000000
[ 1.019487] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0002:00
[ 1.026251] pci_bus 0002:00: root bus resource [bus 00-ff]
[ 1.031785] pci_bus 0002:00: root bus resource [io 0x20000-0x2ffff] (bus address [0x0000-0xffff])
[ 1.040826] pci_bus 0002:00: root bus resource [mem 0x3040000000-0x307fffffff] (bus address [0x40000000-0x7fffffff])
[ 1.051459] pci 0002:00:00.0: [1957:80c0] type 01 class 0x060400
[ 1.057533] pci 0002:00:00.0: reg 0x38: [mem 0x3040000000-0x30400007ff pref]
[ 1.064671] pci 0002:00:00.0: supports D1 D2
[ 1.068978] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 1.076620] pci 0002:00:00.0: BAR 6: assigned [mem 0x3040000000-0x30400007ff pref]
[ 1.084266] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 1.090411] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.098142] printk: console [ttyS0] disabled
[ 1.102485] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 7, base_baud = 21875000) is a 16550A
[ 1.111284] printk: console [ttyS0] enabled
[ 1.111284] printk: console [ttyS0] enabled
[ 1.119673] printk: bootconsole [uart8250] disabled
[ 1.119673] printk: bootconsole [uart8250] disabled
[ 1.129650] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 7, base_baud = 21875000) is a 16550A
[ 1.139098] arm-smmu 5000000.iommu: probing hardware configuration...
[ 1.145538] arm-smmu 5000000.iommu: SMMUv2 with:
[ 1.150153] arm-smmu 5000000.iommu: .stage 1 translation
[ 1.155463] arm-smmu 5000000.iommu: .stage 2 translation
[ 1.160772] arm-smmu 5000000.iommu: .nested translation
[ 1.165997] arm-smmu 5000000.iommu: .stream matching with 128 register groups
[ 1.173134] arm-smmu 5000000.iommu: .64 context banks (0 stage-2 only)
[ 1.179662] arm-smmu 5000000.iommu: .Supported page sizes: 0x61311000
[ 1.186100] arm-smmu 5000000.iommu: .Stage-1: 48-bit VA -> 48-bit IPA
[ 1.192539] arm-smmu 5000000.iommu: .Stage-2: 48-bit IPA -> 48-bit PA
[ 1.199506] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.209332] brd: module loaded
[ 1.214445] loop: module loaded
[ 1.217648] Loading iSCSI transport class v2.0-870.
[ 1.223295] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[ 1.229647] nand: Micron MT29F4G08ABBDAH4
[ 1.233653] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.241523] Bad block table found at page 262080, version 0x01
[ 1.247891] Bad block table found at page 262016, version 0x01
[ 1.254513] fsl,ifc-nand 530000000.nand: IFC NAND device at 0x530000000, bank 0
[ 1.262295] spi-nor spi0.0: s25fs512s (65536 Kbytes)
[ 1.267815] spi-nor spi0.1: s25fs512s (65536 Kbytes)
[ 1.278087] Freescale FM module, FMD API version 21.1.0
[ 1.283385] Freescale FM Ports module
[ 1.287045] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 1.292662] fsl_dpa: FSL DPAA Ethernet driver
[ 1.297050] fsl_advanced: FSL DPAA Advanced drivers:
[ 1.302012] fsl_proxy: FSL DPAA Proxy initialization driver
[ 1.307621] fsl_oh: FSL FMan Offline Parsing port driver
[ 1.313355] VFIO - User Level meta-driver version: 0.3
[ 1.318700] mousedev: PS/2 mouse device common for all mice
[ 1.324755] ftm-alarm 2800000.timer: registered as rtc1
[ 1.330065] i2c /dev entries driver
[ 1.334184] i2c i2c-0: Added multiplexed i2c bus 1
[ 1.339062] i2c i2c-0: Added multiplexed i2c bus 2
[ 1.344017] i2c i2c-0: Added multiplexed i2c bus 3
[ 1.353981] rtc-pcf2127-i2c 4-0051: registered as rtc0
[ 1.359144] i2c i2c-0: Added multiplexed i2c bus 4
[ 1.364027] i2c i2c-0: Added multiplexed i2c bus 5
[ 1.368904] i2c i2c-0: Added multiplexed i2c bus 6
[ 1.373783] i2c i2c-0: Added multiplexed i2c bus 7
[ 1.378660] i2c i2c-0: Added multiplexed i2c bus 8
[ 1.383453] pca954x 0-0077: registered 8 multiplexed busses for I2C mux pca9547
[ 1.391172] sp805-wdt c000000.wdt: registration successful
[ 1.396740] sp805-wdt c010000.wdt: registration successful
[ 1.402306] sp805-wdt c020000.wdt: registration successful
[ 1.407873] sp805-wdt c030000.wdt: registration successful
[ 1.413440] sp805-wdt c100000.wdt: registration successful
[ 1.419013] sp805-wdt c110000.wdt: registration successful
[ 1.424580] sp805-wdt c120000.wdt: registration successful
[ 1.430146] sp805-wdt c130000.wdt: registration successful
[ 1.436278] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[ 1.443022] sdhci: Secure Digital Host Controller Interface driver
[ 1.449200] sdhci: Copyright(c) Pierre Ossman
[ 1.453555] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.459288] sdhci-esdhc 2140000.esdhc: Adding to iommu group 0
[ 1.490647] mmc0: SDHCI controller on 2140000.esdhc [2140000.esdhc] using ADMA 64-bit
[ 1.498582] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.504385] No fsl,qman node
[ 1.507273] Freescale USDPAA process driver
[ 1.511461] fsl-usdpaa: no region found
[ 1.515295] Freescale USDPAA process IRQ driver
[ 1.520133] NET: Registered protocol family 10
[ 1.524951] Segment Routing with IPv6
[ 1.528650] NET: Registered protocol family 17
[ 1.533106] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.544817] mmc0: new high speed SDXC card at address aaaa
[ 1.546060] 8021q: 802.1Q VLAN Support v1.8
[ 1.551828] mmcblk0: mmc0:aaaa SR128 119 GiB
[ 1.555719] tsn generic netlink module v1 init...
[ 1.560976] mmcblk0: p1 p2
[ 1.565752] Btrfs loaded, crc32c=crc32c-generic
[ 1.573237] fsl_mc_dprc dprc.1: Adding to iommu group 1
[ 1.609269] fsl_dpaa2_eth dpni.0: Adding to iommu group 1
[ 1.614726] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.621148] fsl_mc_allocator dpbp.1: Adding to iommu group 1
[ 1.626882] dpaa2_mac dpmac.10: Adding to iommu group 1
[ 1.632121] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.638527] dpaa2_mac dpmac.9: Adding to iommu group 1
[ 1.643678] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.650085] dpaa2_mac dpmac.8: Adding to iommu group 1
[ 1.655237] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.661644] dpaa2_mac dpmac.7: Adding to iommu group 1
[ 1.666794] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.673204] dpaa2_mac dpmac.6: Adding to iommu group 1
[ 1.678353] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.684765] dpaa2_mac dpmac.5: Adding to iommu group 1
[ 1.689916] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.696323] dpaa2_mac dpmac.4: Adding to iommu group 1
[ 1.701476] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.707882] dpaa2_mac dpmac.3: Adding to iommu group 1
[ 1.713034] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.719446] dpaa2_mac dpmac.2: Adding to iommu group 1
[ 1.724599] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.731012] dpaa2_mac dpmac.1: Adding to iommu group 1
[ 1.736162] fsl_mc_dprc dprc.1: No more resources of type dpmcp left
[ 1.743616] fsl_mc_allocator dpmcp.25: Adding to iommu group 1
[ 1.750522] fsl_mc_allocator dpmcp.24: Adding to iommu group 1
[ 1.757426] fsl_mc_allocator dpmcp.23: Adding to iommu group 1
[ 1.764331] fsl_mc_allocator dpmcp.22: Adding to iommu group 1
[ 1.771248] fsl_mc_allocator dpmcp.21: Adding to iommu group 1
[ 1.778154] fsl_mc_allocator dpmcp.20: Adding to iommu group 1
[ 1.785063] fsl_mc_allocator dpmcp.19: Adding to iommu group 1
[ 1.791974] fsl_mc_allocator dpmcp.18: Adding to iommu group 1
[ 1.798880] fsl_mc_allocator dpmcp.17: Adding to iommu group 1
[ 1.805788] fsl_mc_allocator dpmcp.16: Adding to iommu group 1
[ 1.812706] fsl_mc_allocator dpmcp.15: Adding to iommu group 1
[ 1.819618] fsl_mc_allocator dpmcp.14: Adding to iommu group 1
[ 1.826526] fsl_mc_allocator dpmcp.13: Adding to iommu group 1
[ 1.833437] fsl_mc_allocator dpmcp.12: Adding to iommu group 1
[ 1.840346] fsl_mc_allocator dpmcp.11: Adding to iommu group 1
[ 1.847265] fsl_mc_allocator dpmcp.10: Adding to iommu group 1
[ 1.854168] fsl_mc_allocator dpmcp.9: Adding to iommu group 1
[ 1.860988] fsl_mc_allocator dpmcp.8: Adding to iommu group 1
[ 1.867813] fsl_mc_allocator dpmcp.7: Adding to iommu group 1
[ 1.874633] fsl_mc_allocator dpmcp.6: Adding to iommu group 1
[ 1.881457] fsl_mc_allocator dpmcp.5: Adding to iommu group 1
[ 1.888282] fsl_mc_allocator dpmcp.4: Adding to iommu group 1
[ 1.895108] fsl_mc_allocator dpmcp.3: Adding to iommu group 1
[ 1.901927] fsl_mc_allocator dpmcp.2: Adding to iommu group 1
[ 1.908749] fsl_mc_allocator dpmcp.1: Adding to iommu group 1
[ 1.914569] fsl_dpaa2_ptp dprtc.0: Adding to iommu group 1
[ 1.922260] ptp_qoriq: device tree node missing required elements, try automatic configuration
[ 1.930944] pps pps0: new PPS source ptp0
[ 1.937098] fsl_mc_dpio dpio.8: Adding to iommu group 1
[ 1.945911] fsl_mc_dpio dpio.8: probed
[ 1.952243] fsl_mc_dpio dpio.7: Adding to iommu group 1
[ 1.961049] fsl_mc_dpio dpio.7: probed
[ 1.967387] fsl_mc_dpio dpio.6: Adding to iommu group 1
[ 1.976193] fsl_mc_dpio dpio.6: probed
[ 1.982518] fsl_mc_dpio dpio.5: Adding to iommu group 1
[ 1.991332] fsl_mc_dpio dpio.5: probed
[ 1.997657] fsl_mc_dpio dpio.4: Adding to iommu group 1
[ 2.007479] fsl_mc_dpio dpio.4: probed
[ 2.013806] fsl_mc_dpio dpio.3: Adding to iommu group 1
[ 2.022610] fsl_mc_dpio dpio.3: probed
[ 2.028942] fsl_mc_dpio dpio.2: Adding to iommu group 1
[ 2.037748] fsl_mc_dpio dpio.2: probed
[ 2.044083] fsl_mc_dpio dpio.1: Adding to iommu group 1
[ 2.052887] fsl_mc_dpio dpio.1: probed
[ 2.057209] fsl_mc_allocator dpcon.1: Adding to iommu group 1
[ 2.066065] fsl_mc_dprc dprc.1: DPRC device bound to driver
[ 2.071692] pcieport 0000:00:00.0: Adding to iommu group 2
[ 2.077307] pcieport 0000:00:00.0: PME: Signaling with IRQ 355
[ 2.083275] pcieport 0000:00:00.0: AER: enabled with IRQ 18
[ 2.088969] pcieport 0001:00:00.0: Adding to iommu group 3
[ 2.094553] pcieport 0001:00:00.0: PME: Signaling with IRQ 356
[ 2.100513] pcieport 0001:00:00.0: AER: enabled with IRQ 19
[ 2.106203] pcieport 0002:00:00.0: Adding to iommu group 4
[ 2.111798] pcieport 0002:00:00.0: PME: Signaling with IRQ 357
[ 2.117748] pcieport 0002:00:00.0: AER: enabled with IRQ 20
[ 2.159485] fsl_dpaa2_eth dpni.0: Probed interface eth0
[ 2.168551] dpaa2_mac dpmac.10: Registered fixed PHY.
[ 2.177382] dpaa2_mac dpmac.9: Registered fixed PHY.
[ 2.186120] dpaa2_mac dpmac.8: Registered fixed PHY.
[ 2.194859] dpaa2_mac dpmac.7: Registered fixed PHY.
[ 2.203599] dpaa2_mac dpmac.6: Registered fixed PHY.
[ 2.212339] dpaa2_mac dpmac.5: Registered fixed PHY.
[ 2.221083] dpaa2_mac dpmac.4: Registered fixed PHY.
[ 2.229826] dpaa2_mac dpmac.3: Registered fixed PHY.
[ 2.238563] dpaa2_mac dpmac.2: Registered fixed PHY.
[ 2.247312] dpaa2_mac dpmac.1: Registered fixed PHY.
[ 2.253937] rtc-pcf2127-i2c 4-0051: setting system clock to 2023-01-25T21:13:50 UTC (1674681230)
[ 2.265247] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[ 2.272526] Freeing unused kernel memory: 640K
[ 2.290994] Run /sbin/init as init process
[ 2.416987] init: Console is alive
[ 2.420933] init: - watchdog -
[ 2.548980] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.567728] usbcore: registered new interface driver usbfs
[ 2.573243] usbcore: registered new interface driver hub
[ 2.578585] usbcore: registered new device driver usb
[ 2.585344] ahci-qoriq 3200000.sata: Adding to iommu group 5
[ 2.591105] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[ 2.600075] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[ 2.610198] scsi host0: ahci-qoriq
[ 2.613736] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 15
[ 2.933157] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.940012] dwc3 3100000.usb3: Adding to iommu group 6
[ 2.945216] dwc3 3100000.usb3: Failed to get clk 'ref': -2
[ 2.950954] dwc3 3110000.usb3: Adding to iommu group 7
[ 2.956134] dwc3 3110000.usb3: Failed to get clk 'ref': -2
[ 2.961647] dwc3 3110000.usb3: Configuration mismatch. dr_mode forced to host
[ 2.972530] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.978028] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 2.985744] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
[ 2.995167] xhci-hcd xhci-hcd.1.auto: irq 13, io mem 0x03100000
[ 3.001430] hub 1-0:1.0: USB hub found
[ 3.005192] hub 1-0:1.0: 1 port detected
[ 3.009314] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.014807] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 3.022468] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 3.029018] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.037364] hub 2-0:1.0: USB hub found
[ 3.041145] hub 2-0:1.0: 1 port detected
[ 3.045293] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.050785] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[ 3.058520] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
[ 3.067957] xhci-hcd xhci-hcd.2.auto: irq 14, io mem 0x03110000
[ 3.074215] hub 3-0:1.0: USB hub found
[ 3.077974] hub 3-0:1.0: 1 port detected
[ 3.082060] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.087550] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 3.095211] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 3.101761] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.110105] hub 4-0:1.0: USB hub found
[ 3.113866] hub 4-0:1.0: 1 port detected
[ 3.119252] usbcore: registered new interface driver usb-storage
[ 3.125397] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.138937] init: - preinit -
[ 3.388512] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.406512] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.416151] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.457297] fsl_dpaa2_eth dpni.0 eth0: Link Event: state up
[ 3.457803] fsl_dpaa2_eth dpni.0 eth0: Link Event: state up
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 7.550130] random: procd: uninitialized urandom read (4 bytes read)
[ 7.559738] mount_root: rootdisk overlay filesystem has not been formatted yet
[ 7.623029] random: mkfs.f2fs: uninitialized urandom read (16 bytes read)
[ 7.948001] F2FS-fs (loop0): Found nat_bits in checkpoint
[ 7.960866] F2FS-fs (loop0): Mounted with checkpoint version = 6d9702b7
[ 7.967694] mount_root: overlay filesystem has not been fully initialized yet
[ 7.974990] mount_root: switching to f2fs overlay
[ 7.981809] overlayfs: "xino" feature enabled using 32 upper inode bits.
[ 8.002786] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[ 8.014676] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.067849] fsl_dpaa2_eth dpni.0 eth0: Link Event: state down
[ 8.070354] procd: - early -
[ 8.076498] procd: - watchdog -
[ 8.617110] procd: - watchdog -
[ 8.625194] procd: - ubus -
[ 8.660443] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.677522] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.683973] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.690942] procd: - init -
Please press Enter to activate this console.
[ 8.829504] urngd: v1.0.2 started.
[ 8.835335] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.851224] random: crng init done
[ 8.852610] ina2xx 3-0040: power monitor ina220 (Rshunt = 1000 uOhm)
[ 8.854619] random: 24 urandom warning(s) missed due to ratelimiting
[ 8.873994] xt_time: kernel timezone is -0000
[ 8.884463] PPP generic driver version 2.4.2
[ 8.889090] NET: Registered protocol family 24
[ 8.896437] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.267695] fsl_dpaa2_eth dpni.0 eth0: Link Event: state up
[ 13.268193] fsl_dpaa2_eth dpni.0 eth0: Link Event: state up
[ 13.280079] br-lan: port 1(eth0) entered blocking state
[ 13.285324] br-lan: port 1(eth0) entered disabled state
[ 13.292765] device eth0 entered promiscuous mode
[ 13.299225] br-lan: port 1(eth0) entered blocking state
[ 13.304460] br-lan: port 1(eth0) entered forwarding state
[ 14.302981] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

@CHKDSK88
Copy link
Contributor

@cowgirlalexa
Please change loadaddr env from 0x81000000 to 0x88000000 and try again.

@cowgirlalexa
Copy link
Author

printenv (openwrt-22.03.3-layerscape-armv8_64b-fsl_ls1088a-rdb-sdboot-squashfs-sdcard.img):

bootargs=root=/dev/mmcblk0p2 rw rootwait rootfstype=squashfs,f2fs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
bootcmd=echo starting openwrt ...;run mc_init;run sd_boot
bootdelay=3
eth10addr=00:04:9F:04:7C:23
eth1addr=00:04:9F:04:7C:1B
eth2addr=00:02:0F:04:01:02
eth3addr=00:04:9F:04:7C:1C
eth4addr=00:04:9F:04:7C:1D
eth5addr=00:04:9F:04:7C:1E
eth6addr=00:04:9F:04:7C:1F
eth7addr=00:04:9F:04:7C:20
eth8addr=00:04:9F:04:7C:21
eth9addr=00:04:9F:04:7C:22
ethaddr=00:04:9F:04:7C:1A
fdt_high=0xa0000000
fdtaddr=0x8f000000
fdtcontroladdr=fbb14dc0
fsl_bootcmd_mcinitcmd_set=y
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
loadaddr=0x81000000
mc_init=mmc read 80000000 5000 1800;mmc read 80300000 7000 800;fsl_mc start mc 80000000 80300000;mmc read 80400000 6800 800;fsl_mc apply dpl 80400000
sd_boot=ext4load mmc 0:1 $loadaddr fitImage;bootm $loadaddr
serdes0=d100
serdes1=d000
stderr=serial
stdin=serial
stdout=serial

Environment size: 949/8188 bytes

next test change loadaddr env from 0x81000000 to 0x88000000

=> setenv -f loadaddr 0x88000000

Error: Can't force access to "loadaddr"

=>
=> saveenv
Saving Environment to MMC... Writing to MMC(0)... OK

printenv

=>
bootargs=root=/dev/mmcblk0p2 rw rootwait rootfstype=squashfs,f2fs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
bootcmd=echo starting openwrt ...;run mc_init;run sd_boot
bootdelay=3
eth10addr=00:04:9F:04:7C:23
eth1addr=00:04:9F:04:7C:1B
eth2addr=00:02:0F:04:01:02
eth3addr=00:04:9F:04:7C:1C
eth4addr=00:04:9F:04:7C:1D
eth5addr=00:04:9F:04:7C:1E
eth6addr=00:04:9F:04:7C:1F
eth7addr=00:04:9F:04:7C:20
eth8addr=00:04:9F:04:7C:21
eth9addr=00:04:9F:04:7C:22
ethaddr=00:04:9F:04:7C:1A
fdt_high=0xa0000000
fdtaddr=0x8f000000
fdtcontroladdr=fbb14dc0
fsl_bootcmd_mcinitcmd_set=y
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
loadaddr=0x88000000
mc_init=mmc read 80000000 5000 1800;mmc read 80300000 7000 800;fsl_mc start mc 80000000 80300000;mmc read 80400000 6800 800;fsl_mc apply dpl 80400000
sd_boot=ext4load mmc 0:1 $loadaddr fitImage;bootm $loadaddr
serdes0=d100
serdes1=d000
stderr=serial
stdin=serial
stdout=serial

Environment size: 949/8188 bytes
=>

@cowgirlalexa
Copy link
Author

@CHKDSK88

reset
resetting ...
=.NOTICE: UDIMM 18ASF1G72AZ-2G3B1

NOTICE: 8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1
NOTICE: BL2: v2.4(release):v22.03.3-0-g221fbfa2d8
NOTICE: BL2: Built : 00:24:21, Jan 3 2023
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.4(release):v22.03.3-0-g221fbfa2d8
NOTICE: BL31: Built : 00:24:21, Jan 3 2023
NOTICE: Welcome to ls1088ardb BL31 Phase

U-Boot 2021.04-OpenWrt-r20028-43d71ad93e (Jan 03 2023 - 00:24:21 +0000)

SoC: LS1088AE Rev1.0 (0x87030010)
Clock Configuration:
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
CPU3(A53):1600 MHz CPU4(A53):1600 MHz CPU5(A53):1600 MHz
CPU6(A53):1600 MHz CPU7(A53):1600 MHz
Bus: 700 MHz DDR: 2100 MT/s
Reset Configuration Word (RCW):
00000000: 4000541c 00000040 00000000 00000000
00000010: 00000000 000a0000 00300000 00000000
00000020: 01c01150 00002580 00000000 00000040
00000030: 00000c5b 00000000 00002403 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 00000011 000009e7
00000070: 44110000 00009555
VID: Core voltage after adjustment is at 1026 mV
DRAM: 7.9 GiB
DDR 7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
Using SERDES1 Protocol: 29 (0x1d)
Using SERDES2 Protocol: 13 (0xd)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
PCIe3: pcie@3600000 Root Complex: no link
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Model: NXP Layerscape 1088a RDB Board
Board: LS1088A-RDB, Board Arch: V1, Board version: C, boot from SD card
QSPI:0
CPLD: v1.8
SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz
SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
SEC0: RNG instantiated
Net: eth0: DPMAC1@xgmiiPHY reset timed out
, eth1: DPMAC2@xgmii, eth2: DPMAC3@qsgmii, eth3: DPMAC4@qsgmii, eth4: DPMAC5@qsgmii, eth5: DPMAC6@qsgmii, eth6: DPMAC7@qsgmii, eth7: DPMAC8@qsgmii, eth8: DPMAC9@qsgmii, eth9: DPMAC10@qsgmii
Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
starting openwrt ...

MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.28.1, boot status: 0x1)

MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK
fsl-mc: Deploying data path layout ... SUCCESS
6898840 bytes read in 296 ms (22.2 MiB/s)

Loading kernel from FIT Image at 88000000 ...

Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.10.161
Created: 2023-01-03 0:24:21 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x880000ec
Data Size: 6881548 Bytes = 6.6 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: crc32
Hash value: 4ef4ffd8
Hash algo: sha1
Hash value: eeb5198cb9b5f8704f1c66e3c7ce2d318067d6dd
Verifying Hash Integrity ... crc32+ sha1+ OK

Loading fdt from FIT Image at 88000000 ...

Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob
Created: 2023-01-03 0:24:21 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x88690340
Data Size: 15372 Bytes = 15 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: fbd24836
Hash algo: sha1
Hash value: 2e2513ada7ac193cd32ca9cb318fd9b7bb6b5ff9
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x88690340
Uncompressing Kernel Image
Loading Device Tree to 000000009fff9000, end 000000009ffffc0b ... OK
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND

@cowgirlalexa
Copy link
Author

@CHKDSK88 please advice

@cowgirlalexa
Copy link
Author

@yangbolu1991

@cowgirlalexa
Copy link
Author

@ynezz

@CHKDSK88
Copy link
Contributor

CHKDSK88 commented Feb 1, 2023

@cowgirlalexa

The mayor problem is that I haven't that device. So, lets try remote debugging.

  1. Is the same in snapshot build?
  2. Did you try compile 5.15 testing kernel?

@cowgirlalexa
Copy link
Author

@CHKDSK88

  1. Same in the snapshot build. SDCARD Image broken. SysUpgrade Working.
  2. I did that. Same problem. The Problem with the Management Complex is fixed with 5.15 but the the SDCARD Image has the same problem.

I can give you access to my system If you want

@CHKDSK88
Copy link
Contributor

CHKDSK88 commented Feb 1, 2023

@cowgirlalexa

We need check if u-boot or kernel is problem.I assume u-boot, because after sysupgrade u-boot still start kernel. There was u-boot bump before 22.03 branch:

674af9c

Please check before and after this commit.

I can give you access to my system If you want

It will be great, but now we need multiple times burn sd-card. So, it wont help at this moment.

@HarmlessWarlock
Copy link

Are there any updates on this issue? I'm seeing the same boot failure on the LS1088A-RDB, and a similar failure on an LX2160A-RDB (using SD card images built from source on both boards). My boot logs for the LS1088A-RDB are identical to the one posted above. The log for the LX2160A-RDB is similar, the only difference is that it gets to "Loading Device Tree to 000000008fff6000, end 000000008ffff6e4 ... OK" and then stops.

@CHKDSK88
Copy link
Contributor

@HarmlessWarlock I stuck because I don't have board with LS1088A. I ask about help with bisecting problem: #11824 (comment), but without answer.

If you want help, please compile image from 6.1 sources: #12440 and let me know what happen.

@HarmlessWarlock
Copy link

@CHKDSK88 The LS1088A-RDB will boot from an SD card, but when I tried to add a network interface with ls-addni I got this error:

root@OpenWrt:/# ls-addni dpmac.1
error: Did not find a device file
Restool wrapper scripts only support the latest major MC version
that currently is MC10.x. Use with caution.
error: Did not find a device file

openwrt.log

@cowgirlalexa
Copy link
Author

@CHKDSK88 The LS1088A-RDB will boot from an SD card, but when I tried to add a network interface with ls-addni I got this error:

root@OpenWrt:/# ls-addni dpmac.1
error: Did not find a device file
Restool wrapper scripts only support the latest major MC version
that currently is MC10.x. Use with caution.
error: Did not find a device file

openwrt.log

You have to compile the Master/Snapshot with Management Complex (MC) userspace support.
You can find it under Kernel Configuration > Device Drivers > Bus devices

@cowgirlalexa
Copy link
Author

@HarmlessWarlock I stuck because I don't have board with LS1088A. I ask about help with bisecting problem: #11824 (comment), but without answer.

If you want help, please compile image from 6.1 sources: #12440 and let me know what happen.

@CHKDSK88
I have compiled all the commits you had suggested but none of them was booting - same issue. When I went further back I wasn't able to compile the commits at all.

@HarmlessWarlock Did you compile and write the current snapshot ? Or did you do a sysupgrade so you're using a different u-boot then the one that compiles with the snapshot?

@HarmlessWarlock
Copy link

@HarmlessWarlock Did you compile and write the current snapshot ? Or did you do a sysupgrade so you're using a different u-boot then the one that compiles with the snapshot?

I compiled and wrote the snapshot.

@cowgirlalexa
Copy link
Author

That's sound promising. Maybe switching the default Kernel has fixed the issue. I will check that on Monday.

@HarmlessWarlock so go ahead and compile the whole thing again with the modified configuration

IMG_2460

@HarmlessWarlock
Copy link

I recompiled with MC support enabled and ls-addni works now. I was also able to manually set the interface's IP address and ping another PC, so that's promising.
One of the other tests I've been running involves bridging two interfaces on the LS1088ARDB (for example DPMAC1 and DPMAC2). With this snapshot, if I assign both interfaces to the bridge in /etc/config/network and then restart networking with /etc/init.d/network restart like I've done in the past, the interfaces don't come up. That could be an unrelated issue - I don't have time to try to track it down right now.

@cowgirlalexa
Copy link
Author

@HarmlessWarlock try this guide
https://support.pervices.com/application-notes/pvan-7/#interface-configuration

I will have time on Monday to look into it

@cowgirlalexa
Copy link
Author

@HarmlessWarlock I have compiled the image from the Master Repo without any success the kernel is loaded and that's it. It's not booting. Can give provide the SD Card Image and more information about your Build system and the LS1088ARDB you are using.

thanks a lot

@CHKDSK88
Copy link
Contributor

CHKDSK88 commented May 5, 2023

@cowgirlalexa
@HarmlessWarlock compiled image from 6.1 sources: #12440

@cowgirlalexa
Copy link
Author

@cowgirlalexa
@HarmlessWarlock compiled image from 6.1 sources: #12440

Sorry, got it now. I will give the 6.1 sources a try

@cowgirlalexa
Copy link
Author

@CHKDSK88 Pawel can you please give me a Quick Howto Build #12440

@CHKDSK88
Copy link
Contributor

CHKDSK88 commented May 9, 2023

@cowgirlalexa

@CHKDSK88 Pawel can you please give me a Quick Howto Build #12440

The easiest way is to clone my branch: https://github.com/CHKDSK88/openwrt-1/tree/layerscape-6.1 and just build.
KERNEL_PATCHVER is set to 6.1.

@cowgirlalexa
Copy link
Author

cowgirlalexa commented May 10, 2023

@CHKDSK88

@CHKDSK88 Pawel can you please give me a Quick Howto Build #12440

The easiest way is to clone my branch: https://github.com/CHKDSK88/openwrt-1/tree/layerscape-6.1 and just build. KERNEL_PATCHVER is set to 6.1.

Yeah it's working. It boots to the shell. 👏👍 I will run a couple more tests later

@cowgirlalexa
Copy link
Author

@CHKDSK88 Management Complex is working as well. I can setup the interfaces. Nice work!

@CHKDSK88
Copy link
Contributor

@cowgirlalexa uboot bump was merged. Please check how OpenWrt current master work.

@cowgirlalexa
Copy link
Author

@cowgirlalexa uboot bump was merged. Please check how OpenWrt current master work.

@CHKDSK88 At least we are getting an error message now:

UDIMM 18ASF1G72AZ-2G3B1

NOTICE: 8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1
NOTICE: BL2: v2.6(release):OpenWrt vlf-6.1.1-1.0.0-1 (ls1088a-rdb-sdboot)
NOTICE: BL2: Built : 17:39:35, May 21 2023
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.6(release):OpenWrt vlf-6.1.1-1.0.0-1 (ls1088a-rdb-sdboot)
NOTICE: BL31: Built : 17:39:35, May 21 2023
NOTICE: Welcome to ls1088ardb BL31 Phase

U-Boot 2022.04-OpenWrt-r23003-e2f9fa4204 (May 21 2023 - 17:39:35 +0000)

SoC: LS1088AE Rev1.0 (0x87030010)
Clock Configuration:
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
CPU3(A53):1600 MHz CPU4(A53):1600 MHz CPU5(A53):1600 MHz
CPU6(A53):1600 MHz CPU7(A53):1600 MHz
Bus: 700 MHz DDR: 2100 MT/s
Reset Configuration Word (RCW):
00000000: 4000541c 00000040 00000000 00000000
00000010: 00000000 000a0000 00300000 00000000
00000020: 01c01150 00002580 00000000 00000040
00000030: 00000c5b 00000000 00002403 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 00000011 000009e7
00000070: 44110000 00009555
VID: Core voltage after adjustment is at 1026 mV
DRAM: 7.9 GiB
DDR 7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
Using SERDES1 Protocol: 29 (0x1d)
Using SERDES2 Protocol: 13 (0xd)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
PCIe3: pcie@3600000 Root Complex: no link
Core: 45 devices, 18 uclasses, devicetree: separate
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Model: NXP Layerscape 1088a RDB Board
Board: LS1088A-RDB, Board Arch: V2, Board version: C, boot from SD card
QSPI:0
CPLD: v4.0
SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz
SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
Net: eth0: DPMAC1@xgmiiPHY reset timed out
, eth1: DPMAC2@xgmii, eth2: DPMAC3@qsgmii, eth3: DPMAC4@qsgmii, eth4: DPMAC5@qsgmii, eth5: DPMAC6@qsgmii, eth6: DPMAC7@qsgmii, eth7: DPMAC8@qsgmii, eth8: DPMAC9@qsgmii, eth9: DPMAC10@qsgmii
Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
starting openwrt ...

MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.28.1, boot status: 0x1)

MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK
fsl-mc: Deploying data path layout ... SUCCESS
7535660 bytes read in 314 ms (22.9 MiB/s)

Loading kernel from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.15.112
Created: 2023-05-21 17:39:35 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x810000ec
Data Size: 7513944 Bytes = 7.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: crc32
Hash value: 6fd69550
Hash algo: sha1
Hash value: ee34c753ffb615e199a428762824ad4a0aaef90a
Verifying Hash Integrity ... crc32+ sha1+ OK

Loading fdt from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob
Created: 2023-05-21 17:39:35 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x8172a98c
Data Size: 19794 Bytes = 19.3 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 59792ba3
Hash algo: sha1
Hash value: 135585a49f86cd85acea559b78b0098ae99d5e12
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x8172a98c
Uncompressing Kernel Image
ERROR: new format image overwritten - must RESET the board to recover
resetting ...

@CHKDSK88
Copy link
Contributor

@cowgirlalexa
Please change loadaddr env from 0x81000000 to 0x88000000 and try again.

@cowgirlalexa
Copy link
Author

@cowgirlalexa
Please change loadaddr env from 0x81000000 to 0x88000000 and try again.

@CHKDSK88 confirmed! its working!

I had to select the Build with MC Userspace support under the bus drivers though. Can you change that so it will be the default?

Thank you soooo much!!! Nice work!!!

@CHKDSK88
Copy link
Contributor

Patches merged in master/main:

d04d6a8
0822040

and 23.05:

3d05d54
6fc6ea4

At this moment I have no plan to fix it in 22.03 without hardware.

@cowgirlalexa
Copy link
Author

@CHKDSK88 but it is fixed in the master, so it will be included in the next release right?

@CHKDSK88
Copy link
Contributor

@cowgirlalexa

It fixed in master and 23.05 branch, next release will be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug
Projects
None yet
Development

No branches or pull requests

3 participants