public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Microblaze: how to generate correct xparameters.h file
@ 2011-03-05 17:28 llandre
  2011-03-07 11:38 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: llandre @ 2011-03-05 17:28 UTC (permalink / raw)
  To: u-boot

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.

Thanks in advance,
llandre

-- 
DAVE - Simply Embedded
web: www.dave.eu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Microblaze: how to generate correct xparameters.h file
  2011-03-05 17:28 [U-Boot] Microblaze: how to generate correct xparameters.h file llandre
@ 2011-03-07 11:38 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2011-03-07 11:38 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-07 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-05 17:28 [U-Boot] Microblaze: how to generate correct xparameters.h file llandre
2011-03-07 11:38 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox