Hi,
I am testing this new unified sunxi DRAM initialization on my Mangopi MQ board
(Allwinner D1s) and can't get it working.
I'm on S. Holland's u-boot branch d1-wip. I created a config for the board and
modified dram_sun20i_d1.c with values Andre suggested here:
"
According to the dump of some
On Wed, 10 Jul 2024 at 22:17, Rasmus Villemoes
wrote:
>
> 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: bcm283
On 7/11/24 09:54, Peter Robinson wrote:
On Wed, 10 Jul 2024 at 22:17, Rasmus Villemoes
wrote:
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
remove
On 7/10/24 23:17, Rasmus Villemoes wrote:
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
d
When -x is used, buildman does not show the list of boards that will be
built, since there are no terms which cause boards to be added, only
terms which cause them to be removed.
Add a special case to fix this.
Signed-off-by: Simon Glass
---
tools/buildman/control.py | 3 ++-
1 file changed, 2
If "assigned-clock-rates" property is included in the
device tree, display driver probe is getting failed, as dp_video_ref
till dp_stc_ref clocks are missing from set rate function, adding
them to fix the probe failure.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/clk/clk_zynqmp.c | 1 +
Hi Marek,
On 2024-07-10 21:26, Belisko Marek wrote:
> 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
Hi Manorit,
On 7/10/24 8:15 AM, Manorit Chawdhry wrote:
Hi Simon,
On 09:36-20231217, Simon Glass wrote:
The existing bootph binding is defined such that properties in a
subnode are also implied in the supernode also, as in this example:
buttons {
/* bootph,pre-ram is implied by btn
Hi Manorit,
On Wed, 10 Jul 2024 at 07:15, Manorit Chawdhry wrote:
>
> Hi Simon,
>
> On 09:36-20231217, Simon Glass wrote:
> > The existing bootph binding is defined such that properties in a
> > subnode are also implied in the supernode also, as in this example:
> >
> >buttons {
> > /*
The NanoPi R6C is a SBC by FriendlyElec based on the Rockchip RK3588s.
It comes with 4GB or 8GB of RAM, a microSD card slot, optional 32GB eMMC
storage, one M.2 M-Key connector, one RTL8211F 1GbE and one RTL8125
2.5GbE Ethernet port, one USB 2.0 Type-A and one USB 3.0 Type-A port, a
HDMI port, a 30
The NanoPi R6S is a SBC by FriendlyElec based on the Rockchip RK3588s.
It comes with 4GB or 8GB of RAM, a microSD card slot, 32GB eMMC storage,
one RTL8211F 1GbE and two RTL8125 2.5GbE Ethernet ports, one USB 2.0
Type-A and one USB 3.0 Type-A port, a HDMI port, a 12-pin GPIO FPC
connector, a fan co
Hi Ulli,
Sorry for the late reply, but thanks for testing!
I have sent a v3 of this patch, please reply to that mail
with your reviewed-by or tested-by tag if you'd like them
to be included.
Am 21.06.2024 um 00:07 schrieb Ulli Kehrle:
Sebastian Kropatsch writes:
The R6S is very similar to th
Hi,
i got a bit further and noticed, that required command is not available in
uboot...this is normally part of the dtc package [1], so why is it missing in
u-boot?
I guess later added or dropped to reduce compile time/make porting easier...
regards Frank
https://github.com/qemu/dtc/blob/maste
please use official Versal Gen 2
On 7/9/24 13:51, Prasad Kummari wrote:
Enabled the default utilization of the NFS command on Versal2
Versal Gen 2
Thanks,
Michal
On 7/11/24 10:29, Venkatesh Yadav Abbarapu wrote:
If "assigned-clock-rates" property is included in the
device tree, display driver probe is getting failed, as dp_video_ref
till dp_stc_ref clocks are missing from set rate function, adding
them to fix the probe failure.
Signed-off-by: Venkates
On 6/18/24 15:20, Michal Simek wrote:
UARTLITE can be used as console but none is testing it that's why removing
it not to pop up there.
Signed-off-by: Michal Simek
---
configs/amd_versal2_virt_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/amd_versal2_virt_defconfi
On 6/17/24 06:18, Prasad Kummari wrote:
Add support for ISSI 128MB flash IS25LP01GG. This part
supports 4byte opcodes. It also supports dual and quad
read.
Signed-off-by: Prasad Kummari
---
drivers/mtd/spi/spi-nor-ids.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi
On 6/14/24 14:48, Venkatesh Yadav Abbarapu wrote:
This enables boards to choose where to/from the environment
should be saved/loaded either QSPI or OSPI based on the bootmode.
Venkatesh Yadav Abbarapu (2):
env_spi: support overriding spi dev from board code
xilinx: versal-net: Handle sp
On 6/19/24 09:17, Venkatesh Yadav Abbarapu wrote:
Adding the basic mini u-boot configuration changes for qspi,
ospi and emmc.
Branch:next
Venkatesh Yadav Abbarapu (4):
arm64: versal2: Add support for mini configuration
arm64: Add versal2 mini qspi support
arm64: Add versal2 mini osp
Hello Alexey,
On Mon, Jul 8, 2024 at 12:08 PM Alexey Romanov
wrote:
>
> Hello, ping.
I ran the CI tests, but they failed once again.
The "Introduce mtdblock device" series fails the "build all 32bit ARM
platforms" test and
raises "exceeds file size limit" errors like the following:
arm: + mx6s
0600)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-dfu.git
tags/u-boot-dfu-20240711
for you to fetch changes up to b091d3872833a4b8d088ee41348a2d4ff48067cc:
include/fastboot.h: add missing types.h include (2024-07-09 09:1
On Thu 11 Jul 2024 at 15:11, Mattijs Korpershoek
wrote:
> 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
Hi,
On Mon May 13, 2024 at 10:56 PM CEST, Michael Walle wrote:
> Add network support for the V3s which only supports the internal
> PHY. Adding support was straight forward. The emac driver just needs
> the compatible string and some platform data and the clock driver
> needs to know the bits for
On Tue May 14, 2024 at 1:43 AM CEST, Michael Walle wrote:
> The V3s is identical regarding register layout, clocks and resets to
> the sun6i variants. Therefore, we can just add the MACH_SUN8I_V3S to
> the sun6i compatible ones.
>
> SPI boot was tested on a custom board with a Gigadevice GD25Q64 8M
Le 10/07/2024 à 10:40, Mattijs Korpershoek a écrit :
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:
On Thu, Jul 11, 2024 at 09:10:04AM +0100, Simon Glass wrote:
> When -x is used, buildman does not show the list of boards that will be
> built, since there are no terms which cause boards to be added, only
> terms which cause them to be removed.
>
> Add a special case to fix this.
>
> Signed-off
Reviewed-by: Marek Behún
Reviewed-by: Marek Behún
Reviewed-by: Marek Behún
Reviewed-by: Marek Behún
Reviewed-by: Marek Behún
Reviewed-by: Marek Behún
On 7/8/24 11:17, Venkatesh Yadav Abbarapu wrote:
Enable setting speed mode using mmc dev commands.
The speed mode is provided as the last argument in these commands
(ex: mmc dev 0 0 10) and is indicated using the index from enum
bus_mode in include/mmc.h. A speed mode can be set if it is enabl
On Thu, 11 Jul 2024 15:40:47 +0200
"Michael Walle" wrote:
> On Tue May 14, 2024 at 1:43 AM CEST, Michael Walle wrote:
> > The V3s is identical regarding register layout, clocks and resets to
> > the sun6i variants. Therefore, we can just add the MACH_SUN8I_V3S to
> > the sun6i compatible ones.
>
On Tue, Jul 02, 2024 at 09:42:23PM +0200, Richard Weinberger wrote:
> The zalloc() function suffers from two problems.
> 1. If memalign() fails it will return NULL and memset() will use a NULL
> pointer.
> 2. memalign() itself seems to crash when more than 2^32 bytes are requested.
>
> So, check
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 via SPMI, the specific
regions on the PMICs for controlling the regulators
Import this function from Linux as of 6.10-rc6
Reviewed-by: Tom Rini
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
include/linux/bitmap.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 0a8503af9f14..40ca2212cb40 100644
Replace unused/unsupported Linux headers with appropriate U-Boot
alternatives.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/cmd-db.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/soc/qcom/cmd-db.c b/drivers/soc/qcom/cmd-db.
Due to our simpler rpmh-rsc driver and lack of debugfs, we don't need
quite a few cmd-db functions, just drop them.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/cmd-db.c | 144 --
include/soc/qcom/cmd-db.h | 15 -
2 fil
Import RPMh and cmd-db framework from Linux 6.10-rc6.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/cmd-db.c| 393 +
drivers/soc/qcom/rpmh-internal.h | 148 +
drivers/soc/qcom/rpmh-rsc.c | 1162 ++
driv
Using the driver model for cmd-db is fine, but it's unnecessary
complexity which we can just avoid in U-Boot. Instead let's just have a
function to initialize it and call said function when initializing rpmh.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/cmd-db.c | 74
Keep the header pointer in the .data section so we don't initialize it
again after relocation, adjust cmd_db_get_header() to work with the
U-Boot API, and skip validating the header since all cmd-db users are
children of the rpmh-rsc and those children will only probe if cmd-db
initializes successf
Remove unsupported / unused Linux headers and add those needed for
U-Boot.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/rpmh-rsc.c | 35 ---
1 file changed, 12 insertions(+), 23 deletions(-)
diff --git a/drivers/soc/qcom/rpmh-rsc.c b/d
Since U-Boot is single threaded, we can avoid most of the complexity
that comes with handling more than one in-flight TCS. Drop all the rpmh
code associated with multi-threading as we'll instead wait for a
response on each TCS.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/
Rework the rpmh-rsc initialization to use U-Boot's driver model and
initialize cmd-db.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/rpmh-internal.h | 14 ++--
drivers/soc/qcom/rpmh-rsc.c | 143 +--
2 files changed, 50 insertio
Minor adjustments to fix building with U-Boot and work correctly as a
synchronous driver without interrupts. RPMh is fast enough that we can
get away with just firing off requests and assuming they complete.
U-Boot behaviour changes are annotated with a "U-Boot:" comment.
Acked-by: Sumit Garg
Si
Drop unused/unsupported Linux headers and add dm/device.h for U-Boot.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/rpmh.c | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/drivers/soc/qcom/rpmh.c b/drivers/soc/qcom/rpmh.c
index 8903ed95
Add Kconfig / Makefiles to build rpmh and cmd-db drivers.
Signed-off-by: Caleb Connolly
---
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/qcom/Kconfig | 27 +++
drivers/soc/qcom/Makefile | 4
4 files changed, 33 insertions(+)
diff
A lot of the features in here are only relevant when running
multi-threaded with interrupts. Drop everything except what we need to
run single-threaded with a single TCS (which is all the rpmh-rsc
framework in U-Boot supports).
Keep rpmh_write_async() for simplicity and make it wrap the regular
rp
Remove unused/unsupported Linux headers and add necessary U-Boot ones.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulator.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/drivers/power/regulator/qcom-rpmh-regul
Import the driver from Linux 6.10-rc6.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulator.c | 1709 +
1 file changed, 1709 insertions(+)
diff --git a/drivers/power/regulator/qcom-rpmh-regulator.c
b/drivers/power/regulator
Import struct linear_range() and builder macro from Linux regulator
core.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulator.c | 37 +++
1 file changed, 37 insertions(+)
diff --git a/drivers/power/regulator/qcom-rpmh-regul
Fix build errors, add some debug logging.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/soc/qcom/rpmh.c | 53 +++--
include/soc/qcom/rpmh.h | 4 ++--
2 files changed, 22 insertions(+), 35 deletions(-)
diff --git a/drivers/soc/qcom/r
Switch to our linear_range helpers and remove unused/unsupported
linux-isms.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulator.c | 28 +--
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/drivers/power/regul
Port over the regulator ops to U-Boot's regulator API. Add back the
pmic5 mode map using U-Boot dm_regulator_mode API and adjust the
pmic5_pldo and pmic5_pldo_lv definitions. No functional changes.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulato
Initially just include the few regulators needed for the RB5 board.
Others can be added back as-needed.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulator.c | 1281 -
1 file changed, 1281 deletions(-)
diff --git a/drivers/
Refactor initialization to use U-Boot's driver model and API.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/qcom-rpmh-regulator.c | 136 +++---
1 file changed, 102 insertions(+), 34 deletions(-)
diff --git a/drivers/power/regulator/qcom-rpmh
Add Kconfig and Makefile entries for this driver now that it can build
for U-Boot.
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/Kconfig | 8
drivers/power/regulator/Makefile | 1 +
2 files changed, 9 insertions(+)
diff --git a/drivers/power/regulator/Kconfig b/drivers/pow
Enable RPMh, cmd-db, and RPMh regulators. Additionally enable
CMD_REGULATOR for debugging.
Acked-by: Sumit Garg
Signed-off-by: Caleb Connolly
---
configs/qcom_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index ac5ffe772ade..1
Enabled the default utilization of the NFS command on Versal Gen 2
platform to facilitate booting images through the network using
the NFS protocol
Signed-off-by: Prasad Kummari
---
Changes in v2:
- corrected commit description.
configs/amd_versal2_virt_defconfig | 1 +
1 file changed, 1 insert
Ping. This regression still exists and is now in stable release.
Should we revert this change or how must it be fixed?
-E
On Sat, Apr 20, 2024 at 3:56 AM E Shattow wrote:
>
> On Fri, Apr 19, 2024 at 5:51 PM Bo Gan wrote:
> >
> ...snip...
> >
> > If without the change (reverted), can you read/wr
Due to the lazy probing, the gadget driver might not be probed when the
u-boot cli is active. In this case the "ums" command won't work, for
example. If enabled, probe the USB gadget during board_init().
Signed-off-by: Michael Walle
---
board/sunxi/board.c | 4
1 file changed, 4 insertions(
Hi Tom,
I'm trying to move some envs from a board header file to the default
env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are
appended to the envs in CFG_EXTRA_ENV_SETTINGS. As you mentioned here
before:
https://lore.kernel.org/all/20220810170439.GJ1146598@bill-the-cat/
But it loo
Martyn Welch writes:
> On Thu, 2024-05-23 at 15:08 -0500, Jon Humphreys wrote:
>> Martyn Welch writes:
>>
>> > From: Sjoerd Simons
>> >
>> > Provide config fragments to enable USB host as well as USB gadget
>> > and DFU
>> > support for a53 and r5. This relevant fragment is included into the
A valid memory location to stash bootstage information at will be
architecture dependent. Move the existing defaults to the main Kconfig
file for this option and set 0x0 as the default only for sandbox.
Signed-off-by: Tom Rini
---
Changes in v2:
- Seeing that BOOTSTAGE_STASH_ADDR did not depend o
On Thu, 27 Jun 2024 14:29:04 +0300, Mikhail Kshevetskiy wrote:
> This allows spliting partition list to several lines in environment file
>
> ex:
>
> gpt_partition_list=
> name=boot1,size=5MiB,start=0x10;
> name=boot2,size=5MiB;
> name=rootfs1,size=70MiB
On Fri, 28 Jun 2024 11:34:11 +0300, Maxim Moskalets wrote:
> In some FDTs, there is not enough free memory to add nodes, so this
> operation fails.
>
>
Applied to u-boot/master, thanks!
--
Tom
On Sat, 29 Jun 2024 01:17:04 +0200, Javier Martinez Canillas wrote:
> When building with the igep00x0_defconfig, the following warning is shown:
>
> $ make -j $(nproc)
> ...
> LD spl/u-boot-spl
> OBJCOPY spl/u-boot-spl-nodtb.bin
> SYM spl/u-boot-spl.sym
> CAT spl/
On Tue, 02 Jul 2024 11:22:40 +0200, Dominik Haller wrote:
> Add and use the correct number of ddr phy registers to update the
> corresponding settings.
>
>
Applied to u-boot/master, thanks!
--
Tom
On Tue, 02 Jul 2024 21:54:29 +0200, Emanuele Ghidoli wrote:
> The ARASAN MMC controller on Keystone 3 class of devices need the SDCD
> line to be connected for proper functioning.
>
> In cases where this can't be connected, add a quirk to force the
> controller into test mode and set the TESTCD b
On Wed, 03 Jul 2024 15:19:09 -0600, Tom Rini wrote:
> The build option to support images of type 'IMAGE_FORMAT_LEGACY' is
> CONFIG_LEGACY_IMAGE_FORMAT so update the pytest to check for the correct
> option.
>
>
Applied to u-boot/master, thanks!
--
Tom
Jon Humphreys writes:
> Martyn Welch writes:
>
>> On Thu, 2024-05-23 at 15:08 -0500, Jon Humphreys wrote:
>>> Martyn Welch writes:
>>>
>>> > From: Sjoerd Simons
>>> >
>>> > Provide config fragments to enable USB host as well as USB gadget
>>> > and DFU
>>> > support for a53 and r5. This rele
On Thu, Jul 11, 2024 at 01:31:34PM -0700, Tony Dinh wrote:
> Hi Tom,
>
> I'm trying to move some envs from a board header file to the default
> env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are
> appended to the envs in CFG_EXTRA_ENV_SETTINGS. As you mentioned here
> before:
>
> htt
Hi Tom,
On Thu, Jul 11, 2024 at 3:46 PM Tom Rini wrote:
>
> On Thu, Jul 11, 2024 at 01:31:34PM -0700, Tony Dinh wrote:
> > Hi Tom,
> >
> > I'm trying to move some envs from a board header file to the default
> > env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are
> > appended to the e
Hi,
On Sunday, 1 October 2023 21:17:21 CEST Jonas Karlman wrote:
> Enable DWC_ETH_QOS_ROCKCHIP and related PHY driver on RK356x boards that
> have an enabled gmac node.
>
> Signed-off-by: Jonas Karlman
> Reviewed-by: Kever Yang
> ---
> ...
> configs/odroid-m1-rk3568_defconfig| 3 +++
>
v2 changes:
* Drop sw_blink_state structure, move its necessary fields to
led_uc_plat structure.
* Add cyclic_info pointer to led_uc_plat structure. This
simplify code a lot.
* Remove cyclic function search logic. Not needed anymore.
* Fix blinking period. It was twice large.
* Other cle
From: Michael Polyntsov
The standard property
linux,default-trigger = "pattern";
used to get an effect. No blinking parameters can be set yet.
Signed-off-by: Michael Polyntsov
Signed-off-by: Mikhail Kshevetskiy
---
drivers/led/led-uclass.c | 33 +
1 file
From: Michael Polyntsov
If hardware (or driver) doesn't support leds blinking, it's
now possible to use software implementation of blinking instead.
This relies on cyclic functions.
Signed-off-by: Michael Polyntsov
Signed-off-by: Mikhail Kshevetskiy
---
drivers/led/Kconfig| 14 +
78 matches
Mail list logo