[U-Boot] [PATCH] mpc83xx: Fix the wrong comment.

2008-10-13 Thread Selvamuthukumar
--- cpu/mpc83xx/cpu.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c index 63aa8a4..697482c 100644 --- a/cpu/mpc83xx/cpu.c +++ b/cpu/mpc83xx/cpu.c @@ -124,8 +124,8 @@ int checkcpu(void) * The 'dummy' variable is used to increment

[U-Boot] [PATCH] ARM926EJ-S: relocate OMAP specific 'cpuinfo.c' into OMAP directory

2008-10-13 Thread Roman Mashak
OMAP identification is implemented in 'cpuinfo.c' and located in ARM926EJ-S directory. It makes sense to place this file in OMAP specific subdirectory, i.e. cpu/arm926ejs/omap Signed-off-by: Roman Mashak <[EMAIL PROTECTED]> --- cpu/arm926ejs/Makefile |2 +- cpu/arm926ejs/cpuinfo.c |

[U-Boot] Pull request - net

2008-10-13 Thread Ben Warren
Wolfgang, The following changes since commit b3ed233198c5ac54aa83dd51f05fcb44ee75f42b: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash are available in the git repository at: git://git.denx.de/u-boot-net master Andre Schwarz (1): enable 10/100M a

Re: [U-Boot] [PATCH v3] [83xx] Adds two more ethernet interface to 83xx

2008-10-13 Thread Ben Warren
richardretanubun wrote: > Fixed compiler warning "declared but unused" eth5_uec_info and > eth6_uec_info. > Signed-off-by: Richard Retanubun <[EMAIL PROTECTED]> > --- > Hi Ben, > > Thanks for applying the patch. I got a compiler warning when using it, > here is a patch to fix that. > > Thanks for

Re: [U-Boot] [U-boot] [PATCHv2 1/2] NET: QE: UEC: Make uec_miiphy_read() and uec_miiphy_write() use the devname arg.

2008-10-13 Thread Ben Warren
richardretanubun wrote: > richardretanubun wrote: > >> The current uec_miiphy_read and uec_miiphy_write hardcode access >> devlist[0] >> This patch makes these function use the devname argument that is >> passed in to >> allow access to the phy registers of other devices in devlist[]. >> >> Signe

[U-Boot] Pull request: u-boot-sh

2008-10-13 Thread Nobuhiro Iwamatsu
Dear Wolfgang, Please pull u-boot-sh. Best regards, Nobuhiro The following changes since commit b3ed233198c5ac54aa83dd51f05fcb44ee75f42b: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash are available in the git repository at: git://git.denx.de/u-boot

Re: [U-Boot] [PATCH RFC] mpc8572ds relocatable

