Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-04 Thread Chander Kashyap
Dear Minkyu Kang, On 27 December 2011 14:18, Chander Kashyap wrote: > Dear minkyu Kang > > On 23 December 2011 11:21, Chander Kashyap wrote: >> Dear Minkyu Kang, >> >> On 23 December 2011 09:51, Minkyu Kang wrote: >>> >>> Dear Chander Kashyap, >>> >>> On 22 December 2011 19:52, Chander Kashyap

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-04 Thread Minkyu Kang
Dear Chander Kashyap, On 27 December 2011 17:48, Chander Kashyap wrote: >>> >  Torsten Koschorrek >>> >        scb9328         ARM920T (i.MXL) >>> > diff --git a/arch/arm/cpu/armv7/exynos/clock.c >>> > b/arch/arm/cpu/armv7/exynos/clock.c >>> > index b101f96..88e2fc0 100644 >>> > --- a/arch/arm/

Re: [U-Boot] [PATCH] omap: mmc: Raise timeout value to 20ms

2012-01-04 Thread Peter Bigot
On Tue, Jan 3, 2012 at 2:50 PM, Peter Bigot wrote: > On Tue, Jan 3, 2012 at 2:24 PM, Tom Rini wrote: >> With certain SD cards the code detects a timeout when the hardware >> has not timed out.  We change the timeout used to match the kernel >> which gives software 20ms to detect a timeout.  We al

[U-Boot] [PATCH V12 02/14] devki8000: add config for spl command

2012-01-04 Thread Stefano Babic
From: Simon Schwarz This adds some configs for devkit8000 to use the new spl command Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V10 changes: This is new in V10 was split from other patch include/configs/devkit8000.h |8 1 files changed, 8

[U-Boot] [PATCH V12 01/14] Add cmd_spl command

2012-01-04 Thread Stefano Babic
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 CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V2 changes: CHG corrected

[U-Boot] SPL Linux Boot - updated

2012-01-04 Thread Stefano Babic
Hi, here an updated version of the patchset to boot Linux directly from SPL. It fixes the (minor) comments received in version 11. List of changes: - drop commented lines into arch/arm/cpu/armv7/Makefile after checking build for OMAP4/5 - use CONFIG_SPL_I2C_SUPPORT to protect I2C code - fix TA

[U-Boot] [PATCH V12 03/14] omap-common: Add NAND SPL linux booting

2012-01-04 Thread Stefano Babic
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 V12 04/14] devkit8000/spl: init GPMC for dm9000 in SPL

2012-01-04 Thread 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 changes: nothing V4 changes: noting V5 changes: nothing V6 changes: nothing V7 changes: FIX multiline c

[U-Boot] [PATCH V12 06/14] omap/spl: change output of spl_parse_image_header

2012-01-04 Thread Stefano Babic
From: Simon Schwarz This only outputs "Assuming u-boot.bin..." if debug is active. Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V11: no changes V12: no changes arch/arm/cpu/armv7/omap-common/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletion

[U-Boot] [PATCH V12 05/14] omap-common/spl: Add linux boot to SPL

2012-01-04 Thread Stefano Babic
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 V12 07/14] devkit8000: Implement and activate direct OS boot

2012-01-04 Thread Stefano Babic
From: Simon Schwarz - Implements spl_start_uboot() for devkit8000 - Add configs to activate direct OS boot from SPL Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V10 changes: sliced from the implementation added an implementation of spl_start_uboot for dev

[U-Boot] [PATCH V12 08/14] Add cache functions to SPL for armv7

2012-01-04 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- Changes since V11: - enable cache files in Makefile after checking build for OMAP4/5 arch/arm/cpu/armv7/Makefile |2 -- arch/arm/cpu/armv7/cpu.c|2 ++ arch/arm/lib/Makefile |5 +++-- 3 fi

[U-Boot] [PATCH V12 09/14] OMAP3: SPL: do not call I2C init if no I2C is set.

2012-01-04 Thread Stefano Babic
Call i2c initialization in spl_board_init only if I2C is configured for the board. Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- V12: - use CONFIG_SPL_I2C_SUPPORT to protect I2C code arch/arm/cpu/armv7/omap3/board.c |2 ++ 1 files changed, 2 insertio

[U-Boot] [PATCH V12 10/14] OMAP3: move SPL files to be used by other architectures.

