On 08/24/2012 11:10 PM, Marek Vasut wrote:
Dear Gerlando Falauto,
On 08/24/2012 04:56 PM, Marek Vasut wrote:
Dear Gerlando Falauto,
Change the syntax (user API) for "env default":
-f: override write-once variables
var... : accept individual variable(s)
-a: all (resetting the whol
On 08/24/2012 11:12 PM, Marek Vasut wrote:
Dear Gerlando Falauto,
On 08/24/2012 04:58 PM, Marek Vasut wrote:
Dear Gerlando Falauto,
When variables explicitly specified on the command line are not present
in the imported env, delete them from the running env.
If the variable is also missing f
When variables explicitly specified on the command line are not present
in the imported env, delete them from the running env.
If the variable is also missing from the running env, issue a warning.
Signed-off-by: Gerlando Falauto
---
Changes from v4:
- renamed is_var_in_set to drop_var_from_set
-
Dear Gerlando Falauto,
> On 08/24/2012 11:10 PM, Marek Vasut wrote:
> > Dear Gerlando Falauto,
> >
> >> On 08/24/2012 04:56 PM, Marek Vasut wrote:
> >>> Dear Gerlando Falauto,
> >>>
> Change the syntax (user API) for "env default":
> -f: override write-once variables
> var
Dear Gerlando Falauto,
> When variables explicitly specified on the command line are not present
> in the imported env, delete them from the running env.
> If the variable is also missing from the running env, issue a warning.
>
> Signed-off-by: Gerlando Falauto
Looks reasonable ...
Reviewed-b
Remove CONFIG_ARCH_CPU_INIT for at91sam9g10ek and at91sam9m10g45ek
Signed-off-by: Bo Shen
---
include/configs/at91sam9261ek.h|1 -
include/configs/at91sam9m10g45ek.h |1 -
2 files changed, 2 deletions(-)
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
Dear Mike Frysinger,
On 21.08.2012 20:56, Mike Frysinger wrote:
> On Tuesday 21 August 2012 07:11:18 Andreas Bießmann wrote:
>> On 20.08.2012 08:32, Bo Shen wrote:
>>> The atmel at91sam9x5 series spi has feature to avoid receive overren
>>>
>>> Using the patch to enable it
>>>
>>> Signed-off-by: B
This patchset ports the SPL framework to powerpc. Its based on the
SPL generalization lately done by Tom Rini. The patches can be applied
on top of his 4th version located here:
http://github.com/trini/u-boot WIP/spl-improvements
Additionally, a new MPC5200 board port is included, the a3m071 boa
Signed-off-by: Stefan Roese
---
common/spl/spl.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index d36416c..cc8df84 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -75,13 +75,13 @@ void spl_parse_image_header(const st
On some system (e.g. powerpc), the load-address and entry-point is
located at address 0. So the current approach to load the image
(payload) including the header to the address "load-address - 64"
can't work here.
This patch adds an flag to skip this copying including header to
the SPL framework.
v4 of the SPL rework introduced some small issues. This patch fixes
them.
Signed-off-by: Stefan Roese
---
arch/arm/lib/spl.c | 2 ++
common/spl/spl.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c
index 2d1f47a..3a5c593 100644
--
SPL NOR flash booting support is quite simple. Only copying of the
images is needed.
On MPC5xxx we need to make sure to only use the standard memcpy()
implementation and not the MPC5xxx specific one. As the MPC5xxx
version has some complexity which is not needed for this SPL
booting.
Signed-off-b
By extracting these defines into a header, they can be re-used by other
C sources as well. This will be done by the SPL framework OS boot
support.
Signed-off-by: Stefan Roese
---
arch/powerpc/include/asm/processor.h | 6 ++
arch/powerpc/lib/bootm.c | 6 --
2 files changed, 6
This patch adds SPL booting support (NOR flash) for the
MPC5200 platforms.
Signed-off-by: Stefan Roese
---
Changes in v2:
- Rebased on Tom's SPL framework patches v4
arch/powerpc/cpu/mpc5xxx/Makefile | 4 ++
arch/powerpc/cpu/mpc5xxx/spl_boot.c | 81 +
This patch enables the SPL framework to be used on powerpc platforms
and not only ARM.
Signed-off-by: Stefan Roese
---
Changes in v2:
- Add option to skip copying of the mkimage header
- Rebased on Tom's SPL framework patches v4
arch/powerpc/lib/Makefile | 1 +
arch/powerpc/lib/spl.c| 42 +
By extracting getenv_f and envmatch() from cmd_nvedit.c into a
separate file, getenv_f() can be included easily into the SPL
binary. With this, SPL boards can now use getenv_f() to read
environment variables (e.g. to detect if the OS or U-Boot shall
be executed).
In the approach this is done for e
By calling fdt_chosen(), the chosen node will be updated /
created by the "fdt boardsetup" command. This is useful for
setting of the kernel commandline via the "bootargs"
env variable.
With this change, the "fdt boardsetup" can be used to prepare
the DT blob for SPL booting. The patched DT blob c
This patch adds support for the a3m071 board based on the
MPC5200.
Signed-off-by: Stefan Roese
---
Changes in v2:
- Rebased on Tom's SPL framework patches v4
- a3m071 build: Concat SPL binary and u-boot.img directly (no padding)
MAINTAINERS | 2 +
board/a3m071/Makefile
This patch enabled boards using the SPL framework to set
an entry point in the U-Boot mkimage image "u-boot.img".
Until now the entry point in the header has been set to 0.
By setting CONFIG_SYS_UBOOT_START in the board header, boards
can override this default location.
This will be used by the up
This new make target "u-boot-img.bin" consists of the U-Boot
SPL image with the real, full-blown U-Boot image directly
attached to it. The full-blown U-Boot image has the mkimage
header included, with its load-address and entry-point.
This will be used by the upcoming a3m071 MPC5200 board port.
Dear Bo Shen,
On 22.08.2012 03:33, Bo Shen wrote:
> Hi Andreas,
>
> On 8/21/2012 19:26, Andreas Bießmann wrote:
>> Dear Bo Shen,
>>
>> On 20.08.2012 08:32, Bo Shen wrote:
>>> Using common spi flash operation function to replace private operation
>>> funtion
>>>
>>> This patch is based on http://p
From: "Arnout Vandecappelle (Essensium/Mind)"
AM/DM37x SoCs add the CTRL_WKUP_CTRL register. It contains the
GPIO_IO_PWRDNZ bit, which is required to be set to enable the I/O pads
of gpio_126, gpio_127 and gpio_129.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
Cc: Tom Rini
---
arch/a
Modular early_malloc for DM with support for more heaps and lightweight
first heap on stack.
(RFC. Not intended for merging!)
Signed-off-by: Tomas Hlavacek
---
arch/arm/include/asm/global_data.h|1 +
arch/arm/lib/board.c |5 ++
arch/avr32/include/asm/global_
Dear Tomas Hlavacek,
> Modular early_malloc for DM with support for more heaps and lightweight
> first heap on stack.
>
> (RFC. Not intended for merging!)
>
> Signed-off-by: Tomas Hlavacek
[...]
CCing Graeme
Best regards,
Marek Vasut
___
U-Boot mail
The command 'dataflash_mmc_mux' is nowhere used and uses an outdated interface
since dataflash is handled via the sf command.
This is a first step towards removing the dataflash and merging it with sf
interfaces.
Signed-off-by: Andreas Bießmann
---
common/Makefile|1 -
common
Hello Marek and Greame!
Thanks.
I want to add that this patch contains only the early_malloc() backend
for prospective dm_malloc(). There are no relocation support or
helpers whatsoever yet.
The aim is to present the way of grabbing a chunk of stack and using
this memory as the early heap and co
Modular early_malloc for DM with support for more heaps and lightweight
first heap on stack.
(Not intended for merging!)
Signed-off-by: Tomas Hlavacek
---
arch/arm/include/asm/global_data.h|1 +
arch/arm/lib/board.c |5 ++
arch/avr32/include/asm/global_data.
The most important difference between mips32 and mips64 is the address
space. This patch solve This problem.
Signed-off-by: Zhizhou Zhang
---
arch/mips/include/asm/addrspace.h |2 +-
arch/mips/include/asm/io.h | 16
arch/mips/include/asm/posix_types.h |6 +++
This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian and little-endian support
- Remove cache probe
- Add standalone support for mips64
Changes in V3:
- merge related files into one patch, no longer one file one patch.
- add detailed commit message.
- remove standalon
These files are derived from arch/mips/cpu/mips32/*. The main changes are:
1, changes ABI o32 to n64, 2, add mips64 build cflags.
Signed-off-by: Zhizhou Zhang
---
arch/mips/cpu/mips64/Makefile | 46 +++
arch/mips/cpu/mips64/cache.S | 229 +
arch/mi
Both big-endian and little-endian are tested with below commands:
qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
Signed-off-by: Zhizhou Zhang
---
board/qemu-mips/u-boot.lds|8 ++
boar
Move CONFIG_SYS_TEXT_BASE to the board specified header file. So
change qemu-mips.h also. board/qemu-mips/config.mk is not used, then
remove it.
Signed-off-by: Zhizhou Zhang
---
board/qemu-mips/config.mk | 10 ---
examples/standalone/mips64.lds | 59 +
This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian and little-endian support
- Remove cache probe
- Add standalone support for mips64
Changes in V3:
- merge related files into one patch, no longer one file one patch.
- add detailed commit message.
- remove standalon
These files are derived from arch/mips/cpu/mips32/*. The main changes are:
1, changes ABI o32 to n64, 2, add mips64 build cflags.
Signed-off-by: Zhizhou Zhang
---
arch/mips/cpu/mips64/Makefile | 46 +++
arch/mips/cpu/mips64/cache.S | 229 +
arch/mi
The most important difference between mips32 and mips64 is the address
space. This patch solve This problem.
Signed-off-by: Zhizhou Zhang
---
arch/mips/include/asm/addrspace.h |2 +-
arch/mips/include/asm/io.h | 16
arch/mips/include/asm/posix_types.h |6 +++
Both big-endian and little-endian are tested with below commands:
qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
Signed-off-by: Zhizhou Zhang
---
board/qemu-mips/u-boot.lds|8 ++
boar
Move CONFIG_SYS_TEXT_BASE to the board specified header file. So
change qemu-mips.h also. board/qemu-mips/config.mk is not used, then
remove it.
Signed-off-by: Zhizhou Zhang
---
board/qemu-mips/config.mk | 10 ---
examples/standalone/mips64.lds | 59 +
Hi Zhizhou,
2012/8/27 Zhizhou Zhang :
> This patch add mips64 cpu support.
> Changes in V4:
> - Add both big-endian and little-endian support
> - Remove cache probe
> - Add standalone support for mips64
> Changes in V3:
> - merge related files into one patch, no longer one file one patch.
Hi Stefano,
> On 21/08/2012 23:07, Benoît Thébaudeau wrote:
> > Define default SoC input clock frequencies for i.MX35 in order to
> > get rid of
> > duplicated definitions.
> >
> > Signed-off-by: Benoît Thébaudeau
> > Cc: Stefano Babic
> > ---
> > This patch depends on http://patchwork.ozlabs.o
This patch removes some superfluous SDRAM init calls to fit the
NAND_SPL image into 4k again.
Signed-off-by: Stefan Roese
---
nand_spl/board/amcc/canyonlands/ddr2_fixed.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
b/nand_spl/board/amcc/can
Hi,
Function ubifs_finddir() in "fs/ubifs/ubifs.c" shall free allocated
memory after the dir is found. This has been tested on my board.
A pending issue to be patched:
Relative symlink, i.e. "ubifsload /sbin/../busybox", does not work correctly.
Regards,
Dev
_
On 08/27/2012 04:04 PM, Dev Ma wrote:
> Function ubifs_finddir() in "fs/ubifs/ubifs.c" shall free allocated
> memory after the dir is found. This has been tested on my board.
Could you please post a proper patch to fix this issue. You already seem
to have a fix, so please share it with us.
> A pe
On 08/24/2012 05:09 PM, Scott Wood wrote:
> On 08/24/2012 06:58 PM, Tom Rini wrote:
>> Takes the load function from arch/arm/cpu/armv7/omap-common/spl_nand.c
>> instead. This will allow for easier integration of SPL-boots-Linux code on
>> other arches.
>>
>> Signed-off-by: Tom Rini
>> ---
>> Chan
On 27/08/2012 15:26, Benoît Thébaudeau wrote:
>> Hi Benoît,
>>
>> I cannot apply this series. Can you take a look, please ?
>
> Yes, it's because it should be applied only after
> http://patchwork.ozlabs.org/patch/177437/ (dependency indicated after the
> patch
> header).
I see, I have missed t
Hi Albert,
Yes, I could, but the purpose of my protocol is to be software driven and
not human driven. Also error checking is extremely important when testing
boards.
Regards,
Fred.
2012/8/25 Albert ARIBAUD
> Hi Fred,
>
> On Tue, 21 Aug 2012 18:27:02 +0200, EVS Hardware Dpt
> wrote:
>
> > Hi,
On 08/25/2012 04:56 AM, Pavel Machek wrote:
> Hi!
>
>> [snip]
It's the omap-common/spl.c code with the bits for IH_OS_LINUX taken out
:) Can you please re-do your series on top of the SPL series I just
posted that provides a common SPL framework? Thanks!
>>>
>>> I'll take a look.
Hi EVS,
On Mon, 27 Aug 2012 17:07:42 +0200, EVS Hardware Dpt
wrote:
> Hi Albert,
>
> Yes, I could, but the purpose of my protocol is to be software driven
> and not human driven. Also error checking is extremely important when
> testing boards.
Not sure I get you there. The netconsole is just
On 08/25/2012 05:05 AM, Pavel Machek wrote:
> Hi!
>
>> [snip]
It's the omap-common/spl.c code with the bits for IH_OS_LINUX taken out
:) Can you please re-do your series on top of the SPL series I just
posted that provides a common SPL framework? Thanks!
>>>
>>> I'll take a look.
This is a rework of a previously submitted patchset and bundles the
main board support and USB support into a single commit.
It requires the patch "mx5: add iomux-mx51.h include"
* Use iomux-mx51.h include to simplify board configuration.
* Simplify LED support (remove efikamx_toggle_led, change
On 08/27/2012 09:37 AM, Tom Rini wrote:
> On 08/24/2012 05:09 PM, Scott Wood wrote:
>> On 08/24/2012 06:58 PM, Tom Rini wrote:
>>> Takes the load function from arch/arm/cpu/armv7/omap-common/spl_nand.c
>>> instead. This will allow for easier integration of SPL-boots-Linux code on
>>> other arches.
On Mon, Aug 27, 2012 at 12:51:01PM +0200, Stefan Roese wrote:
> This patch enables the SPL framework to be used on powerpc platforms
> and not only ARM.
>
> Signed-off-by: Stefan Roese
[snip]
> diff --git a/common/spl/spl.c b/common/spl/spl.c
> index 61936ee..3eb269e 100644
> --- a/common/spl/sp
On Mon, Aug 27, 2012 at 12:50:56PM +0200, Stefan Roese wrote:
> v4 of the SPL rework introduced some small issues. This patch fixes
> them.
OK, I see how you're doing GD on powerpc now, I'll re-work what I had
done in my series for v5. Thanks!
--
Tom
___
On Mon, Aug 27, 2012 at 12:50:57PM +0200, Stefan Roese wrote:
> Signed-off-by: Stefan Roese
Good spotting, I'll grab this for my v5 series.
--
Tom
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Yes it could be software driven, but it's much more complex to manage and
error checking could be even more complex.
Anyway, I've implemented the protocol and it's working properly. As it's
used for internal testing, i'm not forced to make source code available, so
this issue is closed.
Thanks fo
On Mon, Aug 27, 2012 at 12:50:59PM +0200, Stefan Roese wrote:
> SPL NOR flash booting support is quite simple. Only copying of the
> images is needed.
>
> On MPC5xxx we need to make sure to only use the standard memcpy()
> implementation and not the MPC5xxx specific one. As the MPC5xxx
> version h
On Mon, Aug 27, 2012 at 11:16:45AM -0500, Scott Wood wrote:
> On 08/27/2012 09:37 AM, Tom Rini wrote:
> > On 08/24/2012 05:09 PM, Scott Wood wrote:
> >> On 08/24/2012 06:58 PM, Tom Rini wrote:
> >>> Takes the load function from arch/arm/cpu/armv7/omap-common/spl_nand.c
> >>> instead. This will all
On 08/27/2012 12:07 PM, Tom Rini wrote:
> On Mon, Aug 27, 2012 at 11:16:45AM -0500, Scott Wood wrote:
>> On 08/27/2012 09:37 AM, Tom Rini wrote:
>>> On 08/24/2012 05:09 PM, Scott Wood wrote:
What is the benefit of putting this in nand_spl_simple.c versus another
file? What if someone wan
>From 14ef1037b2b535c30c62c8bf1483f9f66960e4e8 Mon Sep 17 00:00:00 2001
From: Ashok Kumar Reddy
Date: Mon, 27 Aug 2012 22:29:20 +0530
Subject: [PATCH v2] mx5:Use IMX_GPIO_NR macro
Signed-off-by: Ashok Kumar Reddy
---
Changes from v1:
-Remove checkpatch errors
board/freescale/mx51evk/mx51evk.
Hi Stefan,
2012/8/27 Stefan Roese :
> SPL NOR flash booting support is quite simple. Only copying of the
> images is needed.
>
> On MPC5xxx we need to make sure to only use the standard memcpy()
> implementation and not the MPC5xxx specific one. As the MPC5xxx
> version has some complexity which i
On 27/08/2012 17:58, Matt Sealey wrote:
> This is a rework of a previously submitted patchset and bundles the
> main board support and USB support into a single commit.
>
> It requires the patch "mx5: add iomux-mx51.h include"
>
> * Use iomux-mx51.h include to simplify board configuration.
> * Si
On 24/08/2012 18:44, Matt Sealey wrote:
> We have no idea where the DCD was derived from for Smartbook support, but they
> differ from the Smarttop settings, MX51EVK settings and certainly don't
> correspond to any shipped or development version of U-Boot that Genesi has
> ever
> had on any Smartb
On 27/08/2012 19:19, Ashok wrote:
> From 14ef1037b2b535c30c62c8bf1483f9f66960e4e8 Mon Sep 17 00:00:00 2001
> From: Ashok Kumar Reddy
> Date: Mon, 27 Aug 2012 22:29:20 +0530
> Subject: [PATCH v2] mx5:Use IMX_GPIO_NR macro
>
> Signed-off-by: Ashok Kumar Reddy
> ---
Hi Ashok,
> Changes from v1:
>
On Mon, Aug 27, 2012 at 12:14:30PM -0500, Scott Wood wrote:
> On 08/27/2012 12:07 PM, Tom Rini wrote:
> > On Mon, Aug 27, 2012 at 11:16:45AM -0500, Scott Wood wrote:
> >> On 08/27/2012 09:37 AM, Tom Rini wrote:
> >>> On 08/24/2012 05:09 PM, Scott Wood wrote:
> What is the benefit of putting th
On 08/27/2012 10:29 AM, Daniel Schwierzeck wrote:
> Hi Stefan,
>
> 2012/8/27 Stefan Roese :
>> SPL NOR flash booting support is quite simple. Only copying of the
>> images is needed.
>>
>> On MPC5xxx we need to make sure to only use the standard memcpy()
>> implementation and not the MPC5xxx speci
On 08/27/2012 12:50 PM, Tom Rini wrote:
> On Mon, Aug 27, 2012 at 12:14:30PM -0500, Scott Wood wrote:
>> On 08/27/2012 12:07 PM, Tom Rini wrote:
>>> On Mon, Aug 27, 2012 at 11:16:45AM -0500, Scott Wood wrote:
On 08/27/2012 09:37 AM, Tom Rini wrote:
> On 08/24/2012 05:09 PM, Scott Wood wrot
On Tue, Aug 21, 2012 at 2:59 PM, Linus Walleij wrote:
> On Sat, Aug 4, 2012 at 5:21 PM, Linus Walleij
> wrote:
>
>> The configuration that is common for all Integrator boards may
>> just as well be stored in a common include file as per pattern
>> from other boards. This eases maintenance quite
On Fri Aug 24, 2012 at 04:58:14PM -0700, Tom Rini wrote:
> Hey all,
>
> The following patch series merges the davinci and omap-common SPL
> frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a
> few small cleanups to the code to make it a little smaller and more
> flexible. The e
On Mon, Aug 27, 2012 at 01:02:56PM -0500, Scott Wood wrote:
> On 08/27/2012 12:50 PM, Tom Rini wrote:
> > On Mon, Aug 27, 2012 at 12:14:30PM -0500, Scott Wood wrote:
> >> On 08/27/2012 12:07 PM, Tom Rini wrote:
> >>> On Mon, Aug 27, 2012 at 11:16:45AM -0500, Scott Wood wrote:
> On 08/27/2012 0
On Mon, Aug 27, 2012 at 11:30:52AM -0700, Linus Walleij wrote:
> On Tue, Aug 21, 2012 at 2:59 PM, Linus Walleij
> wrote:
> > On Sat, Aug 4, 2012 at 5:21 PM, Linus Walleij
> > wrote:
> >
> >> The configuration that is common for all Integrator boards may
> >> just as well be stored in a common i
On Fri Aug 24, 2012 at 04:58:30PM -0700, Tom Rini wrote:
> From: Stefano Babic
>
> If an u-boot image is not found, SPL thinks to load a bare
> u-boot.bin image with a maximum size of 200KB.
> Use CONFIG_SYS_MONITOR_LEN instead.
>
> Signed-off-by: Stefan Roese
> Signed-off-by: Stefano Babic
>
The common spl framework expects the u-boot payload size through
CONFIG_SYS_MONITOR_LEN. Define the macro with the u-boot's size. With
this change, CONFIG_SYS_NAND_U_BOOT_SIZE is no longer required. Delete
the same.
Signed-off-by: Sughosh Ganu
---
To be applied on top of the common spl framework
Hi Mike,
On Thu, 5 Apr 2012 00:53:40 -0400
Mike Frysinger wrote:
> This field gets read in one place (by "bdinfo"), and we can replace
> that with getenv("ipaddr"). After all, the bi_ip_addr field is kept
> up-to-date implicitly with the value of the ipaddr env var.
unfortunately this patch b
Hi, Stefan,
I changed ubifs.c as below. But it only improve the memory leak. There
is still some memory leak.
diff -u -r -d -p -N -EZB -- u-boot-2012.07.orig/fs/ubifs/ubifs.c
u-boot-2012.07/fs/ubifs/ubifs.c
--- sdc/u-boot-2012.07/fs/ubifs/ubifs.c 2012-07-30 14:24:36.0 -0400
+++ u-boot-20
On Fri Aug 24, 2012 at 04:58:25PM -0700, Tom Rini wrote:
> - Remove includes we don't need
> - Switch some printf statements to puts
> - Convert some printf statements to debug, introduce new puts statements
> - In most cases saying just "No mkimage signature, assuming
> u-boot.bin" or simila
On 08/27/2012 12:18 PM, Sughosh Ganu wrote:
> On Fri Aug 24, 2012 at 04:58:30PM -0700, Tom Rini wrote:
>> From: Stefano Babic
>>
>> If an u-boot image is not found, SPL thinks to load a bare
>> u-boot.bin image with a maximum size of 200KB.
>> Use CONFIG_SYS_MONITOR_LEN instead.
>>
>> Signed-off-b
On 08/27/2012 12:34 PM, Sughosh Ganu wrote:
> On Fri Aug 24, 2012 at 04:58:25PM -0700, Tom Rini wrote:
>> - Remove includes we don't need
>> - Switch some printf statements to puts
>> - Convert some printf statements to debug, introduce new puts statements
>> - In most cases saying just "No mkima
On Mon, Aug 27, 2012 at 12:08:14PM -0700, Tom Rini wrote:
> On Mon, Aug 27, 2012 at 01:02:56PM -0500, Scott Wood wrote:
> > On 08/27/2012 12:50 PM, Tom Rini wrote:
> > > On Mon, Aug 27, 2012 at 12:14:30PM -0500, Scott Wood wrote:
> > >> On 08/27/2012 12:07 PM, Tom Rini wrote:
> > >>> On Mon, Aug 27
Hi Tomas,
None of my example code is compile tested...
Regards,
Graeme
On Mon, Aug 27, 2012 at 10:42 PM, Tomas Hlavacek wrote:
> Modular early_malloc for DM with support for more heaps and lightweight
> first heap on stack.
>
> (Not intended for merging!)
>
> diff --git a/arch/arm/include/asm
Hey all,
The following patch series merges the davinci and omap-common SPL
frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a
few small cleanups to the code to make it a little smaller and more
flexible. The end result is that davinci can now opt in on
SPL-boots-Linux by just s
The 'clean' target has been removing all of spl but not u-boot itself.
For consistency and ease of testing, only remove SPL binaries / maps in
the clobber target, just like for full U-Boot
Signed-off-by: Tom Rini
---
Makefile | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/lowlevel_init.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S
b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S
index ccc6bb6..48a296c 100644
--- a/arch/arm/cpu/armv
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/spl_mmc.c |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/armv7/omap-common/spl_mmc.c
b/arch/arm/cpu/armv7/omap-common/spl_mmc.c
index 2f921bb..7552f6c 100644
--- a/arch/arm/cpu/armv7/omap-common/spl_mmc.c
+++ b/
Only omap4/5 currently have a meaningful set of display text and overo
had been adding a function to display nothing. Change how this works to
be opt-in and only turned on for omap4/5 now.
Signed-off-by: Tom Rini
---
README |4
arch/arm/cpu/armv
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/boot-common.c |2 +-
arch/arm/cpu/armv7/omap-common/lowlevel_init.S |4 ++--
arch/arm/cpu/armv7/omap-common/spl.c |2 +-
arch/arm/cpu/armv7/omap-common/spl_mmc.c |2 +-
arch/arm/cpu/armv7/omap3/board.c
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/boot-common.c |2 +-
arch/arm/cpu/armv7/omap-common/spl_mmc.c |2 +-
arch/arm/cpu/armv7/omap-common/spl_nand.c|2 +-
arch/arm/cpu/armv7/omap3/board.c |2 +-
arch/arm/include/asm/omap_common.h
This detection code doesn't (and can't) do anything currently, so
remove.
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/spl_nand.c | 13 +++--
arch/arm/cpu/armv7/omap3/board.c |3 ---
arch/arm/include/asm/omap_common.h|1 -
3 files changed, 3 inse
We can only attempt to setup a malloc pool if
CONFIG_SYS_SPL_MALLOC_START is defined, and not all boards require it.
Make the call depend on the define.
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/spl.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/armv7/o
Move the SPL prototypes from into and
add for arch specific portions of CONFIG_SPL_FRAMEWORK.
Signed-off-by: Tom Rini
---
Changes in v2:
- Fix checkpatch warning (u32* boot_params_ptr -> u32 *boot_params_ptr)
arch/arm/cpu/armv7/am33xx/board.c |2 +-
arch/arm/cpu/armv7/omap-c
Move the default omap/related-centric board_mmc_init to
arch/arm/cpu/armv7/omap-common/boot-common.c and move the type defines
to
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/boot-common.c | 16
arch/arm/cpu/armv7/omap-common/spl_mmc.c | 17 --
- Remove includes we don't need
- Switch some printf statements to puts
- Convert some printf statements to debug, introduce new puts statements
- In most cases saying just "No mkimage signature, assuming
u-boot.bin" or similar is sufficient. This also means the non-DEBUG
case doesn't ne
This is an OMAP/related-specific function, move calling it to
spl_board_init() and turn on CONFIG_SPL_BOARD_INIT on the boards that
enabled NAND and didn't enable this already.
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/boot-common.c |7 +++
arch/arm/cpu/armv7/omap-commo
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/omap-common/spl.c |5 +
arch/arm/include/asm/spl.h |3 +++
2 files changed, 8 insertions(+)
diff --git a/arch/arm/cpu/armv7/omap-common/spl.c
b/arch/arm/cpu/armv7/omap-common/spl.c
index 3a1029f..dc26750 100644
--- a/arch/arm
In SPL (CONFIG_SPL_FRAMEWORK) board_init_f must setup the stack pointer,
clear the BSS and call board_init_r. We mark this as weak as some
platforms may need to perform additional initalization at this point.
We provide a gd that we know will be in a usable location, once the BSS
has been cleared
Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the common/spl SPL
framework, enable on all of the previously using boards. We move the
spl_ymodem.c portion to common/ and spl_mmc.c to drivers/mmc/. We leave
the NAND one in-place as we plan to replace it later in this series.
We use common/spl
From: Stefano Babic
If an u-boot image is not found, SPL thinks to load a bare
u-boot.bin image with a maximum size of 200KB.
Use CONFIG_SYS_MONITOR_LEN instead.
Signed-off-by: Stefan Roese
Signed-off-by: Stefano Babic
Signed-off-by: Tom Rini
---
Changes in v4:
- Add Stefano's patch for CONFI
From: Stefan Roese
Signed-off-by: Stefan Roese
Signed-off-by: Tom Rini
---
Changes in v5:
- Add Stefan's patch to use image_get_xxx() functions
common/spl/spl.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index a9073c6..
We move the spl_nand_load_image function to common/spl. This will allow
for easier integration of SPL-boots-Linux code on other arches.
Signed-off-by: Tom Rini
---
Changes in v4:
- Leave nand_spl_load.c alone, move the new load into nand_spl_simple.c
Changes in v5:
after talking with Scott Wo
- Convert the non-relocation part of board_init_f to spl_board_init,
turn on CONFIG_SPL_BOARD_INIT in the configs.
- Remove duplicated code.
- Add spl_boot_device() that returns the statically chosen boot device.
Signed-off-by: Tom Rini
---
Changes in v2:
- Add CONFIG_SYS_SPL_MALLOC_START / SIZ
This file documents when to build for da850evm and when to build for
da850_am18xxevm. It also documents how to write the u-boot.ais file to
persistent storage (such as SPI), in some cases as well as how to write
a recovery image.
Signed-off-by: Tom Rini
---
Changes in v2:
- Add README.da850_am18
From: Stefan Roese
On some system (e.g. powerpc), the load-address and entry-point is
located at address 0. So the current approach to load the image
(payload) including the header to the address "load-address - 64"
can't work here.
This patch adds an flag to skip this copying including header t
1 - 100 of 119 matches
Mail list logo