HI
I used langdale branch for maaxboard-mini (and maaxboard-(mini)-zeus, sumo) before.
especially langdale branch for maaxboard-mini ,the source code are almost same.
I add my M41T93 spi rtc kernel patch at meta-maaxboard/recipes-kernel/linux/linux-maaxboard-src.inc
the content is below:
KERNEL_SRC:maaxboardbase = "${MAAXBOARD_GIT_HOST_MIRROR}/linux-imx.git;${MAAXBOARD_GIT_PROTOCOL}"
KERNEL_BRANCH:maaxboardbase = "maaxboard_lf-6.1.22-2.0.0"
SRC_URI:maaxboardbase = "${KERNEL_SRC};branch=${KERNEL_BRANCH};${MAAXBOARD_GIT_USER} \
file://002-rtc-m41t93.patch \
"
--
anyway, use do_configure:append() .config can be changed forcely (before not use like this ,I worked before like this:
SRC_URI:maaxboardbase = "${KERNEL_SRC};branch=${KERNEL_BRANCH};${MAAXBOARD_GIT_USER} \
file://002-rtc-m41t93.patch \
file://rtcm41t93.cfg
"
but currently I need to use do_configure:append() to work. anyway it works. that's fine.
but patch file file://002-rtc-m41t93.patch NOT applied ,
kernel can be compiled ,but no patch applied
I need to patch the file ./tmp/work/armv8a-mx8m-poky-linux/linux-imx-headers/6.1-r0/git/arch/arm64/boot/dts/freescale/maaxboard/ext-spi1.dts
but after the compilation finished. the file is same as the original, not changed.
I find the patch file 002-rtc-m41t93.patch was copied to ./tmp/work/maaxboard-poky-linux/linux-imx/6.1.22+gitAUTOINC+78ce688d5a-r0/
but NOT applied!
HI I used langdale branch for maaxboard-mini (and maaxboard-(mini)-zeus, sumo) before. especially langdale branch for maaxboard-mini ,the source code are almost same.
I add my M41T93 spi rtc kernel patch at meta-maaxboard/recipes-kernel/linux/linux-maaxboard-src.inc
the content is below: KERNEL_SRC:maaxboardbase = "${MAAXBOARD_GIT_HOST_MIRROR}/linux-imx.git;${MAAXBOARD_GIT_PROTOCOL}" KERNEL_BRANCH:maaxboardbase = "maaxboard_lf-6.1.22-2.0.0" SRC_URI:maaxboardbase = "${KERNEL_SRC};branch=${KERNEL_BRANCH};${MAAXBOARD_GIT_USER} \ file://002-rtc-m41t93.patch \ "
SRCREV:maaxboardbase = "${AUTOREV}"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI:maaxboardbase += "file://rtcm41t93.cfg"
do_configure:append() { cat ${WORKDIR}/rtcm41t93.cfg >> ${B}/.config }
-- anyway, use do_configure:append() .config can be changed forcely (before not use like this ,I worked before like this: SRC_URI:maaxboardbase = "${KERNEL_SRC};branch=${KERNEL_BRANCH};${MAAXBOARD_GIT_USER} \ file://002-rtc-m41t93.patch \ file://rtcm41t93.cfg " but currently I need to use do_configure:append() to work. anyway it works. that's fine.
but patch file file://002-rtc-m41t93.patch NOT applied , kernel can be compiled ,but no patch applied
I need to patch the file ./tmp/work/armv8a-mx8m-poky-linux/linux-imx-headers/6.1-r0/git/arch/arm64/boot/dts/freescale/maaxboard/ext-spi1.dts but after the compilation finished. the file is same as the original, not changed. I find the patch file 002-rtc-m41t93.patch was copied to ./tmp/work/maaxboard-poky-linux/linux-imx/6.1.22+gitAUTOINC+78ce688d5a-r0/ but NOT applied!
any help?
Thank you very much. I also posted this issue here: https://community.nxp.com/t5/i-MX-Processors/maaxboard-mickledore-branch-kernel-patch-can-not-be-applied/m-p/1997453#M230996