[U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin --- arch/nds32/include/asm/linkage.h | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 arch/nds32/include/asm/linkage.h diff --git a/arch/nds32/include/asm/linkage.h b/arch/nds32/include/

[U-Boot] [PATCH 2/2] nds32/ag101/watchdog.S: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin --- arch/nds32/cpu/n1213/ag101/watchdog.S |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S index fc39f3f..18f0b66 100644 --- a/

Re: [U-Boot] [PATCH 11/13] nand_spl_simple: store temp data at CONFIG_SPL_NAND_WORKSPACE

2011-11-30 Thread Igor Grinberg
Hi Ilya, On 11/28/11 18:37, Ilya Yanok wrote: > Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM > which is likely to contain already loaded data. I can't see any way to > determine some safe address automagically so make it up to board porter > to provide the safe-to-use a

[U-Boot] [PATCH 00/14] More fixes GCC 4.6 build warnings

2011-11-30 Thread Wolfgang Denk
Here is anothe rbatch of patches for GCC 4.6 build warnings on PPC boards. Note that not all patches are actually checkpatch-clean. There are some boards which are more or less dead (for example, the Marvell DB64360 and DB64460 boards): they have not been actively maintained for a number of years

[U-Boot] [PATCH 04/14] board/cray/L1/flash.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: flash.c: In function 'flash_erase': flash.c:276:24: warning: variable 'l_sect' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- total: 0 errors, 0 warnings, 49 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_U

[U-Boot] [PATCH 05/14] DB64360: Fix GCC 4.6 build warnings

2011-11-30 Thread Wolfgang Denk
Fix: db64360.c: In function 'debug_led': db64360.c:413:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] mv_eth.c: In function 'mv64360_eth_real_open': mv_eth.c:424:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable] mv_eth.c: In function 'mv643

[U-Boot] [PATCH 02/14] board/amirix/ap1000/flash.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: flash.c: In function 'flash_write_cfiword': flash.c:778:11: warning: variable 'ctladdr' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- total: 0 errors, 0 warnings, 12 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMEN

[U-Boot] [PATCH 09/14] post/board/lwmon5/gdc.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: gdc.c: In function 'gdc_test_reg_one': gdc.c:66:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Stefan Roese --- total: 0 errors, 0 warnings, 14 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTA

[U-Boot] [PATCH 06/14] DB64460: Fix GCC 4.6 build warnings

2011-11-30 Thread Wolfgang Denk
Fix: db64460.c: In function 'debug_led': db64460.c:413:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] mv_eth.c: In function 'mv64460_eth_real_open': mv_eth.c:423:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable] mv_eth.c: In function 'mv644

[U-Boot] [PATCH 08/14] drivers/usb/host/sl811-hcd.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: sl811-hcd.c: In function 'sl811_rh_submit_urb': sl811-hcd.c:556:8: warning: variable 'wIndex' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Remy Bohmer --- WARNING: space prohibited between function name and open parenthesis '(' #31: FILE: drivers/usb/host/sl

[U-Boot] [PATCH 10/14] board/mpl/common/flash.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: ../common/flash.c: In function 'flash_init': ../common/flash.c:160:16: warning: variable 'size_b1' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Denis Peter --- ERROR: space required after that ',' (ctx:VxV) #26: FILE: board/mpl/common/flash.c:160: + un

[U-Boot] [PATCH 12/14] arch/powerpc/cpu/mpc86xx/cpu.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: cpu.c: In function 'checkcpu': cpu.c:51:7: warning: variable 'ver' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Kumar Gala --- total: 0 errors, 0 warnings, 21 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MAC

[U-Boot] [PATCH 03/14] drivers/block/sata_dwc.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: sata_dwc.c: In function 'scan_sata': sata_dwc.c:535:38: warning: variable 'udma_mask' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Kazuaki Ichinohe --- total: 0 errors, 0 warnings, 18 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO M

