Re: [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

2010-09-29 Thread Albert ARIBAUD
Le 28/09/2010 15:39, Ben Gardiner a écrit : On Tue, Sep 28, 2010 at 9:14 AM, Albert Aribaudalbert.arib...@free.fr wrote: Add -msingle-pic-base to the relocation flags, and compute the pic base in start.S twice and for all -- once before relocation to run board_init_f, and once after

Re: [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

2010-09-29 Thread Albert ARIBAUD
Le 28/09/2010 15:57, Heiko Schocher a écrit : Hello Albert, Albert Aribaud wrote: Add -msingle-pic-base to the relocation flags, and compute the pic base in start.S twice and for all -- once before relocation to run board_init_f, and once after relocation to run board_init_r and the rest of

Re: [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

2010-09-29 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4ca2d6d0.1080...@free.fr you wrote: Tested-by: Heiko Schocherh...@denx.de Thanks Heiko. BTW, I forgot to mention that patch 2/2 of this set, being partly = written by Heiko for the tx25 part, is Signed-off-by: Heiko Schocherh...@denx.de Do you

Re: [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

2010-09-29 Thread Albert ARIBAUD
Hi Wolfgang, Le 29/09/2010 08:50, Wolfgang Denk a écrit : Dear Albert ARIBAUD, In message4ca2d6d0.1080...@free.fr you wrote: Tested-by: Heiko Schocherh...@denx.de Thanks Heiko. BTW, I forgot to mention that patch 2/2 of this set, being partly = written by Heiko for the tx25 part, is

Re: [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

2010-09-29 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4ca2ecea.1010...@free.fr you wrote: Do you expect any further work on this, or should we apply this to the public repo now? As far as Ben, Heiko and myself are concerned, there is not further work expected on this. You may possibly want acks from

[U-Boot] Re

2010-09-29 Thread portos...@telefonica.net
Usted tiene una transferencia de dinero de $ 85.000. Por favor confirmar recepción con su nombre y su país. Enviar por correo electrónico: wud...@w.cn___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [STATUS] U-Boot v2010.09 released - Merge Window OPEN

2010-09-29 Thread Wolfgang Denk
Hello all, U-Boot v2010.09 has been released and is available from the git repository and the FTP server. The next branch has been pulled into mainline (master branch) and has been removed afterward. **

[U-Boot] [PATCH] CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

2010-09-29 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- doc/feature-removal-schedule.txt | 29 - 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/doc/feature-removal-schedule.txt b/doc/feature-removal-schedule.txt index 5fe21e8..3879cb4 100644 ---

Re: [U-Boot] [STATUS] U-Boot v2010.09 released - Merge Window OPEN

2010-09-29 Thread Detlev Zundel
Hi Wolfgang, U-Boot v2010.09 has been released and is available from the git repository and the FTP server. Cool, thanks! [...] * * Currently, most ARM boards are *broken* and *do not compile*. *

Re: [U-Boot] [PATCH] CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

2010-09-29 Thread Rogan Dawes
On 2010/09/29 11:29 AM, Wolfgang Denk wrote: +Why: The implementation of U-Boot for the ARM architecture has + been reworked to support relocation. This allows to + efficiently use the same U-Bot binary image on systems with U-Bot? Rogan ___

Re: [U-Boot] [PATCH] CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

2010-09-29 Thread Wolfgang Denk
In message 1285752572-2107-1-git-send-email...@denx.de I wrote: Signed-off-by: Wolfgang Denk w...@denx.de ... --- +What:CONFIG_SYS_ARM_WITHOUT_RELOC option +When:After Release 2010.03 That should be After Release 2011.03, of course. [Will fix when I

Re: [U-Boot] [STATUS] U-Boot v2010.09 released - Merge Window OPEN

2010-09-29 Thread Wolfgang Denk
Dear Detlev Zundel, In message m24od8ki5t@ohwell.denx.de you wrote: Support for CONFIG_SYS_ARM_WITHOUT_RELOC will be removed after release v2010.03; all boards that have not been converted by then, As many people won't have a time machine ready, I belive this should read

Re: [U-Boot] [PATCH] CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

2010-09-29 Thread Wolfgang Wegner
Hi, On Wed, Sep 29, 2010 at 11:29:32AM +0200, Wolfgang Denk wrote: [...] --- +What:CONFIG_SYS_ARM_WITHOUT_RELOC option +When:After Release 2010.03 should this be 2011.03, or did I misunderstand anything? + +Why: The implementation of U-Boot for the

Re: [U-Boot] [PATCH] CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

2010-09-29 Thread Wolfgang Denk
Dear Rogan Dawes, In message 4ca308ae.9060...@dawes.za.net you wrote: On 2010/09/29 11:29 AM, Wolfgang Denk wrote: +Why: The implementation of U-Boot for the ARM architecture has + been reworked to support relocation. This allows to + efficiently use the same U-Bot binary image

Re: [U-Boot] [PATCH] CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

2010-09-29 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message 20100929093901.ga26...@leila.ping.de you wrote: +What: CONFIG_SYS_ARM_WITHOUT_RELOC option +When: After Release 2010.03 should this be 2011.03, or did I misunderstand anything? Yes, no. + Support for CONFIG_SYS_ARM_WITHOUT_RELOC will be

Re: [U-Boot] [STATUS] U-Boot v2010.09 released - Merge Window OPEN

2010-09-29 Thread Bas Mevissen
On Wed, 29 Sep 2010 11:16:30 +0200, Wolfgang Denk w...@denx.de wrote: This allows to efficiently use the same U-Bot The U-Bot strikes again :-) -- Bas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [STATUS] U-Boot v2010.09 released - Merge Window OPEN

2010-09-29 Thread Wolfgang Wegner
On Wed, Sep 29, 2010 at 02:51:49PM +0200, Bas Mevissen wrote: On Wed, 29 Sep 2010 11:16:30 +0200, Wolfgang Denk w...@denx.de wrote: This allows to efficiently use the same U-Bot The U-Bot strikes again :-) Striving for world domination. SCNR, Wolfgang

[U-Boot] U-Boot v2010.06 statistics

2010-09-29 Thread Mike Frysinger
On Wednesday, September 29, 2010 05:16:30 Wolfgang Denk wrote: A little statistics [1] - changes since release v2020.06: granted it's been years since i was in school taking math courses, but these totals dont seem to add up ... Processed 842 csets from 114 developers 842 is the total # of

Re: [U-Boot] U-Boot v2010.06 statistics

2010-09-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message 201009290941.42366.vap...@gentoo.org you wrote: On Wednesday, September 29, 2010 05:16:30 Wolfgang Denk wrote: A little statistics [1] - changes since release v2020.06: I guess you misses the time warp that I caused by used a version from 10 years in the

[U-Boot] [PATCH] ns16550: Add WATCHDOG_RESET to putc for short watchdog timeout boards

2010-09-29 Thread Stefan Roese
This is needed for board with a very short watchdog timeout, like the lwmon5 with a 100ms timeout. Without this patch this board resets in the commands with long outputs, like printenv or fdt print. Note that the image size is not increased with this patch when CONFIG_HW_WATCHDOG or

[U-Boot] [PATCH] POST: Add POST_ALWAYS to UART POST test

2010-09-29 Thread Stefan Roese
From: Sascha Laue sascha.l...@liebherr.com Needed to ensure that this UART POST is always excecuted. Signed-off-by: Sascha Laue sascha.l...@liebherr.com Signed-off-by: Stefan Roese s...@denx.de --- post/tests.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] ppc4xx: Add defines for COM3 COM4 (UART2 UART3) on 440EPx/GRx

2010-09-29 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/include/asm/ppc440epx_grx.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/ppc440epx_grx.h b/arch/powerpc/include/asm/ppc440epx_grx.h index 252f35b..6c21472 100644 ---

[U-Boot] [PATCH] ppc4xx/fdt/flash: Fix bug in fdt_fixup_nor_flash_node()

2010-09-29 Thread Stefan Roese
This patch fixes a bug in fdt_fixup_nor_flash_node() when the reg property has multiple reg tuples, like: reg = 0 0x 0x0400 0 0x0400 0x0400; In this case this function did not update the reg property correctly. Signed-off-by: Stefan Roese s...@denx.de

[U-Boot] [PATCH] ppc4xx: Small whitespace cleanup in canyonlands.c

2010-09-29 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de --- board/amcc/canyonlands/canyonlands.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/board/amcc/canyonlands/canyonlands.c b/board/amcc/canyonlands/canyonlands.c index b26cadb..a30d4f4 100644 ---

[U-Boot] [PATCH] ppc4xx: Use common ns16550 functions in 4xx UART POST driver

2010-09-29 Thread Stefan Roese
This patch changes the PPC4xx POST UART driver to use the common NS16550 functions for receiving and sending. Additionally the local function for SoC divisor setup are removed. Instead the functions from arch/powerpc/cpu/ppc4xx/4xx_uart.c are used. This removes code duplication. Also the common

[U-Boot] [PATCH] ppc4xx: Remove some testing hacks from ppc4xx.h

2010-09-29 Thread Stefan Roese
I accidentally left these hacks in the code while doing the big header cleanup. Let's remove it now. Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/include/asm/ppc4xx.h | 17 - 1 files changed, 0 insertions(+), 17 deletions(-) diff --git

[U-Boot] [PATCH v2 0/6] Add ARM flat device tree support

2010-09-29 Thread John Rigby
This is the third submission of this patch series. The first was an RFC and I received lots of comments that I addressed in the second for which I got no feedback. This version fixes some issues I found in testing on a hacked Beagle kernel with enough device tree functionality to verify that

[U-Boot] [PATCH v2 1/6] fdt_relocate: fix fdt size and endian bugs

2010-09-29 Thread John Rigby
Fix two problems in fdt_relocate. First, for the non relocation case current code calculates fdt blob size by subtracting the fdt address from the end of bootmap. This wrong because it assumes that the fdt_blob is located at the top (high) of the bootmap. Use the current size plus padding

[U-Boot] [PATCH v2 3/6] FDT: only call boot_get_fdt from generic code

2010-09-29 Thread John Rigby
All arches except nios2 and microblaze call boot_get_fdt from bootm_start in common/cmd_bootm.c. Having nios2 and microblaze do so as well removes code from their respective do_bootm_linux routines and allows removal of a nasty ifdef from bootm_start. Signed-off-by: John Rigby

[U-Boot] [PATCH v2 5/6] ARM: add flat device tree support

2010-09-29 Thread John Rigby
Based on other architectures already supported. Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/include/asm/config.h |2 + arch/arm/lib/bootm.c | 137 - common/image.c|2 + 3 files changed, 125 insertions(+),

[U-Boot] [PATCH v2 6/6] ARM: enable device tree for beagle

2010-09-29 Thread John Rigby
For testing ARM device tree support Signed-off-by: John Rigby john.ri...@linaro.org --- include/configs/omap3_beagle.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 2463be4..daf84c7 100644

[U-Boot] [PATCH v2 2/6] FDT: Add fixup support for multiple banks of memory

2010-09-29 Thread John Rigby
Add fdt_fixup_memory_banks and reimplement fdt_fixup_memory using it. Signed-off-by: John Rigby john.ri...@linaro.org --- common/fdt_support.c | 86 ++--- include/fdt_support.h |1 + 2 files changed, 47 insertions(+), 40 deletions(-) diff --git

[U-Boot] [PATCH v2 4/6] boot: change some arch ifdefs to feature ifdefs

2010-09-29 Thread John Rigby
The routines boot_ramdisk_high, boot_get_cmdline and boot_get_kbd are currently enabled by various combinations of CONFIG_M68K, CONFIG_POWERPC and CONFIG_SPARC. Use CONFIG_FEATURE defines instead. CONFIG_BOOT_RAMDISK_HIGH CONFIG_BOOT_GET_CMDLINE CONFIG_BOOT_GET_KBD Define these as appropriate

[U-Boot] Question about PCIe configuration

2010-09-29 Thread Carlos Roberto Moratelli
Hi, I am trying to map a PCIe peripherical on my MPC8536 custom board. I already have u-boot and linux kernel running fine on this board. The peripherical is on PCIe1 port. Compiling u-boot using debug flag I have the following log: pci_init_board: devdisr=40900, sdrs2_io_sel=7, io_sel=7

[U-Boot] [PATCH 2/3] mpc8569mds: fix consuming long time while relocating code.

2010-09-29 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com The original code maps boot flash as non-cacheable region. When calling relocate_code in flash to copy u-boot from flash to ddr, every loop copy command is read from flash. The flash read speed will be the bottleneck, which consuming long time to do

[U-Boot] [PATCH 3/3] mpc8569mds: fix some ddr settings

2010-09-29 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com Enable half drive strength, set RTT to 60Ohm and set write leveling override. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- board/freescale/mpc8569mds/ddr.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 1/3] mpc8569mds: fix CONFIG_ENV_SIZE

2010-09-29 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com CONFIG_ENV_SIZE of MPC8569MDS was wrongly set to CONFIG_ENV_SECT_SIZE which is 128KB, so it took longer time to do crc32 calculation for ENV than it should do. It causes the bootup for MPC8569MDS significantly slow. This patch fixs it to 0x2000(8KB),

[U-Boot] [PATCH 2/3] mpc8569mds: fix consuming long time while relocating code.

2010-09-29 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com The original code maps boot flash as non-cacheable region. When calling relocate_code in flash to copy u-boot from flash to ddr, every loop copy command is read from flash. The flash read speed will be the bottleneck, which consuming long time to do

[U-Boot] [PATCH 3/3] mpc8569mds: fix some ddr settings

2010-09-29 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com Enable half drive strength, set RTT to 60Ohm and set write leveling override. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- board/freescale/mpc8569mds/ddr.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 1/3] mpc8569mds: fix CONFIG_ENV_SIZE

2010-09-29 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com CONFIG_ENV_SIZE of MPC8569MDS was wrongly set to CONFIG_ENV_SECT_SIZE which is 128KB, so it took longer time to do crc32 calculation for ENV than it should do. It causes the bootup for MPC8569MDS significantly slow. This patch fixs it to 0x2000(8KB),

Re: [U-Boot] [PATCH 1/3] mpc8569mds: fix CONFIG_ENV_SIZE

2010-09-29 Thread Wolfgang Denk
Dear haiying.w...@freescale.com, In message 1285782256-21992-1-git-send-email-haiying.w...@freescale.com you wrote: From: Haiying Wang haiying.w...@freescale.com CONFIG_ENV_SIZE of MPC8569MDS was wrongly set to CONFIG_ENV_SECT_SIZE which is 128KB, so it took longer time to do crc32

[U-Boot] [PATCH] Replace MAX_CMDBUF_SIZE references with CONFIG_SYS_CBSIZE

2010-09-29 Thread Peter Tyser
The MAX_CMDBUF_SIZE define is unneeded as it should always equal CONFIG_SYS_CBSIZE. Signed-off-by: Peter Tyser pty...@xes-inc.com --- common/main.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/common/main.c b/common/main.c index 8d548db..d97ccd7 100644 ---

[U-Boot] [PATCH 1/3] mpc8641hpcn: Update PCI code

2010-09-29 Thread Peter Tyser
Update to use the recent, common FSL PCI initialization code. Signed-off-by: Peter Tyser pty...@xes-inc.com --- I was making the same changes to X-ES code, so applied them to other users of the old PCI init code. I only compile tested them on these boards.

[U-Boot] [PATCH 3/3] tqm85xx: Update PCI code

2010-09-29 Thread Peter Tyser
Update to use the recent, common FSL PCI initialization code. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: s...@denx.de --- board/tqc/tqm85xx/law.c |4 +- board/tqc/tqm85xx/tlb.c | 10 ++-- board/tqc/tqm85xx/tqm85xx.c | 151 ---

[U-Boot] [PATCH 2/3] sbc8641d: Update PCI code

2010-09-29 Thread Peter Tyser
Update to use the recent, common FSL PCI initialization code. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: joe.ham...@embeddedspecialties.com --- board/sbc8641d/sbc8641d.c | 103 ++-- 1 files changed, 24 insertions(+), 79 deletions(-) diff --git

[U-Boot] [PATCH] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-29 Thread Peter Tyser
From: Aaron Sierra asie...@xes-inc.com Some OSes require that secondary cores not be initialized when they are booted (eg VxWorks). By default when U-Boot is compiled with the CONFIG_MP option all secondary cores are brought out of reset and held in spinloops. Setting the mp_holdoff environment

[U-Boot] [PATCH 1/3] ds1621: Poll for register write completion

2010-09-29 Thread Peter Tyser
Poll the ds1621 NV Memory Busy bit instead of waiting a static amount of time for register writes. Also add config retister bit defines. Signed-off-by: Peter Tyser pty...@xes-inc.com --- drivers/hwmon/ds1621.c | 26 +- 1 files changed, 21 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 2/3] ds1621: Clean up coding style

