The include scripts/include/asm-generic/bug.h relied on a printk.h
compatible header which is located in the scripts/include/ and was
not updated when printk.h was renamed to printf.h.
Fixes: d8ea946bcf ("include: rename printk.h to printf.h")
Signed-off-by: Jules Maselbas
---
scripts/include/{p
Tested on alpine linux with musl 1.2.5, and it compiled without issue
On Mon Jan 27, 2025 at 8:51 PM CET, Ahmad Fatoum wrote:
> musl doesn't define loff_t, unless _GNU_SOURCE is defined, which
> we don't do everywhere and glibc didn't mind.
>
> This led to build errors with musl when code makes it
This patch adds USB DFU and eMMC boot support for the k3 SoCs.
DFU mode is entered when the SoC is booted from USB. For continuing the
boot we need several binaries (bl31, OP-TEE, barebox, ti-dm firmware),
these can be uploaded as distinct files or combined together as a FIP
image. This patch also
Call mci_of_parse_node() to parse generic node properties like
max-frequency to lower the maximum allowed frequency.
Signed-off-by: Sascha Hauer
---
drivers/mci/am654-sdhci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mci/am654-sdhci.c b/drivers/mci/am654-sdhci.c
index 978764201
Traditionally Linux used ttyO as console name for Omap devices. This has
been changed to ttyS in 2014. Since then ttyO gets translated to ttyS by
the Kernel. Use ttyS directly to avoid the translation in the Kernel.
Signed-off-by: Sascha Hauer
---
drivers/serial/serial_ns16550.c | 4 ++--
1 file
of_find_path() doesn't initialize the outpath on error. In order to
free() it in the error path we have to initialize devpath.
Signed-off-by: Sascha Hauer
---
drivers/of/barebox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c
inde
When booting from eMMC put the environment on the eMMC as well.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/am625-sk/board.c | 5 +
arch/arm/dts/k3-am625-sk.dts | 15 +++
2 files changed, 20 insertions(+)
diff --git a/arch/arm/boards/am625-sk/board.c b/arch/arm/boards/a
The eMMCs on am625 currently only work reliably with 25MHz. Until this
issue is sorted out limit them to 25MHz on the affected boards
(beagleplay and am625-sk).
Signed-off-by: Sascha Hauer
---
arch/arm/dts/k3-am625-beagleplay.dts | 4
arch/arm/dts/k3-am625-sk.dts | 4
2 files c
When booting from eMMC we load the subsequent stages from eMMC boot
partitions, so we do not need a boot FAT partition on eMMC. We can
use an unpartitioned area in the eMMC user area in this case, so
bail out from mounting /boot when eMMC boot is detected.
Signed-off-by: Sascha Hauer
---
arch/ar
The external 32k crystal is optional and by default LFOSC0 is sourced
by a RC oscillator. This adds a function to be called by board code
when the 32k crystal is present and shall be used to source LFOSC0
from the crystal.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-k3/common.c | 20 ++
change-id: 20250205-k3-emmc-eaa3df9f3ffd
Best regards,
--
Sascha Hauer
Booting from eMMC on K3 SoCs requires some special handling. With SD
card boot we put the environment in the boot FAT partition whereas with
eMMC boot we want to put it into the raw eMMC device. Also with eMMC
boot we have to load the subsequent stages from the eMMC boot partitions
and from the boo
The am625-sk board has the 32k crystal equipped. Enable it to source the
RTC from the crystal rather than from the imprecise RC oscillator.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/am625-sk/Makefile | 1 +
arch/arm/boards/am625-sk/board.c | 30 ++
2 files cha
13 matches
Mail list logo