[U-Boot] RFC - How to speed up multiplexed input between serial and network?

2008-10-29 Thread Bigler, Stefan
Hi We are trying to use U-Boot that it can be remote controlled over netconsole and in locally over the serial terminal. We were quite successful but we saw some latency issues on the serial terminal. The polling of the serial driver is too slow to get all characters. This does not allow you to

Re: [U-Boot] [patch 0/2] Some more USB-OHCI bugfixes [V2]

2008-10-29 Thread Markus Klotzbücher
On Wed, Oct 29, 2008 at 12:07:38AM +0100, Wolfgang Denk wrote: Dear Markus, In message [EMAIL PROTECTED] you wrote: Both patches passed my usual sequoia regression test, so I added both to the USB custodian repository. If nobody reports any regressions I intend to send Wolfgang a

Re: [U-Boot] [PATCH][Re-Submit-again2] Custom AFEB9260 board support

2008-10-29 Thread Sergey Lapin
On Sun, Oct 26, 2008 at 10:26:32PM +0300, Sergey Lapin wrote: This patch provides support for AFEB9260 board, a product of OpenSource hardware and software. Some commertial projects are made with this design. A board is basically AT91SAM9260-EK with some modifications and different peripherals

Re: [U-Boot] U-Boot 1.3.1 booting problem

2008-10-29 Thread Martin Hejnfelt
Jerry Van Baren wrote: pugazh mahalingam wrote: Hi, I'm porting u-boot-1.3.1. on a MPC8548PC processor and I'm using the start.S file of u-boot-1.1.4. But I encounter booting problems.. The processor cannot bootup .. its going to hang state .. I used start.S of u-boot-1.1.4 since it

Re: [U-Boot] RFC - How to speed up multiplexed input between serial andnetwork?

2008-10-29 Thread Bigler, Stefan
Hi Here is patch for the driver for MPC8xx (SMC). If the idea is accepted the then the driver for MPC82xx will be enhanced as well. Best regards, Stefan Bigler diff --git a/cpu/mpc8xx/serial.c b/cpu/mpc8xx/serial.c index ad02299..20440cd 100644 --- a/cpu/mpc8xx/serial.c +++

[U-Boot] [PATCH] r8a66597-hcd: fix cannot use external hub

2008-10-29 Thread Yoshihiro Shimoda
Fix the problem that cannot use external hub, because this driver did not control correctly a DEVADDx register. Signed-off-by: Yoshihiro Shimoda [EMAIL PROTECTED] --- drivers/usb/r8a66597-hcd.c | 36 +++- 1 files changed, 31 insertions(+), 5 deletions(-) diff

Re: [U-Boot] [PATCH v2] pci/fsl_pci_init: Enable inbound PCI config cycles

2008-10-29 Thread Kumar Gala
On Oct 28, 2008, at 11:03 PM, Peter Tyser wrote: Hi Kumar, On Oct 28, 2008, at 7:24 PM, Peter Tyser wrote: Set CFG_READY bit in Configuration Ready register for PCIe interfaces and clear ACL bit in PBFR register for PCI interfaces to allow devices to respond to incoming PCI configuration

[U-Boot] [PATCH] fsl ddr skip interleaving if not supported.

2008-10-29 Thread Ed Swarthout
Removed while(1) hang if memctl_intlv_ctl is set wrong. Remove embedded tabs from strings. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- cpu/mpc8xxx/ddr/main.c|9 +++-- cpu/mpc8xxx/ddr/options.c | 20 ++-- 2 files changed, 17 insertions(+), 12 deletions(-)

Re: [U-Boot] [PATCH v2] pci/fsl_pci_init: Enable inbound PCI config cycles

2008-10-29 Thread Peter Tyser
Shouldn't we only be doing this for an agent? Also is the right place to enable it? Just wondering if board code should have more flexibility here. I was under the impression that if a PCIe interface was configured as root complex its CFG_READY bit would still need to be set

Re: [U-Boot] Can't connect to PHY, BCM5461

2008-10-29 Thread Jerry Van Baren
Simon Boman wrote: Hi! I have a modified MPC8360 platform with a PHY named BCM5461 and UEC as Ethernet Controller. I started with the MPC8360EMDS card from U-boot and then modified it so that it match the card (what I know). I am using the git-version of U-boot from October, 20, 2008. The

Re: [U-Boot] [PATCH v2] pci/fsl_pci_init: Enable inbound PCI config cycles

2008-10-29 Thread Kumar Gala
On Oct 29, 2008, at 10:05 AM, Peter Tyser wrote: Shouldn't we only be doing this for an agent? Also is the right place to enable it? Just wondering if board code should have more flexibility here. I was under the impression that if a PCIe interface was configured as root complex its

Re: [U-Boot] Can't connect to PHY, BCM5461

2008-10-29 Thread Jerry Van Baren
Simon Boman wrote: I added this code to the uec.c file: int i; for(i=0;i20;i++) printf(PHY value %d is %x\n, i, phy_read(uec-mii_info, i)); and got this to the prompt.. PHY value 0 is 0 PHY value 1 is 0 PHY value 2 is 0 PHY value 3 is 0 PHY value 4 is 0 PHY

[U-Boot] [PATCH 2/2 v2] 85xx: Enable inbound PCI config cycles for X-ES boards

2008-10-29 Thread Peter Tyser
Update X-ES Freescale boards to allow inbound PCI configuration cycles when configured as agent/endpoint. Signed-off-by: Peter Tyser [EMAIL PROTECTED] --- This patch relies on the following patches being applied first: - XPedite5370 board support - 85xx: Support for XPedite5200

[U-Boot] [PATCH 1/2 v2] pci/fsl_pci_init: Enable inbound PCI config cycles

2008-10-29 Thread Peter Tyser
Add fsl_pci_config_unlock() function to enable a PCI/PCIe interface configured in agent/endpoint mode to respond to inbound PCI configuration cycles. Signed-off-by: Peter Tyser [EMAIL PROTECTED] --- Changes since v1: - Made unlocking dependent on interface being agent/endpoint - Moved new code to

Re: [U-Boot] [PATCH] [ARM] Apollon UBI support v3

2008-10-29 Thread Magnus Lilja
Dear Kyungmin Park, 2008/10/28 Kyungmin Park [EMAIL PROTECTED]: Now you can use the UBI at apollon board Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/board/apollon/Makefile b/board/apollon/Makefile index 9bac9a6..4c3e57f 100644 --- a/board/apollon/Makefile +++

[U-Boot] [PATCH 2/4] NAND: Add support for MPC8572DS board

2008-10-29 Thread Scott Wood
From: Haiying Wang [EMAIL PROTECTED] This patch defines 1M TLBLAW size for NAND on MPC8572DS, assigns 0xffa0 for CONFIG_SYS_NAND_BASE and adds other NAND supports in config file. It also moves environment(CONFIG_ENV_ADDR) outside of u-boot image, to make room for the increased code size with

[U-Boot] [PATCH 1/4] Make Freescale local bus registers available for both 83xx and 85xx.

2008-10-29 Thread Scott Wood
From: Haiying Wang [EMAIL PROTECTED] - Rename lbus83xx_t to fsl_lbus_t and move it to asm/fsl_lbc.h so that it can be shared by both 83xx and 85xx - Remove lbus83xx_t and replace it with fsl_lbus_t in all 83xx boards files which use lbus83xx_t. - Move FMR, FIR, FCR, FPAR, LTESR from mpc83xx.h

[U-Boot] [PATCH 4/4] NAND: Properly create JFFS2 cleanmarkers.

2008-10-29 Thread Scott Wood
As reported by Ilko Iliev [EMAIL PROTECTED], the nand erase clean command is currently broken, and among other things causes all blocks to be marked bad. This implements it properly using MTD_OOB_AUTO, along with some indentation fixes. Signed-off-by: Scott Wood [EMAIL PROTECTED] ---

[U-Boot] [PATCH] ADS5121 NAND driver

2008-10-29 Thread John Rigby
ADS5121 rev4 / MPC5121e rev2 only Only tested with: 2K page size 8 bit device width This controller treats 2K pages as 4 512 byte pages and the hw ecc is over the combined 512 byte main area and the first 7 bytes of the spare area. The hw ecc is stored in the last 9 bytes of the spare

Re: [U-Boot] [PATCH v2] ADS5121 NAND driver

2008-10-29 Thread Scott Wood
John Rigby wrote: ADS5121 rev4 / MPC5121e rev2 only What is unique about that revision that it cannot share a driver? It certainly shouldn't be board-specific... This controller treats 2K pages as 4 512 byte pages and the hw ecc is over the combined 512 byte main area and the first 7 bytes

[U-Boot] Pull request: nand flash

2008-10-29 Thread Scott Wood
The following changes since commit b1d0db1805c3395149777e507b6da53410abac4e: Kumar Gala (1): bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS} are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git master Haiying Wang (2): Make Freescale local bus

Re: [U-Boot] [PATCH] ADS5121 NAND driver

2008-10-29 Thread Wolfgang Denk
Dear John Rigby, In message [EMAIL PROTECTED] you wrote: ADS5121 rev4 / MPC5121e rev2 only Only tested with: 2K page size 8 bit device width This controller treats 2K pages as 4 512 byte pages and the hw ecc is over the combined 512 byte main area and the first 7 bytes of the

Re: [U-Boot] [PATCH] ADS5121 NAND driver

2008-10-29 Thread John Rigby
Wolfgang Denk wrote: Dear John Rigby, In message [EMAIL PROTECTED] you wrote: ADS5121 rev4 / MPC5121e rev2 only Only tested with: 2K page size 8 bit device width This controller treats 2K pages as 4 512 byte pages and the hw ecc is over the combined 512 byte main area and

