Lede patches, 0060 failes due to missing file


(Frank W.) #1

Hi,

i’m trying to make a 4.9-repo for comparing with 4.14 (to include missing festures like hnat, 2nd gmac). till patch 59 all ok. but patch 0060 needs existing mt7623n-bananapi-bpi-r2.dts which was not created till this point, so this patch failes

https://github.com/frank-w/BPI-R2-4.14/tree/4.9_fully_patched edit: source-tree is a bit confusing…it’s not a standard-4.9-source it’s modified (at least dts for bpi is added). copied that dts and the patch works

seems that it’s not the only file:

patch -p1 < patches_from_lede/0066-backport-mtk-crypto-from-4.13-rc1.patch 
patching file arch/arm/boot/dts/mt7623.dtsi
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-4.9.44/drivers/crypto/mediatek/mtk-aes.c

seems that these file must be integrated into 4.9.44 first before applying the patches:

regards Frank


(Frank W.) #2

@garywang is there any reason that there is no patch 70 and 71? patches are till 69 complete and starting at 72 again. did i miss something?


(gary) #3

Hi Frank

The patch 70 and 71 were removed.

The patches for 4.9 are not available for kernel 4.14 directly, we have to make new patches for it.


(Frank W.) #4

I know that the patches not working for 4.14,thats the reason,why i created a 4.9 branch to look how the code looks around the patches (to see how it works).

ok,than i ignore these 2 files and continue with 72