2012-01-04 Thread Stefano Babic
The SPL used on OMAPx can be reused by other SOCs from different architectures. Move common files into common/ directory. Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- V12: no changes arch/arm/cpu/armv7/omap-common/Makefile| 10 -- c

[U-Boot] [PATCH V12 12/14] SPL: call cleanup_before_linux() before booting Linux

2012-01-04 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- common/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/spl.c b/common/spl.c index 5fdf3fb..cf5395e 100644 --- a/common/spl.c +++ b/common/spl.c @@ -125,7 +125,7 @@ __noretur

[U-Boot] [PATCH V12 14/14] OMAP3: twister: add support to boot Linux from SPL

2012-01-04 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- V12: - change GPIO to select U-Boot als image board/technexion/twister/twister.c | 23 +++ include/configs/twister.h | 12 2 files changed, 35 insertions(+), 0 del

[U-Boot] [PATCH V12 13/14] Fix build OMAP4/5

2012-01-04 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/cpu/armv7/omap-common/hwinit-common.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c index f65705d..4040d02 100644 --- a/arch/arm/cp

[U-Boot] [PATCH V12 11/14] TI: SPL: make SPL available for other SOCs as TI

2012-01-04 Thread Stefano Babic
The SPL is developped first for TI-OMAPx. The patch move OMAP specific function into OMAP directory. Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- V12: replace tab with space defining MMCSD_MODE_UNDEFINED arch/arm/cpu/armv7/omap-common/Makefile |2 +

[U-Boot] [PATCH V2 4/4] ARM: omap3: Added Teejet mt_ventoux

