The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expect 64-bit data from the device tree parser,
so use a reg variable with phys_addr_t size in the
rk_pwm.c file.
Signed-off-by: Johan Jonker
---
Changed V6:
new patch
---
drivers/pwm/rk_pwm.c | 2 +-
1 file changed, 1 i
The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expect 64-bit data from the device tree parser,
so use a reg variable with phys_addr_t size in the
dw-apb-timer.c file.
Signed-off-by: Johan Jonker
---
Changed V6:
remove cast
change title
---
drivers/timer/dw-apb-time
The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expext 64-bit data from the device tree parser,
so use dev_read_addr_ptr in the rockchip-saradc.c file.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
Changed V6:
use -EINVAL on return
drop cast
---
drivers/a
Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size,
1KB write size and 40 bit ecc support
Signed-off-by: Paweł Jarosz
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
Acked-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_ids.c | 3 +++
1 file changed, 3 insertions(+)
The MTD framework reserves 1 or 2 bytes for the bad block marker
depending on the bus size. The rockchip_nfc driver currently only
supports a 8 bit bus, but reserves standard 2 bytes for the BBM.
The first free OOB byte is therefore OOB2 at offset 2.
Page address(PA) bytes are moved to the last 4 p
Add flash_node to the rockchip_nfc driver chip structure in order
to find the partitions in the add_mtd_partitions_of() function.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
Reviewed-by: Michael Trimarchi
---
drivers/mtd/nand/raw/rockchip_nfc.c | 1 +
1 file changed, 1 insertion(+)
di
The MTD framework in U-boot is not identical for drivers ported
from Linux. The rockchip_nfc driver was ported with OOB ops functions
while the framework expects a layout structure per chip.
Fix by adding a structure with OOB data and remove unused functions.
Signed-off-by: Johan Jonker
Reviewed-
The compatible string for rk3308 has as fallback string
"rockchip,rv1108-nfc". As there is no logic in probe priority between
the SoC orientated string and the fall back, so remove the compatible
string "rockchip,rk3308-nfc" from the driver.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
Re
The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expext 64-bit data from the device tree parser,
so use dev_read_addr_ptr in the rockchip_nfc.c file.
Signed-off-by: Johan Jonker
Reviewed-by: Michael Trimarchi
---
Changed V6:
use -EINVAL on return
---
drivers/mtd/nand/
This serie contains fixes for the Rockchip NFC driver,
which was ported to U-boot and merged with little review
and testing it seems.
Part 1 aims at passing the probe function without errors.
Extended with tree wide function cleanup needed for 64bit DT parsing.
Fixed are:
64bit FDT parsing
com
On 3/10/23 17:28, Marek Vasut wrote:
On 3/10/23 16:44, Tom Rini wrote:
On Fri, Mar 10, 2023 at 01:22:15PM +0900, Jaehoon Chung wrote:
Dear Tom,
Please pull u-boot-mmc master into u-boot master branch.
If there is any problem, let me know, plz.
At this point in the cycle I have to ask, are t
On Fri, Mar 10, 2023 at 02:43:33PM +0100, Andreas Aegerter wrote:
> This config is based on colibri_imx6_defconfig and enables additionally
> the watchdog. The intend of the new config is that distros can use this
> in the future and the behaviour will not be changed for current users.
IMO in gener
On 3/10/23 16:44, Tom Rini wrote:
On Fri, Mar 10, 2023 at 01:22:15PM +0900, Jaehoon Chung wrote:
Dear Tom,
Please pull u-boot-mmc master into u-boot master branch.
If there is any problem, let me know, plz.
At this point in the cycle I have to ask, are these all fixes of
specific issues? If
Hi Marek,
On Thu, 9 Mar 2023 at 19:34, Marek Vasut wrote:
>
> On 3/9/23 23:09, Simon Glass wrote:
> > Hi Marek,
> >
> > On Wed, 8 Mar 2023 at 15:16, Marek Vasut wrote:
> >>
> >> On 3/8/23 23:23, Simon Glass wrote:
> >>> Hi Marek,
> >>>
> >>> On Wed, 1 Mar 2023 at 19:09, Marek Vasut
> >>> wrote:
On Mon, 27 Feb 2023 at 12:55, Marek Vasut
wrote:
>
> In case character 0x20 (space) is used as line separator,
> character 0x9 (tab) is treated end of line. Commands which
> output a lot of tabs, i.e. various tree printing commands
> like 'fdt print' then end up generating a lot of newlines
> in t
Hi Marek,
On Mon, 6 Mar 2023 at 12:07, Marek Vasut wrote:
>
> On 3/6/23 18:53, Simon Glass wrote:
> > Hi Marek,
> >
> > On Wed, 1 Mar 2023 at 20:04, Marek Vasut
> > wrote:
> >>
> >> The 'fdt get addr' is always assumed to be hex value, drop the prefix.
> >> Since this might break existing users
Add 'fdt print' and 'fdt list' test which works as follows:
- Create fuller FDT, map it to sysmem
- Print the entire FDT, parts of the FDT and select properties
- Compare output from the print or list
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from comm
Add 'fdt header' test which works as follows:
- Create basic FDT, map it to sysmem
- Print the FDT header
- Get all members of the FDT header into variable and
verify the variables contain correct data
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from c
Add 'fdt rsvmem' test which works as follows:
- Create custom FDT with single reserved memory (rsvmem) entry, map it to sysmem
- Add new rsvmem entry
- Delete existing older rsvmem entry
- Add new rsvmem entry again
- Always print the rsvmem list and validate it
The test case can be triggered usin
Add 'fdt chosen' test which works as follows:
- Create basic DT, map it to sysmem
- Print /chosen node, verify it is nonexistent
- Create chosen node
- Print /chosen node, verify it contains only version
- Create /chosen node with initrd entries
- Print /chosen node, verify it contains version and
Add 'fdt chosen' test which works as follows:
- Create basic DT, map it to sysmem
- Apply DTO which adds single property via fragment (without address spec)
- Apply DTO which adds more properties (string, u32, empty) and a subnode,
with phandle via frament@0 and thus tests /__symbols__ node
- App
Wrap the assert macros in ({ ... }) so they can be safely used both as
right side argument as well as in conditionals without curly brackets
around them. In the process, find a bunch of missing semicolons, fix
them.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
Drop no longer needed { } around ut_assert*() functions in FDT test.
No functional change.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 14 ++
1 file changed, 6 insertio
On Fri, Mar 10, 2023 at 01:22:15PM +0900, Jaehoon Chung wrote:
> Dear Tom,
>
>
> Please pull u-boot-mmc master into u-boot master branch.
> If there is any problem, let me know, plz.
At this point in the cycle I have to ask, are these all fixes of
specific issues? If not, I'd rather take this to
Add clocks support for the PWM controllers. This is ported from
Linux v6.3.0-rc1
Signed-off-by: Tommaso Merciai
---
Changes since v1:
- Use static const char instead of static const char * const on sels
drivers/clk/imx/clk-imx8mp.c | 24
1 file changed, 24 insertions(+
Add clocks support for the PWM controllers. This is ported from
Linux v6.3.0-rc1
Signed-off-by: Tommaso Merciai
---
drivers/clk/imx/clk-imx8mp.c | 24
1 file changed, 24 insertions(+)
diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index ffbc1d1
Hi Marek,
On Thu, 9 Mar 2023 at 19:34, Marek Vasut wrote:
>
> On 3/9/23 23:09, Simon Glass wrote:
> > Hi Marek,
> >
> > On Wed, 8 Mar 2023 at 15:16, Marek Vasut wrote:
> >>
> >> On 3/8/23 23:23, Simon Glass wrote:
> >>> Hi Marek,
> >>>
> >>> On Wed, 1 Mar 2023 at 19:09, Marek Vasut
> >>> wrote:
Add MM communication support using FF-A transport
This feature allows accessing MM partitions services through
EFI MM communication protocol. MM partitions such as StandAlonneMM
or smm-gateway secure partitions which reside in secure world.
An MM shared buffer and a door bell event are used to ex
turn on EFI MM communication
On corstone1000 platform MM communication between u-boot
and the secure world (Optee) is done using the FF-A bus.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9: update
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9: align the test with FF-A discovery through DM
v4: drop use of helper APIs
v1: introduce armffa command sandbo
Add the core driver implementing Arm Firmware Framework for Armv8-A v1.0
The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1]
describes interfaces (ABIs) that standardize communication
between the Secure World and Normal World leveraging TrustZone
technology.
This driver uses 64-bi
Add functional test cases for the FF-A core driver
These tests rely on the FF-A Sandbox driver which helps in
inspecting the FF-A core driver.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9: align
Provide a Sandbox driver to emulate the FF-A ABIs
The emulated ABIs are those supported by the FF-A core driver
and according to FF-A specification v1.0.
The Sandbox driver provides operations allowing the test
application to read the status of all the inspected ABIs
and perform functional tests
Provide armffa command showcasing the use of the FF-A driver
armffa is a command showcasing how to use the FF-A driver and how to invoke
its operations. This provides a guidance to the client developers on how to
call the FF-A bus interfaces. The command also allows to gather secure
partitions inf
provide a test case
Signed-off-by: Abdellatif El Khlifi
Cc: Simon Glass
---
MAINTAINERS | 5 +
test/lib/Makefile | 1 +
test/lib/uuid.c | 44
3 files changed, 50 insertions(+)
create mode 100644 test/lib/uuid.c
diff --git a/MAINTAINER
convert UUID string to little endian binary data
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9:
* add a full function prototype description in uuid.h
v8:
* use simple_strtoull() in uuid_str_to_le
add support for x0-x17 registers used by the SMC calls
In SMCCC v1.2 [1] arguments are passed in registers x1-x17.
Results are returned in x0-x17.
This work is inspired from the following kernel commit:
arm64: smccc: Add support for SMCCCv1.2 extended input/output registers
[1]:
https://docume
Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A].
FF-A describes interfaces (ABIs) that standardize communication
between the Secure World and Normal World. These interfaces enable a pair of
software sandboxes to communicate with each other. A sandbox aka partition could
b
This config is based on colibri_imx6_defconfig and enables additionally
the watchdog. The intend of the new config is that distros can use this
in the future and the behaviour will not be changed for current users.
However I am not sure if it would be OK, to just enable the watchdog in
the existin
Using colibri_imx6_defconfig with additionally CONFIG_WATCHDOG, CONFIG_WDT and
CONFIG_IMX_WATCHDOG enabled results in a linker error.
arm-linux-gnueabihf-ld.bfd: arch/arm/lib/reset.o: in function `do_reset':
/home/aegerter-1/u-boot/arch/arm/lib/reset.c:42: undefined reference to
`reset_cpu'
Defi
Building colibri_imx6 target with watchdog enabled fails.
The first patch in this series fixes the problem, the second one adds a new
defconfig with watchdog enabled.
Best Regards,
Andreas Aegerter (2):
colibri_imx6: fix linker issue enabling watchdog
colibri_imx6: add default config with wa
Binary files, which are committed to a private fork of this repository,
will be subject to line feed substitution unless marked as binary.
Mark .bin files as binary.
Signed-off-by: Sebastian Andrzej Siewior
---
.gitattributes | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitattributes b/
From: Manuel Traut
The board is similar to Kontron's N801x design. It lacks external eMMC
support and only supports only 1GiB of main memory.
[ bigeasy: porting and a bit of cleanup ]
Signed-off-by: Manuel Traut
Signed-off-by: Sebastian Andrzej Siewior
---
arch/arm/dts/Makefile
There can certainly be a lot more elements in the "revisions" (and
"names") arrays than there are gpios used to form the trinary number
we're searching for; we simply don't know the array size up-front.
Nor do we need to, because the loop body already knows to recognize
-EOVERFLOW as "not that man
On 2023/3/8 15:31, Pali Rohár wrote:
> Hello! See few comments below.
>
> On Wednesday 08 March 2023 13:48:31 Minda Chen wrote:
>> From: Mason Huo
>>
>> Add pcie driver for StarFive JH7110, the driver depends on
>> starfive gpio, pinctrl, clk and reset driver to do init.
>>
>> Several device
U-Boot can be booted from NAND without SPL by prepending the DCD header to
the actual U-Boot binary. However this requires prepending 1024 bytes to
u-boot.imx (DCD + u-boot.bin).
There is already a similar target to build spl/u-boot-nand-spl.imx, add the
same option for no-SPL boot.
Tested on i.M
From: Peter Hoyes
To conserve bandwidth and potentially avoid rate limits, allow a local
mirror of Docker Hub to be specified globally. The default value is
unchanged.
Signed-off-by: Peter Hoyes
---
.gitlab-ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci
From: Peter Hoyes
The default behavior of Gitlab runners is to only run jobs which match
the configured tag, although there is an option to run untagged jobs
[1].
To support running the CI in more complex environments where different
types of runners may be present that support different tags, a
From: Peter Hoyes
On our team at Arm, we would like to run the U-Boot CI on our
infrastructure in order to verify patches before sending them upstream.
This requires some minor changes to the Gitlab CI config which can be
implemented in a backwards-compatible way.
Peter Hoyes (2):
CI: Allow jo
From: Thomas RIENOESSL
NFSv1 support added by Christian Gmeiner, Thomas Rienoessl,
September 27, 2018. As of now, NFSv3 is the default choice.
if the server does not support NFSv3, we fall back to
versions 2 or 1.
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 42 +
From: Thomas RIENOESSL
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 94 ++-
1 file changed, 52 insertions(+), 42 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index d1858faaa9..a2749bae82 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -443,6
From: Thomas RIENOESSL
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index a2749bae82..21cae52f35 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -524,6 +524,7 @@ static int rpc_lookup_reply(int pr
From: Thomas RIENOESSL
Prep. work to support nfs v1.
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 93 +++
1 file changed, 52 insertions(+), 41 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index c6a124885e..d1858faaa9 100644
--- a/net/n
This patch series adds support for NFSv1 and is more
or less a rebased version of an older series.
During V1 there was a discussion if it really makes sense
to bring more features into the network stack of U-Boot as it
is just a bootloader. As TCP support landed I thought I might
give this patch s
On Tue, 7 Mar 2023 13:21:10 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:
...
> Changes in v8:
> - fix build with disabled CONFIG_VIDEO_COPY
> - add 12X22 font to sandox defconfig
>
> Dzmitry Sankouski (10):
> video console: refactoring and optimization
> video console: add support for
On 09/03/2023 11:52, Rafał Miłecki wrote:
Rafał (me):
NVMEM cells should be registered as they are in the raw format. No size
adjustments should happen while registering them. If NVMEM cell requires
some read post-processing then its size should be adjusted *while*
reading.
Michael:
.read_p
On Fri, 10 Mar 2023 11:35:12 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:
> вт, 7 мар. 2023 г. в 18:22, Anatolij Gustschin :
> (...)
> >
> > there was another build error for boards with CONFIG_VIDEO_LOGO
> > disabled:
> >
> > https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/58
El Thu, Mar 09, 2023 at 02:23:11PM +0200, Eugen Hristev deia:
> Add initial support for the rk3588 PHY variant.
> The driver now looks for phy-supply and enables/disables the vbus
> accordingly.
> The lookup for the host-port reg inside the struct now does a do {} while()
> instead of a while() {}
вт, 7 мар. 2023 г. в 18:22, Anatolij Gustschin :
(...)
>
> there was another build error for boards with CONFIG_VIDEO_LOGO
> disabled:
>
> https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/589501#L1430
>
> I changed this to
>
> void splash_display_banner(void)
> {
> + struct vid
101 - 159 of 159 matches
Mail list logo