Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-08 Thread Thomas Bogendoerfer
On Mon, Mar 08, 2021 at 10:04:15AM -0700, Rob Herring wrote: > On Sat, Mar 6, 2021 at 3:59 PM Thomas Bogendoerfer > wrote: > > > > On Sat, Mar 06, 2021 at 02:35:21PM -0700, Rob Herring wrote: > > > On Sat, Mar 6, 2021 at 1:45 AM Thomas Bogendoerfer > > > wrote: > > > > > > > > On Wed, Mar 03, 202

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-08 Thread Rob Herring
On Sat, Mar 6, 2021 at 3:59 PM Thomas Bogendoerfer wrote: > > On Sat, Mar 06, 2021 at 02:35:21PM -0700, Rob Herring wrote: > > On Sat, Mar 6, 2021 at 1:45 AM Thomas Bogendoerfer > > wrote: > > > > > > On Wed, Mar 03, 2021 at 02:37:55PM -0600, Rob Herring wrote: > > > > On Wed, Mar 3, 2021 at 1:33

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-08 Thread Thomas Bogendoerfer
On Wed, Mar 03, 2021 at 07:33:05PM +, Paul Cercueil wrote: > Since 5.12-rc1, the Device Tree blob must now be properly aligned. > > Therefore, the decompress routine must be careful to copy the blob at > the next aligned address after the kernel image. > > This commit fixes the kernel sometim

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-06 Thread Thomas Bogendoerfer
On Sat, Mar 06, 2021 at 02:35:21PM -0700, Rob Herring wrote: > On Sat, Mar 6, 2021 at 1:45 AM Thomas Bogendoerfer > wrote: > > > > On Wed, Mar 03, 2021 at 02:37:55PM -0600, Rob Herring wrote: > > > On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: > > > > > > > > Since 5.12-rc1, the Device Tree

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-06 Thread Rob Herring
On Sat, Mar 6, 2021 at 1:45 AM Thomas Bogendoerfer wrote: > > On Wed, Mar 03, 2021 at 02:37:55PM -0600, Rob Herring wrote: > > On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: > > > > > > Since 5.12-rc1, the Device Tree blob must now be properly aligned. > > > > I had checked the other built-i

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-06 Thread Thomas Bogendoerfer
On Wed, Mar 03, 2021 at 02:37:55PM -0600, Rob Herring wrote: > On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: > > > > Since 5.12-rc1, the Device Tree blob must now be properly aligned. > > I had checked the other built-in cases as microblaze broke too, but > missed some of the many ways MIPS

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-04 Thread Maciej W. Rozycki
On Wed, 3 Mar 2021, Rob Herring wrote: > > Since 5.12-rc1, the Device Tree blob must now be properly aligned. > > I had checked the other built-in cases as microblaze broke too, but > missed some of the many ways MIPS can have a dtb. Appended and > built-in DTBs were supposed to be temporary. :(

[PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-03 Thread Paul Cercueil
Since 5.12-rc1, the Device Tree blob must now be properly aligned. Therefore, the decompress routine must be careful to copy the blob at the next aligned address after the kernel image. This commit fixes the kernel sometimes not booting with a Device Tree blob appended to it. Fixes: c4d5e638d6e9

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-03 Thread Paul Cercueil
Hi Rob, Le mer. 3 mars 2021 à 14:37, Rob Herring a écrit : On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: Since 5.12-rc1, the Device Tree blob must now be properly aligned. I had checked the other built-in cases as microblaze broke too, but missed some of the many ways MIPS can have

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-03 Thread Rob Herring
On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: > > Since 5.12-rc1, the Device Tree blob must now be properly aligned. I had checked the other built-in cases as microblaze broke too, but missed some of the many ways MIPS can have a dtb. Appended and built-in DTBs were supposed to be temporary