2012-01-04 Thread Stefano Babic
The mt_ventoux board is a custom board using the Technexion TAM3517 module. Signed-off-by: Stefano Babic CC: Ilya Yanok CC: Igor Grinberg --- Changes since V1: - CONFIG_FPGA must be enabled (S. Babic) - reworking fpga functions (Igor Grinberg) - drop clean / distclean from Makefile (Igor Grin

Re: [U-Boot] [PATCH 02/17] x86: Speed up copy-to-RAM and clear BSS operations

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:21, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> The implementations of memcpy and memset are now the optimised versions >> from glibc, so use them instead of simple copy loops >> >> Signed-off-by: Graeme Russ >> --- >> arch

Re: [U-Boot] [PATCH 03/17] x86: Remove GDR related magic numbers

2012-01-04 Thread Graeme Russ
On 04/01/12 16:23, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ >> --- >> arch/x86/cpu/start.S |3 ++- >> arch/x86/include/asm/processor.h |6 +- >> 2 files changed, 7 insertions(+), 2 deletions(-

Re: [U-Boot] [PATCH 04/17] x86: Rework Global Descriptor Table loading

2012-01-04 Thread Graeme Russ
On 04/01/12 16:24, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> > > This probably needs a commit message? Done Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH 05/17] x86: Simplify Flash-to-RAM code execution transition

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:28, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ > > Commit message? Added in v2 > >> --- >> arch/x86/cpu/start.S | 20 +--- >> arch/x86/include/asm/u-boot-x86

Re: [U-Boot] [PATCH 07/17] x86: Use fs for global data

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:36, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> Use the base address of the 'F' segment as a pointer to the global data >> structure. By adding the linear address (i.e. the 'D' segment address) >> as the first word of the glo

Re: [U-Boot] [PATCH 09/17] x86: Create weak init_cache() function

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:38, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ >> --- >> arch/x86/cpu/cpu.c| 18 +++--- >> arch/x86/include/asm/u-boot-x86.h |1 + >> arch/x86/lib/board.c

Re: [U-Boot] [PATCH 10/17] x86: Allow cache before copy to RAM

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:40, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ >> --- >> arch/x86/lib/board.c | 15 ++- >> 1 files changed, 10 insertions(+), 5 deletions(-) >> >> diff --git a/arch/x86/lib/board

Re: [U-Boot] [PATCH V12 08/14] Add cache functions to SPL for armv7

2012-01-04 Thread Aneesh V
Hi Stefano, On Wednesday 04 January 2012 09:25 AM, Stefano Babic wrote: Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- Changes since V11: - enable cache files in Makefile after checking build for OMAP4/5 How are you allocating memory for the page-tables(gd-

Re: [U-Boot] [PATCH 11/17] CHECKPATCH: arch/x86/cpu/*

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:42, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ > > Seems a bit more than just checkpatch. True - I'll change the name to 'Tweak IDT and GDT for alignment and readability' - Saves me splitting

Re: [U-Boot] [PATCH 14/17] x86: Move setup_pcat_compatibility() out of board.c

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:48, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ > > Perhaps mention why? Anyway: Added commit message 'This function simply does not belong in board.c' Regards, Graeme __

Re: [U-Boot] [PATCH 16/17] x86: Simplify board.c

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:51, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ >> --- >> arch/x86/include/asm/init_helpers.h | 39 + >> arch/x86/include/asm/init_wrappers.h | 42 + >> arch/x86/lib/Makefile

Re: [U-Boot] [PATCH 17/17] x86: Tweak initialisation procedure

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:52, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ >> --- >> arch/x86/include/asm/init_helpers.h |5 + >> arch/x86/include/asm/relocate.h | 33 ++ >> arch/x86/lib/board.c

Re: [U-Boot] [PATCH V12 08/14] Add cache functions to SPL for armv7

2012-01-04 Thread Stefano Babic
On 04/01/2012 12:33, Aneesh V wrote: > Hi Stefano, > Hi, > On Wednesday 04 January 2012 09:25 AM, Stefano Babic wrote: >> Signed-off-by: Stefano Babic >> CC: Tom Rini >> CC: Wolfgang Denk >> CC: Simon Schwarz >> --- >> >> Changes since V11: >> >> - enable cache files in Makefile after checking b

Re: [U-Boot] [PATCH] MX28: Fix MXSBOOT segfault if no params specified

2012-01-04 Thread Stefano Babic
On 22/12/2011 20:55, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Stefano Babic > --- > tools/mxsboot.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/tools/mxsboot.c b/tools/mxsboot.c > index 176753d..8246831 100644 Applied to u-b

Re: [U-Boot] [PATCH] omap: mmc: Raise timeout value to 20ms

2012-01-04 Thread Andreas Müller
On Wednesday, January 04, 2012 01:22:29 AM you wrote: > On Tue, Jan 3, 2012 at 2:50 PM, Peter Bigot wrote: > > On Tue, Jan 3, 2012 at 2:24 PM, Tom Rini wrote: > >> With certain SD cards the code detects a timeout when the hardware > >> has not timed out. We change the timeout used to match the k

Re: [U-Boot] [PATCH] m28evk: Use GENERATED_GBL_DATA_SIZE

2012-01-04 Thread Stefano Babic
On 29/12/2011 14:35, Fabio Estevam wrote: > Use GENERATED_GBL_DATA_SIZE for calculating CONFIG_SYS_INIT_SP_OFFSET. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX So

Re: [U-Boot] [PATCH V12 08/14] Add cache functions to SPL for armv7

2012-01-04 Thread Stefano Babic
On 04/01/2012 14:58, Simon Schwarz wrote: > Hi Stefano, > Hi Simon, > Just FYI: I already did this with DMA - the patch was rejected and I > haven't worked on it since (as you already said it is some work...). Yes, of course - it makes sense to find a solution that will be accepted before imple

Re: [U-Boot] [PATCH V2 4/4] ARM: omap3: Added Teejet mt_ventoux

2012-01-04 Thread Tom Rini
On Wed, Jan 4, 2012 at 2:02 AM, Stefano Babic wrote: > The mt_ventoux board is a custom board using > the Technexion TAM3517 module. > > Signed-off-by: Stefano Babic > CC: Ilya Yanok > CC: Igor Grinberg [snip] > +#if defined(CONFIG_GENERIC_MMC) && defined(CONFIG_OMAP_HSMMC) && \ > +       !defi

Re: [U-Boot] [PATCH V2 4/4] ARM: omap3: Added Teejet mt_ventoux

2012-01-04 Thread Stefano Babic
On 04/01/2012 15:25, Tom Rini wrote: > On Wed, Jan 4, 2012 at 2:02 AM, Stefano Babic wrote: >> The mt_ventoux board is a custom board using >> the Technexion TAM3517 module. >> >> Signed-off-by: Stefano Babic >> CC: Ilya Yanok >> CC: Igor Grinberg > [snip] >> +#if defined(CONFIG_GENERIC_MMC) &&

[U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-04 Thread Holger Brunck
From: Stefan Bigler Initial implementation for unsafe feature for biterror insertion on NAND-Flash devices. The code flips single bits in the data block of the flash to simulate single bit-errors. Tested with Samsung K9F1G08U0D and Micron MT29F1G08ABADAWP on km_kirkwood boards. Signed-off-by: St

Re: [U-Boot] [PATCH 3/3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2012-01-04 Thread Matthew L. Creech
On Tue, Jan 3, 2012 at 6:58 PM, Scott Wood wrote: >> On page 93, it says "Minimum required ECC: 4-bit ECC per 540 bytes of data". > > OK.  Is booting from a source other than NAND (at least enough to fit > software BCH support) an option? > Not easily. We were hoping to be able to use the existi

Re: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2012-01-04 Thread Grant Erickson
On Jan 3, 2012, at 6:31 AM, Tom Rini wrote: > On 12/22/2011 12:28 PM, Grant Erickson wrote: >> Only attempt to configure and add DRAM at chip select 1 if the board has >> configured more than one bank of DRAM. >> >> This prevents boards that have CONFIG_NR_DRAM_BANKS set to 1 from getting an >>

Re: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2012-01-04 Thread Tom Rini
On 01/04/2012 09:10 AM, Grant Erickson wrote: > On Jan 3, 2012, at 6:31 AM, Tom Rini wrote: >> On 12/22/2011 12:28 PM, Grant Erickson wrote: >>> Only attempt to configure and add DRAM at chip select 1 if the board has >>> configured more than one bank of DRAM. >>> >>> This prevents boards that hav

[U-Boot] Please pull u-boot-ti/master

2012-01-04 Thread Tom Rini
Hi Albert, This replaces the pull request I sent for u-boot-ti/next back around Dec 23rd that wasn't pulled. The following changes since commit a747cc0a8c55d69a56a6db80a35cdb48c853447d: Thierry Reding (1): tegra2: Optimize out-of-tree build for Ventana. are available in the git reposit

Re: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2012-01-04 Thread Grant Erickson
On Jan 4, 2012, at 8:14 AM, Tom Rini wrote: > On 01/04/2012 09:10 AM, Grant Erickson wrote: >> On Jan 3, 2012, at 6:31 AM, Tom Rini wrote: >>> On 12/22/2011 12:28 PM, Grant Erickson wrote: Only attempt to configure and add DRAM at chip select 1 if the board has configured more than one b

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-01-04 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks. The following changes since commit a747cc0a8c55d69a56a6db80a35cdb48c853447d: tegra2: Optimize out-of-tree build for Ventana. (2011-12-24 10:23:32 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master Eric

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-01-04 Thread Fabio Estevam
Hi Stefano, On Wed, Jan 4, 2012 at 2:57 PM, Stefano Babic wrote: > Fabio Estevam (6): >      net: imx: Add multi-FEC support for imx_get_mac_from_fuse >      mx28: Let imx_get_mac_from_fuse be common for mx28 >      mx28: Let dram_init be common for mx28 >      mx28evk: Add initial support for M

Re: [U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-04 Thread Scott Wood
On 01/04/2012 09:32 AM, Holger Brunck wrote: > From: Stefan Bigler > > Initial implementation for unsafe feature for biterror insertion on > NAND-Flash devices. The code flips single bits in the data block of the > flash to simulate single bit-errors. > Tested with Samsung K9F1G08U0D and Micron M

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-01-04 Thread Stefano Babic
On 04/01/2012 18:41, Fabio Estevam wrote: > Hi Stefano, > > On Wed, Jan 4, 2012 at 2:57 PM, Stefano Babic wrote: > >> Fabio Estevam (6): >> net: imx: Add multi-FEC support for imx_get_mac_from_fuse >> mx28: Let imx_get_mac_from_fuse be common for mx28 >> mx28: Let dram_init be com

Re: [U-Boot] [PATCH] USB: move keyboard polling into kbd driver

2012-01-04 Thread Allen Martin
> This moves keyboard polling logic from USB HCD drivers into USB > keyboard driver. Remove usb_event_poll() as keyboard polling was > the only user of this API. With this patch USB keyboard works with > EHCI controllers again. Tested on a tegra2 seaboard. > > Signed-off-by: Allen Martin ping

Re: [U-Boot] [PATCH] USB: reevaluate iomux stdin on USB kbd detect

2012-01-04 Thread Allen Martin
> If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard > device is detected. > > Signed-off-by: Allen Martin ping, anyone have any comments/feedback? -Allen nvpublic ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

[U-Boot] [PATCH v2 01/17] x86: Import glibc memcpy implementation

2012-01-04 Thread Graeme Russ
Taken from glibc version 2.14.90 Signed-off-by: Graeme Russ --- Changes for v2: - None arch/x86/include/asm/string.h |2 +- arch/x86/lib/string.c | 61 + 2 files changed, 62 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/s

[U-Boot] [PATCH v2 02/17] x86: Speed up copy-to-RAM and clear BSS operations

2012-01-04 Thread Graeme Russ
The implementations of memcpy and memset are now the optimised versions from glibc, so use them instead of simple copy loops Signed-off-by: Graeme Russ --- Changes for v2: - Removed unneeded brackets arch/x86/lib/board.c | 17 + 1 files changed, 5 insertions(+), 12 deletions(

[U-Boot] [PATCH v2 03/17] x86: Remove GDR related magic numbers

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - Use an enum - Add defined for GDT size (previously added in patch 7) - Use X86_ namespace (as per Linux headers) arch/x86/cpu/cpu.c |8 arch/x86/cpu/start.S |3 ++- arch/x86/include/asm/processor.h |

[U-Boot] [PATCH v2 04/17] x86: Rework Global Descriptor Table loading

2012-01-04 Thread Graeme Russ
The inline assembler is ugly and uses hard coded magic numbers. Make it more elegant to allow cleaner implementation of future GDT related patches. The compiler seems smart enough to generate the same code anyway Signed-off-by: Graeme Russ --- Changes for v2: - Rebased against revised patch #3

[U-Boot] [PATCH v2 05/17] x86: Simplify Flash-to-RAM code execution transition

2012-01-04 Thread Graeme Russ
Move the relocation offset calculation out of assembler and into C. This also paves the way for the upcoming init sequence simplification by adding the board_init_f_r flash to RAM transitional function Signed-off-by: Graeme Russ --- Changes for v2: - Added commit message - Minor adjustment to n

[U-Boot] [PATCH v2 07/17] x86: Use fs for global data

2012-01-04 Thread Graeme Russ
Use the base address of the 'F' segment as a pointer to the global data structure. By adding the linear address (i.e. the 'D' segment address) as the first word of the global data structure, the address of the global data relative to the 'D' segment can be found simply, for example, by: fs

[U-Boot] [PATCH v2 06/17] x86: Rework relocation calculations

2012-01-04 Thread Graeme Russ
This commit introduces no functional changes - It simply re-arranges the calculations so that adding to them in future commits will be cleaner Signed-off-by: Graeme Russ --- Changes for v2: - Fixed typo in title - Added commit message arch/x86/lib/board.c | 23 +++ 1 fil

[U-Boot] [PATCH v2 08/17] x86: Set GD_FLG_RELOC after entering in-RAM copy of U-Boot

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - None arch/x86/lib/board.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index b64c2d3..3d82165 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -252,8 +252,6

[U-Boot] [PATCH v2 10/17] x86: Allow cache before copy to RAM

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - None arch/x86/lib/board.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 56acf35..a240d26 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -

[U-Boot] [PATCH v2 09/17] x86: Create weak init_cache() and default enable_caches() functions

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - Tweaked commit title arch/x86/cpu/cpu.c| 18 +++--- arch/x86/include/asm/u-boot-x86.h |1 + arch/x86/lib/board.c |1 + 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/arch/x86/cpu

[U-Boot] [PATCH v2 11/17] x86: Tweak IDT and GDT for alignment and readability

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - Renamed to better reflect nature of changes arch/x86/cpu/interrupts.c |2 +- arch/x86/cpu/start16.S| 57 +++- 2 files changed, 46 insertions(+), 13 deletions(-) diff --git a/arch/x86/cpu/interrup

[U-Boot] [PATCH v2 12/17] CHECKPATCH: arch/x86/lib/*

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - None arch/x86/lib/bios.S| 134 +-- arch/x86/lib/realmode_switch.S | 61 +++ 2 files changed, 122 insertions(+), 73 deletions(-) diff --git a/arch/x86/lib/bios.S b/arch/x86/lib/bi

[U-Boot] [PATCH v2 13/17] x86: Move do_go_exec() out of board.c

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - None arch/x86/lib/Makefile |1 + arch/x86/lib/board.c| 27 --- arch/x86/lib/cmd_boot.c | 64 +++ 3 files changed, 65 insertions(+), 27 deletions(-) create mode 100644 arch

[U-Boot] [PATCH v2 14/17] x86: Move setup_pcat_compatibility() out of board.c

2012-01-04 Thread Graeme Russ
This function simply does not belong in board.c Signed-off-by: Graeme Russ --- Changes for v2: - Added commit message arch/x86/lib/board.c |7 --- arch/x86/lib/zimage.c |7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/b

[U-Boot] [PATCH v2 15/17] x86: Move relocation code out of board.c

2012-01-04 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes for v2: - None arch/x86/lib/Makefile |1 + arch/x86/lib/board.c| 69 +--- arch/x86/lib/relocate.c | 115 +++ 3 files changed, 118 insertions(+), 67 deletions(-) create mode 1

[U-Boot] [PATCH v2 16/17] x86: Split init functions out of board.c

2012-01-04 Thread Graeme Russ
This patch moves towards reducing board.c to simply a set of init cores for the three initialisation phases (Flash, Flash/RAM, and RAM), a set of three init function arrays and a init function array processing function Signed-off-by: Graeme Russ --- Changes for v2: - Changes patch title - Tweak

[U-Boot] [PATCH v2 17/17] x86: Convert board_init_f_r to a processing loop

2012-01-04 Thread Graeme Russ
Create an init function array for board_init_f_r - This finalises the migration to a purely array based initialisation mechanism Also tweak a few comments while we are at it so everything is 'correct' Signed-off-by: Graeme Russ --- Changes for v2: - Renamed to a more apt name - Fix bug in set_

Re: [U-Boot] [PATCH v2 02/17] x86: Speed up copy-to-RAM and clear BSS operations

2012-01-04 Thread Graeme Russ
Oops, after painstakingly setting In-Reply-To: I've gone and left git-send-email chain-reply on :( Sorry 'bout that Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] M28 U-Boot config

2012-01-04 Thread Marek Vasut
> Hi Marek, Hello, please _ALWAYS_ CC the u-boot mailing list. > > in include/configs/m28evk.h:88 you define the U-Boot stack size: > #define CONFIG_STACKSIZE0x0001 /* 128 KB stack */ > However, the actual size doesn't match the commented size. > Did you mean this:

Re: [U-Boot] [PATCH 2/2] mtd/nand: Fix IFC driver to support 2K NAND page

2012-01-04 Thread Scott Wood
On 12/27/2011 11:23 PM, Prabhakar Kushwaha wrote: > 1) OOB area should be updated irrespective of NAND page size. Earlier it was > updated only for 512byte NAND page. > > 2) During OOB update fbcr should be equal to OOB size. > > Signed-off-by: Poonam Aggrwal > Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH 1/2] mtd/nand:Fix wrong address read in is_blank()

