mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00

Update to Boundary Devices U-Boot boot scripts 2014.07 tree. This update brings the boot scripts in line with the U-Boot package (u-boot-boundary) and also contains a number of enhancements: - Adds support for 1024x600 panel with Ilitek touch screen - nit6xlite: fixes bug in quoting bootargs - nitrogen6x: fixes calculation of DTB name for Solo/Dual-Lite - nitrogen6x/sabrelite/nitrogen6_max: add disable_giga parameter to allow a user to force 10/100 operation of the ethernet port Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
59 lines
1.9 KiB
BlitzBasic
59 lines
1.9 KiB
BlitzBasic
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
|
|
DEPENDS = "u-boot-mkimage-native"
|
|
|
|
PV = "v2014.07+git${SRCPV}"
|
|
|
|
SRCREV = "f870252376c47011a78cd8c35fdf904001d6c41e"
|
|
SRCBRANCH = "v2014.07-20140914"
|
|
SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit deploy
|
|
|
|
BOOTSCRIPT = "${S}/board/boundary/${MACHINE}/6x_bootscript-yocto.txt"
|
|
BOOTSCRIPT_nitrogen6x = "${S}/board/boundary/nitrogen6x/6x_bootscript-yocto.txt"
|
|
BOOTSCRIPT_nitrogen6x-lite = "${S}/board/boundary/nit6xlite/6x_bootscript-yocto.txt"
|
|
|
|
UPGRADESCRIPT = "${S}/board/boundary/nitrogen6x/6x_upgrade.txt"
|
|
|
|
do_mkimage () {
|
|
# allow deploy to use the ${MACHINE} name to simplify things
|
|
if [ ! -d board/boundary/${MACHINE} ]; then
|
|
mkdir board/boundary/${MACHINE}
|
|
fi
|
|
|
|
uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
-n "boot script" -d ${BOOTSCRIPT} \
|
|
board/boundary/${MACHINE}/6x_bootscript
|
|
|
|
uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
-n "upgrade script" -d ${UPGRADESCRIPT} \
|
|
board/boundary/${MACHINE}/6x_upgrade
|
|
}
|
|
|
|
addtask mkimage after do_compile before do_install
|
|
|
|
do_deploy () {
|
|
install -d ${DEPLOYDIR}
|
|
install ${S}/board/boundary/${MACHINE}/6x_bootscript \
|
|
${DEPLOYDIR}/6x_bootscript-${MACHINE}-${PV}-${PR}
|
|
install ${S}/board/boundary/${MACHINE}/6x_upgrade \
|
|
${DEPLOYDIR}/6x_upgrade-${MACHINE}-${PV}-${PR}
|
|
|
|
cd ${DEPLOYDIR}
|
|
rm -f 6x_bootscript-${MACHINE} 6x_upgrade-${MACHINE}
|
|
ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR} 6x_bootscript-${MACHINE}
|
|
ln -sf 6x_upgrade-${MACHINE}-${PV}-${PR} 6x_upgrade-${MACHINE}
|
|
}
|
|
|
|
addtask deploy after do_install before do_build
|
|
|
|
do_compile[noexec] = "1"
|
|
do_install[noexec] = "1"
|
|
do_populate_sysroot[noexec] = "1"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
|