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

2010-11-17 Thread Jason Liu
2010/11/17 Stefano Babic sba...@denx.de: On 11/17/2010 08:29 AM, Jason Liu wrote: Agree. But I think the original commit for 128KiB env size has been reviewed on the mail list and no one against it. This does not mean that we cannot change this value when we find it is wrong As Wofgang

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

2010-11-17 Thread Stefano Babic
On 11/17/2010 03:22 AM, Jason Liu wrote: It's OK, I think. But there will change a lot of code for the platform other than i.mx51. You have already posted changes for the whole i.MX family we currently support. However, I understand you do not want to specify the whole layout for all

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

2010-11-17 Thread Jason Liu
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 r64...@freescale.com --- Changes for v2: - Change MMC env size to 8KiB for the consideration for quick boot ---

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 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: Jason Liu r64...@freescale.com --- Changes for v2: - Change MMC env size to 8KiB

[U-Boot] (no subject)

2010-11-17 Thread Jinson Wang
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 3/3] Add the NBC + netconsole corresponding documentation

2010-11-17 Thread tristan . lelong
From: Tristan Lelong tristan.lel...@blunderer.org Signed-off-by: Tristan Lelong tristan.lel...@blunderer.org --- doc/README.netconsole | 66 + 1 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 doc/README.netconsole diff

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

2010-11-17 Thread tristan . lelong
From: Tristan Lelong tristan.lel...@blunderer.org This adds the core NBC feature: * Integration into u-boot * NBC packet processing * NetConsole reconfigure Signed-off-by: Tristan Lelong tristan.lel...@blunderer.org --- common/main.c |5 ++ include/net.h |6 ++- net/Makefile |2

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

2010-11-17 Thread tristan . lelong
From: Tristan Lelong tristan.lel...@blunderer.org 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 support for Net Boot Controller (NBC) packet Add sendnbc tool to broadcast NBC magic packet

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

2010-11-17 Thread tristan . lelong
From: Tristan Lelong tristan.lel...@blunderer.org This tool send NBC packet filled with data provided on command line It can be used in combination with netconsole by calling: BOARD_IP=192.168.0.2 ./sendnbc -i $BOARD_IP ./netconsole $BOARD_IP Signed-off-by: Tristan Lelong

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

2010-11-17 Thread Zhao Chenhui
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 46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4, and fix it. Signed-off-by: Zhao Chenhui b26...@freescale.com ---

[U-Boot] Davinci: add support for ea20 board

2010-11-17 Thread Stefano Babic
This patchset superseeds the patch with the same name. Common code is now shared for da8xx boards. The patchset is based on the following patches: Sughosh Ganu: Move and rename common headers from under board/davinci Ben Gardiner: da850evm: Add RMII support for EMAC

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

2010-11-17 Thread Stefano Babic
As more Davinci 8xx board can be added, move common code to be shared between boards. Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-davinci/da8xx_common.h | 33 -- arch/arm/include/asm/arch-davinci/davinci_misc.h | 12 board/davinci/common/misc.c

[U-Boot] [PATCH V6 2/2][NEXT] Davinci: add support for the ea20 board

2010-11-17 Thread Stefano Babic
This board uses the OMAP-L138 SOM stacked on a custom baseboard. It supports SPI Flash, Ethernet with RMII. Signed-off-by: Stefano Babic sba...@denx.de --- MAINTAINERS |1 + board/davinci/ea20/Makefile | 53 board/davinci/ea20/ea20.c | 196

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

2010-11-17 Thread Stefano Babic
On 11/16/2010 07:04 PM, tristan.lel...@blunderer.org wrote: From: Tristan Lelong tristan.lel...@blunderer.org 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 support for Net Boot

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

2010-11-17 Thread Michal Simek
Hi Stephan, Stephan Linz wrote: Hi Ben, Hi Michal, in terms of your last communication: http://www.mail-archive.com/u-boot@lists.denx.de/msg36959.html ... I want ask about the state of the review. When will the patch be added in the mainstream? From my point of view. I am not

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

2010-11-17 Thread Xie Shaohui-B21989
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 espi flash for p4080ds. On Tue, 16 Nov 2010 11:34:43 +0100

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

2010-11-17 Thread Mike Frysinger
On Wednesday, November 17, 2010 04:43:04 Zhao Chenhui 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 46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4, and

Re: [U-Boot] [PATCH 3/3] Add the NBC + netconsole corresponding documentation

2010-11-17 Thread Mike Frysinger
On Tuesday, November 16, 2010 13:04:33 tristan.lel...@blunderer.org wrote: --- /dev/null +++ b/doc/README.netconsole @@ -0,0 +1,66 @@ +NETCONSOLE NBC README there is already a doc/README.NetConsole which contains a lot more useful information about the netconsole than this. start a new

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

2010-11-17 Thread Mike Frysinger
On Tuesday, November 16, 2010 13:04:31 tristan.lel...@blunderer.org wrote: --- a/common/main.c +++ b/common/main.c +#ifdef CONFIG_CMD_NBC why did you pick CONFIG_CMD_NBC ? there is no nbc command that is run from the u-boot console, so CONFIG_CMD_xxx makes no sense. + if (!abort) +

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

2010-11-17 Thread Mike Frysinger
On Tuesday, November 16, 2010 13:04:32 tristan.lel...@blunderer.org wrote: --- /dev/null +++ b/tools/sendnbc.c @@ -0,0 +1,219 @@ +#include stdio.h missing licensing copyright header +static void usage (char *argv0) style problems throughout this file too + printf +

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

2010-11-17 Thread Joachim Rahn
Hi all, I've ported u-boot to our ARM board based on at91sam9263. When I try to use the LED functions I have problems getting strong symbols overriden by weak ones. I'm just stumbling upon the archive entries http://lists.denx.de/pipermail/u-boot/2008-June/035540.html and

[U-Boot] [RESEND PATCH 1/2] TI: DaVinci DA850 EVM: add information regarding DA850 in README.davinci

2010-11-17 Thread Sekhar Nori
The README.davinci in documentation folder is missing information regarding DA850 which is a supported DaVinci device. Add this information. Signed-off-by: Sekhar Nori nsek...@ti.com --- Rebased to latest on mainline master doc/README.davinci | 11 +++ 1 files changed, 11

[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 Sekhar Nori
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). Introduce a method to pass the maximum allowed clock rate

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

2010-11-17 Thread Michael Zaidman
Hi Tristan, On Tue, Nov 16, 2010 at 8:04 PM, tristan.lel...@blunderer.org wrote: From: Tristan Lelong tristan.lel...@blunderer.org 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 support

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

2010-11-17 Thread Rodolfo Oliveira
Hi, I'm upgrading my hardware RAM, but I found a problem. After replacing the RAM MT48LC32M4A2 by IS42S16800E the following message appeared: Memory (date line) error at , wrote , read 89abcdef89abc def! This error happens in executing the u-boot. Does anyone know what

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

2010-11-17 Thread Baidu Boy
Dear buddies: 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_cache sync #endif --- But we

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

2010-11-17 Thread Detlev Zundel
Hi Mike, On Tuesday, November 16, 2010 09:58:48 Detlev Zundel wrote: On Monday, November 15, 2010 07:13:03 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. For example:

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

2010-11-17 Thread Sebastien Carlier
Dear Joachim, On 2010-11-17 11:38:54, Joachim Rahn wrote: Hi all, I've ported u-boot to our ARM board based on at91sam9263. When I try to use the LED functions I have problems getting strong symbols overriden by weak ones. I'm just stumbling upon the archive entries

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-boot.xxd,

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 hear about this fact.

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 aanlktikso-fairdbtsevxos6e3u2imp5df-wrm3nm...@mail.gmail.com 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,

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 r64...@freescale.com ---

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: Jason Liu

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 me that he has to

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 enviroments to mmc

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

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

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

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.bin,

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 0/3] Net Boot Controller

2010-11-17 Thread tristan
Hi Michael, 2010/11/17 Michael Zaidman michael.zaid...@gmail.com Hi Tristan, On Tue, Nov 16, 2010 at 8:04 PM, tristan.lel...@blunderer.org wrote: From: Tristan Lelong tristan.lel...@blunderer.org This patch allow to interrupt u-boot autoboot from remote PC and auto-reconfigure a

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 tristan.lel...@blunderer.org This adds the core NBC feature: * Integration into u-boot * NBC packet processing * NetConsole

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 linker

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

