JZ2440用U-Boot给Nand-Flash烧写程序时报错:NAND write: incorrect device type in bootloader ‘bootloader‘ is not

本文详细介绍了在JZ2440开发板上遇到的U-Boot烧写NandFlash报错问题,解释了错误原因在于分区名与cmd_menu.c中使用的名称不匹配,并提供了修改建议及具体操作步骤。

JZ2440开发板使用问题,U-Boot烧写程序到Nand Flash时报错:NAND write: incorrect device type in bootloader
'bootloader' is not a number

 

 

这是因为分区名中u-boot,不是bootloader,而cmd_menu.c里用的是bootloader
可以执行:mtdpart default
            save 

参考文章:https://bbs.elecfans.com/jishu_1805952_1_1.html

##### 100ask Bootloader for OpenJTAG #####
[n] Download u-boot to Nand Flash
[o] Download u-boot to Nor Flash
[k] Download Linux kernel uImage
[j] Download root_jffs2 image
[y] Download root_yaffs image
[d] Download to SDRAM & Run
[z] Download zImage into RAM
[g] Boot linux from RAM
[f] Format the Nand Flash
[s] Set the boot parameters
[b] Boot the system
[r] Reboot u-boot
[q] Quit from menu
Enter your selection: q
OpenJTAG> mtdpart default
OpenJTAG> save
Saving Environment to NAND...
Erasing Nand...Writing
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值