Re: [U-Boot] still an issue ?? - Can't get strong symbol to override weak one

2010-11-17 Thread Wolfgang Denk
Dear Joachim Rahn, In message <4ce4d64f.4090...@helmholtz-berlin.de> you wrote: > > O.k. so I will use my small local workaround until your proposed > patch is accepted and included in the official source tree. That was pulled into mainline last night. Best regards, Wolfgang Denk -- DENX Sof

[U-Boot] Please pull u-boot-sparc.git net branch

2010-11-17 Thread Daniel Hellstrom
Dear Wolfgang, Please pull the net branch of the Sparc repository. The patches include some bug fixes and debug printout cleanups of the GRETH network driver. Thanks, Daniel Hellstrom The following changes since commit 6163f5b4c8873848ed023054bc401727301ea537: Kumar Gala (1): malloc:

[U-Boot] [PATCH] Devkit8000: Fix build after introduction of GENERATED_GBL_DATA_SIZE

2010-11-17 Thread Thomas Weber
This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR. This patch adopts the commit 31bfcf1c5776df3d90286aa15104c45096d53dc6 from Steve Sakoman and Sandeep Paulraj on Devkit8000. Signed-off-by: Thomas Weber --- include/configs/devkit8000.h |6

Re: [U-Boot] still an issue ?? - Can't get strong symbol to override weak one

2010-11-17 Thread Joachim Rahn
Dear Sebastian, thanks for the fast response! O.k. so I will use my small local workaround until your proposed patch is accepted and included in the official source tree. Best regards, Joachim On 17.11.2010 13:41, Sebastien Carlier wrote: > Dear Joachim, > > On 2010-11-17 11:38:54, Joachim Rah

Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps fullduplex in SGMII mode"

2010-11-17 Thread Li Yang-R58472
>Subject: RE: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps >fullduplex in SGMII mode" > >On Wed, 2010-11-17 at 21:13 -0700, Li Yang-R58472 wrote: >> >Subject: Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps >> >full duplex in SGMII mode" >> > >> >Hi Zhao, >> > >> >> In mess

Re: [U-Boot] [PATCH v4 1/1] imx: Get fec mac address from fuse

