[meta-xilinx] [PATCH 2/2] zc702-zynq7 : Define boot files so that wic can make SD card images that boot.
Philip Balister
philip at balister.org
Mon Nov 10 06:48:49 PST 2014
On 11/04/2014 10:42 PM, Nathan Rossi wrote:
>> -----Original Message-----
>> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
>> bounces at yoctoproject.org] On Behalf Of Philip Balister
>> Sent: Saturday, November 01, 2014 12:26 AM
>> To: meta-xilinx at yoctoproject.org
>> Subject: [meta-xilinx] [PATCH 2/2] zc702-zynq7 : Define boot files so that
>> wic can make SD card images that boot.
>>
>> Signed-off-by: Philip Balister <philip at balister.org>
>> ---
>> conf/machine/zc702-zynq7.conf | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf
>> index 25bd338..915c78b 100644
>> --- a/conf/machine/zc702-zynq7.conf
>> +++ b/conf/machine/zc702-zynq7.conf
>> @@ -24,3 +24,5 @@ MACHINE_DEVICETREE := " \
>> "
>>
>> MACHINE_KCONFIG := "common/linux/rtc.cfg"
>> +
>> +IMAGE_BOOT_FILES = "boot.bin u-boot.img uEnv.txt uImage-zc702-zynq7.dtb
>> uImage"
>
> Should be a ?= in case local.conf has a custom value.
>
> This looks like a good candidate to be split up a-bit and put in machine-xilinx-board.inc?
>
> machine-xilinx-board.inc:
> IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} u-boot.${UBOOT_SUFFIX}"
>
> zc702-zynq7.conf:
> IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-${MACHINE}.dtb"
>
> So that at some point the "boot.bin" could move into the machine-xilinx-board.inc definition.
I sort of dislike hiding everything in .inc files, but will submit an
updated patch for this. (unless it crept in with your recent set).
have you documented the variables that are inc files that can be
overridden? I know to hunt through inc files, but it seems like a guide
to using meta-xilinx would be very helpful for new users.
Philip
>
> Regards,
> Nathan
>
>> --
>> 1.8.3.1
>>
>> --
>> _______________________________________________
>> meta-xilinx mailing list
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
>
More information about the meta-xilinx
mailing list