linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/12] ARM: Decompressor multiplatform support
@ 2012-07-15  2:44 Domenico Andreoli
  2012-07-15  2:44 ` [RFC PATCH 01/12] ARM: Add strstr to the decompressor Domenico Andreoli
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: Domenico Andreoli @ 2012-07-15  2:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

  here is a new edition of my work in the decompressor area.
  
My intent is to get rid of uncompress.h and prepare the decompressor
to dynamically select the various machine specific decompressor init
steps, included the selection of the appropriate console driver.

Currently the mainline kernel defines these steps statically and indeed
has some trouble to boot on different boards with the same binary.

What this patch does is allowing the four functions (arch_decomp_setup,
arch_error, putc and flush) currently used to define such static steps
to be packed in quantity and to be selected/executed by the decompressor
accordingly to the machid or DT passed by the boot loader.

I forgot to say that all this code and data is relocated from the kernel
image to the decompressor during the build. So some pointer arithmetic
is required on the decompressor side. This unfortunately brings in also
some limitations in the code/data to be relocated.

The patchset is of course far from being ready for anything but
development and testing. I really looked into only three SoCs but I
know that aside from a kind of graphic adapter somewhere all the other
are a variation of these three players.

I'm able to test it on a out-of-tree bcm4760 board and a Samsung
S5P6450. I also build tested a dozen of other random samsung and ti/omap
defconfigs, sometimes nailing down problems. I've also my qq2440 ;)

The patchset also applies on top of Arnd's multiplatform tree and the
resulting binary boots on the bcm4760 board. In that configuration I
get the most fat relocation of code and data, with an amazing number
of four drivers and don't known how many console tags. I had also some
fun efficiently packing all that stuff :)

That said, thank you for the comments :)

cheers,
Domenico

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-07-17 14:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15  2:44 [RFC PATCH 00/12] ARM: Decompressor multiplatform support Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 01/12] ARM: Add strstr to the decompressor Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 02/12] ARM: kernel -> decompressor relocation handling Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 03/12] ARM: Add indirection around arch_decomp_setup()/arch_error() Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 04/12] ARM: Add architecture specific decompressor tags Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 05/12] ARM: Add DT support to " Domenico Andreoli
2012-07-17 14:14   ` Arnd Bergmann
2012-07-17 14:41     ` Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 06/12] ARM: Work around OMAPs arch_decomp_setup() Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 07/12] ARM: Add multi-arch console support to the decompressor Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 08/12] ARM: Add DT support to the decompressor console Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 09/12] ARM: Decompressor support for AMBA PL010 UARTs Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 10/12] ARM: Decompressor support for AMBA PL011 UARTs Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 11/12] ARM: Decompressor support for Samsung UARTs Domenico Andreoli
2012-07-15  2:44 ` [RFC PATCH 12/12] ARM: Decompressor support for OMAP UARTs Domenico Andreoli
2012-07-17 14:31 ` [RFC PATCH 00/12] ARM: Decompressor multiplatform support Arnd Bergmann
2012-07-17 14:54   ` Domenico Andreoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).