2010-11-17 Thread Jason Liu
2010/11/18 Wolfgang Denk : > Dear Jason Liu, > > In message <1290059063-20899-1-git-send-email-r64...@freescale.com> you wrote: >> The patch is to support getting FEC MAC address from fuse bank. >> >> Signed-off-by: Jason Liu > ... >> +struct fuse_bank1_regs { >> +     u32     fuse0_8[9]; >> +    

Re: [U-Boot] [PATCH V5 1/2] ARM: fix linker file for newer ld support

2010-11-17 Thread Albert ARIBAUD
Le 17/11/2010 20:45, Wolfgang Denk a écrit : >> older ld emitted all ELF relocations in input sections named >> .rel.dyn, whereas newer ld uses names of the form .rel*. The >> linker script only collected .rel.dyn input sections. Rewrite >> to collect all .rel* input sections. >> >> Signed-off-by:

Re: [U-Boot] [PATCH v4 1/1] imx: Get fec mac address from fuse

2010-11-17 Thread Wolfgang Denk
Dear Jason Liu, In message <1290059063-20899-1-git-send-email-r64...@freescale.com> you wrote: > The patch is to support getting FEC MAC address from fuse bank. > > Signed-off-by: Jason Liu ... > +struct fuse_bank1_regs { > + u32 fuse0_8[9]; > + u32 mac_addr[6]; > + u32 f

[U-Boot] [PATCH v4 1/1] imx: Get fec mac address from fuse

2010-11-17 Thread Jason Liu
The patch is to support getting FEC MAC address from fuse bank. Signed-off-by: Jason Liu --- Changes for v2: - correct the mac address byte order according to review comments - add memset(edev, 0. sizeof(*edev)) when do fec_probe, - fix some code comments Changes for v3: - rebase - address

Re: [U-Boot] ELDK support MPC8641D

2010-11-17 Thread Wolfgang Denk
Dear Brent Bartson, In message <83a42a417fd59e48917448f8390945b70cb...@exchange1.qvm.local> you wrote: > > Does ELDK support MPC8641D ? Yes, it does. See http://www.denx.de/wiki/view/DULG/ELDKSupportedTargetArchitectures Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD:

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

2010-11-17 Thread Sughosh Ganu
hi Ben, On Wed Nov 17, 2010 at 11:26:47AM -0500, Ben Gardiner wrote: > Hi Stefano, > > On Wed, Nov 17, 2010 at 5:09 AM, Stefano Babic wrote: > > [...] > > diff --git a/arch/arm/include/asm/arch-davinci/da8xx_common.h > > b/arch/arm/include/asm/arch-davinci/da8xx_common.h > > deleted file mode 1

Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode"

2010-11-17 Thread Peter Tyser
On Wed, 2010-11-17 at 21:13 -0700, Li Yang-R58472 wrote: > >Subject: Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full > >duplex in SGMII mode" > > > >Hi Zhao, > > > >> In message <1289986984-2314-1-git-send-email-b26...@freescale.com> you > >wrote: > >> > On P2020DS and MPC8572DS,

Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode"

2010-11-17 Thread Li Yang-R58472
>Subject: Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full >duplex in SGMII mode" > >Hi Zhao, > >> In message <1289986984-2314-1-git-send-email-b26...@freescale.com> you >wrote: >> > On P2020DS and MPC8572DS, the link to SGMII card which use Vitesse >> > VSC8234 PHY can't come up.

Re: [U-Boot] [PATCH v1] add mv_sdio driver for sheevaplug

2010-11-17 Thread Prafulla Wadaskar
Hi Gerald Sorry for late feedback, please find my comments inlined. > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Gérald Kerma > Sent: Sunday, August 29, 2010 4:07 AM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH v1]

Re: [U-Boot] [PATCH v1] add mv_sdio driver for sheevaplug

2010-11-17 Thread Prafulla Wadaskar
First of all Thanks for pinging on this. Yes, we can, but this needs some more modifications. I will provide review comments for this patch ASAP Regards.. Prafulla . . > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Clint Ada

[U-Boot] Ax88782 ethernet driver support in u-boot 3.0.2.7

2010-11-17 Thread sethu madhav
Hi, My environment is OMAP3 – board with u-boot 3.0.2.7 . The Ethernet chip which is present on my hardware is AX88782 I have checked in the u-boot . There is support for Ax88796. I would like to know is there any u-boot driver for Ax88782 ? If Anyone can provide the driver for the Ax88782

Re: [U-Boot] [PATCH v1] add mv_sdio driver for sheevaplug

2010-11-17 Thread Clint Adams
On Sun, Aug 29, 2010 at 12:37:16AM +0200, Gérald Kerma wrote: > Add mvsdio driver to Kirkwood SoC > Add SDIO support to SHEEVAPLUG Gérald, can this be adapted for GuruPlug? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

[U-Boot] ELDK support MPC8641D

2010-11-17 Thread Brent Bartson
Hello, Does ELDK support MPC8641D ? Regards, bbart...@xembedded.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Steve Sakoman, In message <1290034139.2927.1192.ca...@quadra> you wrote: > > I patched readenv to use the same nand_read_skip_bad function used in > the command line "nand read" tool. I no longer get the -EUCLEAN errors > when reading the environment after using fw_setenv to write from linux

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, 2010-11-17 at 16:08 -0600, Scott Wood wrote: > On Wed, 17 Nov 2010 22:40:49 +0100 > Wolfgang Denk wrote: > > > Dear Steve Sakoman, > > > > In message > > you wrote: > > > > > > readenv: offset = 24 > > > readenv: nand_read failure = -117 > > > *** Warning - readenv() failed, using

Re: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking

2010-11-17 Thread Mike Frysinger
On Wednesday, November 17, 2010 14:53:33 Sebastien Carlier wrote: > On 2010-11-17 13:06:49, Mike Frysinger wrote: > > On Wednesday, November 17, 2010 08:30:56 Sebastien Carlier wrote: > > > The size increase you noted seems to completely go away when adding > > > --gc-sections to LDFLAGS, but this

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 22:40:49 +0100 Wolfgang Denk wrote: > Dear Steve Sakoman, > > In message you > wrote: > > > > readenv: offset = 24 > > readenv: nand_read failure = -117 > > *** Warning - readenv() failed, using default environment > > > > I then immediately tried to use the nand read

[U-Boot] Freie Stelle. Vertrag. Heimarbeit/Nebenverdienst.

2010-11-17 Thread amnatcharoen
Guten Tag. Die Firma sucht Handelsmanager in Deutschland.. Wir bieten die interessante Arbeit in der Gesellschaft mit der soliden Autoritat. Die Moglichkeit, entfernt am Wohnsitz zu arbeiten. Der flexible Arbeitsplan, er lasst Ihnen, diese Arbeit mit Ihrer Tatigkeit zu vereinen. Keine besonde

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, Nov 17, 2010 at 1:40 PM, Wolfgang Denk wrote: > Dear Steve Sakoman, > > In message you > wrote: >> >> readenv: offset = 24 >> readenv: nand_read failure = -117 >> *** Warning - readenv() failed, using default environment >> >> I then immediately tried to use the nand read command to

Re: [U-Boot] Pull request: u-boot-arm

2010-11-17 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Lo=EFc?= Minier, In message <20101117213409.ga16...@bee.dooz.org> you wrote: > Hey > > On Wed, Nov 17, 2010, Wolfgang Denk wrote: > > Sanjeev Premi (3): > > omap3evm: Support relocation > > omap3evm: Wrap function under CONFIG_USB_OMAP3 > > omap3evm:

Re: [U-Boot] [PATCH 1/1] mx51evk: savenv or env save command does not work

2010-11-17 Thread Wolfgang Denk
Dear Scott Wood, In message <20101117152851.767ec...@udp111988uds.am.freescale.net> you wrote: > > > > So, I keep the same setting. If I change it, some guys main complain > > > why it change, it will make it > > > incompatible with the original env setting and make the customer env lost. I misse

[U-Boot] Mapping of DDR parameters to manufacturers SPD data for specific DDR

2010-11-17 Thread Brent Bartson
as CFG_DDR_CS0_BNDS, etc to the SPD params on the memory manufacturers SPD data sheet. Is there some cheater document available for this? Thanks, Brent __ Information from ESET NOD32 Antivirus, version of virus signature database 5627 (20101117) __ The message was checked by

Re: [U-Boot] [PATCH] powerpc/85xx: Relocate env_addr if we CONFIG_SYS_RAMBOOT

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 21:58:31 +0100 Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1290008461-21171-1-git-send-email-ga...@kernel.crashing.org> you > wrote: > > We use CONFIG_SYS_RAMBOOT for when boot out of NAND, SPI, SDHC/MMC > > and utilize a L2 or L3 cache in SRAM mode. In this cas

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Steve Sakoman, In message you wrote: > > readenv: offset = 24 > readenv: nand_read failure = -117 > *** Warning - readenv() failed, using default environment > > I then immediately tried to use the nand read command to read the same > block, and it was successful! Hm... any chance tha

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, Nov 17, 2010 at 12:47 PM, Wolfgang Denk wrote: > Dear Steve Sakoman, > > In message you > wrote: >> >> After writing the environment with fw_setenv in linux, u-boot's read >> of the environment on the subsequent boot always fails with either >> EBADMSG or EUCLEAN. > > Can you read - in U

Re: [U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings

2010-11-17 Thread Loïc Minier
Hey Wolfgang! Would you mind considering these patches from earlier this month for u-boot-arm? These fixes the build of ca9x4_ct_vxp which currently fails for me: http://hudson.dooz.org/job/u-boot_master/BOARD=ca9x4_ct_vxp/39/console arm-linux-gnueabi-gcc -g -Os -fno-common -ffixe

Re: [U-Boot] Pull request: u-boot-arm

2010-11-17 Thread Loïc Minier
Hey On Wed, Nov 17, 2010, Wolfgang Denk wrote: > Sanjeev Premi (3): > omap3evm: Support relocation > omap3evm: Wrap function under CONFIG_USB_OMAP3 > omap3evm: Fix mechanism to identify board revision I was expecting this would fix the build of omap3_evm, but it still

Re: [U-Boot] [PATCH 1/1] mx51evk: savenv or env save command does not work

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 08:42:16 +0100 Wolfgang Denk wrote: > Dear Jason Liu, > > In message you > wrote: > > So, I keep the same setting. If I change it, some guys main complain > > why it change, it will make it > > incompatible with the original env setting and make the customer env lost. > >

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

2010-11-17 Thread Darius Augulis
Add support for mini6410 from FriendlyARM Signed-off-by: Darius Augulis --- MAKEALL |1 Makefile|4 arch/arm/cpu/arm1176/s3c64xx/Makefile |6 - board/friendly_arm/mini6410/Makefile

Re: [U-Boot] [PATCH v2] malloc: Fix issue with calloc memory possibly being non-zero

2010-11-17 Thread Wolfgang Denk
Dear Kumar Gala, In message <1289868103-7702-1-git-send-email-ga...@kernel.crashing.org> you wrote: > Since we set #define MORECORE_CLEARS 1, the code assumes 'sbrk' always > returns zero'd out memory. However since its possible that free() > returns memory back to sbrk() via malloc_trim we coul

Re: [U-Boot] [PATCH] net: e1000: typo using wrong argument to sizeof

2010-11-17 Thread Wolfgang Denk
Dear Matthew McClintock, In message <1289865773-10922-1-git-send-email-...@freescale.com> you wrote: > Typo from 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5 > > Signed-off-by: Matthew McClintock > --- > drivers/net/e1000.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, tha

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

2010-11-17 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/17 20:27:01: > > On Wed, 17 Nov 2010 20:15:01 +0100 > Joakim Tjernlund wrote: > > > Scott Wood wrote on 2010/11/17 20:03:25: > > > The "load, conditional branch, isync" sequence is documented in the > > > architecture manual (1.7.1), "even if the effects of the 'depen

Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 03:25:05 -0700 "Xie Shaohui-B21989" wrote: > From: Wood Scott-B07421 > Sent: Wednesday, November 17, 2010 5:55 AM > To: Wolfgang Denk > Cc: Xie Shaohui-B21989; u-boot@lists.denx.de; Gala Kumar-B11780 > Subject: Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from > esp

Re: [U-Boot] [PATCH] powerpc/85xx: Relocate env_addr if we CONFIG_SYS_RAMBOOT

2010-11-17 Thread Wolfgang Denk
Dear Kumar Gala, In message <1290008461-21171-1-git-send-email-ga...@kernel.crashing.org> you wrote: > We use CONFIG_SYS_RAMBOOT for when boot out of NAND, SPI, SDHC/MMC > and utilize a L2 or L3 cache in SRAM mode. In this case we will > end up changing the cache from SRAM mode back to cache bef

Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-17 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > > How does kwbimage.c work? Does it just wrap the image generated by mkimage > differently? Can it take any additional input files? It does take an additional input file. We have several such externsion in "mkimage" now: Marvell has their "kwbimage"

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Steve Sakoman, In message you wrote: > > After writing the environment with fw_setenv in linux, u-boot's read > of the environment on the subsequent boot always fails with either > EBADMSG or EUCLEAN. Can you read - in U-Boot - any other data written in Linux? Ecventually there is some dis

Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 13:42:43 +0100 Detlev Zundel wrote: > > Yes, a simple C tool to take an existing PBL or RCW dump and "espi-ize" > > it into a PBL dump would be nice. The user will still need to acquire > > the existing RCW manually. This only needs to be done once on a board; > > it's not p

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, Nov 17, 2010 at 9:39 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <4ce4092b.7090...@denx.de> you wrote: >> On 11/17/2010 05:30 PM, Steve Sakoman wrote: >> > I'm seeing some strange behavior with the fw_setenv tools on OMAP. >> > >> > Here's what I see when using the tools

Re: [U-Boot] Pull request: u-boot-arm

2010-11-17 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <20101117195029.907fb14e...@gemini.denx.de> you wrote: > The following changes since commit d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0: > > Merge branch 'master' of /home/wd/git/u-boot/master (2010-11-12 22:24:06 > +0100) > > are available in the git repository at

Re: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking

2010-11-17 Thread Sebastien Carlier
Dear Mike, On 2010-11-17 13:06:49, Mike Frysinger wrote: > On Wednesday, November 17, 2010 08:30:56 Sebastien Carlier wrote: > > On 2010-11-15 11:54:07, Wolfgang Denk wrote: > > > I notice that the patch affects the size of the resulting U-Boot > > > images. > > > > The size increase you noted se

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

2010-11-17 Thread Wolfgang Denk
The following changes since commit d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0: Merge branch 'master' of /home/wd/git/u-boot/master (2010-11-12 22:24:06 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Alagu Sankar (1): mmc: Add multi-block read sup

Re: [U-Boot] [PATCH V5 2/2] tx25: fix linker file for newer ld support

2010-11-17 Thread Wolfgang Denk
Dear Albert Aribaud, In message <1289853964-6525-2-git-send-email-albert.arib...@free.fr> you wrote: > older ld emitted all ELF relocations in input sections named > .rel.dyn, whereas newer ld uses names of the form .rel*. The > linker script only collected .rel.dyn input sections. Rewrite > to co

Re: [U-Boot] [PATCH V5 1/2] ARM: fix linker file for newer ld support

2010-11-17 Thread Wolfgang Denk
Dear Albert Aribaud, In message <1289853964-6525-1-git-send-email-albert.arib...@free.fr> you wrote: > older ld emitted all ELF relocations in input sections named > .rel.dyn, whereas newer ld uses names of the form .rel*. The > linker script only collected .rel.dyn input sections. Rewrite > to co

[U-Boot] [PATCH] [v3] powerpc/85xx: introduce 'fdt verify' command

2010-11-17 Thread Timur Tabi
Introduce the 'fdt verify' command, which verifies some of the physical addresses in the device tree. U-Boot uses macros to determine where devices should be located in physical memory, and Linux uses the device tree to determine where the devices are actually located. However, U-Boot does not up

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

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 20:15:01 +0100 Joakim Tjernlund wrote: > Scott Wood wrote on 2010/11/17 20:03:25: > > The "load, conditional branch, isync" sequence is documented in the > > architecture manual (1.7.1), "even if the effects of the 'dependency' > > are independent of the value loaded". > > S

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

2010-11-17 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/17 20:03:25: > > On Wed, 17 Nov 2010 18:26:02 +0100 > Joakim Tjernlund wrote: > > > Scott Wood wrote on 2010/11/17 18:05:37: > > > > > > On Wed, 17 Nov 2010 17:57:53 +0100 > > > Joakim Tjernlund wrote: > > > > > > > After adding some more stuff in start.S I find that

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

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 18:26:02 +0100 Joakim Tjernlund wrote: > Scott Wood wrote on 2010/11/17 18:05:37: > > > > On Wed, 17 Nov 2010 17:57:53 +0100 > > Joakim Tjernlund wrote: > > > > > After adding some more stuff in start.S I find that a lwz isn't > > > enough. An extra isync fixes this though >

Re: [U-Boot] [PATCH] [v2] powerpc/85xx: introduce 'fdt verify' command

2010-11-17 Thread Timur Tabi
Wolfgang Denk wrote: >> > struct fdt_header *working_fdt; >> > @@ -436,6 +450,10 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, >> > char * const argv[]) >> >else if (strncmp(argv[1], "re", 2) == 0) { >> >fdt_resize(working_fdt); >> >} >> > + /* verify the addresses in

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201011171313.27696.vap...@gentoo.org> you wrote: > > > Indeed this behaviour is normal. fw_printenv does not sort the output > > (not yet - patches welcome). > > why bloat the code ? why cant people simply: `fw_printenv | sort` ? Well, you are of course right, b

Re: [U-Boot] [PATCH] [v2] powerpc/85xx: introduce 'fdt verify' command

2010-11-17 Thread Wolfgang Denk
Dear Timur Tabi, In message <1290015805-18791-1-git-send-email-ti...@freescale.com> you wrote: > Introduce the 'fdt verify' command, which verifies some of the physical > addresses in the device tree. > + addr = fdt_translate_address(blob, off, reg); > + if (!addr) > +

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Mike Frysinger
On Wednesday, November 17, 2010 12:39:33 Wolfgang Denk wrote: > Stefano Babic wrote: > > On 11/17/2010 05:30 PM, Steve Sakoman wrote: > > > I'm seeing some strange behavior with the fw_setenv tools on OMAP. > > > > > > Here's what I see when using the tools on OMAP (overo in this case): > > > > >

Re: [U-Boot] request for ubifs recovery support

2010-11-17 Thread Albert ARIBAUD
Le 17/11/2010 19:01, Quotient Remainder a écrit : > Ar Céad, 2010-11-17 ag 17:25 +0100, scríobh Albert ARIBAUD: > >> Do you mean that, in Linux, you do a power cycle without (syncing and) >> unmounting a file system that will be critical to properly booting later >> on? If so, what is the rationale

Re: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking

2010-11-17 Thread Mike Frysinger
On Wednesday, November 17, 2010 08:30:56 Sebastien Carlier wrote: > On 2010-11-15 11:54:07, Wolfgang Denk wrote: > > I notice that the patch affects the size of the resulting U-Boot > > images. > > The size increase you noted seems to completely go away when adding > --gc-sections to LDFLAGS, but

Re: [U-Boot] request for ubifs recovery support

2010-11-17 Thread Quotient Remainder
Ar Céad, 2010-11-17 ag 17:25 +0100, scríobh Albert ARIBAUD: > Do you mean that, in Linux, you do a power cycle without (syncing and) > unmounting a file system that will be critical to properly booting later > on? If so, what is the rationale behind this too-quick power cycle? Yes, I'm testing

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, 2010-11-17 at 18:39 +0100, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <4ce4092b.7090...@denx.de> you wrote: > > On 11/17/2010 05:30 PM, Steve Sakoman wrote: > > > I'm seeing some strange behavior with the fw_setenv tools on OMAP. > > > > > > Here's what I see when using the

[U-Boot] [PATCH] [v2] powerpc/85xx: introduce 'fdt verify' command

2010-11-17 Thread Timur Tabi
Introduce the 'fdt verify' command, which verifies some of the physical addresses in the device tree. U-Boot uses macros to determine where devices should be located in physical memory, and Linux uses the device tree to determine where the devices are actually located. However, U-Boot does not up

Re: [U-Boot] Detecting U-boot in linux kernel startup

2010-11-17 Thread Wolfgang Denk
Dear Kristoffer Ericson, In message <20101117170442.ga...@boggieman> you wrote: > > Im in the situation where most of the hp jornada 700-series handhelds > got a rom containing wince while mine (and shortly alot more) contain uboot. > So instead of adding alot of #ifdefs inside the kernel, I thou

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Stefano Babic, In message <4ce4092b.7090...@denx.de> you wrote: > On 11/17/2010 05:30 PM, Steve Sakoman wrote: > > I'm seeing some strange behavior with the fw_setenv tools on OMAP. > > > > Here's what I see when using the tools on OMAP (overo in this case): > > > > 1. fw_printenv prints th

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

2010-11-17 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/17 18:05:37: > > On Wed, 17 Nov 2010 17:57:53 +0100 > Joakim Tjernlund wrote: > > > > From: Liu Dave-R63238 > > > To: Andre Schwarz > > > Cc: Wood Scott-B07421 , ku...@theia.denx.de, Tabi > > > Timur-B04825 , Phillips Kim-R1AAHA > > > , Gala , U-Boot List > > > >

Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-17 Thread Kumar Gala
On Nov 16, 2010, at 10:21 AM, Detlev Zundel wrote: > Hi Shaohui Xie, > > [...] > >> Can you not provide a plain and simple AUTOMATIC way to get this >> result? some plain stupid command line tool? Something that works as >> a simple "make XXX" ? So it can be scripted / automatized / used? > >

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

2010-11-17 Thread Scott Wood
On Wed, 17 Nov 2010 17:57:53 +0100 Joakim Tjernlund wrote: > > From: Liu Dave-R63238 > > To: Andre Schwarz > > Cc: Wood Scott-B07421 , ku...@theia.denx.de, Tabi > > Timur-B04825 , Phillips Kim-R1AAHA > > , Gala , U-Boot List > > > > Date: 2010/11/15 17:58 > > Subject: Re: [U-Boot] [PATCH] m

[U-Boot] Detecting U-boot in linux kernel startup

2010-11-17 Thread Kristoffer Ericson
Greetings, Im in the situation where most of the hp jornada 700-series handhelds got a rom containing wince while mine (and shortly alot more) contain uboot. So instead of adding alot of #ifdefs inside the kernel, I thought that I could do a check at bootup instead. I basicly need some unique id t

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

2010-11-17 Thread Liu Dave-R63238
>After adding some more stuff in start.S I find that a lwz isn't > enough. An extra isync fixes this though > lwz r4, LBLAWAR1(r3) > isync > So something is missing but what? I guess isync isn't it either but > it works for now. Joakim, Please post more code to the list to have a better understa

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

2010-11-17 Thread Joakim Tjernlund
> From: Liu Dave-R63238 > To: Andre Schwarz > Cc: Wood Scott-B07421 , ku...@theia.denx.de, Tabi > Timur-B04825 , Phillips Kim-R1AAHA > , Gala , U-Boot List > > Date: 2010/11/15 17:58 > Subject: Re: [U-Boot] [PATCH] mpc83xx: Make it boot again > Sent by: u-boot-boun...@lists.denx.de > > > The

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Stefano Babic
On 11/17/2010 05:30 PM, Steve Sakoman wrote: > I'm seeing some strange behavior with the fw_setenv tools on OMAP. > > Here's what I see when using the tools on OMAP (overo in this case): > > 1. fw_printenv prints the environment with no issues [1] > 2. fw_setenv allows me to change a variable wit

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

2010-11-17 Thread Stefano Babic
On 11/17/2010 05:26 PM, Ben Gardiner wrote: > Hi Stefano, > Hi Ben, > I was unable to test this series on top of Sugosh's and my patches > even after re-basing my patch on top of his by moving the > da850_emac_mii_mode_sel declaration from > board/davinci/da8xxevm/common.h to the location from w

[U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
I'm seeing some strange behavior with the fw_setenv tools on OMAP. Here's what I see when using the tools on OMAP (overo in this case): 1. fw_printenv prints the environment with no issues [1] 2. fw_setenv allows me to change a variable with no reported errors [2] 3. fw_printenv will print the ch

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

2010-11-17 Thread Ben Gardiner
Hi Stefano, On Wed, Nov 17, 2010 at 5:09 AM, Stefano Babic wrote: > [...] > diff --git a/arch/arm/include/asm/arch-davinci/da8xx_common.h > b/arch/arm/include/asm/arch-davinci/da8xx_common.h > deleted file mode 100644 > index 8b564f7..000 > --- a/arch/arm/include/asm/arch-davinci/da8xx_commo

Re: [U-Boot] request for ubifs recovery support

2010-11-17 Thread Albert ARIBAUD
Le 17/11/2010 17:01, Quotient Remainder a écrit : > Ar Aoine, 2010-09-17 ag 12:44 -0400, scríobh Eric Cooper: >> But I just discovered that it has a fatal disadvantage. My device >> can't reboot when the ubifs is corrupted, which happened today after a >> power failure: >> >> UBIFS: recovery

Re: [U-Boot] request for ubifs recovery support

2010-11-17 Thread Quotient Remainder
Ar Aoine, 2010-09-17 ag 12:44 -0400, scríobh Eric Cooper: > But I just discovered that it has a fatal disadvantage. My device > can't reboot when the ubifs is corrupted, which happened today after a > power failure: > > UBIFS: recovery needed > Error reading superblock on volume 'ubi:root

Re: [U-Boot] [PATCH v3 1/1] imx: Get fec mac address from fuse

2010-11-17 Thread Wolfgang Denk
Dear Jason Liu, In message <1290002970-8002-1-git-send-email-r64...@freescale.com> you wrote: > The patch is to support getting FEC MAC address from fuse bank. > > Signed-off-by: Jason Liu ... > --- a/arch/arm/cpu/arm926ejs/mx27/generic.c > +++ b/arch/arm/cpu/arm926ejs/mx27/generic.c > @@ -313,6

Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode"

2010-11-17 Thread Peter Tyser
Hi Zhao, > In message <1289986984-2314-1-git-send-email-b26...@freescale.com> you wrote: > > On P2020DS and MPC8572DS, the link to SGMII card which use Vitesse > > VSC8234 PHY can't come up. Current TBI PHY settings(TBICR_SETTINGS) > > for SGMII mode cause link problems. > > > > Revert commit 46e

[U-Boot] [PATCH] powerpc/85xx: Relocate env_addr if we CONFIG_SYS_RAMBOOT

2010-11-17 Thread Kumar Gala
We use CONFIG_SYS_RAMBOOT for when boot out of NAND, SPI, SDHC/MMC and utilize a L2 or L3 cache in SRAM mode. In this case we will end up changing the cache from SRAM mode back to cache before we relocate the environment properly in env_relocate(). So we need to manual relocate the env pointer ou

[U-Boot] [PATCH v3 1/1] imx: Get fec mac address from fuse

2010-11-17 Thread Jason Liu
The patch is to support getting FEC MAC address from fuse bank. Signed-off-by: Jason Liu --- Changes for v2: - correct the mac address byte order according to review comments - add memset(edev, 0. sizeof(*edev)) when do fec_probe, - fix some code comments Changes for v3: - rebase - address

Re: [U-Boot] [PATCH 0/3] Net Boot Controller

2010-11-17 Thread tristan
Thank you for your time. As I understand, there are some ways to achieve almost the same feature using only the preboot command. I'll take a closer look at it. Regards 2010/11/17 Wolfgang Denk > Dear tristan, > > In message > > > you wrote: > > > > > Is NBC a standard ? Could you provide a lin

Re: [U-Boot] [PATCH 0/3] Net Boot Controller

2010-11-17 Thread Wolfgang Denk
Dear tristan, In message you wrote: > > > Is NBC a standard ? Could you provide a link describing this protocol ? > > NBC is not a standard, this is just a simple protocol I designed for this > purpose Sorry, but in this case, and considering all the othe rproblems pointed out by Stefano, plea

Re: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking

2010-11-17 Thread Wolfgang Denk
Dear Sebastien Carlier, In message <20101117133056.gb23...@safe.home.local> you wrote: > > Unfortunately I have not been able to reproduce these errors with the > toolchain I am using (gcc 4.4.5 and binutils 2.20.1.20100303, based on > emdebian squeeze packages). Can you please point me to the t

Re: [U-Boot] the d-cache is not unlocked

2010-11-17 Thread Wolfgang Denk
Dear Baidu Boy, In message you wrote: > > For the e300 core, we can see the d-cache is locked as SRAM for the stack in > start.S file by calling the function lock_ram_in_cache: > --- > arch/powerpc/cpu/mpc83xx/start.S > #ifdef CONFIG_SYS_INIT_RAM_LOCK > bl lock_ram_in_cach

Re: [U-Boot] [PATCH 0/3] Net Boot Controller

2010-11-17 Thread Stefano Babic
On 11/17/2010 02:17 PM, tristan wrote: > Is NBC a standard ? Could you provide a link describing this protocol ? > > > NBC is not a standard, this is just a simple protocol I designed for > this purpose IMHO we should not add such as protocol to u-boot, considering that u-boot already implem

Re: [U-Boot] [PATCH 2/3] Add sendnbc tool to broadcast NBC magic packet

2010-11-17 Thread tristan
Hi Mike, Thank you for all your correction hints. I used the Lindent script to check for mistakes, but obviously, this was not enought, and I will correct all these with care. Regards 2010/11/17 Mike Frysinger > On Tuesday, November 16, 2010 13:04:32 tristan.lel...@blunderer.org wrote: > > ---

Re: [U-Boot] [RAM MEMORY] Hardware Replacement.

2010-11-17 Thread Wolfgang Denk
Dear Rodolfo Oliveira, In message you wrote: > > I'm upgrading my hardware RAM, but I found a problem. Why are you reposting the same question again? Please read http://catb.org/esr/faqs/smart-questions.html#id445111 > After replacing the RAM MT48LC32M4A2 by IS42S16800E the following message

Re: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking

2010-11-17 Thread Sebastien Carlier
Dear Wolfgang, On 2010-11-15 11:54:07, Wolfgang Denk wrote: > > I notice that the patch affects the size of the resulting U-Boot > images. The size increase you noted seems to completely go away when adding --gc-sections to LDFLAGS, but this option apparently brings its own issues when the linke

Re: [U-Boot] [PATCH 1/3] Add support for Net Boot Controller (NBC) packet

2010-11-17 Thread Wolfgang Denk
Dear tristan.lel...@blunderer.org, In message <732b4e4395e5c02bb01c1fd7b7f8ce085a208950.1289929762.git.blunde...@blunderer.org> you wrote: > From: Tristan Lelong > > This adds the core NBC feature: > * Integration into u-boot > * NBC packet processing > * NetConsole reconfigure Like Stefa

Re: [U-Boot] [PATCH 0/3] Net Boot Controller

2010-11-17 Thread tristan
Hi Michael, 2010/11/17 Michael Zaidman > Hi Tristan, > > On Tue, Nov 16, 2010 at 8:04 PM, wrote: > > > > From: Tristan Lelong > > > > This patch allow to interrupt u-boot autoboot from remote PC and > auto-reconfigure a netconsole redirected to this remote PC > > > > Tristan Lelong (3): > > A

Re: [U-Boot] [RESEND PATCH v4 2/2] TI: DaVinci DA850 EVM: support passing maximum allowed cpu clock rate information to kernel

2010-11-17 Thread Nori, Sekhar
On Wed, Nov 17, 2010 at 17:02:50, Nori, Sekhar wrote: > The TI DA850/OMAP-L138/AM18x EVM can be populated with devices > having different maximum allowed CPU clock rating. > > The maximum clock the chip can support can only be determined from > the label on the package (not software readable). > >

Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-17 Thread Wolfgang Denk
Dear Xie Shaohui-B21989, In message <267a3b246c22c34a8e574051858e0770018...@039-sn1mpn1-003.039d.mgd.msft.net> you wrote: > > This README describes how to build an Image can be used by PBL (pre-boot > loader), building u-boot image is the first step, then RCW, PBI > commands, XXD dump of u-boot.

Re: [U-Boot] [PATCH 0/3] Net Boot Controller

2010-11-17 Thread tristan
Hi Stefano, 2010/11/17 Stefano Babic > On 11/16/2010 07:04 PM, tristan.lel...@blunderer.org wrote: > > From: Tristan Lelong > > > > This patch allow to interrupt u-boot autoboot from remote PC and > auto-reconfigure a netconsole redirected to this remote PC > > > > Tristan Lelong (3): > > Add

Re: [U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode"

2010-11-17 Thread Wolfgang Denk
Dear Zhao Chenhui, In message <1289986984-2314-1-git-send-email-b26...@freescale.com> you wrote: > On P2020DS and MPC8572DS, the link to SGMII card which use Vitesse > VSC8234 PHY can't come up. Current TBI PHY settings(TBICR_SETTINGS) > for SGMII mode cause link problems. > > Revert commit 46e91

Re: [U-Boot] [PATCH v2 1/1] mx51evk: savenv or env save command does not work

2010-11-17 Thread Stefano Babic
On 11/17/2010 02:04 PM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <4ce395a0.7060...@denx.de> you wrote: >> On 11/17/2010 09:01 AM, Jason Liu wrote: >>> fix saveenv or env save command not work on mx51evk board. >>> with this patch, we can use savenv or env save to >>> store envirom

Re: [U-Boot] [STATUS] Custodian changes, using Patchwork

2010-11-17 Thread Stephan Linz
Am Mittwoch, 17. November 2010, um 13:58:33 schrieb Wolfgang Denk: > Dear Stephan Linz, > > In message <201011170857.24521.l...@li-pro.net> you wrote: > > Am Freitag, 12. November 2010, um 12:11:42 schrieb Michal Simek: > > > > - Network: > > > > -- > > > > > > > > Ben Warren has informed

Re: [U-Boot] [PATCH v2 1/1] mx51evk: savenv or env save command does not work

2010-11-17 Thread Wolfgang Denk
Dear Stefano Babic, In message <4ce395a0.7060...@denx.de> you wrote: > On 11/17/2010 09:01 AM, Jason Liu wrote: > > fix saveenv or env save command not work on mx51evk board. > > with this patch, we can use savenv or env save to > > store enviroments to mmc card slot 0 > > > > Signed-off-by: Jaso

Re: [U-Boot] [PATCH v2 1/1] mx51evk: savenv or env save command does not work

2010-11-17 Thread Wolfgang Denk
Dear Jason Liu, In message <1289980878-31714-1-git-send-email-r64...@freescale.com> you wrote: > fix saveenv or env save command not work on mx51evk board. > with this patch, we can use savenv or env save to > store enviroments to mmc card slot 0 > > Signed-off-by: Jason Liu > > --- > Changes f

Re: [U-Boot] [PATCH 1/1] mx51evk: savenv or env save command does not work

2010-11-17 Thread Wolfgang Denk
Dear Jason Liu, In message you wrote: > > OK, I will set it to 8KiB for mx51evk. You are falling from one extreme into the next one. Why not using 16 KiB as suggested? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Off

Re: [U-Boot] [STATUS] Custodian changes, using Patchwork

2010-11-17 Thread Wolfgang Denk
Dear Stephan Linz, In message <201011170857.24521.l...@li-pro.net> you wrote: > Am Freitag, 12. November 2010, um 12:11:42 schrieb Michal Simek: > > > - Network: > > > -- > > > > > > Ben Warren has informed me that he has to give up Network > > > custodianship. > > Hm, I'm sadly to he

Re: [U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-17 Thread Detlev Zundel
Hi Xie, [...] >> What is ACS? > > Don't know, I don't even have a reference to that in my copy of the RCW > tool. :-P > > [Xie Shaohui] I don't know what is the ACS stands for either, but it is > a XXD object dump file used by the tool to produce PBI, for example > after run "xxd u-boot.bin > u-

  1   2   >