2010-09-29 Thread Peter Tyser
Signed-off-by: Peter Tyser pty...@xes-inc.com --- drivers/hwmon/ds1621.c | 245 ++-- 1 files changed, 114 insertions(+), 131 deletions(-) diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c index ec1893e..60bf502 100644 ---

[U-Boot] [PATCH 3/3] ds1621: Fix negative temperature readings

2010-09-29 Thread Peter Tyser
From: Jeff Dischler jdisch...@xes-inc.com Fix bug where signed data was processed as unsigned. The bug previously resulted in negative temperature readings wrapping around, eg -10 became 245. Signed-off-by: Jeff Dischler jdisch...@xes-inc.com Signed-off-by: Peter Tyser pty...@xes-inc.com ---

[U-Boot] [PATCH] cfi_flash: Fix Unknown FLASH error message

2010-09-29 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com When a CFI flash chip could not be detected an error message similar to the following would be printed on bootup: FLASH: ## Unknown FLASH on Bank 1 - Size = 0x0100 = 0 MB The printf incorrectly converted the flash size into megabytes. This patch

[U-Boot] [PATCH] TSI148: Fix argument parsing

2010-09-29 Thread Peter Tyser
From: Brent Darley bdar...@xes-inc.com This patch does 2 things: - Fix the argument number assigned to the vdw (VME data width) value. Previously, a nonexistent 7th arument was read as the vdw variable. - Reduce the size of the argument array for the tsi148 command from 8 to 7. The

