默认的Linux SDK all全编译成功后,你们下载进去正常吗?用的什么环境?

我全编译成功后烧录进去变砖了,目前知道的编译后的uboot是有问题的刷进去就无法进loader。然后用其它的包重新刷进去,只单独刷编译后的boot内核是可以用的。但是如果刷除了uboot的其它所有img,也有问题好像一直进不去内核。我的环境是Ubuntu22.04.04,gcc默认版本11.4.0,python 2.7.18。

 

 

启动过程uboot打印:

U-Boot SPL board init U-Boot SPL 2017.09-gaaca6ffec1-211203 #zzz (Dec 03 2021 - 18:42:16) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT *** part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT *** No misc partition part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT *** part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT *** spl: partition error Trying fit image at 0x4000 sector Not fit magic Trying fit image at 0x5000 sector Not fit magic part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT *** part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header sig nature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT *** Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 7 Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking uboot 0x00a00000 ... sha256(cab87cd32c...) + OK ## Checking fdt 0x00b352b0 ... sha256(fcfda359c0...) + OK ## Checking optee 0x08400000 ... sha256(66bbd17352...) + OK

\n#技术交流#
#Verified-boot:0#
#技术交流#
立创开发板
全部评论 默认 最新
543210pP323i 作者
2024-05-25 18:03:57 来自未知
对于uboot编译后出现的启动引导不了,且无法进入内核的情况已经解决。原因是原来最开始编译时出现编译失败,发现是没有python2,但是其实有只是命名为python,然后我把编译make.sh中的python2改成python,重新编译通过,但编译提示还是有出现如下内容: LD spl/u-boot-spl OBJCOPY spl/u-boot-spl-nodtb.bin CAT spl/u-boot-spl-dtb.bin COPY spl/u-boot-spl.bin CFGCHK u-boot.cfg SEC=1 /usr/bin/env: 'python2': No such file or directory ls: cannot access 'bl31_0x*.bin': No such file or directory pack u-boot.itb okay! Input: 但没报错,将编译通过的uboot下载进去就会出现错误。后面下载了python2,也就是能用python2命令访问了,重新编译且不再出现以上问题,下载进去成功进入。
没有更多啦~