HI Fabio
On Wed, Jul 10, 2024 at 3:43 PM Fabio Estevam wrote:
>
> On Wed, Jul 10, 2024 at 10:39 AM Michael Nazzareno Trimarchi
> wrote:
>
> > clk dump
> >
> > It's how uboot is registering the clk in dts. My idea now was not to
> > change it to not impact other architectures.
> > I have a lot of
On Wed, Jul 10, 2024 at 12:23 AM Leo Yan wrote:
>
> As described in the document SMC Calling Convention (ARM DEN 0028 1.5 F),
> section 7 "Arm Architecture Calls", the SMC call SMCCC_ARCH_FEATURES is
> not expected to support the function ID ARM_SMCCC_TRNG_VERSION. Trusted
> Firmware-A follows up
On Tue, Jul 9, 2024 at 9:00 PM Sam Protsenko wrote:
>
> On Thu, Jun 27, 2024 at 6:29 AM Mikhail Kshevetskiy
> wrote:
> >
> > This allows spliting partition list to several lines in environment file
> >
> > ex:
> >
> > gpt_partition_list=
> > name=boot1,size=5MiB,start
On Thu, May 16, 2024 at 12:48:36AM +0100, Andre Przywara wrote:
> We now have a generic AXP SPL driver implementation, that already covers
> the DC/DC converters of the AXP717 PMIC.
>
> Remove the old, dedicated driver and switch to the new generic driver.
> This should not introduce any change in
buf was used as destination and as parameter to sprintf
which triggers an undefined behaviour.
This commit removes this usage of sprintf and uses strcat
to append strings to buf variable.
Signed-off-by: Francois Berder
---
board/freescale/t208xqds/eth_t208xqds.c | 40 -
1
Hello,
I try with slimbootloader and u-boot payload to read on mmc, i have this issue:
=> mmc info
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
CMD_SEND:0
ARG
Hi Phil & Stefan,
On Wed, Jul 10, 2024 at 4:02 AM Phil Sutter wrote:
>
> On Wed, Jul 10, 2024 at 08:26:12AM +0200, Stefan Roese wrote:
> > On 7/8/24 06:39, Tony Dinh wrote:
> > > - Switch to standard boot (in include/configs/ds414.h and
> > > configs/ds414_defconfig)
> > > - Implement board_late_
On Sat, 06 Jul 2024 00:58:21 +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki
>
> U-Boot environment variables can be stored in various data sources. MTD
> is just one of available options. Refactor DT binding into a layout so
> it can be used with UBI volumes and other NVMEM devices.
>
> Lin
This was added in commit 45a6d231b2f (bcm2835_wdt: support for the
BCM2835/2836 watchdog), which did do 'select HW_WATCHDOG'. That
incarnation of the watchdog driver later got removed in
c7adc0b5f98 (watchdog: bcm2835_wdt: Remove unused BCM283x watchdog
driver and its references), but this block wa
This empty stub was originally added as one branch of an #ifdef in
commit 45a6d231b2f (bcm2835_wdt: support for the BCM2835/2836
watchdog). That incarnation of the rpi watchdog driver was later
removed in c7adc0b5f98 (watchdog: bcm2835_wdt: Remove unused BCM283x
watchdog driver and its references),
Hi,
I'm playing with radxa cme and mainline u-boot 2024.01 (present in
scarthgap yocto).
I realized that mmc write fails all the time like:
=> md.l $loadaddr
00c00800: ff7ff7eb fffd fff5 9fff
=> mmc write $loadaddr 1fc0 10
MMC write: dev # 0, block # 8128, count 16 .
Hi Levi,
On Wed, 10 Jul 2024 at 09:53, Levi Yun wrote:
> According to recently firmware handsoff spec [1]'s "Register usage at
> handoff
> boundary", Transfer List's signature value was changed from 0x40_b10b
> (3 bytes) to 4a0f_b10b (4 bytes).
>
> As updating of TL's signature, register value o
On 10/07/2024 13:33, Sumit Garg wrote:
Hi Caleb,
On Tue, 9 Jul 2024 at 15:04, Caleb Connolly wrote:
This series introduces support for the RPMh (Resource Power Manager
(hardened)) co-processor and associated regulator driver found on most
modern Qualcomm platforms (since ~2017).
Even thou
We already build arm64 images with frame pointers. Let's finally make
use of them in tandem with the new symbol lookup support by unwinding
the stack when an exception occurs, producing a backtrace similar to
those emitted by Linux.
In addition, introduce a dedicated unwind_stack() function which
This is mostly a port of the Xen hypervisor implementation. The U-Boot
binary is built as normal, then its symbol table is fed into
tools/symbols to generate an optimised lookup table. U-Boot is rebuilt
with the symbol table and handling code in lib/symbols.c.
Based on code from Xen at
c20850540
There was some very old code floating around for decoding symbols, it's
incomplete and is never built. Remove it so we can add a new
implementation.
Signed-off-by: Caleb Connolly
---
Makefile| 11 ---
common/Makefile | 1 -
common/kallsyms.c | 43 --
+++
tools/Makefile| 3 +
tools/symbols.c | 646 ++
12 files changed, 896 insertions(+), 63 deletions(-)
---
change-id: 20240710-arm64-backtrace-2926f764dbdc
base-commit: 13f9c5668411aa18ef64846d5bc86e9e6be52082
// Caleb (they/them)
Hi,
i try to get overlay-merging working in uboot (for OF_UPSTREAM conversion), but
failing on missing Makefile knowledge
i have the state now, that upstream dtso get compiled to dtbo files (that
needed further changes).
now i added this from linux-tree:
#merge CONFIG_DEFAULT_DEVICE_TREE + OF
According to recently firmware handsoff spec [1]'s "Register usage at handoff
boundary", Transfer List's signature value was changed from 0x40_b10b
(3 bytes) to 4a0f_b10b (4 bytes).
As updating of TL's signature, register value of x1/r1 should be:
In aarch32's r1 value should be
R1[23:0]: set
HI. Raymond.
> Please remove the "FIXME" on top of your changes.
> It was a reminder for the bug of the FW handoff spec.
> We don't need it anymore once your patch is merged.
> BTW, you might need to resend the patch with a new
> subject "[PATCH v2 ]" instead of following the original
> topic
Use this new data structure in the utility function.
Signed-off-by: Simon Glass
---
Changes in v3:
- Update for alist_add() API change
lib/strto.c | 35 +++
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/lib/strto.c b/lib/strto.c
index f83ac67c6
In various places it is useful to have an array of structures, but allow
it to grow. In some cases we work around it by setting maximum number of
entries, using a Kconfig option. In other places we use a linked list,
which does not provide for random access and can complicate the code.
Introduce a
The current implementation can return an extra result at the end when
the string ends with a space. Fix this by adding a special case.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/strto.c | 4 +++-
test/str_ut.c | 4 +---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --g
This data structure provides a list of pointers / array of structures.
I was planning to use it for the lmb restructure, to allow it to
support any number of entries, but then I gave up on it.
There are quite a few places in U-Boot where such a list would be
useful, since it supports growing the a
At present in tests it is possible to cause an out-of-memory condition
with malloc() but not realloc(). Add support to realloc() too, so code
which uses that function can be tested.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/dlmalloc.c | 4
1 file changed, 4 insertions(+)
Use this new data structure in the utility function.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/strto.c | 35 +++
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/lib/strto.c b/lib/strto.c
index f83ac67c666..f059408755a 100644
--- a/
In various places it is useful to have an array of structures, but allow
it to grow. In some cases we work around it by setting maximum number of
entries, using a Kconfig option. In other places we use a linked list,
which does not provide for random access and can complicate the code.
Introduce a
The current implementation can return an extra result at the end when
the string ends with a space. Fix this by adding a special case.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/strto.c | 4 +++-
test/str_ut.c | 4 +---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --g
At present in tests it is possible to cause an out-of-memory condition
with malloc() but not realloc(). Add support to realloc() too, so code
which uses that function can be tested.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/dlmalloc.c | 4
1 file changed, 4 insertions(+)
This data structure provides a list of pointers / array of structures.
I was planning to use it for the lmb restructure, to allow it to
support any number of entries, but then I gave up on it.
There are quite a few places in U-Boot where such a list would be
useful, since it supports growing the a
Hi Levi,
On Tue, 9 Jul 2024 at 16:21, Levi Yun wrote:
> According to recently firmware handsoff spec [1]'s "Register usage at
> handoff
> boundary", Transfer List's signature value was changed from 0x40_b10b
> (3 bytes) to 4a0f_b10b (4 bytes).
>
> As updating of TL's signature, register value of
On Wed, Jul 10, 2024 at 10:39 AM Michael Nazzareno Trimarchi
wrote:
> clk dump
>
> It's how uboot is registering the clk in dts. My idea now was not to
> change it to not impact other architectures.
> I have a lot of changes but I don't want to address regression and fix
> and test before send mo
Hi,
i'm working on OF_UPSTREAM for mediatek boards and noticed missing
syscon-fallback on some (mt7988) devicetree nodes.
i know that u-boot uses this fallback to get the regmap shared across drivers,
but only initializing once with the syscon_uclass.
i tried adding the syscon-fallback to linu
Hi
On Wed, Jul 10, 2024 at 3:34 PM Fabio Estevam wrote:
>
> Hi Michael,
>
> On Sun, Jul 7, 2024 at 5:20 AM Michael Trimarchi
> wrote:
>
> > -static const char *imx8mn_ecspi1_sels[] = {"osc_24m", "sys_pll2_200m",
> > "sys_pll1_40m",
> > +static const char *imx8mn_ecspi1_sels[] = {"clock-osc-24m"
Hi Michael,
On Sun, Jul 7, 2024 at 5:20 AM Michael Trimarchi
wrote:
> -static const char *imx8mn_ecspi1_sels[] = {"osc_24m", "sys_pll2_200m",
> "sys_pll1_40m",
> +static const char *imx8mn_ecspi1_sels[] = {"clock-osc-24m", "sys_pll2_200m",
> "sys_pll1_40m",
The kernel uses osc_24m. Why does U
Hi Caleb,
On Tue, 9 Jul 2024 at 15:04, Caleb Connolly wrote:
>
> This series introduces support for the RPMh (Resource Power Manager
> (hardened)) co-processor and associated regulator driver found on most
> modern Qualcomm platforms (since ~2017).
>
> Even though most regulators are controlled v
On Wed, Jul 10, 2024 at 08:26:12AM +0200, Stefan Roese wrote:
> On 7/8/24 06:39, Tony Dinh wrote:
> > - Switch to standard boot (in include/configs/ds414.h and
> > configs/ds414_defconfig)
> > - Implement board_late_init() to ensure successful enumeration
> > of USB3 devices
> > - Remove unnecessar
Android boot flow is a bit different than a regular Linux distro.
Android relies on multiple partitions in order to boot.
A typical boot flow would be:
1. Parse the Bootloader Control Block (BCB, misc partition)
2. If BCB requested bootonce-bootloader, start fastboot and wait.
3. If BCB requested
Add a unit test for testing the Android bootmethod.
This requires another mmc image (mmc7) to contain the following partitions:
- misc: contains the Bootloader Control Block (BCB)
- boot_a: contains a fake generic kernel image
- vendor_boot_a: contains a fake vendor_boot image
Also add BOOTMETH_A
The only way to configure the load addresses for both bootimg and
vendor_bootimg is by using the "abootimg" command.
If we want to use the C API, there is no equivalent.
Add set_abootimg_addr() and set_avendor_bootimg_addr() so that we can
specify the load address from C.
This can be useful for i
Some bootflows might be able to only boot from MMC devices.
Add a helper function these bootflows can use.
Reviewed-by: Igor Opaniuk
Reviewed-by: Julien Masson
Reviewed-by: Guillaume La Roque
Tested-by: Guillaume La Roque
Signed-off-by: Mattijs Korpershoek
---
boot/bootflow.c| 12 ++
When calling android_image_get_dtb_by_index() using boot image v3+,
we should also pass the vendor_boot ramdisk address.
Use get_avendor_bootimg_addr() to do so.
Notes: on boot image v2, this is harmless since get_avendor_bootimg_addr()
returns -1.
for legacy implementations that do
Android boot flow is a bit different than a regular Linux distro.
Android relies on multiple partitions in order to boot.
A typical boot flow would be:
1. Parse the Bootloader Control Block (BCB, misc partition)
2. If BCB requested bootonce-bootloader, start fastboot and wait.
3. If BCB requested
Hello,
Am Tue, Jul 09, 2024 at 10:28:12PM + schrieb Zixun Li:
> When ECC parameters are not specified in DT, first try ONFI ECC parameters
> before fallback to maximum strength. To be inline with kernel driver behavior.
>
> Signed-off-by: Zixun LI
> ---
> drivers/mtd/nand/raw/atmel/nand-con
Distinguish more clearly between source files meant for producing .dtb
from those meant for producing .dtbo.
Note that in the linux tree, all device tree overlay sources have been
renamed to .dtso, and the .dts->.dtbo rule is gone since v6.5 (commit
81d362732bac). So this is also a step towards st
[equivalent to linux commit 81d362732bac]
As a follow up to the series allowing DTB overlays to built from .dtso
files. Now that all overlays have been renamed, remove the ability to
build from overlays from .dts files to prevent any files with the old
name from accidental being added.
Signed-off
Distinguish more clearly between source files meant for producing .dtb
from those meant for producing .dtbo.
In this case, the files are really meant to be compiled to .dtbo ->
.dtbo.S -> .dtbo.o that get embedded in the image, which means that
the begin/end symbols generated by the makefile rule
[linux commit 941214a512d8, modified for U-Boot by removing the
include of vmlinux.lds.h and replacing STRUCT_ALIGNMENT by 16.]
DTB files can be built into the kernel by converting them to assembly
files then assembling them into object files. We extend this here
for DTB overlays with the .dtso ex
Distinguish more clearly between source files meant for producing .dtb
from those meant for producing .dtbo. No functional change, as we
currently have rules for producing a foo.dtbo from either foo.dts or
foo.dtso.
Note that in the linux tree, all device tree overlay sources have been
renamed to
This is a followup to the patches that landed in 2024.01 and nearly
made sure that source files for producing .dtbo files use the .dtso
extension. In the same release, a few new .dts files snuck in, and
there was also some test code involving .dtbo -> .dtbo.S -> .dtbo.o I
didn't really know how to
50 matches
Mail list logo