Re: [PATCH v2 3/3] board: helios-4: add config fragment for spi booting
On 2/2/24 16:13, Josua Mayer wrote: Add a config fragment with required differences for booting from spi flash instead of sd-card (default). Settings for environment location are based on vendor u-boot: https://github.com/kobol-io/u-boot/blob/helios4/include/configs/helios4.h#L59 The fragment can be applied on top of helios4_defconfig by make: make helios4_defconfig spiboot.config Signed-off-by: Josua Mayer Applied to u-boot-marvell/master Thanks, Stefan --- board/kobol/helios4/spiboot.config | 4 1 file changed, 4 insertions(+) diff --git a/board/kobol/helios4/spiboot.config b/board/kobol/helios4/spiboot.config new file mode 100644 index 00..5ffb7d2e3b --- /dev/null +++ b/board/kobol/helios4/spiboot.config @@ -0,0 +1,4 @@ +CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI=y +# CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC is not set +CONFIG_ENV_OFFSET=0x10 +CONFIG_ENV_SECT_SIZE=0x1 Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de
Re: [PATCH v2 3/3] board: helios-4: add config fragment for spi booting
On Fri, Feb 02, 2024 at 04:13:34PM +0100, Josua Mayer wrote: > Add a config fragment with required differences for booting from spi > flash instead of sd-card (default). > > Settings for environment location are based on vendor u-boot: > https://github.com/kobol-io/u-boot/blob/helios4/include/configs/helios4.h#L59 > > The fragment can be applied on top of helios4_defconfig by make: > make helios4_defconfig spiboot.config > > Signed-off-by: Josua Mayer > --- > board/kobol/helios4/spiboot.config | 4 Can you please follow-up by adding doc/board/kobol/ content (and adding to the index and making sure make htmldocs is happy) ? Thanks! -- Tom signature.asc Description: PGP signature
[PATCH v2 3/3] board: helios-4: add config fragment for spi booting
Add a config fragment with required differences for booting from spi flash instead of sd-card (default). Settings for environment location are based on vendor u-boot: https://github.com/kobol-io/u-boot/blob/helios4/include/configs/helios4.h#L59 The fragment can be applied on top of helios4_defconfig by make: make helios4_defconfig spiboot.config Signed-off-by: Josua Mayer --- board/kobol/helios4/spiboot.config | 4 1 file changed, 4 insertions(+) diff --git a/board/kobol/helios4/spiboot.config b/board/kobol/helios4/spiboot.config new file mode 100644 index 00..5ffb7d2e3b --- /dev/null +++ b/board/kobol/helios4/spiboot.config @@ -0,0 +1,4 @@ +CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI=y +# CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC is not set +CONFIG_ENV_OFFSET=0x10 +CONFIG_ENV_SECT_SIZE=0x1 -- 2.35.3