[U-Boot] Fwd: this eco is boomin for me

2010-11-25 Thread Loïc Bernard
hello , I know that youre always working all the time... I ran across this news article that I think can really help you out. The article describes ways you can earn more cash on the net. It's easier than it sounds. You should really read it for yourself and make like 700 a day like me: a

Re: [U-Boot] About uClinux auto start ?

2010-11-25 Thread wzc0066
2010/11/24 wzc0066 wzc0...@gmail.com The env set as below: bootcmd=run flashboot flashboot=sf probe 1; sf read 0x100 0x3 0x32; bootm 0x100 After enter the uboot console, uClinux can be started by command boot; but after power on (reset) the board, the error info is: * *

Re: [U-Boot] RFC: missing patch review for LL TEMAC driver to u-boot

2010-11-25 Thread Michal Simek
Stephan Linz wrote: Am Mittwoch, 17. November 2010, um 13:15:24 schrieb Stephan Linz: Hi Michal, --snip-- @Michal: Where can I find the latest commit for cherry-pick? You can look at this. http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=summary Thank you very much for your fast

Re: [U-Boot] [PATCH 2/2] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-11-25 Thread Anatolij Gustschin
Hi Remy, On Tue, 02 Nov 2010 21:46:33 +0100 Wolfgang Denk w...@denx.de wrote: Dear Remy Bohmer, In message aanlktik0bxxfe8d5+96gy_=+cu0h_fkeyutfyo=cr...@mail.gmail.com you wrote: As U-boot project-owner you know you have the last word in this. This is a pretty precious resource

Re: [U-Boot] [PATCH 2/2] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-11-25 Thread Wolfgang Denk
Dear Anatolij, In message 20101125111729.3ce4f...@wker you wrote: I just wanted to ask, what is your final decision on this patch after this discusion. Do you NACK it an we should find the real issue and fix it accordingly? Or can you accept this patch as is? I'm afraid we have neither time

Re: [U-Boot] Mathematics operation on uboot variables

2010-11-25 Thread Detlev Zundel
Hi Eran, Is there any way to use mathematics operation on uboot environment or uboot local variables? since $varA+$varB and $(varA+varB) just save the string. You need to include CONFIG_CMD_SETEXPR in your configuration for such a functionality. See common/cmd_setexpr.c. Cheers Detlev

[U-Boot] Bad FIT image found

2010-11-25 Thread Leif Sörman
I'm trying to boot my rtos OSE with the bootm command but it fails. I have made a uimage for the rtos and download it to the target at address 0x100. I've also downloaded a flat device tree blob to address 0x40. u-boot says = bootm 0x100 - 0x40 WARNING: adjusting available

[U-Boot] [PATCH 01/24] 0000-Address-partial-linking-issues

2010-11-25 Thread Wolfgang Denk
The switch from archive libraries to partial linking has introduced a number of problems, that are non-trivial to solve. For example, it is no longer possible to include individual object files in the linker script as we did before for example in the case of boards with embedded environment to

[U-Boot] [PATCH 03/24] e1000: fix compile warning

2010-11-25 Thread Wolfgang Denk
Get rid of compiler warning: e1000.c: In function 'e1000_transmit': e1000.c:5028: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type Signed-off-by: Wolfgang Denk w...@denx.de --- drivers/net/e1000.c |3 ++- 1 files changed, 2 insertions(+), 1

[U-Boot] [PATCH 04/24] IDS8247: remove redundant flash.c file

2010-11-25 Thread Wolfgang Denk
The IDS8247 board is configured to use the CFI flash driver, so drop the now redundant custom flash.c file. Signed-off-by: Wolfgang Denk w...@denx.de --- board/ids8247/Makefile |2 +- board/ids8247/flash.c | 484 2 files changed, 1

[U-Boot] [PATCH 06/24] cam5200_niosflash: fix build warnings

2010-11-25 Thread Wolfgang Denk
Fix warnings: cam5200_flash.c: In function 'write_word_32': cam5200_flash.c:443: warning: dereferencing type-punned pointer will break strict-aliasing rules cam5200_flash.c: In function 'write_word_16': cam5200_flash.c:684: warning: dereferencing type-punned pointer will break strict-aliasing

[U-Boot] [PATCH 14/24 V2] ppc4xx/NAND: Reduce size of NAND SPL image

2010-11-25 Thread Wolfgang Denk
From: Stefan Roese s...@denx.de This is needed for the canyonlands_nand build target. Without it the resulting image won't fit into 4k. Signed-off-by: Stefan Roese s...@denx.de Cc: Scott Wood scottw...@freescale.com Acked-by: Scott Wood scottw...@freescale.com --- Stefan, if it's OK with you I