2012-01-04 Thread Scott Wood
On 12/27/2011 11:22 PM, Prabhakar Kushwaha wrote: > IFC NAND Machine calculates ECC on 512byte sector. Same is taken care in > fsl_ifc_run_command() while ECC status verification. Here buffer number is > calculated assuming 512byte sector and same is passed to is_blank. > However in is_blank() bu

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Scott Wood
On 01/01/2012 05:31 AM, Xiangfu Liu wrote: > Hi Scott Wood > > this is the patch I try to add nand spl boot for qi_lb60 board > > this patch works fine under qi_lb60(ben nanonote) but there are three > 'extern' lines under: nand_spl/board/qi/qi_lb60/nand_spl.c > > those 'extern' lines already in

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Scott Wood
On 01/04/2012 04:01 PM, Scott Wood wrote: > On 01/01/2012 05:31 AM, Xiangfu Liu wrote: >> Hi Scott Wood >> >> this is the patch I try to add nand spl boot for qi_lb60 board >> >> this patch works fine under qi_lb60(ben nanonote) but there are three >> 'extern' lines under: nand_spl/board/qi/qi_lb60

[U-Boot] [PATCH] mpc8313erdb: fix mtdparts address

2012-01-04 Thread Scott Wood
Fix a copy-and-paste error when adapting mpc8315erdb mtdparts to mpc8313erdb. mtdids was already using the proper address on mpc8313erdb. Signed-off-by: Scott Wood --- include/configs/MPC8313ERDB.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/MPC8313

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-04 Thread Scott Wood
On 12/05/2011 05:17 PM, Marek Vasut wrote: > This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to > identify the chip and configure the controller accordingly. > > Signed-off-by: Marek Vasut > Cc: Scott Wood > --- > drivers/mtd/nand/Makefile |4 ++-- > 1 files chan

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Xiangfu Liu
Hi yes. I have cpmpared this. but I can't find where is the problem. attachment is the u-boot.map diff. after remove those 'extern' the u-boot-nand-spl is exact same. binary file. map file both same. but the u-boot.bin/map changed. Please help me take a look. thanks Scott. xiangfu On 01/05/2

