[U-Boot] [PATCH 1/1] ppc/85xx/pci: fsl_pci_init: pcie agent mode support

2009-10-26 Thread Vivek Mahajan
Originally written by Jason Jin and Mingkai Hu for mpc8536. When QorIQ based board is configured as a PCIe agent, then unlock the config and init a 4K inbound memory window; so that a PCIe host can request it. * Supported in fsl_pci_init_port() after adding pcie_ep as a param * Revamped copyright

[U-Boot] How to enable 2 FCC Ports while booting using CONFIG_NET_MULTI

2009-10-26 Thread Gurumurthy Gowdar
Dear All, please let me know how to enable two Ethernet Ports in U-boot for MPC8280 at booting time. After booting i should be able to ping the two ports i.e. FCC1 and FCC2 only by connecting the ethernet cable to the repective port (FCC1 & FCC2. currently i have enabled one port FCC2

Re: [U-Boot] [PATCH 6/8] OMAP3 beagle Add usbtty configuration

2009-10-26 Thread Gupta, Ajay Kumar
Tom, > From: Tom Rix windriver.com> > Subject: [PATCH 6/8] OMAP3 beagle Add usbtty configuration > Newsgroups: gmane.comp.boot-loaders.u-boot > Date: 2009-09-28 16:37:27 GMT (4 weeks, 12 hours and 41 minutes ago) > > The primary console of beagle is the serial header. > > A secondary console is

Re: [U-Boot] [PATCH 4/8] OMAP3 Add usb device support

2009-10-26 Thread Gupta, Ajay Kumar
Tom, > From: Tom Rix windriver.com> > Subject: [PATCH 4/8] OMAP3 Add usb device support > Newsgroups: gmane.comp.boot-loaders.u-boot > Date: 2009-09-28 16:37:25 GMT (4 weeks, 12 hours and 29 minutes ago) > This change adds the usb device support for musb. > > Omap3 platform support added at the

[U-Boot] [PATCH]85xx/p1_p2_rdb: Fixing DDR configuration for 800MHz data rate

2009-10-26 Thread Poonam Aggrwal
Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala --- board/freescale/p1_p2_rdb/ddr.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/p1_p2_rdb/ddr.c b/board/freescale/p1_p2_rdb/ddr.c index 08d3aaa..658347b 100644 --- a/board/freescale/p1_p2_rdb/

[U-Boot] [PATCH]85xx/p1_p2rdb: Bug Fix: Crash while configuring 32 bit DDR i/f for P1020RDB.

2009-10-26 Thread Poonam Aggrwal
The data being modified was in NOR flash which caused the crash. file->board/freescale/p1_p2_rdb/ddr.c function->fixed_sdram() Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala --- board/freescale/p1_p2_rdb/ddr.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) d

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-10-26 Thread Kumar Gala
On Oct 15, 2009, at 8:47 AM, Anton Vorontsov wrote: > Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX > constant. With multi-serial support, the CONS_INDEX may no longer > represent actual console, so we should try to extract port number > from the current stdio device name ins

Re: [U-Boot] [PATCH] MPC85xx crashes on SPE instruction (misalignment?), workaround tested to work

2009-10-26 Thread Kumar Gala
On Oct 26, 2009, at 4:03 AM, Leon Woestenberg wrote: > Hello, > > my MPC85xx U-Boot crashed on the last instruction: > openembedded/tmp/cross/ppce500v2/bin/powerpc-angstrom-linux-gnuspe- > objdump > -M e500x2 -S u-boot | less > > int parse_stream_outer(struct in_str *inp, int flag) > { > effa478

Re: [U-Boot] [PATCH] ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c

2009-10-26 Thread Kumar Gala
On Oct 26, 2009, at 9:26 PM, Kumar Gala wrote: > nand_boot.c: In function 'board_init_f': > nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this > function > > Signed-off-by: Kumar Gala > --- > nand_spl/board/freescale/p1_p2_rdb/nand_boot.c |2 +- > 1 files changed, 1 insert

Re: [U-Boot] [PATCH] ppc/85xx: Fix building NAND_SPL out of tree

2009-10-26 Thread Kumar Gala
On Oct 26, 2009, at 9:25 PM, Kumar Gala wrote: > We need to source files to exist in the O= nand_spl dir when > we build out of tree. > > Signed-off-by: Kumar Gala > --- > nand_spl/board/freescale/mpc8536ds/Makefile |6 ++ > nand_spl/board/freescale/p1_p2_rdb/Makefile |6 ++ > 2 fi

Re: [U-Boot] [PATCH] ppc/85xx: Make L2 support more robust

2009-10-26 Thread Kumar Gala
On Oct 26, 2009, at 9:25 PM, Kumar Gala wrote: > From: Dave Liu > > According the user manual, we need loop-check the L2 enable bit set. > > Signed-off-by: Dave Liu > Signed-off-by: Kumar Gala > --- > cpu/mpc85xx/cpu_init.c |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) appli

