xiaofeiyun_plug 发表于 2021-4-22 17:46:56

openil移植到OK1028A-C上,启动失败

按照《Open Industrial User Guide》 Rev. 1.10, 12/2020 (OPEN-LINUX-IND-UM-1-10.pdf) 编译openil的完整固件sdcard.img后,
烧写到emmc和SD卡上,系统无法启动,串口无任何输出,
请问能够提供排查思路吗?

xiaofeiyun_plug 发表于 2021-4-25 10:15:54


# programming the BL2 and RCW (for example: boot from SD card) binary
=> tftpboot 82000000 bl2_sd.pbl
=> mmc erase 8 0x800
=> mmc write 0x82000000 8 0x800
# programming BL31 and U-Boot
=> tftpboot 82000000 fip.bin
=> mmc erase 0x800 0x800
=> mmc write 82000000 0x800 0x2000
# programming the u-boot environment
=> tftpboot 82000000 uboot-env.bin
=> mmc erase 0x2800 0x800


按照openil手册,烧写BL2 RCW(编译SD和mmc对应的文件)等到SD或MMC上, 然后切换到SD卡或者MMC启动,控制台都无任何输出。
正常应该会有如下输出信息。 说明openil编译出的BL2 and RCW等在OK1028A的板子上是不工作了。
NOTICE:2 GB DDR4, 32-bit, CL=11, ECC off
NOTICE:BL2: v1.5(release):203f2cf8-dirty
NOTICE:BL2: Built : 16:30:43, Sep1 2020
NOTICE:BL31: v1.5(release):203f2cf8-dirty
NOTICE:BL31: Built : 16:30:47, Sep1 2020
NOTICE:Welcome to LS1028 BL31 Phase

对比openil编译的 bl2_sd.pbl 和飞凌提供的firmware_ls1028ardb_uboot_sdboot.img(最开始内容应该是 BL2 and RCW) 发现内容不太一样








xiaofeiyun_plug 发表于 2021-4-25 10:29:17

OpenIL-v1.11-202104, OpenIL-v1.11-202104编译的固件
openwrt编译的固件“openwrt-layerscape-armv8_64b-fsl_ls1028a-rdb-squashfs-firmware.bin” 也包含有bootloader
这些固件烧写到OK1028A-C上,bootloader都无法工作 .....
需要特殊设置吗?

djh 发表于 2021-4-25 11:26:07

xiaofeiyun_plug 发表于 2021-4-25 10:29
OpenIL-v1.11-202104, OpenIL-v1.11-202104编译的固件
openwrt编译的固件“openwrt-layerscape-armv8_64b ...

抱歉,我们没有相关的经验,不能给您提供一个很好的参考方向,需要您自行考虑解决方案

OWENMAO 发表于 2021-4-29 14:07:03

同关心这个问题。
页: [1]
查看完整版本: openil移植到OK1028A-C上,启动失败