[PATCH] test/py: Use aligned address for overlays in 'extension' test

Tom Rini trini at konsulko.com
Wed Nov 12 19:14:45 CET 2025


On Wed, Nov 12, 2025 at 06:50:48PM +0100, Heinrich Schuchardt wrote:
> Am 12. November 2025 16:27:50 MEZ schrieb Tom Rini <trini at konsulko.com>:
> >On Wed, Nov 12, 2025 at 04:24:34PM +0100, Marek Vasut wrote:
> >> On 11/12/25 2:35 PM, Tom Rini wrote:
> >> > On Wed, Nov 12, 2025 at 03:02:21AM +0100, Marek Vasut wrote:
> >> > > The 'extension' test would set 'extension_overlay_addr' variable to
> >> > > decimal 4096 due to conversion in python. The 'extension_overlay_addr'
> >> > > is however sampled using env_get_hex("extension_overlay_addr", 0);
> >> > > which converts the 4096 to 0x4096 and uses that as DT overlay address,
> >> > > which is unaligned. Fix this by setting extension_overlay_addr to 0x1000
> >> > > as intended, which is aligned.
> 
> Please, do not use fixed address 0x1000 which may not exist on real hardware.

This is already a sandbox-specific test and would require substantial
changes for real hardware, it's using "hostfs" for example.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251112/7d82ab6d/attachment.sig>


More information about the U-Boot mailing list