Re: [U-Boot] [PATCH 1/3] mpc8569mds: fix CONFIG_ENV_SIZE

2010-09-29 Thread Haiying Wang
On Wed, 2010-29-09 at 20:25 +0200, Wolfgang Denk wrote: You submitted the same patch series twice, without any version ID in the subject, and without any other indication about possible changes. I am so sorry for sending the patchset twice. I did not add smtp-server at the first time, then I

[U-Boot] [PATCH 02/17] mpc8640: Update the io_sel fields for PCI Express

2010-09-29 Thread Peter Tyser
Previously io_sel=0xe incorrect stated PCIE1 was enabled. Also add support for the mpc8640's PCIE2 interface. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc8xxx/pci_cfg.c |5 - 1 files changed, 4 insertions(+), 1

[U-Boot] [PATCH 04/17] pci: Add ability to re-enumerate PCI buses

2010-09-29 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com Add a new 'pci enum' command which re-enumerates the PCI buses. This command is enabled via the CONFIG_CMD_PCI_ENUM define and can be useful in boards with FPGAs connected via PCI/PCIe, boards that support PCI hot-plugging, or during PCI debug. Also

[U-Boot] [PATCH 03/17] xes: Use common PCI initialization code

2010-09-29 Thread Peter Tyser
Common Freescale code for PCI initialization now exists, so migrate X-ES boards to use it. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- board/xes/common/fsl_8xxx_pci.c | 367 +- include/configs/XPEDITE5170.h |

