首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

[求助]关于uclinux的下载疑问

[求助]关于uclinux的下载疑问

请教高手~~

我在nios2上加载的uclinux,配置和编译没有问题,为什么下载不到板子上的flash?错误信息如下:

# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#

cd C:/altera/quartus60/myproject/design/design_kernel2/build

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --inp
ut=.tmp_vmlinux1 --output=cfi_flash_0.flash --boot=$SOPC_KIT_NIOS2/components/al
tera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 cfi_flash_0.flash
There are no Nios II processors available which match the values specified.
Please check that your PLD is correctly configured, downloading a new SOF
file if necessary.

# Creating .flash file for the datafile
$SOPC_KIT_NIOS2/bin/bin2flash --base=0x00000000 --location=0x0 --input=vmlinux.b
in --output=vmlinux.flash

# Programming flash with the datafile
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 vmlinux.flash
There are no Nios II processors available which match the values specified.
Please check that your PLD is correctly configured, downloading a new SOF
file if necessary.

请问版主,是不是在下载uclinux之前要先把sof文件先下载到flash?我用的是Nios II IDE6.0。如果先下载sof,会出现下列提示:

#! /bin/sh
#
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#

cd C:/altera/quartus60/myproject/design/design_kernel2/build

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --inp
ut=.tmp_vmlinux1 --output=cfi_flash_0.flash --boot=$SOPC_KIT_NIOS2/components/al
tera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 cfi_flash_0.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: No CFI table found at address 0x00000000
OK
Leaving target processor paused

# Creating .flash file for the datafile
$SOPC_KIT_NIOS2/bin/bin2flash --base=0x00000000 --location=0x0 --input=vmlinux.b
in --output=vmlinux.flash

# Programming flash with the datafile
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 vmlinux.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: No CFI table found at address 0x00000000
OK
Leaving target processor paused

试了重新编译也不行~~

我试了不加载uclinux,直接把.sof文件下载进flash,也出现同样的问题,是不是目标板没有定义好?我用的是DE2板,在flash programmer那里的hardware image,显示的是user:U5+0×C00000,可是我的flash指定的地址是0×0

请问版主,DE2板用不用定义目标板?

返回列表