2008-10-13 Thread Swarthout Edward L
From: Joakim Tjernlund [mailto:[EMAIL PROTECTED] > > The __eabi_uconvert() function skips NULL ptrs. > > Perhaps this is the missing piece needed in start.S for PPC? I'm not seeing any zeros in the .got2 or .fixup entries in the .reloc section on 85xx when compiling with -mrelocatable. So I d

Re: [U-Boot] [PATCH RFC] mpc8572ds relocatable

2008-10-13 Thread Swarthout Edward L
From: Wolfgang Denk [mailto:[EMAIL PROTECTED] > > NAK. > > Sorry, this doesn't work. We cannot have one board compile > this way, and another one another way - one working with that > tool chain and the other with another tool chain only. Is there a list of the toolchains that -mrelocatable

[U-Boot] [PATCH] sh: rsk7203: Add smc911x driver support to board config file

2008-10-13 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> --- include/configs/rsk7203.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h index d99e4f3..1f20e57 100644 --- a/include/configs/rsk7203.h +++ b/include/configs/

Re: [U-Boot] [PATCH 4/4] Do not init SATA when disabled on 8536DS.

2008-10-13 Thread Andy Fleming
On Mon, Oct 13, 2008 at 8:49 PM, Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Oct 9, 2008, at 10:41 PM, Jason Jin wrote: > >> SGMII and SATA share the serdes on MPC8536 CPU, When SATA disabled >> and the >> driver still try to access the SATA registers, the cpu will hangup. >> This patch try to fix

Re: [U-Boot] [PATCH 4/4] Do not init SATA when disabled on 8536DS.

2008-10-13 Thread Kumar Gala
On Oct 9, 2008, at 10:41 PM, Jason Jin wrote: > SGMII and SATA share the serdes on MPC8536 CPU, When SATA disabled > and the > driver still try to access the SATA registers, the cpu will hangup. > This patch try to fix this by reading the serdes status before the > SATA > initialize. > > Sign

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-13 Thread Jerry Van Baren
Kumar Gala wrote: > > On Oct 8, 2008, at 8:48 PM, Jerry Van Baren wrote: > >> Kumar Gala wrote: >>> * Use new find_cmd_tbl() to process sub-commands >>> >>> If this looks good I'll go ahead and clean it up for the other arches >>> and OSes. >> >> Hi Kumar, >> >> Thanks to your sequence hint, int

Re: [U-Boot] [PATCH] mpc83xx: mpc8360emds: rework LBC SDRAM setup

2008-10-13 Thread Kim Phillips
On Mon, 13 Oct 2008 14:40:02 +0200 Wolfgang Denk <[EMAIL PROTECTED]> wrote: > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > > --- > > board/freescale/mpc8360emds/mpc8360emds.c | 39 > > - > > include/configs/MPC8360EMDS.h | 25

Re: [U-Boot] [PATCH] Wait till UPM completes the write to array.

2008-10-13 Thread Kim Phillips
On Thu, 9 Oct 2008 10:29:14 +0530 Selvamuthukumar <[EMAIL PROTECTED]> wrote: > Reference manual states that MxMR[MAD] increment is the indication > of write to UPM array is complete. Honour that. Also, make the dummy > write explicit. > > Signed-off-by: Selvamuthukumar <[EMAIL PROTECTED]> > ---

Re: [U-Boot] [PATCH] mpc83xx: add ELBC NAND support for the MPC837XEMDSboards

2008-10-13 Thread Kim Phillips
On Wed, 8 Oct 2008 21:26:34 -0700 "Liu Dave-R63238" <[EMAIL PROTECTED]> wrote: > It is due to hardware design and logic defect, that is the > I/O[0:7] of NAND chip is connected to LAD[7:0], so when > the NAND chip connected to nLCS3, you have to set up the > OR3[BCTLD] = '1' for normal operation,

Re: [U-Boot] [PATCH] mpc83xx: fix PCI scan hang on the standalone MPC837xE-MDS boards

2008-10-13 Thread Kim Phillips
On Thu, 2 Oct 2008 19:17:33 +0400 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > The MPC837xE-MDS board's CPLD can auto-detect if the board is on the PIB, > standalone or acting as a PCI agent. User's Guide says: > > - When the CPLD recognizes its location on the PIB it automatically > configures

Re: [U-Boot] [PATCH v2 0/4] SGMII support for MPC8378E-MDS boards

2008-10-13 Thread Kim Phillips
On Thu, 2 Oct 2008 18:31:17 +0400 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > Hi all, > > Here are the updated patches. > > v2: > - Addressed Andy Fleming's comments. Now we don't need the exported > tsec_info struct. applied 1-4 to mpc83xx/next. Thanks, Kim ___

Re: [U-Boot] [PATCH] mpc83xx: mpc8360emds: rework LBC SDRAM setup

2008-10-13 Thread Kim Phillips
On Wed, 10 Sep 2008 18:12:37 +0400 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > Currently 64M of LBC SDRAM are mapped at 0xF000 which makes > it difficult to use (b/c then the memory is discontinuous and > there is quite big memory hole between the DDR/SDRAM regions). > > This patch reworks L

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-13 Thread Trent Piepho
On Tue, 14 Oct 2008, Wolfgang Denk wrote: > Dear Trent, > > In message <[EMAIL PROTECTED]> you wrote: >> >> At this point all the mpc85xx linker scripts are exactly the same, except for >> one line that defines the flash bank size, so they are combined into one >> script in cpu/mpc85xx/u-boot.lds.

[U-Boot] [PATCH 1/4] Use absolute addressing for mpc85xx boot page

2008-10-13 Thread Trent Piepho
The boot page and reset vector need to be at the absolute address 0xf000 and 0xfffc, respectively, when the CPU boots. However, their location in the U-Boot image is relative to the address that flash is mapped at. For instance, mpc8572ds maps the 128MB flash boot bank to 0xe800, whic

[U-Boot] [PATCH 4/4] Use ALIGN() in mpc85xx linker script

2008-10-13 Thread Trent Piepho
It wasn't used in one instance where the end of the rotext section is aligned to 256 bytes. Maybe this alignment isn't necessary? I have to wonder about the alignment of the .data.init and .text.init sections too, since they don't appear to even exist. Signed-off-by: Trent Piepho <[EMAIL PROTECT

[U-Boot] [PATCH 2/4] Merge all mpc85xx platforms to use a single ld script

2008-10-13 Thread Trent Piepho
They are all the same except for the flash size and some copyright comments. The combined script assumes a flash bank size of 4 MB, which work for all current platforms. This assumtion is only a problem if: A) The flash bank is less than 4 MB and it is mapped to a location that not aligned to th

[U-Boot] [PATCH 3/4] Improve mpc85xx link script rodata section

2008-10-13 Thread Trent Piepho
A recent gcc added a new unaligned rodata section called '.rodata.str1.1' and that needs to be added the the linker script. Rather than just add that one section, instead use '*(.rodata*)' to catch that section and any future rodata sections. '*(.rodata*)' by itself will result in sub-optimal sec

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-13 Thread Wolfgang Denk
Dear Trent, In message <[EMAIL PROTECTED]> you wrote: > > At this point all the mpc85xx linker scripts are exactly the same, except for > one line that defines the flash bank size, so they are combined into one > script in cpu/mpc85xx/u-boot.lds. A common flash bank size that will work for > all

[U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-13 Thread Trent Piepho
This patch series does $SUBJ. The first patch changes the way the existing linker scripts locate the boot page, reset vector, and bss section. This method works for any size of u-boot image (the previous one didn't work images that weren't 512K) and any location flash is mapped to. At this point

Re: [U-Boot] [PATCH 04/11 v1] ARM: OMAP3: Add assembly startup and sys_info common files

2008-10-13 Thread Wolfgang Denk
Dear Dirk, In message <[EMAIL PROTECTED]> you wrote: > > Wolfgang Denk wrote: > > Dear Dirk Behme, > > Just Dirk ;) Sorry, my MUA is not that clever (yet). And in many cases I don't have time enough to manually edit this. [If you have a clever replcomps setup (i. e. more clever than

Re: [U-Boot] [PATCH] fsl_pci_init do not scan bus when configuredas an end-point

2008-10-13 Thread Swarthout Edward L
From: Peter Tyser [mailto:[EMAIL PROTECTED] > > When agent/end-point, I thought the CPU must enable inbound > PCI configuration cycles by poking the PBFR Register (offset > 0x44) for PCI, or the Configuration Ready Register (offset > 0x4b0 for PCIe) after configuring its own inbound BARs. Tha

Re: [U-Boot] [PATCH 3/4] Enabled the Freescale SGMII riser card on 8536DS

2008-10-13 Thread Andy Fleming
On Thu, Oct 9, 2008 at 10:41 PM, Jason Jin <[EMAIL PROTECTED]> wrote: > Signed-off-by: Jason Jin <[EMAIL PROTECTED]> Applied to 85xx-next Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/4] Enabled the Freescale SGMII riser card on 8572DS

2008-10-13 Thread Andy Fleming
On Thu, Oct 9, 2008 at 10:40 PM, Jason Jin <[EMAIL PROTECTED]> wrote: > From: Liu Yu <[EMAIL PROTECTED]> > > This patch based on Andy's work. > Including command 'pixis_set_sgmii' support. > > Signed-off-by: Liu Yu <[EMAIL PROTECTED]> Applied to 85xx-next __

Re: [U-Boot] Automatic software updates in U-Boot -- version 2

2008-10-13 Thread Wolfgang Denk
Dear Bartek, in message <[EMAIL PROTECTED]> you wrote: > > This is the second version of the patch series adding support for automatic > software updates from a TFTP server. V2 adds millisecond granularity of the > TFTP timeouts and addresses comments posted to the ML for the first version. > >

Re: [U-Boot] [PATCH 1/4] Make pixis_set_sgmii more general to support MPC85xx boards.

2008-10-13 Thread Andy Fleming
On Thu, Oct 9, 2008 at 10:40 PM, Jason Jin <[EMAIL PROTECTED]> wrote: > From: Liu Yu <[EMAIL PROTECTED]> > > The pixis sgmii command depend on the FPGA support on the board, some 85xx > boards support SGMII riser card but did not support this command, define > CONFIG_PIXIS_SGMII_CMD for those board

Re: [U-Boot] [PATCH v2 5/6] Automatic software update from TFTP server

2008-10-13 Thread Wolfgang Denk
Dear Bartlomiej Sieka, In message <[EMAIL PROTECTED]> you wrote: > The auto-update feature allows to automatically download software updates > from a TFTP server and store them in Flash memory during boot. Updates are > contained in a FIT file and protected with SHA-1 checksum. > > More detailed

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-13 Thread Wolfgang Denk
Dear Ben Warren, In message <[EMAIL PROTECTED]> you wrote: > > You can pull net/next now if you'd like. I'm not able to generate a > pull request from here, so if you need that you'll have to wait maybe 10 > or 11 hours. Done. Pulled into "next" branch. Thanks. Best regards, Wolfgang Denk

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-13 Thread Wolfgang Denk
Dear Stefan Roese, In message <[EMAIL PROTECTED]> you wrote: > > OK, I added this patch [1/6] to the u-boot-cfi-flash next branch. Here the > pull > request for the *next* branch: > > The following changes since commit 8fd4166c467a46773f80208bda1ec3b4757747bc: > Stefan Roese (1): > pp

Re: [U-Boot] [PATCH] fsl_pci_init do not scan bus when configured as an end-point

2008-10-13 Thread Wolfgang Denk
Dear Ed Swarthout, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> > --- > drivers/pci/fsl_pci_init.c | 17 +++-- > 1 files changed, 15 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engine

Re: [U-Boot] [PATCH] Add cpu/8xxx to TAGS_SUBDIRS

2008-10-13 Thread Andy Fleming
On Wed, Oct 8, 2008 at 11:38 PM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> Applied to 85xx-next ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Denali ddr controlle: how i can reset?

2008-10-13 Thread Luigi Mantellini
Hi ML, i'm working on a SoC (mips based) that uses a denali ddr2 controller. I noticed that also ppc4xx uses the same IP (or it's very similar). I have a stupid trouble: i need to do a software reset of the denali, but I cannot reconfigure it twice... losting the ddr memory space. Of course, at t

