MIPS: generic: Fix NI 169445 its build
Subsystems (2)
PATCH 1/1 MIPS: generic: Fix NI 169445 its build
From: James Hogan <[email protected]>
Since commit 04a85e087ad6 ("MIPS: generic: Move NI 169445 FIT image source to its own file"), a generic 32r2el_defconfig kernel fails to build with the following build error:
ITB arch/mips/boot/vmlinux.gz.itb
Error: arch/mips/boot/vmlinux.gz.its:111.1-2 syntax error FATAL ERROR: Unable to parse input tree
mkimage Can't read arch/mips/boot/vmlinux.gz.itb.tmp: Invalid argument
This is because arch/mips/generic/board-ni169445.its.S doesn't include the necessary "/" node path before the first open brace, which did previously exist when it was in arch/mips/generic/vmlinux.its.S.
--- arch/mips/generic/board-ni169445.its.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/generic/board-ni169445.its.S +1 -1
@@ -1,4 +1,4 @@ -{ +/ { images { fdt@ni169445 { description = "NI 169445 device tree";
Signature · 1 line
2.14.1
Hi James,
Quoted 10 lines · James Hogan
From: James Hogan <[email protected]>
Since commit
04a85e087ad6("MIPS: generic: Move NI 169445 FIT image source to its own file"), a generic 32r2el_defconfig kernel fails to build with the following build error:ITB
arch/mips/boot/vmlinux.gz.itb
Error: arch/mips/boot/vmlinux.gz.its:111.1-2 syntax error FATAL ERROR: Unable to parse input tree
mkimage Can't readarch/mips/boot/vmlinux.gz.itb.tmp: Invalid argument
Hmm - I fixed this up already here:
https://patchwork.linux-mips.org/patch/16941/
and Ralf said he was going to fix up the original commit. I guess it got lost somewhere..?
Thanks,
Paul
Quoted 27 lines
This is because
arch/mips/generic/board-ni169445.its.Sdoesn't include the necessary "/" node path before the first open brace, which did previously exist when it was inarch/mips/generic/vmlinux.its.S.Fixes 04a85e087ad6 ("MIPS: generic: Move NI 169445 FIT image source to its own file")Signed-off-by James Hogan <[email protected]>Cc Ralf Baechle <[email protected]>Cc Paul Burton <[email protected]>Cc Nathan Sullivan <[email protected]>--- arch/mips/generic/board-ni169445.its.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/mips/generic/board-ni169445.its.S +1
-1@@ -1,4 +1,4 @@ -{ +/ { images { fdt@ni169445 { description = "NI 169445 device tree";Signature · 1 line
2.14.1
Quoted 12 lines · Paul Burton
Quoted 10 lines · James Hogan
From: James Hogan <[email protected]>
Since commit
04a85e087ad6("MIPS: generic: Move NI 169445 FIT image source to its own file"), a generic 32r2el_defconfig kernel fails to build with the following build error:ITB
arch/mips/boot/vmlinux.gz.itb
Error: arch/mips/boot/vmlinux.gz.its:111.1-2 syntax error FATAL ERROR: Unable to parse input tree
mkimage Can't readarch/mips/boot/vmlinux.gz.itb.tmp: Invalid argument
Quoted 6 lines
Hmm - I fixed this up already here:
https://patchwork.linux-mips.org/patch/16941/
and Ralf said he was going to fix up the original commit. I guess it got lost somewhere..?
Ah yes. It looks like Ralf did fix the original commit, i.e. commit 7aacf86b75bc ("MIPS: NI 169445 board support"), but the change wasn't transferred to the separate file when the conflict in commit 04a85e087ad6 ("MIPS: generic: Move NI 169445 FIT image source to its own file") was resolved.
I think my patch has a more correct commit message / Fixes tag now, so I think this patch is still applicable.
Cheers
James