# Patch can not work for linux-LSDK-20.04/

**URL:** <https://community.solid-run.com/t/patch-can-not-work-for-linux-lsdk-20-04/153>\
**Category:** NXP LX2160\
**Created:** [September 9, 2021, 2:17pm UTC](https://community.solid-run.com/t/patch-can-not-work-for-linux-lsdk-20-04/153 "2021-09-09T14:17:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qii](https://avatars.discourse-cdn.com/v4/letter/q/97f17d/32.png) [@Qii](https://community.solid-run.com/u/Qii)\
**Post date:** [September 9, 2021, 2:17pm UTC](https://community.solid-run.com/t/patch-can-not-work-for-linux-lsdk-20-04/153/1 "2021-09-09T14:17:19Z")

</div>

Hi,

I tried to build one new LX2160 image with LSDK-20.04-V4.19-update-290520, but seems patches can’t work for this branch, there were some error prints when execute script below.

Can you please check it and how to fix this issue? Thanks.

-----ERROR PRINT-----

git checkout -b

Checking out files: 100% (62341/62341), done.  
_ **Applying: arm64: dts: lx2160a: add lx2160acex7 device tree build** _  
_error: patch failed: arch/arm64/boot/dts/freescale/Makefile:47_  
_ **error: arch/arm64/boot/dts/freescale/Makefile: patch does not apply** _  
_Patch failed at 0001 arm64: dts: lx2160a: add lx2160acex7 device tree build_  
hint: Use ‘git am --show-current-patch’ to see the failed patch  
When you have resolved this problem, run “git am --continue”.  
If you prefer to skip this patch, run “git am --skip” instead.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 12, 2021, 8:54am UTC](https://community.solid-run.com/t/patch-can-not-work-for-linux-lsdk-20-04/153/2 "2021-09-12T08:54:08Z")

</div>

We are only supporting the 5.4 and newer kernels currently. If you would like to use a 4.19 kernel then the device-tree will need to be adapted and backported to work with it.
