Re: [U-Boot] [PATCH] Kirkwood: grouped all Kirkwood boards

2010-11-24 Thread Albert ARIBAUD
Le 24/11/2010 12:51, Prafulla Wadaskar a écrit : > Kirkwood based boards where scattered in boards.cfg > All such boards were grouped together > The ordering is fixed > > Signed-off-by: Prafulla Wadaskar Hi Prafulla, How does this work with Eric's recent reordering of boards.cfg? Amicalement, --

[U-Boot] Gutes Gehalt in guter Gesellschaft.

2010-11-24 Thread reservas
Firma: TRANS EUROPE EXPRESS Position: Versandmanager Kategorie: Versand/Manager Arbeitszeit: Teilzeitbeschaftigung/Heimarbeit Location: Deutschland Vergutung: 1.800 Euro monatlich + Bonus Erfahrung: nicht erforderlich Ausbildung: Mittelschulabschluss Sehr geehrter Bewerber, sehr ge

Re: [U-Boot] [PATCH] Kirkwood: grouped all Kirkwood boards

2010-11-24 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1290599472-18072-1-git-send-email-prafu...@marvell.com> you wrote: > Kirkwood based boards where scattered in boards.cfg > All such boards were grouped together > The ordering is fixed Please read the comment at the head of the file which describes how the file

[U-Boot] [RFC/PATCH] common/command.c: Guard strchr/strlen from NULL pointer

2010-11-24 Thread Thomas Weber
Guard strchr/strlen from being called with NULL pointer. This line is crashing on OMAP3/Devkit8000 when command "env" is called without subcommand. Toolchain is Codesourcery 2010q1. The cmd is NULL in this case because the calling function "do_env" decremented the argc without checking if the

Re: [U-Boot] [PATCH] Kirkwood: grouped all Kirkwood boards

2010-11-24 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Wednesday, November 24, 2010 1:50 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [PATCH] Kirkwood: grouped all Kirkwood boards > > Le 24/11/2010 1

[U-Boot] About uClinux auto start ?

