<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common, branch v2025.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/common?h=v2025.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/common?h=v2025.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-03-04T14:22:10Z</updated>
<entry>
<title>Revert "dm: core: Simplify dm_probe_devices()"</title>
<updated>2025-03-04T14:22:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-26T16:26:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cd48a21dbde69053894bfaefa3870f2054c91801'/>
<id>urn:sha1:cd48a21dbde69053894bfaefa3870f2054c91801</id>
<content type='text'>
Unfortunately this change was not safe as some devices are bound before
relocation, but we don't want to probe them.

It causes 'raise: Signal # 8 caught' on jerry.

Move the bootstage timer to after autoprobe in initf_dm() since the
trace test does not tolerate any variance.

This reverts commit 21dd873572a01d74bfdfceb7a30b056f8ccba187.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>miiphy: define mii_devs with LIST_HEAD()</title>
<updated>2025-03-04T14:03:47Z</updated>
<author>
<name>Weijie Gao</name>
<email>hackpascal@gmail.com</email>
</author>
<published>2025-01-25T15:26:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7e0370f37d242f45d2fcfa3ab727d48f88ccace9'/>
<id>urn:sha1:7e0370f37d242f45d2fcfa3ab727d48f88ccace9</id>
<content type='text'>
When enabling net console and console multiplexing, a boot crash was
observed using mtk_eth driver with stdin/stdout set to "serial,nc"
in persistent environment:

&gt; CPU:   MediaTek MT7981
&gt; Model: OpenWrt One
&gt; DRAM:  1 GiB
&gt; Core:  35 devices, 15 uclasses, devicetree: separate
&gt; spi-nand: spi_nand spi_nand@0: Winbond SPI NAND was found.
&gt; spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
&gt; Loading Environment from UBI... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
&gt; mtd: partition "ubi" extends beyond the end of device "spi-nand0" -- size truncated to 0x7f00000
&gt; Read 126976 bytes from volume ubootenv to 000000007f7bf0c0
&gt; Read 126976 bytes from volume ubootenv2 to 000000007f7de100
&gt; OK
&gt; "Synchronous Abort" handler, esr 0x96000004, far 0xeafffffeea000018
&gt; elr: 0000000041e63cd4 lr : 0000000041e1b844 (reloc)
&gt; elr: 000000007ff9ecd4 lr : 000000007ff56844
&gt; x0 : eafffffeea000018 x1 : 000000007fb552e0
&gt; x2 : 00000000000000fe x3 : 0000000000000000

The cause is that "serial,nc" forced the console subsystem to
initialize the ethernet driver before ethernet subsystem
initialization (console_init_r() is called before initr_net()).

During the mtk_eth driver initialization, mdio_register() will be
called, and miiphy_get_dev_by_name() will then be called.

The miiphy_get_dev_by_name() will check the list "mii_devs" to see
if the passed device name exists. However the mii_devs is defined
without initialization:
&gt; static struct list_head mii_devs;
and the actual initialization is done in the following chain:
initr_net -&gt; eth_initialize -&gt; eth_common_init -&gt; miiphy_init
Since initr_net() hasn't be called, iterating over the mii_devs
will access to physical address 0 (mii_devs.next == NULL) and will
cause the crash.

The fix is to define mii_devs using:
&gt; static LIST_HEAD(mii_devs);

As the "current_mii" is defined as a static variable, it will
always be NULL in board_r stage and initializing it will NULL is
unnecessary. So the entire miiphy_init() can be remove.

Signed-off-by: Weijie Gao &lt;hackpascal@gmail.com&gt;
</content>
</entry>
<entry>
<title>vbe: Allow VBE to disable adding loadables to the FDT</title>
<updated>2025-02-03T22:01:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-26T18:43:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f4415f2a375c6dab4b8b20a40d4c7ec15f1e951e'/>
<id>urn:sha1:f4415f2a375c6dab4b8b20a40d4c7ec15f1e951e</id>
<content type='text'>
When VBE operates within VPL it does not want the FDT to be changed.
Provide a way to disable this feature.

Move the FIT_IMAGE_TINY condition out of spl_fit_record_loadable() so
that both conditions are together. This makes the code easier to
understand.

Replace the existing fit_loaded member, which is no-longer used.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>vbe: Provide VPL binman-symbols for the next phase</title>
<updated>2025-02-03T22:01:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-26T18:43:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dab3bbc2b85f93d162cfdcb75685e1ddb0ac9ae2'/>
<id>urn:sha1:dab3bbc2b85f93d162cfdcb75685e1ddb0ac9ae2</id>
<content type='text'>
Add support for moving from TPL-&gt;VPL-&gt;SPL so that the VPL build can fit
properly into the boot flow.

Use #ifdefs to avoid creating unwanted symbols which Binman would then
try (and perhaps fail) to provide.

Add debugging to indicate the next phase.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>vbe: Support providing a linker script</title>
<updated>2025-02-03T22:01:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-26T18:43:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=384f815d08f6257d2e953d05736769ab37f6733e'/>
<id>urn:sha1:384f815d08f6257d2e953d05736769ab37f6733e</id>
<content type='text'>
Allow a linker script to be provided for VPL as it is for other U-Boot
phases.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>spl: Support selecting images based on phase in simple FIT</title>
<updated>2025-02-03T22:01:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-26T18:43:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=873112db9ce68c38984ff25808dde726f8dd5573'/>
<id>urn:sha1:873112db9ce68c38984ff25808dde726f8dd5573</id>
<content type='text'>
At present the simple FIT-loader always loads images, ignoring whether
they are intended for the next phase or not.

VBE packages up several images in the same FIT, some destined for VPL
and some for SPL. Add logic to check the phase before loading the
image. Return -EPERM in that case and handle it gracefully.

Fix a unnecessary re-computation of read_offset while here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>spl: Adjust debugging and xPL symbols</title>
<updated>2025-02-03T22:00:42Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-26T18:43:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b0407ace97d4961c09b7f5784527751a390a7044'/>
<id>urn:sha1:b0407ace97d4961c09b7f5784527751a390a7044</id>
<content type='text'>
The size of some malloc() fields has reduced on 64-bit machines, but
the spl_reloc code was not updated. Fix this to avoid a compiler
warning.

Also update for the new xPL naming.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>lib: Allow crc16 code to be dropped</title>
<updated>2025-02-03T22:00:42Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-26T18:43:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5929c2f39f557940a49d2852f95ade939358b705'/>
<id>urn:sha1:5929c2f39f557940a49d2852f95ade939358b705</id>
<content type='text'>
This code is not necessarily needed in VPL, even if SPL uses it, so
adjust the rules to allow it to be dropped.

Do the same for the hash API.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>bloblist: add api to get blob with size</title>
<updated>2025-01-28T06:59:21Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2025-01-27T14:49:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb894c5da5151e0858e217407c0cdeb989725a4a'/>
<id>urn:sha1:bb894c5da5151e0858e217407c0cdeb989725a4a</id>
<content type='text'>
bloblist_find function only returns the pointer of blob data,
which is fine for those self-describing data like FDT.
But as a common scenario, an interface is needed to retrieve both
the pointer and the size of the blob data.

Add a few ut test cases for the new api.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>log: enable filtering on functions</title>
<updated>2025-01-26T10:06:56Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-01-17T00:09:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb43e3e427769f5dcbb1ffda155198f38fb7375c'/>
<id>urn:sha1:cb43e3e427769f5dcbb1ffda155198f38fb7375c</id>
<content type='text'>
Up to now we could only use log level, category, and file for filtering.
Allow filtering on a list of functions.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
</feed>
