Re: [U-Boot] [PATCH] Align linebuf to avoid misaligned aliases of it

2010-08-19 Thread Albert ARIBAUD
Le 19/08/2010 07:58, Mike Frysinger a écrit : > On Wednesday, August 18, 2010 16:36:39 Albert ARIBAUD wrote: >> Le 18/08/2010 19:54, Mike Frysinger a écrit : >>> On Wed, Aug 18, 2010 at 1:46 PM, Albert ARIBAUD wrote: Le 18/08/2010 18:46, Mike Frysinger a écrit : > you need to include linux

[U-Boot] [PATCH 2/2 v2] ARMV7: S5P: rename from s5pc1xx to s5p

2010-08-19 Thread Minkyu Kang
Because of these are common files around s5p Socs, rename from s5pc1xx to s5p. And getting cpu_id is SoC specific, so move to SoC's header file. Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park --- v2: moves read funcion also to s5p_set_cpu_id(). arch/arm/cpu/armv7/s5p-common/cpu_info.c

[U-Boot] [PATCH 1/2 v2] ARMV7: S5P: make s5p-common for sharing the code between s5pc1xx and s5pc2xx

2010-08-19 Thread Minkyu Kang
This patch adds basic support for s5pc210. s5p-common will be used by all of s5p SoCs. Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park --- v2: no change Makefile |7 + arch/arm/cpu/armv7/s5p-common/Makefile | 46 +++ arch/arm/cpu/armv7/s5p-co

Re: [U-Boot] [PATCH V2] mpx85xx/fdt: Add cpu-release-addr for all cores

2010-08-19 Thread Kumar Gala
On Aug 19, 2010, at 1:57 PM, Matthew McClintock wrote: > We currently do not add a cpu-release-addr for core 0, this is needed > when we want to reset core 0 and later restart it from Linux > > Signed-off-by: Matthew McClintock > --- > v2: Mark boot cpu status as "okay" > > arch/powerpc/cpu/mp

Re: [U-Boot] [PATCH v2] nios2: fix out of reach case for do_reset

2010-08-19 Thread Scott McNutt
Thomas, Applied to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > There is a limitation (or bug?) of nios2 toolchain. The nios2 gcc > didn't generate correct code when the reset vector is passed as a > constant. It just generated a direct "call", which was wrong whe

[U-Boot] Please pull u-boot-mpc85xx.git (fwd)

2010-08-19 Thread Kumar Gala
[ Updated ve8313 patch and adding Matt's fix to cpu release dts nodes ] The following changes since commit bd2313078114c4b44c4a5ce149af43bcb7fc8854: Wolfgang Denk (1): Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master are available in the git repository at: git://git.de

Re: [U-Boot] [PATCH v2] MAKEALL: cut down on duplication of targets

2010-08-19 Thread Thomas Chou
On 08/20/2010 01:05 AM, Mike Frysinger wrote: > Merge the other significant source of board name duplication with the new > boards.cfg file. I cleaned up most targets, but the ARM and MIPS trees > are such a mess than I didn't bother. If those maintainers care, they can > take are of it. > > Whil

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Wolfgang Denk
Dear Jef Mangelschots, In message you wrote: ... > I am aware that you have suggested in many places AGAINST the use of > S-record, but there is a genuine use for it. BTW - there are UUCP versions for Windows out there, too. You might want to install one and try using "cu" ... Best regards, W

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Wolfgang Denk
Dear Jef Mangelschots, In message you wrote: > > It is not exactly _parsing_ the record, but storing the decoded data > > to it's final destination, which usually includes flash programming > > cycles. > > Whenever some code takes a ASCII string (in my case an S-record), > extracts fields from

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Jef Mangelschots
> It is not exactly _parsing_ the record, but storing the decoded data > to it's final destination, which usually includes flash programming > cycles. Whenever some code takes a ASCII string (in my case an S-record), extracts fields from it, converts these to numeric values, then I call that parsi

Re: [U-Boot] NAND 16 bit buswidth issue

2010-08-19 Thread Scott Wood
On Thu, 19 Aug 2010 16:22:40 -0400 Pete Murray wrote: > > The controller driver being used is ndfc.c, it doesn't set the > options though. From what I can tell, nand.c calls nand_scan without > actually setting the nand options. I have been setting chip->options to > include NAND_BUSWID

Re: [U-Boot] NAND 16 bit buswidth issue

2010-08-19 Thread Pete Murray
The controller driver being used is ndfc.c, it doesn't set the options though. From what I can tell, nand.c calls nand_scan without actually setting the nand options. I have been setting chip->options to include NAND_BUSWIDTH_16, but want to move all my changes back to board specific code

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Wolfgang Denk
Dear Jef Mangelschots, In message you wrote: > > 4) I can not get this to work on our system (our U-boot is configured > for 115200 baud). The following explanation is based on my > observation. I might be wrong and please correct me if I am: > U-boot can not keep up with the incoming text strea

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Rogan Dawes
On 2010/08/19 7:28 PM, Jef Mangelschots wrote: > Ok, here is a summary of what I have found out so, with the help of > Wolfgang. Many thanks. > > 4) I can not get this to work on our system (our U-boot is configured > for 115200 baud). The following explanation is based on my > observation. I mig

Re: [U-Boot] NAND 16 bit buswidth issue

2010-08-19 Thread Scott Wood
On Thu, 19 Aug 2010 09:07:48 -0400 Pete Murray wrote: > I am running U-boot 2009.08 on a sequoia based custom board. The board > has a Micron 29F2G16AAD nand chip. This chip is a large page device > with a 16 bit buswidth. I have an issue in nand_base.c in the > nand_get_flash_type function

[U-Boot] [PATCH V2] mpx85xx/fdt: Add cpu-release-addr for all cores

2010-08-19 Thread Matthew McClintock
We currently do not add a cpu-release-addr for core 0, this is needed when we want to reset core 0 and later restart it from Linux Signed-off-by: Matthew McClintock --- v2: Mark boot cpu status as "okay" arch/powerpc/cpu/mpc85xx/fdt.c | 15 --- 1 files changed, 8 insertions(+), 7

[U-Boot] [PATCH v2] powerpc/83xx: Fix build issue with ve8313 board due to lbus changes

2010-08-19 Thread Kumar Gala
We get two build errors: fsl_elbc_nand.c: In function 'fsl_elbc_run_command': fsl_elbc_nand.c:231: error: 'fsl_lbc_t' has no member named 'lsor' make[1]: *** [/work/wd/tmp-ppc/drivers/mtd/nand/fsl_elbc_nand.o] Error 1 and ve8313.c: In function 'initdram': ve8313.c:104: error: expected '=', ',',

Re: [U-Boot] [PATCH] powerpc/83xx: Fix build issue with ve8313 board due to lbus changes

2010-08-19 Thread Kumar Gala
On Aug 19, 2010, at 11:49 AM, Scott Wood wrote: > On Thu, 19 Aug 2010 01:50:40 -0500 > Kumar Gala wrote: > >> diff --git a/drivers/mtd/nand/fsl_elbc_nand.c >> b/drivers/mtd/nand/fsl_elbc_nand.c >> index acdb431..ca61daf 100644 >> --- a/drivers/mtd/nand/fsl_elbc_nand.c >> +++ b/drivers/mtd/nand

[U-Boot] Persönliche Informationen für Sie

2010-08-19 Thread gilberttala...@terra.es
Lieber Freund, Ich bin Barrister Talaki Gilbert, einem Rechtsanwalt und ich würde gerne mit Ihnen teilen, ein sehr wichtiges Geschäft Satz, daß der gegenseitige Nutzen für beide von uns werden. Ein verstorbener Klient von mir, dass die Aktien den gleichen Nachnamen wie Sie, der hier nach, wird

[U-Boot] [PATCH] mx51evk: Provide a proper reset for the Ethernet PHY

2010-08-19 Thread Fabio Estevam
Provide a proper reset for the Ethernet PHY (LAN8700) on the MX51EVK. Signed-off-by: Fabio Estevam --- board/freescale/mx51evk/mx51evk.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 75d642

[U-Boot] which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Jef Mangelschots
Ok, here is a summary of what I have found out so, with the help of Wolfgang. Many thanks. 1) Wolfgang refers to the manual for system setup: http://www.denx.de/wiki/view/DULG/SystemSetup He recommends Linux programs cu and Kermit. 2) When using the "loads" command to upload an S-record file, onl

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-19 Thread Jef Mangelschots
Ok, here is a summary of what I have found out so, with the help of Wolfgang. Many thanks. 1) Wolfgang refers to the manual for system setup: http://www.denx.de/wiki/view/DULG/SystemSetup He recommends Linux programs cu and Kermit. 2) When using the "loads" command to upload an S-record file, onl

Re: [U-Boot] [PATCH v2] MAKEALL: cut down on duplication of targets

2010-08-19 Thread Ben Gardiner
On Thu, Aug 19, 2010 at 1:05 PM, Mike Frysinger wrote: > Merge the other significant source of board name duplication with the new > boards.cfg file.  I cleaned up most targets, but the ARM and MIPS trees > are such a mess than I didn't bother.  If those maintainers care, they can > take are of it

[U-Boot] [PATCH v2] MAKEALL: cut down on duplication of targets

2010-08-19 Thread Mike Frysinger
Merge the other significant source of board name duplication with the new boards.cfg file. I cleaned up most targets, but the ARM and MIPS trees are such a mess than I didn't bother. If those maintainers care, they can take are of it. While we're at it, we can be a bit more clever in the LIST_xx

[U-Boot] samsung s3c2440 support

2010-08-19 Thread C Nauman
What is the status of support for the samsung s3c2440 in mainline u-boot? I have seen patches in the the mailing list archive from 2009 but they don't appear to have been applied yet. -- Craig Nauman Diagraph an ITW Company cnauman at diagraph dot com __

Re: [U-Boot] [PATCH] powerpc/83xx: Fix build issue with ve8313 board due to lbus changes

2010-08-19 Thread Scott Wood
On Thu, 19 Aug 2010 01:50:40 -0500 Kumar Gala wrote: > diff --git a/drivers/mtd/nand/fsl_elbc_nand.c > b/drivers/mtd/nand/fsl_elbc_nand.c > index acdb431..ca61daf 100644 > --- a/drivers/mtd/nand/fsl_elbc_nand.c > +++ b/drivers/mtd/nand/fsl_elbc_nand.c > @@ -1,6 +1,6 @@ > /* Freescale Enhanced L

Re: [U-Boot] [PATCH] Disaligned buffer in print_buffer

2010-08-19 Thread Stefano Babic
Mike Frysinger wrote: > On Thursday, August 19, 2010 07:01:58 Stefano Babic wrote: >> -uint8_t linebuf[MAX_LINE_LENGTH_BYTES + 1]; >> +uint8_t linebuf[MAX_LINE_LENGTH_BYTES + 1] >> __attribute__((__aligned__(4))); > > i'd rather we go with Albert Aribaud's change (posted 14 Aug 2010) > -mi

Re: [U-Boot] [PATCH 4/4] Added initial support for PRTLVT2-based boards.

2010-08-19 Thread David Jander
Dear Wolfgang, On Thursday 19 August 2010 03:03:54 pm Wolfgang Denk wrote: >[...] > > create mode 100644 board/Protonic/prtlvt2/Makefile > > create mode 100644 board/Protonic/prtlvt2/config.mk > > create mode 100644 board/Protonic/prtlvt2/imximage.cfg > > create mode 100644 board/Protonic/prt

Re: [U-Boot] [PATCH] Disaligned buffer in print_buffer

2010-08-19 Thread Mike Frysinger
On Thursday, August 19, 2010 07:01:58 Stefano Babic wrote: > - uint8_t linebuf[MAX_LINE_LENGTH_BYTES + 1]; > + uint8_t linebuf[MAX_LINE_LENGTH_BYTES + 1] > __attribute__((__aligned__(4))); i'd rather we go with Albert Aribaud's change (posted 14 Aug 2010) -mike signature.asc Description:

[U-Boot] NAND 16 bit buswidth issue

2010-08-19 Thread Pete Murray
I am running U-boot 2009.08 on a sequoia based custom board. The board has a Micron 29F2G16AAD nand chip. This chip is a large page device with a 16 bit buswidth. I have an issue in nand_base.c in the nand_get_flash_type function where the check for buswidth fails, causing the print out - p

Re: [U-Boot] [PATCH 4/4] Added initial support for PRTLVT2-based boards.

2010-08-19 Thread Wolfgang Denk
Dear David Jander, In message <00b6eb8822a36b67a5e6154fd256e51e605fe47a.1282213859.git.da...@protonic.nl> you wrote: > > board/Protonic/prtlvt2/Makefile | 48 > board/Protonic/prtlvt2/config.mk| 25 ++ > board/Protonic/prtlvt2/imximage.cfg | 171 > board/Protonic/

Re: [U-Boot] [PATCH v2] [TESTING] da8xx: fixup ARM relocation support

2010-08-19 Thread Ben Gardiner
Hi Sudhakar, Thank you for reviewing this patch. On Thu, Aug 19, 2010 at 2:25 AM, Sudhakar Rajashekhara wrote: > Ben Gardiner nanometrics.ca> writes: > > [...] snip > >> + >> +void dram_init_banksize (void) >> +{ >> +     gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; >> +     gd->bd->bi_dra

[U-Boot] [PATCH 4/4] Added initial support for PRTLVT2-based boards.

2010-08-19 Thread David Jander
Signed-off-by: David Jander --- board/Protonic/prtlvt2/Makefile | 48 board/Protonic/prtlvt2/config.mk| 25 ++ board/Protonic/prtlvt2/imximage.cfg | 171 board/Protonic/prtlvt2/prtlvt2.c| 513 +++ board/Protonic/prtlvt2/prtlvt2.h

[U-Boot] [PATCH 3/4] mc13982 driver: corrected/added some definitions according to latest user-manual

2010-08-19 Thread David Jander
Signed-off-by: David Jander --- include/fsl_pmic.h |2 +- include/mc13892.h | 41 + 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/include/fsl_pmic.h b/include/fsl_pmic.h index e3abde6..2f2aa7d 100644 --- a/include/fsl_pmic.h +++ b/i

[U-Boot] [PATCH 2/4] MX51: Added missing pin definition

2010-08-19 Thread David Jander
Signed-off-by: David Jander --- arch/arm/include/asm/arch-mx51/mx51_pins.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx51/mx51_pins.h b/arch/arm/include/asm/arch-mx51/mx51_pins.h index ca26f41..c443f13 100644 --- a/arch/arm/include/asm/arc

[U-Boot] [PATCH 1/4] MX51: iomux: Added support for mxc_iomux_set_input()

2010-08-19 Thread David Jander
Signed-off-by: David Jander --- arch/arm/cpu/armv7/mx51/iomux.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/mx51/iomux.c b/arch/arm/cpu/armv7/mx51/iomux.c index 62b2954..fb48f1c 100644 --- a/arch/arm/cpu/armv7/mx51/iomux.c +++ b/arch/arm/cpu/

[U-Boot] [PATCH 0/4] Add support for PRTLVT2 boards

2010-08-19 Thread David Jander
The following patches add support for PRTLVT2 based boards (i.MX515 SoC). [PATCH 1/4] MX51: iomux: Added support for mxc_iomux_set_input() [PATCH 2/4] MX51: Added missing pin definition [PATCH 3/4] mc13982 driver: corrected/added some definitions according to latest user-manual [PATCH 4/4] Added

[U-Boot] [PATCH] coldfire m68k/mcf547x_8x : Fix relocation errors in start.S

2010-08-19 Thread Philippe De Muyter
When the environment sectors in the flash are big, one get those errors : mcf547x_8x/start.S:173: relocation truncated to fit: R_68K_PC16 against symbol `cpu_init_f' defined in .text section in libmcf547x_8x.a(cpu_init.o) mcf547x_8x/start.S:174: relocation truncated to fit: R_68K_PC16 against

[U-Boot] [PATCH] Disaligned buffer in print_buffer

2010-08-19 Thread Stefano Babic
As linebuf is accessed with 32-bit pointers, its address must be 32 bit aligned to avoid misaligned access. Signed-off-by: Stefano Babic --- lib/display_options.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/display_options.c b/lib/display_options.c index 20319e6

Re: [U-Boot] [PATCH v3 2/2] TI: DaVinci DA850 EVM: support passing maximum allowed cpu clock rate information to kernel

2010-08-19 Thread Nori, Sekhar
Hi Stefano, On Thu, Aug 19, 2010 at 13:51:46, Stefano Babic wrote: > Sekhar Nori wrote: > > The TI DA850/OMAP-L138/AM18x EVM can be populated with devices > > having different maximum allowed CPU clock rating. > > > > The maximum clock the chip can support can only be determined from > > the labe

[U-Boot] [PATCH] mpc5xxx_fec: add call to reset_phy() after PHY initialization

2010-08-19 Thread Ilya Yanok
Some boards need their board-specific PHY quirks to be called to PHY to work normally. As mpc5xxx_fec driver uses on demand PHY initialization and can even reinit PHY during normal operation we can't count on reset_phy() call from arch//lib/board.c (it is most likely called _before_ we init the PHY

Re: [U-Boot] [PATCH v3 2/2] TI: DaVinci DA850 EVM: support passing maximum allowed cpu clock rate information to kernel

2010-08-19 Thread Stefano Babic
Sekhar Nori wrote: > The TI DA850/OMAP-L138/AM18x EVM can be populated with devices > having different maximum allowed CPU clock rating. > > The maximum clock the chip can support can only be determined from > the label on the package (not software readable). > > Introduce a method to pass the ma

Re: [U-Boot] QorIQ NAND-Boot configs not building

2010-08-19 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > > This will take a bit longer since it seems to be compiler version > dependent. Not seeing it with gcc 4.3.2. What gcc are you using? gcc 4.2.2 as comes with ELDK 4.2 Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang

[U-Boot] [PATCHv2] net: Fix faulty definition of uec_initialize()

2010-08-19 Thread Joakim Tjernlund
The correct definition is in drivers/qe/uec.h so just remove this one. Signed-off-by: Joakim Tjernlund --- include/netdev.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/netdev.h b/include/netdev.h index 882642a..65833e2 100644 --- a/include/netdev.h +++ b/incl

Re: [U-Boot] [PATCH] eSPI and Intel E1000 support for P1/P2 RDB

2010-08-19 Thread Kumar Gala
On Aug 8, 2010, at 2:57 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <57cdb146-383a-4629-b7e4-c2729200a...@kernel.crashing.org> you > wrote: >> >> On Jun 23, 2010, at 8:56 AM, Poonam Aggrwal wrote: >> >>> This patch enables the eSPI configuration to use >>> the Spansion Flash on

[U-Boot] Please pull u-boot-mpc85xx.git

2010-08-19 Thread Kumar Gala
The following changes since commit bd2313078114c4b44c4a5ce149af43bcb7fc8854: Wolfgang Denk (1): Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-mpc85xx master Kim Phillips (1): powerpc/8xxx: share

Re: [U-Boot] QorIQ NAND-Boot configs not building

2010-08-19 Thread Kumar Gala
On Aug 18, 2010, at 5:15 PM, Wolfgang Denk wrote: > Dear Andy & Kumar, > > all QorIQ NAND-Boot configurations are apeareantly failing to build. > > I get > > ld: NAND bootstrap too big > > error messages for these board configurations: P1011RDB_NAND, > P1020RDB_NAND, P2010RDB_NAND, and

Re: [U-Boot] [PATCH] powerpc/83xx: Fix build issue with ve8313 board due to lbus changes

2010-08-19 Thread Kumar Gala
On Aug 19, 2010, at 1:50 AM, Kumar Gala wrote: > We get two build errors: > > fsl_elbc_nand.c: In function 'fsl_elbc_run_command': > fsl_elbc_nand.c:231: error: 'fsl_lbc_t' has no member named 'lsor' > make[1]: *** [/work/wd/tmp-ppc/drivers/mtd/nand/fsl_elbc_nand.o] Error 1 > > and > > ve8313.

[U-Boot] [PATCH] fdt: call fdt_parent_offset fewer times while translating addresses

2010-08-19 Thread Kumar Gala
From: Scott Wood fdt_parent_offset() is an expensive operation, so we'd like to reduce unnecessary calls to it. Further, the practice of iterating up to the root if address/size cells aren't found was apparently done for Linux for compatibility with certain buggy Open Firmware implementations, a

Re: [U-Boot] [PATCH] powerpc/85xx: Fix SRIO LAW setup on corenet_ds boards

2010-08-19 Thread Kumar Gala
On Aug 18, 2010, at 9:21 AM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1282139990-17758-1-git-send-email-ga...@kernel.crashing.org> you > wrote: >> From: Lian Minghuan >> >> In funciton board_early_init_r(), serdes does not initialize yet. >> variable "serdes_prtcl_map" in funct