Re: [U-Boot] P1020RDB_NAND build issues

2009-10-26 Thread Kumar Gala
On Oct 25, 2009, at 5:12 PM, Wolfgang Denk wrote: > Dear Kumar, > > the P1020RDB_NAND is not build clean. For local (in-tree) builds I > get: > > Configuring for P1_P2_RDB board... > nand_boot.c: In function 'board_init_f': > nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this

[U-Boot] [PATCH] ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c

2009-10-26 Thread Kumar Gala
nand_boot.c: In function 'board_init_f': nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this function Signed-off-by: Kumar Gala --- nand_spl/board/freescale/p1_p2_rdb/nand_boot.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/nand_spl/board/freescale/p

[U-Boot] [PATCH] ppc/85xx: Fix building NAND_SPL out of tree

2009-10-26 Thread Kumar Gala
We need to source files to exist in the O= nand_spl dir when we build out of tree. Signed-off-by: Kumar Gala --- nand_spl/board/freescale/mpc8536ds/Makefile |6 ++ nand_spl/board/freescale/p1_p2_rdb/Makefile |6 ++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/n

[U-Boot] [PATCH] ppc/85xx: Make L2 support more robust

2009-10-26 Thread Kumar Gala
From: Dave Liu According the user manual, we need loop-check the L2 enable bit set. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala --- cpu/mpc85xx/cpu_init.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/cpu/mpc85xx/cpu_init.c b/cpu/mpc85xx/cpu_init.c index 5

Re: [U-Boot] A question about "Initialize GOT pointer"