Re: [U-Boot] [PATCH] fsl_pci_init do not scan bus when configured as an end-point

2008-10-13 Thread Peter Tyser
On Mon, 2008-10-13 at 14:14 -0500, Andy Fleming wrote: > On Wed, Oct 8, 2008 at 11:38 PM, Ed Swarthout > <[EMAIL PROTECTED]> wrote: > > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> > > Acked-by: Andy Fleming <[EMAIL PROTECTED]> When agent/end-point, I thought the CPU must enable inbound PCI co

Re: [U-Boot] [PATCH] 85xx do not reset PIC if already configured

2008-10-13 Thread Andy Fleming
On Thu, Oct 9, 2008 at 1:26 AM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > This allows a second core to restart without causing a PIC reset. > > Internal interupt changes: > Enable L2 error interrupt IIVPR0 and give it vector 0x100. > Use correct interrupt (8) for mpc8572 pcie3. > Add pcie3 interrup

Re: [U-Boot] [PATCH] fsl_law clear enable before changing.

2008-10-13 Thread Andy Fleming
On Thu, Oct 9, 2008 at 1:25 AM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > Debug sessions may have left enabled laws. > Changing lawbar with an unkown enabled tgtid could cause problems. > > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> Applied to 85xx-next ___

Re: [U-Boot] [PATCH V3] mpc8572 additional end-point mode

