[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Re: FS-BOOT in a compact flash



I format correctly again the compact flash using mkdosfs :

mkdosfs -F 16 -R 1 j:/

And then I load the ace file that I generate in Impact to my CF.

But fs-boot doesn't show anything console.

But let show what ocurrs during the compilation :

/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c: In function 'is_in_flash':
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:233: error: 'CONFIG_XILINX_FLASH_START' undeclared (first use in this function)
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:233: error: (Each undeclared identifier is reported only once
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:233: error: for each function it appears in.)
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:233: error: 'CONFIG_XILINX_FLASH_SIZE' undeclared (first use in this function)
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c: In function 'image_exist':
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:251: warning: initialization makes pointer from integer without a cast
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c: In function 'main':
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:449: error: 'CONFIG_XILINX_FLASH_START' undeclared (first use in this function)
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c: In function 'is_in_flash':
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/fs-boot.c:238: warning: control reaches end of non-void function
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/srec.c:40: warning: conflicting types for built-in function 'isdigit'
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/srec.c:49: warning: conflicting types for built-in function 'isupper'
/cygdrive/c/Xilinx/projects/petalinux-v0.30-rc1/hardware/fs-boot/srec.c:58: warning: conflicting types for built-in function 'islower'
make: *** [fs-boot/executable.elf] Error 1

Not executable has been generate ...

EDK show all these errors because I don't choose a flash memory, (SYS_ACE is not supported ) so what I should to change  on the fs boot code ??

Thank you for the answers.

Regards, Juan Pablo






2008/10/12 Juan Pablo Gómez <juanwalker@xxxxxxxxx>
Hi,  I'm using a XUP-V2Pro board and I' generate the bit file of the project with  FS-BOOT (I'm follow the guide of petlinux from scratch).

Then I open Impact and I  generate the ace file and then I copy the ace file to my Compact Flash but when I connect the compact flash  the led error turn on!.

What I should  do, any customization of FS-BOOT parameters ?
http://developer.petalogix.com/wiki/UserGuide/Bootloaders/FSboot/CustFSboot

My CF is a SILICONS SYSTEMS 128Mb that came with the Xilinx board and I use mkdosfs for make formats.

Thank you for help me

Regards, Juan Pablo