2009-10-26 Thread Jello huang
Sorry,i thought the code is like this(intel asm): mov ax, 40h mov ds, ax ax as an temp registor 2009/10/26 Andrew Dyer > On Mon, Oct 26, 2009 at 1:41 AM, XR SU wrote: > > hi,all: > > here is a question, who can tell me? thanks. > > > > in uboot file : cpu/mips/start.S > > > > /* Ini

Re: [U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Andreas Pretzsch
Am Monday 26 October 2009 12:35:14 schrieb Raffaele Recalcati: > I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a > for my pxa255/smx911x (lan9118) board. > tftp works nice, also through a switch, but only if I'm not > connected to the LAN. On rare occasions, I observe spora

Re: [U-Boot] UBOOT port to i.MX27ADS - NAND issues ( again )

2009-10-26 Thread Fabio Estevam
Hi Hamilton, --- On Mon, 10/26/09, Hamilton Vera wrote: > From: Hamilton Vera > Subject: [U-Boot] UBOOT port to i.MX27ADS - NAND issues ( again ) > To: u-boot@lists.denx.de > Date: Monday, October 26, 2009, 1:29 PM > Greetings everyone, some time ago I > saw in the list an issue about > booting

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 18:17:03 Scott Wood wrote: > Currently, some of the tools instead set CC to be HOSTCC in order to re-use > some pattern rules -- but this fails when the user overrides CC on the make > command line. Also, the HOSTCFLAGS in tools/Makefile are currently not > being used bec

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200910182055.01744.vap...@gentoo.org> you wrote: > ... > From 1ffa4c71d249e877c8b4b84e412af7efc1e8f113 Mon Sep 17 00:00:00 2001 > From: Mike Frysinger > Date: Sun, 18 Oct 2009 19:37:11 -0400 > Subject: [PATCH 2/2] env_embedded: remove unused code from linker scrip

[U-Boot] [PATCH] new PCA9564 i2c bridge driver

2009-10-26 Thread Mike Frysinger
From: Valentin Yakovenkov Signed-off-by: Valentin Yakovenkov Signed-off-by: Mike Frysinger --- drivers/i2c/Makefile |1 + drivers/i2c/pca9564_i2c.c | 189 + include/pca9564.h | 50 3 files changed, 240 insertions(+),

Re: [U-Boot] [PATCH 1/2] Don't let the command-line ARCH=powerpc override our redefinition to ppc.

2009-10-26 Thread Scott Wood
Scott Wood wrote: > Wolfgang Denk wrote: >> Dear Scott Wood, >> >> In message <20091019212409.ga31...@loki.buserror.net> you wrote: >>> The override keyword is needed for make to take our version over the one >>> specified on the command line, and remove it from the list of command line >>> overrid

[U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-26 Thread Scott Wood
Currently, some of the tools instead set CC to be HOSTCC in order to re-use some pattern rules -- but this fails when the user overrides CC on the make command line. Also, the HOSTCFLAGS in tools/Makefile are currently not being used because config.mk overwrites them. This patch adds static patte

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Denk
Dear miaofng, In message <4ae5a449.7040...@gmail.com> you wrote: > > what i want to do is something like a protocol gateway. It converts the > data from one type to another. Use an OS for this purpose. U-Boot is just a boot loader. > u-boot has support so many cpu/board/, i thinks it can do

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sj a1000/can support

2009-10-26 Thread Wolfgang Denk
Dear "=?utf-8?B?bWlhb2ZuZw==?=", In message <200910261647227347...@gmail.com> you wrote: > Hi mike, > It seems there's a big difference between my current project > and u-boot common usage. I can only enjoy the patch myself now > > i want to get a packet from usb/network, then redirect it to can

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Denk
Dear "miaofng", In message <200910241217470153...@gmail.com> you wrote: > From 1f6aaba856fbf484c442eb33cf220774d57fba8d Mon Sep 17 00:00:00 2001 > From: miaofng > Date: Fri, 23 Oct 2009 17:06:50 +0800 > Subject: [PATCH] [can] add u-boot sja1000/can support > > Signed-off-by: miaofng Please pro

Re: [U-Boot] [PATCH v2 4/4] mpc52xx: add support for the IPEK01 board

2009-10-26 Thread Wolfgang Denk
Dear Wolfgang Grandegger, In message <1256292196-20660-5-git-send-email...@grandegger.com> you wrote: > From: Wolfgang Grandegger > > This patch adds support for the board IPEK01 based on the MPC5200. > The Futjitsu Lime graphics controller is configured in 16 bpp mode. > > Signed-off-by: Wolfg

Re: [U-Boot] [PATCH v2 1/4] add TI DA8xx support: Add new directory for da8xx cpu functions

2009-10-26 Thread Wolfgang Denk
Dear Sandeep, In message <0554bef07d437848af01b9c9b5f0bc5d93807...@dlee01.ent.ti.com> you wrote: > > > It looks like this patch is duplicating much of what is already > > in arm926ejs/davinci. Unless there is a really good reason > > for a separate cpu dir, this patch should change to merge > >

Re: [U-Boot] [PATCH] 83xx: Added a weak board_reset function to allow custom reset.

2009-10-26 Thread Wolfgang Denk
Dear Richard Retanubun, In message <4ae5edcc.5050...@ruggedcom.com> you wrote: > From 2b9f89f5d0538e44ebbe66236cd9b6be4ee902e3 Mon Sep 17 00:00:00 2001 > From: Richard Retanubun > Date: Mon, 26 Oct 2009 14:16:03 -0400 > Subject: [PATCH] Added a weak board_reset function to allow custom reset. >

Re: [U-Boot] replacing do_reset with a custom one

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 14:44:28 Richard Retanubun wrote: > Mike Frysinger wrote: > > #ifdef's are the past. weaks are in! > > > > the Blackfin port already does: > > void board_reset(void) __attribute__((__weak__)); > > ... > > if (board_reset) > > board_reset(); > > ... > > > > the

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 08:34:35 Stefan Roese wrote: > On Monday 26 October 2009 13:26:22 Mike Frysinger wrote: > > > Thanks. With this patch, most of the ppc4xx compile problems I have > > > noticed are gone now. But unfortunately not all. Those two 4xx > > > platforms still don't compile: > > >

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 15:17:45 Wolfgang Denk wrote: > Mike Frysinger wrote: > > should be harmless, but obviously it's ugly. the attached patch should > > fix things up. the related issue is the one i raised in the other env > > embedded thread wrt the meaning of "ENV_IS_EMBEDDED" ... > > I

Re: [U-Boot] esdmode for DDR2

2009-10-26 Thread Werner Nedel
Sorry for this big mistake and wasting your time :-( There's a bit between rtt and ocd, that don't match with definition in jedec ddr2 sdram specification. On Sat, Oct 24, 2009 at 12:38 PM, Kumar Gala wrote: > 5 is correct. > > Here's an example: > > rtt = 0x3: > esd_mode should be = 0x44: > >

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200910260436.12814.vap...@gentoo.org> you wrote: > > should be harmless, but obviously it's ugly. the attached patch should fix > things up. the related issue is the one i raised in the other env embedded > thread wrt the meaning of "ENV_IS_EMBEDDED" ... I see

Re: [U-Boot] about ## Unknown FLASH on Bank 0

2009-10-26 Thread Wolfgang Denk
Dear Peter Pan, In message <48abf2c20910251922o7251d876hebfedc6aed5b8...@mail.gmail.com> you wrote: > > My U-boot 1.2.0 works fine before. but I want to add some memory test > actions before u-boot start Linux. > I use the "mtest" command to test the memory. But the "mtest" command will > test th

Re: [U-Boot] replacing do_reset with a custom one

2009-10-26 Thread Richard Retanubun
Mike Frysinger wrote: > > #ifdef's are the past. weaks are in! > > the Blackfin port already does: > void board_reset(void) __attribute__((__weak__)); > ... > if (board_reset) > board_reset(); > ... > > the bf537-stamp uses this to make sure some pins are driven low to workaround >

[U-Boot] [PATCH] 83xx: Added a weak board_reset function to allow custom reset.

2009-10-26 Thread Richard Retanubun
From 2b9f89f5d0538e44ebbe66236cd9b6be4ee902e3 Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Mon, 26 Oct 2009 14:16:03 -0400 Subject: [PATCH] Added a weak board_reset function to allow custom reset. This patch adds a board_reset function to allow boards to specify their own custom reset

[U-Boot] [PATCH] MCF5271-only: Added a weak board_reset function to allow custom reset.

2009-10-26 Thread Richard Retanubun
From 304334adbbc3b7e70366fed0495af46536a7941f Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Mon, 26 Oct 2009 14:19:17 -0400 Subject: [PATCH] MCF5271-only: Added a weak board_reset function to allow custom reset. This patch adds a board_reset function to allow boards to specify their ow

Re: [U-Boot] [PATCH V3 3/4] add TI DA8xx support: Add new directory for da830evm board

2009-10-26 Thread Paulraj, Sandeep
> > Add new directory for da830evm board > > Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum > Digital EVM board. See http://www.spectrumdigital.com/ > > Provides: > Initial boot and configuration. > Support for i2c. > UART support (console). > > Signed-off-by: Nick

Re: [U-Boot] [PATCH v3 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-10-26 Thread Paulraj, Sandeep
> Integrate DA830 EVM support into U-Boot. > > Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum > Digital EVM board. See http://www.spectrumdigital.com/ > > Signed-off-by: Nick Thompson > --- > Applies to u-boot-ti > > diff --git a/MAINTAINERS b/MAINTAINERS > index 52

Re: [U-Boot] [PATCH V3 1/4] add TI DA8xx support: DA8xx includes

2009-10-26 Thread Paulraj, Sandeep
> > Provides initial support for TI OMAP-L1x/DA8xx SoC devices. > See http://www.ti.com > > The DA8xx devices are similar to DaVinci devices but have a differing > memory map and updated peripheral versions. > > Signed-off-by: Nick Thompson > --- > Applies to u-boot-ti > > diff --git a/include/as

Re: [U-Boot] [PATCH V3 0/4] add TI DA8xx support:

2009-10-26 Thread Paulraj, Sandeep
> > Add initial support for DA8xx SoC's and the spectrum digital DA830 EVM > board. > > See: > http://www.ti.com > http://www.spectrumdigital.com/ > > DA8xx is similar to DaVinci devices, but has a differing memory map and > updated peripherals. It is intended that DaVinci drivers

[U-Boot] [PATCH V3 1/4] add TI DA8xx support: DA8xx includes

2009-10-26 Thread Nick Thompson
Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com The DA8xx devices are similar to DaVinci devices but have a differing memory map and updated peripheral versions. Signed-off-by: Nick Thompson --- Applies to u-boot-ti diff --git a/include/asm-arm/arch-davinci/har

[U-Boot] [PATCH v3 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-10-26 Thread Nick Thompson
Integrate DA830 EVM support into U-Boot. Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Signed-off-by: Nick Thompson --- Applies to u-boot-ti diff --git a/MAINTAINERS b/MAINTAINERS index 528b963..88b4abd 100644 --

[U-Boot] [PATCH V3 2/4] add TI DA8xx support: Add DA8xx cpu functions

2009-10-26 Thread Nick Thompson
Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com Provides: Low level initialisation. System clock API. Timer control. Signed-off-by: Nick Thompson --- Applies to u-boot-ti diff --git a/cpu/arm926ejs/davinci/cpu.c b/cpu/arm926ejs/davinci/cpu.c index 390cab8..4095

[U-Boot] [PATCH V3 3/4] add TI DA8xx support: Add new directory for da830evm board

2009-10-26 Thread Nick Thompson
Add new directory for da830evm board Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Nick Thompson --- Applies to u-

[U-Boot] [PATCH V3 0/4] add TI DA8xx support:

2009-10-26 Thread Nick Thompson
Add initial support for DA8xx SoC's and the spectrum digital DA830 EVM board. See: http://www.ti.com http://www.spectrumdigital.com/ DA8xx is similar to DaVinci devices, but has a differing memory map and updated peripherals. It is intended that DaVinci drivers will be modified in

[U-Boot] [PATCH v3] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result, these changes would be have been lost

Re: [U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Paulraj, Sandeep
> > Paulraj, Sandeep wrote: > > > >> Remove volatiles and memory mapped structure accesses and replace with > >> readl and writel macro usage. > >> > >> Signed-off-by: Nick Thompson > >> --- > >> This patch was originally part of the da830 support patch, but this > >> effort is now being integr

Re: [U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Paulraj, Sandeep wrote: > >> Remove volatiles and memory mapped structure accesses and replace with >> readl and writel macro usage. >> >> Signed-off-by: Nick Thompson >> --- >> This patch was originally part of the da830 support patch, but this >> effort is now being integrated into davinci. As

Re: [U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Paulraj, Sandeep
> > Remove volatiles and memory mapped structure accesses and replace with > readl and writel macro usage. > > Signed-off-by: Nick Thompson > --- > This patch was originally part of the da830 support patch, but this > effort is now being integrated into davinci. As a result, these > changes wo

Re: [U-Boot] A question about "Initialize GOT pointer"

2009-10-26 Thread Andrew Dyer
On Mon, Oct 26, 2009 at 1:41 AM, XR SU wrote: > hi,all: > here is a question, who can tell me? thanks. > > in uboot file : cpu/mips/start.S > > /* Initialize GOT pointer. */ >     bal 1f >     nop >     .word   _GLOBAL_OFFSET_TABLE_ >     1: >     move    gp, ra >     l