[U-Boot] [PATCH 13/14] board/sbc405/strataflash.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: strataflash.c: In function 'flash_write_cfiword': strataflash.c:673:11: warning: variable 'ctladdr' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- total: 0 errors, 0 warnings, 14 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX M

[U-Boot] [PATCH 11/14] board/freescale/mpc8610hpcd/mpc8610hpcd.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: mpc8610hpcd.c: In function 'pci_init_board': mpc8610hpcd.c:238:15: warning: variable 'pordevsr' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Kumar Gala --- total: 0 errors, 0 warnings, 13 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTR

[U-Boot] [PATCH 14/14] board/emk/top860/top860.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: top860.c: In function 'initdram': top860.c:90:11: warning: variable 'j' set but not used [-Wunused-but-set-variable] Note: No attempts were made to convert this file completely to using I/O accessors. This is left as an exercise for the board maintainer. Signed-off-by: Wolfgang Denk Cc: Rei

[U-Boot] [PATCH 01/14] alpr board: Fix GCC 4.6 build warnings

2011-11-30 Thread Wolfgang Denk
Fix: fpga.c: In function 'fpga_pre_fn': fpga.c:88:16: warning: variable 'reg' set but not used [-Wunused-but-set-variable] nand.c: In function 'alpr_nand_dev_ready': nand.c:125:18: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Stefan Roese

[U-Boot] [PATCH 07/14] board/sandburst/common/flash.c: Fix GCC 4.6 build warning

2011-11-30 Thread Wolfgang Denk
Fix: ../common/flash.c: In function 'flash_erase': ../common/flash.c:307:24: warning: variable 'l_sect' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Travis Sawyer --- total: 0 errors, 0 warnings, 23 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDE

Re: [U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

2011-11-30 Thread Igor Grinberg
Several comments in addition to Tom's comments below. On 11/28/11 18:37, Ilya Yanok wrote: > This patch adds support for the HTKW mcx AM3517-based board. > Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both > NAND and MMC SPLs are supported. > > Requires updated mach-types file. > > Signed

Re: [U-Boot] ARM: vexpress: Extend default boot sequence to load script from MMC

2011-11-30 Thread Jon Medhurst (Tixy)
On Tue, 2011-11-29 at 13:46 -0700, Tom Rini wrote: > On Tue, Nov 29, 2011 at 6:46 AM, Jon Medhurst (Tixy) > wrote: > > Extend the default boot sequence on Versatile Express to load a boot > > script from MMC. > > > > Signed-off-by: Jon Medhurst > > Is there any interest in defining a common 'fan

Re: [U-Boot] [PATCH V2 2/2] ARM: omap3: add support to Technexion twister board

2011-11-30 Thread Stefano Babic
On 30/11/2011 00:18, Tom Rini wrote: > On Thu, Nov 24, 2011 at 8:44 AM, Stefano Babic wrote: >> The twister board is a development board using >> the TAM3517 SOM. >> >> Support for NAND, 2 Ethernet (EMAC and SMC911), >> USB (EHCI_OMAP). > [snip] >> +#if defined(CONFIG_GENERIC_MMC) && defined(CONFI

[U-Boot] [PATCH 3/4] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-11-30 Thread Gabe Black
If vboot successfully verifies a kernel, it will leave it in place and basically ready to boot. The zeropage table which is part of the x86 boot protocol is at the end of the kernel, though, instead of the beginning, and because the image is already in place there's no need to copy it around. This

[U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Gabe Black
These four patches add support for the 32 bit Linux boot protocol to the zboot command. They also add support for an initrd. Gabe Black (4): x86: Clean up the x86 zimage code in preparation to extend it x86: Add support for booting Linux using the 32 bit boot protocol x86: Refactor the zboo

[U-Boot] [PATCH 2/4] x86: Add support for booting Linux using the 32 bit boot protocol

2011-11-30 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black --- arch/x86/include/asm/zimage.

[U-Boot] [PATCH 1/4] x86: Clean up the x86 zimage code in preparation to extend it

2011-11-30 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black --- arch/x86/include/asm/zimage.h | 21 -- arch

[U-Boot] [PATCH 4/4] x86: Add support for specifying an initrd with the zboot command

2011-11-30 Thread Gabe Black
This change finishes plumbing the initrd support built into the zboot mechanism out to the command interface. It also fixes a bug in the command declaration where the kernel size could be passed as an optional second parameter but not enough arguments were allowed. Signed-off-by: Gabe Black ---

Re: [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Graeme Russ
Hi Gabe, On 30/11/11 20:17, Gabe Black wrote: > These four patches add support for the 32 bit Linux boot protocol to the > zboot command. They also add support for an initrd. > > > Gabe Black (4): > x86: Clean up the x86 zimage code in preparation to extend it > x86: Add support for booting

Re: [U-Boot] [PATCH v2] [driver][cfb] Make the software cursor non-destructive

2011-11-30 Thread Gabe Black
On Wed, Nov 9, 2011 at 5:31 PM, Mike Frysinger wrote: > i don't know the video code all that well, but i don't see anything wrong > with > this patch ... > > Acked-by: Mike Frysinger > -mike > Bump. ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [PATCH v2] [driver][cfb] Make the software cursor non-destructive

2011-11-30 Thread Anatolij Gustschin
Hi, On Wed, 30 Nov 2011 04:55:52 -0500 Gabe Black wrote: > On Wed, Nov 9, 2011 at 5:31 PM, Mike Frysinger wrote: > > > i don't know the video code all that well, but i don't see anything wrong > > with > > this patch ... > > > > Acked-by: Mike Frysinger > > -mike > > > > Bump. This patch is

Re: [U-Boot] [PATCH v3] x86: Wrap small helper functions from libgcc to avoid an ABI mismatch

2011-11-30 Thread Graeme Russ
Hi Gabe, On 17/11/11 20:01, Gabe Black wrote: > When gcc compiles some 64 bit operations on a 32 bit machine, it generates > calls to small functions instead of instructions which do the job directly. > Those functions are defined in libgcc and transparently provide whatever > functionality was ne

Re: [U-Boot] [PATCH] x86: Make the i8042 driver checkpatch clean

2011-11-30 Thread Graeme Russ
Hi Gabe, On 15/11/11 16:24, Gabe Black wrote: > Signed-off-by: Gabe Black > --- > drivers/input/i8042.c | 970 > - > 1 files changed, 472 insertions(+), 498 deletions(-) > Applied to u-boot-x86/master Thanks, Graeme _

Re: [U-Boot] [PATCH v2] x86: Fix some bugs in the i8402 driver when no controller is present

2011-11-30 Thread Graeme Russ
Hi Gabe, On 15/11/11 17:18, Gabe Black wrote: > If no controller is present, the i8402 driver should return immediately and > not attempt to operate on the missing hardware. > > In kbd_input_empty, the status register is checked every millisecond to see > whether the input buffer is empty, up to

Re: [U-Boot] [PATCH v4] x86: Import the glibc memset implementation

2011-11-30 Thread Graeme Russ
Hi Gabe, On 15/11/11 11:47, Gabe Black wrote: > The new implementation is about twice as fast as the old. This is from > glibc-2.14, sysdeps/i386/memset.c. > > Signed-off-by: Gabe Black > --- > Changes in v2: > Update the commit summary as suggested by Mike Frysinger. > > Changes in v3: > Rebas

Re: [U-Boot] [PATCH 1/8] x86: Fix a few recently added bugs

2011-11-30 Thread Graeme Russ
Hi Gabe, On 17/11/11 20:32, Graeme Russ wrote: > From: Gabe Black > > Signed-off-by: Gabe Black > Signed-off-by: Graeme Russ > --- > arch/x86/cpu/cpu.c |1 + > arch/x86/lib/board.c |6 +- > 2 files changed, 6 insertions(+), 1 deletions(-) Applied to u-boot-x86/master Thanks,

Re: [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Graeme Russ
Hi Gabe, On 30/11/11 20:17, Gabe Black wrote: > These four patches add support for the 32 bit Linux boot protocol to the > zboot command. They also add support for an initrd. > > > Gabe Black (4): > x86: Clean up the x86 zimage code in preparation to extend it > x86: Add support for booting

[U-Boot] [PATCH v2 01/11] MIPS: board.c: make checkpatch.pl clean

2011-11-30 Thread Daniel Schwierzeck
WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' WARNING: braces {} are not necessary for single statement blocks ERROR: return is not a function, parentheses are not required ERROR: do not use assignment in if condition ERROR: trailing state

[U-Boot] [PATCH v2 07/10] MIPS: extend cache initialization for recent MIPS CPU cores

2011-11-30 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- Changes for v2: - updated patch subject - removed CPU specific #ifdefs - added description for config option CONFIG_SYS_MIPS_CACHE_EXT_INIT to README README |5 + arch/mips/cpu/mips32/cache.S | 10 ++ arc

[U-Boot] [PATCH v2 08/10] MIPS: start.S: refactor reset and exception vector setup

2011-11-30 Thread Daniel Schwierzeck
Use assembler macros for vector and handler setup. Only implement the specific vectors offsets and let the assembler fill the gap with zeroes. Add missing exception vectors and handlers for Interrupt, CauseIV and EJTAG debug. Signed-off-by: Daniel Schwierzeck --- Changes for v2: - updated patch

[U-Boot] ¿ Buscas una relacón duradera ? Meetic Affinity te ayuda a elegir

2011-11-30 Thread Meetic Affinity
MEETIC AFFINITY ES DIFERENTE Meetic Affinity pone en contacto a personas solteras afines, es decir, que comparten las mismas expectativas, una misma visión sobre la pareja y los mismos gustos, y que desean construir una relación sólida y duradera. Con Meetic Affinity no tendrás que buscar en un

Re: [U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

2011-11-30 Thread Andy Fleming
>> +#define CONFIG_SPL_MAX_SIZE            0xB400  /* 45 K */ > > Better as (45 << 10). Maybe 45 * 1024? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 12/14] arch/powerpc/cpu/mpc86xx/cpu.c: Fix GCC 4.6 build warning

2011-11-30 Thread Kumar Gala
On Nov 30, 2011, at 2:17 AM, Wolfgang Denk wrote: > Fix: > cpu.c: In function 'checkcpu': > cpu.c:51:7: warning: variable 'ver' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Kumar Gala > --- > total: 0 errors, 0 warnings, 21 lines checked > NOTE: Ignored

Re: [U-Boot] [PATCH 11/14] board/freescale/mpc8610hpcd/mpc8610hpcd.c: Fix GCC 4.6 build warning

2011-11-30 Thread Kumar Gala
On Nov 30, 2011, at 2:17 AM, Wolfgang Denk wrote: > Fix: > mpc8610hpcd.c: In function 'pci_init_board': > mpc8610hpcd.c:238:15: warning: variable 'pordevsr' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Kumar Gala > --- > total: 0 errors, 0 warnings, 13

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch wrote: > Hi Tom, > > On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >> wrote: >>> This code adds an SPL for booting from SPI flash on DA850 SoCs. >>> >>> Signed-off-by: Christian Riesch >>>

Re: [U-Boot] [PATCH 01/13] davinci_emac: move arch-independent defines to separate header

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 12:35 AM, Igor Grinberg wrote: > On 11/29/11 20:57, Tom Rini wrote: >> On Mon, Nov 28, 2011 at 9:37 AM, Ilya Yanok wrote: >>> DaVinci EMAC is found not only on DaVinci SoCs but on some OMAP3 SoCs >>> also. This patch moves common defines from arch-davinci/emac_defs.h to >>

Re: [U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 6:49 AM, Andy Fleming wrote: >>> +#define CONFIG_SPL_MAX_SIZE            0xB400  /* 45 K */ >> >> Better as (45 << 10). > > Maybe 45 * 1024? I swear I saw Wolfgang say (45 << 10) for another board (and we do N << 10 in other places in the config files) but either way. --

Re: [U-Boot] ARM: vexpress: Extend default boot sequence to load script from MMC

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 1:32 AM, Jon Medhurst (Tixy) wrote: > On Tue, 2011-11-29 at 13:46 -0700, Tom Rini wrote: >> On Tue, Nov 29, 2011 at 6:46 AM, Jon Medhurst (Tixy) >> wrote: >> > Extend the default boot sequence on Versatile Express to load a boot >> > script from MMC. >> > >> > Signed-off-b

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Christian Riesch
Hello Heiko, On Wed, Nov 30, 2011 at 8:41 AM, Heiko Schocher wrote: > Christian Riesch wrote: >> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >>> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>> wrote: This code adds an SPL for booting from SPI flash on DA850 SoCs. Signe

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Christian Riesch
Hi Tom, On Wed, Nov 30, 2011 at 3:18 PM, Tom Rini wrote: > On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch > wrote: >> Hi Tom, >> >> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >>> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>> wrote: This code adds an SPL for booting from

Re: [U-Boot] [PATCH 01/13] davinci_emac: move arch-independent defines to separate header

2011-11-30 Thread Igor Grinberg
On 11/30/11 16:21, Tom Rini wrote: > On Wed, Nov 30, 2011 at 12:35 AM, Igor Grinberg > wrote: >> On 11/29/11 20:57, Tom Rini wrote: >>> On Mon, Nov 28, 2011 at 9:37 AM, Ilya Yanok wrote: DaVinci EMAC is found not only on DaVinci SoCs but on some OMAP3 SoCs also. This patch moves common

Re: [U-Boot] ARM: vexpress: Extend default boot sequence to load script from MMC

2011-11-30 Thread Jon Medhurst (Tixy)
On Wed, 2011-11-30 at 07:51 -0700, Tom Rini wrote: > On Wed, Nov 30, 2011 at 1:32 AM, Jon Medhurst (Tixy) > wrote: > > On Tue, 2011-11-29 at 13:46 -0700, Tom Rini wrote: > >> On Tue, Nov 29, 2011 at 6:46 AM, Jon Medhurst (Tixy) > >> wrote: > >> > Extend the default boot sequence on Versatile Expr

Re: [U-Boot] [PATCH 01/13] davinci_emac: move arch-independent defines to separate header

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 8:16 AM, Igor Grinberg wrote: > On 11/30/11 16:21, Tom Rini wrote: >> On Wed, Nov 30, 2011 at 12:35 AM, Igor Grinberg >> wrote: >>> On 11/29/11 20:57, Tom Rini wrote: On Mon, Nov 28, 2011 at 9:37 AM, Ilya Yanok wrote: > DaVinci EMAC is found not only on DaVinci

Re: [U-Boot] ARM: vexpress: Extend default boot sequence to load script from MMC

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 8:19 AM, Jon Medhurst (Tixy) wrote: > On Wed, 2011-11-30 at 07:51 -0700, Tom Rini wrote: >> On Wed, Nov 30, 2011 at 1:32 AM, Jon Medhurst (Tixy) >> wrote: >> > On Tue, 2011-11-29 at 13:46 -0700, Tom Rini wrote: >> >> On Tue, Nov 29, 2011 at 6:46 AM, Jon Medhurst (Tixy) >>

Re: [U-Boot] [PATCH 1/3] linkage.h: move from blackfin to common includes

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 02:23:45 Macpaul Lin wrote: > Add linkage.h support from blackfin to common include, > which is a reduced version from Linux. since applying any of these patches alone will break things, you'll have to squash them into one. otherwise git bisect won't work. otherwis

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: > Add linkage support. let's add this to our linux/linkage.h: #ifndef __ALIGN #define __ALIGN .align 4 #define __ALIGN_STR ".align 4" #endif i think most arches will be this way -mike signature.asc Description: This is a digitally si

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Christian Riesch
Hi Tom, On Wed, Nov 30, 2011 at 3:18 PM, Tom Rini wrote: > On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch > wrote: >> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >>> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>> wrote: This code adds an SPL for booting from SPI flash on D

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-30 Thread Mike Frysinger
On Tuesday 29 November 2011 23:12:02 Graeme Russ wrote: > On Wed, Nov 30, 2011 at 2:52 PM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 18:48:08 Graeme Russ wrote: > >> At this point, how do you make the merge 'conflict free' without > >> re-writing the sub-repo? > > > > you can't. but t

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Tom Rini
On Wed, Nov 30, 2011 at 9:39 AM, Christian Riesch wrote: > Hi Tom, > > On Wed, Nov 30, 2011 at 3:18 PM, Tom Rini wrote: >> On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch >> wrote: >>> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>>

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

2011-11-30 Thread 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 space for the u-boot image. CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason for the problems with MMC boot described here: http://article.gmane.o

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

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

2011-11-30 Thread Tom Rini
On 11/30/2011 10:05 AM, Simon Schwarz wrote: > 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 space for the u-boot image. > > CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason > for the proble

Re: [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Gabe Black
On Wed, Nov 30, 2011 at 4:13 AM, Graeme Russ wrote: > Hi Gabe, > > On 30/11/11 20:17, Gabe Black wrote: > > These four patches add support for the 32 bit Linux boot protocol to the > > zboot command. They also add support for an initrd. > > > > > > Gabe Black (4): > > x86: Clean up the x86 zima

[U-Boot] Werk in grote buitenlandse bedrijf

2011-11-30 Thread motherindia-diningin
Goede dag. Wij zijn op zoek in Nederland en Duitsland naar medewerker voor administratieve werk. Burgers van Europese Unie zijn tevens welkom. U hoeft niet buiten uw woonplaats, u werkt in uw stad, in uw woonomgeving. De eisen die wij stellen zijn : verantwoordelijkheid , punctualiteit de drijf

Re: [U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

2011-11-30 Thread Wolfgang Denk
Dear Andy Fleming, In message you wrote: > >> +#define CONFIG_SPL_MAX_SIZE =A0 =A0 =A0 =A0 =A0 =A00xB400 =A0/* 45 K */ > > > > Better as (45 << 10). > > Maybe 45 * 1024? Matter of taste... For KiB it makes not much difference, but for MiB a "45 << 20" is way easier to write and read than a "45

Re: [U-Boot] [PATCH v5] arm: Fix clear bss loop for zero length bss

2011-11-30 Thread Albert ARIBAUD
Hi Christian, Le 29/11/2011 11:58, Christian Riesch a écrit : This patch fixes the clear bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Just out of curiosity, did you actually hit a scenario when you had a really empty BSS? Not that I intend to reject

Re: [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Graeme Russ
Hi Gabe, On Thursday, December 1, 2011, Gabe Black wrote: > > > On Wed, Nov 30, 2011 at 4:13 AM, Graeme Russ wrote: >> >> Hi Gabe, >> >> On 30/11/11 20:17, Gabe Black wrote: >> > These four patches add support for the 32 bit Linux boot protocol to the >> > zboot command. They also add support fo

[U-Boot] [PATCH v5] arm: Fix clear bss loop for zero length bss

2011-11-30 Thread Christian Riesch
Hi Albert, On Wednesday, November 30, 2011, Albert ARIBAUD wrote: > Hi Christian, > > Le 29/11/2011 11:58, Christian Riesch a écrit : >> >> This patch fixes the clear bss loop for bss sections that have >> zero length, i.e., where __bss_start == __bss_end__. > > Just out of curiosity, did you act

Re: [U-Boot] [Almost solved] M5282EVB undefined reference to `environment'

2011-11-30 Thread James Steward
On 30/11/11 17:58, Igor Grinberg wrote: On 11/30/11 00:58, James Steward wrote: On 25/11/11 14:52, James Steward wrote: So it compiles env_embedded.c, but doesn't include it in libcommon.o? vim common/Makefile XCOBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o becomes COBJS-$(CONFIG_ENV_I

Re: [U-Boot] [PATCH 1/2] image: Implement IH_TYPE_KERNEL_NOLOAD

2011-11-30 Thread Stephen Warren
Stephen Warren wrote at Thursday, November 10, 2011 1:18 PM: > The legacy uImage format includes an absolute load and entry-point > address. When bootm operates on a kernel uImage in memory that isn't > loaded at the address in the image's load address, U-Boot will copy > the image to its address i

Re: [U-Boot] [PATCH 4/5] usbtty: init endpoints prior to startup events

2011-11-30 Thread Remy Bohmer
Hi Stefan, 2011/11/28 Stefan Herbrechtsmeier : > Am 26.11.2011 23:25, schrieb Remy Bohmer: > >> 2011/10/17 Stefan Herbrechtsmeier: >>> >>> On some usb device controllers (pxa) the endpoint configuration must be >>> programmed prior to enable it. >>> >>> Signed-off-by: Stefan Herbrechtsmeier >>> CC

Re: [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Graeme Russ
Hi Gabe, On Wed, Nov 30, 2011 at 8:28 PM, Graeme Russ wrote: > Hi Gabe, > > On 30/11/11 20:17, Gabe Black wrote: >> These four patches add support for the 32 bit Linux boot protocol to the >> zboot command. They also add support for an initrd. >> >> >> Gabe Black (4): >> x86: Clean up the x86 z

Re: [U-Boot] [PATCH 0/2] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Graeme Russ
On Wed, Nov 30, 2011 at 5:25 PM, Gabe Black wrote: > > > On Tue, Nov 29, 2011 at 7:48 PM, Graeme Russ wrote: >> >> Hi Gabe, >> >> On Wed, Nov 30, 2011 at 2:11 PM, Gabe Black >> wrote: >> > These two patches add support for the 32 bit Linux boot protocol to the >> > zboot command. >> >> Going by

Re: [U-Boot] [PATCH 1/2] image: Implement IH_TYPE_KERNEL_NOLOAD

2011-11-30 Thread Wolfgang Denk
Dear Stephen Warren, In message <74cdbe0f657a3d45afbb94109fb122ff174fdaf...@hqmail01.nvidia.com> you wrote: > > Does this version of the patch look OK; can it be applied? Probably yes. I just need a ton of time (or some helpful hand pushing things through the staging repo). Best regards, Wolf

[U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive

2011-11-30 Thread Anatolij Gustschin
From: Gabe Black When printing the string "\r\n" to the framebuffer console, the first character of the current line was being replaced with a space. The "boot" prompt would become the "oot" prompt. This change makes the cursor non-destructive so that no matter where it goes on its way to where i

Re: [U-Boot] [PATCH V3 1/5] i.mx: introduce the armv7/imx-common folder

2011-11-30 Thread Fabio Estevam
On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu wrote: > +static char *get_reset_cause(void) > +{ > +       u32 cause; > +       struct src *src_regs = (struct src *)SRC_BASE_ADDR; > + > +       cause = readl(&src_regs->srsr); > +       writel(cause, &src_regs->srsr); Isn´t this writel unneeded? Reg

Re: [U-Boot] [PATCH V3 2/5] i.mx: add the initial support for freescale i.MX6Q processor

2011-11-30 Thread Fabio Estevam
On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu wrote: > +u32 get_cpu_rev(void) > +{ > +       int system_rev = 0x61000 | CHIP_REV_1_0; Can´t we do this from reading from a chip location? This way we don´t need to change when new silicon version shows up. Regards, Fabio Estevam ___

Re: [U-Boot] [PATCH V3 1/5] i.mx: introduce the armv7/imx-common folder

2011-11-30 Thread Jason Hui
On Thu, Dec 1, 2011 at 8:04 AM, Fabio Estevam wrote: > On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu wrote: > >> +static char *get_reset_cause(void) >> +{ >> +       u32 cause; >> +       struct src *src_regs = (struct src *)SRC_BASE_ADDR; >> + >> +       cause = readl(&src_regs->srsr); >> +       w

Re: [U-Boot] [PATCH V3 2/5] i.mx: add the initial support for freescale i.MX6Q processor

2011-11-30 Thread Jason Hui
On Thu, Dec 1, 2011 at 8:07 AM, Fabio Estevam wrote: > On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu wrote: > >> +u32 get_cpu_rev(void) >> +{ >> +       int system_rev = 0x61000 | CHIP_REV_1_0; > > Can´t we do this from reading from a chip location? > > This way we don´t need to change when new sili

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Hi Mike, 2011/12/1 Mike Frysinger > On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: > > Add linkage support. > > let's add this to our linux/linkage.h: > #ifndef __ALIGN > #define __ALIGN .align 4 > #define __ALIGN_STR ".align 4" > #endif > > i think most arches will be this way >

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote: > 2011/12/1 Mike Frysinger > > On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: > > > Add linkage support. > > > > let's add this to our linux/linkage.h: > > #ifndef __ALIGN > > #define __ALIGN .align 4 > > #define __ALIGN_STR

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Hi Mike, > more than half will use ".align 4". for the few that do not, they can > still > define __ALIGN themselves, and thus the "#ifndef __ALIGN" i quoted above > will > keep it from executing. > -mike > Good! I will fix this up ASAP. :-) -- Best regards, Macpaul Lin __

[U-Boot] use mx5 ehci usb support patch, but just 1 port detected

2011-11-30 Thread 华 梁
I see wolfgang patch for mx51 usb support, i use it at mx51-bbg platform. i run usb start at u-boot command line, it ouput: (Re)start USB... USB: will, usb init Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... New Device 0 usb_control_msg: request: 0x6, requesttype: 0x8

[U-Boot] [PATCH v2] linkage.h: move from blackfin to common includes

2011-11-30 Thread Macpaul Lin
1. Add linkage.h support from blackfin to common include, which is a reduced version from Linux. 2. Add architecture part support of linkage.h into blackfin 3. Fix include path of in blackfin related to linkage.h due to header file movement. Signed-off-by: Macpaul Lin --- Changes for v2:

[U-Boot] [PATCH v2 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin --- Changes for v2: - remove architecture related define of align. - remain this empty file for the compilation necessary. arch/nds32/include/asm/linkage.h | 28 1 files changed, 28 insertions(+), 0 deletions(-)

[U-Boot] [PATCH v2 2/2] nds32/ag101/watchdog.S: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin --- Changes for v2: - No change. arch/nds32/cpu/n1213/ag101/watchdog.S |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S inde

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > Hi Tom, > > On Wed, Nov 30, 2011 at 3:18 PM, Tom Rini wrote: >> On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch >> wrote: >>> Hi Tom, >>> >>> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>

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

2011-11-30 Thread Igor Grinberg
Hi Simon, On 11/30/11 19:05, Simon Schwarz wrote: > 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 space for the u-boot image. > > CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason > for the

Re: [U-Boot] [PATCH v5] arm: Fix clear bss loop for zero length bss

2011-11-30 Thread Christian Riesch
Hi Albert, On Wed, Nov 30, 2011 at 9:13 PM, Albert ARIBAUD wrote: > Le 29/11/2011 11:58, Christian Riesch a écrit : >> This patch fixes the clear bss loop for bss sections that have >> zero length, i.e., where __bss_start == __bss_end__. [...] >> diff --git a/arch/arm/cpu/arm926ejs/start.S >> b/a