diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2013-10-10 19:10:02 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-10-10 19:10:02 +0200 |
commit | 12602f7b19e75e7c502f2198a70c2348c7e5b09c (patch) | |
tree | 24fa4760221f15c301aebae3fe982a098f2f9fc6 /recipes-bsp/u-boot | |
parent | e20285ca4907fe949dfc7a9a223ddaa64870d7e8 (diff) |
colibri-vf50: add the machine, kernel and u-boot
- also add the relevant configuration files
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-colibri-vf.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-colibri-vf.bb b/recipes-bsp/u-boot/u-boot-colibri-vf.bb new file mode 100644 index 0000000..ae2ddc8 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-colibri-vf.bb @@ -0,0 +1,46 @@ +require recipes-bsp/u-boot/u-boot.inc + +PROVIDES += "u-boot" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ + file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab" + +PV = "${PR}+gitr${SRCREV}" +PR = "r0" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=colibri" +SRCREV_colibri-vf50 = "ac13ca97df9f8c17d1c89d425041690484ee0fdf" + +#FILESPATHPKG =. "git:" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "colibri-vf50" +DEFAULT_PREFERENCE_colibri-vf50 = "1" + +# colibri_vf50: build additionally a u-boot binary used for nand boot +#SPL_BINARY_colibri-vf50 = "u-boot.nand" +#SPL_IMAGE_colibri-vf50 = "u-boot-${MACHINE}-${PV}-${PR}.nand" +#SPL_SYMLINK_colibri-vf50 = "u-boot-${MACHINE}.nand" +#do_compile_append_colibri-vf50() { +# # keep boot-hsmmc +# mv u-boot.${UBOOT_SUFFIX} u-boot-mmc.${UBOOT_SUFFIX} +# oe_runmake colibri_vf50_nand_config +# oe_runmake ${UBOOT_MAKE_TARGET} +# mv u-boot.${UBOOT_SUFFIX} u-boot-nand.${UBOOT_SUFFIX} +# mv u-boot-mmc.${UBOOT_SUFFIX} u-boot.${UBOOT_SUFFIX} +# +# # prepare the u-boot for nand +# dd if=/dev/zero of=u-boot-pad bs=1024 count=1 +# cat u-boot-pad u-boot-nand.${UBOOT_SUFFIX} > ${SPL_BINARY} +#} + +# colibri_vf50: build additionally a u-boot binary used for sd-card boot +SPL_BINARY_colibri-vf50 = "u-boot.imx" +SPL_IMAGE_colibri-vf50 = "u-boot-${MACHINE}-${PV}-${PR}.imx" +SPL_SYMLINK_colibri-vf50 = "u-boot-${MACHINE}.imx" +do_compile_append_colibri-vf50() { + oe_runmake colibri_vf50_sdboot_config + oe_runmake +} |