From: Simon Schwarz
Adds prep subcommand to bootm implementation of ARM. When bootm is called
with the subcommand prep the function stops right after ATAGS creation and
before announce_and_cleanup.
This is used in command "cmd_spl export"
Signed-off-by: Simon Schwarz
---
V2 change
Hi Stefano,
2012/1/4 Stefano Babic :
> From: Simon Schwarz
>
> Linux crashes if the GPMC isn't configured for the dm9000.
>
> Signed-off-by: Simon Schwarz
> CC: Tom Rini
> CC: Stefano Babic
> CC: Wolfgang Denk
> ---
> V2 changes:
> nothing
>
> V3
On 12/13/2011 11:36 AM, Stefano Babic wrote:
On 13/12/2011 11:25, Simon Schwarz wrote:
Hi,
Hi Simon,
I have not yet factored out the general elements of SPL direct boot. ATM
i don't have the time - so if someone wants to take it :)
I take your proposal and I will go on working on
Ilya Yanok
CC: Scott Wood
CC: Tom Rini
CC: Simon Schwarz
CC: Wolfgang Denk
---
V4:
- Drop SYS_ from local defines (Wolfgang Denk, Scott Wood)
- drop parenthesis around defines (Scott Wood)
V3:
- use local defines for CONFIG_SYS_NAND_ECCSTEPS and
CONFIG_SYS_NAND_ECCTOTAL (Tom Rini)
-
Hi,
I have not yet factored out the general elements of SPL direct boot. ATM
i don't have the time - so if someone wants to take it :)
If not this will have to wait, maybe until next year.
Regards
Simon
On 12/13/2011 11:20 AM, Simon Schwarz wrote:
Adds direct Linux boot to SP
- Implements spl_start_uboot() for devkit8000
- Add configs to activate direct OS boot from SPL
Signed-off-by: Simon Schwarz
---
V10 changes:
sliced from the implementation
added an implementation of spl_start_uboot for devkit8000
---
board/timll/devkit8000/devkit8000.c | 18
This only outputs "Assuming u-boot.bin..." if debug is active.
Signed-off-by: Simon Schwarz
---
v10 changes:
NEW in v10
---
arch/arm/cpu/armv7/omap-common/spl.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/cpu/armv7/omap-common/spl.c
b/arch/arm
From: Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000.
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
V4 changes:
noting
V5 changes:
nothing
V6 changes:
nothing
V7 changes:
FIX multiline comment style
(http://article.gman
minor changes
based on:
- Prep subcommand patch for arm
Please test this patch - there have been major changes!
Simon Schwarz (7):
Add cmd_spl command
devki8000: add config for spl command
omap-common: Add NAND SPL linux booting
devkit8000/spl: init GPMC for dm9000 in SPL
omap-common/spl
This adds some configs for devkit8000 to use the new spl command
Signed-off-by: Simon Schwarz
---
V10 changes:
This is new in V10 was split from other patch
---
include/configs/devkit8000.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/configs
From: Simon Schwarz
This adds Linux booting to the SPL
This depends on CONFIG_MACH_TYPE patch by Igor Grinberg
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809)
Related CONFIGs:
CONFIG_SPL_OS_BOOT
Activates/Deactivates the OS booting feature
CONFIG_SPL_OS_BOOT_KEY
From: Simon Schwarz
This adds a spl command to the u-boot.
Related config:
CONFIG_CMD_CPL
activate/deactivate the command
CONFIG_CMD_SPL_NAND_OFS
Offset in NAND to use
Signed-off-by: Simon Schwarz
---
V2 changes:
CHG corrected bootm call. Now bootm is called with five
From: Simon Schwarz
This implements booting of Linux from NAND in SPL
Related config parameters:
CONFIG_SYS_NAND_SPL_KERNEL_OFFS
Offset in NAND of direct boot kernel image to use in SPL
CONFIG_SYS_SPL_ARGS_ADDR
Address where the kernel boot arguments are expected - this is
Hi Mike,
2011/12/8 Mike Frysinger :
> On Tuesday 06 December 2011 13:34:35 Simon Schwarz wrote:
>> --- /dev/null
>> +++ b/common/cmd_spl.c
>>
>> +int call_bootm(int argc, char * const argv[], char *subcommand[])
>
> static
done.
>
>> +int spl_export_fdt
On 12/07/2011 04:39 PM, Stefano Babic wrote:
On 06/12/2011 19:34, Simon Schwarz wrote:
From: Simon Schwarz
This implements booting of Linux from NAND in SPL
Related config parameters:
CONFIG_SYS_NAND_SPL_KERNEL_OFFS
Offset in NAND of direct boot kernel image to use in SPL
On 12/07/2011 04:52 PM, Stefano Babic wrote:
On 06/12/2011 19:34, Simon Schwarz wrote:
Adds direct Linux boot to SPL. It implements a spl export command to save
ATAGS or FDT to NAND flash. The kernel image has to be in place for this!
Changes in V5:
- Rebased on u-boot-ti
- fixed MAKEALL
From: Simon Schwarz
This adds Linux booting to the SPL
This depends on CONFIG_MACH_TYPE patch by Igor Grinberg
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809)
Related CONFIGs:
CONFIG_SPL_OS_BOOT
Activates/Deactivates the OS booting feature
CONFIG_SPL_OS_BOOT_KEY
From: Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000.
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
V4 changes:
noting
V5 changes:
nothing
V6 changes:
nothing
V7 changes:
FIX multiline comment style
(http://article.gman
From: Simon Schwarz
This implements booting of Linux from NAND in SPL
Related config parameters:
CONFIG_SYS_NAND_SPL_KERNEL_OFFS
Offset in NAND of direct boot kernel image to use in SPL
CONFIG_SYS_SPL_ARGS_ADDR
Address where the kernel boot arguments are expected - this is
From: Simon Schwarz
This adds a spl command to the u-boot.
Related config:
CONFIG_CMD_CPL
activate/deactivate the command
CONFIG_CMD_SPL_NAND_OFS
Offset in NAND to use
Signed-off-by: Simon Schwarz
---
V2 changes:
CHG corrected bootm call. Now bootm is called with five
subcommand patch for arm
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/106725)
Simon Schwarz (4):
Add cmd_spl command
omap-common: Add NAND SPL linux booting
devkit8000/spl: init GPMC for dm9000 in SPL
omap-common/spl: Add linux boot to SPL
arch/arm/cpu/armv7/omap-common
On 12/06/2011 06:18 PM, Stefano Babic wrote:
On 31/10/2011 17:23, Simon Schwarz wrote:
From: Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now
loads the block to spare area and just copy the needed junk to destination.
Whole block read is necessary for
://patchwork.ozlabs.org/patch/129760/
Regards
Simon
On 12/06/2011 10:32 AM, Simon Schwarz wrote:
Hi Albert,
Here is the V2 Tom was talking about:
http://patchwork.ozlabs.org/patch/129584/
I also have this patch in the queue which i hope I can rebase this
evening (it was kind of forgotten):
http://thread.gmane.org
On 12/06/2011 06:18 PM, Stefano Babic wrote:
On 31/10/2011 17:23, Simon Schwarz wrote:
From: Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now
loads the block to spare area and just copy the needed junk to destination.
Whole block read is necessary for
From: Simon Schwarz
This adds Linux booting to the SPL
This depends on CONFIG_MACH_TYPE patch by Igor Grinberg
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809)
Related CONFIGs:
CONFIG_SPL_OS_BOOT
Activates/Deactivates the OS booting feature
CONFIG_SPL_OS_BOOT_KEY
From: Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now
loads the block to spare area and just copy the needed junk to destination.
Whole block read is necessary for ecc check!
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
From: Simon Schwarz
This implements booting of Linux from NAND in SPL
Related config parameters:
CONFIG_SYS_NAND_SPL_KERNEL_OFFS
Offset in NAND of direct boot kernel image to use in SPL
CONFIG_SYS_SPL_ARGS_ADDR
Address where the kernel boot arguments are expected - this is
From: Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000.
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
V4 changes:
noting
V5 changes:
nothing
V6 changes:
nothing
V7 changes:
FIX multiline comment style
(http://article.gman
From: Simon Schwarz
This adds a spl command to the u-boot.
Related config:
CONFIG_CMD_CPL
activate/deactivate the command
CONFIG_CMD_SPL_NAND_OFS
Offset in NAND to use
Signed-off-by: Simon Schwarz
---
V2 changes:
CHG corrected bootm call. Now bootm is called with five
message
Changes in V7:
- Correct style and format errors
Changes in V8:
- rebased on u-boot
based on:
- Prep subcommand patch for arm
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/106725)
Simon Schwarz (5):
Add cmd_spl command
omap-common: Add NAND SPL linux booting
devkit8000
From: Simon Schwarz
Adds prep subcommand to bootm implementation of ARM. When bootm is called with
the subcommand prep the function stops right after ATAGS creation and before
announce_and_cleanup.
This is used in command "cmd_spl export"
Signed-off-by: Simon Schwarz
---
V2 change
Hi Albert,
Here is the V2 Tom was talking about:
http://patchwork.ozlabs.org/patch/129584/
I also have this patch in the queue which i hope I can rebase this
evening (it was kind of forgotten):
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/105545/focus=113495
Regards
Simon
On 12/05/
://article.gmane.org/gmane.comp.boot-loaders.u-boot/118711
Signed-off-by: Simon Schwarz
---
V2 changes:
CHG added a more comprehensive comment on CONFIG_SYS_TEXT_BASE
CHG Moved CONFIG_SYS_SPL_MALLOC_START from 0x8020 to 0x80208000 to be
consistent with beagle board
Cc: s-paul...@ti.com
Cc: tr
described case this messed with the
pointer to the mcc datastructure - therefore the u-boot.img file
failed to be read.
Regards
Simon
2011/12/1 Igor Grinberg :
> Hi Simon,
>
> On 11/30/11 19:05, Simon Schwarz wrote:
>> This moves CONFIG_SYS_TEXT_BASE one MB after beginning
This fixes the current mmc booting problems with devkit8000.
I would recommend to include it into the upcoming release.
Regards
Simon
2011/11/30 Simon Schwarz :
> This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move
> CONFIG_SYS_SPL_MALLOC_START to have one MB of free
://article.gmane.org/gmane.comp.boot-loaders.u-boot/118711
Signed-off-by: Simon Schwarz
Cc: s-paul...@ti.com
Cc: w...@denx.de
Cc: tr...@ti.com
---
include/configs/devkit8000.h |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
On 11/29/2011 06:14 PM, Simon Schwarz wrote:
On 11/29/2011 05:25 PM, Marek Vasut wrote:
[SNIP]
Stupid question -- isn't some stack corruption / memory corruption
going on ?
M
Not stupid at all. I don't think it is a stack corruption but IMHO it
seems that the .bss section is o
On 11/29/2011 05:25 PM, Marek Vasut wrote:
[SNIP]
Stupid question -- isn't some stack corruption / memory corruption going on ?
M
Not stupid at all. I don't think it is a stack corruption but IMHO it
seems that the .bss section is overwritten somehow.
The cur_dev pointer is 0x8120 for
On 11/29/2011 03:41 PM, Tom Rini wrote:
On 11/29/2011 04:11 AM, Simon Schwarz wrote:
[SNIP]
I will do some debugging later this day and post the results here.
So here is the result of my first session:
- The problem seems to be in fat.c disk_read-function.
- it returns -1 because if
Hi List,
there seems to be a problem in devkit8000 in combination with mmc boot.
I have this error:
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
Error reading cluster
spl: error reading image u-boot.img, err - -1
### ERROR ### Please RESET the board ###
Some exploring i did some time ag
Hi Albert,
On 11/25/2011 08:40 PM, Albert ARIBAUD wrote:
Hi Simon,
Le 31/10/2011 17:34, Simon Schwarz a écrit :
This is a fix for a regression introduced by my patch
55f429bb39614a16b1bacc9a8bea9ac01a60bfc8 to u-boot-ti/next
The issue is described here:
http://article.gmane.org
Do you have an UART connected?
Regards
Simon
On 11/07/2011 02:18 PM, Mariya Abdul Ghafoor wrote:
>
> I configured Angstrom on DevKit8000 (clone
> of Beagleboard) now the touch screen shows shell prompt i.e.
> root@DevKit8000~# but there is no uboot console output...I need to port
> Android on it
Hi Scott
On 10/31/2011 10:22 PM, Scott Wood wrote:
> What would the semantics of a generic dma_wait_for_transfer() be?
>
> I just don't see how this is generic at all, whatever the name.
>
Hm. It would be a check if the given DMA channel is active - and if it
is busy waiting for it.
So, what w
Functions often used in SPL are now part of linux/mtd/nand.h.
Static modifiers are removed from these functions in
drivers/mtd/nand/nand_base.c.
Signed-off-by: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
Cc: albert.u.b...@aribaud.net
---
Changes V2:
CHG moved function
: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
Cc: albert.u.b...@aribaud.net
---
Changes V2:
CHG include linux/mtd/nand.h because of:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/110219
Changes V3:
none
---
drivers/mtd/nand/s3c64xx.c | 28
- http://article.gmane.org/gmane.comp.boot-loaders.u-boot/114558
Simon Schwarz (2):
nand: Add common functions to linux/mtd/nand.h
Fix regression in SMDK6400
drivers/mtd/nand/nand_base.c |6 +++---
drivers/mtd/nand/s3c64xx.c | 28
From: Simon Schwarz
This adds Linux booting to the SPL
This depends on CONFIG_MACH_TYPE patch by Igor Grinberg
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809)
Related CONFIGs:
CONFIG_SPL_OS_BOOT
Activates/Deactivates the OS booting feature
CONFIG_SPL_OS_BOOT_KEY
From: Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now
loads the block to spare area and just copy the needed junk to destination.
Whole block read is necessary for ecc check!
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
From: Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000.
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
V4 changes:
noting
V5 changes:
nothing
V6 changes:
nothing
V7 changes:
FIX multiline comment style
(http://article.gman
From: Simon Schwarz
This implements booting of Linux from NAND in SPL
Related config parameters:
CONFIG_SYS_NAND_SPL_KERNEL_OFFS
Offset in NAND of direct boot kernel image to use in SPL
CONFIG_SYS_SPL_ARGS_ADDR
Address where the kernel boot arguments are expected - this is
From: Simon Schwarz
This adds a spl command to the u-boot.
Related config:
CONFIG_CMD_CPL
activate/deactivate the command
CONFIG_CMD_SPL_NAND_OFS
Offset in NAND to use
Signed-off-by: Simon Schwarz
---
V2 changes:
CHG corrected bootm call. Now bootm is called with five
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/106725)
Related to:
- http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102669
Simon Schwarz (5):
Add cmd_spl command
omap-common: Add NAND SPL linux booting
omap-common/spl: Add linux boot to SPL
devkit8000/spl: init GPMC
Dear Scott,
On 10/25/2011 08:24 PM, Scott Wood wrote:
> On 10/16/2011 05:10 AM, Simon Schwarz wrote:
>> This adds DMA copy for the nand spl implementation. If CONFIG_SPL_DMA_SUPPORT
>> is defined the DMA is used.
>>
>> Based on DMA driver patch:
>> http:/
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
> Cc: Albert ARIBAUD
> Cc: Simon Schwarz
> Signed-off-by: Tom Rini
> ---
> i
Hi Ilya,
On 10/20/2011 05:23 PM, Ilya Yanok wrote:
> Hi Simon,
>
> On 20.10.2011 16:00, Simon Schwarz wrote:
>>> Use software ECC for the SPL build if support for software ECC in
SPL is
>>> enabled.
>>
>> I'am curious: Is there a special reaso
Hi Ilya,
On 10/18/2011 01:33 AM, Ilya Yanok wrote:
> Use software ECC for the SPL build if support for software ECC in SPL is
> enabled.
I'am curious: Is there a special reason for having software ecc in SPL?
Regards
Simon
___
U-Boot mailing list
U-Boo
On 10/18/2011 03:05 PM, Jason wrote:
> Wolfgang,
>
> On Tue, Oct 18, 2011 at 11:44:37AM +0200, Wolfgang Denk wrote:
>> Dear Andreas,
>>
>> In message<4e9d4552.5040...@gmail.com> you wrote:
>>> I guess it will be doable to have some scripts/prepare-patch which runs
>>> a) git format-patch
>>> b
On 10/18/2011 11:34 AM, Wolfgang Denk wrote:
> Dear Simon Schwarz,
>
> In message<4e9d21f8.40...@gmail.com> you wrote:
>>
>> One of my big problems with this was that you not only have to run a
>> MAKEALL with your own changes but also have to do that with t
Hi Wolfgang,
On 10/18/2011 08:23 AM, Wolfgang Denk wrote:
[SNIP]
>
> Why is nobody doing this?
One of my big problems with this was that you not only have to run a
MAKEALL with your own changes but also have to do that with the former
state of the repo to identifie the differences.
So one sugg
: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
Cc: albert.u.b...@aribaud.net
---
Changes V2:
CHG include linux/mtd/nand.h because of:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/110219
---
drivers/mtd/nand/s3c64xx.c | 28
Functions often used in SPL are now part of linux/mtd/nand.h.
Signed-off-by: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
Cc: albert.u.b...@aribaud.net
---
Changes V2:
CHG moved function definiton from nand.h to linux/mtd/nand.h because of:
http://article.gmane.org
This is a fix for a regression introduced by my patch
55f429bb39614a16b1bacc9a8bea9ac01a60bfc8 to u-boot-ti/next
The issue is described here:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108873
Simon Schwarz (3):
nand: Remove static modifier from common functions
nand: Add common
Removed static modifiers from functions that were often duplicated in
SPL implementations.
Signed-off-by: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
Cc: albert.u.b...@aribaud.net
---
Changes V2:
nothing
---
drivers/mtd/nand/nand_base.c |6 +++---
1 files changed, 3
This activates the DMA support in the SPL.
Based on DMA driver patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/109744/focus=109747
Signed-off-by: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
---
include/configs/devkit8000.h |2 ++
1 files changed, 2
This implements the DMA copy in the SPL.
The DMA usage is activated for devkit8000.
Based on DMA driver patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/109744/focus=109747
Simon Schwarz (2):
nand_spl_simple: Add omap3 DMA usage to SPL
devkit8000: Activate DMA support in SPL
This adds DMA copy for the nand spl implementation. If CONFIG_SPL_DMA_SUPPORT
is defined the DMA is used.
Based on DMA driver patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/109744/focus=109747
Signed-off-by: Simon Schwarz
Cc: scottw...@freescale.com
Cc: s-paul...@ti.com
Hi Scott,
ok. Will have a look - hopefully this weekend.
Regards
Simon
2011/10/14 Simon Schwarz :
> Hi Scott,
>
> ok. Will have a look - hopefully this weekend.
>
> Regards
> Simon
>
> 2011/10/4 Scott Wood :
>> On 09/29/2011 02:44 AM, Simon Schwarz wrote:
>>&
Add MMC boot configs to devkit8000 config.
Signed-off-by: Simon Schwarz
---
include/configs/devkit8000.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 5d1014b..cb68169 100644
--- a/include/configs
This function is also defined in omap-common/spl_mmc.de so the implementation
in devkit8000.c was protected by a ifdef.
Signed-off-by: Simon Schwarz
---
board/timll/devkit8000/devkit8000.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/timll/devkit8000
Add MMC booting to devkit8000 SPL.
Based on: u-boot-ti/next
Simon Schwarz (2):
devkit8000: protect board_mmc_init
devkit8000: Add config to enable SPL MMC boot
board/timll/devkit8000/devkit8000.c |2 +-
include/configs/devkit8000.h|5 +
2 files changed, 6 insertions
On 09/29/2011 06:14 PM, Andreas Bießmann wrote:
[SNIP]
> Simon, who has just finished his bachelor thesis did this test for me (thanks
> to this way ...).
> It seems using more register for ldmia/stmia does _not_ improve the copy
> time that much. Simon measured 10.8 ms for r9-r10 and 10.65 ms for
spl_nand overwrote BSS section because it reads a whole block everytime. Now
loads the block to spare area and just copy the needed junk to destination.
Whole block read is necessary for ecc check!
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
---
arch/arm/cpu/armv7
Linux crashes if the GPMC isn't configured for the dm9000.
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
---
arch/arm/include/asm/omap_common.h |2 ++
board/timll/devkit8000/devkit8000.c | 31 +++
2 files changed, 25 inser
number u-boot switch - if pressed u-boot is booted
CONFIG_SYS_NAND_SPL_KERNEL_OFFS
Offset in NAND of direct boot kernel image to use in SPL
CONFIG_SYS_SPL_ARGS_ADDR
Address where the kernel boot arguments are expected - this is normaly
RAM-begin + 0x100
Signed-off-by: Simon
+ 0x100 (on ARM)
Signed-off-by: Simon Schwarz
---
V2 changes:
nothing
V3 changes:
nothing
V4 changes:
ADD define description to commit message
CHG renaming some defines - renaming SAVEBP SPL
---
arch/arm/cpu/armv7/omap-common/spl_nand.c | 62 +---
1 files changed, 46
This adds a spl command to the u-boot.
Related config:
CONFIG_CMD_CPL
activate/deactivate the command
CONFIG_CMD_SPL_NAND_OFS
Offset in NAND to use
Signed-off-by: Simon Schwarz
---
V2 changes:
CHG corrected bootm call. Now bootm is called with five parameters including
-loaders.u-boot/106725)
Related to:
- http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102669
Simon Schwarz (6):
removed static from images in cmd_bootm.c
Add cmd_spl command
devkit8000/spl: init GPMC for dm9000 in SPL
omap-common/spl: Add linux boot to SPL
omap-common: Add NAND SPL
This removes static modifier from images variable in cmd_bootm.c.
Signed-off-by: Simon Schwarz
---
V6 changes:
- removed the mention of savebp from commit message
---
common/cmd_bootm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_bootm.c b/common
: Simon Schwarz
---
drivers/mtd/nand/s3c64xx.c | 26 --
nand_spl/board/samsung/smdk6400/Makefile |9 ++---
2 files changed, 6 insertions(+), 29 deletions(-)
diff --git a/drivers/mtd/nand/s3c64xx.c b/drivers/mtd/nand/s3c64xx.c
index 084e475..7260537
Functions often used in SPL are now part of nand.h.
Signed-off-by: Simon Schwarz
---
include/nand.h | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/nand.h b/include/nand.h
index b4140794..980408a 100644
--- a/include/nand.h
+++ b/include/nand.h
Removed static modifiers from functions that were often duplicated in
SPL implementations.
Signed-off-by: Simon Schwarz
---
drivers/mtd/nand/nand_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
This is a fix for a regression introduced by my patch
55f429bb39614a16b1bacc9a8bea9ac01a60bfc8 to u-boot-ti/next
The issue is described here:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108873
Simon Schwarz (3):
nand: Remove static modifier from common functions
nand: Add common
Adding a DMA library to the SPL. It is used if CONFIG_SPL_DMA_SUPPORT is
defined.
Signed-off-by: Simon Schwarz
---
doc/README.SPL |1 +
spl/Makefile |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/README.SPL b/doc/README.SPL
index d53ef9c..b4500fc 100644
--- a
Adds an interface to use the OMAP3 DMA.
Signed-off-by: Simon Schwarz
---
arch/arm/include/asm/arch-omap3/dma.h | 77 ++
doc/README.omap3 | 18
drivers/dma/Makefile |1 +
drivers/dma/omap3_dma.c | 180
Adding the register definitions for omap3 DMA controller to cpu.h
Signed-off-by: Simon Schwarz
---
arch/arm/include/asm/arch-omap3/cpu.h | 45 +
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap3/cpu.h
b/arch/arm
Adding the base register address of OMAP3 DMA controller.
Signed-off-by: Simon Schwarz
---
arch/arm/include/asm/arch-omap3/omap3.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap3/omap3.h
b/arch/arm/include/asm/arch-omap3/omap3.h
index
This adds functions to use the DMA controller of OMAP3 devices. It also
adds a dma library to the SPL.
based on:
- u-boot-ti/next
- SPL direct linux boot patch:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108814
Simon Schwarz (4):
omap3: Add Base register for DMA
omap3: Add DMA
Please ignore this message. Was a mistake.
Sorry for the noise...
On 09/28/2011 04:44 PM, Simon Schwarz wrote:
> This adds the capability to OMAP3 SPL to load the Linux/U-Boot image with DMA.
>
> Based on:
> - u-boot-ti/next
> - SPL direct Linux boot:
>http:/
This adds the capability to OMAP3 SPL to load the Linux/U-Boot image with DMA.
Based on:
- u-boot-ti/next
- SPL direct Linux boot:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108814
Simon Schwarz (6):
omap3: Add Base register for DMA
omap3: Add DMA register accessors
omap3
On 09/28/2011 12:50 AM, Scott Wood wrote:
> On 09/27/2011 05:14 AM, Simon Schwarz wrote:
>> On 09/27/2011 02:28 AM, Scott Wood wrote:
>>> On 09/26/2011 03:27 AM, Simon Schwarz wrote:
>>>> so in essence I will:
>>>> - rename the inline functions
>
On 09/27/2011 02:28 AM, Scott Wood wrote:
> On 09/26/2011 03:27 AM, Simon Schwarz wrote:
>> On 09/23/2011 07:22 PM, Scott Wood wrote:
>>> On 09/23/2011 11:36 AM, Simon Schwarz wrote:
>>>> Added a nand_base.h header that defines all prototypes of nand_base.c
>>&g
in nand_base.c to the spl Makefile. It also adds
-ffcuntion-sections and -gc-sections to comilation flags.
Description of the regression:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108873
Signed-off-by: Simon Schwarz
---
drivers/mtd/nand/s3c64xx.c | 26
Functions often used in SPL are now part of nand.h.
Signed-off-by: Simon Schwarz
---
include/nand.h | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/nand.h b/include/nand.h
index b4140794..980408a 100644
--- a/include/nand.h
+++ b/include/nand.h
Removed static modifiers from functions that were often duplicated in
SPL implementations.
Signed-off-by: Simon Schwarz
---
drivers/mtd/nand/nand_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
SPL to 220 ms.
>
> Thanks.
>
Regards
Simon
> On Mon, Sep 26, 2011 at 7:40 AM, Simon Schwarz
> mailto:simonschwarz...@googlemail.com>>
> wrote:
>
> Stands for Second Program Loader.
>
> It loads the U-Boot and runs it - or with this patch a Linux Kernel.
>
Stands for Second Program Loader.
It loads the U-Boot and runs it - or with this patch a Linux Kernel.
Regards
Simon
On 09/26/2011 02:30 PM, Dat Tran wrote:
> What does SPL stand for again? It looks really interesting.
>
> Thanks.
>
> On Mon, Sep 26, 2011 at 3:56 AM
On 09/25/2011 10:03 PM, dtran11 wrote:
>
> I am trying to make uboot boot as fast as possible for my omap3 Overo board.
> I add the below to my config header file. Does anyone see anything I can add
> to it to make the build smaller and faster? Thank you.
>
>
[SNIP]
This may be of interest to you
On 09/23/2011 07:22 PM, Scott Wood wrote:
> On 09/23/2011 11:36 AM, Simon Schwarz wrote:
>> Added a nand_base.h header that defines all prototypes of nand_base.c
>> functions.
>
> Just add the new prototypes to include/linux/mtd/nand.h (which gets
> included by nand.h), tha
RFC-Patch to solve this problem.
I had to modify many files because of a name conflict.
I will do BUILDALL for arm over the weekend...
What are the opinions for this solution? Scott?
Regards and have a nice weekend
Simon
On 09/23/2011 06:36 PM, Simon Schwarz wrote:
[SNIP
On 09/20/2011 08:47 AM, Albert ARIBAUD wrote:
> Copying Simon as the author of the commit, in order to confirm that the
> issue is in smdk6400.
The problem is that I added a nand_read_buf prototype in nand.h this was
defined static in nand_base.c - I removed the static declaration.
smdk6400 is d
1 - 100 of 314 matches
Mail list logo