Am 2021-07-24 17:35, schrieb Heinrich Schuchardt:
CONFIG_HEXDUMP is needed to display UEFI variables using 'printenv -e'.
Enabling CONFIG_SPL_HEXDUMP only makes sense for debugging purposes.
Hence CONFIG_SPL_HEXDUMP should not be enabled by default.
The following boards currently have CONFIG_SP
Hi Tom,
On 13/07/2021 22:33, Tom Rini wrote:
> Hey all,
>
> So, the DM_USB migration deadline issue has been addressed by the series
> here:
> https://patchwork.ozlabs.org/project/uboot/list/?series=252793&state=*
> which splits out host and gadget support from the CONFIG_USB symbol
> itself. Th
Hi Simon,
On 7/24/21 11:14 PM, Simon Glass wrote:
> The autoboot tests are a recent addition to U-Boot, providing much-needed
> coverage in this area.
>
> A side effect of the keyed autoboot test is that this feature is enabled
> in sandbox always. This changes the autoboot prompt and confuses th
On Sun, Jul 25, 2021 at 12:40:13PM +0200, Merlijn Wajer wrote:
> Hi Tom,
>
> On 13/07/2021 22:33, Tom Rini wrote:
> > Hey all,
> >
> > So, the DM_USB migration deadline issue has been addressed by the series
> > here:
> > https://patchwork.ozlabs.org/project/uboot/list/?series=252793&state=*
> >
Hi Simon,
sorry for late response i was offline a bit
W dniu 13.07.2021 o 22:17, Simon Glass pisze:
> Hi Paweł,
>
> On Tue, 13 Jul 2021 at 12:59, Paweł Jarosz wrote:
>> Add clock driver for rk3066 platform.
>>
>> Signed-off-by: Paweł Jarosz
>> Acked-by: Philipp Tomsich
>> ---
>>
>> Changes si
On 7/15/21 2:19 PM, Alexandru Gagniuc wrote:
v4 branch was reported to have some issues with SPL becoming too big
on some platforms (e.g. imx6dl_mamoj) This is fixed by dropping the
call to genimg_get_os_name().
Ping for merge window.
Alexandru Gagniuc (5):
spl: mmc: Support OP-TEE payload
The original patch of this series was sent in September 2019 but
unfortunately caused build problems on some boards, since they don't
comply with the of-platdata rules.
With of-platdata, the idea is to compile the device tree into C structures
to save space and avoid needing to use libfdt. But som
At present this driver is enabled in SPL on omapl138_lcdk, which uses
of-platdata. The driver needs to be ported to use of-platdata properly.
For now, avoid a build error by returning an error.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/mmc/davinci_mmc.c | 6 ++
1 file ch
This uclass requires OF_CONTROL to be enabled but some boards use it in
SPL without doing that. Add a warning so that the maintainer can fix it.
Expand the check in spi_post_probe() too.
Signed-off-by: Simon Glass
---
Changes in v6:
- Add new patch for SPI flash
drivers/spi/spi-uclass.c | 16
This phy cannot be used when OF_CONTROL is not enabled. A few boards
expect it to build, though, so add a runtime check for this case.
Signed-off-by: Simon Glass
---
Changes in v6:
- Add new patch for atheros
drivers/net/phy/atheros.c | 11 +++
1 file changed, 11 insertions(+)
diff --
At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled.
But if of-platdata is in use this is not required. Update the condition to
avoid building this extra code. This ensures that if a libfdt function is
used it will produce a link error rather than silently increasing the
build
These functions cannot work with of-platdata since libfdt is not
available. At present when dev_read_...() functions are used it produces
error messages about ofnode which is confusing.
Adjust the Makefile and header to produce an error message for the actual
dev_read...() function which is called
Move this to rST format, largely unchanged to start with. Add an index
for this topic, as well as an empty intro.
Signed-off-by: Simon Glass
---
.../devicetree/control.rst} | 50 +--
doc/develop/devicetree/index.rst | 13 +
doc/develop/devicetr
This question comes up every now and then with people coming from Linux.
Add some notes about it so we can point to it in the mailing list.
Signed-off-by: Simon Glass
---
doc/develop/devicetree/control.rst | 2 ++
doc/develop/devicetree/intro.rst | 39 ++
2 files
This file is about 10 years old and the updates have not covered
everything that has changed, particularly in the last few years. Update
the information and add mention of the u-boot.dtsi files.
Signed-off-by: Simon Glass
---
doc/develop/devicetree/control.rst | 107
The CONFIG_SPL_RAW_IMAGE_SUPPORT option requires that binman provides an
offset for the image (see spl_set_header_raw_uboot()), if binman is used.
These boards use FIT to store U-Boot, so raw image support is not used.
Drop this option to avoid errors once binman starts checking this.
Signed-off-
This symbol is needed for binman to locate the start of the image. Add it.
Note: the existing line to bring in the .__image_copy_start symbol does
not appear to do anything.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to add an __image_copy_start symbol for ARMv8
arch/arm/cp
Binman needs this symbol to be able to figure out the start of the image.
Detect if it is missing and report an error if any symbols are needed.
Add more documentation about possible binman warnings.
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/binman/binman.rst | 109 +
On Sun, Jul 25, 2021 at 10:13:42AM -0600, Simon Glass wrote:
> The original patch of this series was sent in September 2019 but
> unfortunately caused build problems on some boards, since they don't
> comply with the of-platdata rules.
>
> With of-platdata, the idea is to compile the device tree
So, I'm trying to fix the problem on am335x_evm (and some family
configs) with needing SPL_OF_CONTROL enabled. This is mostly fine just
enabling the option, except on am335x_evm itself, which is the
kitchen-sink config and overflows memory. I've gone with switching to
SPL_OF_PLATDATA there as am3
Hi Ashok,
On 7/24/21 5:10 PM, Ashok Reddy Soma wrote:
> From: T Karthik Reddy
>
> set_delay() function is from sdhci host ops, which does not return
> any error due to void return type. Get return values from input and
> output set clock phase functions inside arasan_sdhci_set_tapdelay()
> and r
During cold start, with some HDDs, mv_sata_identify() does not populate
the ID words on the 1st ATA ID command. In fact, the first ATA ID
command will only power up the drive, and then the ATA ID command
processing is lost in the process.
Tests with:
- Seagate ST9250320AS 250GB HDD and Seagate ST
Hi Simon,
On Sun, Jul 25, 2021 at 1:01 AM Simon Glass wrote:
>
> Hi Oleksandr,
>
> On Wed, 21 Jul 2021 at 06:21, Oleksandr Suvorov
> wrote:
> >
> > Initial support for Fairchild's 8 bit I2C gpio expander FXL6408.
> > The CONFIG_FXL6408_GPIO define enables support for such devices.
> >
> > Based
Currently there are a few arm32 rockchip board configs that don't
generate u-boot-rockchip.bin when running make because CONFIG_BINMAN
is not enabled. This patch changes CONFIG_ARCH_ROCKCHIP to also select
CONFIG_BINMAN if CONFIG_SPL and !CONFIG_ARM64.
Example builds that don't generate u-boot-roc
This series add support for the PocketGo handheld, a low cost portable
gaming console that is based on the Allwinner F1C100s chip.
A significant portion of this patchset is authored by:
- Icenowy Zheng
- George Hilliard
This patchset includes 4 parts necessary to make PocketGo work:
- suniv +
From: Icenowy Zheng
Lichee Pi Nano is a board based on F1C100s.
Add support for it.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/dts/Makefile| 2 +
arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 43
configs/licheepi_nano_defc
From: Icenowy Zheng
The BROM of suniv do not pass the info of boot media to SPL.
Add boot sequence for SPL to try again for the available boot media.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/mach-sunxi/board.c | 22 ++
1 file changed, 22 insertion
From: Icenowy Zheng
The suniv SoC has two SPI controllers, in which SPI0 is bootable.
Add device tree node of the controller and its bootable pinmux node.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/dts/suniv.dtsi | 18 ++
1 file changed, 18 insertions(+
From: Icenowy Zheng
The Lichee Pi Nano board has a Winbond W25Q128 SPI flash on it.
Enable it.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/suniv-f1c100s
From: Icenowy Zheng
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/mach-sunxi/board.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index e84687973a..b471933ec8 100644
--- a/arch/arm/mach-sunxi
From: Icenowy Zheng
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
configs/licheepi_nano_spiflash_defconfig | 25
1 file changed, 25 insertions(+)
create mode 100644 configs/licheepi_nano_spiflash_defconfig
diff --git a/configs/licheepi_nano_spiflash_defcon
From: Icenowy Zheng
The ARMv7 start code has support for saving some boot params at the
entry point, which is used by some SoCs to return to BROM.
Port this to ARM926EJ-S start code.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/cpu/arm926ejs/start.S | 19
From: Icenowy Zheng
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
board/sunxi/board.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 27ab44b67c..748c1a8673 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/boar
From: Icenowy Zheng
Add support for the suniv architecture, which is newer ARM9 SoCs by
Allwinner. The design of it seems to be a mixture of sun3i, sun4i and
sun6i.
Signed-off-by: Icenowy Zheng
Rebased-by: George Hilliard
Signed-off-by: Yifan Gu
---
arch/arm/dts/suniv-f1c100s.dtsi
From: Icenowy Zheng
As the pinmux setup of MMC0 at PF is masked, the sunxi MMC driver is now
harmless for PF uart setup, and it may be used for the extra MMC port.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
drivers/mmc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-
suniv ddr memory starts at 0x800. Set SYS_TEXT_BASE accordingly so
SPL can copy U-Boot proper to DRAM.
Signed-off-by: Yifan Gu
---
common/Kconfig.boot | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 642dd9bcfb..23c6db286a
Signed-off-by: Yifan Gu
---
arch/arm/dts/suniv.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/suniv.dtsi b/arch/arm/dts/suniv.dtsi
index bea7c08e7d..5d84f1e1af 100644
--- a/arch/arm/dts/suniv.dtsi
+++ b/arch/arm/dts/suniv.dtsi
@@ -126,6 +126,11 @@
Signed-off-by: Yifan Gu
---
arch/arm/include/asm/arch-sunxi/gpio.h | 1 +
arch/arm/mach-sunxi/board.c| 4
2 files changed, 5 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h
b/arch/arm/include/asm/arch-sunxi/gpio.h
index 26c900fb11..2b03325adf 100644
--- a/arch
From: Icenowy Zheng
The suniv SoC come with a sun6i-style SPI controller at the base address
of sun4i SPI controller. The module clock of the SPI controller is also
missing.
Add support for it.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/include/asm/arch-sunxi/gpio.h |
From: Icenowy Zheng
Some Allwinner SoCs use ARM926EJ-S core.
Add Allwinner/sunXi specific code to ARM926EJ-S CPU dircetory.
Signed-off-by: Icenowy Zheng
Signed-off-by: Yifan Gu
---
arch/arm/cpu/arm926ejs/Makefile | 1 +
arch/arm/cpu/arm926ejs/sunxi/Makefile| 16 +++
a
From: George Hilliard
The arm926 code provides this function. Disable it here.
Signed-off-by: George Hilliard
Signed-off-by: Yifan Gu
---
arch/arm/mach-sunxi/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
suniv cannot boot with this mmc optimization, as suniv fifo level
register is only 4 bits.
Disable this optimization for suniv for now.
Signed-off-by: Yifan Gu
---
drivers/mmc/sunxi_mmc.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/
Signed-off-by: Yifan Gu
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/suniv-f1c100s-pocketgo.dts | 48 +
configs/pocketgo_defconfig | 12 +++
3 files changed, 62 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/suniv-f1c100
The BROM of suniv does not pass info to SPL, and it should always boot
from the 8KB offset.
Signed-off-by: Yifan Gu
---
arch/arm/mach-sunxi/board.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index 7fa44b6f3a..90
From: George Hilliard
suniv needs slightly different register settings to enable the SPI
peripheral. The magic numbers are already provided by the architecture
support; we just have to check for them here.
Signed-off-by: George Hilliard
Signed-off-by: Yifan Gu
---
drivers/spi/spi-sunxi.c | 2
---
configs/licheepi_nano_defconfig | 1 +
configs/licheepi_nano_spiflash_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig
index 6e455baadf..6ea73c6408 100644
--- a/configs/licheepi_nano_defconfig
+++ b/confi
Signed-off-by: Yifan Gu
---
arch/arm/mach-sunxi/dram_suniv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-sunxi/dram_suniv.c b/arch/arm/mach-sunxi/dram_suniv.c
index 40aebf6eba..e7460ec3c3 100644
--- a/arch/arm/mach-sunxi/dram_suniv.c
+++ b/arch/arm/mach-sunxi/dram_suniv.c
@@
From: George Hilliard
The sunxi SPI peripheral driver resets the device completely (disabling
clocks and power) when the bus is released and turns it back on when
claiming. On the F1C100s (and maybe others), the peripheral resets back
to default register settings, losing speed and mode settings.
From: George Hilliard
The f1c100s has a controller pretty similar to that of most sunxi parts,
but there are only 6 banks. Add a new compatible entry for this
peripheral.
Signed-off-by: George Hilliard
Signed-off-by: Yifan Gu
---
drivers/gpio/sunxi_gpio.c | 6 ++
1 file changed, 6 insert
From: George Hilliard
The f1c100s has a simple clock tree similar to those of other sunxi
parts. Add support for it.
Signed-off-by: George Hilliard
Signed-off-by: Yifan Gu
---
drivers/clk/sunxi/Kconfig | 7
drivers/clk/sunxi/Makefile | 1 +
drivers/clk/sunxi/clk_f1c100s.c |
From: George Hilliard
The f1c100s has two MMC controllers. Add device tree nodes for them.
Signed-off-by: George Hilliard
Signed-off-by: Yifan Gu
---
arch/arm/dts/suniv.dtsi | 47 +
1 file changed, 47 insertions(+)
diff --git a/arch/arm/dts/suniv.dtsi
We renumber mmc2 to mmc1 for sunxi devices, but if mmc2 does not exist
dts will not build.
This patch prevents that by checking CONFIG_MMC_SUNXI_SLOT_EXTRA.
---
arch/arm/dts/sunxi-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi
Hi Tom,
> From: Tom Rini
> Sent: Saturday, July 24, 2021 8:57 PM
>
> On Tue, Jul 20, 2021 at 02:38:31PM +0800, Chia-Wei Wang wrote:
>
> > From: Joel Stanley
> >
> > Currently the FIT verification calls directly into SW implemented
> > functions to get a CRC/SHA/MD5 hash.
> >
> > This patch rem
Hi Simon,
Thanks for the patch, it will be a nice way to spot errors and avoid
headaches!
On 7/7/21 8:22 AM, Simon Glass wrote:
With of-platdata-inst we want to set up a reference to each devices'
parent device, if there is one. If we find that the device has a parent
(i.e. is not a root node
在 2021-07-25星期日的 19:16 -0400,Yifan Gu写道:
> We renumber mmc2 to mmc1 for sunxi devices, but if mmc2 does not exist
> dts will not build.
>
> This patch prevents that by checking CONFIG_MMC_SUNXI_SLOT_EXTRA.
I have a similar patch at
https://patchwork.ozlabs.org/project/uboot/patch/20210722063015.4
On Mon, Jul 26, 2021 at 12:06:28AM +, ChiaWei Wang wrote:
> Hi Tom,
>
> > From: Tom Rini
> > Sent: Saturday, July 24, 2021 8:57 PM
> >
> > On Tue, Jul 20, 2021 at 02:38:31PM +0800, Chia-Wei Wang wrote:
> >
> > > From: Joel Stanley
> > >
> > > Currently the FIT verification calls directly i
Hi Tom,
On Sun, 25 Jul 2021 at 14:32, Tom Rini wrote:
>
> On Sun, Jul 25, 2021 at 10:13:42AM -0600, Simon Glass wrote:
>
> > The original patch of this series was sent in September 2019 but
> > unfortunately caused build problems on some boards, since they don't
> > comply with the of-platdata ru
Hi Jaehoon,
Thanks for the review.
> -Original Message-
> From: Jaehoon Chung
> Sent: Monday, July 26, 2021 3:18 AM
> To: Ashok Reddy Soma ; u-boot@lists.denx.de
> Cc: peng@nxp.com; faiz_ab...@ti.com; s...@chromium.org;
> mich...@walle.cc; git ; mon...@monstr.eu;
> somaashokre...@gma
Hi Ashok,
On 7/26/21 2:33 PM, Ashok Reddy Soma wrote:
> Hi Jaehoon,
>
> Thanks for the review.
>
>> -Original Message-
>> From: Jaehoon Chung
>> Sent: Monday, July 26, 2021 3:18 AM
>> To: Ashok Reddy Soma ; u-boot@lists.denx.de
>> Cc: peng@nxp.com; faiz_ab...@ti.com; s...@chromium.o
- Enable DM SATA, removed IDE driver, add SATA MV driver.
- Use Ethernet PHY names from device tree.
- Replace the old Ethernet PHY addr lookup with a device tree parsing
lookup function.
Tony Dinh (3):
arm: kirkwood: Dreamplug: Add DM Ethernet and DM SATA configs
arm: kirkwood: Dreamplug:
Add DM_ETH, SATA_MV and associated configs to dreamplug_defconfig
Signed-off-by: Tony Dinh
---
configs/dreamplug_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/dreamplug_defconfig b/configs/dreamplug_defconfig
index 8956d2f3c5..516e28752c 100644
--- a/configs/dreamplu
In DM Ethernet, the old "egiga0" and 'egiga1" names are no longer valid,
so replace these with Ethernet PHY names from device tree. Also, read
Ethernet PHY address for each port from device tree.
Signed-off-by: Tony Dinh
---
board/Marvell/dreamplug/dreamplug.c | 62 ++---
- Enable DM SATA, removed IDE driver, and add SATA MV driver.
- Use ethernet PHY names from device tree in default boot command
Signed-off-by: Tony Dinh
---
include/configs/dreamplug.h | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/include/configs/dreamplug.h
Hi Tom,
> -Original Message-
> From: Tom Rini
> Sent: 2021年7月22日 23:26
> To: Z.Q. Hou ; Michael Walle ;
> Heinrich Schuchardt
> Cc: u-boot@lists.denx.de; Priyanka Jain
> Subject: Re: [PATCH] configs: layerscape: Disable the EFI_LOADER feature
>
> On Thu, Jul 22, 2021 at 02:25:59PM +080
Am 2021-07-26 08:18, schrieb Z.Q. Hou:
Hi Tom,
-Original Message-
From: Tom Rini
Sent: 2021年7月22日 23:26
To: Z.Q. Hou ; Michael Walle ;
Heinrich Schuchardt
Cc: u-boot@lists.denx.de; Priyanka Jain
Subject: Re: [PATCH] configs: layerscape: Disable the EFI_LOADER
feature
On Thu, Jul 2
On Tue, Jul 20, 2021 at 04:28:34AM +0800, Heinrich Schuchardt wrote:
> Provide library functions to read:
>
> * SBI implementation version
> * machine vendor ID
> * machine architecture ID
> * machine implementation ID
>
> Signed-off-by: Heinrich Schuchardt
Reviewed-by: Leo Yu-Chi Liang
66 matches
Mail list logo