[U-Boot] [PATCH 05/17] ppc: Don't initialize write protected NOR flashes

2010-09-29 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com If a NOR flash is write protected it can not be initialized/detected so add the ability for boards to skip NOR initialization on bootup. A board can skip NOR initialization by implementing the board_flash_wp_on() function. Signed-off-by: John

[U-Boot] [PATCH 07/17] xes: Add board_flash_wp_on()

2010-09-29 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com Add board_flash_wp_on() to check a pca9557 gpio pin to see if non-volatile memory write protection is enabled. Previously, write protected NOR flashes would fail initialization which resulted in a bootup error such as: ... DTT: 53 C local / 64 C

[U-Boot] [PATCH 01/17] XPedite5500 board support

2010-09-29 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com Initial support for Extreme Engineering Solutions XPedite5500 - a P2020-based PMC/XMC single board computer. Signed-off-by: John Schmoller jschmol...@xes-inc.com Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org ---

[U-Boot] [PATCH 06/17] xes: Consolidate checkboard()

2010-09-29 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com Create a common checkboard() function to support all X-ES's Freescale boards. Also, add a get_board_derivative() function which reads hardware strapping resistors to determine what model a board is. This allows one U-Boot image to support multiple

[U-Boot] [PATCH 09/17] xes: Add POST support for 8xxx boards

2010-09-29 Thread Peter Tyser
Add memory and I2C posts to the XPedite517x/520x/537x/550x board families. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- board/xes/common/Makefile|5 board/xes/common/fsl_8xxx_post.c | 43 ++

[U-Boot] [PATCH 10/17] post/i2c: General clean up

2010-09-29 Thread Peter Tyser
- Clean up ifdeffery - Update coding style No functional change should have occurred. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: h...@denx.de --- post/drivers/i2c.c | 48 +++- 1 files changed, 23 insertions(+), 25 deletions(-) diff --git

[U-Boot] [PATCH 11/17] post/i2c: Clean up detection logic

2010-09-29 Thread Peter Tyser
The logic previously used in the I2C post was a bit convoluted. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: h...@denx.de --- post/drivers/i2c.c | 27 --- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c index

[U-Boot] [PATCH 08/17] xes: Make X-ES board names more generic

2010-09-29 Thread Peter Tyser
Some U-Boot images for X-ES boards support multiple products in the same family. For example, the XPedite5370, XPedite5371, and XPedite5372 are similar enough that one U-Boot image can work on all 3 cards. To make it clear that a U-Boot image can work on boards of the same family, rename the

[U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-29 Thread Peter Tyser
Add the ability to not report an I2C POST error for a set of given I2C addresses on bootup. This is useful for the following cases: - Some form factors such as XMC and Compact PCI Express have an I2C EEPROM whose address changes based on geographical address. Eg installed in one slot its

[U-Boot] [PATCH 16/17] 86xx: Use gc-sections to reduce image size

2010-09-29 Thread Peter Tyser
On an XPedite5170 over 11KBytes were saved: Before: text data bss dec hex filename 319488 28700 33204 381392 5d1d0 ./u-boot After: text data bss dec hex filename 307663 29144 33204 370011 5a55b ./u-boot

[U-Boot] [PATCH 12/17] post/i2c: Don't probe address 0

2010-09-29 Thread Peter Tyser
According to the I2C specification device address 0 is the general call address, ie a broadcast address. The I2C specification states that the format of a general call uses at least 2 bytes, which U-Boot's probing routine does not adhere to. Not probing device address 0 will prevent possible

[U-Boot] [PATCH 14/17] xes: Ignore XMC EEPROMs during I2C POST

2010-09-29 Thread Peter Tyser
The XPedite517x/537x cards can host an XMC card which contain an I2C EEPROM at address 0x50. The XMC card is optional, so the EEPROM won't always be present. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- include/configs/xpedite517x.h |2 ++

[U-Boot] [PATCH 17/17] 85xx: Use gc-sections to reduce image size

2010-09-29 Thread Peter Tyser
On an XPedite5370 over 11KBytes were saved: Before: textdata bss dec hex filename 332456 33364 33476 399296 617c0 ./u-boot After: text data bss dec hex filename 321075 33836 33476 388387 5ed23 ./u-boot

[U-Boot] [PATCH 15/17] 86xx: Create common linker script

2010-09-29 Thread Peter Tyser
Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc86xx/config.mk |3 + .../powerpc/cpu/mpc86xx}/u-boot.lds|0 board/freescale/mpc8610hpcd/u-boot.lds | 132 ---

Re: [U-Boot] [PATCH] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-29 Thread Scott Wood
On Wed, 29 Sep 2010 13:44:07 -0500 Peter Tyser pty...@xes-inc.com wrote: From: Aaron Sierra asie...@xes-inc.com Some OSes require that secondary cores not be initialized when they are booted (eg VxWorks). By default when U-Boot is compiled with the CONFIG_MP option all secondary cores are

[U-Boot] [PATCH] lib/hashtable.c: add algorithm for small buffer import

2010-09-29 Thread Andreas Bießmann
This patch adds a new flag to influence the hashtable internal algorithm for creation size when importing a buffer. When importing a extremely small buffer (e.g. the default_environment) the current algorithm cuts down the size of hash table to extremely small size. In some cases this may render

Re: [U-Boot] [PATCH] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-29 Thread Peter Tyser
On Wed, 2010-09-29 at 14:22 -0500, Scott Wood wrote: On Wed, 29 Sep 2010 13:44:07 -0500 Peter Tyser pty...@xes-inc.com wrote: From: Aaron Sierra asie...@xes-inc.com Some OSes require that secondary cores not be initialized when they are booted (eg VxWorks). By default when U-Boot is

Re: [U-Boot] [PATCH] lib/hashtable.c: add algorithm for small buffer import

