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

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