2008-10-13 Thread Andy Fleming
On Thu, Oct 9, 2008 at 12:29 AM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > mpc8572 supports all pcie controllers as end-points with cfg_host_agent=0. > Include host_agent == 0 decode for end-point determination. > > This is not needed for the ds reference board since pcie3 will be a host > in order

Re: [U-Boot] [PATCH] 85xx if NUM_CPUS>1, print cpu number

2008-10-13 Thread Andy Fleming
On Wed, Oct 8, 2008 at 11:37 PM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> Applied to 85xx-next ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] pixis do not print long help if not configured

2008-10-13 Thread Andy Fleming
On Wed, Oct 8, 2008 at 11:38 PM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> Applied to 85xx-next ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] fsl_pci_init do not scan bus when configured as an end-point

2008-10-13 Thread Andy Fleming
On Wed, Oct 8, 2008 at 11:38 PM, Ed Swarthout <[EMAIL PROTECTED]> wrote: > Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> Acked-by: Andy Fleming <[EMAIL PROTECTED]> ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boo

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-13 Thread Kumar Gala
On Oct 8, 2008, at 8:48 PM, Jerry Van Baren wrote: > Kumar Gala wrote: >> * Use new find_cmd_tbl() to process sub-commands >> >> If this looks good I'll go ahead and clean it up for the other >> arches and OSes. > > Hi Kumar, > > Thanks to your sequence hint, interrupt command hint, and one >

[U-Boot] [PATCH] 74xx/7xx/86xx: Rename flush_data_cache to flush_dcache to match 85xx version

2008-10-13 Thread Kumar Gala
Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- cpu/74xx_7xx/cache.S | 10 +- cpu/mpc86xx/cache.S | 10 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cpu/74xx_7xx/cache.S b/cpu/74xx_7xx/cache.S index eac4544..62a6683 100644 --- a/cpu/74xx_7xx/cache.S ++

