Re: [PATCH] MIPS: boot: Fix unaligned access with?? CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-29 Thread Paul Cercueil
Hi Thomas, Le mar. 29 déc. 2020 à 16:08, Thomas Bogendoerfer a écrit : On Mon, Dec 28, 2020 at 10:30:36PM +, Paul Cercueil wrote: Le lun. 28 déc. 2020 à 23:25, Thomas Bogendoerfer a écrit : > On Wed, Dec 16, 2020 at 11:39:56PM +, Paul Cercueil wrote: > > The compressed payload i

Re: [PATCH] MIPS: boot: Fix unaligned access with?? CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-29 Thread Thomas Bogendoerfer
On Mon, Dec 28, 2020 at 10:30:36PM +, Paul Cercueil wrote: > Le lun. 28 déc. 2020 à 23:25, Thomas Bogendoerfer > a écrit : > > On Wed, Dec 16, 2020 at 11:39:56PM +, Paul Cercueil wrote: > > > The compressed payload is not necesarily 4-byte aligned, at least > > > when > > > compiling wit

Re: [PATCH] MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-28 Thread Paul Cercueil
Hi Thomas, Le lun. 28 déc. 2020 à 23:25, Thomas Bogendoerfer a écrit : On Wed, Dec 16, 2020 at 11:39:56PM +, Paul Cercueil wrote: The compressed payload is not necesarily 4-byte aligned, at least when compiling with Clang. In that case, the 4-byte value appended to the compressed payl

Re: [PATCH] MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-28 Thread Thomas Bogendoerfer
On Wed, Dec 16, 2020 at 11:39:56PM +, Paul Cercueil wrote: > The compressed payload is not necesarily 4-byte aligned, at least when > compiling with Clang. In that case, the 4-byte value appended to the > compressed payload that corresponds to the uncompressed kernel image > size must be read u

Re: [PATCH] MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-17 Thread Philippe Mathieu-Daudé
On Thu, Dec 17, 2020 at 12:41 AM Paul Cercueil wrote: > > The compressed payload is not necesarily 4-byte aligned, at least when > compiling with Clang. In that case, the 4-byte value appended to the > compressed payload that corresponds to the uncompressed kernel image > size must be read using g

Re: [PATCH] MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-16 Thread Paul Cercueil
Hi Nick, Le mer. 16 déc. 2020 à 18:08, Nick Desaulniers a écrit : On Wed, Dec 16, 2020 at 3:40 PM Paul Cercueil wrote: The compressed payload is not necesarily 4-byte aligned, at least when compiling with Clang. In that case, the 4-byte value appended to the compressed payload that cor

Re: [PATCH] MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB

2020-12-16 Thread Nick Desaulniers
On Wed, Dec 16, 2020 at 3:40 PM Paul Cercueil wrote: > > The compressed payload is not necesarily 4-byte aligned, at least when > compiling with Clang. In that case, the 4-byte value appended to the > compressed payload that corresponds to the uncompressed kernel image > size must be read using ge