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

[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 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

[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] 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

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 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

[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] [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

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

[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] [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 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

[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 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 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 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 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 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

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 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

[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 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 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 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

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

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 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

[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

[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 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 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 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 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 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 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

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

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-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] Linux boot and list loading feature

2011-08-09 Thread Simon Schwarz
Hi Aneesh, sorry for answering this late... On 08/02/2011 02:41 PM, Aneesh V wrote: > Hi Simon, > > On Monday 01 August 2011 07:43 PM, Simon Schwarz wrote: >> Hi Aneesh, >> >> On 08/01/2011 02:56 PM, Aneesh V wrote: >>> Hi Simon, >>> >>>

Re: [U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead

2011-08-11 Thread Simon Schwarz
Dear Eric Jarrige, On 08/10/2011 10:33 PM, Eric Jarrige wrote: > Signed-off-by: Eric Jarrige > Cc: Ben Warren > --- > drivers/net/dm9000x.c |8 > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c > index b5c5573..9cd0195

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

2011-08-11 Thread Simon Schwarz
3 new SPL layout (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105260) Related to: - http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102669 Simon Schwarz (7): arm: Add Prep subcommand support to bootm Add savebp command arm: Add savebp implementation for arm omap-commo

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

2011-08-11 Thread 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 savebp command Signed-off-by: Simon Schwarz --- arch/arm/lib/bootm.c | 116

[U-Boot] [PATCH 2/7] Add savebp command

2011-08-11 Thread Simon Schwarz
Address where the kernel boot arguments are expected - this is normally RAM-begin + 0x100 Signed-off-by: Simon Schwarz --- common/Makefile |1 + common/cmd_savebp.c | 123 ++ include/configs

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

2011-08-11 Thread Simon Schwarz
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 Schwarz --- arch/arm/cpu/armv7/omap-common/spl.c | 48

[U-Boot] [PATCH 3/7] arm: Add savebp implementation for arm

2011-08-11 Thread Simon Schwarz
This adds the savebp implementation to the arm platform. Related CONFIGs: CONFIG_CMD_SAVEBP_WRITE_SIZE defines the size of the image to write Signed-off-by: Simon Schwarz --- arch/arm/include/asm/savebp.h | 27 arch/arm/lib/Makefile |1 + arch/arm/lib/savebp.c

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

2011-08-11 Thread Simon Schwarz
This implements booting of Linux from NAND in SPL Signed-off-by: Simon Schwarz --- arch/arm/cpu/armv7/omap-common/spl_nand.c | 48 +++- 1 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/spl_nand.c b/arch/arm/cpu/armv7/omap

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

2011-08-11 Thread Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz --- arch/arm/cpu/armv7/omap-common/spl.c |1 + arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/devkit8000.c | 33 - 3 files change

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

2011-08-11 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 --- arch/arm/cpu/armv7/omap-common/spl_nand.c | 21

Re: [U-Boot] [STATUS] u-boot-arm/master branch complete wrt merge window?

2011-08-12 Thread Simon Schwarz
Hi Albert, OMAP3 SPL - would be great: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/102112/focus=105261 Matter was discussed in this thread: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/103578 Haven't heard anything after sending in V9. Regards Simon On 08/12/2011 03:23 PM

Re: [U-Boot] Patch submission process question

2011-08-16 Thread Simon Schwarz
Hi Joe, On 08/16/2011 03:20 AM, Joe Hershberger wrote: > Hi u-boot, > > What is the recommended way to handle a patch series that depends on > another patch series (already sent but not integrated)? > AFAIK the recommend way is to note in the patch that it depends on another - best with some kind

Re: [U-Boot] Patch submission process question

2011-08-17 Thread Simon Schwarz
On 08/16/2011 06:56 PM, Scott Wood wrote: >>> How about a patch that was sent, that at the time didn't depend on >>> another series, but after review and changes, now depends on those >>> changes? >> Then you have to note it in the version history that it now depends on >> another patch - don't fo

Re: [U-Boot] [STATUS] ARM

2011-08-22 Thread Simon Schwarz
Hi Albert, On 08/20/2011 01:12 PM, Albert ARIBAUD wrote: >snip> > > Sandeep has requested that I pick these two in u-boot-arm. > So is right that everything else in the responsibility of Sandeep won't make it into the next release? How about the next tree? Regards Simon _

[U-Boot] OMAP3 ONFI support

2011-08-23 Thread Simon Schwarz
Hi list, OMAP3 uses fixed timings for GPMC NAND communication from what I see in mem.c. Is there a reason not to use ONFI detection? There seems to be ONFI support in nand_base. Regards Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.d

[U-Boot] FDT without FIT?

2011-08-23 Thread Simon Schwarz
Hi list, I'am a bit stuck here. How can FDT be used without a FIT image? I can't really get this from the code - if someone can point me in the right direction this would be great! Thanks! Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://l

Re: [U-Boot] FDT without FIT?

2011-08-24 Thread Simon Schwarz
Dear Wolfgang Denk, On 08/23/2011 07:45 PM, Wolfgang Denk wrote: > Dear Simon Schwarz, > > In message<4e53c9f6.4010...@gmail.com> you wrote: >> >> How can FDT be used without a FIT image? > > I don't understand this question - using the FDT and the image

[U-Boot] [PATCH V2 0/8] SPL Linux boot

2011-08-24 Thread Simon Schwarz
eadme based on: - The new SPL layout - OMAP3 new SPL layout (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105260) Related to: - http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102669 Simon Schwarz (8): arm: Add Prep subcommand support to bootm Add savebp command

[U-Boot] [PATCH V2 1/8] arm: Add Prep subcommand support to bootm

2011-08-24 Thread 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 savebp command Signed-off-by: Simon Schwarz V2 changes: nothing --- arch/arm/lib/bootm.c

[U-Boot] [PATCH V2 2/8] Add savebp command

2011-08-24 Thread Simon Schwarz
Address where the kernel boot arguments are expected - this is normally RAM-start + 0x100 (on ARM) Signed-off-by: Simon Schwarz --- V2 changes: CHG corrected bootm call. Now bootm is called with five parameters including Address of FDT in RAM. This fixes the hang on savebp

[U-Boot] [PATCH V2 3/8] arm: Add savebp implementation for arm

2011-08-24 Thread Simon Schwarz
This adds the savebp implementation to the arm platform. Related CONFIGs: CONFIG_CMD_SAVEBP_WRITE_SIZE defines the size of the image to write Signed-off-by: Simon Schwarz --- V2 changes: DEL _cosmetic_ old comment --- arch/arm/include/asm/savebp.h | 27 arch/arm/lib/Makefile

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

2011-08-24 Thread Simon Schwarz
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 Schwarz --- V2 changes: nothing --- arch/arm/cpu/armv7/omap

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

2011-08-24 Thread Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz --- V2 changes: nothing --- arch/arm/cpu/armv7/omap-common/spl.c |1 + arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/devkit8000.c | 33 ---

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

2011-08-24 Thread Simon Schwarz
This implements booting of Linux from NAND in SPL Signed-off-by: Simon Schwarz --- V2 changes: nothing --- arch/arm/cpu/armv7/omap-common/spl_nand.c | 48 +++- 1 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/spl_nand.c

[U-Boot] [PATCH V2 7/8] omap-common: fixes BSS overwriting problem

2011-08-24 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 --- arch/arm/cpu/armv7/omap-common

[U-Boot] [PATCH V2 8/8] savebp: added Readme

2011-08-24 Thread Simon Schwarz
Adds a Readme for the savebp command Signed-off-by: Simon Schwarz --- V2 changes: ADDED in V2 --- doc/README.commands.savebp | 28 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 doc/README.commands.savebp diff --git a/doc

[U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-25 Thread Simon Schwarz
eadme V3 changes: FIX missing brackets based on: - The new SPL layout - OMAP3 new SPL layout (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105260) Related to: - http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102669 Simon Schwarz (8): arm: Add Prep subcommand suppo

[U-Boot] [PATCH V3 1/8] arm: Add Prep subcommand support to bootm

2011-08-25 Thread 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 savebp command Signed-off-by: Simon Schwarz V2 changes: nothing V3 changes: nothing --- arch

[U-Boot] [PATCH V3 2/8] Add savebp command

2011-08-25 Thread Simon Schwarz
Address where the kernel boot arguments are expected - this is normally RAM-start + 0x100 (on ARM) Signed-off-by: Simon Schwarz --- V2 changes: CHG corrected bootm call. Now bootm is called with five parameters including Address of FDT in RAM. This fixes the hang on savebp

[U-Boot] [PATCH V3 3/8] arm: Add savebp implementation for arm

2011-08-25 Thread Simon Schwarz
This adds the savebp implementation to the arm platform. Related CONFIGs: CONFIG_CMD_SAVEBP_WRITE_SIZE defines the size of the image to write Signed-off-by: Simon Schwarz --- V2 changes: DEL _cosmetic_ old comment V3 changes: nothing --- arch/arm/include/asm/savebp.h | 27

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

2011-08-25 Thread Simon Schwarz
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 Schwarz --- V2 changes: nothing V3 changes: nothing --- arch

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

2011-08-25 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/cpu/armv7/omap-common/spl.c |1 + arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/devkit8000.c |

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

2011-08-25 Thread Simon Schwarz
This implements booting of Linux from NAND in SPL Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/cpu/armv7/omap-common/spl_nand.c | 48 +++- 1 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm/cpu/armv7

[U-Boot] [PATCH V3 8/8] savebp: added Readme

2011-08-25 Thread Simon Schwarz
Adds a Readme for the savebp command Signed-off-by: Simon Schwarz --- V2 changes: ADDED in V2 V3 changes: nothing --- doc/README.commands.savebp | 28 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 doc/README.commands.savebp diff --git a

[U-Boot] [PATCH V3 7/8] omap-common: fixes BSS overwriting problem

2011-08-25 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

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-25 Thread Simon Schwarz
Dear Wolfgang Denk, On 08/25/2011 12:17 PM, Wolfgang Denk wrote: > Dear Simon Schwarz, > > In message<1314261196-23197-1-git-send-email-simonschwarz...@gmail.com> you > wrote: >> Adds direct Linux boot to SPL. It implements a savebp command to save >> ATAGS or

Re: [U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands

2011-08-26 Thread Simon Schwarz
Dear Marek, On 08/26/2011 12:04 AM, Marek Vasut wrote: > These commands should work around various "hardware" ECC and BCH methods. This > is important for example in case where the user needs to write precisely > what's > in a buffer to a NAND page, with no interference of hardware ECC engine or

Re: [U-Boot] [PATCH V3 2/8] Add savebp command

2011-08-26 Thread Simon Schwarz
Dear Andreas, On 08/25/2011 12:37 PM, Andreas Bießmann wrote: > Dear Simon, > > Am 25.08.2011 10:33, schrieb Simon Schwarz: >> This adds a savebp command to the u-boot. >> >> Related config: >> CONFIG_CMD_SAVEBP >> activate/deactivate the command >&

Re: [U-Boot] [PATCH V3 1/8] arm: Add Prep subcommand support to bootm

2011-08-26 Thread Simon Schwarz
Dear Andreas, On 08/25/2011 11:40 AM, Andreas Bießmann wrote: > Dear Simon, > > Am 25.08.2011 10:33, schrieb Simon Schwarz: >> Adds prep subcommand to bootm implementation of ARM. When bootm is called >> with >> the subcommand prep the function stops right afte

Re: [U-Boot] [PATCH V3 3/8] arm: Add savebp implementation for arm

2011-08-26 Thread Simon Schwarz
Dear Andreas, On 08/25/2011 01:08 PM, Andreas Bießmann wrote: > Dear Simon, > > Am 25.08.2011 10:33, schrieb Simon Schwarz: >> This adds the savebp implementation to the arm platform. > > please reorder your series and let this come before 'Add savebp comman

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

2011-08-26 Thread Simon Schwarz
On 08/25/2011 01:28 PM, Andreas Bießmann wrote: > Dear Simon, > > Am 25.08.2011 10:33, schrieb Simon Schwarz: >> This adds Linux booting to the SPL >> >> Related CONFIGs: >> CONFIG_SPL_OS_BOOT >> Activates/Deactivates the OS booting feature >> CONF

Re: [U-Boot] [PATCH V3 8/8] savebp: added Readme

2011-08-26 Thread Simon Schwarz
On 08/25/2011 01:15 PM, Andreas Bießmann wrote: > Dear Simon, > > Am 25.08.2011 10:33, schrieb Simon Schwarz: >> Adds a Readme for the savebp command > > This patch should be merged with 'Add savebp command' >> >> Signed-off-by: Simon Schwarz >&

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

2011-08-26 Thread Simon Schwarz
Dear Andreas, On 08/26/2011 12:45 PM, Andreas Bießmann wrote: > Dear Simon > > Am 26.08.2011 12:17, schrieb Simon Schwarz: >> On 08/25/2011 01:28 PM, Andreas Bießmann wrote: >>> Dear Simon, > > > >>>> +/* This function jumps to an image with argument.

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-26 Thread Simon Schwarz
Dear Wolfgang, On 08/26/2011 01:36 PM, Wolfgang Denk wrote: > Dear Simon, > > In message<4e563136.2030...@gmail.com> you wrote: >> >>> A question ex ante: what is the "bp" in "savebp" supposed to mean? I > ... >> It means "save boot parameters" - better proposals welcome. > > If it's not too much

Re: [U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands

2011-08-26 Thread Simon Schwarz
On 08/26/2011 04:49 PM, Marek Vasut wrote: > On Friday, August 26, 2011 09:57:17 AM Simon Schwarz wrote: >> Dear Marek, >> >> On 08/26/2011 12:04 AM, Marek Vasut wrote: >>> These commands should work around various "hardware" ECC and BCH methods. >>>

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

2011-08-26 Thread Simon Schwarz
On 08/26/2011 01:22 PM, Simon Schwarz wrote: > Dear Andreas, > > On 08/26/2011 12:45 PM, Andreas Bießmann wrote: >> Dear Simon >> >> Am 26.08.2011 12:17, schrieb Simon Schwarz: >>> On 08/25/2011 01:28 PM, Andreas Bießmann wrote: >>>> Dear Simon, >

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

2011-08-29 Thread 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 savebp command Signed-off-by: Simon Schwarz V2 changes: nothing V3 changes: nothing changes

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

2011-09-02 Thread Simon Schwarz
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809) - Prep subcommand patch for arm (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 (6): removed static from images in

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

2011-09-02 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 V4 3/6] devkit8000/spl: init GPMC for dm9000 in SPL

2011-09-02 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 | 33 - 2 files changed, 26 inser

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

2011-09-02 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 V4 5/6] omap-common: Add NAND SPL linux booting

2011-09-02 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 V4 6/6] omap-common: fixes BSS overwriting problem

2011-09-02 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 V4 1/6] removed static from images in cmd_bootm.c

2011-09-02 Thread Simon Schwarz
This removes static modifier from cmd_bootm.c to make it public and usable by savebp Signed-off-by: Simon Schwarz --- common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 1966da4..c642299 100644 --- a/common

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

2011-09-05 Thread Simon Schwarz
Dear Andreas, On 09/05/2011 12:58 PM, Andreas Bießmann wrote: > Dear Simon, > > Am Mo 29 Aug 2011 18:08:13 CEST, Simon Schwarz schrieb: >> Adds prep subcommand to bootm implementation of ARM. When bootm is called >> with >> the subcommand prep the function stops rig

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

2011-09-05 Thread 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 changes: nothing V3 change

[U-Boot] Bottleneck of NAND copy speed

2011-09-12 Thread Simon Schwarz
Hi List, ATM I'm working on a DMA transfer from NAND to RAM of the Linux-image in my SPL. I’m searching for the speed bottleneck of the MT29F1G16ABBHC-ET NAND-Flash on the devkit8000 (OMAP3). From the timings I set on the GPMC I calced a max. speed of around 26 MiB/s. In my measurements I hav

Re: [U-Boot] Bottleneck of NAND copy speed

2011-09-13 Thread Simon Schwarz
Dear Wolfgang, caches are on. Regards Simon On 09/12/2011 01:43 PM, Wolfgang Denk wrote: > Dear Simon Schwarz, > > In message<4e6deb26.4020...@gmail.com> you wrote: >> >> ATM I'm working on a DMA transfer from NAND to RAM of the Linux-image in >> my SPL.

Re: [U-Boot] Bottleneck of NAND copy speed

2011-09-13 Thread Simon Schwarz
On 09/12/2011 02:55 PM, Nick Thompson wrote: > On 12/09/11 12:21, Simon Schwarz wrote: >> Hi List, >> >> ATM I'm working on a DMA transfer from NAND to RAM of the Linux-image in >> my SPL. >> >> I’m searching for the speed bottleneck of the MT29F1G16ABB

  1   2   3   4   >