[U-Boot] [PATCH] arm: Add Prep subcommand support to bootm

2012-01-16 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V12 04/14] devkit8000/spl: init GPMC for dm9000 in SPL

2012-01-07 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V10 0/7] SPL Linux boot

2011-12-14 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2011-12-14 Thread Simon Schwarz
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) -

Re: [U-Boot] [PATCH V10 0/7] SPL Linux boot

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 7/7] devkit8000: Implement and activate direct OS boot

2011-12-13 Thread Simon Schwarz
- 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

[U-Boot] [PATCH V10 6/7] omap/spl: change output of spl_parse_image_header

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 4/7] devkit8000/spl: init GPMC for dm9000 in SPL

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 0/7] SPL Linux boot

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 2/7] devki8000: add config for spl command

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 5/7] omap-common/spl: Add linux boot to SPL

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 1/7] Add cmd_spl command

2011-12-13 Thread Simon Schwarz
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

[U-Boot] [PATCH V10 3/7] omap-common: Add NAND SPL linux booting

2011-12-13 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V9 1/4] Add cmd_spl command

2011-12-12 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-07 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V9 0/4] SPL Linux boot

2011-12-07 Thread Simon Schwarz
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

[U-Boot] [PATCH V9 4/4] omap-common/spl: Add linux boot to SPL

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V9 3/4] devkit8000/spl: init GPMC for dm9000 in SPL

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V9 1/4] Add cmd_spl command

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V9 0/4] SPL Linux boot

2011-12-06 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V7 5/5] omap-common: fixes BSS overwriting problem

2011-12-06 Thread Simon Schwarz
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

Re: [U-Boot] [ARM] Pending patches for december release?

2011-12-06 Thread Simon Schwarz
://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

Re: [U-Boot] [PATCH V7 5/5] omap-common: fixes BSS overwriting problem

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V8 5/5] omap-common/spl: Add linux boot to SPL

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V8 4/5] omap-common: fixes BSS overwriting problem

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V8 2/5] omap-common: Add NAND SPL linux booting

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V8 3/5] devkit8000/spl: init GPMC for dm9000 in SPL

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V8 1/5] Add cmd_spl command

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V8 0/5] SPL Linux boot

2011-12-06 Thread Simon Schwarz
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

[U-Boot] [PATCH V4] arm: Add Prep subcommand support to bootm

2011-12-06 Thread Simon Schwarz
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

Re: [U-Boot] [ARM] Pending patches for december release?

2011-12-06 Thread Simon Schwarz
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/

[U-Boot] [PATCH V2] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-06 Thread Simon Schwarz
://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

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-11-30 Thread Simon Schwarz
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

[U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-11-30 Thread Simon Schwarz
://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

Re: [U-Boot] devkit8000: MMC/FAT booting problem with SPL

2011-11-29 Thread Simon Schwarz
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

Re: [U-Boot] devkit8000: MMC/FAT booting problem with SPL

2011-11-29 Thread Simon Schwarz
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

Re: [U-Boot] devkit8000: MMC/FAT booting problem with SPL

2011-11-29 Thread Simon Schwarz
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

[U-Boot] devkit8000: MMC/FAT booting problem with SPL

2011-11-29 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH V3 0/2] fix: regression in SMDK6400

2011-11-29 Thread Simon Schwarz
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

Re: [U-Boot] uboot on devkit8000

2011-11-08 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH 1/2] nand_spl_simple: Add omap3 DMA usage to SPL

2011-11-02 Thread Simon Schwarz
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

[U-Boot] [PATCH V3 1/2] nand: Add common functions to linux/mtd/nand.h

2011-10-31 Thread Simon Schwarz
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

[U-Boot] [PATCH V3 2/2] Fix regression in SMDK6400

2011-10-31 Thread Simon Schwarz
: 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

[U-Boot] [PATCH V3 0/2] fix: regression in SMDK6400

2011-10-31 Thread Simon Schwarz
- 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

[U-Boot] [PATCH V7 3/5] omap-common/spl: Add linux boot to SPL

2011-10-31 Thread Simon Schwarz
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

[U-Boot] [PATCH V7 5/5] omap-common: fixes BSS overwriting problem

2011-10-31 Thread Simon Schwarz
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

[U-Boot] [PATCH V7 4/5] devkit8000/spl: init GPMC for dm9000 in SPL

2011-10-31 Thread Simon Schwarz
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

[U-Boot] [PATCH V7 2/5] omap-common: Add NAND SPL linux booting

2011-10-31 Thread Simon Schwarz
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

[U-Boot] [PATCH V7 1/5] Add cmd_spl command

2011-10-31 Thread Simon Schwarz
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

[U-Boot] [PATCH V7 0/5] SPL Linux boot

2011-10-31 Thread Simon Schwarz
(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

Re: [U-Boot] [PATCH 1/2] nand_spl_simple: Add omap3 DMA usage to SPL

2011-10-31 Thread Simon Schwarz
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:/

Re: [U-Boot] [PATCH 1/1] devkit8000: Add malloc space for SPL

2011-10-21 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH 5/7] omap_gpmc: use SOFTECC in SPL if it's enabled

2011-10-21 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH 5/7] omap_gpmc: use SOFTECC in SPL if it's enabled

2011-10-20 Thread Simon Schwarz
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

Re: [U-Boot] [STATUS] "Quality" of patches / testing.