2010-11-24 Thread wzc0066
The env set as below: bootcmd=run flashboot flashboot=sf probe 1; sf read 0x100 0x3 0x32; bootm 0x100 After enter the uboot console, uClinux can be started by command "boot"; but after power on (reset) the board, the error info is: * * *SF: Detected M25P32 with page size 256, tota

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Joakim Tjernlund
> > Scott Wood wrote on 2010/11/23 23:32:04: > > > > On Tue, 23 Nov 2010 23:14:06 +0100 > > Joakim Tjernlund wrote: > > > > > Scott Wood wrote on 2010/11/23 22:20:58: > > > > "load address" being pre-relocation? Currently these must be equal > > > > (which doesn't seem particularly burdensome).

Re: [U-Boot] [RFC/PATCH] common/command.c: Guard strchr/strlen from NULL pointer

2010-11-24 Thread Wolfgang Denk
Dear Thomas Weber, In message <1290593751-540-1-git-send-email-we...@corscience.de> you wrote: > Guard strchr/strlen from being called with NULL pointer. > This line is crashing on OMAP3/Devkit8000 when command "env" is called > without subcommand. > > Toolchain is Codesourcery 2010q1. > > The

[U-Boot] [RFC/PATCHv2 2/2] Common/cmd_nvedit: Check for env subcommand

2010-11-24 Thread Thomas Weber
The env command needs one subcommand. If this is not available print the usage help. Signed-off-by: Thomas Weber --- common/cmd_nvedit.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 3fd8abc..52c5e7c 100644 --- a/common

[U-Boot] [RFC/PATCHv2 1/2] Common/command: Guard strchr/strlen from NULL pointer

2010-11-24 Thread Thomas Weber
Guard strchr/strlen from being called with NULL pointer. This line is crashing when command "env" is called without subcommand. The cmd is NULL in this case because the calling function "do_env" decremented the argc without checking if there are still arguments available. Signed-off-by: Thomas We

Re: [U-Boot] OMAP3 patch to improve performance?

2010-11-24 Thread Siarhei Siamashka
On Saturday 20 November 2010 01:12:22 Paulraj, Sandeep wrote: > > Dear Sandeep, > > > > In message <0554bef07d437848af01b9c9b5f0bc5dbd1c1...@dlee01.ent.ti.com> > > > > you wrote: > > > I came across this patch that might be useful > > > > > > http://lists.denx.de/pipermail/u-boot/2010-February/0

[U-Boot] [PATCH] cmd_usage: Use ignored return value

2010-11-24 Thread Thomas Weber
cmd_usage returns 1, so its return value can be used as return value. Some functions ignore the return value of cmd_usage and return a "1" in the next line. This patch changes these calls so that the return value of cmd_usage is used as return value. Signed-off-by: Thomas Weber --- arch/powerpc

Re: [U-Boot] [RFC/PATCH] common/command.c: Guard strchr/strlen from NULL pointer

2010-11-24 Thread Sergei Shtylyov
Hello. On 24-11-2010 13:15, Thomas Weber wrote: > Guard strchr/strlen from being called with NULL pointer. > This line is crashing on OMAP3/Devkit8000 when command "env" is called > without subcommand. > Toolchain is Codesourcery 2010q1. > The cmd is NULL in this case because the calling funct

[U-Boot] "usb reset" issue with some pen drives which work well in Linux/Windows

2010-11-24 Thread Debashish Rath
Hello, I was trying to add usb support to u-boot for my Arm cortex-A9 processor based board. I am using "U-Boot 2009.08". I have tested the usb support (reset, fatls, fatload to boot linux etc) with the following devices and its working fine. 1. Western Digital "My Book" - Self powered USB HD 2.

[U-Boot] migration from Micron to ISSI RAM

2010-11-24 Thread Mauro Marinho
Hi there, It's my first contact to the group. I just started working with U-boot from my Job here in Brazil. Does anyone has already worked with any of the RAM's below? both 2 Meg x 16 x 4 banks: - Micron - MT48LC8M16A2; - ISSI - IS42S16800E -75ETL; I got the mission to make the nece

[U-Boot] [PATCH 1/3 V6] Move and rename common headers from under board/davinci.

2010-11-24 Thread Sughosh Ganu
Move the davinci common headers to the architecture specific include file path. Signed-off-by: Sughosh Ganu --- Changes since V5 * Based off Ben Gardiner's tree, no changes in the patch .../arm/include/asm/arch-davinci/da8xx_common.h|0 .../arm/include/asm/arch-davinci/davinci_misc.h

[U-Boot] [PATCH 2/3 V6] Remove board_init_f function from nand_boot.c

2010-11-24 Thread Sughosh Ganu
Remove the board_init_f function from nand_spl/nand_boot.c. This function is to be defined by all boards using the nand_spl functionality in their individual board directory. Currently this function was being used by the smdk6400 board. Added the board specific function definition. Signed-of

[U-Boot] [PATCH 3/3 V6] Add board support for hawkboard

2010-11-24 Thread Sughosh Ganu
The patch adds basic board support for TI's OMAP-L138 based Hawkboard. This board is pretty similar to the da850 EVM. Support for nand and network access is added in this version. The following bootup procedure is used. At reset, the Rom Boot Loader(RBL), initialises the ddr and the nand controll

Re: [U-Boot] [PATCH 1/3 V6] Move and rename common headers from under board/davinci.

2010-11-24 Thread Ben Gardiner
On Wed, Nov 24, 2010 at 9:21 AM, Sughosh Ganu wrote: >  Move the davinci common headers to the architecture specific >  include file path. > > Signed-off-by: Sughosh Ganu > --- > Changes since V5 > * Based off Ben Gardiner's tree, no changes in the patch Tested-by: Ben Gardiner Best Regards, B

Re: [U-Boot] "usb reset" issue with some pen drives which work well in Linux/Windows

2010-11-24 Thread Wolfgang Denk
Dear Debashish Rath, In message <24a35c16137fe049838d189639dd567f083d4...@eu-exh-02.eu.trid.com> you wrote: > > I was trying to add usb support to u-boot for my Arm cortex-A9 processor ba= > sed board. I am using "U-Boot 2009.08". Before trying anything else, please update to current code and re

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

2010-11-24 Thread Ben Gardiner
Hi Sugosh, On Wed, Nov 24, 2010 at 2:23 AM, Sughosh Ganu wrote: > hi Ben, > > On Fri Nov 19, 2010 at 10:16:09AM -0500, Ben Gardiner wrote: >> We are happy to see the omap-L138 support in u-boot moving forward. We >> would like to get either SD or USB (or both) omapL138 support upstream >> next. D

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Scott Wood
On Wed, 24 Nov 2010 12:04:15 +0100 Joakim Tjernlund wrote: > > > > Scott Wood wrote on 2010/11/23 23:32:04: > > > > > > On Tue, 23 Nov 2010 23:14:06 +0100 > > > Joakim Tjernlund wrote: > > > > > > > Scott Wood wrote on 2010/11/23 22:20:58: > > > > > "load address" being pre-relocation? Curren

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

2010-11-24 Thread Wolfgang Denk
Dear s-paul...@ti.com, In message <1290202270-11992-1-git-send-email-s-paul...@ti.com> you wrote: > The following changes since commit 635d1b3e1b885267de90d100402ba7748fdd9bc5: > Matthias Weisser (1): > Makefile: Fix build with USE_PRIVATE_LIBGCC > > are available in the git repository

Re: [U-Boot] Pull request u-boot-blackfin.git

2010-11-24 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1290376355-26367-1-git-send-email-vap...@gentoo.org> you wrote: > The following changes since commit fa722ea76be565de6823ca04c107cc4fbd96b776: > > Merge branch 'master' of /home/wd/git/u-boot/custodians (2010-11-19 > 22:02:48 +0100) > > are available in the gi

Re: [U-Boot] [PATCH v2] Fix NAND booting make target

2010-11-24 Thread Wolfgang Denk
Dear Stefan Roese, In message <1290579175-28208-1-git-send-email...@denx.de> you wrote: > Without this fix, the NAND_SPL target (in nand_spl/) is not built > at all for those boards defining NAND_U_BOOT=y in boards.cfg. > > Signed-off-by: Stefan Roese > Cc: Scott Wood > --- > v2: > - Don't chan

[U-Boot] DEC21140 driver && netconsole && new target.

2010-11-24 Thread Scott Nicholas
Hello, I have a board which uses dec21140-like ethernet, non-pci. In Linksys' GPL release is old u-boot (seems 1.1.4). I had same problem with 2010.09, in that when I enable netconsole, I saw each putc/puts twice! I read dec2114x datasheet in detail, and firstly, wonder if anyone else has tested

Re: [U-Boot] DEC21140 driver && netconsole && new target.

2010-11-24 Thread Wolfgang Denk
Dear Scott Nicholas, In message you wrote: > > I have a board which uses dec21140-like ethernet, non-pci. In > Linksys' GPL release is old u-boot (seems 1.1.4). I had same problem > with 2010.09, in that when I enable netconsole, I saw each putc/puts > twice! > > I read dec2114x datasheet in

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

2010-11-24 Thread Haiying Wang
On Tue, 2010-11-23 at 13:57 -0700, Wolfgang Denk wrote: > Dear Haiying Wang, > > Does CONFIG_TPL_UBOOT make sense to you if I replace > CONFIG_SYS_TPL_BOOT > > with it? > > I cannot answer this. Don't understand any of this. > > Maybe you can re-think this again and try to make it less complex, a

[U-Boot] [PATCH] Introduce the Tertiary Program loader

2010-11-24 Thread Haiying.Wang
From: Haiying Wang TPL is introduced to enable a loader stub that boots out of some type of RAM, after being loaded by an SPL or similar platform-specific mechanism. One example of using this tpl loader is to initialize the ddr through spd code in case the L2 SRAM size is not big enough to hold

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/24 18:16:56: > > On Wed, 24 Nov 2010 12:04:15 +0100 > Joakim Tjernlund wrote: > > > > > > > Scott Wood wrote on 2010/11/23 23:32:04: > > > > > > > > On Tue, 23 Nov 2010 23:14:06 +0100 > > > > Joakim Tjernlund wrote: > > > > > > > > > Scott Wood wrote on 2010/11/23 2

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Scott Wood
On Wed, 24 Nov 2010 22:36:27 +0100 Joakim Tjernlund wrote: > Scott Wood wrote on 2010/11/24 18:16:56: > > > > On Wed, 24 Nov 2010 12:04:15 +0100 > > Joakim Tjernlund wrote: > > > > > > > > > > Scott Wood wrote on 2010/11/23 23:32:04: > > > > > > > > > > On Tue, 23 Nov 2010 23:14:06 +0100 > > >

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > Played a little with this but it seems like two BATs cannot overlap? IIRC they can, but the first (lower register numbers) mapping wins. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/24 22:41:19: > > > > > > How about playing with BATs before entering C code, so that the > > > > > > image > > > > > > always appears at the same effective address? > > > > > > > > > > hmm, never thought of that. The extra bonus would be that LINK_OFF > > > > > should

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2010/11/24 22:45:11: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > Played a little with this but it seems like two BATs cannot overlap? > > IIRC they can, but the first (lower register numbers) mapping wins. This text from PPC PEM suggests otherwise:

Re: [U-Boot] [PATCH] Introduce the Tertiary Program loader

2010-11-24 Thread Mike Frysinger
On Wednesday, November 24, 2010 16:25:28 haiying.w...@freescale.com wrote: > +ifeq ($(CONFIG_TPL_U_BOOT),y) > +$(U_BOOT_NAND): $(NAND_SPL) $(TPL_BOOT) $(obj)u-boot.bin > + cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)tpl/u-boot-tpl.bin > $(obj)u-boot.bin > $(obj)u-boot-nand.bin > +else >

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > >Are you planning to apply some of my earlier patches(not this RFC series) >or are you waiting for Freescale to Ack/pick up? So far nobody >has said anything. I think these are all on Freescale's (Kim Phillips') list. Best regards, W

