Re: [PATCH] arm: Add support for ZSTD compressed kernel

2020-08-06 Thread Peter Geis
On Thu, Aug 6, 2020 at 6:22 PM Russell King - ARM Linux admin wrote: > > On Thu, Aug 06, 2020 at 05:46:50PM -0400, Peter Geis wrote: > > Good Evening, > > > > I had attempted to get this working as well, but have run into > > difficulties with both my implementation and yours as well. > > My

Re: [PATCH] arm: Add support for ZSTD compressed kernel

2020-08-06 Thread Russell King - ARM Linux admin
On Thu, Aug 06, 2020 at 05:46:50PM -0400, Peter Geis wrote: > Good Evening, > > I had attempted to get this working as well, but have run into > difficulties with both my implementation and yours as well. > My implementation was almost the same as yours, with the exception of > also changing: >

[PATCH] arm: Add support for ZSTD compressed kernel

2020-08-06 Thread Peter Geis
Good Evening, I had attempted to get this working as well, but have run into difficulties with both my implementation and yours as well. My implementation was almost the same as yours, with the exception of also changing: @@ -303,7 +305,7 @@ restart: adr r0, LC1 #ifndef CONFIG_ZBOOT_ROM /*

Re: [PATCH] arm: Add support for ZSTD compressed kernel

2020-08-06 Thread Russell King - ARM Linux admin
On Thu, Aug 06, 2020 at 10:45:42AM +0200, Norbert Lange wrote: > Am Do., 6. Aug. 2020 um 02:30 Uhr schrieb Russell King - ARM Linux > admin : > > > > On Thu, Aug 06, 2020 at 01:05:55AM +0200, Norbert Lange wrote: > > > diff --git a/arch/arm/boot/compressed/head.S > > >

Re: [PATCH] arm: Add support for ZSTD compressed kernel

2020-08-06 Thread Norbert Lange
Am Do., 6. Aug. 2020 um 02:30 Uhr schrieb Russell King - ARM Linux admin : > > On Thu, Aug 06, 2020 at 01:05:55AM +0200, Norbert Lange wrote: > > diff --git a/arch/arm/boot/compressed/head.S > > b/arch/arm/boot/compressed/head.S > > index 434a16982e34..1af01bfe6638 100644 > > ---

Re: [PATCH] arm: Add support for ZSTD compressed kernel

2020-08-05 Thread Russell King - ARM Linux admin
On Thu, Aug 06, 2020 at 01:05:55AM +0200, Norbert Lange wrote: > diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S > index 434a16982e34..1af01bfe6638 100644 > --- a/arch/arm/boot/compressed/head.S > +++ b/arch/arm/boot/compressed/head.S > @@ -614,7 +614,11 @@

[PATCH] arm: Add support for ZSTD compressed kernel

2020-08-05 Thread Norbert Lange
* Add support for zstd compressed kernel * Define __DISABLE_EXPORTS in Makefile * Bump the heap size for zstd. This replicates the steps taken for x86 support. Only if ZSTD is selected, heap size for kernel decompression is increased, this should guarantee no changes in code / sideeffects for