我们现在用LS1028-C的开发板,默认出厂的时候,是ubuntu的版本,我现在用openwrt官网的24.10.1版本编译1028的fimware。
目前我在ubuntu版本下,通过SD卡去加载kernel和rootfs可以正常启动。 但是我想整个都用openwrt的时候,也就是也是openwrt的image作为引导,不管是通过emmc还是sd卡启动,都没有任何打印消息。
请问下这个是什么原因?可能需要修改哪些东西?
openwrt-layerscape-armv8_64b-fsl_ls1028a-rdb-squashfs-firmware.bin和openwrt-layerscape-armv8_64b-fsl_ls1028a-rdb-sdboot-squashfs-sdcard.img 应该都是烧录档吧?
我dd到sd卡里或者emmc里 都无法启动,一点log都没有。
资料感觉太少了,难度有点大,估计是我才开始。
Hello,
It is wrong image store in the eMMC or need a bootloader to start, please check it.
Regards
现在能启动,但是加载kernel的时候出错
### ERROR ### Please RESET the board ###
NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC off
NOTICE: BL2: v1.5(release):
NOTICE: BL2: Built : 12:01:35, Aug 19 2022
NOTICE: BL31: v2.10.0BL(release):OpenWrt v6.6.23.2.0.0-2 (ls1028a-rdb-sdboot)
NOTICE: BL31: Built : 16:38:32, Apr 13 2025
NOTICE: Welcome to ls1028ardb BL31 Phase
U-Boot 2024.04-OpenWrt-r28597-0425664679 (Apr 13 2025 - 16:38:32 +0000)
SoC: LS1028A Rev1.0 (0x870b0110)
Clock Configuration:
CPU0(A72):1500 MHz CPU1(A72):1500 MHz
Bus: 400 MHz DDR: 1600 MT/s
Reset Configuration Word (RCW):
00000000: 3c004010 00000030 00000000 00000000
00000010: 00000000 018f0000 0030c000 00000000
00000020: 01e031a0 00002580 00000000 00008296
00000030: 00000000 00000050 00000000 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 100e7014 00000000
00000070: eb580000 03000000
Model: LS1028A RDB Board
Board: LS1028A Rev1.0-unknown, Version: O, boot from SD
FPGA: v255 (unknown)
SERDES1 Reference : Clock1 = 161.13MHz Clock2 = 161.13MHz
DRAM: 1.9 GiB
DDR 1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 60248 (0xeb58)
PCIe1: pcie@3400000 disabled
PCIe2: pcie@3500000 Root Complex: no link
Core: 55 devices, 25 uclasses, devicetree: separate
WDT: Started watchdog@c000000 with servicing every 1000ms (60s timeout)
WDT: Started watchdog@c010000 with servicing every 1000ms (60s timeout)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Net: eth0: enetc-0, eth1: enetc-2Could not get PHY for emdio-3: addr 16
Could not get PHY for emdio-3: addr 17
Could not get PHY for emdio-3: addr 18
Could not get PHY for emdio-3: addr 19
Hit any key to stop autoboot: 0
=> print
bootargs=mem=2G mmu=off cache_disable=1
bootcmd=ext4load mmc 0:1 0xa0000000 fitImage; bootm 0xa0000000
bootdelay=3
eth1addr=1a:54:15:8a:e5:f7
ethaddr=5e:e9:c9:5a:a3:6a
fdt_high=0xafffffff
fdtaddr=0x8f000000
fdtcontroladdr=f790ea20
fileaddr=a07c1178
filesize=6bea
fsl_bootcmd_mcinitcmd_set=y
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xafffffff
loadaddr=0xa0000000
sd_boot=ext4load mmc 0:1 $loadaddr fitImage;bootm $loadaddr
serdes0=85be
Environment size: 441/8188 bytes
=> boot
8159920 bytes read in 341 ms (22.8 MiB/s)
## Loading kernel from FIT Image at a0000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.86
Created: 2025-04-13 16:38:32 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0xa00000e8
Data Size: 8130374 Bytes = 7.8 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: crc32
Hash value: 1bf6edb4
Hash algo: sha1
Hash value: eb34c3c3cc96ab14b57ec64193115fac6efa6e6c
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at a0000000 ...
Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1028a-rdb-sdboot device tree blob
Created: 2025-04-13 16:38:32 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xa07c1178
Data Size: 27626 Bytes = 27 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 3391751c
Hash algo: sha1
Hash value: 572b189dfd4dfec6a5a6442b8815dc9dbba03d84
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0xa07c1178
Working FDT set to a07c1178
Uncompressing Kernel Image to 80000000
Loading Device Tree to 00000000afff6000, end 00000000affffbe9 ... OK
Working FDT set to afff6000
NOTICE: SEC is disabled.
WARNING: No random number to set kaslr-seed
"Synchronous Abort" handler, esr 0x96000144, far 0xfffffffffff10000
elr: 000000008200179c lr : 000000008200526c (reloc)
elr: 00000000f7b1b79c lr : 00000000f7b1f26c
x0 : fffffffffff10000 x1 : fffffffffff10000
x2 : 0000000000000040 x3 : 000000000000003f
x4 : fffffffffff10000 x5 : 0000000000000000
x6 : 0000000000000000 x7 : 00000000f790ea20
x8 : 0000000000000050 x9 : 00000000f790e0ac
x10: 0000000000000003 x11: 0000000000000600
x12: 00000000f790e19c x13: 00000000f790ea20
x14: 00000000ffffffff x15: 00000000f790e267
x16: 0000000000000001 x17: 0000000000000000
x18: 00000000f7915d60 x19: 0000000000000000
x20: 00000000f7be6b50 x21: 0000000000000000
x22: 0000000000000002 x23: fffffffffff10000
x24: 0000000006040000 x25: 0000000000000001
x26: 000000000000ffff x27: 0000000080000000
x28: 00000000a07c82b0 x29: 00000000f790e270
Code: d2800082 9ac32042 d1000443 8a230000 (d50b7e20)
Resetting CPU ...
### ERROR ### Please RESET the board ###
hello
you need to compile it again since the kernel is not passing its stage, so it can not jump to openwrt.
Regards