[U-Boot] [PATCH v3 0/7] overo: add SPL support

2012-01-04 Thread Andreas Müller
V1 -> V2 * cleanups: replace printf with one argument by puts [1-2] * cleanups: remove unused macros and macro values / tabbing / remove FSF address [3] * i2c: move all local variables to SRAM [4] * OMAP SPL: call timer_init in s_init to make udelay work earlier [5] * hint CONFIG_SYS_TEXT_BASE cha

[U-Boot] [PATCH v3 1/7] drivers/i2c/omap24xx_i2c.c: replace printf with one argument by puts

2012-01-04 Thread Andreas Müller
Signed-off-by: Andreas Müller --- drivers/i2c/omap24xx_i2c.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index 4ae237a..271ed60 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c

[U-Boot] [PATCH v3 3/7] include/configs/omap3_overo.h: several cleanups

2012-01-04 Thread Andreas Müller
* remove unused macros * remove unused macro values * align tabs * remove Free Software Foundation address Signed-off-by: Andreas Müller --- include/configs/omap3_overo.h | 69 ++-- 1 files changed, 31 insertions(+), 38 deletions(-) diff --git a/include/con

[U-Boot] [PATCH v3 2/7] board/overo/overo.c: replace printf with one argument by puts

2012-01-04 Thread Andreas Müller
Signed-off-by: Andreas Müller --- board/overo/overo.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/board/overo/overo.c b/board/overo/overo.c index 3c60b06..4a20c7f 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -119,7 +119,7 @@ int get_board

