Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Albert ARIBAUD
Le 08/07/2010 08:09, Prafulla Wadaskar a écrit : > > >> -Original Message- >> From: Albert ARIBAUD [mailto:albert.arib...@free.fr] >> Sent: Wednesday, July 07, 2010 7:36 PM >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; kalyan karnati >> Subject: Re: [U-Boot] Need Help in bulding U-b

Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support

2010-07-07 Thread Albert ARIBAUD
Le 08/07/2010 08:01, Prafulla Wadaskar a écrit : > > >> -Original Message- >> From: Albert ARIBAUD [mailto:albert.arib...@free.fr] >> Sent: Wednesday, July 07, 2010 7:39 PM >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support >

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Wednesday, July 07, 2010 7:36 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; kalyan karnati > Subject: Re: [U-Boot] Need Help in bulding U-boot-2010-06 for > OpenRD client > > Le 07/07/2010 13:

Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Wednesday, July 07, 2010 7:39 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support > > Le 07/07/2010 13:46, Prafulla Wadaskar a écrit : >

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: kalyan karnati [mailto:kriskalya...@gmail.com] > Sent: Wednesday, July 07, 2010 11:40 PM > To: Albert ARIBAUD > Cc: Prafulla Wadaskar; u-boot@lists.denx.de > Subject: Re: [U-Boot] Need Help in bulding U-boot-2010-06 for > OpenRD client > > Hi Prafulla/Albe

[U-Boot] [PATCH] Fix condition where bootm_size not set and wrong memory size reported

2010-07-07 Thread Matthew McClintock
If the user sets bootm_low and does not set bootm_size, u-boot will report the memory node in the flat device tree incorrectly. Instead of reporting the remaining size of memory, it will report the total available memory which is incorrect. Specifically this fixes the situation when booting a relo

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread kalyan karnati
Hi Prafulla/Albert, Thanks alot for your help. Finally using kwbimage.cfg solved the problem and my openRD_client came up :) Now, I want to boot Uimage and Filesystem from an MMC card. But the MMC support was not enabled, I added the configurations for MMC support to openrd_cleint.h.

Re: [U-Boot] Watchdog support for ppc4xx

2010-07-07 Thread Chen Wen
u-boot reset watchdog everywhere in u-boot code. But linux reset watchdog only when you reset /dev/watchdog by ioctl. You can try to put "mtspr(SPRN_TSR, TSR_ENW|TSR_WIS);" in kernel main.c to keep alive the watchdog. On Sat, Jun 5, 2010 at 4:14 AM, Mark Maestas wrote: > Thanks Wolfgang, > > T

Re: [U-Boot] davinci: lowlevel_init for davinci boards

2010-07-07 Thread Paulraj, Sandeep
> > Hi, > > I plan to use a davinci DM365 processor booting directly from a NOR > flash, without using the UBL provided by Texas. So I do not want to set > CONFIG_SKIP_LOWLEVEL_INIT in my config. > > I am confused about the low level initialization for davinci SOC: > arch/arm/cpu/arm926ejs/davi

[U-Boot] [PATCH 2/2] MPC8308RDB: minimal support for devboard from Freescale

2010-07-07 Thread Ilya Yanok
This patch provides support for MPC8308RDB development board from Freescale with a minimal set of features: Dual UART is supported NOR flash is supported Both TSEC Ethernet controllers are supported PCI Express initialization is supported The following features are enabled in configuration but

[U-Boot] davinci: lowlevel_init for davinci boards

2010-07-07 Thread Stefano Babic
Hi, I plan to use a davinci DM365 processor booting directly from a NOR flash, without using the UBL provided by Texas. So I do not want to set CONFIG_SKIP_LOWLEVEL_INIT in my config. I am confused about the low level initialization for davinci SOC: arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S

[U-Boot] Usage of bi_env ?

2010-07-07 Thread Dirk Behme
With U-Boot 2010.03 on an ARM board, the output of 'bdinfo' command gives: ... env_t = 0x ... The code in common/cmd_bdinfo.c for this is bd_t *bd = gd->bd; ... print_num ("env_t", (ulong)bd->bi_env); While checking if 0 for this value is correct or not, it looks to me that bi_env isn'

Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support

2010-07-07 Thread Albert ARIBAUD
Le 07/07/2010 13:46, Prafulla Wadaskar a écrit : >> If you mean 'why not make this a standalone driver, e.g. >> driver/net/mvsata_ide.{ch} under a configuration option >> CONFIG_MVSATA_IDE' -- why not, but it would basically be empty of >> 'driving' functionality (this is handled by cmd_ide) and w

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Albert ARIBAUD
Le 07/07/2010 13:44, Prafulla Wadaskar a écrit : > you should use u-boot.bin to load in RAM @ 0x60 (TEXT_BASE) That's what I do, either through JTAG or by tftp/go in resident u-boot. > for boot from RAM, you must need at least SDRAM configured, so JTAG is the way JTAG does work indeed. Howv

Re: [U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Paulraj, Sandeep
> > > > > > > > > > diff --git a/arch/arm/include/asm/arch-omap3/cpu.h > > > > > b/arch/arm/include/asm/arch-omap3/cpu.h > > > > > index c072c27..773ea0c 100644 > > > > > --- a/arch/arm/include/asm/arch-omap3/cpu.h > > > > > +++ b/arch/arm/include/asm/arch-omap3/cpu.h > > > > > @@ -483,4 +483,24 @

[U-Boot] [PATCH 2/2] 8xx, kup4: add FDT support

2010-07-07 Thread Heiko Schocher
Signed-off-by: Heiko Schocher --- board/kup/kup4k/kup4k.c | 59 +++ include/configs/KUP4K.h |4 +++ 2 files changed, 63 insertions(+), 0 deletions(-) diff --git a/board/kup/kup4k/kup4k.c b/board/kup/kup4k/kup4k.c index 9feee68..a35e3e6 100644 ---

[U-Boot] [PATCH 1/2] 8xx, kup4: minor configuration changes

2010-07-07 Thread Heiko Schocher
- nfs-options removed - hda->sda changed - mtd parts added - loadaddress changed - cmd-line length increased - lcd stuff removed - code cleanup Signed-off-by: Klaus Heydeck --- board/kup/common/kup.c | 52 --- board/kup/common/kup.h | 45 +++-- board/kup/kup4k/kup4k.c| 408 +

Re: [U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Gupta, Ajay Kumar
Hi > > > > Adding general register structure of system control module (SCM) > > > > of AM35x. This would be required to access devconf2 and ip_sw_reset > > > > register in musb module. > > > > > > > > Signed-off-by: Ajay Kumar Gupta > > > > --- > > > > arch/arm/include/asm/arch-omap3/cpu.h | 20

Re: [U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Paulraj, Sandeep
> > Hi, > > > Adding general register structure of system control module (SCM) > > > of AM35x. This would be required to access devconf2 and ip_sw_reset > > > register in musb module. > > > > > > Signed-off-by: Ajay Kumar Gupta > > > --- > > > arch/arm/include/asm/arch-omap3/cpu.h | 20 ++

Re: [U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Gupta, Ajay Kumar
Hi, > > Adding general register structure of system control module (SCM) > > of AM35x. This would be required to access devconf2 and ip_sw_reset > > register in musb module. > > > > Signed-off-by: Ajay Kumar Gupta > > --- > > arch/arm/include/asm/arch-omap3/cpu.h | 20 > >

Re: [U-Boot] [PATCH] musb: fix compilation warning

2010-07-07 Thread Paulraj, Sandeep
> > Fixes below compilation warning > omap3.c: In function 'musb_platform_init': > omap3.c:123: warning: implicit declaration of function > 'omap3_evm_need_extvbus' > > CC: Remy Bohmer > Signed-off-by: Ajay Kumar Gupta > --- Remy, If it OK with you I would like to add th

Re: [U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Paulraj, Sandeep
> Adding general register structure of system control module (SCM) > of AM35x. This would be required to access devconf2 and ip_sw_reset > register in musb module. > > Signed-off-by: Ajay Kumar Gupta > --- > arch/arm/include/asm/arch-omap3/cpu.h | 20 > 1 files changed,

[U-Boot] [PATCH v3]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Rupjyoti Sarmah
Functions added to support board callbacks for USB init. This isolates USB manipulations such that it is only touched if USB is used by U-Boot. Signed-off-by: Dave Mitchell Signed-off-by: Rupjyoti Sarmah --- This patch incorporates the changes advised. The description of the Macros changed in th

Re: [U-Boot] [PATCH v2]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Rupjyoti Sarmah
Hi Stefan and Felix, Thanks for your inputs. I am releasing v3 with the updates. Regards, Rup -Original Message- From: Stefan Roese [mailto:s...@denx.de] > isolates USB manipulations such that it is only touched if USB is > used by U-Boot. Thanks. Looks quite good now. Please find a

[U-Boot] [PATCH 3/4] musb: am35x: Workaround for fifo read issue

2010-07-07 Thread Ajay Kumar Gupta
AM35x supports only 32bit read operations so we need to have workaround for 8bit and 16bit read operations. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/am35x.c | 32 drivers/usb/musb/musb_core.c |6 ++ 2 files changed, 38 insertions(+), 0 d

[U-Boot] [PATCH 4/4] AM3517EVM: musb: add usb config

2010-07-07 Thread Ajay Kumar Gupta
Enabling USB HOST in defconfig. Signed-off-by: Ajay Kumar Gupta --- include/configs/am3517_evm.h | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 513d005..c197ac8 10064

[U-Boot] [PATCH 2/4] musb: MSC host support for AM35x

2010-07-07 Thread Ajay Kumar Gupta
Tested MSC Host on AM3517EVM. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/am35x.c| 118 +++ drivers/usb/musb/am35x.h| 94 ++ drivers/usb/musb/musb_udc.c |2 + inc

[U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Ajay Kumar Gupta
Adding general register structure of system control module (SCM) of AM35x. This would be required to access devconf2 and ip_sw_reset register in musb module. Signed-off-by: Ajay Kumar Gupta --- arch/arm/include/asm/arch-omap3/cpu.h | 20 1 files changed, 20 insertions(+),

[U-Boot] [PATCH 0/4] AM35X: Add musb support

2010-07-07 Thread Ajay Kumar Gupta
Remy, These patches add support for musb in AM35x. Regards, Ajay Ajay Kumar Gupta (4): AM35x: Adding SCM general register definitions musb: MSC host support for AM35x musb: am35x: Workaround for fifo read issue AM3517EVM: musb: add usb config arch/arm/include/asm/arch-omap3/cpu.h | 2

Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Wednesday, July 07, 2010 4:20 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support > > Le 07/07/2010 10:38, Prafulla Wadaskar a écrit : >

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Wednesday, July 07, 2010 4:38 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; kalyan karnati > Subject: Re: [U-Boot] Need Help in bulding U-boot-2010-06 for > OpenRD client > ...snip... > >> ski

Re: [U-Boot] [PATCH V2 2/3] orion5x: add ide support for Marvell SATA

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Wednesday, July 07, 2010 4:54 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH V2 2/3] orion5x: add ide support for Marvell SATA > > Le 07/07/2010 10:25, Prafulla Wadaskar a é

Re: [U-Boot] [PATCH V2 2/3] orion5x: add ide support for Marvell SATA

2010-07-07 Thread Albert ARIBAUD
Le 07/07/2010 10:25, Prafulla Wadaskar a écrit : >> +/* SControl register address */ >> +#define ORION5X_SATA_PORT1_SCONTROL_REG \ >> +(ORION5X_SATA_BASE+ORION5X_SATA_PORT1_OFFSET+0x308) > > Please use c structure for register defination. Hmm... There is a single register definition here -- I

Re: [U-Boot] [PATCH v2]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Felix Radensky
Hi Rupjyoti, On 7/7/2010 1:49 PM, Rupjyoti Sarmah wrote: > > -#define CONFIG_SYS_BCSR3_PCIE0x10 > + struct ep460c_bcsr { > + u8 board_id; > + u8 cpld_rev; > + u8 led_user; > + u8 board_status; > +

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Albert ARIBAUD
Le 07/07/2010 10:09, Prafulla Wadaskar a écrit : > > >> -Original Message- >> From: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert ARIBAUD >> Sent: Tuesday, July 06, 2010 10:03 PM >> To: u-boot@lists.denx.de; kalyan karnati >> Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH v2]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Stefan Roese
Hi Rup, On Wednesday 07 July 2010 12:49:06 Rupjyoti Sarmah wrote: > Functions added to support board callbacks for USB init. This > isolates USB manipulations such that it is only touched if USB is > used by U-Boot. Thanks. Looks quite good now. Please find a small comment below. > diff --git

Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support

2010-07-07 Thread Albert ARIBAUD
Le 07/07/2010 10:38, Prafulla Wadaskar a écrit : > don't you think it is better to add separate driver for Orion/Kirkwood/Marvell > SATAC so that this code and even some configurations can be shared by other > boards. If you mean 'why use cmd_ide rather than the Marvell sata driver also posted

[U-Boot] [PATCH v2]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Rupjyoti Sarmah
Functions added to support board callbacks for USB init. This isolates USB manipulations such that it is only touched if USB is used by U-Boot. Signed-off-by: Dave Mitchell Signed-off-by: Rupjyoti Sarmah --- This patch incorporates the changes advised. The description of the Macros changed in th

[U-Boot] [PATCH v3] 83xx: add support for ve8313 board

2010-07-07 Thread Heiko Schocher
This patch add support for the ve8313 board based on Freescale MPC8313 CPU. - serial console on UART 1 - 128 MB DDR RAM - 32 MB NOR Flash - 16 MB NAND Flash - Ethernet MII Mode over on TSEC0 - micrel ksz804 phy - Hardware WDT MAX824 changes since v1 - Environment size = sector size - use red. env

Re: [U-Boot] [PATCH v1]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Rupjyoti Sarmah
Hi Wolfgang, Sent: Wednesday, July 07, 2010 1:02 PM To: Rupjyoti Sarmah > - if (in_8((void *)(CONFIG_SYS_BCSR_BASE + 3)) & CONFIG_SYS_BCSR3_PCIE) > + if (bcsr_data->board_status & CONFIG_SYS_BCSR3_PCIE) Please use I/O accessors to read the BCSR. > - printf(", Rev. %X"

Re: [U-Boot] [PATCH v2] 83xx: add support for ve8313 board

2010-07-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4c343ae3.7060...@denx.de> you wrote: > > >> +#ifdef CONFIG_TSEC1 > >> +#define CONFIG_HAS_ETH0 > >> +#define CONFIG_TSEC1_NAME "TSEC0" > > > > Oops? This is TSEC1, so why do you name it "TSEC0" ? > > Because this is so in all other board configs I looked. >

Re: [U-Boot] [PATCH V2 3/3] edmini: add IDE support

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Tuesday, July 06, 2010 9:29 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH V2 3/3] edmini: add IDE support > > > Signed-off-by: Albert Aribau

Re: [U-Boot] [PATCH v2] 83xx: add support for ve8313 board

2010-07-07 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > In message <4c340265.3020...@invitel.hu> you wrote: >> changes since v1 >> - environment size = sector size > > Argh. While the previous environment size of 8 KiB was indeed a bit > smallish, using 128 KiB is overkill. Keep in mind that we then have to > co

Re: [U-Boot] [PATCH V2 2/3] orion5x: add ide support for Marvell SATA

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Tuesday, July 06, 2010 9:29 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH V2 2/3] orion5x: add ide support for > Marvell SATA > > > Signed-

Re: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

2010-07-07 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert ARIBAUD > Sent: Tuesday, July 06, 2010 10:03 PM > To: u-boot@lists.denx.de; kalyan karnati > Subject: Re: [U-Boot] Need Help in bulding U-boot-2010-06 for > OpenRD clie

Re: [U-Boot] [PATCH v1]ppc4xx/Canyonlands added USB board callbacks

2010-07-07 Thread Wolfgang Denk
Dear Rupjyoti Sarmah, In message <201007070632.o676wvs8029...@amcc.com> you wrote: > Functions added to support board callbacks for USB init. This > isolates USB manipulations such that it is only touched if USB is > used by U-Boot. > > Signed-off-by: Dave Mitchell > Signed-off-by: Rupjyoti Sarm

Re: [U-Boot] [PATCH v2] 83xx: add support for ve8313 board

2010-07-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4c340265.3020...@invitel.hu> you wrote: > > changes since v1 > - environment size = sector size Argh. While the previous environment size of 8 KiB was indeed a bit smallish, using 128 KiB is overkill. Keep in mind that we then have to compute the checksum over 18