Re: [U-Boot] [PATCH v2] ADS5121 NAND driver

2008-10-29 Thread John Rigby
Scott, thanks for your feedback. I can easily fix most of the issues. The one question I have is if this can go in only supporting 5121 rev2. If I need to add rev1 support it will take more time than I have right now. Thanks John Scott Wood wrote: John Rigby wrote: ADS5121 rev4

[U-Boot] [PATCH] libfdt: Fix bug in fdt_subnode_offset_namelen()

2008-10-29 Thread Kumar Gala
From: David Gibson [EMAIL PROTECTED] There's currently an off-by-one bug in fdt_subnode_offset_namelen() which causes it to keep searching after it's finished the subnodes of the given parent, and into the subnodes of siblings of the original node which come after it in the tree. Signed-off-by:

[U-Boot] [PATCH 1/2] Moved IXP4XX_NPE driver to drivers/net

2008-10-29 Thread Ben Warren
Signed-off-by: Ben Warren [EMAIL PROTECTED] --- Makefile |3 ++- {cpu/ixp/npe = drivers/net/ixp4xx_npe}/IxEthAcc.c |0 .../net/ixp4xx_npe}/IxEthAccCommon.c |0 .../net/ixp4xx_npe}/IxEthAccControlInterface.c |0

[U-Boot] [PATCH 2/2] Moved initialization of IXP4XX_NPE Ethernet controller to cpu_eth_init()

2008-10-29 Thread Ben Warren
From: Ben Warren [EMAIL PROTECTED](none) Also, removed the driver initialization from net/eth.c Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/ixp/cpu.c|9 + include/netdev.h |1 + net/eth.c|4 3 files changed, 10 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH] net: Move initialization of Au1x00 SoC ethernet MAC to cpu_eth_init

2008-10-29 Thread Ben Warren
From: Shinya Kuribayashi [EMAIL PROTECTED] This patch will move au1x00_eth_initialize from net/eth.c to cpu_eth_init as a part of ongoing eth_initialize cleanup work. The function ret value is also fixed as it should be negative on fail. Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED]

[U-Boot] [PATCH] Remove last reference to CONFIG_MPC85xx_FEC

2008-10-29 Thread Ben Warren
This is no longer used by any boards, the last one was removed in commit 6de5bf24004c8d9c9b070bb8f7418d1c45e5eb27. Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/mpc85xx/cpu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c

[U-Boot] [PATCH] Moved initialization of FCC Ethernet controller to cpu_eth_init

2008-10-29 Thread Ben Warren
Affected boards: Several MPC8xx boards Several MPC8260/MPC8272 boards Several MPC85xx boards Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/mpc8260/cpu.c | 13 + cpu/mpc85xx/cpu.c |5 - cpu/mpc8xx/cpu.c

[U-Boot] [PATCH] Moved initialization of QE Ethernet controller to cpu_eth_init()

2008-10-29 Thread Ben Warren
Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/mpc83xx/cpu.c | 20 +++- cpu/mpc85xx/cpu.c | 18 ++ include/netdev.h |1 + net/eth.c | 19 --- 4 files changed, 38

[U-Boot] [PATCH] Moved initialization of MPC8220 FEC to cpu_eth_init()

2008-10-29 Thread Ben Warren
Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren [EMAIL PROTECTED] --- board/sorcery/sorcery.c |2 ++ cpu/mpc8220/cpu.c | 13 + include/netdev.h|1 + net/eth.c |4 4 files changed, 16 insertions(+), 4

[U-Boot] [PATCH] Moved initialization of MPC8XX SCC to cpu_eth_init()

2008-10-29 Thread Ben Warren
Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/mpc8xx/cpu.c |4 include/netdev.h |1 + net/eth.c|4 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index

[U-Boot] [PATCH 1/3] Changed PPC4xx EMAC driver to require CONFIG_PPC4xx_EMAC

2008-10-29 Thread Ben Warren
All in-tree IBM/AMCC PPC4xx boards using the EMAC get this new CONFIG Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/ppc4xx/4xx_enet.c|9 - cpu/ppc4xx/Makefile |1 + include/configs/AR405.h |1 + include/configs/ASH405.h |1 +

[U-Boot] [PATCH 2/3] Moved PPC4xx EMAC driver to drivers/net

2008-10-29 Thread Ben Warren
Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/ppc4xx/Makefile|1 - {cpu/ppc4xx = drivers/net}/4xx_enet.c |0 drivers/net/Makefile |1 + 3 files changed, 1 insertions(+), 1 deletions(-) rename {cpu/ppc4xx = drivers/net}/4xx_enet.c (100%)

[U-Boot] [PATCH 3/3] Moved initialization of PPC4xx EMAC to cpu_eth_init()

2008-10-29 Thread Ben Warren
Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/ppc4xx/cpu.c | 14 ++ include/netdev.h |1 + net/eth.c|4 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c