2010-09-29 Thread Wolfgang Denk
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message 1285788486-43901-1-git-send-email-andreas.de...@googlemail.com you wrote: This patch adds a new flag to influence the hashtable internal algorithm for creation size when importing a buffer. When importing a extremely small buffer (e.g.

Re: [U-Boot] [PATCH] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-29 Thread Scott Wood
On Wed, 29 Sep 2010 14:50:17 -0500 Peter Tyser pty...@xes-inc.com wrote: On Wed, 2010-09-29 at 14:22 -0500, Scott Wood wrote: On Wed, 29 Sep 2010 13:44:07 -0500 Peter Tyser pty...@xes-inc.com wrote: From: Aaron Sierra asie...@xes-inc.com Some OSes require that secondary cores

Re: [U-Boot] [PATCH] lib/hashtable.c: add algorithm for small buffer import

2010-09-29 Thread Andreas Bießmann
(resent to list) Dear Wolfgang Denk, Am 29.09.2010 um 22:01 schrieb Wolfgang Denk: Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message 1285788486-43901-1-git-send-email-andreas.de...@googlemail.com you wrote: [snip] * unreasonably large numbers (and thus memory footprint) for

Re: [U-Boot] u-boot boot sequence

2010-09-29 Thread Wolfgang Denk
Dear Marcel, In message 201009292233.04020.korg...@home.nl you wrote: see tools/env for tools to read and write the U-Boot environment settings from Linux. This can be used to change the boot command, boot delay etc. I used an AVR processor before and did this in the environment

Re: [U-Boot] [PATCH] lib/hashtable.c: add algorithm for small buffer import

2010-09-29 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Andreas_Bie=DFmann?=, In message 8ae7e072-8389-49ca-b6c7-6c15c1877...@googlemail.com you wrote: With your configuration, importing a 64 kB environment buffer would result in 32 k entries in the hash table. Well therefore we have another 'algorithm' implemented to cope

Re: [U-Boot] [PATCH] lib/hashtable.c: add algorithm for small buffer import

2010-09-29 Thread Andreas Bießmann
Dear Wolfgang Denk, Am 29.09.2010 um 23:02 schrieb Wolfgang Denk: Dear =?iso-8859-1?Q?Andreas_Bie=DFmann?=, In message 8ae7e072-8389-49ca-b6c7-6c15c1877...@googlemail.com you wrote: With your configuration, importing a 64 kB environment buffer would result in 32 k entries in the hash

Re: [U-Boot] [PATCH 15/17] 86xx: Create common linker script

2010-09-29 Thread Timur Tabi
On Wed, Sep 29, 2010 at 2:05 PM, Peter Tyser pty...@xes-inc.com wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org ---  arch/powerpc/cpu/mpc86xx/config.mk                 |    3 +  .../powerpc/cpu/mpc86xx}/u-boot.lds                |    0  

Re: [U-Boot] [PATCH 15/17] 86xx: Create common linker script

2010-09-29 Thread Peter Tyser
On Wed, 2010-09-29 at 18:24 -0500, Timur Tabi wrote: On Wed, Sep 29, 2010 at 2:05 PM, Peter Tyser pty...@xes-inc.com wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc86xx/config.mk |3 +

Re: [U-Boot] [PATCH 02/17] mpc8640: Update the io_sel fields for PCI Express

2010-09-29 Thread Kumar Gala
On Sep 29, 2010, at 2:05 PM, Peter Tyser wrote: Previously io_sel=0xe incorrect stated PCIE1 was enabled. Also add support for the mpc8640's PCIE2 interface. Signed-off-by: Peter Tyser pty...@xes-inc.com CC: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc8xxx/pci_cfg.c |

Re: [U-Boot] [PATCH 0/7] patch set for P1021MDS support

2010-09-29 Thread Kumar Gala
On Aug 16, 2010, at 5:07 AM, Wolfgang Denk wrote: Dear Haiying Wang, In message 1281945655.24612.10.ca...@localhost.localdomain you wrote: Ok, will send patch against mainline. It's odd that my patches sent with this [PATCH 0/7] did not show up in the maillist, including the three 8569