[U-Boot] [PATCH v3 4/7] drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM

2012-01-04 Thread Andreas Müller
At old overo boards TWL4030 RTC irq is connected to gpio112. Unfortunately this pin is also used for revision detection. Therefore we need to send shut-up to TWL4030 to avoid reading wrong revision. In SPL this must be done before SDRAM is set up because the type of SDRAM is revision dependent. By

[U-Boot] [PATCH v3 5/7] OMAP SPL: call timer_init in s_init to make udelay work earlier

2012-01-04 Thread Andreas Müller
Signed-off-by: Andreas Müller --- arch/arm/cpu/armv7/omap-common/spl.c |2 -- arch/arm/cpu/armv7/omap3/board.c |2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index 9c35a09..74fea4f 1006

[U-Boot] [PATCH v3 6/7] omap_rev_string: output to stdout

2012-01-04 Thread Andreas Müller
* avoid potential buffer overflows * allow SPL-build not to output "Texas Instruments Revision detection unimplemented" Signed-off-by: Andreas Müller --- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 10 -- arch/arm/cpu/armv7/omap-common/spl.c | 10 -- arch/arm/

[U-Boot] [PATCH v3 7/7] overo: add SPL support

2012-01-04 Thread Andreas Müller
* implementation based on ti beagleboard/omap3evm * timing data and i2c workaround for revision 0 boards taken from x-loader * run-tested with overo revision 0 and 1 / boot from NAND and SDcard * run-tested with x-loader Signed-off-by: Andreas Müller --- arch/arm/include/asm/arch-omap3/mem.h |

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-04 Thread Tom Rini
On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood wrote: > On 12/05/2011 05:17 PM, Marek Vasut wrote: >> This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs >> to >> identify the chip and configure the controller accordingly. >> >> Signed-off-by: Marek Vasut >> Cc: Scott Wood >