[U-Boot] [PATCH 23/24 V2] 8260: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc8260/u-boot.lds | 56 +++ board/atc/ti113x.c |4 +- board/cogent/u-boot.lds |6 +++- include/configs/cogent_mpc8260.h|2 +- 4 files changed, 19

[U-Boot] [PATCH 18/24 V2] 5xx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc5xx/u-boot.lds | 69 --- include/configs/cmi_mpc5xx.h |1 + 2 files changed, 17 insertions(+), 53 deletions(-) diff --git a/arch/powerpc/cpu/mpc5xx/u-boot.lds

[U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk: make CONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Wolfgang Denk
As we try to get rid of board specific config.mk files we must provide a way for board specific settings of the LDSCRIPT variable (path to the linker script) where needed. We now implement the following hierarchy: - Highest priority has a #define CONFIG_SYS_LDCONFIG in the board config file. -

[U-Boot] [PATCH 10/24 V2] PPChameleonEVB and CATcenter need a custom linker script

2010-11-25 Thread Wolfgang Denk
These boards use an embedded environment, which is not supported by the generic arch/powerpc/cpu/ppc4xx/u-boot.lds script. The breakage was introduced by commit 2cd95a2 ppc4xx: Remove board specific linker scripts from most PPC4xx boards Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese

[U-Boot] [PATCH 02/24] barco: drop unsupported board configuration

2010-11-25 Thread Wolfgang Denk
The barco board appears to be unmaintained since it was added about 5 years ago. The environment location has probably never been correct. Drop it. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Marc Leeman marc.lee...@barco.com --- CREDITS |5 - board/barco/Makefile |

[U-Boot] [PATCH 07/24 V2] common/Makefile: don't include env_embedded.o into libcommon

2010-11-25 Thread Wolfgang Denk
Some boards use an embedded environment, where env_embedded.o has to be linked at a special position in the U-Boot image; to make this possible, we do not include it into libcommon.o for such boards. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: Wolfgang Denk w...@denx.de ---

[U-Boot] [PATCH 08/24 V2] cpu/ppc4xx/Makefile: build only needed object files

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de --- Stefan, if it's OK with you I will pull this directly. arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c |4 --- arch/powerpc/cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c |3 -- arch/powerpc/cpu/ppc4xx/Makefile

[U-Boot] [PATCH 11/24 V2] ppc4xx: Fix build problems of IBM DDR2 NAND booting targets

2010-11-25 Thread Wolfgang Denk
From: Stefan Roese s...@denx.de This change is needed to compile the PPC4xx NAND booting targets equipped with the IBM DDR2 SDRAM controller. Signed-off-by: Stefan Roese s...@denx.de Cc: Wolfgang Denk w...@denx.de --- Stefan, if it's OK with you I will pull this directly.

[U-Boot] [PATCH 12/24 V3] POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections

2010-11-25 Thread Wolfgang Denk
The switch from archive libraries to partial linking has introduced a number of problems, that are non-trivial to solve. For example, it is no longer possible to include individual object files in the linker script as we did before for example in the case of boards with embedded environment to

[U-Boot] [PATCH 05/24] WINBOND_83C553: enable only on boards that actually use it.

2010-11-25 Thread Wolfgang Denk
So far, only the BAB7xx board would call the initialise_w83c553f() function for the WINBOND 83C553 chip, even though some other boards (HIDDEN_DRAGON, Sandpoint8240, Sandpoint8245) enabled it in their board configuration. These boards were also missing other config settings needed for that, which

[U-Boot] [PATCH 15/24 V2] 83xx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de Cc: Kim Phillips kim.phill...@freescale.com --- Kim, allthough the 83xx boards appear to build fine at first glance, some (or all?) of the NAND boot images are 4 GB in size. Could you please have a look what's going wrong there? Thanks. Kim, if it's OK

[U-Boot] [PATCH 13/24 V2] ppc4xx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
This commit adapts 4xx boards for partial linking with --gc-sections. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de Cc: Tirumala Marri tma...@apm.com Cc: David Updegraff d...@cray.com Cc: Matthias Fuchs

[U-Boot] [PATCH 24/24 V2] 74xx_7xx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/74xx_7xx/u-boot.lds | 91 + board/Marvell/db64360/u-boot.lds | 135 --- board/Marvell/db64460/u-boot.lds | 135 ---

[U-Boot] [PATCH 21/24 V2] 8220: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc8220/u-boot.lds | 56 +++ 1 files changed, 11 insertions(+), 45 deletions(-) diff --git a/arch/powerpc/cpu/mpc8220/u-boot.lds b/arch/powerpc/cpu/mpc8220/u-boot.lds index 31a7a0e..63cbbd7 100644

[U-Boot] [PATCH 20/24 V2] 5xxx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc5xxx/Makefile| 27 +++--- arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds | 61 - arch/powerpc/cpu/mpc5xxx/u-boot.lds | 57

[U-Boot] [PATCH 19/24 V2] 512x: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Timur Tabi ti...@freescale.com --- Makefile|5 ++- arch/powerpc/cpu/mpc512x/Makefile |1 - arch/powerpc/cpu/mpc512x/u-boot.lds | 53 ++

[U-Boot] [PATCH 16/24 V2] 86xx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de Cc: Kumar Gala ga...@kernel.crashing.org --- Kumar, if it's OK with you I will pull this directly. arch/powerpc/cpu/mpc86xx/Makefile |6 ++-- arch/powerpc/cpu/mpc86xx/u-boot.lds | 36 ++ 2 files changed, 6

[U-Boot] [PATCH 22/24 V2] 824x: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc824x/u-boot.lds | 53 --- board/cpc45/pd67290.c |4 +- board/mousse/u-boot.lds | 56 +++ board/mvblue/u-boot.lds | 99

Re: [U-Boot] [PATCH 08/24 V2] cpu/ppc4xx/Makefile: build only needed object files

2010-11-25 Thread Stefan Roese
Hi Wolfgang, On Thursday 25 November 2010 17:00:28 Wolfgang Denk wrote: Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de --- Stefan, if it's OK with you I will pull this directly. Yes, please do: Acked-by: Stefan Roese s...@denx.de Cheers, Stefan -- DENX Software

Re: [U-Boot] [PATCH 10/24 V2] PPChameleonEVB and CATcenter need a custom linker script

2010-11-25 Thread Stefan Roese
Hi Wolfgang, On Thursday 25 November 2010 17:00:30 Wolfgang Denk wrote: These boards use an embedded environment, which is not supported by the generic arch/powerpc/cpu/ppc4xx/u-boot.lds script. The breakage was introduced by commit 2cd95a2 ppc4xx: Remove board specific linker scripts from

Re: [U-Boot] [PATCH 11/24 V2] ppc4xx: Fix build problems of IBM DDR2 NAND booting targets

2010-11-25 Thread Stefan Roese
Hi Wolfgang, On Thursday 25 November 2010 17:00:31 Wolfgang Denk wrote: From: Stefan Roese s...@denx.de This change is needed to compile the PPC4xx NAND booting targets equipped with the IBM DDR2 SDRAM controller. Signed-off-by: Stefan Roese s...@denx.de Cc: Wolfgang Denk w...@denx.de

Re: [U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk: makeCONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Haiying Wang
On Thu, 2010-11-25 at 09:00 -0700, Wolfgang Denk wrote: As we try to get rid of board specific config.mk files we must provide a way for board specific settings of the LDSCRIPT variable (path to the linker script) where needed. We now implement the following hierarchy: - Highest priority

Re: [U-Boot] [PATCH] OMAP3: add CM-T35 board

2010-11-25 Thread Paulraj, Sandeep
Mike Rapoport wrote, on 11/23/2010 01:29 AM: minor comments follow: [...] diff --git a/board/cm_t35/cm_t35.h b/board/cm_t35/cm_t35.h new file mode 100644 index 000..514017d --- /dev/null +++ b/board/cm_t35/cm_t35.h [..] /*DSS_DATA22*/\ + MUX_VAL(CP(DSS_DATA23),

Re: [U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk: makeCONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Wolfgang Denk
Dear Haiying Wang, In message 1290702018.2007.4.ca...@haiying-laptop you wrote: - If CONFIG_SYS_LDCONFIG is not set, and the system is booting from NAND (CONFIG_NAND_U_BOOT is set), then a board specific linker script board/$(BOARDDIR)/u-boot-nand.lds gets use. u-boot-nand.lds is

Re: [U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk: makeCONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Wolfgang Denk
Dear Haiying Wang, In message 1290702018.2007.4.ca...@haiying-laptop you wrote: On Thu, 2010-11-25 at 09:00 -0700, Wolfgang Denk wrote: As we try to get rid of board specific config.mk files we must provide a way for board specific settings of the LDSCRIPT variable (path to the linker

Re: [U-Boot] [PATCH 15/24 V2] 83xx: Cleanup for partial linking and --gc-sections

2010-11-25 Thread Wolfgang Denk
Dear Kim, In message 1290700844-31427-16-git-send-email...@denx.de I wrote: Signed-off-by: Wolfgang Denk w...@denx.de Cc: Kim Phillips kim.phill...@freescale.com --- Kim, allthough the 83xx boards appear to build fine at first glance, some (or all?) of the NAND boot images are 4 GB in size.

Re: [U-Boot] [PATCH] 83xx: Fix NAND_SPL link address

2010-11-25 Thread Wolfgang Denk
Dear Scott Wood, In message 20101124232840.ga17...@udp111988uds.am.freescale.net you wrote: Apply the same fix for 83xx as was done for 85xx in commit 96196a1f7546904563994d2d041804a816d7c139. Without this, NAND SPLs are built with the text base intended for the main image, resulting in a

Re: [U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk:makeCONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Haiying Wang
On Thu, 2010-11-25 at 10:19 -0700, Wolfgang Denk wrote: Dear Haiying Wang, In message 1290702018.2007.4.ca...@haiying-laptop you wrote: - If CONFIG_SYS_LDCONFIG is not set, and the system is booting from NAND (CONFIG_NAND_U_BOOT is set), then a board specific linker script

Re: [U-Boot] [PATCH 15/24 V2] 83xx: Cleanup for partial linking and--gc-sections

2010-11-25 Thread Haiying Wang
On Thu, 2010-11-25 at 09:00 -0700, Wolfgang Denk wrote: Signed-off-by: Wolfgang Denk w...@denx.de Cc: Kim Phillips kim.phill...@freescale.com --- Kim, allthough the 83xx boards appear to build fine at first glance, some (or all?) of the NAND boot images are 4 GB in size. Could you please

Re: [U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk:makeCONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Wolfgang Denk
Dear Haiying Wang, In message 1290708988.2007.13.ca...@haiying-laptop you wrote: u-boot-nand.lds is not in board/$(BOARDDIR) for 85xx at least, it is in $(SRCTREE)/$(CPUDIR)/ This is not correct - situation before applying my patches: - find * -name u-boot-nand.lds

Re: [U-Boot] [PATCH 15/24 V2] 83xx: Cleanup for partial linking and--gc-sections

2010-11-25 Thread Wolfgang Denk
Dear Haiying Wang, In message 1290709405.2007.16.ca...@haiying-laptop you wrote: I think the u-boot.lds in nand_spl/board/freescale/mpc83xx/ needs to have the fix as well. Which fix do you mean? I see two such files: nand_spl/board/freescale/mpc8313erdb/u-boot.lds

Re: [U-Boot] [PATCH 15/24 V2] 83xx: Cleanup for partial linking and--gc-sections

2010-11-25 Thread Haiying Wang
On Thu, 2010-11-25 at 11:32 -0700, Wolfgang Denk wrote: Dear Haiying Wang, In message 1290709405.2007.16.ca...@haiying-laptop you wrote: I think the u-boot.lds in nand_spl/board/freescale/mpc83xx/ needs to have the fix as well. Which fix do you mean? I see two such files:

Re: [U-Boot] [PATCH 09/24 V2] arch/powerpc/*/config.mk:makeCONFIG_SYS_LDSCRIPT settings work

2010-11-25 Thread Haiying Wang
On Thu, 2010-11-25 at 11:28 -0700, Wolfgang Denk wrote: Dear Haiying Wang, In message 1290708988.2007.13.ca...@haiying-laptop you wrote: u-boot-nand.lds is not in board/$(BOARDDIR) for 85xx at least, it is in $(SRCTREE)/$(CPUDIR)/ This is not correct - situation before

Re: [U-Boot] RFC: missing patch review for LL TEMAC driver to u-boot

2010-11-25 Thread Stephan Linz
Am Donnerstag, 25. November 2010, um 10:25:02 schrieb Michal Simek: Stephan Linz wrote: Am Mittwoch, 17. November 2010, um 13:15:24 schrieb Stephan Linz: Hi Michal, --snip-- Hi Michal, thanks again. I've to fixed some bugs. The corresponding patches I will send in a separeted

[U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-25 Thread Albert Aribaud
bulk addition of ELF relocation support to ARM cpus arm946es, arm720t,arm920t, arm925t, arm_intcm, ixp, lh7a40x, s3c44b0, and sa1100. Signed-off-by: Albert Aribaud albert.arib...@free.fr --- arch/arm/cpu/arm720t/start.S | 119 +

[U-Boot] [PATCH] usb_ether: register usb ethernet gadget at each eth init

2010-11-25 Thread Lei Wen
Since the ether may not be the only one usb gadget would be used in the uboot, it is neccessary to do the register each time the eth begin to work to make usb gadget driver less confussed when we want to use two different usb gadget at the same time. Usb gadget driver could simple ignore the