完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用u-boot的命令菜单下载内核,pc端使用win7下的dnw;内核启动失败:
U-Boot 1.1.6 (Nov 26 2010 - 08:49:16) DRAM: 64 MB Flash: 2 MB NAND: 256 MiB *** Warning - bad CRC or NAND, using default environment In: serial Out: serial Err: serial UPLLVal [M:38h,P:2h,S:2h] MPLLVal [M:5ch,P:1h,S:1h] CLKDIVN:5h +---------------------------------------------+ | S3C2440A USB Downloader ver R0.03 2004 Jan | +---------------------------------------------+ USB: IN_ENDPOINT:1 OUT_ENDPOINT:3 FORMAT: NOTE: Power off/on or press the reset button for 1 sec in order to get a valid USB device address. Hit any key to stop autoboot: 0 Booting Linux ... NAND read: device 0 offset 0x60000, size 0x200000 Reading data from 0x25f800 -- 100% complete. 2097152 bytes read: OK ## Booting image at 30007fc0 ... Bad Magic Number 试了很多次,都是这个错误! uboot环境变量如下: OpenJTAG> print bootargs=noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0 bootcmd=nand read.jffs2 0x30007FC0 kernel; bootm 0x30007FC0 bootdelay=2 baudrate=115200 ethaddr=08:00:3e:26:0a:5b ipaddr=192.168.7.17 serverip=192.168.7.11 netmask=255.255.255.0 stdin=serial stdout=serial stderr=serial mtdids=nand0=nandflash0 mtdparts=mtdparts=nandflash0:256k@0(bootloader),128k(params),2m(kernel),-(root) partition=nand0,0 mtddevnum=0 mtddevname=bootloader uboot使用的是:002_JZ2440资料光盘_20170306(免费)非压缩版binuboot 内核使用的是:002_JZ2440资料光盘_20170306(免费)非压缩版binlinuxuImage 不知道哪里设置不对, |
|
相关推荐
7个回答
|
|
我建议你重新烧写一下内核~~,uboot没找到内核
|
|
|
|
|
|
|
|
|
|
|
|
建议你先把操作步骤贴的详细一点,问题应该不大
|
|
|
|
##### 100ask Bootloader for OpenJTAG #####
[n] Download u-boot to Nand Flash [c] Re-scan Nor Flash Copy bootloader from nand to nor [v] Copy bootloader from nor to nand [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 Boot the system [r] Reboot u-boot [q] Quit from menu Enter your selection: f Start address: 60000 Size(eg. 4000000, 0x4000000, 64m and so on): 400000 NAND erase: device 0 offset 0x60000, size 0x400000 Erasing at 0x180000 -- 31% complete.data abort pc : [<00000458>] lr : [<33f8e8c8>] sp : 33f3d950 ip : c000107a fp : 000004bf r10: 00000100 r9 : 00000000 r8 : 33f3ffdc r7 : 00000000 r6 : 00000800 r5 : 00000000 r4 : 34000000 r3 : 0badc0de r2 : 00000450 r1 : 33f80000 r0 : ffffffff Flags: NzCv IRQs on FIQs off Mode SWC_32 Resetting CPU ... 擦除flash失败,是否是flash损坏了呢? |
|
|
|
##### 100ask Bootloader for OpenJTAG #####
[n] Download u-boot to Nand Flash [c] Re-scan Nor Flash Copy bootloader from nand to nor [v] Copy bootloader from nor to nand [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 Boot the system [r] Reboot u-boot [q] Quit from menu Enter your selection: k USB host is connected. Waiting a download. Now, Downloading [ADDRESS:30000000h,TOTAL:1848802] RECEIVED FILE SIZE: 1848802 (1805KB/S, 1S) NAND erase: device 0 offset 0x60000, size 0x200000 Erasing at 0x160000 -- 56% complete.data abort pc : [<00000458>] lr : [<33f8e8c8>] sp : 33f3d950 ip : c000107a fp : 000004af r10: 04000520 r9 : 00220000 r8 : 33f3ffdc r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 34000000 r3 : 0badc0de r2 : 00000450 r1 : 33f80000 r0 : ffffffff Flags: NzCv IRQs on FIQs off Mode SWC_32 Resetting CPU ... 烧录内核的时候提示错误,没有烧录完成? 请问可能是什么原因 |
|
|
|
nand scrub 格式化一下nand试试
|
|
|
|
只有小组成员才能发言,加入小组>>
197个成员聚集在这个小组
加入小组为什么点亮LED的例子放在NORFlash上跑会出现奇怪的现象?
2166 浏览 6 评论
1975 浏览 5 评论
韦东山老师推出的《玩转ARM裸机实战》课程将帮你以上问题一扫而光!
4530 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-4 03:07 , Processed in 1.440980 second(s), Total 89, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号