Re: [U-Boot] [PATCH] cmd_usage: Use ignored return value

2010-11-24 Thread Mike Frysinger
On Wednesday, November 24, 2010 07:38:14 Thomas Weber wrote: > cmd_usage returns 1, so its return value can be used as return value. your summary implies that "cmd_usage" is being changed when in reality, random commands are being changed to use cmd_usage. > arch/powerpc/cpu/ppc4xx/cmd_ecctest.

Re: [U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

2010-11-24 Thread Scott Wood
On Wed, 24 Nov 2010 22:50:21 +0100 Joakim Tjernlund wrote: > Scott Wood wrote on 2010/11/24 22:41:19: > > > > > > > How about playing with BATs before entering C code, so that the > > > > > > > image > > > > > > > always appears at the same effective address? > > > > > > > > > > > > hmm, never

Re: [U-Boot] DEC21140 driver && netconsole && new target.

2010-11-24 Thread Scott Nicholas
Hello, On Wed, Nov 24, 2010 at 4:18 PM, Wolfgang Denk wrote: > Dear Scott Nicholas, > > In message you > wrote: >> > > There is no dec21140 Ethernet driver in mainline U-Boot, so it's > pretty unlikely that there will be much feedback.  Just don't be > disappointed. I mean drivers/net/dc2114x.

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

2010-11-24 Thread Scott Wood
Apply the same fix for 83xx as was done for 85xx in commit 96196a1f7546904563994d2d041804a816d7c139. Without this, NAND SPLs are built with the text base intended for the main image, resulting in a broken, very large u-boot-nand.bin. The block of defines for NAND boot is moved closer to where CON

[U-Boot] [PATCH] sh: Remove SCIF/SCI register infomation

2010-11-24 Thread Nobuhiro Iwamatsu
The register information of SCIF/SCI was compiled by drivers/serial/serial_sh.h. Therefore, these are not necessary. Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/include/asm/cpu_sh7722.h | 38 -- arch/sh/include/asm/cpu_sh7750.h | 16 arch

[U-Boot] [PATCH] sh: sh7722: Fix multiple definition of PSDR in serial_sh

2010-11-24 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- drivers/serial/serial_sh.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h index df21b37..54e94e5 100644 --- a/drivers/serial/serial_sh.h +++ b/drivers/serial/serial_sh.h @@ -87,6

[U-Boot] [PATCH] sh: serial_sh: Fix build in serial_sh

2010-11-24 Thread Nobuhiro Iwamatsu
The serial of ap325rxa has it of two kinds, and the setting of the clock is different. Because there was a problem by function to judge serial kind, this revised it. Signed-off-by: Nobuhiro Iwamatsu --- drivers/serial/serial_sh.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) d

