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
Comments
Hi @cowgirlalexa. Please explain couple things:
Do you mean 22.03?
But it's bootlog from SPI boot.
Please check what exactly do you test and post bootlog again. |
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 U-Boot 2021.04-OpenWrt-r20028-43d71ad93e (Jan 03 2023 - 00:24:21 +0000) SoC: LS1088AE Rev1.0 (0x87030010) MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK Loading kernel from FIT Image at 81000000 ...Using 'config-1' configuration Loading fdt from FIT Image at 81000000 ...Using 'config-1' configuration |
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 U-Boot 2019.10-OpenWrt-r16688-fa9a932fdb (Oct 13 2022 - 19:16:38 +0000) SoC: LS1088AE Rev1.0 (0x87030010) MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK Loading kernel from FIT Image at 81000000 ...Using 'config@1' configuration Loading fdt from FIT Image at 81000000 ...Using 'config@1' configuration Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] |
@cowgirlalexa |
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 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"=> printenv => Environment size: 949/8188 bytes |
reset NOTICE: 8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1 U-Boot 2021.04-OpenWrt-r20028-43d71ad93e (Jan 03 2023 - 00:24:21 +0000) SoC: LS1088AE Rev1.0 (0x87030010) MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK Loading kernel from FIT Image at 88000000 ...Using 'config-1' configuration Loading fdt from FIT Image at 88000000 ...Using 'config-1' configuration |
@CHKDSK88 please advice |
The mayor problem is that I haven't that device. So, lets try remote debugging.
|
I can give you access to my system If you want |
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: Please check before and after this commit.
It will be great, but now we need multiple times burn sd-card. So, it wont help at this moment. |
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. |
@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 The LS1088A-RDB will boot from an SD card, but when I tried to add a network interface with
|
You have to compile the Master/Snapshot with Management Complex (MC) userspace support. |
@CHKDSK88 @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. |
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 |
I recompiled with MC support enabled and |
@HarmlessWarlock try this guide I will have time on Monday to look into it |
@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 |
@cowgirlalexa |
Sorry, got it now. I will give the 6.1 sources a try |
The easiest way is to clone my branch: https://github.com/CHKDSK88/openwrt-1/tree/layerscape-6.1 and just build. |
Yeah it's working. It boots to the shell. 👏👍 I will run a couple more tests later |
@CHKDSK88 Management Complex is working as well. I can setup the interfaces. Nice work! |
@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 U-Boot 2022.04-OpenWrt-r23003-e2f9fa4204 (May 21 2023 - 17:39:35 +0000) SoC: LS1088AE Rev1.0 (0x87030010) MMC read: dev # 0, block # 20480, count 6144 ... 6144 blocks read: OK MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK MMC read: dev # 0, block # 26624, count 2048 ... 2048 blocks read: OK Loading kernel from FIT Image at 81000000 ...Using 'config-1' configuration Loading fdt from FIT Image at 81000000 ...Using 'config-1' configuration |
@cowgirlalexa |
@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 but it is fixed in the master, so it will be included in the next release right? |
It fixed in master and 23.05 branch, next release will be good. |
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
The text was updated successfully, but these errors were encountered: