[U-Boot] mpc85xx: Put SDHC clock-frequency in device tree

2009-09-23 Thread Gao Guanhua
The clock-frequency of SD controller comes from different source on different platform. We add a clock-frequency property in dts file and set the value in u-boot. --- cpu/mpc85xx/fdt.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-23 Thread Konrad Mattheis
Dear Wolfgang Denk, > I'm biased. I understand that you do this because you need it for the > next patch, which reads the environment from MMC card. But then MMC is > just one out of many storage devices, and with the same right we would > h ave to move the SCSI or DoC or S-ATA initialization up,

[U-Boot] [PATCH] mpc8536: fix board config file line length

2009-09-23 Thread Mingkai Hu
Signed-off-by: Mingkai Hu --- Changelog: According to Woflgang's comments, fixed the line length of the board config file. include/configs/MPC8536DS.h | 147 +++ 1 files changed, 79 insertions(+), 68 deletions(-) diff --git a/include/configs/MPC8536DS

[U-Boot] [PATCH v4 1/3] NAND boot: MPC8536DS support

2009-09-23 Thread Mingkai Hu
MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with t

[U-Boot] [PATCH v4 2/3] On-chip ROM boot: MPC8536DS support

2009-09-23 Thread Mingkai Hu
The MPC8536E is capable of booting from the on-chip ROM - boot from eSDHC and boot from eSPI. When power on, the porcessor excutes the ROM code to initialize the eSPI/eSDHC controller, and loads the mian U-Boot image from the memory device that interfaced to the controller, such as the SDCard or SP

[U-Boot] [PATCH v4 3/3] Add README.mpc8536ds

2009-09-23 Thread Mingkai Hu
Add boot from NAND/eSDHC/eSPI description Signed-off-by: Mingkai Hu --- No change over v3. doc/README.mpc8536ds | 127 ++ 1 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 doc/README.mpc8536ds diff --git a/doc/README.mpc853

Re: [U-Boot] [PATCH v2] ppc/85xx: PIO Support for FSL eSDHC Controller Driver

2009-09-23 Thread Dudhat Dipen-B09055
Hi Wolfgang, There are some IP specific requirements to get the transaction complete in PIO mode. Thanks Dipen -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Wednesday, September 23, 2009 12:12 AM To: Dudhat Dipen-B09055 Cc: u-boot@lists.denx.de Subject: Re: [U-Boo

Re: [U-Boot] Adding new U-Boot Command.

2009-09-23 Thread Tuma
Hi, Detlev! Okay, I want to add some not board specific command - just some new functional. So I should put it in "/common". Yes, I've studied the structure of cmv_-file, and here is my code: /* * (C) Copyright 2009 */ #include int PrintSe

[U-Boot] [PATCH v7 1/2] arm: A320: driver for FTRTC010 real time clock

2009-09-23 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/rtc/Makefile |1 + drivers/rtc/ftrtc010.c | 124 2 files changed, 125 insertions(+), 0 deletions(-) create mode 100644 drivers/rt

[U-Boot] [PATCH v7 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-09-23 Thread Po-Yu Chuang
This patch adds support for A320 evaluation board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- MAINTAINERS |

Re: [U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate

2009-09-23 Thread Joakim Tjernlund
> > Dear Joakim Tjernlund, > > In message <1253178437-32398-1-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > After issuing a STOP one must wait until the STOP has completed > > on the bus before doing something new to the controller. > > > > Also add an extra read of SR as the manu

Re: [U-Boot] [help] is there anything wrong with my previously sent A320 patches?

2009-09-23 Thread Po-Yu Chuang
Dear Wolfgang Denk, 2009/9/23 Wolfgang Denk : > Dear Po-Yu Chuang, > I cannot find these patches in my archive (even though I see the > archive entries). > > Please (rebase and) resend. Sorry for the inconvenience. Thanks for your reply. I have rebased and resubmitted new patches. [U-Boot] [PATC

Re: [U-Boot] [PATCH] vxworks: Make loading vxworks less verbose

2009-09-23 Thread Niklaus Giger
Please ignore this patch. Came in by mistake. Functionality already merged by commit 3c972849f2becbf19c13a24f090d293f37ecf616. Sorry for the noise. Best regards Niklaus ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/

Re: [U-Boot] [PATCH 1/1] SPARC: fixes exported function stub for standalone applications.

2009-09-23 Thread Daniel Hellstrom
Wolfgang Denk wrote: >Dear Daniel Hellstrom, > >In message <1253270387-15741-1-git-send-email-dan...@gaisler.com> you wrote: > > >>Hello Wolfgang, >> >>Please pull the u-boot-sparc.git master branch. >> >>This patch fixes the SPARC support for standalone u-boot applications. >>The problem was t

Re: [U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate

2009-09-23 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: >> Dear Joakim Tjernlund, >> >> In message <1253178437-32398-1-git-send-email-joakim.tjernl...@transmode.se> >> you wrote: >>> After issuing a STOP one must wait until the STOP has completed >>> on the bus before doing something new to the controller. >>> >>>

Re: [U-Boot] [PATCH] SPARC standalone app fix

2009-09-23 Thread Daniel Hellstrom
Hi Sergey, Can you resend your patch, this time signed off (the -s options to git-commit) so that your name will propagate correctly through the git repos. Thanks, Daniel Hellstrom Daniel Hellstrom wrote: >Hi Sergey, > >Thank you for your work. I have updated the sparc repository with your

Re: [U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate

2009-09-23 Thread Joakim Tjernlund
Heiko Schocher wrote on 23/09/2009 11:02:09: > > Hello Joakim, > > Joakim Tjernlund wrote: > >> Dear Joakim Tjernlund, > >> > >> In message <1253178437-32398-1-git-send-email- > joakim.tjernl...@transmode.se> you wrote: > >>> After issuing a STOP one must wait until the STOP has completed > >>> on

Re: [U-Boot] [PATCH 1/4 v3] s5pc1xx: support Samsung s5pc1xx SoC

2009-09-23 Thread Minkyu Kang
Dear Tom 2009/9/22 Tom : > Minkyu Kang wrote: >> This patch adds support for the Samsung s5pc100 and s5pc110 >> SoCs. The s5pc1xx SoC is an ARM Cortex A8 processor. >> >> Signed-off-by: Minkyu Kang >> Signed-off-by: HeungJun, Kim > > Ack-ed > Tom > ___

Re: [U-Boot] [PATCH 3/4 v3] s5pc1xx: support serial driver

2009-09-23 Thread Minkyu Kang
Dear Tom 2009/9/22 Tom : > Minkyu Kang wrote: >> This patch includes the serial driver for s5pc1xx >> >> Signed-off-by: Minkyu Kang > > Nak. > > This looks like the zoom2 serial driver. > In the case of zoom2, special handling is needed because the > serial is supplied by a detachable debug board

Re: [U-Boot] [PATCH 2/4 v3] s5pc1xx: support onenand driver

2009-09-23 Thread Minkyu Kang
Dear Tom. 2009/9/22 Tom : > Minkyu Kang wrote: >> This patch includes the onenand driver for s5pc100 >> >> Signed-off-by: Minkyu Kang >> Signed-off-by: Kyungmin Park >> --- >> Changes since v1: >> - move samsung_onenand.h to include/linux/mtd/ >> - make C struct instead of base+offset >> - Remov

Re: [U-Boot] [PATCH 4/4 v3] s5pc1xx: add support SMDKC100 board

2009-09-23 Thread Minkyu Kang
Dear Tom 2009/9/23 Tom : > Minkyu Kang wrote: >> Adds new board SMDKC100 that uses s5pc100 SoC >> >> Signed-off-by: Minkyu Kang >> Signed-off-by: HeungJun, Kim >> --- >> Changes since v1: >> - arrange env values for more readable >> - make C struct instead of base+offset >> - use MACH_TYPE_SMDKC

Re: [U-Boot] [U-boot] Marvell Pull Request

2009-09-23 Thread Tom
Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Tom [mailto:tom@windriver.com] >> Sent: Tuesday, September 22, 2009 6:50 PM >> To: Prafulla Wadaskar >> Cc: U-Boot; Paulraj, Sandeep; Minkyu Kang; Wolfgang Denk >> Subject: Re: [U-Boot] [U-boot] Marvell Pull Request >> >> P

Re: [U-Boot] [PATCH] vxworks: Make loading vxworks less verbose

2009-09-23 Thread Tom
Niklaus Giger wrote: > Newer vxWorks 6.x images have over 20 different C++ segments. > This fills up the output with rarely used information. > > Signed-off-by: Niklaus Giger > --- > common/cmd_elf.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_elf.c

Re: [U-Boot] [PATCH] vxworks: Make loading vxworks less verbose

2009-09-23 Thread Tom
Niklaus Giger wrote: > Please ignore this patch. Came in by mistake. Functionality already > merged by commit 3c972849f2becbf19c13a24f090d293f37ecf616. > > Sorry for the noise. > Please ignore my response too :) Tom > Best regards > > Niklaus > ___ >

Re: [U-Boot] [PATCH] vxworks: Add CONFIG_VXWORKS_PREBOOT

2009-09-23 Thread Tom
Niklaus Giger wrote: > The option CONFIG_VXWORKS_PREBOOT allows a board specific > vxworks_preboot to be run just before jumping into the > vxWorks images. This can be used to alter a register > which is used differently by U-boot and vxWorks. > > Signed-off-by: Niklaus Giger > --- > common/cmd_

Re: [U-Boot] [PATCH 1/4 v3] s5pc1xx: support Samsung s5pc1xx SoC

2009-09-23 Thread Tom
Minkyu Kang wrote: > Dear Tom > > 2009/9/22 Tom : >> Minkyu Kang wrote: >>> This patch adds support for the Samsung s5pc100 and s5pc110 >>> SoCs. The s5pc1xx SoC is an ARM Cortex A8 processor. >>> >>> Signed-off-by: Minkyu Kang >>> Signed-off-by: HeungJun, Kim >> Ack-ed >> Tom >> ___

[U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Joakim Tjernlund
NULL is an absolute value and should not be relocated. After this correction code like: void weak_fun(void) __attribute__((weak)); printf("weak_fun:%p\n", weak_fun); will still print null after relocation. Signed-off-by: Joakim Tjernlund --- I have only tested this on 83xx and on a somewhat ol

Re: [U-Boot] [PATCH 3/4 v3] s5pc1xx: support serial driver

2009-09-23 Thread Tom
Minkyu Kang wrote: > Dear Tom > > 2009/9/22 Tom : >> Minkyu Kang wrote: >>> This patch includes the serial driver for s5pc1xx >>> >>> Signed-off-by: Minkyu Kang >> Nak. >> >> This looks like the zoom2 serial driver. >> In the case of zoom2, special handling is needed because the >> serial is supp

Re: [U-Boot] [PATCH 4/4 v3] s5pc1xx: add support SMDKC100 board

2009-09-23 Thread Tom
Minkyu Kang wrote: > Dear Tom > > 2009/9/23 Tom : >> Minkyu Kang wrote: >>> Adds new board SMDKC100 that uses s5pc100 SoC >>> >>> Signed-off-by: Minkyu Kang >>> Signed-off-by: HeungJun, Kim >>> --- >>> +#ifndef CONFIG_ONENAND_IPL >>> + /* setting SRAM */ >>> + ldr r0, =S5PC100_SRO

Re: [U-Boot] Adding new U-Boot Command.

2009-09-23 Thread Tuma
Thank you, Detlev! I've successfully added new command to U-Boot. All fine. On Wednesday 23 September 2009 11:44:25 you wrote: > Hi, Detlev! > > Okay, I want to add some not board specific command - just some new > functional. So I should put it in "/common". > > Yes, I've studied the structure of

[U-Boot] Add Netconsole on DM365 board

2009-09-23 Thread alex889
Hi, does anyone of you use netconsole on TI's DM365? If I add #define CONFIG_NETCONSOLE 1 to the config file, I'm not able to compile u-boot any more, I get a lot of multiple definition of functions. do you have any hint? Thanks, Alex -- View this message in context: http://www.nabble.

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Peter Tyser
On Wed, 2009-09-23 at 13:51 +0200, Joakim Tjernlund wrote: > NULL is an absolute value and should not be relocated. > After this correction code like: > void weak_fun(void) __attribute__((weak)); > printf("weak_fun:%p\n", weak_fun); > will still print null after relocation. > > Signed-off-by: Jo

Re: [U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate

2009-09-23 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: > Heiko Schocher wrote on 23/09/2009 11:02:09: >> Hello Joakim, >> >> Joakim Tjernlund wrote: Dear Joakim Tjernlund, In message <1253178437-32398-1-git-send-email- >> joakim.tjernl...@transmode.se> you wrote: > After issuing a STOP one must

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Stefan Roese
On Wednesday 23 September 2009 13:51:46 Joakim Tjernlund wrote: > NULL is an absolute value and should not be relocated. > After this correction code like: > void weak_fun(void) __attribute__((weak)); > printf("weak_fun:%p\n", weak_fun); > will still print null after relocation. > > Signed-off-b

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Stefan Roese
On Wednesday 23 September 2009 14:17:51 Peter Tyser wrote: > On Wed, 2009-09-23 at 13:51 +0200, Joakim Tjernlund wrote: > > NULL is an absolute value and should not be relocated. > > After this correction code like: > > void weak_fun(void) __attribute__((weak)); > > printf("weak_fun:%p\n", weak_f

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Joakim Tjernlund
Stefan Roese wrote on 23/09/2009 14:24:34: > > On Wednesday 23 September 2009 13:51:46 Joakim Tjernlund wrote: > > NULL is an absolute value and should not be relocated. > > After this correction code like: > > void weak_fun(void) __attribute__((weak)); > > printf("weak_fun:%p\n", weak_fun); > >

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Joakim Tjernlund
Peter Tyser wrote on 23/09/2009 14:17:51: > > On Wed, 2009-09-23 at 13:51 +0200, Joakim Tjernlund wrote: > > NULL is an absolute value and should not be relocated. > > After this correction code like: > > void weak_fun(void) __attribute__((weak)); > > printf("weak_fun:%p\n", weak_fun); > > will

Re: [U-Boot] [PATCH 3/4 v3] s5pc1xx: support serial driver

2009-09-23 Thread Tom
Minkyu Kang wrote: > This patch includes the serial driver for s5pc1xx > > Signed-off-by: Minkyu Kang Add a better commit log. Explain why a special serial driver is needed instead of using the generic serial driver. > --- > Changes since v1: > - use serial multi API > - use writel/readl functi

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-23 Thread Wolfgang Denk
Dear Konrad Mattheis, In message you wrote: > > >I don't like that, and therefore tend to NAK the whole approach. > > I understand why you would like to NAK the approach, but this is not > only interesting for this type of ARM. And more and more ARM devices > allow direct boot from SD-Card,...

Re: [U-Boot] Adding new U-Boot Command.

2009-09-23 Thread Wolfgang Denk
Dear Tuma, In message <200909231144.25176.chernigovs...@spb.gs.ru> you wrote: > > Yes, I've studied the structure of cmv_-file, and here is my code: > > > > /* > * (C) Copyright 2009 > */ > > #include > > int PrintSerialNo (cmd_tbl_t *cmdtp

Re: [U-Boot] [PATCH] vxworks: Add CONFIG_VXWORKS_PREBOOT

2009-09-23 Thread Niklaus Giger
Am Mittwoch 23 September 2009 13:39:55 schrieb Tom: > Niklaus Giger wrote: > > The option CONFIG_VXWORKS_PREBOOT allows a board specific > > vxworks_preboot to be run just before jumping into the > > vxWorks images. This can be used to alter a register > > which is used differently by U-boot and vx

Re: [U-Boot] [PATCH] SPARC standalone app fix

2009-09-23 Thread Сергей Миронов
Hi Daniel. Here is result of command git format-patch -s  22c3885a59674d078dbd18e1e32702c4b27ec582^ -- Thanks, Sergey. From 22c3885a59674d078dbd18e1e32702c4b27ec582 Mon Sep 17 00:00:00 2001 From: Sergey Mironov Date: Wed, 16 Sep 2009 10:55:21 +0400 Subject: [PATCH] Fix bug in jumptable call stu

Re: [U-Boot] [PATCH] vxworks: Add CONFIG_VXWORKS_PREBOOT

2009-09-23 Thread Stefan Roese
Hi Niklas, On Wednesday 23 September 2009 08:22:38 Niklaus Giger wrote: > The option CONFIG_VXWORKS_PREBOOT allows a board specific > vxworks_preboot to be run just before jumping into the > vxWorks images. This can be used to alter a register > which is used differently by U-boot and vxWorks. >

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Peter Tyser
> > I made the same changes recently, but ran into an "issue" that prevented > > me from sending the change upstream. Some boards/arches have the bss at > > address 0 and later relocate it, unlike every other NULL pointer. If > > you don't fix up the bss address, the board will not function. I

Re: [U-Boot] [PATCH] vxworks: Add CONFIG_VXWORKS_PREBOOT

2009-09-23 Thread Tom
Niklaus Giger wrote: > Am Mittwoch 23 September 2009 13:39:55 schrieb Tom: >> Niklaus Giger wrote: >>> The option CONFIG_VXWORKS_PREBOOT allows a board specific >>> vxworks_preboot to be run just before jumping into the >>> vxWorks images. This can be used to alter a register >>> which is used diff

Re: [U-Boot] [PATCH] vxworks: Add CONFIG_VXWORKS_PREBOOT

2009-09-23 Thread Wolfgang Denk
Dear Niklaus Giger, In message <1253686958-30716-1-git-send-email-niklaus.gi...@netstal.com> you wrote: > The option CONFIG_VXWORKS_PREBOOT allows a board specific > vxworks_preboot to be run just before jumping into the > vxWorks images. This can be used to alter a register > which is used diffe

[U-Boot] [PATCH 0/3 v3] New MIIPHYBB implementation with multi-bus support

2009-09-23 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to support an arbitrary number of buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via bit-banging mod

[U-Boot] [PATCH 1/3 v3] Bit-banged MII driver with multi-bus support.

2009-09-23 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- drivers/net/phy/miiphybb.c | 324 +++- include/miiphy.h | 22 +++ 2 files changed, 250 insertions(+), 96 deletions(-) diff --git a/drivers/net/phy/miiphybb.c b/driver

[U-Boot] [PATCH 2/3 v3] Add bb_miiphy_init call before any ethernet bring-up code.

2009-09-23 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |3 +++ lib_avr32/board.c|3 +++ lib_blackfin/board.c |3 +++ lib_i386/board.c |3 +++ lib_m68k/board.c |3 +++ lib_mips/board.c |3 +++ lib_ppc/board.c |

[U-Boot] [PATCH 3/3 v3] Update all board to support new bbmiiphy driver (with multibus support)

2009-09-23 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |3 +++ include/configs/MPC8260ADS.h |2 ++ include/configs/MPC8266ADS.h |3 +++ include/configs/MPC8560ADS.h |3 +++ include/configs/Rattler.h|3 +++ include/configs/

Re: [U-Boot] I am maintainer of Freescale i.MX

2009-09-23 Thread Fred Fan
Hi Wolfgang Denk: I refer to using fanyef...@gmail.com Best Regards Fred 2009/9/23 Wolfgang Denk > Dear Fred, > > In message <2f495dc80909170830j7acdd1b0j4e4d27e60af06...@mail.gmail.com> > you wrote: > > > > I am u-boot maintainer of Freescale i.MX team. > > I have two mail acc

[U-Boot] [PATCH 1/1] Fix bug in jumptable call stubs for SPARC.

2009-09-23 Thread Daniel Hellstrom
From: Sergey Mironov Hello Wolfgang, Sergey has resent the patch with a sign-off and I have updated the u-boot-sparc.git repository with the new patch, for SPARC standalone application support. Thank you, Daniel Hellstrom Signed-off-by: Sergey Mironov Signed-off-by: Daniel Hellstrom ---

Re: [U-Boot] [PATCH-ARM 4/4] Clean-up of s3c24x0 nand driver

2009-09-23 Thread abdoulaye Walsimou Gaye
Wolfgang Denk a écrit : > Dear Scott Wood, > > In message <20090911222349.ga26...@b07421-ec1.am.freescale.net> you wrote: > >> On Mon, Sep 07, 2009 at 12:15:22AM +0100, >> kevin.morf...@fearnside-systems.co.uk wrote: >> >>> This patch re-formats the arm920t s3c24x0 nand driver in preparati

[U-Boot] Blackfin: UART on SPORT

2009-09-23 Thread Andreas Pretzsch
In Linux, there is support for a UART on a SPORT, see linux-2.6.x/drivers/serial/bfin_sport_uart.[ch]. It can also be used as console. In U-Boot, I cannot find similar code, therefore I'd like to ask if anybody ported/implemented this for U-Boot already ? If not, is there any objection not to p

Re: [U-Boot] [PATCH] ppc4xx: Make DDR2 timing for intip more robust

2009-09-23 Thread Stefan Roese
On Monday 21 September 2009 13:27:14 Dirk Eibach wrote: > DDR2 timing for intip was on the edge for some of the available chips > for this board. Now it is verfied to work with all of them. Applied to u-boot-ppc4xx. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Den

Re: [U-Boot] [PATCH] ppc4xx: Fix PCIE PLL lock on 440SPe Yucca board

2009-09-23 Thread Stefan Roese
On Monday 21 September 2009 20:26:19 Rupjyoti Sarmah wrote: > u-boot reports a PCIE PLL lock error at boot time on Yucca board, and > left PCIe nonfunctional. This is fixed by making u-boot function > ppc4xx_init_pcie() to wait 300 uS after negating reset before the > first check of the PLL lock.

Re: [U-Boot] [PATCH] ubifs: Add support for looking up directory and relative symlinks

2009-09-23 Thread Stefan Roese
On Tuesday 15 September 2009 09:53:29 Simon Kagstrom wrote: > ubifs: Add support for looking up directory and relative symlinks > > This patch adds support for resolving symlinks to directories as well as > relative symlinks. Symlinks are now always resolved during file lookup, > so the load stage

[U-Boot] [Patch v2] vxworks: Add CONFIG_VXWORKS_PREBOOT

2009-09-23 Thread Niklaus Giger
The option CONFIG_VXWORKS_PREBOOT allows a board specific vxworks_preboot to be run just before jumping into the vxWorks images. This can be used to alter a register which is used differently by U-boot and vxWorks. The patch defines a weak function which may be overridden by a board specific versi

[U-Boot] Please pull u-boot-ppc4xx

2009-09-23 Thread Stefan Roese
The following changes since commit 3b6a9267f0de7b85d387fa4123d0b58379363447: Wolfgang Denk (1): board/flagadm/flash.c: fix compile warning are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Dirk Eibach (1): ppc4xx: Make DDR2 timing for intip

[U-Boot] Please pull u-boot-ubi

2009-09-23 Thread Stefan Roese
The following changes since commit 3b6a9267f0de7b85d387fa4123d0b58379363447: Wolfgang Denk (1): board/flagadm/flash.c: fix compile warning are available in the git repository at: git://www.denx.de/git/u-boot-ubi.git master Simon Kagstrom (1): ubifs: Add support for looking up d

[U-Boot] AT91RM9200 deprecated Ethernet driver

2009-09-23 Thread Jens Scharsig
Hello, at current git all AT91RM9200 based boards have the "Ethernet driver is deprecated" warning. I have read anywhere, there are plans to join the AT91 and the 9200 driver. Is there someone work on this or will AT91RM9200 driver ported in soon. We wanted to publish a new board without the de

Re: [U-Boot] [PATCH 4/4 v3] s5pc1xx: add support SMDKC100 board

2009-09-23 Thread Minkyu Kang
Dear Tom 2009/9/23 Tom : > Minkyu Kang wrote: >> >> Dear Tom >> >> 2009/9/23 Tom : >>> >>> Minkyu Kang wrote: Adds new board SMDKC100 that uses s5pc100 SoC Signed-off-by: Minkyu Kang Signed-off-by: HeungJun, Kim --- > > > +#ifndef CONFIG_ONENAND_IPL +    

Re: [U-Boot] tftp packet failure counter reset

2009-09-23 Thread Jeffery Palmer
Patch is attached > Date: Tue, 22 Sep 2009 16:32:37 -0700 > From: biggerbadder...@gmail.com > To: jefferypal...@hotmail.com > CC: u-boot@lists.denx.de > Subject: Re: [U-Boot] tftp packet failure counter reset > > Jeffery Palmer wrote: > > I do large transfers via tftp, and since the timeout coun

[U-Boot] [PATCH v2] TI: OMAP3: Overo Tobi ethernet support

2009-09-23 Thread Olof Johansson
Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded over tftp. Based on the omap3 evm code. I added a new highlevel define for Tobi to avoid having it dependent on CMD_NET (which would seem backward in this case). Signed-off-by: Olof Johansson --- This version of the patch fixe

[U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump

2009-09-23 Thread Niklaus Giger
Adds a HCU5 board specific cmd reghcu5 to dump about 140 internal register which define the HW configuration. Needed for documentation purposes and to compare different settings. Signed-off-by: Niklaus Giger --- board/netstal/hcu5/Makefile |2 +- board/netstal/hcu5/cmd_reghcu5.c | 283

[U-Boot] [PATCH] ppc4xx: Update Netstal configs

2009-09-23 Thread Niklaus Giger
- CONFIG_SYS_BOOTMAPSZ for 16 instead of 8 MB, moved to common - baudrate back to 9600 for backward compatibility - HCU4: CONFIG_SYS_ICACHE_SACR_VALUE defined - CONFIG_VXWORKS_PREBOOT for HCU4 and MCU25 - HCU5: Add CPU and OCM POST Signed-off-by: Niklaus Giger --- include/configs/hcu4.h

[U-Boot] [PATCH] ppc4xx: Netstal boards: various cleanups

2009-09-23 Thread Niklaus Giger
Various cleanups for our boards: - vxworks_preboot to get clock input right for HCU4/MCU25 - reboot if SW-install-input is activated - clear vxWorks exception msg - HCU5: various HW-registers updated - HCU5: 2nd Ethernet = SMII, Ethernet PLL Config. = recommended values - HCU5: PATCH HAB: WRITE PI

Re: [U-Boot] Blackfin: UART on SPORT

2009-09-23 Thread Mike Frysinger
On Wednesday 23 September 2009 09:41:26 Andreas Pretzsch wrote: > In Linux, there is support for a UART on a SPORT, see > linux-2.6.x/drivers/serial/bfin_sport_uart.[ch]. > It can also be used as console. > > In U-Boot, I cannot find similar code, therefore I'd like to ask if > anybody ported/impl

Re: [U-Boot] [PATCH v2] env: only build env_embedded and envcrc when needed

2009-09-23 Thread Mike Frysinger
On Tuesday 22 September 2009 16:43:14 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > > i saw it as "custom embedding of the environment". the only thing it > > > > does is enable the envcrc binary. i thought of using > > > > "CONFIG_ENVCRC", but it seemed a little too short. > > > > > > CONFI

Re: [U-Boot] tftp packet failure counter reset

2009-09-23 Thread Mike Frysinger
On Wednesday 23 September 2009 10:23:38 Jeffery Palmer wrote: > From: biggerbadder...@gmail.com > > Jeffery Palmer wrote: > > > I do large transfers via tftp, and since the timeout counter never > > > resets, they often fail since the failures are counted throughout the > > > entire transfer. By re

Re: [U-Boot] [PATCH 2/2 v2] Blackfin: tweak embedded env config option

2009-09-23 Thread Mike Frysinger
On Tuesday 22 September 2009 16:41:45 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > ... > > > > > > > $(obj)u-boot.ldr: $(obj)u-boot > > > > - $(obj)tools/envcrc --binary > $(obj)env-ldr.o > > > > + $(CREATE_LDR_ENV) > > > > $(LDR) -T $(CONFIG_

Re: [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump

2009-09-23 Thread Peter Tyser
Hi Niklaus, > +enum REGISTER_TYPE { > + DCR,/* Directly Accessed DCR's */ > + IDCR1, /* Indirectly Accessed DCR to SDRAM0_CFGADDR > and SDRAM0_CFGDATA */ > + IDCR2, /* Indirectly Accessed DCR to EBC0_CFGADDR and > EBC0_CFGDATA */

Re: [U-Boot] [PATCH 2/7] ppc/p4080: Add support for CoreNet style platform LAWs

2009-09-23 Thread Kumar Gala
On Sep 22, 2009, at 3:05 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1253307595-28655-3-git-send-email-ga...@kernel.crashing.org > > you wrote: >> On CoreNet based platforms the LAW address is split between an high & >> low register and we no longer shift the address. Also, the

Re: [U-Boot] mpc85xx: Put SDHC clock-frequency in device tree

2009-09-23 Thread Kumar Gala
On Sep 23, 2009, at 12:12 AM, Gao Guanhua wrote: > The clock-frequency of SD controller comes from different source on > different platform. We add a clock-frequency property in dts file > and set the value in u-boot. > --- > cpu/mpc85xx/fdt.c |6 ++ > 1 files changed, 6 insertions(+), 0 d

Re: [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump

2009-09-23 Thread Stefan Roese
Hi Niklaus, On Wednesday 23 September 2009 17:22:47 Niklaus Giger wrote: > Adds a HCU5 board specific cmd reghcu5 to dump about 140 internal > register which define the HW configuration. Needed for documentation > purposes and to compare different settings. Apart from Peter's comments, I also hav

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Joakim Tjernlund
Peter Tyser wrote on 23/09/2009 14:57:19: > > > > > I made the same changes recently, but ran into an "issue" that prevented > > > me from sending the change upstream. Some boards/arches have the bss at > > > address 0 and later relocate it, unlike every other NULL pointer. If > > > you don't fi

Re: [U-Boot] [PATCH] ppc4xx: Netstal boards: various cleanups

2009-09-23 Thread Stefan Roese
Hi Niklaus, On Wednesday 23 September 2009 17:22:49 Niklaus Giger wrote: > Various cleanups for our boards: > - vxworks_preboot to get clock input right for HCU4/MCU25 > - reboot if SW-install-input is activated > - clear vxWorks exception msg > - HCU5: various HW-registers updated > - HCU5: 2nd E

Re: [U-Boot] [PATCH 4/7] ppc/p4080: CoreNet platfrom style secondary core release

2009-09-23 Thread Kumar Gala
On Sep 22, 2009, at 3:07 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1253307595-28655-5-git-send-email-ga...@kernel.crashing.org > > you wrote: >> The CoreNet platform style of bringing secondary cores out of reset >> is >> a bit different that the PQ3 style. Mostly the regist

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-23 Thread Scott Wood
On Tue, Sep 22, 2009 at 08:57:33PM +0200, Wolfgang Denk wrote: > I'm biased. I understand that you do this because you need it for the > next patch, which reads the environment from MMC card. But then MMC is > just one out of many storage devices, and with the same right we would > have to move the

Re: [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump

2009-09-23 Thread Niklaus Giger
Am Mittwoch 23 September 2009 18:49:34 schrieb Stefan Roese: > Hi Niklaus, > > On Wednesday 23 September 2009 17:22:47 Niklaus Giger wrote: > > Adds a HCU5 board specific cmd reghcu5 to dump about 140 internal > > register which define the HW configuration. Needed for documentation > > purposes an

Re: [U-Boot] U-Boot praise

2009-09-23 Thread Ben Warren
Jeff Palmer wrote: > Thank you for your work on the defragmenting udp packets and tftp > block size updates. They are working well. > > It took us a little time to compile/test/update everything to the > newer version of u-boot but I'm glad we did and the large tftp > tranfers to africa are ru

Re: [U-Boot] [PATCH-ARM 4/4] Clean-up of s3c24x0 nand driver

2009-09-23 Thread Scott Wood
On Tue, Sep 22, 2009 at 09:43:12PM +0200, Wolfgang Denk wrote: > Dear Scott Wood, > > In message <20090911222349.ga26...@b07421-ec1.am.freescale.net> you wrote: > > On Mon, Sep 07, 2009 at 12:15:22AM +0100, > > kevin.morf...@fearnside-systems.co.uk wrote: > > > This patch re-formats the arm920t s

Re: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

2009-09-23 Thread Wolfgang Denk
Dear Peter Tyser, In message <1253710639.3968.19.ca...@ptyser-laptop> you wrote: > > My "fix" to the linker script was to change: > __bss_start = .; > into: > __bss_start = . | 4; > > ie, a big hack, but it did work:) I'll take a peek at a more proper > link script workaround. 32 bit alignment

Re: [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump

2009-09-23 Thread Wolfgang Denk
Dear Niklaus Giger, In message <1253719369-26565-1-git-send-email-niklaus.gi...@netstal.com> you wrote: > Adds a HCU5 board specific cmd reghcu5 to dump about 140 internal > register which define the HW configuration. Needed for documentation > purposes and to compare different settings. > > Sig

Re: [U-Boot] [PATCH v2] TI: OMAP3: Overo Tobi ethernet support

2009-09-23 Thread Tom
Olof Johansson wrote: > Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded > over tftp. > > Based on the omap3 evm code. I added a new highlevel define for Tobi > to avoid having it dependent on CMD_NET (which would seem backward in > this case). > > Signed-off-by: Olof Johansso

Re: [U-Boot] [PATCH v2] TI: OMAP3: Overo Tobi ethernet support

2009-09-23 Thread Olof Johansson
On Sep 23, 2009, at 1:39 PM, Tom wrote: > Olof Johansson wrote: >> Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded >> over tftp. >> Based on the omap3 evm code. I added a new highlevel define for Tobi >> to avoid having it dependent on CMD_NET (which would seem backward in >>

[U-Boot] [PATCH v5 3/7] ppc/p4080: CoreNet platfrom style CCSRBAR setting

2009-09-23 Thread Kumar Gala
On CoreNet based platforms the CCSRBAR address is split between an high & low register and we no longer shift the address. Signed-off-by: Kumar Gala Signed-off-by: Scott Wood --- * Added setup_ccsrbar helper to deal with PQ3 vs CoreNet diffs cpu/mpc85xx/cpu_init_early.c | 72

[U-Boot] [PATCH v5 1/7] ppc/p4080: Add p4080 platform immap definitions

2009-09-23 Thread Kumar Gala
The p4080 SoC has a significant amount of commonality with the 85xx/PQ3 platform. We reuse the 85xx immap and just add new definitions for local access and global utils. The global utils is now broken into global utils, clocking and run control/power management. The offsets from CCSR for a numbe

[U-Boot] [PATCH v5 2/7] ppc/p4080: Add support for CoreNet style platform LAWs

2009-09-23 Thread Kumar Gala
On CoreNet based platforms the LAW address is split between an high & low register and we no longer shift the address. Also, the target IDs on CoreNet platforms have been completely re-assigned. Additionally, added a new find_law() API to which LAW an address hits in. This is need for the CoreNet

[U-Boot] [PATCH v5 4/7] ppc/p4080: CoreNet platfrom style secondary core release

2009-09-23 Thread Kumar Gala
The CoreNet platform style of bringing secondary cores out of reset is a bit different that the PQ3 style. Mostly the registers that we use to setup boot translation, enable time bases, and boot release the cores have moved around. Signed-off-by: Kumar Gala --- * Renamed pq3_mp_up to plat_mp_up

[U-Boot] [PATCH v5 5/7] ppc/p4080: Add various p4080 related defines (and p4040)

2009-09-23 Thread Kumar Gala
There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added p4080 & p4040 to cpu_type_list and SVR list * Added number of LAWs for p4080 * Set CONFIG_MAX_CPUS to 8 for p4080 Signed-off-by: Kumar Gala --- cpu/mpc85xx/Makefile|1 + cpu/m

[U-Boot] [PATCH v5 6/7] ppc/p4080: Handle timebase enabling and frequency reporting

2009-09-23 Thread Kumar Gala
On CoreNet style platforms the timebase frequency is the bus frequency defined by 16 (on PQ3 it is divide by 8). Also on the CoreNet platforms the core not longer controls the enabling of the timebase. We now need to enable the boot core's timebase via CCSR register writes. Signed-off-by: Kumar

[U-Boot] [PATCH v5 7/7] ppc/p4080: Determine various chip frequencies on CoreNet platforms

2009-09-23 Thread Kumar Gala
The means to determine the core, bus, and DDR frequencies are completely new on CoreNet style platforms. Additionally on p4080 we can have different frequencies for FMAN and PME IP blocks. We need to keep track of the FMAN & PME frequencies since they are used for time stamping capabilities insid

Re: [U-Boot] [PATCH] ppc4xx: Update Netstal configs

2009-09-23 Thread Wolfgang Denk
Dear Niklaus Giger, In message <1253719369-26565-2-git-send-email-niklaus.gi...@netstal.com> you wrote: > - CONFIG_SYS_BOOTMAPSZ for 16 instead of 8 MB, moved to common > - baudrate back to 9600 for backward compatibility > - HCU4: CONFIG_SYS_ICACHE_SACR_VALUE defined > - CONFIG_VXWORKS_PREBOOT f

Re: [U-Boot] [PATCH] ppc4xx: Netstal boards: various cleanups

2009-09-23 Thread Wolfgang Denk
Dear Niklaus Giger, In message <1253719369-26565-3-git-send-email-niklaus.gi...@netstal.com> you wrote: > Various cleanups for our boards: > - vxworks_preboot to get clock input right for HCU4/MCU25 > - reboot if SW-install-input is activated > - clear vxWorks exception msg > - HCU5: various HW-r

Re: [U-Boot] [PATCH v2] TI: OMAP3: Overo Tobi ethernet support

2009-09-23 Thread Wolfgang Denk
Dear Olof Johansson, In message <1d0f4997-6af4-4bc3-94c3-0817551db...@lixom.net> you wrote: ... > > Use the omap gpio interface described in README.omap3 > > Seriously, this code is a 1:1 replica from the evm code. Obviously > that code was good enough to merge. Isn't this godd? It means that

Re: [U-Boot] [PATCH 6/6] ARM:OMAP3:SDP3430: initial support

2009-09-23 Thread Wolfgang Denk
Dear Nishanth Menon, In message <1253326918-1670-7-git-send-email...@ti.com> you wrote: > --===1247028818== > > From: David Brownell > > Start of SDP3430 support in "mainline" > u-boot mainline code > > Original Patch written by David Brownell Um... this seems redundant informatio

Re: [U-Boot] [PATCH 1/6] OMAP3: Fix SDRC init

2009-09-23 Thread Wolfgang Denk
Dear Nishanth Menon, In message <1253326918-1670-2-git-send-email...@ti.com> you wrote: > Defaults are for infenion DDR timings. Typo: Infineon. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-821

Re: [U-Boot] [PATCH 5/6] DLMALLOC:!X86: add av_ initialization

2009-09-23 Thread Wolfgang Denk
Dear Nishanth Menon, In message <4ab4fad6.20...@gmail.com> you wrote: > > This patch is need for booting SDP3430 from NOR flash. There must be some problem elsewhere. It's extremely unlikely that just a single board has this problem; it's much more likely that there is a bug in the board

Re: [U-Boot] [PATCH 3/8] sbc8548: enable access to second bank of flash

2009-09-23 Thread Wolfgang Denk
Dear Paul Gortmaker, In message <918ca661b391ce156f39e6c8a086ea93d845caea.1253315004.git.paul.gortma...@windriver.com> you wrote: > The sbc8548 has a 64MB SODIMM flash module off of CS6 that > previously wasn't enumerated by u-boot. There were already > BR6/OR6 settings for it [used by cpu_init

  1   2   >