Re: [U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Raffaele Recalcati
2009/10/26 Mike Frysinger : > On Monday 26 October 2009 07:35:14 Raffaele Recalcati wrote: >> I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a >> for my pxa255/smx911x (lan9118) board. >> tftp works nice, also through a switch, but only if I'm not connected >> to the LAN. > > you

[U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result, these changes would be have been lost

Re: [U-Boot] do_jffs2_ls fails

2009-10-26 Thread Ricardo Martínez
Me again :) Anyway, I've made malloc size huge (2MB), then scanning whole JFFS2 filesystem succeeds and, although I still have those horrible "Unknown node type" messages, I can load uImage from Filesystem. I bet it is because I'm scanning from an offset where flash has NOT jffs2 format. Silly qu

[U-Boot] UBOOT port to i.MX27ADS - NAND issues ( again )

2009-10-26 Thread Hamilton Vera
Greetings everyone, some time ago I saw in the list an issue about booting from nand using an IMX27ADS http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg10305.html I am searching in the code for the modifications, but I did not find enough clues. It seems that boot from NAND is st

Re: [U-Boot] do_jffs2_ls fails

2009-10-26 Thread Ricardo Martínez
Hi Wolfgang, Thanks. But "get_node_mem((u32)part->offset + offset)" in function "jffs2_1pass_build_lists(struct part_info * part)" in folder fs/jffs2, file jffs2_1pass.c called during do_jffs2_ls is still reading node->type = 0x2005 While I've checked types defined in jffs2.h and they are #defin

Re: [U-Boot] File name substitution in linker scripts

2009-10-26 Thread Wolfgang Denk
Dear Stefan Roese, In message <200910261549.05545...@denx.de> you wrote: > I'm wondering if and how it's possible to use a "variable" file name for > inclusion in a linker script. Reason for this is the consolidation of the > ppc4xx linker scripts, where some boards (PPC440) include a board spec

[U-Boot] File name substitution in linker scripts

2009-10-26 Thread Stefan Roese
I'm wondering if and how it's possible to use a "variable" file name for inclusion in a linker script. Reason for this is the consolidation of the ppc4xx linker scripts, where some boards (PPC440) include a board specific file (e.g. board/amcc/canyonlands/init.o) into the section "bootpg": .b

Re: [U-Boot] [PATCH v2 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-10-26 Thread Paulraj, Sandeep
> > Nick Thompson wrote: > > Integrate DA830 EVM support into U-Boot. > > > > Provides initial support for TI OMAP-L137/DA830 SoC devices on a > Spectrum > > Digital EVM board. See http://www.spectrumdigital.com/ > > > > Signed-off-by: Nick Thompson > > --- > > Applies to u-boot-ti > > > > MAI

Re: [U-Boot] [PATCH] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Stefan Roese
On Monday 26 October 2009 15:42:56 Peter Tyser wrote: > > +++ b/cpu/arm926ejs/davinci/timer.c > > @@ -1,4 +1,8 @@ > > /* > > + * Copyright (C) 2009 Nick Thompson, GE Fanuc, Ltd. > > + * > > + * Coding style changes. Use writel and readl for hardware accesses. > > + * > > * (C) Copyright 2003 >

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
miaofng wrote: > Wolfgang Grandegger wrote: >> miaofng wrote: >> >>> Hi mike, >>> It seems there's a big difference between my current project >>> and u-boot common usage. I can only enjoy the patch myself now >>> >> Yes, can you describe your use-case. CAN in U-BOOT, so far, was just >> us

Re: [U-Boot] [PATCH] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Peter Tyser
Hi Nick, > --- a/cpu/arm926ejs/davinci/timer.c > +++ b/cpu/arm926ejs/davinci/timer.c > @@ -1,4 +1,8 @@ > /* > + * Copyright (C) 2009 Nick Thompson, GE Fanuc, Ltd. > > + * > + * Coding style changes. Use writel and readl for hardware accesses. > + * > * (C) Copyright 2003 > * Texas Instrumen

Re: [U-Boot] Compiling with arm-eabi and YAFFS2

2009-10-26 Thread Chris Isbell
On Mon, 2009-10-26 at 07:41 -0500, Tom wrote: > In my android work. I use a separate compiler for the u-boot and > kernel, the Code Sourcery arm lite edition. > http://www.codesourcery.com/sgpp/editions.html#lite > > Please try this. > Tom > > > Jello huang wrote: > > if u use eabi compiler

[U-Boot] [PATCH] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Remove volatiles and memory mapped structure accesses from the davinci cpu timer.c functions and replace with readl and writel macro usage. Signed-off-by: Nick Thompson --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result

Re: [U-Boot] do_jffs2_ls fails

2009-10-26 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Ricardo_Mart=EDnez?=, In message you wrote: > > I'm trying to execute ls command from u-boot shell, but it fails. ... > Taking a look at the last lines, it seems there is a problem with malloc. ... > add_node: malloc failed > add_node failed! > ls: Failed to scan JFFSv2 file s

Re: [U-Boot] default load addresses

2009-10-26 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > the tftp command works with the default address set indirectly by > CFG_LOAD_ADDR CFG_LOAD_ADDR has long been obsoleted. It's CONFIG_SYS_LOAD_ADDR now. > the ext2load command doesn't, and I don't know how to specify the default > load address by ${

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > > I concede I can indeed do the one thing I need here by using decimal > values with hex arithmetic, and it will give the right answer. > > though it is truly horrible coding :-) You misunderstand. You misunderstand completly. Exstracting the las

[U-Boot] default load addresses

2009-10-26 Thread David Collier
the tftp command works with the default address set indirectly by CFG_LOAD_ADDR the ext2load command doesn't, and I don't know how to specify the default load address by ${defload} or anything similar. Is there an underlying reason why one command can use a default addr, and the other can't? Dav

Re: [U-Boot] CAN console

2009-10-26 Thread miaofng
Wolfgang Denk wrote: >> Is there any chance that the stuff posted by miaofng will be available >> in u-boot-next? >> > > I'm not really sure. As Wolfgang Grandegger already commented, the > implementation is really heavy for a mere boot loader. Sharing code > with Linux is generally a good thi

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread miaofng
Wolfgang Grandegger wrote: > miaofng wrote: > >> Hi mike, >> It seems there's a big difference between my current project >> and u-boot common usage. I can only enjoy the patch myself now >> > > Yes, can you describe your use-case. CAN in U-BOOT, so far, was just > used to send or receive o

Re: [U-Boot] last step to go - dead PHY

2009-10-26 Thread David Collier
well I don't need to have the Ethernet running for the shipped product... but I would like to use it in production test of the next batch - so if I can avoid an extra issue of u-boot I will D. > > But I'm running out of time to ship some prototypes tomorrow, and > > this is > > my last m

Re: [U-Boot] last step to go - dead PHY

2009-10-26 Thread David Collier
> This is unlogical. Instead of updating and fixing "the saveenv > issue" > (whatever this is) you are using old code - where you now have to > fix > "the PHY issue". the saveenv issue was that when I tried to work with the latest sources for the AVR32 it wouldn't do savenv. So I backed off to

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread David Collier
OK, I concede I can indeed do the one thing I need here by using decimal values with hex arithmetic, and it will give the right answer. though it is truly horrible coding :-) I can see situations where I'd want to do something like "add one to the last serial number I used" where decimal arithm

Re: [U-Boot] user input

2009-10-26 Thread David Collier
> Use the "askenv" command? I'm so sorry - how did I miss that? thanks David Collier www.dexdyne.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] do_jffs2_ls fails

2009-10-26 Thread Ricardo Martínez
Hi, I'm trying to execute ls command from u-boot shell, but it fails. My board consists of an ARM926ej, 128MB of NOR flash (at 0x2000 after remap) and 64MB of DDRII at 0x. u-boot is running perfectly appart from this. This means that it loads linux correctly when I have uImage in

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread miaofng
It seems there's a big difference between my current project >> and u-boot common usage. I can only enjoy the patch myself now >> >> i want to get a packet from usb/network, then redirect it to can bus. >> So blocked write/read of can is not allowed. >> > > what's wrong with receiving data ove

Re: [U-Boot] CAN console

2009-10-26 Thread Wolfgang Denk
Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=, In message <4ae593f3.3030...@arcor.de> you wrote: > > In this specific case: I think I would, as there is currently no CAN > framework available in u-boot. This just means that your implementation requires a two-step approach. In step 1, implement the fra

Re: [U-Boot] why there is no code boot from nand flash?

2009-10-26 Thread kevin.morf...@fearnside-systems.co.uk
d I boot from NOR flash. Kevin > Thanks a lot! > > > > > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > __ Information from ESET NOD32 Antivir

Re: [U-Boot] CAN console

2009-10-26 Thread Wolfgang Grandegger
Matthias Weißer wrote: > Hi > > I have a device here which has only a CAN interface to the > outside world. I am currently thinking about implementing > a "serial" driver using the CAN controller. OK, a dedicated CAN driver would make more sense. > Is there any chance to get this accepted in the

Re: [U-Boot] Compiling with arm-eabi and YAFFS2

2009-10-26 Thread Tom
In my android work. I use a separate compiler for the u-boot and kernel, the Code Sourcery arm lite edition. http://www.codesourcery.com/sgpp/editions.html#lite Please try this. Tom Jello huang wrote: > if u use eabi compiler to compile u-boot,there r some error. > why not use abi compiler f

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Stefan Roese
On Monday 26 October 2009 13:26:22 Mike Frysinger wrote: > > Thanks. With this patch, most of the ppc4xx compile problems I have > > noticed are gone now. But unfortunately not all. Those two 4xx platforms > > still don't compile: > > > > CRAYL1 EXBITGEN > > > > $ ./MAKEALL CRAYL1 > > Configuring f

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
miaofng wrote: > Hi mike, > It seems there's a big difference between my current project > and u-boot common usage. I can only enjoy the patch myself now Yes, can you describe your use-case. CAN in U-BOOT, so far, was just used to send or receive one or a few messages, mainly for testing purposes.

Re: [U-Boot] CAN console

2009-10-26 Thread Wolfgang Grandegger
Mike Frysinger wrote: > On Monday 26 October 2009 07:09:03 Matthias Weißer wrote: >> Mike Frysinger schrieb: >>> On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing >

Re: [U-Boot] CAN console

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 08:20:03 Matthias Weißer wrote: > Mike Frysinger schrieb: > > you would rather write a driver that is specific to one CAN hardware ? > > In general? No, I wouldn't. I would use a given CAN driver framework > where I put my CAN driver in. > > In this specific case: I thin

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 08:13:57 Stefan Roese wrote: > On Monday 26 October 2009 09:36:11 Mike Frysinger wrote: > > > But when I remove the CONFIG_ENV_IS_EMBEDDED definition from line 127 > > > of include/configs/kilauea.h, then I get this: > > > > > > ./MAKEALL kilauea kilauea_nand > > > Con

Re: [U-Boot] CAN console

2009-10-26 Thread Matthias Weißer
Mike Frysinger schrieb: > you would rather write a driver that is specific to one CAN hardware ? In general? No, I wouldn't. I would use a given CAN driver framework where I put my CAN driver in. In this specific case: I think I would, as there is currently no CAN framework available in u-boo

Re: [U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 07:35:14 Raffaele Recalcati wrote: > I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a > for my pxa255/smx911x (lan9118) board. > tftp works nice, also through a switch, but only if I'm not connected > to the LAN. you really need to be careful when throw

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
Hello, miaofng wrote: >>From 1f6aaba856fbf484c442eb33cf220774d57fba8d Mon Sep 17 00:00:00 2001 > From: miaofng > Date: Fri, 23 Oct 2009 17:06:50 +0800 > Subject: [PATCH] [can] add u-boot sja1000/can support There are already CAN controllers supported for some board, e.g. ./tqm5200/cmd_stk52xx.c,

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Stefan Roese
On Monday 26 October 2009 09:36:11 Mike Frysinger wrote: > > But when I remove the CONFIG_ENV_IS_EMBEDDED definition from line 127 > > of include/configs/kilauea.h, then I get this: > > > > ./MAKEALL kilauea kilauea_nand > > Configuring for kilauea board... > >textdata bss

Re: [U-Boot] user input

2009-10-26 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > I have a script environment variable called set_mac_IP which requires me > to do "setenv sn 1234" ( or whatever ) before I run it. > > The script is always run from the console. > > Is there a simple way to do > > ask sn; . > > and ask for a

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > > I did not only describe it, I tested it. I just "tricked" a bit. > > You asked to extract the last two digits, and I used "% 100" to do > > this. Note that this works correctly in any number base - may it be > > 10 or 16 or whatever :-) > > > > H

Re: [U-Boot] last step to go - dead PHY

2009-10-26 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > My apologies, I've posted this is AVR32_u-boot where it probably belongs. > > But I'm running out of time to ship some prototypes tomorrow, and this is > my last major issue with them, so could I throw myself on the mercy of > the assembled wisdom p

[U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Raffaele Recalcati
I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a for my pxa255/smx911x (lan9118) board. tftp works nice, also through a switch, but only if I'm not connected to the LAN. => tftp a200 uImage smc911x: detected LAN9118 controller smc911x: phy initialized .. BSR=0x782D smc911x:

Re: [U-Boot] CAN console

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 07:09:03 Matthias Weißer wrote: > Mike Frysinger schrieb: > > On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: > >> I have a device here which has only a CAN interface to the > >> outside world. I am currently thinking about implementing > >> a "serial" driver usi

Re: [U-Boot] CAN console

2009-10-26 Thread Matthias Weißer
Mike Frysinger schrieb: > On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: >> I have a device here which has only a CAN interface to the >> outside world. I am currently thinking about implementing >> a "serial" driver using the CAN controller. >> >> Is there any chance to get this accepte

Re: [U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-26 Thread David Collier
now that I have read TFM... I find that the easier way to do this, rather than installing hush and using && would have been to define setenv x mmcinit setenv y setenv z bootm setenv bootcmd run x y z in which case y would only run if x succeeded. but I like hush and don't regret doing

Re: [U-Boot] DHCP command

2009-10-26 Thread David Collier
In article <20091023133850.6f4ace39...@gemini.denx.de>, w...@denx.de (Wolfgang Denk) wrote: > *From:* Wolfgang Denk > *To:* from_denx_ub...@dexdyne.com > *CC:* u-boot@lists.denx.de > *Date:* Fri, 23 Oct 2009 15:38:50 +0200 > > Dear "David Collier", > > In message > you > wrote: > > I'm very

[U-Boot] user input

2009-10-26 Thread David Collier
I have a script environment variable called set_mac_IP which requires me to do "setenv sn 1234" ( or whatever ) before I run it. The script is always run from the console. Is there a simple way to do ask sn; . and ask for a number to be input on the console? I was wondering if hush could m

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread David Collier
> I did not only describe it, I tested it. I just "tricked" a bit. > You asked to extract the last two digits, and I used "% 100" to do > this. Note that this works correctly in any number base - may it be > 10 or 16 or whatever :-) > > Hey, that was clever, wasn't it? :-) yeah it was - but of c

  1   2   >