Re: [U-Boot] [PATCH] at91: Extended soft_i2c driver for AT91SAM9263 SoC

2009-05-24 Thread Daniel Gorsulowski
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD schrieb: > On 13:20 Mon 18 May , Daniel Gorsulowski wrote: >> While hard_i2c support is not available >> (see http://lists.denx.de/pipermail/u-boot/2009-March/049751.html), >> this patch enables soft_i2c on AT91SAM9263 SoC. >> >> Signed-of

Re: [U-Boot] [PATCH] at91: Add support for MEESC board of esd gmbh

2009-05-24 Thread Daniel Gorsulowski
Jean-Christophe PLAGNIOL-VILLARD schrieb: >> + >> +static void meesc_ethercat_hw_init(void) >> +{ >> +/* Configure SMC EBI1_CS0 for EtherCAT */ >> +at91_sys_write(AT91_SMC1_SETUP(0), >> +AT91_SMC_NWESETUP_(0) | AT91_SMC_NCS_WRSETUP_(0) | >> +AT91_SMC_NRDSETUP_(0) | A

Re: [U-Boot] AMCC 405ex memory size issue

2009-05-24 Thread konamo
any ideas? konamo wrote: > > Hi all, > we are using AMCC 405ex kilauea eval board as a demo, not use any > pci/nand function, > the board configuration is below: > u-boot 2009.01, > linux-2.6.25-rc2, > 1GB DDR2 memory(2Gbit * 4, 1 rank), > AMCC powerpc 405ex, > both 1G and 512MB memory

Re: [U-Boot] Please help for Data TLB Error in MPC8544

2009-05-24 Thread Liu Dave-R63238
> >EELADR - 0XF401, it is INIT_RAM address, why the > transaction with > >address(0xF401) go to system bus? > >It should keep in the cache due to cache lock, never out to > system bus. > > I don't know why... and it just happened shall I allocate > a entry of tlb for it?? or cover

Re: [U-Boot] [PATCH v2] Gbe Controller driver support for kirkwood SOCs

2009-05-24 Thread Prafulla Wadaskar
Hi Ben, How are you? Seems to be very busy as usual :-) Can you pls kindly take out some time to review these patches. hopefully they are as per your requirements since we have invested considerable time to make them up to the mark. May be-you can accept them :-) http://lists.denx.de/piperm

Re: [U-Boot] Auto-booting problem

2009-05-24 Thread Vijay Nikam
Yes, then you need to set/use CONFIG_BOOTDELAY to enable or disable for autoboot. For details and information have a look at doc/README.autoboot Once you use CONFIG_BOOTDELAY, then recompile and generate u-boot.bin, if everything goes fine you would have bootdelay option in you printenv settings.

Re: [U-Boot] [PATCH v10] Marvell Kirkwood family SOC support

2009-05-24 Thread Prafulla Wadaskar
Dear Jean and Wolfgang May you kindly provide your valued comments on this patch since this in important patch to be mainlined FIRST. It might have skipped from your queue :-) Shall I resend it? Regards.. Prafulla . . ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH v10] Marvell MV88F6281GTW_GE Board support

