linux-tegra: bump SRCREV, add deployment of DTB overlays

The update adds a fix for overlay for the Xavier NX dev kit
so the SDcard shows up as /dev/mmcblk0, as it used to, instead
of /dev/mmcblk1.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2022-08-18 14:54:57 -07:00
committed by Matt Madison
parent 58f6e7863c
commit c5797e2e90

View File

@@ -22,7 +22,7 @@ LINUX_VERSION_EXTENSION ?= "-l4t-r${@'.'.join(d.getVar('L4T_VERSION').split('.')
SCMVERSION ??= "y"
SRCBRANCH = "oe4t-patches${LINUX_VERSION_EXTENSION}"
SRCREV = "253a08629977f5003adca084c9a50ec8ba5e16b9"
SRCREV = "63c149056a7ef7bf146a747e7c8a179c1aaf72f7"
KBRANCH = "${SRCBRANCH}"
SRC_REPO = "github.com/OE4T/linux-tegra-5.10.git;protocol=https"
KERNEL_REPO = "${SRC_REPO}"
@@ -118,11 +118,20 @@ do_apply_devicetree_overlays[depends] += "dtc-native:do_populate_sysroot"
do_install:append() {
for dtbo in $(find ${KERNEL_OUTPUT_DIR}/dts/*.dtbo); do
dtbo_base_name=`basename $dtbo .$dtbo_ext`
dtbo_base_name=$(basename $dtbo)
install -m 0644 $dtbo ${D}/${KERNEL_IMAGEDEST}/$dtbo_base_name
done
}
OVERLAYS_TO_DEPLOY = '${@" ".join((d.getVar("OVERLAY_DTB_FILE") or "").split(","))}'
do_deploy:append() {
for dtbo in ${OVERLAYS_TO_DEPLOY}; do
if [ -e ${KERNEL_OUTPUT_DIR}/dts/$dtbo ]; then
install -m 0644 ${KERNEL_OUTPUT_DIR}/dts/$dtbo $deployDir
fi
done
}
addtask apply_devicetree_overlays after do_compile_devicetree_overlays before do_install
bootimg_from_bundled_initramfs() {