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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer pablogomez
Observer
6,385 Views
Registered: ‎09-27-2008

The FLASH memory in petalinux

Hi, i'm following the instructions from Petalinux from scratch

http://developer.petalogix.com/wiki/BoardGuides/Custom/Tutorial

 

They used a device called Flash 2Mx32 

that is used to mount FS-BOOT for mount petalinux.

 

All the test passes but whe i try to download the bitstream this appears :

 

fs-boot.c: In function 'is_in_flash':
fs-boot.c:233: error: 'CONFIG_XILINX_FLASH_START' undeclared (first use in this function)
fs-boot.c:233: error: (Each undeclared identifier is reported only once

 .....more errors.

 

I'm using the xps_sysace that is a IP for the compact flash . What controller should i used?

 

Thank you for the help and the answers!

 

 

 

The technology is a reflection of the fanaticism of men for survive.
0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
6,352 Views
Registered: ‎08-07-2007

Re: The FLASH memory in petalinux

Hi,

 

I didn't go through the tutorial, but I believe the Flash refers to parallel Flash, not a CF card. So an EMC controller rather than xps_sysace should be used.

 

-XF

0 Kudos
Observer pablogomez
Observer
6,326 Views
Registered: ‎09-27-2008

Re: The FLASH memory in petalinux

Really no, the only flash that can be used in this board it's using a compact flash.

 

So, I use one CF and then I change  the petalinux bsp file adding  xps_sysace ip core in the list

 

PARAMETER name = flash_memory, desc ="Name of Flash Memory Controller used with PetaLinux", type = peripheral_instance, range=(opb_emc,plb_emc,mch_opb_emc, xps_mch_emc,xps_sysace,none), default = none;
 

But whe i generate the NetList  this error appears :

 

 

Running generate for OS'es, Drivers and Libraries ...
#--------------------------------------
# PetaLinux BSP generate...
#--------------------------------------
ERROR:MDT - petalinux () - expected integer but got ""
       while executing
   "format "0x%08x" $mem_start"
       (procedure "do_memory_setup" line 75)
       invoked from within
   "do_memory_setup $os_handle "FLASH_MEMORY" XILINX_FLASH"
       (procedure "::sw_petalinux_v1_00_b::generate" line 39)
       invoked from within
   "::sw_petalinux_v1_00_b::generate 65281136"
Copying Library Files ...
ERROR:MDT - Error while running "generate" for processor microblaze_0...
make: *** [microblaze_0/lib/libxil.a] Error 2

 

opb_emc

plb_emc

mch_opb_emc

xps_mch_emc

 

Any suggestions??

 

 

Message Edited by pablogomez on 10-10-2008 07:47 PM
The technology is a reflection of the fanaticism of men for survive.
0 Kudos
Highlighted
Visitor shahradp
Visitor
6,168 Views
Registered: ‎04-04-2008

Re: The FLASH memory in petalinux

Did you copy autoconfig to petalinux enviroment (using petalinux-copy-autoconfig)?
0 Kudos