日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2023/11/30 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 JZ2440用U-Boot给Nand-Flash烧写程序时报错:NAND write: incorrect device type in bootloader ‘bootloader‘ is not 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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 to Nand... done OpenJTAG> menu##### 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: n USB host is connected. Waiting a download.Now, Downloading [ADDRESS:30000000h,TOTAL:18338] RECEIVED FILE SIZE: 18338 (17KB/S, 1S)NAND erase: device 0 offset 0x0, size 0x40000 Erasing at 0x20000 -- 100% complete. OKNAND write: device 0 offset 0x0, size 0x4798Writing data at 0x4000 -- 100% complete.18328 bytes written: OK

?

總結

以上是生活随笔為你收集整理的JZ2440用U-Boot给Nand-Flash烧写程序时报错:NAND write: incorrect device type in bootloader ‘bootloader‘ is not的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。