[U-Boot] [PATCH 1/2] powerpc: fix mpc8315erdb and mpc8313erdb NAND linker script

2010-11-22 Thread Joakim Tjernlund
You cannot use _GOT2_TABLE_ within its defintion. Move __got2_entries outside _GOT2_TABLE_ defining scope. Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se --- nand_spl/board/freescale/mpc8313erdb/u-boot.lds |2 +- nand_spl/board/freescale/mpc8315erdb/u-boot.lds |2 +- 2

[U-Boot] [PATCH 2/2] mpc83xx: Add relocation support for -fpic

2010-11-22 Thread Joakim Tjernlund
By rearranging the linker script we get support for relocation of -fpic for free. Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se --- arch/powerpc/cpu/mpc83xx/u-boot.lds |5 +++-- nand_spl/board/freescale/mpc8313erdb/u-boot.lds |4 +++-

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix clock setup

2010-11-22 Thread Minkyu Kang
Dear Darius Augulis, On 19 November 2010 17:54, Darius Augulis augulis.dar...@gmail.com wrote: Hi, On Fri, Nov 19, 2010 at 10:32 AM, Minkyu Kang proms...@gmail.com wrote: Dear Darius Augulis, On 13 November 2010 03:05, Darius Augulis augulis.dar...@gmail.com wrote: Fix pll divider values

[U-Boot] [PATCH] e1000: fix compile warning

2010-11-22 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

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Premi, Sanjeev
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Saturday, November 20, 2010 1:44 AM To: Premi, Sanjeev Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Build failures with older toolchain Dear Premi, Sanjeev, In message

Re: [U-Boot] [PATCH] e1000: fix compile warning

2010-11-22 Thread Albert ARIBAUD
Le 22/11/2010 09:48, Wolfgang Denk a écrit : - txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev, packet)); + txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev, nv_packet)); Wouldn't type-casting packet right here work? e.g.: txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev,

[U-Boot] corrections for LL TEMAC bug fixing

2010-11-22 Thread Stephan Linz
Hi Michal, as announced here is the correction for the LL TEMAC bugfixing. I've changed all printf() to puts(). Moreover I've corrected the wrong result code (-1) if we can't found a real phy -- my mistake ;-). Please use the new patch for your tests on real hw. Best regards, Stephan Linz

[U-Boot] [PATCH V2 1/1] net: fix some bugs in LL TEMAC driver

2010-11-22 Thread Stephan Linz
* avoid using link variable uninitialized * avoid using phy_addr variable with invalid value * reorganize phy control: first looking for phy than link * return with error (result value 0) if no phy/link was found * fix boolean mistake in wait for link: wait as long as we got phy

Re: [U-Boot] [PATCH] e1000: fix compile warning

2010-11-22 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4cea3a7b.1070...@free.fr you wrote: Le 22/11/2010 09:48, Wolfgang Denk a écrit : - txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev, packet)); + txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev, nv_packet)); Wouldn't type-casting packet right here

Re: [U-Boot] [PATCH] e1000: fix compile warning

2010-11-22 Thread Albert ARIBAUD
Le 22/11/2010 11:07, Wolfgang Denk a écrit : Dear Albert ARIBAUD, In message4cea3a7b.1070...@free.fr you wrote: Le 22/11/2010 09:48, Wolfgang Denk a écrit : - txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev, packet)); + txp-buffer_addr = cpu_to_le64(virt_to_bus(hw-pdev, nv_packet));

[U-Boot] [PATCH 1/2] S5P: smdkc100: fix for relocation

2010-11-22 Thread Minkyu Kang
Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/samsung/smdkc100/smdkc100.c | 10 +++--- include/configs/smdkc100.h|2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 2/2] S5P: goni: fix for relocation

2010-11-22 Thread Minkyu Kang
Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/samsung/goni/goni.c | 10 -- include/configs/s5p_goni.h |2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/board/samsung/goni/goni.c

Re: [U-Boot] [PATCHv2] mpc83xx: Make it boot again

2010-11-22 Thread Joakim Tjernlund
Joakim Tjernlund joakim.tjernl...@transmode.se wrote on 2010/11/19 14:15:33: After the removal of COLD/WARM start flags my mpc8321 board didn't boot anymore. Trial and error suggests that map/remap_flash_by_xxx needs to wait after updating LBLAWAR1 to make sure the the change has

Re: [U-Boot] [PATCH] e1000: fix compile warning

2010-11-22 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4cea4e1c.2050...@free.fr you wrote: No, it doesn't. The virt_to_bus() macro already has such a cast internally, but it doesn't work here. ... Hmm, then maybe it is not the type that causes the warning, but a qualifier such as 'const' ? It's the 'volatile'

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Premi, Sanjeev
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Premi, Sanjeev Sent: Monday, November 22, 2010 2:44 PM To: Wolfgang Denk Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Build failures with older toolchain -Original

Re: [U-Boot] [PATCH v3] Seagate FreeAgent DockStar support

2010-11-22 Thread Eric Cooper
On Sun, Nov 21, 2010 at 09:37:18PM -0800, Prafulla Wadaskar wrote: diff --git a/board/Seagate/dockstar/kwbimage.cfg b/board/Seagate/dockstar/kwbimage.cfg [...] Are the contents for this file exactly same as sheevaplug/kwbimage.cfg? If yes then you can reuse that file and avoid adding this

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Albert ARIBAUD
Le 22/11/2010 14:50, Premi, Sanjeev a écrit : Tried the same stuff for overo and no issues! Since there linker scripts are same between omap3_evm, omap3_beagle and omap3_overo, only difference could have been board specific code. I was hoping to find some code that might be offending the

Re: [U-Boot] [PATCH V2 1/2] Davinci 8xx: Move common functions to share code

2010-11-22 Thread Ben Gardiner
Hi Stefano, On Mon, Nov 22, 2010 at 2:28 AM, Stefano Babic sba...@denx.de wrote: [...] there is at the moment no plan to add support to ea20 for USB or SD. However, Things could be changed when a new revision of hardware will become available (at the beginning of next years). Thank you for

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Premi, Sanjeev
-Original Message- From: Albert ARIBAUD [mailto:albert.arib...@free.fr] Sent: Monday, November 22, 2010 8:02 PM To: Premi, Sanjeev Cc: Wolfgang Denk; u-boot@lists.denx.de Subject: Re: Build failures with older toolchain Le 22/11/2010 14:50, Premi, Sanjeev a écrit : Tried the

Re: [U-Boot] [PATCH 2/2] mpc83xx: Add relocation support for -fpic

2010-11-22 Thread Joakim Tjernlund
By rearranging the linker script we get support for relocation of -fpic for free. Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se --- arch/powerpc/cpu/mpc83xx/u-boot.lds |5 +++-- nand_spl/board/freescale/mpc8313erdb/u-boot.lds |4 +++-

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Albert ARIBAUD
Le 22/11/2010 16:02, Premi, Sanjeev a écrit : -Original Message- From: Albert ARIBAUD [mailto:albert.arib...@free.fr] Sent: Monday, November 22, 2010 8:02 PM To: Premi, Sanjeev Cc: Wolfgang Denk; u-boot@lists.denx.de Subject: Re: Build failures with older toolchain Le 22/11/2010

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Premi, Sanjeev
-Original Message- From: Albert ARIBAUD [mailto:albert.arib...@free.fr] Sent: Monday, November 22, 2010 8:54 PM To: Premi, Sanjeev Cc: u-boot@lists.denx.de Subject: Re: Build failures with older toolchain Le 22/11/2010 16:02, Premi, Sanjeev a écrit : -Original Message-

Re: [U-Boot] Build failures with older toolchain