[U-Boot] [PATCH v5] bootm: Add sub commands

2008-10-13 Thread Kumar Gala
Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- common/cmd_bootm.c | 149 - include/image.h| 20 - lib_ppc/bootm.c| 272 ++-- 3 files changed, 347 insertions(+), 94 deletions(-) * Added flushing the data

Re: [U-Boot] MPC8555CDS broken on TOT (commit 8fd4166c, ELDK 4.2)

2008-10-13 Thread Andy Fleming
On Tue, Sep 23, 2008 at 5:05 AM, Bartlomiej Sieka <[EMAIL PROTECTED]> wrote: > Hello, > > TOT U-Boot (commit 8fd4166c, compiled with ELDK 4.2) for the MPC8555CDS > target is broken with the following symptoms: > > > [flash the 8fd4166c image and reset the board] > > U-Boot 2008.10-rc2-00018-g8fd416

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-13 Thread Kumar Gala
On Oct 8, 2008, at 8:48 PM, Jerry Van Baren wrote: > Kumar Gala wrote: >> * Use new find_cmd_tbl() to process sub-commands >> >> If this looks good I'll go ahead and clean it up for the other >> arches and OSes. > > Hi Kumar, > > Thanks to your sequence hint, interrupt command hint, and one >

Re: [U-Boot] [PATCH] enable 10/100M at VSC8601 at tsec driver

2008-10-13 Thread Andy Fleming
On Sun, Oct 12, 2008 at 11:18 PM, Ben Warren <[EMAIL PROTECTED]> wrote: > Wolfgang Denk wrote: >> Dear Ben, >> >> In message <[EMAIL PROTECTED]> Andre Schwarz wrote: >> >>> Currently VSC8601 doesn't link with 10/100M partners if the >>> EEPROM/Strapping is not set up. >>> Setting the auto-neg regis

Re: [U-Boot] [PATCH] FSL: Fix get_cpu_board_revision() return value.

2008-10-13 Thread Andy Fleming
On Wed, Oct 8, 2008 at 6:41 AM, Rafal Czubak <[EMAIL PROTECTED]> wrote: > get_cpu_board_revision() returned board revision based on information stored > in global static struct eeprom. It should instead use one from local struct > board_eeprom, to which the data is actually read from EEPROM. The bu

Re: [U-Boot] [PATCH 1/2] Fix the incorrect DDR clk freq reporting on 8536DS

2008-10-13 Thread Andy Fleming
On Sat, Sep 27, 2008 at 1:40 AM, Jason Jin <[EMAIL PROTECTED]> wrote: > On 8536DS board, When the DDR clk is set async mode(SW3[6:8] != 111), > The display is still sync mode DDR freq. This patch try to fix > this. The display DDR freq is now the actual freq in both > sync and async mode. > > Signe

Re: [U-Boot] [PATCH] MPC8572DS: Fix compile warnings

2008-10-13 Thread Andy Fleming
On Wed, Oct 8, 2008 at 3:36 PM, Kumar Gala <[EMAIL PROTECTED]> wrote: > Commit 445a7b38308eb05b41de74165b20855db58c7ee5 introduced the following > compile warnings: > > cmd_i2c.c:112: warning: missing braces around initializer > cmd_i2c.c:112: warning: (near initialization for 'i2c_no_probes[0]') >

Re: [U-Boot] [PATCH 1/6] Make DDR interleaving mode work correctly

2008-10-13 Thread Andy Fleming
On Fri, Oct 3, 2008 at 11:36 AM, Haiying Wang <[EMAIL PROTECTED]> wrote: > Fix some bugs: > 1. Correctly set intlv_ctl in cs_config. > 2. Correctly set sa, ea in cs_bnds when bank interleaving mode is enabled. > 3. Set base_address and total memory for each ddr controller in memory > control

Re: [U-Boot] [PATCH 1/3] Minor fixes for I2C address on MPC8572DS

2008-10-13 Thread Andy Fleming
On Fri, Oct 3, 2008 at 10:46 AM, Haiying Wang <[EMAIL PROTECTED]> wrote: > MPC8572DS has two i2c buses. This patch moves the DDR SPD_EEPROM to i2c bus 1 > according to the board spec, and adds the 2nd i2c bus offset. > > Signed-off-by: Haiying Wang <[EMAIL PROTECTED]> Applied 1-3, and they were pu

Re: [U-Boot] MPC86xx unapplied patches

2008-10-13 Thread Jon Loeliger
On Mon, 2008-10-13 at 13:58 +0200, Wolfgang Denk wrote: > Dear Jon, > > In message <[EMAIL PROTECTED]> you wrote: > > > > > 6185 08/19 Kumar Gala [U-Boot] [PATCH] 86xx: remove redudant > > > code with lib_ppc/interrupts.c > > > 6767 08/28 Nick Spence[U-Boot] [PATCH] mpc86xx: u

Re: [U-Boot] [PATCH 08/13 v3] ARM: OMAP3: Add NAND support

2008-10-13 Thread Scott Wood
On Sat, Oct 11, 2008 at 10:55:37AM +0200, Dirk Behme wrote: > >It's looking decent. I have some concerns about the ECC switching, > >though. > > Yes, I know, agreed. But changing existing kernels isn't easy, too. I meant the implementation (specifically, the re-init of things done by nand_scan_t

[U-Boot] Can u-boot load WinCE kernel image?

2008-10-13 Thread 章杰
hello, Does anyone ever try to load a WinCE kernel image(NK.bin or NK.nb0)? Thanks! Jerry ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] ppc4xx: Add 1.0 & 1.066 GHz to canyonlands bootstrap command for PLL setup

2008-10-13 Thread Stefan Roese
Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- board/amcc/canyonlands/bootstrap.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/board/amcc/canyonlands/bootstrap.c b/board/amcc/canyonlands/bootstrap.c index 1d125b6..5d832de 100644 --- a/board/amcc/canyon

Re: [U-Boot] [PATCH RFC] mpc8572ds relocatable

2008-10-13 Thread Joakim Tjernlund
On Mon, 2008-10-13 at 00:53 +0200, Wolfgang Denk wrote: > Dear Ed Swarthout, > > In message <[EMAIL PROTECTED]> you wrote: > > Fixes boot crash from bad string pointers in get_table_entry_name > > when flash is erased or differs from current u-boot image. > > > > Signed-off-by: Ed Swarthout <[EMA

Re: [U-Boot] [PATCH] ARM DaVinci: Remove redundant setting ofGD_FLG_RELOC for sffsdr board.

2008-10-13 Thread Wolfgang Denk
Dear "Hugo Villeneuve", In message <[EMAIL PROTECTED]> you wrote: > > > ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr > > board. ... > Jean-Christophe, > did you integrate that patch in your tree? Obviously not, but since this is a board-specific patch I pulled it directly. Be

Re: [U-Boot] [PATCH] ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr board.

2008-10-13 Thread Wolfgang Denk
Dear Hugo Villeneuve, In message <[EMAIL PROTECTED]> you wrote: > ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr board. > > This is no longer necessary now that the GD_FLG_RELOC flag is set for all ARM > boards. > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > --- > >

Re: [U-Boot] [PATCH 1/1 V3] Add support for LZMA uncompression algorithm.

2008-10-13 Thread Wolfgang Denk
Dear "Luigi 'Comio' Mantellini", In message <[EMAIL PROTECTED]> you wrote: > > Date: Sat, 13 Sep 2008 10:04:32 +0200 > Subject: [PATCH] Fix lzma uncompress call (image_start wrongly used instead= > image_len) > > > Signed-off-by: Luigi 'Comio' Mantellini <[EMAIL PROTECTED]> > --- > common/cmd_

Re: [U-Boot] [PATCH] mpc83xx: mpc8360emds: rework LBC SDRAM setup

2008-10-13 Thread Wolfgang Denk
Dear Kim, In message <[EMAIL PROTECTED]> Anton Vorontsov wrote: > Currently 64M of LBC SDRAM are mapped at 0xF000 which makes > it difficult to use (b/c then the memory is discontinuous and > there is quite big memory hole between the DDR/SDRAM regions). > > This patch reworks LBC SDRAM setup

Re: [U-Boot] [cfi-flash] Please pull git://www.denx.de/git/u-boot-cfi-flash.git

2008-10-13 Thread Wolfgang Denk
Dear Stefan Roese, In message <[EMAIL PROTECTED]> you wrote: > The following changes since commit df4a0796e86662536df2387ddcf969c2a704bcc2: > Wolfgang Denk (1): > Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master > > are available in the git repository at: > > git://

[U-Boot] [cfi-flash] Please pull git://www.denx.de/git/u-boot-cfi-flash.git

2008-10-13 Thread Stefan Roese
The following changes since commit df4a0796e86662536df2387ddcf969c2a704bcc2: Wolfgang Denk (1): Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master are available in the git repository at: git://www.denx.de/git/u-boot-cfi-flash.git master Ed Swarthout (1): CFI: cf

Re: [U-Boot] [PATCH] cfi_flash write fix for AMD legacy

2008-10-13 Thread Stefan Roese
On Thursday 09 October 2008, Ed Swarthout wrote: > The flash_unlock_seq requires a sector for AMD_LEGACY. > Fix a retcode check typeo. Applied to cfi/master. Thanks. Best regards, Stefan = DENX Software Engineering GmbH, MD:

Re: [U-Boot] MPC86xx unapplied patches

2008-10-13 Thread Wolfgang Denk
Dear Jon, In message <[EMAIL PROTECTED]> you wrote: > > > 6185 08/19 Kumar Gala [U-Boot] [PATCH] 86xx: remove redudant code > > with lib_ppc/interrupts.c > > 6767 08/28 Nick Spence[U-Boot] [PATCH] mpc86xx: use r4 instead of > > r2 in lock_ram_in_cache a > > Sorry, got buried

Re: [U-Boot] [PATCH] mpc86xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache

2008-10-13 Thread Wolfgang Denk
Dear Nick Spence, In message <[EMAIL PROTECTED]> you wrote: > This is needed in unlock_ram_in_cache() because it is called from C and > will corrupt the small data area anchor that is kept in R2. > > lock_ram_in_cache() is modified similarly as good coding practice, but > is not called from C. >

Re: [U-Boot] [PATCH] 86xx: remove redudant code with lib_ppc/interrupts.c

2008-10-13 Thread Wolfgang Denk
Dear Kumar, In message <[EMAIL PROTECTED]> you wrote: > For some reason we duplicated the majority of code in lib_ppc/interrupts.c > not show how that happened, but there is no good reason for it. > > Use the interrupt_init_cpu() and timer_interrupt_cpu() since its why > they exist. > > Signed-o

Re: [U-Boot] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-10-13 Thread Wolfgang Denk
Dear Stefan Roese, In message <[EMAIL PROTECTED]> you wrote: > The following changes since commit 50a874b3b0272f32e3627732fab90b27fbd35066: > Stefan Roese (1): > Merge branch 'master' of /home/stefan/git/u-boot/u-boot > > are available in the git repository at: > > git://www.denx.de/

[U-Boot] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-10-13 Thread Stefan Roese
The following changes since commit 50a874b3b0272f32e3627732fab90b27fbd35066: Stefan Roese (1): Merge branch 'master' of /home/stefan/git/u-boot/u-boot are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Adam Graham (1): ppc4xx: Reset and reloc

Re: [U-Boot] [PATCH v3 3/6] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-10-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:25 Mon 13 Oct , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <[EMAIL PROTECTED]> you wrote: > > > > > > On 10:36 Fri 29 Aug , Magnus Lilja wrote: > > > > > Add support for the Freescale i.MX31 PDK (a.k.a 3DS) board. Ethernet > > > > > and > > > > > MC

[U-Boot] [PATCH] ppc4xx: Correctly setup ranges property in ebc node

2008-10-13 Thread Stefan Roese
Previously only the NOR flash mapping was written into the ranges property of the ebc node. This patch now writes all enabled chip select areas into the ranges property. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- cpu/ppc4xx/fdt.c | 45 ++-

Re: [U-Boot] [PATCH v3 3/6] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-10-13 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <[EMAIL PROTECTED]> you wrote: > > > > On 10:36 Fri 29 Aug , Magnus Lilja wrote: > > > > Add support for the Freescale i.MX31 PDK (a.k.a 3DS) board. Ethernet and > > > > MC13873 RTC support is enabled by this patch. > > > > > > > > Booting fro

Re: [U-Boot] [PATCH v3 2/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

2008-10-13 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <[EMAIL PROTECTED]> you wrote: > > > > > doc/README.mx31 | 19 +++ > > > > drivers/rtc/mc13783-rtc.c |6 -- > > > > include/configs/imx31_litekit.h |3 +++ > > > > include/configs/mx31ads.h

Re: [U-Boot] [PATCH] jffs2: add sector_size field to part_info structure

2008-10-13 Thread Wolfgang Denk
Dear Ilya, In message <[EMAIL PROTECTED]> you wrote: > This patch adds sector_size field to part_info structure (used > by new JFFS2 code). ... > @@ -359,6 +361,11 @@ static int part_validate_nor(struct mtdids *id, struct > part_info *part) > > end_offset = part->offset + part->size; >

Re: [U-Boot] [PATCH/RFC] Some speed improvements to U-Boot JFFS2 code

2008-10-13 Thread Wolfgang Denk
Dear Ilya, In message <[EMAIL PROTECTED]> you wrote: > > here is a set of changes we made to improve U-Boot JFFS2 code > performance. We still can't reach Linux's performance but improvements > are significant. > > Any comments are welcome. Are these patches independent of each other, or are

Re: [U-Boot] PATCH: U-Boot support for Olimex SAM9L-9260 development board

2008-10-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:19 Mon 13 Oct , Wolfgang Denk wrote: > Dear Jean-Christophe, > > In message <[EMAIL PROTECTED]> Markus Kammerstetter wrote: > > Hi, > > > > I added support for the Olimex SAM9L-9260 development board to the > > current git source tree. > > The original code is from the at91sam9260ek im

Re: [U-Boot] [PATCH v3 3/6] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-10-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:27 Mon 13 Oct , Wolfgang Denk wrote: > Dear Jean-Christophe, > > In message <[EMAIL PROTECTED]> you wrote: > > On 10:36 Fri 29 Aug , Magnus Lilja wrote: > > > Add support for the Freescale i.MX31 PDK (a.k.a 3DS) board. Ethernet and > > > MC13873 RTC support is enabled by this patch.

Re: [U-Boot] [PATCH v3 2/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

2008-10-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:27 Mon 13 Oct , Wolfgang Denk wrote: > Dear Jean-Christophe, > > In message <[EMAIL PROTECTED]> you wrote: > > On 10:36 Fri 29 Aug , Magnus Lilja wrote: > > > The i.MX31 has three SPI buses and each bus has several chip selects > > > and the MC13783 chip can be connected to any of th

[U-Boot] [PATCH] jffs2: add buffer to cache flash accesses

2008-10-13 Thread Ilya Yanok
With this patch JFFS2 code allocates memory buffer of max_totlen size (size of the largest node, calculated during scan time) and uses it to store entire node. Speeds up loading. If malloc fails we use old ways to do things. Signed-off-by: Alexey Neyman <[EMAIL PROTECTED]> Signed-off-by: Ilya Yano

[U-Boot] [PATCH] jffs2: rewrite jffs2 scanning code based on Linux one

2008-10-13 Thread Ilya Yanok
Rewrites jffs2_1pass_build_lists() function in style of Linux's jffs2_scan_medium() and jffs2_scan_eraseblock(). This includes: - Caching flash acceses - Smart dealing with free space Signed-off-by: Alexey Neyman <[EMAIL PROTECTED]> Signed-off-by: Ilya Yanok <[EMAIL PROTECTED]> --- fs/jffs2/jff

[U-Boot] [PATCH/RFC] Some speed improvements to U-Boot JFFS2 code

2008-10-13 Thread Ilya Yanok
Hello everybody, here is a set of changes we made to improve U-Boot JFFS2 code performance. We still can't reach Linux's performance but improvements are significant. Any comments are welcome. Regards, Ilya. ___ U-Boot mailing list U-Boot@lists.denx.

[U-Boot] [PATCH] jffs2: add sector_size field to part_info structure

2008-10-13 Thread Ilya Yanok
This patch adds sector_size field to part_info structure (used by new JFFS2 code). Signed-off-by: Ilya Yanok <[EMAIL PROTECTED]> --- common/cmd_jffs2.c | 13 - include/jffs2/load_kernel.h |1 + 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/common/cmd_j

[U-Boot] [PATCH] jffs2: summary support

2008-10-13 Thread Ilya Yanok
This patch adds support for reading fs information from summary node instead of scanning full eraseblock. Signed-off-by: Ilya Yanok <[EMAIL PROTECTED]> --- fs/jffs2/jffs2_1pass.c | 187 +++- fs/jffs2/summary.h | 163 +++

[U-Boot] [PATCH] jffs2: fix searching for latest version in jffs2_1pass_list_inodes()

2008-10-13 Thread Ilya Yanok
We need to update i_version inside cycle to find really latest version inside jffs2_1pass_list_inodes(). With that fixed we can use isize inside dump_inode() instead of calling expensive jffs2_1pass_read_inode(). Signed-off-by: Alexey Neyman <[EMAIL PROTECTED]> Signed-off-by: Ilya Yanok <[EMAIL PR

[U-Boot] [PATCH] jffs2: cache data_crc results

2008-10-13 Thread Ilya Yanok
As we moved data_crc() invocation from jffs2_1pass_build_lists() to jffs2_1pass_read_inode() data_crc is going to be calculated on each inode access. This patch adds caching of data_crc() results. There is no significant improvement in speed (because of flash access caching added in previous patch