Building sandbox_spl with CONFIG_DEBUG leads to errors due to missing
symbols:
/usr/bin/ld: common/spl/spl_fit.o: in function `spl_fit_upload_fpga':
common/spl/spl_fit.c:595: undefined reference to `fpga_load'
/usr/bin/ld: test/test-main.o: in function `dm_test_post_run':
test/test
Compiling sandbox_defconfig with CONFIG_SPL_MMC=y results in
drivers/mmc/mmc-uclass.c:211:
undefined reference to `dev_read_u32_default'
Revert the fraudulent patch.
Fixes: ef79ef21a852 ("dm: core: Don't inline dev_read...() calls with
of-platdata")
Signed-off-by: Heinrich Schuchardt
-
Building sandbox_defconfig with CONFIG_SPL_TIMER=y results in an error
include/dm/platdata.h:63:33: error: static assertion failed:
"Cannot use U_BOOT_DRVINFO with of-platdata.
Please use devicetree instead"
Add a missing condition in the sandbox driver.
Signed-off-by: Heinrich Schuc
Drivers should have a maintainer.
Signed-off-by: Heinrich Schuchardt
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 6f53f9c2f6..a69a226ddf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1335,6 +1335,7 @@ M:Simon Glass
S: Maintain
On 2/18/23 05:43, Johan Jonker wrote:
> Hi Jonas,
>
> On 2/17/23 21:52, Jonas Karlman wrote:
>> Sync init size limit from vendor u-boot:
>
> This sync might not be correct.
> Please recheck with each SoC or limit your change to the rk3328 SoC if prove
> fails.
> Could Kever disclose SoC detai
Use dev_read_() api instead of the fdtdec API to fetch the host
controller's reg property value. This is similar to the other host
controller drivers such as Sifive, Rockchip etc. Without this change,
enabling CONFIG_OF_LIVE breaks the PCIe enumeration on Qemu Risc-V virt
machine. The issue is desc
Hi Johan,
On 2023-02-18 12:48, Johan Jonker wrote:
>
>
> On 2/18/23 05:43, Johan Jonker wrote:
>> Hi Jonas,
>>
>> On 2/17/23 21:52, Jonas Karlman wrote:
>>> Sync init size limit from vendor u-boot:
>>
>> This sync might not be correct.
>> Please recheck with each SoC or limit your change to the
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.
Fixed are:
64bit FDT parsing
compatible string removal
add missing layout structure
add missing fl
The DT specification supports CPUs with both 32-bit and 64-bit addressing
capabilities. In U-boot the fdt_addr_t and phys_addr_t size are coupled
by a typedef. The MTD NAND drivers for 32-bit CPU's can describe partitions
with a 64-bit reg property. These partitions synced from Linux end up with
th
When fdt_addr_t and phys_addr_t are split it turns out that
the header don't match the functions, so fix the headers.
Signed-off-by: Johan Jonker
Reviewed-by: Simon Glass
Reviewed-by: Kever Yang
---
include/dm/ofnode.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
dif
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 convert regmap_init_mem_plat() input to phys_addr_t in files
that use this function. Also correct struct syscon_base_plat
depending on CONFIG_PHYS_64BIT setting and fix ARRAY_
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
---
drivers/adc/rockchip-saradc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 convert dev_read_addr output to phys_addr_t in the
dw-apb-timer.c file.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
drivers/timer/dw-apb-timer.c | 4 ++--
1 fi
As described in [0] if a command requires use of an untested algorithm
or functional module, the TPM performs the test and then completes the
command actions.
Since we don't check for TPM_RC_NEEDS_TEST (which is the return code of
the TPM in that case) and even if we would, it would complicate our
A previous commit is adding a new tpm startup functions which
initializes the TPMv2 and performs all the needed selftests.
Since the TPM selftests might be needed depending on the requested
algorithm or functional module use that instead.
Reviewed-by: Simon Glass
Signed-off-by: Ilias Apalodimas
All the TPM drivers as well as out TCG TIS API for a TPM2.0 device
return -EBUSY if the device has already been opened. Adjust
the sandbox TPM do return the same error code.
Signed-off-by: Ilias Apalodimas
---
Changes since v3:
- New patch. Required for [4/4]
drivers/tpm/tpm2_tis_sandbox.c | 2
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
---
drivers/mtd/nand/raw/rockchip_nfc.c | 6 +++---
1 file cha
A prior patch adds a new API function for TPM2.0, which performs
the full startup sequence of the TPM. Add a selftest for that.
Signed-off-by: Ilias Apalodimas
---
Changes since v4:
- New patch
test/dm/tpm.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/test/dm/tpm.c b/test/dm/tpm.c
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 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-
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
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
---
drivers/mtd/nand/raw/nand_ids.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/na
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
On Sat, Feb 4, 2023 at 2:36 AM Simon Glass wrote:
>
> Add a new SPL_PHY_ATHEROS to avoid a build error on am335x_evm with split
> config.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v1)
>
> drivers/net/phy/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers
On Mon, Feb 6, 2023 at 9:21 PM Simon Glass wrote:
>
> Add a new SPL_PHY_ATHEROS to avoid a build error on am335x_evm with split
> config.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v1)
>
> drivers/net/phy/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers
On Wed, Feb 8, 2023 at 1:37 AM Tim Harvey wrote:
>
> packet tagging is not used for this driver so we do not need to
> call dsa_set_tagging.
>
> Signed-off-by: Tim Harvey
> ---
> drivers/net/ksz9477.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/ksz9477.c b/drivers/net/k
On Wed, Feb 8, 2023 at 1:37 AM Tim Harvey wrote:
>
> We don't do anything useful with the master dev, so remove the variable.
>
> Signed-off-by: Tim Harvey
> ---
> drivers/net/ksz9477.c | 5 -
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c
> i
On Wed, Feb 8, 2023 at 1:37 AM Tim Harvey wrote:
>
> Add a port_probe function to configure the phy. This leads to
> earlier link negotiation so the port is more likely to be ready
> when used.
>
> Signed-off-by: Tim Harvey
> ---
> drivers/net/ksz9477.c | 26 +-
> 1 file
On Thu, Feb 9, 2023 at 6:07 PM Ioana Ciornei wrote:
>
> In the process of adopting CONFIG_DM_ETH on the DPAA2 based platforms,
> interfaces which were previously defined as "xgmii" were transitioned to
> be defined as "xfi" in the DTS.
> See the commit below for reference:
> commit 87274918f2f4 ("
On Mon, Feb 13, 2023 at 1:33 AM Simon Glass wrote:
>
> Add a new SPL_PHY_ATHEROS to avoid a build error on am335x_evm with split
> config.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v1)
>
> drivers/net/phy/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/driver
On Thu, Feb 16, 2023 at 6:39 AM wrote:
>
> From: Sean Edmond
>
> Fix "setenv gatewayip6".
>
> Synchronize IPv6 local variables with environment variables
> in netboot_update_env()
>
> Signed-off-by: Sean Edmond
> ---
> cmd/net.c | 23 ++-
> include/env_flags.h | 2
On Fri, Feb 17, 2023 at 5:03 AM Marek Vasut wrote:
>
> On 2/16/23 17:45, Nicole Battenfeld wrote:
> >
> > Am 16.02.23 um 02:39 schrieb Marek Vasut:
> >> On 2/15/23 17:16, Elmar Psilog wrote:
> >>> Let the EQoS in imx8mp handle fixed-phy too.
> >>> Without that patch it lost track to the node to sc
On 2022-12-07, Simon Glass wrote:
> Drop the use of scripts and rely on standard boot for all operation.
This patch, applied as 3891c68ef50eda38d78c95ecd03aed030aa6bb53 broke
booting on pinebook-pro-rk3399, which still tries to "run
distro_bootcmd" but distro_bootcmd is no longer defined... probab
On Fri, Feb 17, 2023 at 10:01:54AM -0500, Tom Rini wrote:
> On Fri, Feb 17, 2023 at 12:12:18PM +, Leo Liang wrote:
>
> > Hi Tom,
> >
> > The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0:
> >
> > Prepare v2023.04-rc2 (2023-02-13 18:39:15 -0500)
> >
> > are availa
On Fri, Feb 17, 2023 at 02:26:17PM +0100, Heinrich Schuchardt wrote:
> On 2/14/23 11:18, Yu Chien Peter Lin wrote:
> > This patch adds a brief introduction to the RISC-V architecture and
> > the typical boot process used on a variety of RISC-V platforms.
> >
> > Signed-off-by: Yu Chien Peter Lin
35 matches
Mail list logo