2011-10-18 Thread Simon Schwarz
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

Re: [U-Boot] [STATUS] "Quality" of patches / testing.

2011-10-18 Thread Simon Schwarz
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

Re: [U-Boot] [STATUS] "Quality" of patches / testing.

2011-10-17 Thread Simon Schwarz
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

[U-Boot] [PATCH 3/3] Fix regression in SMDK6400

2011-10-16 Thread Simon Schwarz
: 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

[U-Boot] [PATCH 2/3] nand: Add common functions to linux/mtd/nand.h

2011-10-16 Thread Simon Schwarz
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

[U-Boot] [PATCH 0/3] fix: regression in SMDK6400

2011-10-16 Thread Simon Schwarz
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

[U-Boot] [PATCH 1/3] nand: Remove static modifier from common functions

2011-10-16 Thread Simon Schwarz
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

[U-Boot] [PATCH 2/2] devkit8000: Activate DMA support in SPL

2011-10-16 Thread Simon Schwarz
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

[U-Boot] [PATCH 0/2] Use DMA in SPL

2011-10-16 Thread Simon Schwarz
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

[U-Boot] [PATCH 1/2] nand_spl_simple: Add omap3 DMA usage to SPL

2011-10-16 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH 2/3] nand: Add common functions to nand.h

2011-10-14 Thread Simon Schwarz
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: >>&

[U-Boot] [PATCH 2/2] devkit8000: Add config to enable SPL MMC boot

2011-09-30 Thread Simon Schwarz
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

[U-Boot] [PATCH 1/2] devkit8000: protect board_mmc_init

2011-09-30 Thread Simon Schwarz
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

[U-Boot] [PATCH 0/2] devkit8000: add spl mmc boot

2011-09-30 Thread Simon Schwarz
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

Re: [U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation

2011-09-30 Thread Simon Schwarz
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

[U-Boot] [PATCH V6 6/6] omap-common: fixes BSS overwriting problem

2011-09-29 Thread 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 --- arch/arm/cpu/armv7

[U-Boot] [PATCH V6 3/6] devkit8000/spl: init GPMC for dm9000 in SPL

2011-09-29 Thread Simon Schwarz
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

[U-Boot] [PATCH V6 4/6] omap-common/spl: Add linux boot to SPL

2011-09-29 Thread Simon Schwarz
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

[U-Boot] [PATCH V6 5/6] omap-common: Add NAND SPL linux booting

2011-09-29 Thread Simon Schwarz
+ 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

[U-Boot] [PATCH V6 2/6] Add cmd_spl command

2011-09-29 Thread 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 parameters including

[U-Boot] [PATCH V6 0/6] SPL Linux boot

2011-09-29 Thread Simon Schwarz
-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

[U-Boot] [PATCH V6 1/6] removed static from images in cmd_bootm.c

2011-09-29 Thread Simon Schwarz
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

[U-Boot] [PATCH 3/3] Fix regression in SMDK6400

2011-09-29 Thread Simon Schwarz
: 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

[U-Boot] [PATCH 2/3] nand: Add common functions to nand.h

2011-09-29 Thread Simon Schwarz
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

[U-Boot] [PATCH 1/3] nand: Remove static modifier from common functions

2011-09-29 Thread Simon Schwarz
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

[U-Boot] [PATCH 0/3] fix: regression in SMDK6400

2011-09-29 Thread Simon Schwarz
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

[U-Boot] [PATCH 4/4] SPL: Add DMA library

2011-09-28 Thread Simon Schwarz
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

[U-Boot] [PATCH 3/4] omap3: Add interface for omap3 DMA

2011-09-28 Thread Simon Schwarz
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

[U-Boot] [PATCH 2/4] omap3: Add DMA register accessors

2011-09-28 Thread Simon Schwarz
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

[U-Boot] [PATCH 1/4] omap3: Add Base register for DMA

2011-09-28 Thread Simon Schwarz
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

[U-Boot] [PATCH 0/4] omap3: Add DMA driver

2011-09-28 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH 0/6] OMAP3 SPL: Use DMA to copy images from NAND to RAM

2011-09-28 Thread Simon Schwarz
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:/

[U-Boot] [PATCH 0/6] OMAP3 SPL: Use DMA to copy images from NAND to RAM

2011-09-28 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH RFC] Add general nand functions

2011-09-28 Thread Simon Schwarz
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 >

Re: [U-Boot] [PATCH RFC] Add general nand functions

2011-09-27 Thread Simon Schwarz
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

[U-Boot] [PATCH RFC 3/3] Fix regression in SMDK6400

2011-09-27 Thread Simon Schwarz
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

[U-Boot] [PATCH RFC 2/3] nand: Add common functions to nand.h

2011-09-27 Thread Simon Schwarz
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

[U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions

2011-09-27 Thread Simon Schwarz
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

Re: [U-Boot] Faster boot time

2011-09-26 Thread Simon Schwarz
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. >

Re: [U-Boot] Faster boot time

2011-09-26 Thread Simon Schwarz
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

Re: [U-Boot] Faster boot time

2011-09-26 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH RFC] Add general nand functions

2011-09-26 Thread Simon Schwarz
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

Re: [U-Boot] [PATCH RFC] Add general nand functions

2011-09-23 Thread Simon Schwarz
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

Re: [U-Boot] SMDK6400 regression

2011-09-21 Thread Simon Schwarz
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   2   3   4   >