2010-11-22 Thread Albert ARIBAUD
Le 22/11/2010 16:27, Premi, Sanjeev a écrit : Would you want me to share the build logs or the last step? The generated u-boot.lds is also same. It was my first step. Obviously you don't have the ELF binary for the failure case, but maybe you have the map file for it? Then can you

Re: [U-Boot] [PATCH V2 1/2] Davinci 8xx: Move common functions to share code

2010-11-22 Thread Paulraj, Sandeep
http://www.mail-archive.com/u-boot@lists.denx.de/msg32375.html Sadly that patch never made it to the mainline It seems to me the only reason the patch did not go to the mainline was to understand who should merge it and then push to Wolfgang. Usually I take small changes to the other

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix clock setup

2010-11-22 Thread Darius Augulis
Hi, On 11/22/2010 10:48 AM, Minkyu Kang wrote: Dear Darius Augulis, On 19 November 2010 17:54, Darius Augulisaugulis.dar...@gmail.com wrote: Hi, On Fri, Nov 19, 2010 at 10:32 AM, Minkyu Kangproms...@gmail.com wrote: Dear Darius Augulis, On 13 November 2010 03:05, Darius

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix clock setup

2010-11-22 Thread Albert ARIBAUD
Le 22/11/2010 18:44, Darius Augulis a écrit : According to the TRM... what does this abbreviation mean? Technical Reference Manual. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH] ARM: S3C64XX: add support for mini6410

2010-11-22 Thread Darius Augulis
Hi all, is there anybody interested in U-boot for s3c64xx? If not, at least I would like to ask Wolfgang to review generic things (not architecture specific). I will send some minor issues fixed with next patch version. Mostly they will be board specific initialisation issues. New nand spl code

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-22 Thread Darius Augulis
Hi Wolfgang, On 11/13/2010 08:13 PM, Wolfgang Denk wrote: Dear Darius Augulis, In message4cdec32b.7050...@gmail.com you wrote: FWIW, there already is a solution based on statics and post-relocation initialization for orion5x. The principle there is that the timer is not used before

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

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

[U-Boot] [PATCH 2/7] 8xxx/ddr: add support to only compute the ddr sdram size

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com This patch adds fsl_ddr_sdram_size to only calculate the ddr sdram size, in case that the DDR SDRAM is initialized in the 2nd stage uboot and should not be intialized again in the final stage uboot. Signed-off-by: Haiying Wang

[U-Boot] [PATCH 5/7] powerpc/p1021: add more P1021 defines.

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com Signed-off-by: Haiying Wang haiying.w...@freescale.com --- arch/powerpc/include/asm/immap_85xx.h |6 ++ arch/powerpc/include/asm/immap_qe.h |9 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/7] powerpc/85xx: do not reloc l2srbar if CONFIG_FLASH_BASE is not defined

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com This fixes the compiling error for the board which doesn't have NOR flash (so CONFIG_FLASH_BASE is not defined) Signed-off-by: Haiying Wang haiying.w...@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu_init.c |2 +- 1 files changed, 1

[U-Boot] [PATCH 6/7] powerpc/85xx: do not initialize QE if QE's firmware is in nand flash

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com For some board which doesn't have NOR flash and the QE's firmware(ucode) is saved in its NAND flash, we don't want call qe_init in cpu_init_r, but will call it later after nand is initialized. Signed-off-by: Haiying Wang haiying.w...@freescale.com

[U-Boot] [PATCH 3/7] Add support for third program loader

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com This patch introduces the third program loader(TPL) to load the final uboot image after the spl code. Once the CONFIG_SYS_TPL_BOOT is defined, the CONFIG_TPL_BOOT is enabled to generate the u-boot-tpl.bin. There are two examples to use tpl: 1. NAND

[U-Boot] [PATCH 7/7] p1021mds: add QE and UEC support

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com P1021 has some QE pins which need to be set in pmuxcr register before using QE functions. In this patch, pin QE0 and QE3 are set for UCC1 and UCC5 in Eth mode. QE9 and QE12 are set for MII management. QE12 needs to be released after MII access because

