From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 07 Mar 2011 12:38:25 +0100 Subject: [U-Boot] Microblaze: how to generate correct xparameters.h file In-Reply-To: <4D7272D4.5060605@dave-tech.it> References: <4D7272D4.5060605@dave-tech.it> Message-ID: <4D74C3B1.8090708@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, llandre wrote: > Hi all, > a colleague is facing the following problem. > When using ISE/EDK 12.4 to build a microblaze-based system, the > xparameters.h file that is generated do not match u-boot sources so I > can't build U-Boot. In fact #defines included in this file are prefixed > by XPAR_ while U-Boot sources expect them to be prefixed by XILINX_. So > how to generate correct xparameter.h file? I suspect we have some > misconfigured flag in ISE/EDK environment ... > Any help would be appreciated. Some years ago I have created one page for it. http://www.monstr.eu/wiki/doku.php?id=uboot:uboot No everything is up2date but most of things should work. I am using u-boot BSP to generate xparameters.h and config.mk which are used for u-boot configuration. This approach is also integrated to PetaLinux. If you want to use xparameters.h from edk then you should look at git.xilinx.com. Their version uses huge xparameters.h. The name is the same which could be a reason why you are confused. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian