Re: [U-Boot] [PATCH 1/4] Atmel Dataflash: convert to C struct accessors

2010-06-09 Thread Thomas Petazzoni
On Tue, 8 Jun 2010 15:20:57 -0400 Mike Frysinger wrote: > speaking historically, the dataflash code absolutely has its place. > it existed long before the SPI flash framework. but i'm looking > forward only now. Yes, of course, understood. However, the Dataflash aren't normal SPI flash, they d

Re: [U-Boot] Rescue /alternative boot

2010-06-09 Thread Arno Steffen
Dear Wolfgang Denk, thanks for your mail. 2010/6/8 Wolfgang Denk : > Why should "flashing of uboot-environment" fail? If you configure for > redundant environment, you should always at least have the previous > copy of the settings). Right, but what happens if user is doing something stupid? I d

Re: [U-Boot] Fw:Re: Fw:How can I use yaffs2 in uboot

2010-06-09 Thread Wolfgang Denk
Dear jackfriend, In message <50c70a8a.5b18.1291ad2050a.coremail.jackfri...@163.com> you wrote: > > Sounds like a pretty clear error message - doesn't it? > > Increase CONFIG_SYS_MALLOC_LEN in your bard config file. > > [It might make sense to improve the error message in > fs/yaffs2/yaffs_guts.

Re: [U-Boot] Rescue /alternative boot

2010-06-09 Thread Wolfgang Denk
Dear Arno Steffen, In message you wrote: > > > Why should "flashing of uboot-environment" fail? If you configure for > > redundant environment, you should always at least have the previous > > copy of the settings). > > Right, but what happens if user is doing something stupid? Well, you can p

[U-Boot] [PATCH 1/2] avr32: fix linking of atstk100x and favr32 boards

2010-06-09 Thread Andreas Bießmann
When building some avr32 boards out of tree (e.g. O=..) the linker script could not be found. This patch references the linker script in source tree. Signed-off-by: Andreas Bießmann --- board/atmel/atstk1000/config.mk|2 +- board/earthlcd/favr-32-ezkit/config.mk |2 +- 2 files ch

[U-Boot] DRAM error when enable #define CONFIG_SPLASH_SCREEN

2010-06-09 Thread Tommy Agustianto
for enabling splash screen on my board (mpx8349) I enabled the splash screen config in file configuration. the binary was succesfully flashed to the board but when I start the uboot, I got this message : U-Boot 2009.01-dirty (Jun 09 2010 - 10:19:28) MPC83XX Reset Status: CPU:   e300c1, MPC8349E

[U-Boot] [PATCH 2/2] avr32: add unaligned.h

2010-06-09 Thread Andreas Bießmann
This patch fixes following error: zlib.c:31:27: error: asm/unaligned.h: No such file or directory Suggested-by: Mike Frysinger Signed-off-by: Andreas Bießmann --- arch/avr32/include/asm/unaligned.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/avr32/includ

Re: [U-Boot] Rescue /alternative boot

2010-06-09 Thread Arno Steffen
Dear Wolfgang Denk, > Well, you can provide measures for a reset to a sane state, then. This sounds even more complicated to me. In fact - I don't have any clue, what and howto measure and reset the environment. This system doesn't even had a reset buttom... so it is always a cold boot. >> I don

Re: [U-Boot] Rescue /alternative boot

2010-06-09 Thread Arno Steffen
Dear Albert, 2010/6/9 Albert ARIBAUD : > If the user is able to do something stupid then you should avoid it, e.g. > not give the user the ability to alter the u-boot environment by making it In fact, the normal user doesn't have access to change it. But even I can make faults. > You should cons

[U-Boot] [PATCH 4/4] musb: Program extvbus for OMAP3EVM Rev >= E

2010-06-09 Thread Ajay Kumar Gupta
OMAP3EVM Rev >=E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev >=E runtime based on EVM revision. Signed-off-by: Ajay Kumar Gupta --- board/ti/evm/evm.c | 13 + drivers/usb/musb/omap3.c |3 +++ drivers/usb/musb/omap3.h |4 3 files changed

[U-Boot] [PATCH 2/4 v2] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Ajay Kumar Gupta
MUSB PHY on OMAP3EVM Rev >= E uses external Vbus supply to support 500mA of power.We need to program MUSB PHY to use external Vbus for this purpose. Adding 'extvbus' member in musb_config structure which should be set by all the boards where MUSB interface is using external Vbus supply. Also adde

[U-Boot] [PATCH 1/4 v2] musb: Use name based initialization for musb_config

2010-06-09 Thread Ajay Kumar Gupta
Changed musb_config initialization for omap3.c, davinci.c and da8xx.c using name of structure fields. This would cause the uninitialized field to be null by default and thus would help in avoiding to init some flags required to be set only for a few selected platforms. CC: Remy Bohmer Signed-off-

[U-Boot] [PATCH 3/4 v2] omap3evm: Add board revision function

2010-06-09 Thread Ajay Kumar Gupta
Added function to differentiate between the OMAP3EVM revisions. The chip-id of the ethernet PHY is being used for this purpose. Rev A to D : 0x0115 Rev >= E : 0x9220 CC: Remy Bohmer Signed-off-by: Vaibhav Hiremath Signed-off-by: Sanjeev Premi Signed-off-by: Ajay Kumar Gupta --- Chan

Re: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class

2010-06-09 Thread Gupta, Ajay Kumar
Hi > Thanks for your response. I want to tell few more things about our > implementation. > > Actually we are planning to simulate (but not implement) the file system > and implement the SCSI transparent command set decoder. When ever a file > is sent to the USB mass storage device, we will be tak

Re: [U-Boot] Rescue /alternative boot

2010-06-09 Thread Wolfgang Denk
Dear Arno Steffen, In message you wrote: > > This sounds even more complicated to me. In fact - I don't have any > clue, what and howto measure and reset the environment. This system > doesn't even had a reset buttom... so it is always a cold boot. So how will you find out if there is somethin

[U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Kristoffer Ericson
Greetings, My flashing issues are now gone and will adress this later on. Anyhow, I noticed that linux kernel only reports 16M total memory while the board got 128M. Was just wondering where to start looking? Everything works fine inside u-boot so its not passed correctly or something, not sure

Re: [U-Boot] Rescue /alternative boot

2010-06-09 Thread Wolfgang Denk
Dear Arno Steffen, In message you wrote: > > The system must be ready for updates - and they might go wrong, even by a > typo. Then you must design the system to be robust and ready for such procedures; for example, you want to have a hardware watchdog that resets the board if something goes

Re: [U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Wolfgang Denk
Dear Kristoffer Ericson, In message <20100609110742.ga1...@boggieman> you wrote: > > My flashing issues are now gone and will adress this later on. So the cause of the problems was the missing enabling of Vpp ? > Anyhow, I noticed that linux kernel only reports 16M total memory while the > boa

Re: [U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Kristoffer Ericson
On Wed, Jun 09, 2010 at 01:23:19PM +0200, Wolfgang Denk wrote: > Dear Kristoffer Ericson, > > In message <20100609110742.ga1...@boggieman> you wrote: > > > > My flashing issues are now gone and will adress this later on. > > So the cause of the problems was the missing enabling of Vpp ? > So it

Re: [U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Kristoffer Ericson
On Wed, Jun 09, 2010 at 01:23:19PM +0200, Wolfgang Denk wrote: > Dear Kristoffer Ericson, > > In message <20100609110742.ga1...@boggieman> you wrote: > > > > My flashing issues are now gone and will adress this later on. > > So the cause of the problems was the missing enabling of Vpp ? > > > A

Re: [U-Boot] Unable to mount Root File System , initramdisk or initramfs

2010-06-09 Thread Detlev Zundel
Hi Gurumurthy, > I am using MIPS32 AU1350 processor board with 2MB of NOR Flash, I have > programmed u-boot and Linux kernel in NOR Flash. U-boot is working > able to boot linux kernel but not able to mount root filesystem from > SDRAM. > > I tried both initramdisk and initramfs. please let me kno

[U-Boot] Is it possible to use 1GB or DDR on MPC8360 with e300 core?

2010-06-09 Thread remya pillai
Hi all I have an mpc8360e processor (has e300 core and QE) for our networking application. I have to use 1GB DRAM module in my board, but u-boot for powerpc is not supporting that. It is supporting only 256MB DRAM module. And in kernel, /proc/meminfo gives me only 256MB. Is it a processor limita

[U-Boot] [PATCH] avr32: disable branch folding

2010-06-09 Thread y
From: Andreas Bießmann Due to a hardware bug mentioned in latest AP7000 datasheet errata (revision M from 09.09) branch folding is unreliable. This patch disables CPUCR.FE bitfield as stated in datasheet. Signed-off-by: Andreas Bießmann --- arch/avr32/cpu/start.S |7 --- 1 files change

[U-Boot] [PATCH v2] avr32: disable branch folding

2010-06-09 Thread Andreas Bießmann
Due to a hardware bug mentioned in latest AP7000 datasheet errata (revision M from 09.09) branch folding is unreliable. This patch disables CPUCR.FE bitfield as stated in datasheet. Signed-off-by: Andreas Bießmann --- Changes since v1: - fix comment arch/avr32/cpu/start.S |7 --- 1

Re: [U-Boot] BDI2000 Procedure

2010-06-09 Thread Detlev Zundel
Hi Mark, > Does anyone have a procedure to restore u-boot on a AMCC Canyonlands > board using the BDI2000? > > I have the bdisetup utility and the firmware/logic files for ppc4xx. I > also found the config files for BDI2000 but there is not a procedure to > program it. > > I have not used our B

Re: [U-Boot] DRAM error when enable #define CONFIG_SPLASH_SCREEN

2010-06-09 Thread Detlev Zundel
Hi Tommy, > for enabling splash screen on my board (mpx8349) I enabled > the splash screen config in file configuration. Hm, what board is that exactly? I cannot find a reference to "mpx8349" in current code nor does "git grep MPX8349" yield any output. Is it possible that you use a non-mainlin

[U-Boot] Fw:Re: Fw:Re: Fw:How can I use yaffs2 in uboot

2010-06-09 Thread jackfriend
> And how are your MTD partitions set up in Linux? [*] MTD partitioning support < > RedBoot partition table parsing [*] Command line partition table parsing

Re: [U-Boot] Is it possible to use 1GB or DDR on MPC8360 with e300 core?

2010-06-09 Thread Kim Phillips
On Wed, 9 Jun 2010 17:31:13 +0530 remya pillai wrote: > I have an mpc8360e processor (has e300 core and QE) for our networking > application. I have to use 1GB DRAM module in my board, but u-boot for > powerpc is not supporting that. It is supporting only 256MB DRAM module. Apparently DDR is set

[U-Boot] [PATCH] mpc8xxx: Remove cpu-handles for cpus we delete

2010-06-09 Thread Kumar Gala
We may have cpu-handles pointing to the cpu nodes we delete. If so we should delete the handles as well. Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/fdt.c | 36 ++-- 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/cpu/mpc

[U-Boot] [PATCH] USB OHCI support for at91sam9g45 SoC

2010-06-09 Thread Sergey Matyukevich
Add USB OHCI support for at91sam9g45ekes/at91sam9m10g45ek boards. Note that according to errata from Atmel, OHCI is not operational on the first revision of at91sam9g45 chip. So this patch enables OHCI support for later revisions. Signed-off-by: Sergey Matyukevich --- arch/arm/include/asm/arch-

[U-Boot] [PATCH V7 1/3] Initial support for Marvell Orion5x SoC

2010-06-09 Thread Albert Aribaud
This patch adds support for the Marvell Orion5x SoC. It has no use alone, and must be followed by a patch to add Orion5x support for serial, then support for the ED Mini V2, an Orion5x-based product from LaCie. Signed-off-by: Albert Aribaud --- Patchset history V1: Initial monolithic patch. V2:

[U-Boot] [PATCH V7 1/3] Initial support for Marvell Orion5x SoC

2010-06-09 Thread Albert Aribaud
This patch adds support for the Marvell Orion5x SoC. It has no use alone, and must be followed by a patch to add Orion5x support for serial, then support for the ED Mini V2, an Orion5x-based product from LaCie. Signed-off-by: Albert Aribaud --- Patchset history V1: Initial monolithic patch. V2:

[U-Boot] [PATCH V7 2/3] Add Orion5x support to 16550 device driver

2010-06-09 Thread Albert Aribaud
This patch provides access to the 16550-compatible serial device of the Orion5x SoC. Signed-off-by: Albert Aribaud --- drivers/serial/serial.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 8eda95c..1073ac0 10064

[U-Boot] [PATCH V7 2/3] Add Orion5x support to 16550 device driver

2010-06-09 Thread Albert Aribaud
This patch provides access to the 16550-compatible serial device of the Orion5x SoC. Signed-off-by: Albert Aribaud --- drivers/serial/serial.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 8eda95c..1073ac0 10064

[U-Boot] [PATCH V7 3/3] Add support for the LaCie ED Mini V2 board

2010-06-09 Thread Albert Aribaud
This patch adds support for the LaCie ED Mini V2 product which is based on the Marvell Orion5x SoC. Signed-off-by: Albert Aribaud --- MAINTAINERS |4 + MAKEALL |1 + Makefile|3 + board/LaCie/edminiv2/Makefile |

Re: [U-Boot] [PATCH V7 2/3] Add Orion5x support to 16550 device driver

2010-06-09 Thread Albert ARIBAUD
Le 09/06/2010 22:50, Albert Aribaud a écrit : > Apologies for the duplicate 1/3 and 2/3 patches. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/4] Atmel Dataflash: convert to C struct accessors

2010-06-09 Thread Mike Frysinger
On Wednesday, June 09, 2010 03:06:26 Thomas Petazzoni wrote: > On Tue, 8 Jun 2010 15:20:57 -0400 Mike Frysinger wrote: > > speaking historically, the dataflash code absolutely has its place. > > it existed long before the SPI flash framework. but i'm looking > > forward only now. > > Yes, of cour

Re: [U-Boot] [PATCH 2/4 v2] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Mike Frysinger
On Wednesday, June 09, 2010 06:45:32 Ajay Kumar Gupta wrote: > +static inline u8 musb_read_ulpi_buscontrol(struct musb_regs *musbr) > +{} probably want this to return 0 to avoid warnings, otherwise this looks good to me. thanks ! -mike signature.asc Description: This is a digitally signed mess

[U-Boot] [PATCH] net: warn about spaces in device names

2010-06-09 Thread Mike Frysinger
Some commands operate on eth device names (like 'mii'), but those cannot be passed on the command line as one argument. So detect devices like these and warn about them so someone will fix it. Signed-off-by: Mike Frysinger --- net/eth.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(

[U-Boot] [PATCH] uli526x: drop newlines from device name

2010-06-09 Thread Mike Frysinger
Device names should not contain non-printable characters like newlines. Signed-off-by: Mike Frysinger --- drivers/net/uli526x.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index 9477851..56eee7b 100644 --- a/drivers/net/

[U-Boot] [PATCH] ppc/8xxx: Add is_core_disabled to remove disabled cores from dtb

2010-06-09 Thread Kumar Gala
If we explicitly disabled a core remove it from the dtb we pass on to the kernel. Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/mp.c | 25 + arch/powerpc/cpu/mpc86xx/mp.c | 19 +++ arch/powerpc/cpu/mpc8xxx/fdt.c |3 ++- arch/powerpc/incl

Re: [U-Boot] [PATCH] ppc/8xxx: Add is_core_disabled to remove disabled cores from dtb

2010-06-09 Thread Timur Tabi
On Wed, Jun 9, 2010 at 10:34 PM, Kumar Gala wrote: > +int is_core_disabled(int nr) { > +       volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); > +       u32 coredisrl = in_be32(&gur->coredisrl); You don't need to declare the variable as volatile if you use an I/O accessor. >

Re: [U-Boot] [PATCH] ppc/8xxx: Add is_core_disabled to remove disabled cores from dtb

2010-06-09 Thread Kumar Gala
On Jun 9, 2010, at 10:40 PM, Timur Tabi wrote: > On Wed, Jun 9, 2010 at 10:34 PM, Kumar Gala wrote: > >> +int is_core_disabled(int nr) { >> + volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); >> + u32 coredisrl = in_be32(&gur->coredisrl); > > You don't need to decl

[U-Boot] [PATCH v2] powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb

2010-06-09 Thread Kumar Gala
If we explicitly disabled a core remove it from the dtb we pass on to the kernel. Signed-off-by: Kumar Gala --- * Fix issues reported by Timur arch/powerpc/cpu/mpc85xx/mp.c | 23 +++ arch/powerpc/cpu/mpc86xx/mp.c | 17 + arch/powerpc/cpu/mpc8xxx/fdt.c |

[U-Boot] [PATCH 1/2] powerpc/85xx: Add command to report errata workarounds

2010-06-09 Thread Kumar Gala
Add 'errata' command to report what errata we workaround Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/Makefile |1 + arch/powerpc/cpu/mpc85xx/cmd_errata.c | 35 + 2 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 arch/powerp

[U-Boot] [PATCH 2/2] powerpc/85xx: Report workaround of errata SATA-A001

2010-06-09 Thread Kumar Gala
Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/cmd_errata.c b/arch/powerpc/cpu/mpc85xx/cmd_errata.c index 6824ebf..81078bd 100644 --- a/arch/powerpc/cpu/mpc85xx/cm

[U-Boot] [PATCH] powerpc/8xxx: Distinguish between incompatible SEC h/w types

2010-06-09 Thread Kumar Gala
From: Kim Phillips CONFIG_SYS_FSL_SEC_COMPAT is set to 2 for the SEC 2.x and SEC 3.x. Parts with newer SEC h/w versions will increment the number to accomodate incompatible code changes. Signed-off-by: Kim Phillips Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/fdt.c|6 +++---

[U-Boot] [PATCH] powerpc/8xxx: Add base support for the SEC4

2010-06-09 Thread Kumar Gala
From: Kim Phillips Signed-off-by: Kim Phillips Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/fdt.c|6 + arch/powerpc/include/asm/config.h |4 ++- arch/powerpc/include/asm/immap_85xx.h | 38 + 3 files changed, 47 insertions(+),

Re: [U-Boot] [PATCH 2/4 v2] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Gupta, Ajay Kumar
> > +static inline u8 musb_read_ulpi_buscontrol(struct musb_regs *musbr) > > +{} > > probably want this to return 0 to avoid warnings, otherwise this looks > good to > me. thanks ! Sure, I will update and repost the patches. Thanks, Ajay > -mike ___ U-

[U-Boot] [PATCH 3/4 v3] omap3evm: Add board revision function

2010-06-09 Thread Ajay Kumar Gupta
Added function to differentiate between the OMAP3EVM revisions. The chip-id of the ethernet PHY is being used for this purpose. Rev A to D : 0x0115 Rev >= E : 0x9220 CC: Remy Bohmer Signed-off-by: Vaibhav Hiremath Signed-off-by: Sanjeev Premi Signed-off-by: Ajay Kumar Gupta --- No c

[U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Ajay Kumar Gupta
MUSB PHY on OMAP3EVM Rev >= E uses external Vbus supply to support 500mA of power.We need to program MUSB PHY to use external Vbus for this purpose. Adding 'extvbus' member in musb_config structure which should be set by all the boards where MUSB interface is using external Vbus supply. Also adde

[U-Boot] [PATCH 4/4 v3] musb: Program extvbus for OMAP3EVM Rev >= E

2010-06-09 Thread Ajay Kumar Gupta
OMAP3EVM Rev >=E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev >=E runtime based on EVM revision. CC: Remy Bohmer Signed-off-by: Ajay Kumar Gupta --- No change from v2. board/ti/evm/evm.c | 13 + drivers/usb/musb/omap3.c |3 +++ drivers/usb/musb

[U-Boot] [PATCH 1/4 v3] musb: Use name based initialization for musb_config

2010-06-09 Thread Ajay Kumar Gupta
Changed musb_config initialization for omap3.c, davinci.c and da8xx.c using name of structure fields. This would cause the uninitialized field to be null by default and thus would help in avoiding to init some flags required to be set only for a few selected platforms. CC: Remy Bohmer Signed-off-

Re: [U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Mike Frysinger
On Thursday, June 10, 2010 01:50:48 Ajay Kumar Gupta wrote: > MUSB PHY on OMAP3EVM Rev >= E uses external Vbus supply to support > 500mA of power.We need to program MUSB PHY to use external Vbus > for this purpose. > > Adding 'extvbus' member in musb_config structure which should be set > by all t

Re: [U-Boot] [PATCH V7 1/3] Initial support for Marvell Orion5x SoC

2010-06-09 Thread Prafulla Wadaskar
Hi Albert I am OOO for next four days, I will try to provide feedback earliest possible Regards.. Prafulla . . > -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Thursday, June 10, 2010 2:20 AM > To: u-bo