[U-Boot] [PATCH] sh: r7780mp: Remove CONFIG_DRIVER_NE2000 from config

2010-11-24 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- include/configs/r7780mp.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h index 3416cb8..802416f 100644 --- a/include/configs/r7780mp.h +++ b/include/configs/r7780mp.h @@ -154,7 +15

[U-Boot] [PATCH] sh: Fix build in start.S

2010-11-24 Thread Nobuhiro Iwamatsu
By commit 6d8962e814c15807dd6ac5757904be2a02d187b8, label of _start was not usable in start.S and build fail. This change label from _start to _sh_start. arch/sh/cpu/sh4/libsh4.o: In function `_start': (.text+0x204): multiple definition of `_start' arch/sh/cpu/sh4/start.o:(.text+0x0): first

Re: [U-Boot] [PATCH v5] nds32: Add NDS32 architecture support (header files)

2010-11-24 Thread Macpaul Lin
> From: Morgan 張明鈿 [mailto:mingdien.ch...@gmail.com] > Sent: Wednesday, November 24, 2010 4:52 PM > To: Macpaul Chih-Pin Lin(林智斌) > Subject: Re: [U-Boot] [PATCH v5] nds32: Add NDS32 architecture support >(header files) > Hi, Macpaul > I noticed the patches in the U-Boot mailing list for the nds32

