Allow to disable serial console in SPL. Weak dependency is already used
with TPL serial.
Signed-off-by: Daniel Semkowicz
---
arch/arm/mach-rockchip/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index
s in the caller to _spl_load() not seeing that an error happened
as it should and continuing as if the load was completed when it might
not have been.
Check if read is negative and return it's value if it is before comparing
against size in spl_image.
Signed-off-by: Daniel Palmer
---
in
Commit 371b379edbf3 ("configs: Make USB_GADGET_MANUFACTURER
consistent over all PHYTEC boards") made the USB_GADGET_MANUFACTURER
value consistent over all PHYTEC boards.
Update the phyCORE-AM62x defconfigs to make this config consistent
as well.
Signed-off-by: Daniel Schultz
--
The environment should have a size of 0x2 instead 0x2000.
Update to have the same environment size for all PHYTEC K3 products.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs
defconfig allows to boot from USB.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_r5_usbdfu_defconfig | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 configs/phycore_am62x_r5_usbdfu_defconfig
diff --git a/configs/phycore_am62x_r5_usbdfu_defconfig
b/configs
, CONFIG_USB_GADGET_MANUFACTURER was not merged to keep Phytec
as manufacturer.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/phycore_am62x_a53_defconfig
b/configs/phycore_am62x_a53_defconfig
index 7bbd8011fa8
The phyCORE-AM64x board code sets an environment variable 'boot'
with the device U-Boot booted from. Use this variable in
CONFIG_BOOTCOMMAND to boot Linux from the same boot device by
default.
Signed-off-by: Daniel Schultz
---
configs/phycore_am64x_a53_defconfig | 2 +-
1 file
The phyCORE-AM62x board code sets an environment variable 'boot'
with the device U-Boot booted from. Use this variable in
CONFIG_BOOTCOMMAND to boot Linux from the same boot device by
default.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig | 2 +-
1 file
ff-by: Daniel Schultz
---
board/phytec/phycore_am64x/phycore_am64x.env | 8
1 file changed, 8 insertions(+)
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env
b/board/phytec/phycore_am64x/phycore_am64x.env
index 18f0fa5b4c3..3032b518e0b 100644
--- a/board/phytec/phycore_
Include the boot logic to boot via Network or from a OSPI/QSPI
NOR flash. Moreover, set all required variables to both boot
methods to the environment.
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_am62x/phycore_am62x.env | 8
1 file changed, 8 insertions(+)
diff --git a
This boot logic allows to boot a Kernel image, Device-Tree blob
and a initramfs from an external OSPI/QSPI NOR flash.
Signed-off-by: Daniel Schultz
---
include/env/phytec/k3_spi.env | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 include/env/phytec/k3_spi.env
diff
This boot logic allows to boot a Kernel image, Device-Tree blob
and overlays via tftp/dhcp (configurable with 'net_fetch_cmd').
Additionally, it loads a rootfs via NFS.
Signed-off-by: Daniel Schultz
---
include/env/phytec/k3_net.env | 22 ++
1 file changed, 22
Initialize the environment for booting an RAUC image when
'doraucboot' is set to 1.
Signed-off-by: Daniel Schultz
---
include/env/phytec/k3_mmc.env | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc
Add a mmc prefix to 'loadimage' and 'loadfdt' because we need
similar variables for other boot sources. This will prevent
name clashes and allows to implement similar boot logic.
Also switch from loadaddr to kernel_addr_r.
Signed-off-by: Daniel Schultz
---
include/env/ph
From: Wadim Egorov
Enable CONFIG_OF_BOARD_SETUP to fixup kernel device tree with mtd
partitions.
Signed-off-by: Wadim Egorov
Signed-off-by: Daniel Schultz
---
configs/phycore_am64x_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore_am64x_a53_defconfig
b
and includes some minor fixes.
Daniel Schultz (12):
include: env: phytec: k3_mmc: Rename variables
include: env: phytec: Add raucinit to k3_mmc environment
include: net: phytec: Add K3 network boot logic
include: env: phytec: Add K3 boot logic for OSPI/QSPI flashes
board: phytec
Use our common environment file to implement MMC boot.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
board/phytec/phycore_am64x/phycore_am64x.env | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env
b
Use our common environment file to implement MMC boot.
Signed-off-by: Daniel Schultz
Reviewed-by: Dhruva Gole
Reviewed-by: Wadim Egorov
---
board/phytec/phycore_am62x/phycore_am62x.env | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/board/phytec/phycore_am62x
Include the overlays.env file and run the apply routine before
booting the Kernel.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
include/env/phytec/k3_mmc.env | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc.env
This environment include can be used to boot from a
MMC device for PHYTEC's K3-based SoMs.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
include/env/phytec/k3_mmc.env | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 include/env/phytec/k3_mmc.env
From: Benjamin Hahn
Rename existing environment variables according to the bootstd doc.
Renamed variables are fdto_addr, bootenv_addr, fdt_addr.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
include/env/phytec/overlays.env | 19
From: Benjamin Hahn
Rename existing environment variables according to the bootstd doc.
Renamed variables are fdto_addr, bootenv_addr, fdt_addr and
fdt_file.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
.../phytec/phycore_imx8mp/phycore_imx8mp.env
From: Benjamin Hahn
Include the common overlays env file for phycore_imx93.
The common overlays env file supports disabling loading overlays by
setting the no_overlays variable.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
board/phytec
overlays defined in ${overlays} variable.
Overlays loaded over the extension command are still
being applied.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
Reviewed-by: Teresa Remmet
Reviewed-by: Wadim Egorov
---
board/phytec/phycore_imx8mp
needs to be set in board specific files and can be set to tftp or dhcp.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
Reviewed-by: Teresa Remmet
Reviewed-by: Wadim Egorov
---
include/env/phytec/overlays.env | 37 +
1 file changed, 37 insertions
according to bootstd doc
include: env: phytec: renaming of variables according to bootstd doc
Daniel Schultz (4):
include: env: phytec: Add common mmc boot for K3 SoMs
include: env: phytec: k3_mmc: Apply overlays during boot
board: phytec: phycore_am62x: Use k3_mmc.env logic
board: phytec
Hi Yannic,
On 09.07.24 08:49, Yannic Moog wrote:
Hello Daniel,
On Sun, 2024-07-07 at 23:07 -0700, Daniel Schultz wrote:
Add a new environment routine to apply extensions. Our SOM detection
adds overlays via the extension framework to alter the kernel
device-tree according to the flashed
Hey,
please don't apply these patches. We just found an issue while working
on another task. Sorry!
Best Regards,
Daniel
On 08.07.24 08:07, Daniel Schultz wrote:
This patchset extends PHYTEC's SOM detection for the
K3 platforms.
It adds generic support to apply overlays via the
Enable SOM detection for the phyCORE-AM64x and also set
CONFIG_CMD_EXTENSION as requirement for this feature.
Signed-off-by: Daniel Schultz
---
configs/phycore_am64x_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/phycore_am64x_a53_defconfig
b/configs
CONFIG_CMD_EXTENSION is required to load SOM detection overlays.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore_am62x_a53_defconfig
b/configs/phycore_am62x_a53_defconfig
index 06b8834e074..ec75b1a424d
Enable SUPPORT_EXTENSION_SCAN for the phyCORE-AM62x and -AM64x
boards.
Signed-off-by: Daniel Schultz
---
board/phytec/common/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/phytec/common/Kconfig b/board/phytec/common/Kconfig
index f394ace786a..120f58b6ec6 100644
--- a/board
Add overlays to disable or alter SOM features according
to the EEPROM image content.
Signed-off-by: Daniel Schultz
---
board/phytec/common/k3/board.c | 45 ++
1 file changed, 45 insertions(+)
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3
Run the mmc_apply_extensions routine to apply overlays
added by the extension framework.
Signed-off-by: Daniel Schultz
---
include/env/phytec/k3_mmc.env | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc.env
index 3d3595ceb7e
Add a new environment routine to apply extensions. Our SOM detection
adds overlays via the extension framework to alter the kernel
device-tree according to the flashed EEPROM image.
Signed-off-by: Daniel Schultz
---
include/env/phytec/overlays.env | 20
1 file changed, 20
hook to the K3 board
code and adds all missing configs in the phyCORE-AM62x and
-AM64x A53 defconfigs.
Daniel Schultz (6):
include: env: phytec: overlays: Add extension command
include: env: phytec: k3_mmc: Apply extension overlays
board: phytec: common: k3: Add SOM detection overlays
board:
On Fri, Jul 05, 2024 at 11:05:31AM +1000, Leith Bade wrote:
> Hi,
>
> I have been investigating how to stop the MAC addresses on my Banana
> Pi BPI-R3 from changing on every boot.
>
> It appears the ethaddr and eth1addr environment variables are used for
> this purpose as they are randomly genera
Use our common environment file to implement MMC boot.
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_am64x/phycore_am64x.env | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env
b/board/phytec/phycore_am64x
Use our common environment file to implement MMC boot.
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_am62x/phycore_am62x.env | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/board/phytec/phycore_am62x/phycore_am62x.env
b/board/phytec/phycore_am62x
Include the overlays.env file and run the apply routine before
booting the Kernel.
Signed-off-by: Daniel Schultz
---
include/env/phytec/k3_mmc.env | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc.env
index e1208a6eea1..3d3595ceb7e
This environment include can be used to boot from a
MMC device for PHYTEC's K3-based SoMs.
Signed-off-by: Daniel Schultz
---
include/env/phytec/k3_mmc.env | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 include/env/phytec/k3_mmc.env
diff --git a/include/env/p
From: Benjamin Hahn
Rename existing environment variables according to the bootstd doc.
Renamed variables are fdto_addr, bootenv_addr, fdt_addr.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
---
include/env/phytec/overlays.env | 19 ++-
1 file changed, 10
From: Benjamin Hahn
Rename existing environment variables according to the bootstd doc.
Renamed variables are fdto_addr, bootenv_addr, fdt_addr and
fdt_file.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
---
.../phytec/phycore_imx8mp/phycore_imx8mp.env | 20
From: Benjamin Hahn
Include the common overlays env file for phycore_imx93.
The common overlays env file supports disabling loading overlays by
setting the no_overlays variable.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_imx93/phycore_imx93.env | 25
overlays defined in ${overlays} variable.
Overlays loaded over the extension command are still
being applied.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_imx8mp/phycore_imx8mp.env | 15 +++
configs/phycore
needs to be set in board specific files and can be set to tftp or dhcp.
Signed-off-by: Benjamin Hahn
Signed-off-by: Daniel Schultz
---
include/env/phytec/overlays.env | 37 +
1 file changed, 37 insertions(+)
create mode 100644 include/env/phytec/overlays.env
diff
: Create env file for loading and applying
overlays
phycore-imx8mp: Add overlay and bootenv.txt support
phycore_imx93: include common overlays.env
board: phytec: renaming of variables according to bootstd doc
include: env: phytec: renaming of variables according to bootstd doc
Daniel
By moving the earlycon definition into a dedicated variable, it's
easier to change these values in case the kernel should print on
a different serial interface.
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_am64x/phycore_am64x.env | 3 ++-
1 file changed, 2 insertions(+), 1 del
By moving the earlycon definition into a dedicated variable, it's
easier to change these values in case the kernel should print on
a different serial interface.
Signed-off-by: Daniel Schultz
---
board/phytec/phycore_am62x/phycore_am62x.env | 3 ++-
1 file changed, 2 insertions(+), 1 del
Add the rtc command for testing this device. Additionally, add smc
and cache commands to boot non-Linux firmwares on the A53.
Signed-off-by: Daniel Schultz
---
configs/phycore_am64x_a53_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/phycore_am64x_a53_defconfig
b
Add i2c and rtc commands with all dependencies which are
required for testing.
Additionally, add smc and cache commands to boot Zephyr on the A53.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs
We moved our documentation to another hoster and therefore the URL
changed. Point to the latest documentation instead of release versions
to not link out-dated documentation.
Signed-off-by: Daniel Schultz
---
doc/board/phytec/phycore-am64x.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion
The Carrier-Board for the pyhCORE-AM64x is called phyBOARD-Electra.
Signed-off-by: Daniel Schultz
---
doc/board/phytec/phycore-am64x.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/board/phytec/phycore-am64x.rst
b/doc/board/phytec/phycore-am64x.rst
index c99d8f6dd58
We moved our documentation to another hoster and therefore the URL
changed. Point to the latest documentation instead of release versions
to not link out-dated documentation.
Signed-off-by: Daniel Schultz
---
doc/board/phytec/phycore-am62x.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion
For all 13 patches,
Reviewed-by: Daniel Schultz
On 10.06.24 15:33, Wadim Egorov wrote:
This patch set is for u-boot/next.
It includes various fixes and improvements for phyCORE-AM62x and
phyCORE-AM64x SoMs. Notable is the last patch which prepares for use
with future ECC memory fixups
Hi,
On 22.05.24 10:30, Wadim Egorov wrote:
Hi Daniel,
Am 22.05.24 um 08:18 schrieb Daniel Schultz:
Enable CONFIG_ENV_OVERWRITE to overwrite ethaddr in the environment.
This is required because our environment is not located in the
boot partition.
Signed-off-by: Daniel Schultz
---
configs
Upstream overlays like the ARM64 TI
k3-am625-beagleplay-csi2-tevi-ov5640.dtso can easily have more then
32 characters. Increase the overlay length to 64 characters to
apply overlays with longer names.
Signed-off-by: Daniel Schultz
---
include/extension_board.h | 2 +-
1 file changed, 1
Enable CONFIG_ENV_OVERWRITE to overwrite ethaddr in the environment.
This is required because our environment is not located in the
boot partition.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
Read the EEPROM API v3 content and set all available
MAC-Addresses to the environment.
Signed-off-by: Daniel Schultz
---
board/phytec/common/k3/board.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c
number, a MAC address and a CRC checksum over the
MAC payload.
Signed-off-by: Daniel Schultz
---
board/phytec/common/Kconfig | 9 ++
board/phytec/common/Makefile | 2 +-
board/phytec/common/phytec_som_detection.c| 153 ++
board/phytec
Move the entire initialization code for API v2 into a dedicated
function. This rework will allow to easily integrate the API v3
as next step during init.
Signed-off-by: Daniel Schultz
---
board/phytec/common/phytec_som_detection.c | 38 +-
1 file changed, 23 insertions
The EEPROM image length for API v2 is fixed to 32 bytes. No need
to use sizeof while this value won't change. This value is
also be required for API v3 to know where the API v3 header starts.
Signed-off-by: Daniel Schultz
---
board/phytec/common/phytec_som_detection.c | 9 -
We need to read multiple times from different offsets in API v3.
Move the EEPROM read logic into a dedicated function to make it
usable multiple times.
Signed-off-by: Daniel Schultz
---
board/phytec/common/phytec_som_detection.c | 38 ++
1 file changed, 24 insertions(+), 14
(6 x u8) and a CRC8 checksum.
Daniel Schultz (6):
board: phytec: common: Move eeprom read to new function
board: phytec: common: Define PHYTEC_API2_DATA_LEN
board: phytec: common: Move API v2 init to new function
board: phytec: common: Add API v3
board: phytec: common: k3: Set MAC
| 3 ++-
board/imgtec/boston/MAINTAINERS | 2 +-
board/imgtec/malta/MAINTAINERS | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Daniel Schwierzeck
/boston64r2_defconfig | 2 +-
configs/boston64r2el_defconfig | 2 +-
configs/boston64r6_defconfig | 2 +-
configs/boston64r6el_defconfig | 2 +-
13 files changed, 20 insertions(+), 231 deletions(-)
Reviewed-by: Daniel Schwierzeck
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index
On 5/17/24 20:14, Jiaxun Yang wrote:
It is required to make OF_UPSTREAM work.
Reviewed-by: Sumit Garg
Signed-off-by: Jiaxun Yang
---
dts/upstream/src/mips/Makefile | 14 ++
1 file changed, 14 insertions(+)
Reviewed-by: Daniel Schwierzeck
ove syscon detection code to probe to ensure
parent is probbed before syscon_get_regmap.
---
drivers/clk/clk_boston.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
Reviewed-by: Daniel Schwierzeck
(+)
Reviewed-by: Daniel Schwierzeck
On 5/17/24 20:14, Jiaxun Yang wrote:
This is a PC-like platform board.
Enable drivers for most on-board devices to make it useful.
Signed-off-by: Jiaxun Yang
---
arch/mips/Kconfig | 27 +++
1 file changed, 27 insertions(+)
Reviewed-by: Daniel Schwierzeck
On 5/17/24 20:14, Jiaxun Yang wrote:
Some drivers need this header.
Provide this dummy header as riscv did.
Signed-off-by: Jiaxun Yang
---
arch/mips/include/asm/acpi_table.h | 10 ++
1 file changed, 10 insertions(+)
Reviewed-by: Daniel Schwierzeck
1 file changed, 1 insertion(+)
Reviewed-by: Daniel Schwierzeck
s/pci/Kconfig| 9 +
drivers/pci/pci_auto.c | 16
2 files changed, 17 insertions(+), 8 deletions(-)
Reviewed-by: Daniel Schwierzeck
Yang
---
drivers/pci/pcie_xilinx.c | 53 +++
1 file changed, 40 insertions(+), 13 deletions(-)
Reviewed-by: Daniel Schwierzeck
NABLED(CONFIG_PHYCORE_AM62X_RAM_SIZE_4GB))
+ return EEPROM_RAM_SIZE_4GB;
+ }
Please define these configs in board/phytec/phycore_am62x/Kconfig.
- Daniel
+
+ ret = phytec_eeprom_data_setup(&data, 0, EEPROM_ADDR);
+ if (!ret && data.valid)
+ return phytec_ge
On 4/23/24 09:41, Conor Dooley wrote:
On Tue, Apr 23, 2024 at 01:34:42PM +0800, Leo Liang wrote:
On Mon, Apr 22, 2024 at 04:43:59PM -0300, Daniel Henrique Barboza wrote:
[EXTERNAL MAIL]
Hi,
In QEMU we have a 'max' type CPU that implements (almost) all extensions that
QEMU
ug? Up to this point I was assuming that u-boot would
silently ignore
hart extensions that it doesn't support.
Thanks,
Daniel
Add all functions to read each SOM option from the EEPROM
image and detect whether it's the correct product for this
image.
Signed-off-by: Daniel Schultz
---
board/phytec/common/Kconfig | 18 +++
board/phytec/common/Makefile| 1 +
board/phytec/c
. Therefore, the
init function will detect an empty EEPROM as API0 and return with
the valid flag set to True.
Fixes: dc22188cdc8 ("board: phytec: Add common PHYTEC SoM detection")
Signed-off-by: Daniel Schultz
---
board/phytec/common/phytec_som_detection.c | 4 ++--
1 file changed, 2
before, but phytec_get_imx8m_eth would still happily access the data.
Fixes: dc22188cdc8 ("board: phytec: Add common PHYTEC SoM detection")
Signed-off-by: Yannic Moog
Signed-off-by: Daniel Schultz
---
board/phytec/common/imx8m_som_detection.c | 11 +++
board/phy
the eeprom.
Signed-off-by: Yannic Moog
Signed-off-by: Daniel Schultz
---
board/phytec/common/imx8m_som_detection.c | 10 ++--
board/phytec/common/phytec_som_detection.c | 56 --
board/phytec/common/phytec_som_detection.h | 11 +++--
3 files changed, 45 insertions(+), 32
Add a generic function to apply overlays in our board code to not
implement the same logic in different PHYTEC products.
Signed-off-by: Daniel Schultz
---
board/phytec/common/phytec_som_detection.c | 33 ++
board/phytec/common/phytec_som_detection.h | 5
2 files
This patch series extends PHYTEC's SOM detection by minor
fixes, a generic helper function and a new valid flag.
Moreover, it adds a module to provide access to the SOM
detection for our TI AM6 products.
Daniel Schultz (3):
board: phytec: common: Generic "add extension" f
: implement __udivdi3 to fix building of SquashFS
- mips: fix bug in cache init on MIPS32r2 or later
Daniel Schwierzeck (1):
mips: fix change_k0_cca()
Linus Walleij (1):
mips: implement __udivdi3
arch/mips/lib/Makefile
Hey Wadim,
just trying to give you feedback through the archived mail. (That's why
the content is missing).
The R5 config has 0x800 as value for
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR. This offset wasn't changed
upstream and the TI EVM still uses 0x400.
Regards,
Daniel
On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote:
> On 2023-12-21 00:27, Csókás Bence wrote:
> > Not every system has eMMC/uSD, and as you said, these arguments don't
> > hold for a 4 MB SPI NAND, for example, one you might find in an OpenWrt
> > router for example. Whereas RAM is quite
hen ever we want
the output to also become part of the log buffer or we could somehow
filter the recorded console, eliminating all terminal control sequences.
Cheers
Daniel
> should be two (at least) conformance tests.
I don't follow this, for two reasons.
1. DT describes the hardware, not how it is driven. Having a relationship
between u-boot and linux DTs with different representation would
imply that the hardware changes between u-boot and the kernel.
2. Even if we were to accept that there must be two device tree instances
(beyond transient workarounds for missing features), why would there
need to be two conformance tests rather than one conformance test run
on the two DTs?
Daniel.
a versioned
> release package of DT bindings which one should use to validate DTS
> files.
The kernel is regularly released in multiple forms (including git
tags and tarball). Why isn't the kernel itself sufficient to be a
versioned release of the DT bindings directory?
Daniel.
value of the $t0 register.
Fix the MIPS32 R1 code path to also store the updated value in $t0.
Reported by user ddqxy138 on Github.
https://github.com/u-boot/u-boot/commit/b838586086af3278bcaead3720c7a18813cf4619
Signed-off-by: Daniel Schwierzeck
---
arch/mips/lib/cache_init.S | 4 ++--
1 file
From: Linus Walleij
Squashfs wasn't compiling because the lldiv() directives
turn into __udivdi3 and we are using private libgcc.
After this squashfs compiles for MIPS.
Signed-off-by: Linus Walleij
Signed-off-by: Daniel Schwierzeck
---
Linus, this is the updated and optimized versi
On 9/20/23 09:42, Linus Walleij wrote:
This adds support for the Inteno XG6846 board based on the
Broadcom MIPS 6328 SoC.
The default boot will read a uImage from flash and boot it.
Cc: Daniel Schwierzeck
Signed-off-by: Linus Walleij
---
arch/mips/dts/Makefile | 1 +
arch
u take a peek, we can just live with
it.
I just tested it, you can simply add an empty board/inteno/xg6846/Makefile and
remove board/inteno/xg6846/xg6846.c. But you can also remove the Makefile.
Just the Kconfig and MAINTAINERS file are needed.
--
- Daniel
ashfs compiles for MIPS.
Cc: Daniel Schwierzeck
Cc: Mauro Condarelli
Cc: Ralf Baechle
Signed-off-by: Linus Walleij
---
I can't test this because it didn't work for MTD devices
as I had expected, but I saw Mauro had this problem
before so I think I might have fixed it. I better put
the
bytes below 0x8000.
device tree - allocation error
Fixes: bc4adc97cfb ("board: mediatek: add MT7988 reference boards")
Reported-by: Lorenzo Bianconi
Signed-off-by: Daniel Golle
---
configs/mt7988_rfb_defconfig| 1 +
configs/mt7988_sd_rfb_defconfig | 1 +
2 files changed, 2
On Fri, Aug 04, 2023 at 09:01:55AM +0800, Weijie Gao wrote:
> The mt7531 of bpi-r3 is connected to mt7986 with 2.5Gbps HSGMII, not the
> regular 1Gbps SGMII.
>
> Signed-off-by: Weijie Gao
Reviewed-by: Daniel Golle
> ---
> This is a supplement to commit:
> aef54ea1 (arm: d
e so SZ_* is defined.
Reported-by: Tianling Shen
Signed-off-by: Daniel Golle
---
drivers/ram/mediatek/ddr3-mt7629.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ram/mediatek/ddr3-mt7629.c
b/drivers/ram/mediatek/ddr3-mt7629.c
index 1737fdac970..f65fcf179cf 100644
--- a/driv
ore the originally intended and correct behavior
and also change the descriptive comment accordingly.
Fixes: dafe0fbfb0f3 ("pinctrl: mediatek: rewrite mtk_pinconf_set and related
functions")
Signed-off-by: Daniel Golle
---
drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 4 ++--
1 file
On Fri, Jan 06, 2023 at 08:52:26AM -0600, Simon Glass wrote:
> Avoid duplicating some of the escape-sequence processing here and use the
> CLI function instead.
>
> Signed-off-by: Simon Glass
> ---
>
> [...]
> diff --git a/common/menu.c b/common/menu.c
> index 7db98942a61..45f36ae3ede 100644
> -
bool "Little endian"
- depends on (SUPPORTS_LITTLE_ENDIAN && MIPS) || MICROBLAZE
+ depends on (SUPPORTS_LITTLE_ENDIAN && MIPS) || MICROBLAZE || (CPU_LITTLE_ENDIAN
&& ARC)
endchoice
A *make savedefconfig* should than automatically add
*CONFIG_SYS_LITTLE_ENDIAN=y* or
*CONFIG_SYS_BIG_ENDIAN=y* to the ARC board defconfig's.
--
- Daniel
gle channel RAM boards
are particularly difficult to get working as the majority if not all
mainlined board use dual channel RAM.
Sorry I can't be more help, but trying to use the DDR blob is a good
starting point to get you going on mainline.
Good Luck!
--
Jack Mitchell, Consultant
https://www.tuxable.co.uk
--
- Daniel
1 - 100 of 1019 matches
Mail list logo