From: Wolfgang Denk Date: Mon, 30 Jul 2018 13:45:18 +0200 Subject: [U-Boot] [PATCH 2/2] FIT image: use compression = "none" for ramdisks In-Reply-To: <20180730105319.79424-2-sgoldschmidt@de.pepperl-fuchs.com> References: <20180730105319.79424-1-sgoldschmidt@de.pepperl-fuchs.com> <20180730105319.79424-2-sgoldschmidt@de.pepperl-fuchs.com> Message-ID: <20180730114518.9EEB1240051@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon, In message <20180730105319.79424-2-sgoldschmidt@de.pepperl-fuchs.com> you wrote: > To prepare supporting compression for all image types, change > compression to "none" for ramdisks in all examples. What makes you think this is a correct thing to do? There are different approaches to handle things. For example, traditionally on Power Architecture we would use a raw kernel binray, compress this (for example with gzip) before wrapping it with mkimage into an (uImage or FIT) U-Boot image, and then let U-Boot uncompress the kernel image into rum and start it. On ARM the kernel comes traditionally with it's own wrapper that does unompressions and such. Same for ramdisk handling. On some systems it may make sense to have U-Boot handle the uncompressing, so compression = "gzip"; may be fully intentional. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Pardon me for breathing, which I never do anyway so I don't know why I bother to say it, oh God, I'm so depressed. Here's another of those self-satisfied doors. Life! Don't talk to me about life." - Marvin the Paranoid Android