Skip to contentSkip to conversation

How to create a u-boot-xilinx_git.bb recipe for virtex5 and microblaze machine architectures

meta-xilinx Elvis Dowson 1 participant 1 message Jun 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi,
I'm trying to make the meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb recipe work for both the virtex5 and microblaze machine architectures.

So far, I find that you can start off by simply prefixing the machine architecture for a bunch of variables like

PV_virtex5
SRC_URI_virtex5

and so on.

I have two basic questions:

01. When setting PV_virtext5, should I be using SRCPV or SRCREV? What is the difference between SRCPV and SRCREV?

PV_virtex5 = "v2012.04.01+git${SRCPV}"

02. When setting the SRCREV, which one should I use SRCREV_${PN}_virtex5 or SRCREV_pn-${PN}_virtex5

SRCREV_${PN}_virtex5 = "415d386877df49eb051b85ef74fa59a16dc17c7d"

or

SRCREV_pn-${PN}_virtex5 = "415d386877df49eb051b85ef74fa59a16dc17c7d"

I'm looking at meta-ti/recipes-bsp/u-boot/u-boot_git.bb, and I see inconsistent application, e.g. SRCREV_${PN} for omap3evm, and and SRCREV_pn-${PN} for the rest like am37x-evm, etc, in that recipe. It's got me confused as to what the proper way to set SRCREV is.

Best regards,

Elvis Dowson