This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected.
Signed-off-by: Heiko Thiery
---
configs/imxrt1020-evk_defconfig | 2 --
configs/imxrt1050-evk_defconfig | 2 --
2 files changed, 4 deletions(-)
diff --git a/configs/imxrt1020-evk_defconfig b/configs/imxrt1020-evk_defc
The clock composite is required when using the clock framework. So
select it automatically.
Signed-off-by: Heiko Thiery
---
drivers/clk/imx/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index a2cd0347c3..cdd348020b 100644
--- a/
This option is selected implicitly when [SPL_]CLK_IMX8MN is selected.
Signed-off-by: Heiko Thiery
---
configs/imx8mn_beacon_2g_defconfig | 2 --
configs/imx8mn_beacon_defconfig| 2 --
configs/imx8mn_ddr4_evk_defconfig | 2 --
configs/imx8mn_evk_defconfig | 2 --
4 files changed, 8 del
The clock composite is required when using the clock framework. So
select it automatically.
Signed-off-by: Heiko Thiery
---
drivers/clk/imx/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 96721bcbf3..a2cd0347c3 100644
--- a/dr
add kaslrseed key word to extlinux.conf,
which means generate kaslr-seed for linux
with this patch exlinux.conf boot item looks like
label l0
menu testing
linux /boot/vmlinuz-5.15.16-arm
initrd /boot/initramfs-5.15.16-arm.img
fdtdir /boot/dtbs/5.15.16-arm/
On Fri, 5 Nov 2021 16:46:07 -0500
Samuel Holland wrote:
> On 11/5/21 9:43 AM, Heinrich Schuchardt wrote:
> > On 10/21/21 06:52, Samuel Holland wrote:
> >> This, along with gpio_flags_xlate(), allows the GPIO driver to handle
> >> pull-up/down flags provided by consumer drivers or in the device
On Fri, 5 Nov 2021 15:12:16 +0100
Heinrich Schuchardt wrote:
> On 10/21/21 06:52, Samuel Holland wrote:
> > The GPIO and pinctrl drivers need these setters for pin configuration.
> > Since they are DM drivers, they should not be using hardcoded base
> > addresses. Factor out variants of the sette
Really late to the party but...
On Fri, 21 Jan 2022 at 17:31, Tom Rini wrote:
>
> On Fri, Jan 21, 2022 at 08:20:17AM -0700, Simon Glass wrote:
> > Hi,
> >
> > On Fri, 21 Jan 2022 at 08:08, Tom Rini wrote:
> > >
> > > On Wed, Jan 19, 2022 at 12:39:03PM +0100, Heinrich Schuchardt wrote:
> > > > On
On Sat, 29 Jan 2022 10:23:09 -0500
Jesse Taube wrote:
> From: Icenowy Zheng
>
> The Lichee Pi Nano is a board based on the F1C100s.
> Add defconfigs for it.
Looks very nice now, many thanks!
>
> Signed-off-by: Icenowy Zheng
> Signed-off-by: Jesse Taube
Reviewed-by: Andre Przywara
Cheers
On Sat, 29 Jan 2022 10:23:08 -0500
Jesse Taube wrote:
> From: Icenowy Zheng
>
> Add device tree files for suniv and
> Lichee Pi Nano it is a board based on F1C100s.
> dt-bindings/dts are synced with 5.16.0
Many thanks, that looks correct now. Confirmed that the files match
exactly the Linux tr
On Sat, 29 Jan 2022 10:23:07 -0500
Jesse Taube wrote:
> 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.
Hey, many thanks for getting rid of those #ifdef's!
There is one
On Sat, 29 Jan 2022 10:23:01 -0500
Jesse Taube wrote:
> Both armv7 and arm926ejs use this timer code so move it to mach-sunxi.
>
> Signed-off-by: Jesse Taube
Reviewed-by: Andre Przywara
Thanks,
Andre
> ---
> V1->V2:
> * New commit
> V2->V3:
> * Remove timer.o from armv7 Makefile
> ---
> ar
Hi Joe,
On Mon, 24 Jan 2022 at 18:04, Joe Perches wrote:
>
> On Sun, 2022-01-23 at 13:12 -0700, Simon Glass wrote:
> > Hi Joe,
> >
> > On Sun, 23 Jan 2022 at 09:27, Joe Perches wrote:
> > >
> > > On Sun, 2022-01-23 at 11:19 -0500, Tom Rini wrote:
> > > > On Sun, Jan 23, 2022 at 08:10:37AM -0800,
Hi Heinrich,
On Mon, 24 Jan 2022 at 21:21, Heinrich Schuchardt wrote:
>
> On 1/22/22 02:16, Simon Glass wrote:
> > When we have the block descriptor we can simply access the device. Drop
> > the unnecessary function call.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > lib/efi_loader/efi_de
Hi Heinrich,
On Mon, 24 Jan 2022 at 20:54, Heinrich Schuchardt wrote:
>
> On 1/22/22 02:16, Simon Glass wrote:
> > The operation of this function can be confusing. Add some debugging so
> > we can see what it is doing and when it is called.
> >
> > Also drop the preprocessor usage.
> >
> > Signed
When we have the block descriptor we can simply access the device. Drop
the unnecessary function call.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/efi_loader/efi_device_path.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/lib/efi_loader/efi_de
Use this function rather than following the pointers, since it is there
for this purpose.
Add the uclass name to the debug call at the end of dp_fill() since it is
quite useful.
Signed-off-by: Simon Glass
---
Changes in v2:
- Drop the uclass id
lib/efi_loader/efi_device_path.c | 10 +-
The operation of this function can be confusing. Add some debugging so
we can see what it is doing and when it is called.
Also drop the preprocessor usage.
Signed-off-by: Simon Glass
---
Changes in v2:
- Update one of the debug messages
cmd/bootefi.c | 32 +---
1 f
On 1/29/22 22:09, Simon Glass wrote:
Hi Heinrich,
On Fri, 28 Jan 2022 at 11:42, Heinrich Schuchardt
wrote:
On RISC-V a new UEFI protocol has been introduced. Support printing
its GUID using %pUs.
Cc: Sunil V L
Signed-off-by: Heinrich Schuchardt
---
cf.
[RFC PATCH V2 1/2] efi_loader: Ena
This function is used by both x86 and sandbox. Put it in a common header
file.
Signed-off-by: Simon Glass
---
arch/sandbox/include/asm/acpi_table.h | 2 +-
arch/x86/include/asm/acpi_table.h | 2 --
include/acpi/acpi_table.h | 10 ++
3 files changed, 11 insertions(+), 3
Function efi_esrt_populate() is used to populate the ESRT table.
If one of the FMP protocols malfunctions when calling GetImageInfo(),
e.g because the dfu environment variables are not set, we should still
add all other FMP protocols to the ESRT table, e.g the one added in the
ESRT unit test.
On 1/29/22 16:21, Giulio Benetti wrote:
On 29/01/22 22:19, Jesse Taube wrote:
On 1/29/22 16:05, Jesse Taube wrote:
On 1/29/22 15:59, Samuel Holland wrote:
On 1/29/22 5:51 AM, Andre Przywara wrote:
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
On 1/26/22 09:38, Jesse Taube wro
On 29/01/22 22:19, Jesse Taube wrote:
On 1/29/22 16:05, Jesse Taube wrote:
On 1/29/22 15:59, Samuel Holland wrote:
On 1/29/22 5:51 AM, Andre Przywara wrote:
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
On 1/26/22 09:38, Jesse Taube wrote:
On 1/26/22 09:13, Andre Przywara wrote:
Hi Jesse, Andre, All,
> Il giorno 29 gen 2022, alle ore 20:24, Jesse Taube
> ha scritto:
>
>
>
>> On 1/29/22 06:51, Andre Przywara wrote:
>>> On Fri, 28 Jan 2022 22:21:28 -0500
>>> Jesse Taube wrote:
>>> On 1/26/22 09:38, Jesse Taube wrote:
On 1/26/22 09:13, Andre Przywara
On 1/29/22 16:05, Jesse Taube wrote:
On 1/29/22 15:59, Samuel Holland wrote:
On 1/29/22 5:51 AM, Andre Przywara wrote:
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
On 1/26/22 09:38, Jesse Taube wrote:
On 1/26/22 09:13, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:35:06 -0500
J
Hi Jesse, Andre,
On 29/01/22 22:05, Jesse Taube wrote:
On 1/29/22 15:59, Samuel Holland wrote:
On 1/29/22 5:51 AM, Andre Przywara wrote:
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
On 1/26/22 09:38, Jesse Taube wrote:
On 1/26/22 09:13, Andre Przywara wrote:
On Tue, 4 Jan 2022
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/buildman/builder.py | 68 ++---
tools/buildman/control.py | 4 +--
tools/buildman/func_test.py | 10 +++---
tools/buildman/test.py | 8 ++---
tools/
This method has the same name as its class which is confusing. It is also
annoying when searching the code.
It builds a string with a colour, so rename it to build().
Signed-off-by: Simon Glass
---
tools/binman/bintool.py | 8
tools/buildman/builder.py | 24
This is only for posterity, since once the conversion is done, the script
is of no use.
Signed-off-by: Simon Glass
---
scripts/style.py | 180 +++
1 file changed, 180 insertions(+)
create mode 100755 scripts/style.py
diff --git a/scripts/style.py b/
Update the new baseline since various scores have improved.
Signed-off-by: Simon Glass
---
scripts/pylint.base | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/scripts/pylint.base b/scripts/pylint.base
index 8c650f25729..3fc1a1148ce 100644
--- a/s
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/binman/bintool.py | 10 ++---
tools/binman/control.py | 44 +-
tools/binman/elf.py | 6 +--
tools/binman/elf_test.py
Rename this function so that when we convert it to snake case it will not
conflict with the built-in print() function.
Signed-off-by: Simon Glass
---
tools/buildman/builder.py | 56 +++
tools/buildman/control.py | 4 +--
tools/patman/main.py | 2 +-
to
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/buildman/builder.py | 12 ++--
tools/buildman/builderthread.py | 2 +-
tools/buildman/control.py | 10 +--
tools/buildman/func_test.py | 4 +-
tools/patman/checkpatch.py
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/binman/main.py | 6 +++---
tools/dtoc/main.py| 6 +++---
tools/dtoc/test_fdt.py| 2 +-
tools/patman/main.py | 2 +-
tools/patman/test_util.py | 6 +++---
5 files changed
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/test_checkpatch.py | 68 -
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git a/tools/patman/test_checkpatch.py b/tools/patman/test_checkpatc
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/func_test.py | 50 +++
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index d
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/get_maintainer.py | 6 +++---
tools/patman/series.py | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/patman/get_maintainer.py b/tools/patman/get_ma
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/command.py | 2 +-
tools/patman/cros_subprocess.py | 59 +
2 files changed, 31 insertions(+), 30 deletions(-)
diff --git a/tools/patman/comman
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/main.py| 2 +-
tools/patman/project.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/patman/main.py b/tools/patman/main.py
index 393ef7cf4c7..c75e8c4
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/checkpatch.py | 22 +++---
tools/patman/control.py | 2 +-
tools/patman/test_checkpatch.py | 12 ++--
3 files changed, 18 insertions(+), 18 deleti
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/patman/commit.py | 10 +-
tools/patman/patchstream.py | 8
tools/patman/series.py | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/tools/p
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass
---
tools/binman/bintool.py | 2 +-
tools/binman/elf.py | 2 +-
tools/binman/elf_test.py| 2 +-
tools/binman/ftest.py | 2 +-
tools/buildman/builder.py |
Much of the Python code in U-Boot was written using the Chromium OS Python
style.
This series converts the patman class methods and functions from
camel case to snake case. This fits with PEP8 and is one step along the
way to making the code more compliant with that.
Simon Glass (17):
patman:
Hi Alper,
On Sat, 29 Jan 2022 at 08:22, Alper Nebi Yasak wrote:
>
> Commit 37f815cad07d ("moveconfig: Use a function to read files") adds a
> helper function that can read a file as lines, but strips the newline
> characters. This change broke parts of moveconfig code that relied on
> their exist
Hi Heinrich,
On Fri, 28 Jan 2022 at 11:42, Heinrich Schuchardt
wrote:
>
> On RISC-V a new UEFI protocol has been introduced. Support printing
> its GUID using %pUs.
>
> Cc: Sunil V L
> Signed-off-by: Heinrich Schuchardt
> ---
> cf.
> [RFC PATCH V2 1/2] efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL
On 1/29/22 15:59, Samuel Holland wrote:
On 1/29/22 5:51 AM, Andre Przywara wrote:
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
On 1/26/22 09:38, Jesse Taube wrote:
On 1/26/22 09:13, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:35:06 -0500
Jesse Taube wrote:
u32 spl_boot_
On 1/29/22 5:51 AM, Andre Przywara wrote:
> On Fri, 28 Jan 2022 22:21:28 -0500
> Jesse Taube wrote:
>> On 1/26/22 09:38, Jesse Taube wrote:
>>> On 1/26/22 09:13, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:35:06 -0500
Jesse Taube wrote:
>u32 spl_boot_device(void)
>
Currently the cls command does not support the serial console
The screen can be cleared in the video uclass, the colored frame buffer
console, and the serial console by sending the same escape sequence.
The cls command only needs a single printf() statement in most cases.
This patch drops support
On 1/29/22 06:51, Andre Przywara wrote:
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
On 1/26/22 09:38, Jesse Taube wrote:
On 1/26/22 09:13, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:35:06 -0500
Jesse Taube wrote:
Hi Jesse,
I was checking some bits and pieces here, so sorr
Use parenthesis for the device_get_ops macro argument. This prevents
errors when using an expression for the parameter.
Signed-off-by: Sughosh Ganu
---
include/dm/device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/dm/device.h b/include/dm/device.h
index f7900417
On Wed, Jan 26, 2022 at 3:25 PM Adam Ford wrote:
>
> The i.MX8M Nano can boot over USB using the boot ROM instead of
> adding extra code to SPL to support USB drivers, etc. However,
> when booting from USB, the environment doesnt' know where to load
> and causes a hang. Fix this hang by supporti
Hi Angus,
On Fri, Jan 28, 2022 at 1:21 PM Angus Ainslie wrote:
>
> SION (Software Input On Field) - force the select mode input path
>
> Signed-off-by: Angus Ainslie
> ---
> arch/arm/dts/imx8mq-pinfunc.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/dts/imx8mq-pinfunc.h b/ar
On Wed, Jan 19, 2022 at 01:33:43AM +0100, Heinrich Schuchardt wrote:
> For printing phys_addr_t we should use %pa to avoid warning like:
>
> drivers/bootcount/bootcount_syscon.c:110:17: note: in expansion of macro
> ‘dev_err’
> 110 | dev_err(dev, "%s: Unsupported register size:
On Tue, Jan 18, 2022 at 10:26:21AM +0100, Patrick Delaunay wrote:
> Align the DFU MTD backend for the UBI partitions with the mtd command write
> behavior when the option .dontskipff is not used: don't write the empty
> pages (full of 0xFF); it is not required for UBI, see [1] for details.
>
> Th
On Wed, Jan 19, 2022 at 04:23:21PM +0800, Jamin Lin wrote:
> Add to support rsa 3072 bits algorithm in tools
> for image sign at host side and adds rsa 3072 bits
> verification in the image binary.
>
> Add test case in vboot for sha384 with rsa3072 algorithm testing.
>
> Signed-off-by: Jamin Lin
On Sat, Jan 22, 2022 at 05:03:50AM -0700, Simon Glass wrote:
> This probably should have been done a while back since it is a core
> system. Very few boards remain to be migrated.
>
> Addd a migration deadline for a year out.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
On Fri, Jan 21, 2022 at 10:23:01AM -0700, Simon Glass wrote:
> Coreboot supports U-Boot as a payload and this recently got a bit of a
> facelist. Add a test for this.
>
> For now this uses a binary build of coreboot (v4.15). Future work could
> potentially build it from source, but we need to fig
On Fri, Jan 21, 2022 at 12:47:54PM +0530, Vignesh Raghavendra wrote:
> Enable config options needed to support Ethernet boot on AM64x SK.
>
> Signed-off-by: Vignesh Raghavendra
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Jan 21, 2022 at 12:47:53PM +0530, Vignesh Raghavendra wrote:
> With Ethboot support in SPL, network stack requires more BSS area, so
> increase BSS max size to 16K
>
> Signed-off-by: Vignesh Raghavendra
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signatur
On Fri, Jan 21, 2022 at 12:47:52PM +0530, Vignesh Raghavendra wrote:
> ROM supports cpsw_port2 for Ethernet boot and SPL stages continue to
> download images on the same port, therefore there is no need to enable
> cpsw_port1. Disable the same.
>
> Signed-off-by: Vignesh Raghavendra
Applied to
On Fri, Jan 21, 2022 at 12:47:51PM +0530, Vignesh Raghavendra wrote:
> Replace error case print with meaning full message.
>
> Signed-off-by: Vignesh Raghavendra
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Jan 17, 2022 at 04:38:40PM +0100, Pali Rohár wrote:
> Allow to call 'pci' and 'pci regions' commands with bus option '*' which
> cause pci to process all buses.
>
> PCIe is point-to-point HW and so on each bus is maximally one physical
> device. Therefore for PCIe it is common to have mul
On Mon, Jan 17, 2022 at 04:38:39PM +0100, Pali Rohár wrote:
> Currently pci command ignores invalid cmdline arguments and do something.
> Add checks that all passed arguments were processed.
>
> Signed-off-by: Pali Rohár
> Reviewed-by: Stefan Roese
Applied to u-boot/master, thanks!
--
Tom
On Mon, Jan 17, 2022 at 04:38:38PM +0100, Pali Rohár wrote:
> 'pci regions' currently prints only region information from bus 0 which
> belongs to controller 0. Parser for 'pci regions' cmdline currently ignores
> any additional arguments and so U-Boot always uses bus 0.
>
> Regions are stored in
On Mon, Jan 17, 2022 at 04:38:37PM +0100, Pali Rohár wrote:
> Initially it is set to dev_seq but update to the last bus number is
> missing. Fix it.
>
> Signed-off-by: Pali Rohár
> Reviewed-by: Stefan Roese
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Jan 17, 2022 at 04:25:41PM +0100, Heiko Thiery wrote:
> Currently the names MMC1, MMC2 and MMC2_2 are output in the SPL. To
> achieve more userbility here the name of the boot source can be returned.
> E.g. for "MMC1" -> "eMMC" or "MMC2" -> "SD card".
>
> Signed-off-by: Heiko Thiery
> Re
File device path nodes may contain non-ASCII characters. Correctly
truncate the text if it does not fit into the buffer.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_device_path_to_text.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/efi_loader/efi_devi
Up to now printing UTF-16 strings with snprintf() resulted in correct
truncation of printed strings. But the returned required buffer length
was incorrect.
* fix function string16()
* provide a unit test
Heinrich Schuchardt (2):
lib: fix snprintf() for UTF-16 strings
test: test UTF-16 truncat
Check that snprintf() returns the correct required buffer length and prints
the correct string for UTF-16 strings.
Signed-off-by: Heinrich Schuchardt
---
test/unicode_ut.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/test/unicode_ut.c b/test/unicode_ut.c
i
snprintf() must return the required buffer length.
Signed-off-by: Heinrich Schuchardt
---
lib/vsprintf.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 2c84649fa8..779efc30bc 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf
This converts the following to Kconfig:
CONFIG_REMAKE_ELF
Signed-off-by: Alper Nebi Yasak
---
Added the Kconfig fragment and just ran `moveconfig.py --commit --yes`
at commit 6146cd62aedc ("Merge branch '2022-01-24-assorted-updates'"),
before the recent changes. Also ran it with my moveconfig
Although it isn't known what bit 0 in PHY reg 8 does, it's obvious that
it has to be set before read calibration and cleared afterwards. This is
already done for first rank, but not for second (copy & paste error.)
Fix it.
Fixes: f4317dbd06b6 ("sunxi: Add H616 DRAM support")
Signed-off-by: Jernej
Kconfig symbol is missing CONFIG_ prefix, so compiler will always
skip ODT configuration.
Fix symbol name.
Fixes: f4317dbd06b6 ("sunxi: Add H616 DRAM support")
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/dram_sun50i_h616.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
At closer inspection of H616 DRAM code I found two issues:
1. ODT is never configured due to missing CONFIG_ prefix in check
2. Dual rank read calibration never exits calibration mode
Only first issue is important to fix for currently supported boards.
Fixing second one is future proofing.
Please
On Sat, Jan 29, 2022 at 03:04:48PM +0200, Ilias Apalodimas wrote:
> Hi Zhang,
>
> On Sat, Jan 29, 2022 at 10:06:53AM +0800, Zhang Ning wrote:
> > add kaslrseed key word to extlinux.conf,
> > which means generate kaslr-seed for linux
> >
> > with this patch exlinux.conf boot item looks like
>
> I
The output size for snprint() should not only be respected for whole fields
but also with fields. Add more tests.
Signed-off-by: Heinrich Schuchardt
---
test/print_ut.c | 12
1 file changed, 12 insertions(+)
diff --git a/test/print_ut.c b/test/print_ut.c
index 194387f169..8b3e0ea41
U-Boot can be chainloaded from vendor firmware on ARM64 chromebooks from
a GPT partition (roughly the same as in doc/chromium/chainload.rst), but
an appropriate image header must be built-in to the U-Boot binary by
enabling LINUX_KERNEL_IMAGE_HEADER.
This header has a field for an image load offse
Setting LINUX_KERNEL_IMAGE_HEADER=y attempts to include an ARM64 Linux
kernel image header at the start of both U-Boot proper and SPL binaries.
However, some definitions that the image header uses are not included by
the SPL linker script, resulting in a build error. Include them the way
they are i
From: Icenowy Zheng
The Lichee Pi Nano is a board based on the F1C100s.
Add defconfigs for it.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Add SKIP_LOWLEVEL_INIT_ONLY
* Remove spi defconfig
V2->V3:
* Move SYS_MALLOC_F_LEN to kconf and format it
* Move SYS_LOAD_ADDR to
From: Icenowy Zheng
Add device tree files for suniv and
Lichee Pi Nano it is a board based on F1C100s.
dt-bindings/dts are synced with 5.16.0
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Sync with Linux
* Re-add MMC node
V2->V3:
* Add ifndef for mmc in sunxi-u-boot.dts
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
Signed-off-by: Jesse Taube
---
V1->V2:
* Remove change in s_init (sunxi: remove lowlevel_init)
V2->V
From: Icenowy Zheng
Adds support for SUNIV and the F1C100s.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Combine ifdefs
* Fix indentation
* Fix negative logic
* Fix rebase artifacts
* Remove CONFIG_SYS_LOAD_ADDR
* Remove CONFIG_ENV_SECT_SIZ
From: Icenowy Zheng
Add support for F1C100s internal dram controller.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Nothing done
V2->V3:
* Nothing done
---
arch/arm/include/asm/arch-sunxi/dram.h | 2 +
arch/arm/include/asm/arch-sunxi/dram_suniv.h | 46 ++
arch
From: Icenowy Zheng
Generic Timer Extension is not available on SUNIV.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Nothing done
V2->V3:
* Nothing done
---
board/sunxi/board.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
From: Icenowy Zheng
This patch aims to add header files for the suniv.
The header files included add support for uart, and clocks.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Change commit description and topic
* Change PLL6_CFG_DEFAULT
*
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
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Fix Copyright notice
* Remove lowlevel_init
* Remove replaced timer.c
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
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Nothing don
Both armv7 and arm926ejs use this timer code so move it to mach-sunxi.
Signed-off-by: Jesse Taube
---
V1->V2:
* New commit
V2->V3:
* Remove timer.o from armv7 Makefile
---
arch/arm/cpu/armv7/sunxi/Makefile| 1 -
arch/arm/mach-sunxi/Makefile | 3 +++
arch/arm/{
This patch set aims to add support for the SUNIV and F1C100s.
Support has been in linux for a while now, but not in u-boot.
This patchset contains:
- CPU specific initialization code
- SUNIV dram driver
- SUNIV clock driver adaption
- SUNIV gpio driver adaption
- SUNIV uart driver adaption
- F1C10
Commit 37f815cad07d ("moveconfig: Use a function to read files") adds a
helper function that can read a file as lines, but strips the newline
characters. This change broke parts of moveconfig code that relied on
their existence, resulting in a few issues:
Configs that are defined as empty aren't r
On 1/28/22 10:08, Heinrich Schuchardt wrote:
sdl.c is compiled against the SDL library.
Trying to redefine wchar_t with -fshort-wchar is not necessary
and leads to build failures when compiling against musl.
Cc: Milan P. Stanić
Signed-off-by: Heinrich Schuchardt
---
v2:
fix a build
Some usb-nop-xceiv devices use a gpio take them out
of reset. Add a reset function to put them into that
state. This is similar to how Linux handles the
usb-nop-xceiv driver.
Signed-off-by: Adam Ford
---
V4: Fix build errors on k2e_evm
V3: Encapsulate the nop_phy_ops reference to nop_phy_res
Hi Zhang,
On Sat, Jan 29, 2022 at 10:06:53AM +0800, Zhang Ning wrote:
> add kaslrseed key word to extlinux.conf,
> which means generate kaslr-seed for linux
>
> with this patch exlinux.conf boot item looks like
I am not too familiar with the extlinux stuff in U-Boot. Does that boot
with efi or
On Sat, Jan 22, 2022 at 12:02:02PM -0600, Adam Ford wrote:
> Some usb-nop-xceiv devices use a gpio to put them in and
> out of reset. Add a reset function to put them into that
> state. This is similar to how Linux handles the
> usb-nop-xceiv driver.
>
> Signed-off-by: Adam Ford
> ---
> V3: E
On Thu, Jan 13, 2022 at 02:28:45PM +0100, Lars Weber wrote:
> Signed-off-by: Lars Weber
> ---
> fs/squashfs/sqfs.c | 5 +
> 1 file changed, 5 insertions(+)
>
> }
>
> diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
> index e2d91c654c..9a81e79622 100644
> --- a/fs/squashfs/sq
On Fri, Jan 28, 2022 at 09:31:07PM -0700, Simon Glass wrote:
> The current Makefile rule requires there to be a 'Module' line in the
> pylint output, like this:
>
>* Module binman.fip_util
>
> This line only appears if pylint has some comments about the module. We
> cannot rely o
On Fri, 28 Jan 2022 22:21:28 -0500
Jesse Taube wrote:
> On 1/26/22 09:38, Jesse Taube wrote:
> >
> >
> > On 1/26/22 09:13, Andre Przywara wrote:
> >> On Tue, 4 Jan 2022 19:35:06 -0500
> >> Jesse Taube wrote:
> >>
> >> Hi Jesse,
> >>
> >> I was checking some bits and pieces here, so sorry fo
On Fri, 28 Jan 2022 22:01:29 -0500
Jesse Taube wrote:
> On 1/28/22 21:37, Andre Przywara wrote:
> > On Fri, 28 Jan 2022 21:31:28 -0500
> > Jesse Taube wrote:
> >
> >> On 1/28/22 21:25, Andre Przywara wrote:
> >>> On Wed, 26 Jan 2022 08:53:28 -0500
> >>> Jesse Taube wrote:
> >>>
> >>>
On Fri, 28 Jan 2022 21:42:44 -0500
Jesse Taube wrote:
Hi Jesse,
> On 1/28/22 21:05, Andre Przywara wrote:
> > On Wed, 26 Jan 2022 08:53:20 -0500
> > Jesse Taube wrote:
> >
> >> From: Icenowy Zheng
> >>
> >> Some Allwinner SoCs use ARM926EJ-S core.
> >>
> >> Add Allwinner/sunXi specific code
Hi:
Override the env_fat_get_dev_part function in the board file, you can
load env from sdcard or emmc without modifying any configuration
of u-boot, it is very useful for building wic firmware by yocto.
it has been done under env/ext4.c
At 2022-01-27 23:05:57, "Simon Glass"
100 matches
Mail list logo