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

2010-07-07 Thread Stefan Roese
Hi Heiko, On Wednesday 07 July 2010 06:28:21 Heiko Schocher wrote: 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 Just checking: Is this really *only* 16 MiB NAND flash? Cheers,

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

2010-07-07 Thread Heiko Schocher
Hello Stefan, Stefan Roese wrote: On Wednesday 07 July 2010 06:28:21 Heiko Schocher wrote: 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 Just checking: Is this really *only*

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 KiB

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 dmitch...@appliedmicro.com

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 client

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-off-by:

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 compute the

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 Aribaud

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. Kim? Can you

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,

[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.

[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 dmitch...@appliedmicro.com Signed-off-by: Rupjyoti Sarmah rsar...@appliedmicro.com --- This patch incorporates the changes

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

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. snip diff

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] Need Help in

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; + u8

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 don't

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 é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... skips very

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 : don't

[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 ajay.gu...@ti.com --- arch/arm/include/asm/arch-omap3/cpu.h | 20 1 files changed,

[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 ajay.gu...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/am35x.c| 118 +++ drivers/usb/musb/am35x.h| 94 ++

[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 ajay.gu...@ti.com --- 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

[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 ajay.gu...@ti.com --- drivers/usb/musb/am35x.c | 32 drivers/usb/musb/musb_core.c |6 ++ 2 files changed, 38

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 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 dmitch...@appliedmicro.com Signed-off-by: Rupjyoti Sarmah rsar...@appliedmicro.com --- This patch incorporates the changes

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 ajay.gu...@ti.com --- arch/arm/include/asm/arch-omap3/cpu.h | 20 1 files

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 li...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Remy, If it OK with

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 ajay.gu...@ti.com --- 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 ajay.gu...@ti.com --- 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 ajay.gu...@ti.com --- arch/arm/include/asm/arch-omap3/cpu.h | 20

[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 heyd...@kieback-peter.de --- board/kup/common/kup.c | 52 --- board/kup/common/kup.h | 45 +++--

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

2010-07-07 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de --- 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

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 @@ struct pm { #define

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 would

[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't

[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] [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

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:

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 maes...@aplabs.com wrote: Thanks

[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