Re: [U-Boot] [PATCH] beagleboard: enable HUB power on all variants of the BeagleBoard

2011-08-26 Thread Joel A Fernandes
+U-boot list -- Forwarded message -- From: Joel A Fernandes Date: Fri, Aug 26, 2011 at 11:45 PM Subject: Re: [PATCH] beagleboard: enable HUB power on all variants of the BeagleBoard To: Jason Kridner > > The logic is wrong here.  I don't remember the polarity, but I do remembe

[U-Boot] [PATCH 2/2] NAND: Add scrub.quiet command option

2011-08-26 Thread Marek Vasut
This allows the scrub command to scrub without asking the user if he really wants to scrub the area. Useful in scripts. Signed-off-by: Marek Vasut --- common/cmd_nand.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/common/cmd_nand.c b/common/cmd_nand.c in

[U-Boot] [PATCH 1/2] NAND: Make page, erase, oob size available via cmd_nand

2011-08-26 Thread Marek Vasut
The "nand info" and "nand device" now set shell/environment variables: nand_writesize ... nand page size nand_oobsize . nand oob area size nand_erasesize ... nand erase block size The shell variables are only set if HUSH is enabled. Also, the "nand info" command now di

[U-Boot] failure notice

2011-08-26 Thread MAILER-DAEMON
Hi. This is the qmail-send program at mr-hn.vnn.vn. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : The users mailfolder is over the allowed quota (size). (#5.2.2) --- Below this line is a copy of t

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-26 Thread Graeme Russ
Hi Simon, On 27/08/11 10:25, Simon Glass wrote: > Hi Mike, > > On Fri, Aug 26, 2011 at 1:55 PM, Mike Frysinger wrote: >> On Thursday, August 25, 2011 23:32:38 Simon Glass wrote: [snip] >>> - I mean that the tftp command will 'obtain' a file when it asks for >>> one, although the actual Etherne

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-26 Thread Simon Glass
Hi Mike, On Fri, Aug 26, 2011 at 1:59 PM, Mike Frysinger wrote: > On Friday, August 26, 2011 00:36:15 Graeme Russ wrote: >> On Fri, Aug 26, 2011 at 1:32 PM, Simon Glass wrote: >> > 4. When I create a driver, like the serial test driver, should that be >> > serial_test.c, test_serial.c, sandbox_se

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-26 Thread Simon Glass
Hi Mike, On Fri, Aug 26, 2011 at 1:55 PM, Mike Frysinger wrote: > On Thursday, August 25, 2011 23:32:38 Simon Glass wrote: >> 1. What should I call the architecture? I have so far called it 'native'. >> 2. What should I call the vendor (board/xxx)? 'test' or 'sandbox'? >> 3. What should I call th

Re: [U-Boot] [PATCH V2] Global Data: Flagify have_console and env_valid

2011-08-26 Thread Graeme Russ
Hi Mike, On 27/08/11 06:15, Mike Frysinger wrote: > looks sane enough to me > > when changing the global_data structure, do we need to bump the u-boot > standalone API number (XF_VERSION in exports.h) ? and i vaguely recall > global > data being passed to like Linux for some arches ? althoug

Re: [U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-26 Thread Wolfgang Denk
Dear Marek Vasut, In message <201108262249.13179.marek.va...@gmail.com> you wrote: > > > If you are sure that this is sufficient, then could you please submit > > a proper patch with Subject, SoB-Line, etc.? > > > Ok, what I meant by "dunno if it's worth it" is, whether we do or don't want > to

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 00:36:15 Graeme Russ wrote: > On Fri, Aug 26, 2011 at 1:32 PM, Simon Glass wrote: > > 4. When I create a driver, like the serial test driver, should that be > > serial_test.c, test_serial.c, sandbox_serial or something else? > > I guess you'll have /drivers/serial/sandbo

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-26 Thread Mike Frysinger
On Thursday, August 25, 2011 23:32:38 Simon Glass wrote: > 1. What should I call the architecture? I have so far called it 'native'. > 2. What should I call the vendor (board/xxx)? 'test' or 'sandbox'? > 3. What should I call the board? Is that 'sandbox'? as Graeme said, just call them all "sandbo

Re: [U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-26 Thread Marek Vasut
On Friday, August 26, 2011 09:57:15 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201108261741.38560.marek.va...@gmail.com> you wrote: > > This one can be fixed with such a patch, though I dunno if it's worth it. > > If you are sure that this is sufficient, then could you please sub

[U-Boot] Get a Legitimate Business offer

2011-08-26 Thread Mr. Ma Guang Lu
Business Mail I am Mr. Ma Guang Lu; with a business deal worth $17.3Million, for us to transact from my bank. please reply for details. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] MPC8xx: fix build problem for ETX094 board

2011-08-26 Thread Wolfgang Denk
Commit 7616e78 "Add Ethernet hardware MAC address framework to usbnet" increased the code size and broke building for the ETX094 board. Adjust the linker script to make it build again. While we are at it, remove unused u-boot.lds.debug Signed-off-by: Wolfgang Denk --- board/etx094/u-boot.lds

Re: [U-Boot] [PATCH V2] Global Data: Flagify have_console and env_valid

2011-08-26 Thread Mike Frysinger
looks sane enough to me when changing the global_data structure, do we need to bump the u-boot standalone API number (XF_VERSION in exports.h) ? and i vaguely recall global data being passed to like Linux for some arches ? although looking at the number of #ifdef's in there, maybe that's alre

Re: [U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 02:36:51 Ajay Bhargav wrote: > +static int add_del_hash_entry(struct armdfec_device *darmdfec, u32 mach, > + u32 macl, u32 rd, u32 skip, int del) > +{ > + u8 *last; local var ... > + last = (u8 *) entry; > + last = last + sizeof(*en

Re: [U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-26 Thread Wolfgang Denk
Dear Marek Vasut, In message <201108261741.38560.marek.va...@gmail.com> you wrote: > > This one can be fixed with such a patch, though I dunno if it's worth it. If you are sure that this is sufficient, then could you please submit a proper patch with Subject, SoB-Line, etc.? Rowel, can you plea

Re: [U-Boot] [RFC PATCH] net: Check network device driver name

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 08:52:40 Michal Simek wrote: > If name is longer than allocated space NAMESIZE > mac address is rewritten which show error > message like: since you overflowed the buffer, who knows what could happen ... > + if (strlen(dev->name) > NAMESIZE) { > + printf

Re: [U-Boot] [PATCH 7/8] net: emaclite: Free allocated space for device

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 08:47:22 Michal Simek wrote: > --- a/drivers/net/xilinx_emaclite.c > +++ b/drivers/net/xilinx_emaclite.c > @@ -356,8 +356,10 @@ int xilinx_emaclite_initialize (bd_t *bis, int > base_addr) return -1; > > emaclite = calloc(1, sizeof(struct xemaclite)); > - if (em

Re: [U-Boot] [PATCH 1/8] net: emaclite: Change driver name and add address

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 08:47:16 Michal Simek wrote: > - sprintf(dev->name, "Xilinx_Emaclite"); > + sprintf(dev->name, "Xelite.%x", base_addr); you calculated this down to the byte huh ;). i see it uses the full 16. do we have to worry about people who specify the device in their envs

Re: [U-Boot] [PATCH] Write MAC address whenever ethernet subsystem is initialized

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 08:43:34 Ingo van Lil wrote: > @@ -261,11 +261,6 @@ int eth_initialize(bd_t *bis) > > memcpy(dev->enetaddr, env_enetaddr, 6); > } > - if (dev->write_hwaddr && > - !eth_mac

Re: [U-Boot] [PATCH 5/8] net: emaclite: Use dynamic allocation

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 08:47:20 Michal Simek wrote: > dev = calloc(1, sizeof(*dev)); > if (dev == NULL) > return -1; > > + emaclite = calloc(1, sizeof(struct xemaclite)); > + if (emaclite == NULL) > + return -1; and you just leaked the dev alloc :

Re: [U-Boot] [PATCH] powerpc/mp: add support for discontiguous cores

2011-08-26 Thread Kumar Gala
On Aug 5, 2011, at 4:15 PM, Timur Tabi wrote: > Some SOCs have discontiguously-numbered cores, and so we can't determine the > valid core numbers via the FRR register any more. We define > CPU_TYPE_ENTRY_MASK to specify a discontiguous core mask, and helper functions > to process the mask and en

Re: [U-Boot] [PATCH] powerpc/mpc8548cds: Cleanup mpc8548cds.c

2011-08-26 Thread Kumar Gala
On Aug 24, 2011, at 12:20 AM, Zhao Chenhui wrote: > Remove unnecessary or dead code/includes. > > Signed-off-by: Zhao Chenhui > --- > board/freescale/mpc8548cds/mpc8548cds.c |7 --- > 1 files changed, 0 insertions(+), 7 deletions(-) applied to 85xx next - k

Re: [U-Boot] [PATCH v2 1/5] powerpc/85xx: Add support for FMan ethernet in Independent mode

2011-08-26 Thread Kumar Gala
On Aug 2, 2011, at 2:33 AM, Kumar Gala wrote: > The Frame Manager (FMan) on QorIQ SoCs with DPAA (datapath acceleration > architecture) is the ethernet contoller block. Normally it is utilized > via Queue Manager (Qman) and Buffer Manager (Bman). However for boot > usage the FMan supports a mod

Re: [U-Boot] [PATCH 0/2] fdt helper cleanup related to phandle support.

2011-08-26 Thread Kumar Gala
On Aug 1, 2011, at 1:22 AM, Kumar Gala wrote: > Jerry, > > Please review and Ack. I would like this to go via 85xx tree as the > fman ethernet driver code depends on these changes. > > thanks applied to 85xx next - k ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH] powerpc/85xx: Fix compile warnings/errors if CONFIG_SYS_DPAA_FMAN isn't set

2011-08-26 Thread Kumar Gala
On Aug 1, 2011, at 1:20 AM, Kumar Gala wrote: > Add ifdef protection around fman specific code related to device tree > clock setup. If we dont have CONFIG_SYS_DPAA_FMAN defined we shouldn't > be executing this code. > > Signed-off-by: Kumar Gala > --- > arch/powerpc/cpu/mpc85xx/fdt.c |

Re: [U-Boot] [PATCH 0/7][v2] powerpc/85xx: P1010RDB

2011-08-26 Thread Kumar Gala
On Aug 5, 2011, at 9:44 AM, Kumar Gala wrote: > Patch series adds support for P1010RDB, NAND support (for IFC on P1010) > and various errata fixes for P1010. > > V2 changes: > * re-work based on CCSRBAR cleanup patches > * white space fixes > * checkpatch cleanup fixes > * rework 'dummy' udelay

Re: [U-Boot] [PATCH v2] powerpc/85xx: Add support for new P102x/P2020 RDB style boards

2011-08-26 Thread Kumar Gala
On Aug 4, 2011, at 10:44 AM, Kumar Gala wrote: > From: Li Yang > > The following boards share a common design but with minor variations > between them: > > P1020MSBG-PC > P1020RDB-PC > P1020UTM-PC > P1021RDB-PC > P1024RDB > P1025RDB > P2020RDB-PC > > The P1020RDB-PC shares its roots in the ex

Re: [U-Boot] [PATCH 2/3] powerpc/85xx: relocate CCSR before creating the initial RAM area

2011-08-26 Thread Kumar Gala
On Aug 5, 2011, at 10:36 AM, Timur Tabi wrote: > Before main memory (DDR) is initialized, the on-chip L1 cache is used as a > memory area for the stack and the global data (gd_t) structure. This is > called the initial RAM area, or initram. The L1 cache is locked and the TLBs > point to a non-e

Re: [U-Boot] [PATCH 1/2] [v3] powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros

2011-08-26 Thread Kumar Gala
On Aug 4, 2011, at 6:03 PM, Timur Tabi wrote: > Introduce the CONFIG_SYS_CCSRBAR_PHYS_HIGH and CONFIG_SYS_CCSRBAR_PHYS_LOW > macros, which contain the high and low portions of CONFIG_SYS_CCSRBAR_PHYS. > This is necessary for the assembly-language code that relocates CCSR, since > the assembler do

Re: [U-Boot] git fetch failure

2011-08-26 Thread Christopher Harvey
On Fri, Aug 26, 2011 at 02:59:41PM -0400, Christopher Harvey wrote: > Today, I tried to run > > git fetch http://git.denx.de/u-boot.git > > but got the following error > > error: Unable to find dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 under > http://git.denx.de/u-boot.git > Cannot obtain neede

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: Enable internal USB UTMI PHY on p204x/p3041/p50x0

2011-08-26 Thread Kumar Gala
On Jun 30, 2011, at 11:11 PM, Kumar Gala wrote: > Signed-off-by: Kumar Gala > --- > arch/powerpc/include/asm/config_mpc85xx.h |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) applied to 85xx next - k ___ U-Boot mailing list U-Boot@list

[U-Boot] git fetch failure

2011-08-26 Thread Christopher Harvey
Today, I tried to run git fetch http://git.denx.de/u-boot.git but got the following error error: Unable to find dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 under http://git.denx.de/u-boot.git Cannot obtain needed blob dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 while processing commit fe0ddffac1ce63

Re: [U-Boot] [PATCH 3/3] powerpc/mpc8610hpcd: set pci1_hose.config_table after fsl_setup_hose

2011-08-26 Thread Kumar Gala
On Aug 24, 2011, at 12:20 AM, Zhao Chenhui wrote: > The function fsl_setup_hose clears the variable pci1_hose. > Set pci1_hose.config_table after it. > > Signed-off-by: Zhao Chenhui > --- > board/freescale/mpc8610hpcd/mpc8610hpcd.c | 11 +-- > 1 files changed, 5 insertions(+), 6 deleti

Re: [U-Boot] [PATCH 3/3] powerpc/mpc8610hpcd: set pci1_hose.config_table after fsl_setup_hose

2011-08-26 Thread Kumar Gala
On Aug 24, 2011, at 12:20 AM, Zhao Chenhui wrote: > The function fsl_setup_hose clears the variable pci1_hose. > Set pci1_hose.config_table after it. > > Signed-off-by: Zhao Chenhui > --- > board/freescale/mpc8610hpcd/mpc8610hpcd.c | 11 +-- > 1 files changed, 5 insertions(+), 6 deleti

Re: [U-Boot] [PATCH 2/3] powerpc/mpc8568mds: set pci1_hose.config_table after fsl_setup_hose

2011-08-26 Thread Kumar Gala
On Aug 24, 2011, at 12:20 AM, Zhao Chenhui wrote: > The function fsl_setup_hose clears the variable pci1_hose. > Set pci1_hose.config_table after it. > > Signed-off-by: Zhao Chenhui > --- > board/freescale/mpc8568mds/mpc8568mds.c | 11 +-- > 1 files changed, 5 insertions(+), 6 deletion

Re: [U-Boot] [PATCH] beagleboard: enable HUB power on all variants of the BeagleBoard

2011-08-26 Thread Joel A Fernandes
On Wed, Aug 24, 2011 at 10:30 PM, Jason Kridner wrote: > On Wed, Aug 24, 2011 at 11:22 PM, Marek Vasut wrote: >> On Thursday, August 25, 2011 12:47:41 AM Joel A Fernandes wrote: >>> From: Christian Spielberger >>> >>> Signed-off-by: Joel A Fernandes >>> Cc: "Eric Bأ�nard" >>> Cc: "Christian Sp

Re: [U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands

2011-08-26 Thread Wolfgang Denk
Dear Simon Schwarz, In message <4e57cb52.5000...@gmail.com> you wrote: > > But isn't then the HW ECC misconfigured? AFAIK ECC information should be > written only to the OOB never into the normal page. > > I'am really not sure if I understand the patch - it seems to me that you > are writing/re

[U-Boot] [Patch v2 6/7] powerpc/mpc8349emds: Migrate from spd_sdram to unified DDR driver

2011-08-26 Thread York Sun
Update MPC8349EMDS to use unified DDR driver instead of spd_sdram.c. The unified driver can initialize data using DDR controller. No need to use DMA if just to initialze for ECC. Signed-off-by: York Sun Signed-off-by: Kim Phillips --- board/freescale/mpc8349emds/Makefile |1 + board/fr

[U-Boot] [Patch v2 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-26 Thread York Sun
Unified DDR driver is maintained for better performance, robustness and bug fixes. Upgrading to use unified DDR driver for MPC83xx takes advantage of overall improvement. It requires changes for board files to customize platform-dependent parameters. To utilize the unified DDR driver, a board need

[U-Boot] [Patch v2 4/7] powerpc/mpc8xxx: Add DDR2 to unified DDR driver

2011-08-26 Thread York Sun
DDR2 has different ODT table and values. Adding table according to Samsung application note. Fix additive latency calculation to avoid interger underflow. Signed-off-by: York Sun --- .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c|3 +- arch/powerpc/cpu/mpc8xxx/ddr/options.c

[U-Boot] [Patch v2 2/7] powerpc/mpc8xxx: Add SPD EEPROM address for single controller 2 slots

2011-08-26 Thread York Sun
The two slots on the same controller have different addresses. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/main.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c index 249fd

[U-Boot] [Patch v2 3/7] powerpc/mpc8xxx: Fix picos_to_mclk() and get_memory_clk_period_ps()

2011-08-26 Thread York Sun
Reduce the calculation error to 1ps. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/util.c | 26 +++--- 1 files changed, 11 insertions(+), 15 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/util.c b/arch/powerpc/cpu/mpc8xxx/ddr/util.c index 104d360..c6441

[U-Boot] [Patch v2 1/7] powerpc/mpc8xxx: Fix DDR code for empty first DIMM slot and enable DQS_en

2011-08-26 Thread York Sun
Check second DIMM slot in case the first one is empty. Honor DQS enable option for SDRAM mode register. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 19 ++- arch/powerpc/include/asm/fsl_ddr_sdram.h |4 2 files changed, 14 insertions(+), 9 dele

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-26 Thread York Sun
On Fri, 2011-08-26 at 20:12 +0200, Wolfgang Denk wrote: > Dear York Sun, > > In message <1314378058.20734.25.camel@oslab-l1> you wrote: > > > > I am going to follow the style and not to add new typedefs. For the > > existing typedef, I will keep using them. In this case, it is an > > existing typ

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-26 Thread Wolfgang Denk
Dear York Sun, In message <1314378058.20734.25.camel@oslab-l1> you wrote: > > I am going to follow the style and not to add new typedefs. For the > existing typedef, I will keep using them. In this case, it is an > existing typedef, just for another platform. Fixing it alone will cause > more tro

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-26 Thread York Sun
Wolfgang, On Fri, 2011-08-26 at 00:31 +0200, Wolfgang Denk wrote: > Dear York Sun, > > In message <1314308192.29220.29.camel@oslab-l1> you wrote: > > > > I am introducing it to this file as it is already being used somewhere > > else. If you are trying to enforce this new policy, please start wi

Re: [U-Boot] [PATCH V3 4/8] omap-common/spl: Add linux boot to SPL

2011-08-26 Thread Simon Schwarz
On 08/26/2011 01:22 PM, Simon Schwarz wrote: > Dear Andreas, > > On 08/26/2011 12:45 PM, Andreas Bießmann wrote: >> Dear Simon >> >> Am 26.08.2011 12:17, schrieb Simon Schwarz: >>> On 08/25/2011 01:28 PM, Andreas Bießmann wrote: Dear Simon, >> >> >> > +/* This function jumps to an image w

Re: [U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands

2011-08-26 Thread Simon Schwarz
On 08/26/2011 04:49 PM, Marek Vasut wrote: > On Friday, August 26, 2011 09:57:17 AM Simon Schwarz wrote: >> Dear Marek, >> >> On 08/26/2011 12:04 AM, Marek Vasut wrote: >>> These commands should work around various "hardware" ECC and BCH methods. >>> This is important for example in case where the

Re: [U-Boot] [PATCH] Fix fw_env bug for multi-sector environments on NOR flash

2011-08-26 Thread Wolfgang Denk
Dear "Fei, Yiyang", Please make sure to send your patches as plain text, NOT as HTML! In message you wrote: ... > > tools/env/fw_env.c |5 ++--- > > 1 files changed, 2 insertions(+), 3 deletions(-) > > > > diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index > ed6b53f..e6b2cae 1006

[U-Boot] [PATCH] Fix fw_env bug for multi-sector environments on NOR flash

2011-08-26 Thread Fei, Yiyang
When storing u-boot environment variables on a NOR flash using multiple sectors, the following error occurs when writing changes using fw_setenv. /etc # cat fw_env.config /dev/mtd12 0x 0x2 0x1 2 /etc # fw_setenv test test End of range reached, aborting Error: can't write

Re: [U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-26 Thread Marek Vasut
On Friday, August 26, 2011 02:25:33 PM Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > Cc: Rowel Atienza > --- > MAINTAINERS |4 - > MAKEALL |1 - > board/armadillo/Makefile| 55 --- > board/armadillo/armadillo.c | 72

Re: [U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-26 Thread Marek Vasut
On Friday, August 26, 2011 08:36:51 AM Ajay Bhargav wrote: > This patch adds support for Fast Ethernet Controller driver for > Armada100 series. > > Signed-off-by: Ajay Bhargav Hi, please don't forget to CC me next time ;-) [...] > +static int smi_reg_read(const char *devname, u8 phy_addr, u8

Re: [U-Boot] [PATCH] ppc460: read get_sys_info from CPR registers instead of STRP registers

2011-08-26 Thread Tirumala Marri
Hi Stefan, Yes. Mike, could you please re-send your patch with this suggested split? Marri, could you please test this result on an 460SX board? And perhaps send send a patch to fix potentially remaining 460SX issues? *[Tirumala Marri] *Sure we will test Mike’s fix on our 460Sx board. Onc

Re: [U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands

2011-08-26 Thread Marek Vasut
On Friday, August 26, 2011 09:57:17 AM Simon Schwarz wrote: > Dear Marek, > > On 08/26/2011 12:04 AM, Marek Vasut wrote: > > These commands should work around various "hardware" ECC and BCH methods. > > This is important for example in case where the user needs to write > > precisely what's in a b

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2011-08-26 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx: The following changes since commit 5557e86bb0793012057d5462976c2a902bc629ac: omap4: increase SRAM budget to fix build error (2011-08-21 10:14:51 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master David Jander (

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

2011-08-26 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message you wrote: > > are available in the git repository at: > git://git.denx.de/u-boot-sh.git master > > Nobuhiro Iwamatsu (2): > sh: sh2a: Add sh2a optimize to config.mk > usb: r8a66597: Fix argument mistake of inl > > Phil Edworthy (4): > sh

Re: [U-Boot] Please pull u-boot-ubi/master

2011-08-26 Thread Wolfgang Denk
Dear Stefan Roese, In message <201108191727.32539...@denx.de> you wrote: > > please pull the following fix: > > The following changes since commit fa82f871c8dbc9a15e8dc274b3f99dd5fa0da458: > > Convert ISO-8859 files to UTF-8 (2011-08-04 23:34:02 +0200) > > are available in the git repository

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

2011-08-26 Thread Wolfgang Denk
Dear Remy Bohmer, In message you wrote: > The following changes since commit fa82f871c8dbc9a15e8dc274b3f99dd5fa0da458: > > Convert ISO-8859 files to UTF-8 (2011-08-04 23:34:02 +0200) > > are available in the git repository at: > git://git.denx.de/u-boot-usb.git master > > Jason Cooper (1)

[U-Boot] [PATCH V2] Global Data: Flagify have_console and env_valid

2011-08-26 Thread Graeme Russ
Signed-off-by: Graeme Russ --- Changes since V1: - In common/console.c, gd->flags &= GD_FLG_HAVE_CONSOLE change to |= arch/arm/include/asm/global_data.h|5 ++- arch/avr32/include/asm/global_data.h |5 ++- arch/blackfin/include/asm/global_data.h |5 ++- arch/blackfin/

[U-Boot] [PATCH] Global Data: Flagify have_console and env_valid

2011-08-26 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/arm/include/asm/global_data.h|5 ++- arch/avr32/include/asm/global_data.h |5 ++- arch/blackfin/include/asm/global_data.h |5 ++- arch/blackfin/lib/board.c |2 - arch/m68k/include/asm/global_data.h |5 ++

Re: [U-Boot] [PATCH v2 09/16] ARM: remove broken "versatile" boards.

2011-08-26 Thread Stefano Babic
On 08/26/2011 02:25 PM, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > --- > MAINTAINERS|2 - > MAKEALL|3 - > README |2 +- > board/armltd/versatile/Makefile|

[U-Boot] [RFC PATCH] net: Check network device driver name

2011-08-26 Thread Michal Simek
If name is longer than allocated space NAMESIZE mac address is rewritten which show error message like: Error message: Warning: Xlltemac.8700 MAC addresses don't match: Address in SROM is 30:00:00:00:00:00 Address in environment is 00:0a:35:00:6a:04 Signed-off-by: Michal Simek ---

[U-Boot] Device driver name - NET_MULTI

2011-08-26 Thread Michal Simek
Hi, I have met with the problem where I setup longer network driver name than was allocated space in eth_device structure. That's why I think that registration code should check it. What do you think? Thanks, Michal ___ U-Boot mailing list U-Boot@

[U-Boot] [PATCH 8/8] net: emaclite: Move RX/TX ping pong initialization to board

2011-08-26 Thread Michal Simek
Init RX/TX ping pong directly in boards not in the driver. Signed-off-by: Michal Simek --- .../xilinx/microblaze-generic/microblaze-generic.c | 11 ++- drivers/net/xilinx_emaclite.c | 10 +++--- include/netdev.h |2 +- 3

[U-Boot] [PATCH 7/8] net: emaclite: Free allocated space for device

2011-08-26 Thread Michal Simek
Free allocated space for device when allocating failed for private data. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index ac6c783..e0b6ce5

[U-Boot] [PATCH 6/8] net: emaclite: Setup RX/TX ping pong for every instance

2011-08-26 Thread Michal Simek
Setup RX/TX ping-pong buffer for every emaclite IP separately. The next patch move initialization directly to board code. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 122 +++-- 1 files changed, 68 insertions(+), 54 deletions(-) diff --git

[U-Boot] [PATCH 5/8] net: emaclite: Use dynamic allocation

2011-08-26 Thread Michal Simek
Every emaclite instance use own setting. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 39 +++ 1 files changed, 23 insertions(+), 16 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index d71b3a5..b15

[U-Boot] [PATCH 4/8] net: emaclite: Remove baseaddress from xemaclite

2011-08-26 Thread Michal Simek
Use dev->iobase instead of baseaddress. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 34 -- 1 files changed, 16 insertions(+), 18 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 28aab97..d71b3a5 1

[U-Boot] [PATCH 3/8] net: emaclite: Use calloc instead of malloc

2011-08-26 Thread Michal Simek
Simplify driver logic and clear eth_device structure in one command. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 2a5c5e1..28aab97 10064

[U-Boot] [PATCH 2/8] net: emaclite: Remove deviceid property

2011-08-26 Thread Michal Simek
Cleanup structure. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 8d170a3..2a5c5e1 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/

[U-Boot] [PATCH 1/8] net: emaclite: Change driver name and add address

2011-08-26 Thread Michal Simek
Current xilinx emaclite use net multi registration but doesn't support several emaclites interfaces. Changing driver name with adding address to name is the first step how to distiguish several drivers. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c |2 +- 1 files changed, 1 i

[U-Boot] [PATCH] Write MAC address whenever ethernet subsystem is initialized

2011-08-26 Thread Ingo van Lil
Currently the ethernet MAC address is read from the 'ethaddr' environment variable into the dev->enetaddr field each time the network hardware is initialized, but it is written to the actual hardware only once at board startup. When 'ethaddr' is set or changed after startup the device can no longer

Re: [U-Boot] [PATCH] Write MAC address whenever ethernet subsystem is initialized

2011-08-26 Thread Sergei Shtylyov
Hello. On 26-08-2011 13:24, Ingo van Lil wrote: > Currently the ethernet MAC address is read from the 'ethaddr' > environment variable into the dev->enetaddr field each time the network > hardware is initialized, but it is written to the actual hardware only > once at board startup. When 'ethaddr

[U-Boot] [PATCH v2 16/16] ARM: remove broken "at91rm9200dk" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- board/atmel/at91rm9200dk/Makefile | 56 board/atmel/at91rm9200dk/at91rm9200dk.c | 167 -- board/atmel/at91rm9200dk/config.mk |1 - board/atmel/at91rm9200dk/flash.c| 504 --- board/atmel/at91rm9200

[U-Boot] [PATCH v2 14/16] ARM: remove broken "kb9202" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- board/kb9202/Makefile| 53 - board/kb9202/config.mk |1 - board/kb9202/kb9202.c| 107 - boards.cfg |1 - doc/README.scrapyard |1 + include/configs/kb9202.h | 196 -

[U-Boot] [PATCH v2 09/16] ARM: remove broken "versatile" boards.

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- MAINTAINERS|2 - MAKEALL|3 - README |2 +- board/armltd/versatile/Makefile| 51 -- board/armltd/versatile/lowlevel_init.S |

[U-Boot] [PATCH v2 08/16] ARM: remove broken "smdk2400" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Gary Jennejohn --- MAINTAINERS|4 - MAKEALL|1 - board/samsung/smdk2400/Makefile| 51 board/samsung/smdk2400/config.mk | 25 -- board/samsung/smdk2400/flash.c | 49

[U-Boot] [PATCH v2 13/16] ARM: remove broken "csb637" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- board/csb637/Makefile| 50 board/csb637/config.mk |1 - board/csb637/csb637.c| 94 -- boards.cfg |1 - doc/README.scrapyard |1 + include/configs/csb637.h | 196 -

[U-Boot] [PATCH v2 07/16] ARM: remove broken "sbc2410x" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- MAKEALL|1 - board/sbc2410x/Makefile| 51 - board/sbc2410x/config.mk | 23 -- board/sbc2410x/flash.c | 433 board/sbc2410x/lowlevel_init.S | 163 --- b

[U-Boot] [PATCH v2 11/16] ARM: remove broken "at91cap9adk" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Stelian Pop --- MAINTAINERS |1 - board/atmel/at91cap9adk/Makefile | 56 -- board/atmel/at91cap9adk/at91cap9adk.c | 352 - board/atmel/at91cap9adk/config.mk |1 - board/atmel/at91ca

[U-Boot] [PATCH v2 10/16] ARM: remove broken "voiceblue" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- MAKEALL |1 - board/voiceblue/Makefile| 74 --- board/voiceblue/config.mk |1 - board/voiceblue/eeprom.c| 218 - board/voiceblue/setup.S | 280 ---

[U-Boot] [PATCH v2 15/16] ARM: remove broken "m501sk" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- board/m501sk/Makefile| 50 -- board/m501sk/config.mk |1 - board/m501sk/eeprom.c| 102 - board/m501sk/m501sk.c| 203 - board/m501sk/m501sk.h| 167 ---

[U-Boot] [PATCH v2 05/16] ARM: remove broken "mx1fs2" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- MAKEALL |1 - board/mx1fs2/Makefile| 51 --- board/mx1fs2/config.mk | 10 - board/mx1fs2/flash.c | 849 -- board/mx1fs2/intel.h | 99 - board/mx1fs2/lowlevel_

[U-Boot] [PATCH v2 12/16] ARM: remove broken "cmc_pu2" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- board/cmc_pu2/Makefile | 50 board/cmc_pu2/cmc_pu2.c | 192 -- board/cmc_pu2/config.mk |3 - board/cmc_pu2/flash.c | 469 --- board/cmc_pu2/load_sernum_etha

[U-Boot] [PATCH v2 04/16] ARM: remove broken "lpd7a40x" boards

2011-08-26 Thread Wolfgang Denk
Remove lpd7a400 and lpd7a404 boards. Signed-off-by: Wolfgang Denk --- MAKEALL|1 - board/lpd7a40x/Makefile| 51 board/lpd7a40x/config.mk | 38 --- board/lpd7a40x/flash.c | 490 board/lpd7a40x/low

[U-Boot] [PATCH v2 06/16] ARM: remove broken "netstar" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- MAKEALL |1 - Makefile |1 - board/netstar/Makefile| 95 --- board/netstar/config.mk | 11 -- board/netstar/crcek.S | 241 -- board/netstar/crcek.h |3

[U-Boot] [PATCH v2 02/16] ARM: remove broken "B2" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Andrea Scian --- MAINTAINERS |4 - MAKEALL |1 - board/dave/B2/B2.c| 139 -- board/dave/B2/Makefile| 55 --- board/dave/B2/config.mk | 30 -- board/

[U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Rowel Atienza --- MAINTAINERS |4 - MAKEALL |1 - board/armadillo/Makefile| 55 --- board/armadillo/armadillo.c | 72 board/armadillo/config.mk | 29 board/armadillo/fla

[U-Boot] [PATCH v2 03/16] ARM: remove broken "edb93xx" boards

2011-08-26 Thread Wolfgang Denk
Remove edb9301, edb9302, edb9302a, edb9307, edb9307a, edb9312, edb9315 and edb9315a boards. Signed-off-by: Wolfgang Denk --- MAKEALL |8 -- Makefile | 10 -- board/edb93xx/Makefile | 50 board/edb93xx/config.mk | 33 - bo

[U-Boot] [PATCH v2 00/16] ARM: board removal

2011-08-26 Thread Wolfgang Denk
This is a repost of the remaining patches from my earlier "ARM: board removal" series. No change log is given, as there were actually no changes at all, I just rebased the patches against the current u-boot-arm.git/master branch. Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Wolfgang Denk (1

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-26 Thread Andreas Bießmann
Dear Wolfgang, Am 26.08.2011 13:36, schrieb Wolfgang Denk: > Dear Simon, > > In message <4e563136.2030...@gmail.com> you wrote: >> >>> A question ex ante: what is the "bp" in "savebp" supposed to mean? I > ... >> It means "save boot parameters" - better proposals welcome. > Also, I think we sh

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-26 Thread Simon Schwarz
Dear Wolfgang, On 08/26/2011 01:36 PM, Wolfgang Denk wrote: > Dear Simon, > > In message<4e563136.2030...@gmail.com> you wrote: >> >>> A question ex ante: what is the "bp" in "savebp" supposed to mean? I > ... >> It means "save boot parameters" - better proposals welcome. > > If it's not too much

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-26 Thread Wolfgang Denk
Dear Aneesh V, In message <4e5787b7.1060...@ti.com> you wrote: > > > As all this is about preparing for a SPL boot, I suggest we name the > > new command "spl"; the resulting user interface could be like this: > > > > > > spl export addr [args ...] > > How about skipping the spl part and

Re: [U-Boot] [PATCH V3 8/8] savebp: added Readme

2011-08-26 Thread Sergei Shtylyov
Hello. On 25-08-2011 12:33, Simon Schwarz wrote: > Adds a Readme for the savebp command > Signed-off-by: Simon Schwarz [...] > diff --git a/doc/README.commands.savebp b/doc/README.commands.savebp > new file mode 100644 > index 000..dc05ee0 > --- /dev/null > +++ b/doc/README.commands.savebp

Re: [U-Boot] [PATCH V3 1/8] arm: Add Prep subcommand support to bootm

2011-08-26 Thread Andreas Bießmann
Dear Simon, Am 26.08.2011 11:57, schrieb Simon Schwarz: > Dear Andreas, > > On 08/25/2011 11:40 AM, Andreas Bießmann wrote: >> Dear Simon, >>> void arch_lmb_reserve(struct lmb *lmb) >>> @@ -98,63 +101,67 @@ int do_bootm_linux(int flag, int argc, char >>> *argv[], bootm_headers_t *images) >>>

Re: [U-Boot] [PATCH v4] USB: Add align(4) in __attribute__ ((packed)) for struct ehci_hccr and ehci_hcor

2011-08-26 Thread Wolfgang Denk
Dear Joel A Fernandes, In message <1313097765-3206-1-git-send-email-agnel.j...@gmail.com> you wrote: > From: Jason Kridner > > Switched to align(4) to prevent byte access to soc registers in some gcc > versions. ... > -} __attribute__ ((packed)); > +} __attribute__ ((packed, aligned(4))); Can

Re: [U-Boot] top of tree build fails for beagleboard

2011-08-26 Thread Jaya Kumar
On Wed, Aug 24, 2011 at 8:16 PM, Aneesh V wrote: > > There is already a fix in u-boot-arm for this. > > http://git.denx.de/?p=u-boot/u-boot-arm.git;a=commit;h=9ec6b678e7c17684cbe5cc0e521cad9ce7a2c281 > Thanks Aneesh. btw, in case anyone else is interested in making top of tree u-boot-arm work wi

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-26 Thread Aneesh V
Hi Wolfgang, On Friday 26 August 2011 05:06 PM, Wolfgang Denk wrote: > Dear Simon, > ... > As all this is about preparing for a SPL boot, I suggest we name the > new command "spl"; the resulting user interface could be like this: > > > spl export addr [args ...] How about skipping the s

  1   2   >