Re: [PATCH] ubifs: allow loading to above 4GiB

2023-06-06 Thread Heiko Schocher
Hello Ben, On 06.06.23 12:30, Ben Dooks wrote: > On 05/06/2023 08:45, Heiko Schocher wrote: >> Hello Ben, >> >> On 10.05.23 15:41, Ben Dooks wrote: >>> The ubifsload command is truncating any address above 4GiB as it casts >>> this address to an u32, instead of using an unsigned long which most

Re: [PATCH] ubifs: allow loading to above 4GiB

2023-06-06 Thread Ben Dooks
On 05/06/2023 08:45, Heiko Schocher wrote: Hello Ben, On 10.05.23 15:41, Ben Dooks wrote: The ubifsload command is truncating any address above 4GiB as it casts this address to an u32, instead of using an unsigned long which most of the other load commands do. Change this to an unsigned long

Re: [PATCH] ubifs: allow loading to above 4GiB

2023-06-05 Thread Heiko Schocher
Hello Ben, On 10.05.23 15:41, Ben Dooks wrote: > The ubifsload command is truncating any address above 4GiB as it casts > this address to an u32, instead of using an unsigned long which most of > the other load commands do. Change this to an unsigned long to allow > loading into high memory for

[PATCH] ubifs: allow loading to above 4GiB

2023-05-10 Thread Ben Dooks
The ubifsload command is truncating any address above 4GiB as it casts this address to an u32, instead of using an unsigned long which most of the other load commands do. Change this to an unsigned long to allow loading into high memory for boards which use these areas. Fixes the following error: