u-boot: Add something that could build for the sysmocom-odu
We do not intend to use u-boot right now but at least this version will build. In the first version we will use the barebox images provided to us by the producer of the SoM.
This commit is contained in:
parent
2700d6a642
commit
d9ebe05799
|
@ -3,7 +3,14 @@ SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de"
|
||||||
PV = "v2011.12+git${SRCPV}"
|
PV = "v2011.12+git${SRCPV}"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
PRINC = "11"
|
# We can't build the normal build for sysmocom-odu yet.. build the TI branch
|
||||||
|
SRCREV_sysmocom-odu = "f2dcae2f9e9434392673fea7584641afa98f4232"
|
||||||
|
UBOOT_MACHINE_sysmocom-odu = "am335x_evm_config"
|
||||||
|
SPL_BINARY_sysmocom-odu = "MLO"
|
||||||
|
SPL_UART_BINARY_sysmocom-odu = "u-boot-spl.bin"
|
||||||
|
|
||||||
|
|
||||||
|
PRINC = "13"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
||||||
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
|
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
|
||||||
|
@ -11,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
||||||
UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config"
|
UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config"
|
||||||
UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config"
|
UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config"
|
||||||
UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config"
|
UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config"
|
||||||
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
|
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-odu)"
|
||||||
|
|
||||||
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}"
|
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}"
|
||||||
UBOOT_SYMLINK = "u-boot-${MACHINE}"
|
UBOOT_SYMLINK = "u-boot-${MACHINE}"
|
||||||
|
@ -25,5 +32,15 @@ do_deploy_prepend () {
|
||||||
rm -f ${UBOOT_SYMLINK}.elf
|
rm -f ${UBOOT_SYMLINK}.elf
|
||||||
ln -sf ${UBOOT_IMAGE}.bin ${UBOOT_SYMLINK}.bin
|
ln -sf ${UBOOT_IMAGE}.bin ${UBOOT_SYMLINK}.bin
|
||||||
ln -sf ${UBOOT_IMAGE}.elf ${UBOOT_SYMLINK}.elf
|
ln -sf ${UBOOT_IMAGE}.elf ${UBOOT_SYMLINK}.elf
|
||||||
|
|
||||||
|
if [ "x${SPL_UART_BINARY}" != "x" ]
|
||||||
|
then
|
||||||
|
install ${S}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
|
||||||
|
rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
|
||||||
|
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
|
||||||
|
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Stop the processing now
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue