* [U-Boot] [PATCH 0/1] Add SPL malloc to devkit 8000
@ 2011-10-18 19:54 Tom Rini
2011-10-18 19:54 ` [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL Tom Rini
0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2011-10-18 19:54 UTC (permalink / raw)
To: u-boot
Hey all,
As part of fixing FAT support in SPL, Aneesh V added a
requirement that all omap-common/spl.c using platforms (so omap3
and omap4 currently) also define malloc space. Based on how this
was done for omap4 I've added in a scratch space for devkit 8000.
This change is required for the devkit8000 + MMC SPL changes
that are currently in u-boot-arm (which require the changes from
Aneesh V for malloc with vfat).
--
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL
2011-10-18 19:54 [U-Boot] [PATCH 0/1] Add SPL malloc to devkit 8000 Tom Rini
@ 2011-10-18 19:54 ` Tom Rini
2011-10-18 20:06 ` Albert ARIBAUD
2011-10-21 17:38 ` Simon Schwarz
0 siblings, 2 replies; 5+ messages in thread
From: Tom Rini @ 2011-10-18 19:54 UTC (permalink / raw)
To: u-boot
With malloc support being a new requirement for all ARM SPL
implementations, define a small area for use on devkit8000.
Cc: Frederik Kriewitz <frederik@kriewitz.eu>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Simon Schwarz <simonschwarzcor@googlemail.com>
Signed-off-by: Tom Rini <trini@ti.com>
---
include/configs/devkit8000.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index ba0d23e..dc884e9 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -353,4 +353,7 @@
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
+#define CONFIG_SYS_SPL_MALLOC_START 0x80108000
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 /* 1 MB */
+
#endif /* __CONFIG_H */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL
2011-10-18 19:54 ` [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL Tom Rini
@ 2011-10-18 20:06 ` Albert ARIBAUD
2011-10-18 20:16 ` Tom Rini
2011-10-21 17:38 ` Simon Schwarz
1 sibling, 1 reply; 5+ messages in thread
From: Albert ARIBAUD @ 2011-10-18 20:06 UTC (permalink / raw)
To: u-boot
Hi Tom,
Le 18/10/2011 21:54, Tom Rini a ?crit :
> With malloc support being a new requirement for all ARM SPL
> implementations, define a small area for use on devkit8000.
>
> Cc: Frederik Kriewitz<frederik@kriewitz.eu>
> Cc: Albert ARIBAUD<albert.u.boot@aribaud.net>
> Cc: Simon Schwarz<simonschwarzcor@googlemail.com>
> Signed-off-by: Tom Rini<trini@ti.com>
> ---
> include/configs/devkit8000.h | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index ba0d23e..dc884e9 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -353,4 +353,7 @@
> #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
> #define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
>
> +#define CONFIG_SYS_SPL_MALLOC_START 0x80108000
> +#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 /* 1 MB */
> +
> #endif /* __CONFIG_H */
Hadn't you submitted this already twelve minutes before?
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL
2011-10-18 20:06 ` Albert ARIBAUD
@ 2011-10-18 20:16 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2011-10-18 20:16 UTC (permalink / raw)
To: u-boot
On 10/18/2011 01:06 PM, Albert ARIBAUD wrote:
> Hi Tom,
>
> Le 18/10/2011 21:54, Tom Rini a ?crit :
>> With malloc support being a new requirement for all ARM SPL
>> implementations, define a small area for use on devkit8000.
>>
>> Cc: Frederik Kriewitz<frederik@kriewitz.eu>
>> Cc: Albert ARIBAUD<albert.u.boot@aribaud.net>
>> Cc: Simon Schwarz<simonschwarzcor@googlemail.com>
>> Signed-off-by: Tom Rini<trini@ti.com>
>> ---
>> include/configs/devkit8000.h | 3 +++
>> 1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
>> index ba0d23e..dc884e9 100644
>> --- a/include/configs/devkit8000.h
>> +++ b/include/configs/devkit8000.h
>> @@ -353,4 +353,7 @@
>> #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
>> #define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
>>
>> +#define CONFIG_SYS_SPL_MALLOC_START 0x80108000
>> +#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 /* 1 MB */
>> +
>> #endif /* __CONFIG_H */
>
> Hadn't you submitted this already twelve minutes before?
Yes, but not to the ML, sorry for the duplicates to the CC'd folks.
--
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL
2011-10-18 19:54 ` [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL Tom Rini
2011-10-18 20:06 ` Albert ARIBAUD
@ 2011-10-21 17:38 ` Simon Schwarz
1 sibling, 0 replies; 5+ messages in thread
From: Simon Schwarz @ 2011-10-21 17:38 UTC (permalink / raw)
To: u-boot
On 10/18/2011 09:54 PM, Tom Rini wrote:
> With malloc support being a new requirement for all ARM SPL
> implementations, define a small area for use on devkit8000.
>
> Cc: Frederik Kriewitz<frederik@kriewitz.eu>
> Cc: Albert ARIBAUD<albert.u.boot@aribaud.net>
> Cc: Simon Schwarz<simonschwarzcor@googlemail.com>
> Signed-off-by: Tom Rini<trini@ti.com>
> ---
> include/configs/devkit8000.h | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index ba0d23e..dc884e9 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -353,4 +353,7 @@
> #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
> #define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
>
> +#define CONFIG_SYS_SPL_MALLOC_START 0x80108000
> +#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 /* 1 MB */
> +
> #endif /* __CONFIG_H */
With NAND it works fine.
But with MMC there seems to be another problem with u-boot-arm. (is not
booting at all) so:
Tested-by: Simon Schwarz <simonschwarzcor@gmail.com>
Presumably I won't have the time to look into the MMC problem until next
week - volunteers? ;)
Regards
Simon
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-21 17:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18 19:54 [U-Boot] [PATCH 0/1] Add SPL malloc to devkit 8000 Tom Rini
2011-10-18 19:54 ` [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL Tom Rini
2011-10-18 20:06 ` Albert ARIBAUD
2011-10-18 20:16 ` Tom Rini
2011-10-21 17:38 ` Simon Schwarz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox