maaxboard mickledore branch kernel patch can not be applied

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

maaxboard mickledore branch kernel patch can not be applied

756 Views
gonewithwind-peter
Senior Contributor I

HI
I used langdale branch for maaxboard-mini (maaxboard-zeus sumo)
especially langdale branch for maaxboard-mini ,the source code are almost are 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 patc h 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 post the issue here:

https://github.com/Avnet/meta-maaxboard/issues/10

0 Kudos
Reply
2 Replies

690 Views
gonewithwind-peter
Senior Contributor I

sorry, the new branch  put the patched files in different folders. it works.

0 Kudos
Reply

723 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

you need contact you vendor since patches are for EVK and linux BSP. if it can not apply please check with you vendor.

Rregards