2010-11-17 Thread Wolfgang Denk
Dear Rodolfo Oliveira, In message aanlktikzsm7hoy6t=egd7xfew_6skspcd4gou0lqp...@mail.gmail.com 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

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 vap...@gentoo.org On Tuesday, November 16, 2010 13:04:32

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 implements

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

2010-11-17 Thread Wolfgang Denk
Dear Baidu Boy, In message aanlktimhafiutz0ju-dmghg3hc4u4muwyicak-h1n...@mail.gmail.com 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

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

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

2010-11-17 Thread Wolfgang Denk
Dear tristan, In message aanlkti=01bccmnbenot6ojcstvfazpxx+azpqkxk3...@mail.gmail.com 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

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 w...@denx.de Dear tristan, In message

[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 r64...@freescale.com --- 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:

[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

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

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 r64...@freescale.com ... --- a/arch/arm/cpu/arm926ejs/mx27/generic.c +++

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] 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 needed

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 sba...@denx.de 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 ---

[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

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 which

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 with no

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

2010-11-17 Thread Joakim Tjernlund
From: Liu Dave-R63238 r63...@freescale.com To: Andre Schwarz andre.schw...@matrix-vision.de Cc: Wood Scott-B07421 b07...@freescale.com, ku...@theia.denx.de, Tabi Timur-B04825 b04...@freescale.com, Phillips Kim-R1AAHA r1a...@freescale.com, Gala ga...@kernel.crashing.org, U-Boot List

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 understanding

[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

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 joakim.tjernl...@transmode.se wrote: From: Liu Dave-R63238 r63...@freescale.com To: Andre Schwarz andre.schw...@matrix-vision.de Cc: Wood Scott-B07421 b07...@freescale.com, ku...@theia.denx.de, Tabi Timur-B04825 b04...@freescale.com,

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? Maybe have a

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

2010-11-17 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2010/11/17 18:05:37: On Wed, 17 Nov 2010 17:57:53 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: From: Liu Dave-R63238 r63...@freescale.com To: Andre Schwarz andre.schw...@matrix-vision.de Cc: Wood Scott-B07421

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 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

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 tools on OMAP

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] [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 this

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 behind

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): 1. fw_printenv

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 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, but some

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 the fdt */ + else

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

2010-11-17 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2010/11/17 20:03:25: On Wed, 17 Nov 2010 18:26:02 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com wrote on 2010/11/17 18:05:37: On Wed, 17 Nov 2010 17:57:53 +0100 Joakim Tjernlund

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 joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com 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'

[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

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 collect

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 collect

[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

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 seems to

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] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, Nov 17, 2010 at 9:39 AM, Wolfgang Denk w...@denx.de 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 on

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 d...@denx.de 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

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Steve Sakoman, In message aanlktikalbzg5ed=p-_0mwolojh=kfna-p8syac=n...@mail.gmail.com 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

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 aa957e8d-3c9c-4c74-8fa4-11d5122ed...@freescale.com 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

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 before

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 b21...@freescale.com 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

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

2010-11-17 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2010/11/17 20:27:01: On Wed, 17 Nov 2010 20:15:01 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com wrote on 2010/11/17 20:03:25: The load, conditional branch, isync sequence is documented in the

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 m...@freescale.com --- drivers/net/e1000.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

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 could

[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 augulis.dar...@gmail.com --- MAKEALL |1 Makefile|4 arch/arm/cpu/arm1176/s3c64xx/Makefile |6 -

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 w...@denx.de wrote: Dear Jason Liu, In message aanlktim4k-pnufdgwvyj3ty4mtlcz7uzy1-to9vex...@mail.gmail.com 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

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 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

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Steve Sakoman
On Wed, Nov 17, 2010 at 12:47 PM, Wolfgang Denk w...@denx.de wrote: Dear Steve Sakoman, In message aanlktikalbzg5ed=p-_0mwolojh=kfna-p8syac=n...@mail.gmail.com you wrote: After writing the environment with fw_setenv in linux, u-boot's read of the environment on the subsequent boot always

Re: [U-Boot] fw_setenv broken?

2010-11-17 Thread Wolfgang Denk
Dear Steve Sakoman, In message aanlktimrfq5+awfdfy_fuetmh=x=xrkazgntk8fis...@mail.gmail.com 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

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 w...@denx.de 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

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

2010-11-17 Thread Brent Bartson
, 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 ESET NOD32 Antivirus

  1   2   >