[U-Boot] [PATCHv2 0/3] Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
cmd_usage returns 1, so its return value can be used as return value. Some functions ignore the return value of cmd_usage and return a "1" in the next line. These patches change these calls so that the return value of cmd_usage is used as return value. *** BLURB HERE *** Thomas Weber (3): Com

[U-Boot] [PATCHv2 1/3] common/cmd_nvedit: Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: Thomas Weber --- common/cmd_nvedit.c | 18 ++ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 3fd8abc..cd19cc6 100644 ---

[U-Boot] [PATCHv2 3/3] powerpc: cmd_ecctest: Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: Thomas Weber --- arch/powerpc/cpu/ppc4xx/cmd_ecctest.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/cpu/ppc4xx/cmd_ecctest.c b/arch/powerpc/cpu/ppc4xx/cmd_e

[U-Boot] [PATCHv2 2/3] gdsys: osd: Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: Thomas Weber --- board/gdsys/common/osd.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/board/gdsys/common/osd.c b/board/gdsys/common/osd.c index 05800ff..239c870 100644 -

[U-Boot] Pull request u-boot-marvell.git

2010-11-24 Thread Prafulla Wadaskar
Hi Albert/Wolfgang Please pull The following changes since commit e81bb57f2d98a65aa1a3c61d54cf40294f9039c8: Wolfgang Denk (1): DaVinci: remove bogus DEF_BOOTM definition are available in the git repository at: u-boot-marvell.git master branch Eric Cooper (2): Seagate FreeAgen

Re: [U-Boot] [PATCH] Kirkwood: grouped all Kirkwood boards

2010-11-24 Thread Prafulla Wadaskar
> -Original Message- > From: Prafulla Wadaskar > Sent: Wednesday, November 24, 2010 3:47 PM > To: 'Albert ARIBAUD' > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: RE: [PATCH] Kirkwood: grouped all Kirkwood boards > > > > > -Original Message- > > From:

Re: [U-Boot] [PATCHv2 0/3] Use return value of cmd_usage

2010-11-24 Thread Mike Frysinger
On Thursday, November 25, 2010 02:05:27 Thomas Weber wrote: > cmd_usage returns 1, so its return value can be used as return value. > > Some functions ignore the return value of cmd_usage and return a "1" in > the next line. These patches change these calls so that the return value of > cmd_usage

Re: [U-Boot] DEC21140 driver && netconsole && new target.

2010-11-24 Thread Wolfgang Denk
Dear Scott Nicholas, In message you wrote: > > > There is no dec21140 Ethernet driver in mainline U-Boot, so it's > > pretty unlikely that there will be much feedback. Just don't be > > disappointed. > > I mean drivers/net/dc2114x.c, whatever name it goes by. Oops. You are right. But tehre