主题 : 使用fastboot烧写u-boot.bin出错,或许是我烧写的方式有问题。请各位帮忙看一下 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 140073
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
贡献值: 0 点
综合积分: 20 分
注册时间: 2018-10-31
最后登录: 2019-04-27
楼主  发表于: 2019-04-12 02:32

 使用fastboot烧写u-boot.bin出错,或许是我烧写的方式有问题。请各位帮忙看一下

板子:smart4418
板子现在的内核:Linux version 4.4.49-s5p4418
板子现在的u-boot:U-Boot 2016.01-00032-geef57c7a47

我编译成功了2014.07版本的u-boot并成功生成u-boot.bin,然后使用fastboot烧写,过程如下:
****以下是在u-boot下的操作***
nanopi2# fastboot
fastboot - use USB Fastboot protocol

Usage:
fastboot <USB_controller>
    - run as a fastboot usb device

nanopi2# fastboot devices
crq->brequest:0x0
Starting download of 249752 bytes
.
downloading of 249752 bytes finished
GUID Partition Table Header signature is wrong: 0xEA000087EA000093 != 0x5452415020494645
get_partition_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
get_partition_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'bootloader'

at common/fb_mmc.c:136/fb_mmc_flash_write()
nanopi2#


***以下是在Windows下的操作***
F:\U-boot烧写\05-fastboot烧写工具\platform-tools>fastboot.exe flash  bootloader
u-boot.bin
sending 'bootloader' (243 KB)...
OKAY [  0.023s]
writing 'bootloader'...
FAILED (remote:  partition does not exist)
finished. total time: 0.068s

在Windows下执行上面的命令后u-boot就出现了上面的错误:
GUID Partition Table Header signature is wrong: 0xEA000087EA000093 != 0x5452415020494645
get_partition_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
get_partition_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'bootloader'

请问1:为什么我看维基教程进入fastboot的方式只需要输入命令fastboot就行,而我进入fastboot还需要在后面带个参数呢?
       2:请问我这样烧写的方式是对的吗?烧写后出现的错误是什么原因导致的呢?
谢谢各位!