* [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL
@ 2019-11-10 14:01 Adam Ford
2019-11-10 14:01 ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Adam Ford
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Adam Ford @ 2019-11-10 14:01 UTC (permalink / raw)
To: u-boot
In preparation to use full device tree support, SPL can separate
BSS from text region.
This patch enables SPL_SEPARATE_BSS.
Signed-off-by: Adam Ford <aford173@gmail.com>
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 16287a4ac2..cceb0c408e 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -20,6 +20,7 @@ CONFIG_VERSION_VARIABLE=y
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_BOARD_EARLY_INIT_F=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
+CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
CONFIG_SPL_NAND_SUPPORT=y
CONFIG_HUSH_PARSER=y
--
2.20.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation
2019-11-10 14:01 [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Adam Ford
@ 2019-11-10 14:01 ` Adam Ford
2019-11-13 13:36 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
2019-11-10 14:01 ` [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE Adam Ford
` (2 subsequent siblings)
3 siblings, 2 replies; 9+ messages in thread
From: Adam Ford @ 2019-11-10 14:01 UTC (permalink / raw)
To: u-boot
Driver model requires a malloc pool to allocate memory before
relocations to operate serial and some other devices. This patch
increases the pool size to 2K.
Signed-off-by: Adam Ford <aford173@gmail.com>
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index cceb0c408e..376bb9f953 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -8,6 +8,7 @@ CONFIG_SYS_DA850_PLL1_PLLDIV3=0x8003
CONFIG_TI_COMMON_CMD_OPTIONS=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x800
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_NR_DRAM_BANKS=1
--
2.20.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE
2019-11-10 14:01 [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Adam Ford
2019-11-10 14:01 ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Adam Ford
@ 2019-11-10 14:01 ` Adam Ford
2019-11-13 13:37 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
2019-11-13 13:36 ` [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
3 siblings, 2 replies; 9+ messages in thread
From: Adam Ford @ 2019-11-10 14:01 UTC (permalink / raw)
To: u-boot
In order to further prepare for full device tree support in SPL,
this patch enables both SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE.
Both of these are already enabled in U-Boot, so SPL will have
the same functionality
Signed-off-by: Adam Ford <aford173@gmail.com>
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 376bb9f953..c95d06b551 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -44,6 +44,8 @@ CONFIG_ENV_IS_IN_NAND=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_DM=y
CONFIG_SPL_DM=y
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_SPL_OF_TRANSLATE=y
CONFIG_DM_GPIO=y
CONFIG_DA8XX_GPIO=y
CONFIG_DM_I2C=y
--
2.20.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL
2019-11-10 14:01 [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Adam Ford
2019-11-10 14:01 ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Adam Ford
2019-11-10 14:01 ` [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE Adam Ford
@ 2019-11-13 13:36 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
3 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2019-11-13 13:36 UTC (permalink / raw)
To: u-boot
niedz., 10 lis 2019 o 15:01 Adam Ford <aford173@gmail.com> napisał(a):
>
> In preparation to use full device tree support, SPL can separate
> BSS from text region.
>
> This patch enables SPL_SEPARATE_BSS.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index 16287a4ac2..cceb0c408e 100644
> --- a/configs/omapl138_lcdk_defconfig
> +++ b/configs/omapl138_lcdk_defconfig
> @@ -20,6 +20,7 @@ CONFIG_VERSION_VARIABLE=y
> # CONFIG_DISPLAY_CPUINFO is not set
> CONFIG_BOARD_EARLY_INIT_F=y
> CONFIG_SPL_SYS_MALLOC_SIMPLE=y
> +CONFIG_SPL_SEPARATE_BSS=y
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
> CONFIG_SPL_NAND_SUPPORT=y
> CONFIG_HUSH_PARSER=y
> --
> 2.20.1
>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation
2019-11-10 14:01 ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Adam Ford
@ 2019-11-13 13:36 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
1 sibling, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2019-11-13 13:36 UTC (permalink / raw)
To: u-boot
niedz., 10 lis 2019 o 15:01 Adam Ford <aford173@gmail.com> napisał(a):
>
> Driver model requires a malloc pool to allocate memory before
> relocations to operate serial and some other devices. This patch
> increases the pool size to 2K.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index cceb0c408e..376bb9f953 100644
> --- a/configs/omapl138_lcdk_defconfig
> +++ b/configs/omapl138_lcdk_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SYS_DA850_PLL1_PLLDIV3=0x8003
> CONFIG_TI_COMMON_CMD_OPTIONS=y
> CONFIG_SPL_LIBCOMMON_SUPPORT=y
> CONFIG_SPL_LIBGENERIC_SUPPORT=y
> +CONFIG_SYS_MALLOC_F_LEN=0x800
> CONFIG_SPL_MMC_SUPPORT=y
> CONFIG_SPL_SERIAL_SUPPORT=y
> CONFIG_NR_DRAM_BANKS=1
> --
> 2.20.1
>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE
2019-11-10 14:01 ` [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE Adam Ford
@ 2019-11-13 13:37 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
1 sibling, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2019-11-13 13:37 UTC (permalink / raw)
To: u-boot
niedz., 10 lis 2019 o 15:01 Adam Ford <aford173@gmail.com> napisał(a):
>
> In order to further prepare for full device tree support in SPL,
> this patch enables both SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE.
> Both of these are already enabled in U-Boot, so SPL will have
> the same functionality
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index 376bb9f953..c95d06b551 100644
> --- a/configs/omapl138_lcdk_defconfig
> +++ b/configs/omapl138_lcdk_defconfig
> @@ -44,6 +44,8 @@ CONFIG_ENV_IS_IN_NAND=y
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_DM=y
> CONFIG_SPL_DM=y
> +CONFIG_SPL_DM_SEQ_ALIAS=y
> +CONFIG_SPL_OF_TRANSLATE=y
> CONFIG_DM_GPIO=y
> CONFIG_DA8XX_GPIO=y
> CONFIG_DM_I2C=y
> --
> 2.20.1
>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL
2019-11-10 14:01 [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Adam Ford
` (2 preceding siblings ...)
2019-11-13 13:36 ` [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Bartosz Golaszewski
@ 2019-12-04 4:00 ` Tom Rini
3 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2019-12-04 4:00 UTC (permalink / raw)
To: u-boot
On Sun, Nov 10, 2019 at 08:01:31AM -0600, Adam Ford wrote:
> In preparation to use full device tree support, SPL can separate
> BSS from text region.
>
> This patch enables SPL_SEPARATE_BSS.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index 16287a4ac2..cceb0c408e 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/49ecfa91/attachment.sig>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation
2019-11-10 14:01 ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Adam Ford
2019-11-13 13:36 ` Bartosz Golaszewski
@ 2019-12-04 4:00 ` Tom Rini
1 sibling, 0 replies; 9+ messages in thread
From: Tom Rini @ 2019-12-04 4:00 UTC (permalink / raw)
To: u-boot
On Sun, Nov 10, 2019 at 08:01:32AM -0600, Adam Ford wrote:
> Driver model requires a malloc pool to allocate memory before
> relocations to operate serial and some other devices. This patch
> increases the pool size to 2K.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index cceb0c408e..376bb9f953 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/1994955b/attachment.sig>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE
2019-11-10 14:01 ` [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE Adam Ford
2019-11-13 13:37 ` Bartosz Golaszewski
@ 2019-12-04 4:00 ` Tom Rini
1 sibling, 0 replies; 9+ messages in thread
From: Tom Rini @ 2019-12-04 4:00 UTC (permalink / raw)
To: u-boot
On Sun, Nov 10, 2019 at 08:01:33AM -0600, Adam Ford wrote:
> In order to further prepare for full device tree support in SPL,
> this patch enables both SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE.
> Both of these are already enabled in U-Boot, so SPL will have
> the same functionality
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index 376bb9f953..c95d06b551 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/67c13a49/attachment.sig>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-12-04 4:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 14:01 [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Adam Ford
2019-11-10 14:01 ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Adam Ford
2019-11-13 13:36 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
2019-11-10 14:01 ` [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE Adam Ford
2019-11-13 13:37 ` Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
2019-11-13 13:36 ` [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Bartosz Golaszewski
2019-12-04 4:00 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.