--- zzzz-none-000/linux-5.4.213/arch/arc/kernel/head.S 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/arch/arc/kernel/head.S 2024-05-29 11:19:50.000000000 +0000 @@ -61,6 +61,16 @@ #endif .endm + ; Here "patch-dtb" will embed external .dtb + ; Note "patch-dtb" searches for ASCII "OWRTDTB:" string + ; and pastes .dtb right after it, hense the string precedes + ; __image_dtb symbol. + .section .owrt, "aw",@progbits + .ascii "OWRTDTB:" +ENTRY(__image_dtb) + .fill 0x4000 +END(__image_dtb) + .section .init.text, "ax",@progbits ;----------------------------------------------------------------