<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sandbox, branch v2026.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox?h=v2026.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox?h=v2026.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-12-10T15:06:13Z</updated>
<entry>
<title>Makefile: use --output-target instead of --target</title>
<updated>2025-12-10T15:06:13Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-12-08T20:47:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7da7ca7cf50f4996493b99198e939726e721906d'/>
<id>urn:sha1:7da7ca7cf50f4996493b99198e939726e721906d</id>
<content type='text'>
The objcopy man-page teaches:

    --target=bfdname
      Use bfdname as the object format for
      both the input and the output file

This implies for --target=efi-app-x86_64 that the input file would have
to be an EFI app.

Objcopy in binutils 2.45 checks this more strictly than previous versions
and refuses to accept an ELF file as input with --target=efi-app-x86_64.

Replace --target by --output-target for building sandbox and x86 EFI
binaries.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Make SANDBOX_xPL depend on !COMPILE_TEST</title>
<updated>2025-10-13T20:54:32Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-10-03T20:39:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=16b0482a7430554f150dfc8134e130d40fc72ba2'/>
<id>urn:sha1:16b0482a7430554f150dfc8134e130d40fc72ba2</id>
<content type='text'>
Given how these options are used in the code, it doesn't make sense to
enable them for COMPILE_TEST. Make them depend on !COMPILE_TEST.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Rework readX/writeX macros to be more like ARM</title>
<updated>2025-10-10T19:58:49Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-10-01T20:30:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b30155c08e95550296668766bfd7d3da27c970fe'/>
<id>urn:sha1:b30155c08e95550296668766bfd7d3da27c970fe</id>
<content type='text'>
The way that the current readX/writeX macros are implemented on sandbox
means that when IO_TRACE is not enabled some code will throw up
incorrect warnings due to how sandbox_{read,write} is implemented. We
instead need to do the "uX __v; __v = sandbox..(..v); __v;" trick that
ARM does.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Add more dummy cache functions</title>
<updated>2025-10-08T22:12:46Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-09-25T20:51:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e5fea3f3b9f41c76287328223b934644fc50cbad'/>
<id>urn:sha1:e5fea3f3b9f41c76287328223b934644fc50cbad</id>
<content type='text'>
In order for cmd/cache.c to link we need to add dummy icache functions
to mirror the dummy dcache functions as well as another dcache flush
function.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: use env_get() for time offset instead of getenv()</title>
<updated>2025-09-24T17:03:24Z</updated>
<author>
<name>Osama Abdelkader</name>
<email>osama.abdelkader@gmail.com</email>
</author>
<published>2025-09-14T15:27:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8558aaa3cf9065ab5ec9a0b241ce567e7393dbc3'/>
<id>urn:sha1:8558aaa3cf9065ab5ec9a0b241ce567e7393dbc3</id>
<content type='text'>
The sandbox time offset is intended to be controlled via the U-Boot
environment, not the host process environment. Update os_get_time_offset()
to use env_get() instead of the libc getenv().

Leave other getenv() uses (e.g. U_BOOT_PERSISTENT_DATA_DIR,
UBOOT_SB_FUZZ_TEST) unchanged, since those refer to host environment
variables needed by sandbox tests.

Signed-off-by: Osama Abdelkader &lt;osama.abdelkader@gmail.com&gt;
</content>
</entry>
<entry>
<title>Revert "sandbox: replace deprecated getenv() with env_get()"</title>
<updated>2025-09-12T22:57:39Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-09-12T22:34:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f0c1704f56dba70da93f30131564af777c29c1bd'/>
<id>urn:sha1:f0c1704f56dba70da93f30131564af777c29c1bd</id>
<content type='text'>
While testing changes, I missed that Gitlab had failed CI with pytest
failures due to this change.

This reverts commit 4c822970d366415e717730606734e815993a70bb.

Cc: Osama Abdelkader &lt;osama.abdelkader@gmail.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: replace deprecated getenv() with env_get()</title>
<updated>2025-09-12T20:35:46Z</updated>
<author>
<name>Osama Abdelkader</name>
<email>osama.abdelkader@gmail.com</email>
</author>
<published>2025-09-02T22:24:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4c822970d366415e717730606734e815993a70bb'/>
<id>urn:sha1:4c822970d366415e717730606734e815993a70bb</id>
<content type='text'>
use env_get() instead of getenv() for consistency.

Signed-off-by: Osama Abdelkader &lt;osama.abdelkader@gmail.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Add generic asm/atomic.h</title>
<updated>2025-08-19T17:25:28Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-08-12T17:59:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=66ff673a8e9f56d2c08a32d12867094c77ea5fd3'/>
<id>urn:sha1:66ff673a8e9f56d2c08a32d12867094c77ea5fd3</id>
<content type='text'>
In order to compile code that uses &lt;asm/atomic.h&gt; on sandbox, we must
provide this header. RISC-V shows us today how to do so with the generic
header implementation, so copy that.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Improve dummy local_irq_save implementation</title>
<updated>2025-08-19T17:25:28Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-08-12T17:59:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=58998fed9e63e8310a96229565d2996ad29d191e'/>
<id>urn:sha1:58998fed9e63e8310a96229565d2996ad29d191e</id>
<content type='text'>
Normally, local_save_flags is used as part of the local_irq_* macros, so
remove that as it's unused. Make local_irq_save do something to the
passed variable so that it won't trigger unused variable warnings later.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Add an additional dummy sync macro</title>
<updated>2025-08-14T16:58:43Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-08-04T21:50:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d68db76b95b106227a40fcf41ebf4dccb2225a0e'/>
<id>urn:sha1:d68db76b95b106227a40fcf41ebf4dccb2225a0e</id>
<content type='text'>
There are some drivers which call a "dmb" for a type of sync. Add that
as well to sandbox.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
