Skip to content

fix some issues with the kernel decompressor

Tony Lindgren linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchShawn GuoTony Lindgren
SeriesT-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] fix some issues with the kernel decompressor
Quoted 3 lines · Nicolas Pitre

Here some patches to fix some issues with the zImage code. The LZMA decompressor now works for me, and the DT append patch should work on all platforms now too.

Weird still no luck here booting n900 zImage.. LZMA image prints corrupt error, and only works if the image is relocated further by 1MB or so. With the following hack n900 boots, so some size calculations still are wrong. No luck with DT append patch either.

Any ideas why the following helps on n900?

Tony

arch/arm/boot/compressed/head.S +1 -0
@@ -307,6 +307,7 @@ dtb_check_done:
 		/* Round up to next 256-byte boundary. */
 		add	r10, r10, #256
 		bic	r10, r10, #255
+		orr	r10, r10, #0x00100000
 
 		sub	r9, r6, r5		@ size to copy
 		add	r9, r9, #31		@ rounded up to a multiple