For Kirkwood boards, it is necessary to have early malloc in DRAM area
when Driver Model for Serial is enabled. Please see Michael's patch here:
https://lore.kernel.org/u-boot/20220817193809.1059688-20-mich...@walle.cc/
This patch enables the early malloc in DRAM for all Kirkwood boards.
Note
In preparation of adding the infodocs target to our CI install the
prerequisite texinfo software package.
Signed-off-by: Heinrich Schuchardt
---
tools/docker/Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index
Provide a man-page describing how to build the U-Boot documentation.
Signed-off-by: Heinrich Schuchardt
---
doc/build/documentation.rst | 90 +
doc/build/index.rst | 1 +
2 files changed, 91 insertions(+)
create mode 100644
On Sat, 26 Nov 2022 17:59:14 +0100, Safae Ouajih wrote:
> * This is based on Roman Stratiienko's work to support boot image header
> version 3 and 4.
>
> * This supports the new boot image headers v3, v4 and bootconfig feature.
>
[BUG]
Since btrfs supports single device RAID0 at mkfs time after btrfs-progs
v5.14, if we create a single device raid0 btrfs, and created a file
crossing stripe boundary:
# mkfs.btrfs -m dup -d raid0 test.img
# mount test.img mnt
# xfs_io -f -c "pwrite 0 128K" mnt/file
# umount mnt
On 2022/12/29 22:12, Heinrich Schuchardt wrote:
On 12/28/22 21:51, Sam Winchenbach wrote:
Hello,
Hello, I have hit the following situation when trying to load files
from a BTRFS partition with duplication enabled.
You mean multi-device?
For DUP/RAID1 duplication, they don't have stripe
On Thu, Dec 29, 2022 at 04:54:35PM -0600, Simon Glass wrote:
> Hi Tom,
>
> If I:
>
> 1. Revert 9ef3ba85bf3 kbuild: Remove checking for adhoc CONFIG symbols
> 2. rm scripts/config_whitelist.txt
> 3. run ./scripts/build-whitelist.sh
>
> Then I get about 930 unmirgrated CONFIG options:
>
> $ wc
> From: Dzmitry Sankouski
> Date: Mon, 26 Dec 2022 22:49:24 +0300
>
> Modern mobile phones typically have high pixel density.
> Bootmenu is hardly readable on those with 8x16 font.
>
> This patch series aims to add wider fonts for devices with high ppi.
>
> Add 16x32 ter font from linux, and
Hi Tom,
If I:
1. Revert 9ef3ba85bf3 kbuild: Remove checking for adhoc CONFIG symbols
2. rm scripts/config_whitelist.txt
3. run ./scripts/build-whitelist.sh
Then I get about 930 unmirgrated CONFIG options:
$ wc scripts/config_whitelist.txt
930 930 21243 scripts/config_whitelist.txt
It
Hi Dzmitry,
On Mon, 26 Dec 2022 at 13:50, Dzmitry Sankouski wrote:
>
> Devices with high ppi may benefit from wider fonts.
>
> Current width implementation is limited by 1 byte, i.e. 8 bits.
> New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
> width bytes, thus allowing fonts
Hi Dzmitry,
On Tue, 27 Dec 2022 at 07:44, Dzmitry Sankouski wrote:
>
> Modern mobile phones typically have high pixel density.
> Bootmenu is hardly readable on those with 8x16 font.
>
> Add 16x32 ter font from linux, and allow font size configuration.
That second bit should really be in a
On Fri, 23 Dec 2022 at 02:57, Neal Frager wrote:
>
> Enable CONFIG_OF_SEPARATE, so that the u-boot.dtb is built by default for
> versal devices.
>
> Signed-off-by: Neal Frager
> ---
> configs/xilinx_versal_virt_defconfig | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass
For
Hi Pali,
On Wed, 28 Dec 2022 at 14:06, Pali Rohár wrote:
>
> U-Boot build process currently always produces broken u-boot-dtb.bin binary
> for PowerPC mpc85xx architecture on boards which needs mpc85xx reset
> vector. For these boards this (intermediate) binary is not used as input
> for any
Hi Dzmitry,
On Mon, 26 Dec 2022 at 13:50, Dzmitry Sankouski wrote:
>
> - get rid of code duplications in switch across bpp values
> - extract common pixel fill logic in two functions one per
> horizontal and vertical filling
> - rearrange statements in put_xy* methods in unified way
> - replace
Hi Brandon,
On Tue, 27 Dec 2022 at 09:16, Brandon Maier wrote:
>
> Update the zstd implementation to match Linux zstd 1.5.2 from commit
> 2aa14b1ab2.
>
> This was motivated by running into decompression corruption issues when
> trying to uncompress files compressed with newer versions of zstd.
Hi Dzmitry,
On Mon, 26 Dec 2022 at 13:49, Dzmitry Sankouski wrote:
>
> Put video console driver code in one file.
This isn't quite true as we still have TrueType.
Also, what combine them?
>
> Signed-off-by: Dzmitry Sankouski
> ---
> drivers/video/Kconfig | 8 +-
>
+Kever Yang
On Thu, 22 Dec 2022 at 18:30, Marcin Woźniak wrote:
>
> Hello,
>
> I would like to let you know how i've lost about 2 weeks because of lack
> of Rockchip BOOTROM documentation.
>
> I tried to use Mainline Uboot to Boot NanoPI R2S using soldered SPI
> Winbond 25Q256 chip.
>
> I had to
On Wed, 28 Dec 2022 at 16:54, Brandon Maier wrote:
>
> Use the ut_assert macros for more useful error messages.
>
> Signed-off-by: Brandon Maier
> ---
> test/compression.c | 56 +-
> 1 file changed, 25 insertions(+), 31 deletions(-)
>
Reviewed-by:
On Wed, 28 Dec 2022 at 16:54, Brandon Maier wrote:
>
> The Linux kernel appends 4 bytes to the end of compressed kernel Images
> containing the uncompressed image size. They are used to make
> self-decompressing Images easier. However for archs that don't support
> self-decompression, like ARM64,
Hi Dzmitry,
On Mon, 26 Dec 2022 at 13:50, Dzmitry Sankouski wrote:
>
> Remove video_font_4x6.h file because it's unused.
>
> Signed-off-by: Dzmitry Sankouski
> ---
> drivers/video/Kconfig|6 -
> include/video_font.h |4 +-
> include/video_font_4x6.h | 2155
On Wed, 28 Dec 2022 at 09:27, Michael Walle wrote:
>
> The wget command uses TCP, but fails to select PROT_TCP in Kconfig.
> Instead it selects the non-existing symbol TCP. Fix the typo.
>
> Signed-off-by: Michael Walle
> ---
> cmd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
On Tue, 27 Dec 2022 at 10:48, Tom Rini wrote:
>
> The rockchip job is getting close to the hard time limit in Azure for
> the free tier. Split this in to 32bit and 64bit board jobs.
>
> Signed-off-by: Tom Rini
> ---
> .azure-pipelines.yml | 6 --
> 1 file changed, 4 insertions(+), 2
Hi Brandon,
On Tue, 27 Dec 2022 at 11:45, Maier, Brandon L Collins
wrote:
>
> Hi Sean,
>
> > From: Sean Anderson
> > On 12/27/22 09:46, Brandon Maier wrote:
> > > +static const unsigned long zstd_compressed_size = 197;
> >
> > You can use ARRAY_SIZE (or sizeof) for this.
>
> sizeof() - 1 as
Hi Pali,
On Wed, 28 Dec 2022 at 11:51, Pali Rohár wrote:
>
> On Wednesday 28 December 2022 17:50:43 Pali Rohár wrote:
> > And back to this issue...
> >
> > On Tuesday 02 August 2022 11:13:38 Pali Rohár wrote:
> > > Hello Tom!
> > >
> > > Your commit de47ff536363289f92f85ed1e4901724d238432d
On Wed, 28 Dec 2022 at 09:27, Michael Walle wrote:
>
> The compiler complains about the missing declaration of print_size():
> net/wget.c:415:3: warning: implicit declaration of function ‘print_size’
> [-Wimplicit-function-declaration]
>
> Fix it.
>
> Signed-off-by: Michael Walle
> ---
>
Hi Sean,
On Thu, 29 Dec 2022 at 10:53, Sean Anderson wrote:
>
> In order to read the firmware from the filesystem, we need a file name.
> Read the firmware name from the device tree, using the firmware-name
> property. This property is commonly used in Linux to determine the
> correct name to
Hi Sean,
On Thu, 29 Dec 2022 at 10:54, Sean Anderson wrote:
>
> This adds a new method to load Fman firmware from a filesystem. This
> allows users to use regular files instead of hard-coded offsets for the
> firmware.
>
> Signed-off-by: Sean Anderson
> Reviewed-by: Ramon Fried
> ---
>
> (no
On Thu, 29 Dec 2022 at 11:15, Pali Rohár wrote:
>
> sata_sil.c is PCI driver and without CONFIG_PCI is building of U-Boot failing:
>
> LD u-boot
> ld.bfd: drivers/ata/sata_sil.o: in function `sil_exec_cmd':
> drivers/ata/sata_sil.c:148: undefined reference to
Hi Heinrich,
On Thu, 29 Dec 2022 at 03:18, Heinrich Schuchardt wrote:
>
> Hello Simon,
>
> the sandbox prints the following line when started:
> "Reset Status: WARM Reset Status: COLD"
This seems to be when you use the -T flag.
>
> This does not make much sense. Either the last reset was WARM
On Thu, Dec 29, 2022 at 09:50:03AM -0500, Tom Rini wrote:
> In 96699f097a02 ("powerpc: mpc85xx: Use binman to embed dtb inside
> U-Boot") we introduce CONFIG_MPC85XX_HAVE_RESET_VECTOR and do so via
> Kconfig. However, much later in de47ff536363 ("Convert
> CONFIG_SYS_MPC85XX_NO_RESETVEC to
On Wed, Dec 28, 2022 at 10:52:51AM -0500, Tom Rini wrote:
> When converting CONFIG_SDCARD and CONFIG_SPIFLASH to Kconfig, one set of
> uses wasn't converted correctly. Allow for the case where platforms
> don't rely on "PBL" to boot but instead use other mechanisms. See the
> link below for more
On Wed, Dec 28, 2022 at 04:27:15PM +0100, Michael Walle wrote:
> The wget command uses TCP, but fails to select PROT_TCP in Kconfig.
> Instead it selects the non-existing symbol TCP. Fix the typo.
>
> Signed-off-by: Michael Walle
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Wed, Dec 28, 2022 at 04:27:14PM +0100, Michael Walle wrote:
> The compiler complains about the missing declaration of print_size():
> net/wget.c:415:3: warning: implicit declaration of function ‘print_size’
> [-Wimplicit-function-declaration]
>
> Fix it.
>
> Signed-off-by: Michael Walle
On Tue, Dec 27, 2022 at 11:48:08AM -0500, Tom Rini wrote:
> The rockchip job is getting close to the hard time limit in Azure for
> the free tier. Split this in to 32bit and 64bit board jobs.
>
> Signed-off-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description:
On Thu, Dec 29, 2022 at 02:54:07PM +0100, Heinrich Schuchardt wrote:
> The following changes since commit adcee0791f3318ead9b22879e2ce9409f400dcab:
>
> Merge https://source.denx.de/u-boot/custodians/u-boot-pmic
> (2022-12-26 21:00:20 -0500)
>
> are available in the Git repository at:
>
>
On Thursday 29 December 2022 09:50:03 Tom Rini wrote:
> In 96699f097a02 ("powerpc: mpc85xx: Use binman to embed dtb inside
> U-Boot") we introduce CONFIG_MPC85XX_HAVE_RESET_VECTOR and do so via
> Kconfig. However, much later in de47ff536363 ("Convert
> CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig") I
sata_sil.c is PCI driver and without CONFIG_PCI is building of U-Boot failing:
LD u-boot
ld.bfd: drivers/ata/sata_sil.o: in function `sil_exec_cmd':
drivers/ata/sata_sil.c:148: undefined reference to `dm_pci_phys_to_bus'
ld.bfd: drivers/ata/sata_sil.o: in function
This adds a new method to load Fman firmware from a filesystem. This
allows users to use regular files instead of hard-coded offsets for the
firmware.
Signed-off-by: Sean Anderson
Reviewed-by: Ramon Fried
---
(no changes since v1)
drivers/net/fm/fm.c | 25 -
In order to read the firmware from the filesystem, we need a file name.
Read the firmware name from the device tree, using the firmware-name
property. This property is commonly used in Linux to determine the
correct name to use (and can be seen in several device trees in U-Boot).
Signed-off-by:
The fs_loader device is used to pull in settings via the chosen node.
However, there was no library function for this, so arria10 was doing it
explicitly. This function subsumes that, and uses ofnode_get_chosen_node
instead of navigating the device tree directly. Because fs_loader pulls
its config
This adds support for loading Fman firmware from a filesystem using the
firmware loader subsystem. It was originally part of [1], but has been
split off because it is conceptually separate.
[1]
https://lore.kernel.org/u-boot/20220324182306.2037094-1-sean.ander...@seco.com/
Changes in v3:
-
In 96699f097a02 ("powerpc: mpc85xx: Use binman to embed dtb inside
U-Boot") we introduce CONFIG_MPC85XX_HAVE_RESET_VECTOR and do so via
Kconfig. However, much later in de47ff536363 ("Convert
CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig") I converted the symbol that
is the inverse of this to Kconfig.
On 12/28/22 21:51, Sam Winchenbach wrote:
Hello,
Hello, I have hit the following situation when trying to load files from a
BTRFS partition with duplication enabled.
In the first example I read a 16KiB file - __btrfs_map_block() changes the
length to something larger than the file being
The following changes since commit adcee0791f3318ead9b22879e2ce9409f400dcab:
Merge https://source.denx.de/u-boot/custodians/u-boot-pmic
(2022-12-26 21:00:20 -0500)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2023-01-rc5-2
for
Up to now we only compared the first letter of the capsule name to sort
them alphabetically. Properly sort by the Unicode alphabet.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_capsule.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git
Provide a unit test for u16_strcasecmp().
Signed-off-by: Heinrich Schuchardt
---
test/unicode_ut.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/test/unicode_ut.c b/test/unicode_ut.c
index 3547aeffe7..382b796516 100644
--- a/test/unicode_ut.c
+++
Provide a function for comparing UTF-16 strings in a case insensitive
manner.
Signed-off-by: Heinrich Schuchardt
---
include/charset.h | 13 +
lib/charset.c | 26 ++
2 files changed, 39 insertions(+)
diff --git a/include/charset.h b/include/charset.h
The UEFI specification requires to apply capsules in alphabetical order.
The current implementation only sorted by the first letter due to using
strcmp() which will stop at the first zero byte.
* Provide function u16_strcasecmp() for case insensitive comparision of
UTF-16 strings
* Provide a
Bryan Brattlof writes:
> Hello everyone!
>
> Texas Instruments has started to enable security settings inside all the
> boot ROM and TIFS firmware in all of their SoCs. One of the few changes
> this brings is ROM and TIFS will now begin protecting the RAM regions
> they're using with firewalls.
* Vagrant Cascadian [2022-12-28 18:00]:
Hrm. This suggests the fix might not have been effective, which should
have been included in 2022.07... CCing upstream...
commit e744bf3a4ba442a0e9ee1c509c70e1452e3a15d0
Author: Tom Rini
Date: Wed Jun 8 14:30:14 2022 -0400
odroid_xu3: Fix
Don't duplicate library functionality.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_var_mem.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/efi_loader/efi_var_mem.c b/lib/efi_loader/efi_var_mem.c
index 0bac594e00..d71ccb31df 100644
---
Hello Simon,
the sandbox prints the following line when started:
"Reset Status: WARM Reset Status: COLD"
This does not make much sense. Either the last reset was WARM or COLD
but not both.
sandbox_sysreset_get_status() and sandbox_warm_sysreset_get_status()
should determine the reset status
On Thu, 29 Dec 2022 at 10:25, Heinrich Schuchardt
wrote:
>
> It is volatile variables that we do not allow to be restored from file.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> lib/efi_loader/efi_var_file.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
It is volatile variables that we do not allow to be restored from file.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_var_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c
index
On 12/29/22 07:55, Ilias Apalodimas wrote:
When the efi subsystem starts we restore variables that are both in a
file or stored into the .efi_runtime section of U-Boot. However once
a variable gets created or changed the preseeded entries will end up in
the file. As a consequence on the next
When the efi subsystem starts we restore variables that are both in a
file or stored into the .efi_runtime section of U-Boot. However once
a variable gets created or changed the preseeded entries will end up in
the file. As a consequence on the next boot we will end up adding
identical variable
56 matches
Mail list logo