[IMX6Q]fastboot下载u-boot.bin失败提示太大原因

u-boot版本: v2009.08


在调试其他功能时增加了u-boot.bin容量到1M,使用fastboot download时提示:

sending 'bootloader' (1191 KB)...
OKAY [  1.062s]
writing 'bootloader'...
FAILED (remote: image too large for partition)
finished. total time: 1.098s
但是分区的时候是预留蛮大空间的:

# partition size in MB
BOOTLOAD_RESERVE=8

只能先查找出现error log的地方, uboot-imx/common/cmd_fastboot.c

static int rx_handler (const unsigned char *buffer, unsigned int buffer_size)
{
......
				else if ((download_bytes >
					   (ptn->length * MMC_SATA_BLOCK_SIZE)) &&
						!(ptn->flags & FASTBOOT_PTENTRY_FLAGS_WRITE_ENV)) {
					printf("Image too large for the partition\n");
					sprintf(response, "FAILimage too large for partition");
				} else if (ptn->flags & FA
  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 8
    评论
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值