TI中文支持网
TI专业的中文技术问题搜集分享网站

CMD文件

你好,我刚开始接触DSP,使用的是DM6446,请问有没有CMD文件的详细讲解及例程可以借鉴一下,谢谢!

Tony Tang:

请参考spru186文档。

Jockey:

回复 Tony Tang:

 Tony Tang :

您好!

最近在弄 AM1808的板子,内核和文件系统烧进去后 启动不起来啊,整了好些天,希望给点建议,先谢了

从SPIfalsh ( 8M Byte )启动,

uImage   2.8M

jffs2.img : 4.47M

操作如下:

 U-Boot> sf probe 0

U-Boot> sf erase 0x80000 0x780000

U-Boot> tftp 0xc0700000 uImage

U-Boot> sf write 0xc0700000 0x80000 0x2343d0

U-Boot> tftp 0xc2000000 jffS2.img

U-Boot> sf write 0xc2000000 0x2ccccc 0x479954

下面是关于参数的配置情况:

U-Boot>setenv bootcmd "sf probe 0;sf read 0xc0700000 0x80000 0x2343d0;sf read 0xc2000000 0x2ccccc 0x479954;bootm 0xc0700000"

U-Boot> setenv bootargs "mem=32M console=/dev/ttyS2,115200 noinitrd root=dev/mtdblock2 rw rootfstype=jffs2 init=/linuxrc"

U-Boot>  saveenv

U-Boot>  reset

—[ end trace 431ef3e5ec7ee44b ]—davinci_emac_probe: using random MAC addr: e2:20:5f:0e:e5:dcemac-mii: probedomap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)Root-NFS: No NFS server available, giving up.VFS: Unable to mount root fs via NFS, trying floppy.List of all partitions:1f00             128 mtdblock0 (driver?)1f01             128 mtdblock1 (driver?)1f02             512 mtdblock2 (driver?)1f03            4096 mtdblock3 (driver?)1f04          124672 mtdblock4 (driver?)No filesystem could mount root, tried:  jffs2Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(2,0)Backtrace: [<c0035730>] (dump_backtrace+0x0/0x114) from [<c036e05c>] (dump_stack+0x18/0x1c) r7:00008000 r6:c1c14000 r5:c0029a08 r4:c04a8f58[<c036e044>] (dump_stack+0x0/0x1c) from [<c036e0c4>] (panic+0x64/0x13c)[<c036e060>] (panic+0x0/0x13c) from [<c0008fec>] (mount_block_root+0x1e0/0x220) r3:00000000 r2:80000000 r1:c1c23f60 r0:c040bfd6[<c0008e0c>] (mount_block_root+0x0/0x220) from [<c00090f0>] (mount_root+0xc4/0xfc) r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000[<c000902c>] (mount_root+0x0/0xfc) from [<c0009298>] (prepare_namespace+0x170/0x1c8) r5:c0029a08 r4:c04a8a40[<c0009128>] (prepare_namespace+0x0/0x1c8) from [<c00084c8>] (kernel_init+0xf0/0x12c) r5:00000000 r4:c04a8800[<c00083d8>] (kernel_init+0x0/0x12c) from [<c00491b0>] (do_exit+0x0/0x6b4) r5:00000000 r4:00000000

就运行不下去了

麻烦您帮我看看 什么情况?

谢谢!

 

赞(0)
未经允许不得转载:TI中文支持网 » CMD文件
分享到: 更多 (0)