[U-Boot] [PATCH 4/7] arch/powerpc: Add P1021MDS board support

2010-11-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com This patch supports P1021MDS board to boot from NAND flash (No NOR flash on this board). And because P1021 only has 256K L2 SRAM, can not used for final uboot image, this patch defines the CONFIG_SYS_TPL_BOOT for P1021MDS so that DDR can be

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

2010-11-22 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Timur Tabi ti...@freescale.com --- Hello Anatolij Timur, I'm not happy about the CONFIG_FSL_DIU_FB hacking I had to do in Makefile and arch/powerpc/cpu/mpc512x/Makefile to make the fsl_diu_fb driver usable for

Re: [U-Boot] [PATCH] 512x: Cleanup for partial linking and --gc-sections

2010-11-22 Thread Timur Tabi
Wolfgang Denk wrote: I'm not happy about the CONFIG_FSL_DIU_FB hacking I had to do in Makefile and arch/powerpc/cpu/mpc512x/Makefile to make the fsl_diu_fb driver usable for boards where VENDOR is not set or != 'freescale'. Can we not move the fsl_diu_fb driver to a place with better global

Re: [U-Boot] [RFC PATCH] ARM: S3C64XX: add support for mini6410

2010-11-22 Thread Minkyu Kang
Dear Darius Augulis, On 23 November 2010 03:28, Darius Augulis augulis.dar...@gmail.com wrote: Hi all, is there anybody interested in U-boot for s3c64xx? If not, at least I would like to ask Wolfgang to review generic things (not architecture specific). I will send some minor issues fixed

[U-Boot] Please Check Attachment for Details

2010-11-22 Thread aisha kabila
Please Check Attachment for Details please open attached.pdf Description: Adobe PDF document ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] MACHINE ID

2010-11-22 Thread Marek Vasut
On Sunday 21 November 2010 07:47:07 hong zhang wrote: --- On Sat, 11/20/10, Oliver Schneidewind oliver...@schneidewind- consulting.de wrote: From: Oliver Schneidewind oliver...@schneidewind-consulting.de Subject: Re: MACHINE ID To: linux-...@lists.infradead.org Date: Saturday, November

Re: [U-Boot] [PATCH 3/7] Add support for third program loader

2010-11-22 Thread Wolfgang Denk
Dear haiying.w...@freescale.com, In message 1290462446-1459-3-git-send-email-haiying.w...@freescale.com you wrote: From: Haiying Wang haiying.w...@freescale.com This patch introduces the third program loader(TPL) to load the final uboot image after the spl code. Once the CONFIG_SYS_TPL_BOOT

Re: [U-Boot] arch/powerpc/cpu/ppc4xx/start.S: comment makes little sense

2010-11-22 Thread Stefan Roese
Hi Wolfgang, On Sunday 21 November 2010 20:17:01 Wolfgang Denk wrote: I think this comment in arch/powerpc/cpu/ppc4xx/start.S needs a bit of cleanup: 51 /* U-Boot - Startup Code for AMCC 4xx PowerPC based Embedded Boards 52 * 53 * 54 * The processor starts at 0xfffc and

Re: [U-Boot] [PATCH 0/7] Address partial linking issues

2010-11-22 Thread Stefan Roese
Hi Wolfgang, On Sunday 21 November 2010 22:03:33 Wolfgang Denk wrote: The following patch series prepares the groung a bit, then enables --gc-sections, -ffunction-sections and -ffunction-sections for the Power Archtiecture, and then starts to make all PowerPC boards build again, beginning

Re: [U-Boot] [PATCH v3] Seagate FreeAgent DockStar support

2010-11-22 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Eric Cooper Sent: Monday, November 22, 2010 7:27 PM To: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v3] Seagate FreeAgent DockStar support On Sun, Nov 21, 2010 at