Hi,
Would you be able to guide me, on how I can accomplish
a. trying to download a pre-built ramdisk image, prior to building the linux
kernel? e.g. should I create a new ramdisk-xilinx.bb recipe to separately
download it.
If so, how do I get to stage it so that it downloads it, as soon, as the kernel
sources have been unpacked in the work directory, .. and then copy the
ramdisk.image.gz file over to the arch/powerpc/boot folder?
b. which variables should I use to reference the kernel source work folder to
perform the copy & which task should I use to perform the copy ?
Best regards,
Elvis Dowson
On Jul 14, 2012, at 12:19 AM, Elvis Dowson wrote:
> Hi,
> I'm trying to create a linux-xilinx-2.6.38 recipe, that will download a
> ramdisk image from
> http://wiki.xilinx.com/local--files/powerpc-linux/ramdisk.image.gz
> and copy it to the arch/powerpc/boot folder.
>
> How can I modify the following recipe to execute these commands?
>
> inherit kernel xilinx-kernel xilinx-utils
> require recipes-kernel/linux/linux-xilinx.inc
>
> DEFAULT_PREFERENCE = "1"
>
> KBRANCH = "master"
>
> LINUX_VERSION ?= "2.6.38"
> SRCREV_pn-${PN} = "c965eb91f22d1ca04b141957bccd1c02abc5c6f7"
> KTAG_virtex5 = "xilinx_v2.6.38"
>
> PR = "r00"
> PV = "${LINUX_VERSION}"
>
> SRC_URI = "git://git.xilinx.com/linux-xlnx.git;protocol=git;tag=${KTAG} \
>
> file://0001-virtex-ml507-Update-device-tree-to-version-generated-by-Xilinx-EDK-13.1.patch
> \
>
> file://0002-Makefile-Disable-warnings-being-treated-as-errors.patch \
> file://defconfig"
>
> XILINX_BOARD ?= "${@find_board(bb.data.getVar('XILINX_BSP_PATH', d, 1), d)}"
> KERNEL_DEVICETREE = "${@device_tree(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
> KERNEL_DEVICETREE_microblazeel = "${@device_tree(bb.data.getVar('TARGET_CPU',
> d, 1), d)}"
>
> #KERNEL_DEVICETREE = "virtex440-ml507.dts"
>
> COMPATIBLE_MACHINE =
> "(virtex4|virtex5|virtex5mb|spartan6-sp605|spartan6-lx9mb)"
>
> Best regards,
>
> Elvis
>
>
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto