On Fri, Oct 14, 2022 at 2:49 AM Paweł Anikiel wrote:
>
> Allow SPL to boot from an ext4 filesystem.
>
> Signed-off-by: Paweł Anikiel
> ---
> configs/socfpga_chameleonv3_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/socfpga_chameleonv3_defconfig
> b/configs/socfpga_c
On Fri, Oct 14, 2022 at 2:49 AM Paweł Anikiel wrote:
>
> Move the environment to an easily editable text file in the boot
> partition
>
> Signed-off-by: Paweł Anikiel
> ---
> board/google/chameleonv3/environment.txt | 13 +
> include/configs/socfpga_chameleonv3.h| 9 -
>
On Fri, Oct 14, 2022 at 2:49 AM Paweł Anikiel wrote:
>
> Set the bitstream name per Chameleon variant. This allows the same
> boot filesystem with all bitstream variants to be used on different
> boards.
>
> Signed-off-by: Paweł Anikiel
> ---
> arch/arm/dts/socfpga_arria10_chameleonv3_270_3-u-bo
On Fri, Oct 14, 2022 at 2:49 AM Paweł Anikiel wrote:
>
> This file is included by the different chameleonv3 variants. Change the
> name to .dtsi.
>
> Signed-off-by: Paweł Anikiel
> ---
> ...arria10_chameleonv3.dts => socfpga_arria10_chameleonv3.dtsi} | 0
> arch/arm/dts/socfpga_arria10_chameleon
On Fri, Oct 14, 2022 at 2:49 AM Paweł Anikiel wrote:
>
> Add devicetree for chameleonv3 with the 270-2I2-D11E variant of the
> Mercury+ AA1 module
>
> Signed-off-by: Paweł Anikiel
> ---
> arch/arm/dts/Makefile| 1 +
> .../socfpga_arria10_chameleonv3_270_2-u-boot.
On Fri, Oct 14, 2022 at 2:49 AM Paweł Anikiel wrote:
>
> This file was missed during the conversion process. Add the symbol to
> defconfig.
>
> Signed-off-by: Paweł Anikiel
> ---
> configs/socfpga_chameleonv3_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/socfpga_cham
Hi Tom,
https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/f21954750aa8ed445ab83998bb099e366136c428
The following changes since commit fb63362c63c7aeacb1dfde330ee8f692da7972f9:
lib: fix buggy strcmp and strncmp (2022-10-27 09:10:08 -0400)
are available in the Git repository at:
g
On Fri, 28 Oct 2022 at 18:27, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_I2C_INIT_BOARD
>
> Signed-off-by: Tom Rini
> ---
> README | 11 ---
> board/keymile/Kconfig| 3 +++
> board/samsung/common/board.c
On Fri, 28 Oct 2022 at 18:28, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_INIT_RAM_LOCK
>
> Signed-off-by: Tom Rini
Reviewed-by: Simon Glass
Hi Tom.
On Fri, 28 Oct 2022 at 18:27, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_INTERLAKEN
>CONFIG_SYS_ISA_IO
>CONFIG_SYS_ISA_IO_BASE_ADDRESS
>
> Signed-off-by: Tom Rini
> ---
> drivers/rtc/mc146818.c | 2 +-
> include/configs/T208xQDS.h | 1 -
>
On Fri, 28 Oct 2022 at 18:28, Tom Rini wrote:
>
> Move the symbol SYS_JFFS2_SORT_FRAGMENTS to Kconfig and use the only
> remaining part of doc/README.JFFS2 that is still relevant and useful to
> the help for this option.
>
> Signed-off-by: Tom Rini
> ---
> doc/README.JFFS2 | 30 -
On Fri, 28 Oct 2022 at 18:28, Tom Rini wrote:
>
> Introduce two options, one for each observed L2 cache size, and have the
> size select'd as needed.
>
> Signed-off-by: Tom Rini
> ---
> arch/powerpc/cpu/mpc85xx/Kconfig | 16
> include/configs/P1010RDB.h | 3 ---
> include
On Fri, 28 Oct 2022 at 18:28, Tom Rini wrote:
>
> Introduce three options, one for each observed L3 cache size, and have
> the size select'd as needed.
>
> Signed-off-by: Tom Rini
> ---
> arch/powerpc/cpu/mpc85xx/Kconfig | 24
> include/configs/P2041RDB.h | 2 --
>
On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_LOADS_BAUD_CHANGE
>CONFIG_LOADS_ECHO
>
> As part of this, we move CMD_SAVES to be after CMD_LOADS as they are
> logically related (load or save an s-record format file) and this makes
> gr
On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_MMC_MAX_BLK_COUNT
>
> Signed-off-by: Tom Rini
> ---
> configs/hikey960_defconfig | 1 +
> configs/octeontx2_95xx_defconfig| 1 +
> configs/octeontx2_96xx_defconfig
Hi Tom,
On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_MMC_MAX_DEVICE
>
> Signed-off-by: Tom Rini
> ---
> api/Kconfig| 5 +
> api/api_storage.c | 4
> include/configs/am335x_evm.h
On Fri, 28 Oct 2022 at 18:30, Tom Rini wrote:
>
> The comment block in reserve_noncached has a typo in one filename and
> an incorrect filename in another function reference. Correct both of
> these.
>
> Signed-off-by: Tom Rini
> ---
> common/board_f.c | 4 ++--
> 1 file changed, 2 insertions(+)
On Fri, 28 Oct 2022 at 18:31, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_MONITOR_LEN
>
> To do this, we set a default of 0 for everyone because there are a
> number of cases where we define CONFIG_SYS_MONITOR_LEN but the only
> impact is that we set TOTAL_MALLOC_LE
On Fri, 28 Oct 2022 at 18:30, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_NONCACHED_MEMORY
>
> To do this we introduce CONFIG_SYS_HAS_NONCACHED_MEMORY as a bool to
> gate if we are going to have noncached_... functions available and then
> continue to use CONFIG_SYS
On Fri, 28 Oct 2022 at 18:34, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
>
> Signed-off-by: Tom Rini
> ---
> configs/da850evm_nand_defconfig | 1 +
> configs/k2e_evm_defconfig| 1 +
> configs/k2e_hs_evm_defconfig
On Fri, 28 Oct 2022 at 18:30, Tom Rini wrote:
>
> Migrate all of COFIG_SYS_MPC* to the CFG_SYS namespace.
>
> Signed-off-by: Tom Rini
> ---
> arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c | 2 +-
> arch/powerpc/cpu/mpc85xx/c29x_serdes.c| 2 +-
> arch/powerpc/cpu/mpc85xx/cpu.c
On Fri, 28 Oct 2022 at 18:31, Tom Rini wrote:
>
> Migrate all of COFIG_SYS_FSL* to the CFG_SYS namespace.
>
> Signed-off-by: Tom Rini
> ---
> README| 8 +-
> arch/arm/cpu/armv7/ls102xa/clock.c| 4 +-
> arch/arm/cpu/armv7/ls102xa/cpu.c
On Fri, 28 Oct 2022 at 18:30, Tom Rini wrote:
>
> Migrate all of CONFIG_HPS* to the CFG namespace.
>
> Signed-off-by: Tom Rini
> ---
> arch/arm/mach-socfpga/qts-filter.sh | 4 +-
> arch/arm/mach-socfpga/wrap_iocsr_config.c | 8 +-
> arch/arm/mach-socfpga/wrap_pll_config.c
Hi Marc,
On Fri, 28 Oct 2022 at 11:53, Marc Kleine-Budde wrote:
>
> Hello!
>
> ld;dr: I want to create legacy images with Image Type IH_TYPE_FLATDT.
>
> Details:
>
> During the migration of an older system to recent yocto, we noticed that
> the u-boot's mkimage doesn't work anymore as expected.
>
Hi Neha,
On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote:
>
> [Adding Alper - binmam maintainer and Oliver, who faced the same issue on
> imx8]
>
> On Fri, Oct 28, 2022 at 7:56 AM Neha Malcom Francis wrote:
> >
> > Hi!
> >
> > U-Boot build for J721E with binman enabled on the latest tip of th
Hi Heinrich,
On Sat, 22 Oct 2022 at 03:49, Heinrich Schuchardt
wrote:
>
> We use the parameter file in console function to choose from an array after
> checking against MAX_FILES but we never check if the value of file is
> negative.
>
> Running ./u-boot -T -l and issuing the poweroff command has
Hi Sean,
On Fri, 21 Oct 2022 at 15:04, Sean Anderson wrote:
>
> On 10/21/22 4:17 PM, Simon Glass wrote:
> > On Thu, 20 Oct 2022 at 13:24, Sean Anderson wrote:
> >>
> >> As discussed previously [1,2], the source command is not safe to use with
> >> verified boot unless there is a key with require
Hi Tom,
On Fri, 21 Oct 2022 at 10:26, Tom Rini wrote:
>
> On Fri, Oct 14, 2022 at 09:56:44AM -0600, Simon Glass wrote:
>
> > Hi,
> >
> > What do people think about requiring SPL_DM for new boards? Would that
> > cause any problems?
> >
> > There is not much use of of-platdata (compiling the DT in
On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote:
>
> These drivers are not enabled anywhere, remove them.
>
> Signed-off-by: Tom Rini
> ---
> drivers/rtc/Makefile | 4 -
> drivers/rtc/m41t11.c | 168 --
> drivers/rtc/m41t60.c | 239 ---
On Fri, 28 Oct 2022 at 18:28, Tom Rini wrote:
>
> This header is unreferenced, remove.
>
> Signed-off-by: Tom Rini
> ---
> include/w83c553f.h | 161 -
> 1 file changed, 161 deletions(-)
> delete mode 100644 include/w83c553f.h
Reviewed-by: Simon Glass
On Fri, 28 Oct 2022 at 18:27, Tom Rini wrote:
>
> This removes the following symbols:
>CONFIG_RTC_MCFRRTC
>CONFIG_SYS_JFFS2_FIRST_BANK
>CONFIG_SYS_JFFS2_FIRST_SECTOR
>CONFIG_SYS_JFFS2_NUM_BANKS
>CONFIG_SYS_LBC_CACHE_BASE
>CONFIG_SYS_LIME_SIZE
>CONFIG_SYS_MAMR
>CONFI
On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote:
>
> These files reference SZ_ macros without including ,
> correct this.
>
> Signed-off-by: Tom Rini
> ---
> arch/arm/mach-mediatek/mt7981/init.c | 1 +
> arch/arm/mach-mediatek/mt7986/init.c | 1 +
> arch/arm/mach-mediatek/mt8512/init.c | 1 +
> dri
Hi Tom,
On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_SYS_MAX_NAND_DEVICE
>
> Signed-off-by: Tom Rini
> ---
> configs/CHIP_pro_defconfig | 1 +
> configs/Nintendo_NES_Classic_Edition_defconfig | 1 +
> configs/etamin_
Hi Sergei,
On Thu, 20 Oct 2022 at 08:50, Sergei Antonov wrote:
>
> Hello!
> Please look at this code from drivers/i2c/i2c-gpio.c:
>
> static int i2c_gpio_of_to_plat(struct udevice *dev)
> {
> struct i2c_gpio_bus *bus = dev_get_priv(dev);
> int ret;
>
> /* "gpios" is deprec
Hi Heinrich,
On Thu, 27 Oct 2022 at 10:41, Heinrich Schuchardt
wrote:
>
>
>
> On 10/27/22 17:22, Simon Glass wrote:
> > Hi Heinrich,
> >
> > On Wed, 26 Oct 2022 at 00:13, Heinrich Schuchardt
> > wrote:
> >>
> >>
> >>
> >> On 10/26/22 01:35, Simon Glass wrote:
> >>> Hi Heinrich,
> >>>
> >>> On Sa
Hi Quentin,
On Mon, 24 Oct 2022 at 03:26, Quentin Schulz
wrote:
>
> Hi Simon,
>
> On 10/22/22 03:06, Simon Glass wrote:
> > Hi Quentin,
> >
> > On Fri, 30 Sept 2022 at 17:49, Simon Glass wrote:
> >>
> >> On Fri, 30 Sept 2022 at 08:37, Quentin Schulz wrote:
> >>>
> >>> From: Quentin Schulz
> >>
At present sandbox uses the root device as the parent for block devices it
creates to provide access to files on the host. This is convenient but is
not really correct, since the root device should not have any particular
meaning for its children.
This series tidies this up, introducing a new ucla
Add the documentation to avoid a warning with 'make htmldocs'.
Fixes: 10107efedd5 ("sandbox: add SIGALRM-based watchdog device")
Signed-off-by: Simon Glass
---
include/os.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/os.h b/include/os.h
index 54874f5e0e8..0415f0f0e7a 100644
This is not used anymore. Drop it.
Signed-off-by: Simon Glass
---
cmd/host.c| 4 --
drivers/block/sandbox.c | 102 --
include/sandboxblockdev.h | 3 --
3 files changed, 109 deletions(-)
diff --git a/cmd/host.c b/cmd/host.c
index f0d989a
This function is useful for other tests. Move it into common code.
Signed-off-by: Simon Glass
---
test/py/tests/fs_helper.py| 54
test/py/tests/test_fs/conftest.py | 58 ---
2 files changed, 60 insertions(+), 52 deletions(-)
crea
Tidy this up so that pylint is happy. Use hex for the 1MB size and make
sure it is not a floating-point value.
Add a little main program to allow the code to be tried out, since at
present is only called from a long-running test.
Signed-off-by: Simon Glass
---
test/py/tests/fs_helper.py | 38 +
Some tests access data in block devices and so cause the cache to fill
up. This results in memory being allocated.
Some tests check the malloc usage at the beginning and then again at the
end, to ensure there is no memory leak caused by the test. The block cache
makes this difficult, since the any
This is not needed since the flag takes care of all differences. Make use
of the common function.
Signed-off-by: Simon Glass
---
test/dm/test-dm.c | 49 ---
1 file changed, 4 insertions(+), 45 deletions(-)
diff --git a/test/dm/test-dm.c b/test/dm/tes
Sort this and put the command summary at the top instead of the bottom.
Adjust it so that the newlines are at the start of the strings, so that
there is not a blank line at the end.
Signed-off-by: Simon Glass
---
test/cmd_ut.c | 57 +--
1 file ch
The select_name parameter is not used anymore. Drop it.
Signed-off-by: Simon Glass
---
test/test-main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/test-main.c b/test/test-main.c
index 954a280119e..a8c1b2ef6e2 100644
--- a/test/test-main.c
+++ b/test/test-main.
Before adding more options, document this command.
Signed-off-by: Simon Glass
---
doc/usage/cmd/ut.rst | 102 +++
doc/usage/index.rst | 1 +
2 files changed, 103 insertions(+)
create mode 100644 doc/usage/cmd/ut.rst
diff --git a/doc/usage/cmd/ut.rst
Add a 'ut info' command to show the number of suites and tests. This is
useful to get a feel for the scale of the tests.
Signed-off-by: Simon Glass
---
doc/usage/cmd/ut.rst | 6 ++
test/cmd_ut.c| 16 +++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/do
When running unit tests, some may have side effects which cause a
subsequent test to break. This can sometimes be seen when using 'ut dm'
or similar.
Add a new argument which allows a particular (failing) test to be run
immediately after a certain number of tests have run. This allows the
test cau
This function now finds its block-device child by looking for a child
device of the correct uclass (UCLASS_BLK). It cannot produce a device of
any other type, so drop the superfluous check.
Provide a version which does not probe the device, since that is often
needed when setting up the device's p
Create a block driver for the new HOST uclass. This handles attaching and
detaching host files.
For now the uclass is not used but this will be plumbed in with future
patches.
Signed-off-by: Simon Glass
---
drivers/block/Makefile | 2 +-
drivers/block/host_dev.c | 142 +
Update the sandbox implementation to use UCLASS_HOST and adjust all
the pieces to continue to work:
- Update the 'host' command to use the new API
- Replace various uses of UCLASS_ROOT with UCLASS_HOST
- Disable test_eficonfig since it doesn't work (this should have a unit
test to allow this to
Document the 'host' command and also the internals of how it is
implemented.
Signed-off-by: Simon Glass
---
doc/arch/index.rst | 2 +-
doc/arch/sandbox/block_impl.rst| 39 ++
doc/arch/sandbox/index.rst | 12 +++
doc/arch/{ => sandbox}/sandbox.rst | 9 ++
Add some unit tests for this.
Signed-off-by: Simon Glass
---
test/dm/Makefile | 1 +
test/dm/host.c | 195 +
test/py/tests/fs_helper.py | 6 +-
test/py/tests/test_ut.py | 6 ++
4 files changed, 206 insertions(+), 2 deletions(-)
Sandbox supports block devices which can access files on the host machine.
At present there is no uclass for this. The devices are attached to the
root devic. The block-device type is therefore set to UCLASS_ROOT which
is confusing.
Block devices should be attached to a 'media' device instead, som
On 10/30/22 02:43, Simon Glass wrote:
Hi Heinrich,
On Sat, 22 Oct 2022 at 03:49, Heinrich Schuchardt
wrote:
We use the parameter file in console function to choose from an array after
checking against MAX_FILES but we never check if the value of file is
negative.
Running ./u-boot -T -l an
On 10/30/22 02:43, Simon Glass wrote:
Hi Heinrich,
On Thu, 27 Oct 2022 at 10:41, Heinrich Schuchardt
wrote:
On 10/27/22 17:22, Simon Glass wrote:
Hi Heinrich,
On Wed, 26 Oct 2022 at 00:13, Heinrich Schuchardt
wrote:
On 10/26/22 01:35, Simon Glass wrote:
Hi Heinrich,
On Sat, 22 O
56 matches
Mail list logo