UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 22743

8.1i EDK - 「ERROR: Unable to compile flashwriter application. Please check the following...」というエラー メッセージが表示される

説明

キーワード : Flash, writer, TCL, compile, フラッシュ, ライタ, コンパイル

フラッシュ デバイスに書き込もうとすると、次のようなエラー メッセージが表示されます。

"ERROR: Unable to compile flashwriter application. Please check the following:
1. Have the processor's libraries been generated?
2. Has XILINX_EDK has been set correctly?
3. Are all the EDK GNU tools available?
4. Are you using the Standalone BSP for the processor?


Flashwriter terminating !"

ソリューション

flashwriter.tcl ファイルを修正する必要があります。 次の行を見つけます。

set compile_status [catch {exec mb-gcc -Os $EXTRA_COMPILER_FLAGS ./etc/flashwriter/src/mbcrt0.S ./etc/flashwriter/src/mbcrtinit.S ./etc/flashwriter/src/flashwriter.c ./etc/flashwriter/src/cfi.c ./etc/flashwriter/src/flash.c ./etc/flashwriter/src/amd.c ./etc/flashwriter/src/intel.c -I ./etc/flashwriter/src/ -Wl,-defsym -Wl,_TEXT_START_ADDR=$SCRATCH_BASEADDR -Wl,-defsym -Wl,_STACK_SIZE=0x380 -L $proc_lib_dir -o ./etc/flashwriter/flashwriter.elf -nostartfiles} err]

set compile_status [catch {exec powerpc-eabi-gcc -Os ./etc/flashwriter/src/flashwriter.c ./etc/flashwriter/src/cfi.c ./etc/flashwriter/src/flash.c ./etc/flashwriter/src/amd.c ./etc/flashwriter/src/intel.c -I ./etc/flashwriter/src/ -Wl,-defsym -Wl,_START_ADDR=$SCRATCH_BASEADDR -Wl,-T -Wl,./etc/flashwriter/src/flashwriter.ld -L $proc_lib_dir -o ./etc/flashwriter/flashwriter.elf} err]

if { [catch {set total [exec mb-size -A $FLASHWRITER_ELF | grep Total]} err] } {

if { [catch {set total [exec powerpc-eabi-size -A $FLASHWRITER_ELF | grep Total]} err] } {


これらの行を、次のように変更します。


set compile_status [catch {exec bash -c "mb-gcc -Os $EXTRA_COMPILER_FLAGS ./etc/flashwriter/src/mbcrt0.S ./etc/flashwriter/src/mbcrtinit.S ./etc/flashwriter/src/flashwriter.c ./etc/flashwriter/src/cfi.c ./etc/flashwriter/src/flash.c ./etc/flashwriter/src/amd.c ./etc/flashwriter/src/intel.c -I ./etc/flashwriter/src/ -Wl,-defsym -Wl,_TEXT_START_ADDR=$SCRATCH_BASEADDR -Wl,-defsym -Wl,_STACK_SIZE=0x380 -L $proc_lib_dir -o ./etc/flashwriter/flashwriter.elf -nostartfiles"} err]

set compile_status [catch {exec bash -c "powerpc-eabi-gcc -Os ./etc/flashwriter/src/flashwriter.c ./etc/flashwriter/src/cfi.c ./etc/flashwriter/src/flash.c ./etc/flashwriter/src/amd.c ./etc/flashwriter/src/intel.c -I ./etc/flashwriter/src/ -Wl,-defsym -Wl,_START_ADDR=$SCRATCH_BASEADDR -Wl,-T -Wl,./etc/flashwriter/src/flashwriter.ld -L $proc_lib_dir -o ./etc/flashwriter/flashwriter.elf"} err]

if { [catch {set total [exec bash -c "mb-size -A $FLASHWRITER_ELF" | grep Total]} err] } {

if { [catch {set total [exec bash -c "powerpc-eabi-size -A $FLASHWRITER_ELF" | grep Total]} err] } {


flashwriter.tcl ファイルは、サービス パック 1 で修正される予定です。
AR# 22743
日付 12/15/2012
ステータス アクティブ
種類 一般
このページをブックマークに追加