cjcj5243 发表于 2012-12-16 10:41:57

内核可以从nandflash启动但是无法从norflash启动

从norflash进入uboot按8键启动内核,启动信息停在booting linux…
……uboot启动参数如下。从nandflash启动一切正常,uboot启动参数和从norflash启动一样,求大神解答啊~~~

cjcj5243 发表于 2012-12-16 10:55:35

问题补充~~~
#####    Boot for Nor Flash Main Menu   #####
Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
Download Eboot to Nand Flash
Download Linux Kernel to Nand Flash
Download CRAMFS image to Nand Flash
Download YAFFS image to Nand Flash
Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
Boot the system
Format the Nand Flash
Set the boot parameters
Download User Program (eg: uCOS-II or TQ2440_Test)
Download LOGO Picture (.bin) to NandFlash
Set LCD Parameters
Download u-boot to Nor Flash
Reboot u-boot
quit from menu
Enter your selection: q
EmbedSky> boot
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
data abort
pc : [<3000b42c>]    lr : [<0000005c>]
sp : 302441c4ip : 151bb11cfp : 302441e0
r10: 40000000r9 : 30000000r8 : 30008000
r7 : 1084c003r6 : 151bb114r5 : 151bb120r4 : 3023ad20
r3 : 000000a8r2 : 302541e4r1 : 302441e4r0 : 302541e4
Flags: nzCvIRQs offFIQs offMode SVC_32
Resetting CPU ...

cjcj5243 发表于 2012-12-17 08:48:53

没人回复我吗{:2_135:}

embedsky_lhh 发表于 2012-12-17 09:03:41

cjcj5243 发表于 2012-12-17 08:48 static/image/common/back.gif
没人回复我吗

烧的是什么内核镜像?

cjcj5243 发表于 2012-12-17 11:14:37

本帖最后由 cjcj5243 于 2012-12-17 11:16 编辑

烧的是什么内核镜像?
烧的tq给的镜像,我自己的配置的内核也是一个毛病。就是从norflash启动不起来,从nand启动很正常。是不是因为我把norflash里的uboot的环境参数改成nfs启动的原因呢?

cjcj5243 发表于 2012-12-17 11:49:01

貌似是找出原因来了Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ,size应该是3M的,版主知道除了重新烧些uboot还有其他方法修改拷贝的大小吗???

cjcj5243 发表于 2012-12-17 16:10:47

重新烧写nor flash的uboot,问题解决了~~~
页: [1]
查看完整版本: 内核可以从nandflash启动但是无法从norflash启动