2009-05-24 Thread Prafulla Wadaskar
> > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include "mv88f6281gtw_ge.h" > please move the mv88f6281gtw_ge.h > to include/asm-arm/arch-kirkwood/ Sure... I will do it :-) > > +int board_init(void) > > +{ > > + /* > > +* default gpio configuration > > +*

Re: [U-Boot] [PATCH v10] Marvell MV88F6281GTW_GE Board support

2009-05-24 Thread Prafulla Wadaskar
> > > > +#define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII > > > Pad voltage to 1.8V */ > > > > > > Line too long. > > BTW what is max allowed line size? All line are below 80 chars. > > The maximum line is 80 characters. Plpeease keep in mind that > one TAB character may occupy several colum

Re: [U-Boot] [RFC PATCH 1/2] sh: make lds more generic

2009-05-24 Thread Nobuhiro Iwamatsu
2009/5/23 Jean-Christophe PLAGNIOL-VILLARD : > On 00:58 Thu 14 May     , Jean-Christophe PLAGNIOL-VILLARD wrote: >> currently the sh lds need to sync the lds enty and TEXT_BASE manualy >> and the reloc_dst is based on it >> >> instead provide it now from the ldflags >> >> tested on r2dplus >> >> Si

[U-Boot] U-boot and linux command line parameters

2009-05-24 Thread Mirek23
Dear All, I use linux kernel 2.6.23 and u-boot 1.2.0 (on ppc405 virtex-4 ) for some time. All works fine when the kernel together with initramfs is smaller than 8MB. If it is bigger than the kernel does not boot properly. First of all I would like to know how the address for the linux command l

Re: [U-Boot] ARM next Pull Request

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:36 Sun 24 May , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090524195202.ga29...@game.jcrosoft.org> you wrote: > > On 19:42 Sun 24 May , Wolfgang Denk wrote: > > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > > > In message <20090522230704.gb19.

Re: [U-Boot] [RFC/PATCH] jffs2/mtdparts: Fix problem with usage from JFFS2 and MTDPARTS together

2009-05-24 Thread Wolfgang Denk
Dear Stefan Roese, In message <200905201201.50810...@denx.de> you wrote: > > > => fsinfo > > ### filesystem type is JFFS2 > > Scanning JFFS2 FS: read_nand_cached: error reading nand off 0xabfe00 size > > 8192 bytes read_nand_cached: error reading nand off 0xadfe00 size 8192 > > bytes > > read_n

Re: [U-Boot] Please pull ppc4xx

2009-05-24 Thread Wolfgang Denk
Dear Stefan Roese, In message <200905231254.16189...@denx.de> you wrote: > Hi Wolfgang, > > please pull some fixes for ppc4xx: > > The following changes since commit 5af210c2ed5bc38e2d059d512ca4e46e81221af5: > Wolfgang Denk (1): > Merge branch 'master' of git://git.denx.de/u-boot-ubi >

Re: [U-Boot] [Resend PATCH] afeb9260: fix macb device init

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1243194946-31120-1-git-send-email-plagn...@jcrosoft.com> you wrote: > missed during the next rebase > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD That's not a good commit messagea as nobody in the mainline tree cares about what you are do

Re: [U-Boot] ARM next Pull Request

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090524195202.ga29...@game.jcrosoft.org> you wrote: > On 19:42 Sun 24 May , Wolfgang Denk wrote: > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > In message <20090522230704.gb19...@game.jcrosoft.org> you wrote: > > > > > > Please pull > >

Re: [U-Boot] [PATCH] DaVinci Network Driver Updates

2009-05-24 Thread Ben Warren
On Sun, May 24, 2009 at 8:54 AM, Jean-Christophe PLAGNIOL-VILLARD < plagn...@jcrosoft.com> wrote: > On 11:45 Tue 12 May , s-paul...@ti.com wrote: > > Different flavours of DaVinci SOC's have differences in their EMAC IP > > This patch does the following > > 1) Updates base addresses for DM365

Re: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090524195826.gb29...@game.jcrosoft.org> you wrote: > > >> the stuct name need to be less generic > > > > Why? Please see my arguments why I think it's fine as done in Matthias' > > patch. > No as If we implemenent any generic API we will have t

Re: [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx

2009-05-24 Thread Wolfgang Denk
Dear Peter, In message <1243192952.703.7.ca...@ptyser-laptop> you wrote: > > > CodingStyle Ch.12 suggests that it's the other fsl arches that are in > > violation here, not 83XX: Agreed... > Either way is fine with me, as long as things are consistent. It looked > like most Freescale CPUs in U-

Re: [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx

2009-05-24 Thread Wolfgang Denk
Dear Kim Phillips, In message <20090524140034.568bca6d.kim.phill...@freescale.com> you wrote: > > > Use the standard lowercase "xx" capitalization that other Freescale > > architectures use for CPU defines to prevent confusion and errors > > > > Signed-off-by: Peter Tyser > > --- > > CodingStyl

Re: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:30 Sun 24 May , Dirk Behme wrote: > Dear Jean-Christophe, > > Jean-Christophe PLAGNIOL-VILLARD wrote: > void beagle_identify(void) > { > - gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE; > + struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE; please us

[U-Boot] [Resend PATCH] afeb9260: fix macb device init

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
missed during the next rebase Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- cpu/arm926ejs/at91/at91sam9260_devices.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/arm926ejs/at91/at91sam9260_devices.c b/cpu/arm926ejs/at91/at91sam9260_devices.c index 6dc0acc.

Re: [U-Boot] ARM next Pull Request

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:42 Sun 24 May , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090522230704.gb19...@game.jcrosoft.org> you wrote: > > > > Please pull > > The following changes since commit cab6c2a6135cc8f4244d8e9c005bddd208d2a26f: > > Wolfgang Denk (1): > > TQ

Re: [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx

2009-05-24 Thread Peter Tyser
On Sun, 2009-05-24 at 14:00 -0500, Kim Phillips wrote: > On Fri, 22 May 2009 17:23:24 -0500 > Peter Tyser wrote: > > > Use the standard lowercase "xx" capitalization that other Freescale > > architectures use for CPU defines to prevent confusion and errors > > > > Signed-off-by: Peter Tyser > >

Re: [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx

2009-05-24 Thread Kim Phillips
On Fri, 22 May 2009 17:23:24 -0500 Peter Tyser wrote: > Use the standard lowercase "xx" capitalization that other Freescale > architectures use for CPU defines to prevent confusion and errors > > Signed-off-by: Peter Tyser > --- CodingStyle Ch.12 suggests that it's the other fsl arches that ar

Re: [U-Boot] ARM next Pull Request

2009-05-24 Thread Dirk Behme
Dear Jean-Christophe, Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090522230704.gb19...@game.jcrosoft.org> you wrote: >> Please pull >> The following changes since commit cab6c2a6135cc8f4244d8e9c005bddd208d2a26f: >> Wolfgang Denk (1): >> TQM834x: use b

Re: [U-Boot] ARM next Pull Request

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090522230704.gb19...@game.jcrosoft.org> you wrote: > > Please pull > The following changes since commit cab6c2a6135cc8f4244d8e9c005bddd208d2a26f: > Wolfgang Denk (1): > TQM834x: use buffered writes to accelerate writing to flash > >

Re: [U-Boot] [PATCH] config.mk: remove un-needed REMOTE_BUILD check

2009-05-24 Thread Mike Frysinger
On Sunday 24 May 2009 08:03:11 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 02:43 Sun 24 May , Mike Frysinger wrote: > > On Friday 22 May 2009 13:28:52 Jean-Christophe PLAGNIOL-VILLARD wrote: > > > as $(obj) is empty when in tree build > > > > > > %.s: %.S > > > $(CPP) $(AFLAGS) -o $@ $<

[U-Boot] [PATCH 1/2] Make "usage" messages more helpful.

2009-05-24 Thread Wolfgang Denk
In case of incorrect command invocations U-Boot used to print pretty useless "usage" messages, for example: => nand markbad Usage: nand - NAND sub-system In the result, the user would have to run the "help" command to get the (available) information about correct command u

Re: [U-Boot] [PATCH 1/3] fix: missing autoconfig.mk from general Makefile

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090524151849.gj26...@game.jcrosoft.org> you wrote: > On 00:28 Sun 24 May , Wolfgang Denk wrote: > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > In message <1243107758-4528-1-git-send-email-plagn...@jcrosoft.com> you > > wrote: > > > at

Re: [U-Boot] [RFC] initcall mechanism introduction

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090524150444.gi26...@game.jcrosoft.org> you wrote: > > > If you changed the code in this direction, then this might actually > > make sense. > no with initcalls you will be able to do it May be, but in my opinion at the cost of higher complexi

Re: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-24 Thread Dirk Behme
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: void beagle_identify(void) { - gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE; + struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE; >>> please use a namespace name gpio is too much generic >>> and

[U-Boot] [PATCH 1/2] Make "usage" messages more helpful.

2009-05-24 Thread y
From: Wolfgang Denk In case of incorrect command invocations U-Boot used to print pretty useless "usage" messages, for example: => nand markbad Usage: nand - NAND sub-system In the result, the user would have to run the "help" command to get the (available) information a

Re: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
>>> void beagle_identify(void) >>> { >>> - gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE; >>> + struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE; >> please use a namespace name gpio is too much generic >> and it's the same for the other struct sms, pm etc... >> omap_ will be

Re: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-24 Thread Dirk Behme
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 09:09 Tue 19 May , Matthias Ludwig wrote: >> Signed-off-by: Matthias Ludwig >> --- >> board/omap3/beagle/beagle.c|6 ++-- >> board/omap3/evm/evm.c |6 ++-- >> board/omap3/pandora/pandora.c |

Re: [U-Boot] [PATCH] DaVinci Network Driver Updates

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:45 Tue 12 May , s-paul...@ti.com wrote: > Different flavours of DaVinci SOC's have differences in their EMAC IP > This patch does the following > 1) Updates base addresses for DM365 > 2) Updates MDIO frequencies for DM365 and DM646x > 3) Update EMAC wrapper registers for DM365 and DM646x

Re: [U-Boot] [PATCHv2 4/4] omap3: use only fixed-size types inside ctrl_structs

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:32 Wed 13 May , Matthias Ludwig wrote: > > > replace variable types in ctrl_structs for omap3 by those with > > > fixed size (u8, u16, u32). > > > Additional ifndef-protection is needed by examples which do not > > > compile when including asm/types.h > > could explain why and in which ca

Re: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:09 Tue 19 May , Matthias Ludwig wrote: > Signed-off-by: Matthias Ludwig > --- > board/omap3/beagle/beagle.c|6 ++-- > board/omap3/evm/evm.c |6 ++-- > board/omap3/pandora/pandora.c |8 +++--- > board/omap3/zoom2/zoom2.c |2 +- > cpu/arm

Re: [U-Boot] [PATCHv3 1/5] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:09 Tue 19 May , Matthias Ludwig wrote: as predently the commit message does not correspond with the code it's a typo fix not, the current code work it does use the CS5 in reality Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de ht

[U-Boot] [PATCH] nand/onenand: Fix missing argument checking for "markbad" command

2009-05-24 Thread Wolfgang Denk
The "nand markbad" and "onenand markbad" commands did not check if an argument was passed; if this was forgotten, no error was raised but block 0 was marked as bad. While fixing this bug, clean up the code a bit and allow to pass more than one block address, thus allowing to mark several blocks as

Re: [U-Boot] [PATCH 1/3] fix: missing autoconfig.mk from general Makefile

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:28 Sun 24 May , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1243107758-4528-1-git-send-email-plagn...@jcrosoft.com> you wrote: > > at the first run of make we generate the autoconf.mk and autoconf.mk.dep > > if not already the case and we currently inclu

Re: [U-Boot] [RFC] initcall mechanism introduction

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:57 Sun 24 May , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090524120041.gg26...@game.jcrosoft.org> you wrote: > > > > > What sort of benefit do you expect? > > simplify the code, reduce the number of ifdef > > reduce the size of U-Boot etc... > > How

Re: [U-Boot] [RFC] initcall mechanism introduction

2009-05-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090524120041.gg26...@game.jcrosoft.org> you wrote: > > > What sort of benefit do you expect? > simplify the code, reduce the number of ifdef > reduce the size of U-Boot etc... How would that reduce the size of the code? > I do have some test a

Re: [U-Boot] [PATCH] config.mk: remove un-needed REMOTE_BUILD check

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 02:43 Sun 24 May , Mike Frysinger wrote: > On Friday 22 May 2009 13:28:52 Jean-Christophe PLAGNIOL-VILLARD wrote: > > as $(obj) is empty when in tree build > > > > %.s:%.S > > $(CPP) $(AFLAGS) -o $@ $< > > > > and > > > > $(obj)%.s: %.S > > $(CPP) $(AFLAGS) -o $@ $< > > > >

Re: [U-Boot] [RFC] initcall mechanism introduction

2009-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:19 Sat 23 May , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090523150558.gb26...@game.jcrosoft.org> you wrote: > > > > Linux Kernel has for a long time a well-optimized mechanism for for > > calling initiallisation code. Import the the same fu