Thread (15 messages) 15 messages, 4 authors, 2017-10-03
STALE3202d
Revisions (4)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v2 current
  4. v2 [diff vs current]

[PATCH v2 0/5] make XIP kernel .data compressed in ROM

From: Chris.Brandt@renesas.com (Chris Brandt)
Date: 2017-08-30 21:58:49

On Tuesday, August 29, 2017 1, Nicolas Pitre wrote:
This patch series provides the ability to store the XIP kernel .data
segment compressed in ROM. It has to be copied to RAM anyway so
storing it uncompressed is arguably a waste of ROM resources.

While at it, the copying of .data (when not compressed) and the
clearing of .bss is now performed using optimized string routines
rather than doing it one word at a time.
Tested on my XIP system (Cortex-A9) and it seems to work OK.

This work highlighted some defficiencies in linker scripts, especially
the XIP one. So this also includes linker script cleanups and fixes.
Thank you for this!



If you're curious, here are some numbers from my system:

Original xipImage size: 4,190,068 bytes
xipImage size with CONFIG_XIP_DEFLATED_DATA=y: 3,985,227 bytes

A 204,841 byte reduction in image size (4.89%)



Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help