[U-Boot] [PATCH 4/5] standard SCI support

2011-03-02 Thread Yoshinori Sato
h8300 have simlar sh serial I/F. It without FIFO. This changes support of no FIFO. Signed-off-by: Yoshinori Sato --- drivers/serial/serial_sh.c | 74 +++--- drivers/serial/serial_sh.h | 93 +++- 2 files changed, 98 insertion

[U-Boot] [PATCH 5/5] Add target edosk2674

2011-03-02 Thread Yoshinori Sato
This part EDOSK2674 support more infomation is http://www.renesas.eu/products/tools/introductory_evaluation_tools/evaluation_development_os_kits/edosk2674r/edosk2674r_software_tools_root.jsp Signed-off-by: Yoshinori Sato --- board/edosk2674/Makefile| 48 ++ board/edosk

[U-Boot] [PATCH 0/5] Add target EDOSK2674

2011-03-02 Thread Yoshinori Sato
Hi lists, This patches added new target EDOSK2674. Please comments. Thanks. Yoshinori Sato (5): Add h8300 architecture part1 - core Add h8300 architecture part2 - headers Add h8300 architecture part3 - misc standard SCI support Add target edosk2674 arch/h8300/config.mk

[U-Boot] [PATCH 2/5] Add h8300 architecture part2 - headers

2011-03-02 Thread Yoshinori Sato
This part h8300 cpu support (2/3). Signed-off-by: Yoshinori Sato --- arch/h8300/include/asm/bitops.h | 186 ++ arch/h8300/include/asm/byteorder.h |6 + arch/h8300/include/asm/config.h | 26 + arch/h8300/include/asm/global_data.h | 55

[U-Boot] [PATCH 2/2 v2] arm: fix incorrect monitor protection region in FLASH

2011-03-02 Thread Po-Yu Chuang
From: Po-Yu Chuang Monitor protection region in FLASH did not cover .rel.dyn and .dynsym sections, because it uses __bss_start to compute monitor_flash_len. Use _end instead. Add _end to linker scripts for end of u-boot image Add _end_ofs to all the start.S. Signed-off-by: Po-Yu Chuang --- v2:

Re: [U-Boot] [PATCH] mx25: Make the UART port number explicit in its setup function

2011-03-02 Thread Stefano Babic
On 03/02/2011 02:31 AM, Estevam Fabio-R49496 wrote: > Hi Stefano, > Hi Fabio, > Ping? As I do not see any fix for the current release, I have not yet merged it into u-boot-imx and I will do it when the window is open again. I imagine your patch is an introduction for further patches, where more

Re: [U-Boot] [PATCH] omap3_beagle: Switch default console from ttyS2 to ttyO2

2011-03-02 Thread Thomas Weber
Hello Alexander, Am 02.03.2011 00:13, schrieb Jason Kridner: > On Fri, Feb 18, 2011 at 3:37 AM, Alexander Holler > wrote: >> Linux kernels >= 2.6.36 are using ttyOn instead ttySn for the >> serials on OMAPs. >> >> Signed-off-by: Alexander Holler > > Ack. > >> --- >> include/configs/omap3_beag

Re: [U-Boot] [beagleboard] Re: [PATCH] omap3_beagle: Switch default console from ttyS2 to ttyO2

2011-03-02 Thread Alexander Holler
Hello, Am 02.03.2011 11:50, schrieb Thomas Weber: > Hello Alexander, > Am 02.03.2011 00:13, schrieb Jason Kridner: >> On Fri, Feb 18, 2011 at 3:37 AM, Alexander Holler >> wrote: >>> Linux kernels>= 2.6.36 are using ttyOn instead ttySn for the >>> serials on OMAPs. ... > can you please do this

Re: [U-Boot] building enc28j60 for omap3: (omap3_spi rxtx)

2011-03-02 Thread jacopo mondi
On Wed, 23 Feb 2011 23:32:01 +0100 Anatolij Gustschin wrote: > Hi, > > On Tue, 22 Feb 2011 17:34:30 +0100 > jacopo mondi wrote: > ... > > Second issue is related to enc identification. > > The following code section: > > > > phid1 = phy_read(enc, PHY_REG_PHID1); > > phid2 = phy_read(en

[U-Boot] [PATCH] omap3_spi: receive transmit mode

2011-03-02 Thread Jacopo Mondi
Implementation of receive-transmit mode for omap3 MCSPI. Introduces full duplex communication, needed by some spi devices (such as enc28j60). Signed-off-by: jacopo mondi --- drivers/spi/omap3_spi.c | 66 -- drivers/spi/omap3_spi.h |2 + 2 files

Re: [U-Boot] [PATCH] mx25: Make the UART port number explicit in its setup function

2011-03-02 Thread Fabio Estevam
On 3/2/2011 6:15 AM, Stefano Babic wrote: ... > As I do not see any fix for the current release, I have not yet merged > it into u-boot-imx and I will do it when the window is open again. I > imagine your patch is an introduction for further patches, where more as > one uart is used, right ? Should

[U-Boot] issue with 'ubi part'

2011-03-02 Thread Andre Schwarz
Stefan, actually I have an issue with the "ubi part" command. Situation: MPC8377 based board with 64MiB Nor- (u-boot etc.) and 1GiB Nand-Flash (ubi volume). MTD devices look like this : => mtdparts device nor0 , # parts = 2 #: namesizeoffset mask_flags

Re: [U-Boot] [PATCH v2] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

2011-03-02 Thread Jason Kridner
On Tue, Mar 1, 2011 at 9:54 PM, Alexander Holler wrote: > Hello Jason, > > On 02.03.2011 00:37, Jason Kridner wrote: > >> From: Alexander Holler >> >> Using the new env import command it is possible to use plain text files >> instead >> of script-images. Plain text files are much easier to handle.

Re: [U-Boot] [PATCH v2] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

2011-03-02 Thread Alexander Holler
Hello, Am 02.03.2011 16:44, schrieb Jason Kridner: > On Tue, Mar 1, 2011 at 9:54 PM, Alexander Holler wrote: >> Hello Jason, >> >> On 02.03.2011 00:37, Jason Kridner wrote: >> >>> From: Alexander Holler >>> >>> Using the new env import command it is possible to use plain text files >>> instead >>

[U-Boot] [PATCH] lpc2292: fix compilation of supported boards.

2011-03-02 Thread Ithamar R. Adema
Both boards were missing the CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR defines. Signed-off-by: Ithamar R. Adema --- include/configs/SMN42.h |3 +++ include/configs/lpc2292sodimm.h |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/configs/SMN42

[U-Boot] Coldfire 5235 flexbus.h

2011-03-02 Thread Jate Sujjavanich
The defines in arch/m68k/include/coldfire/flexbus.h are not compatible with the 5235 processor. The registers in struct fbcs are different sizes from those in the 5235. Also, the defines are a little different. This is what I have so far. Comments? --- u-boot-denx/arch/m68k/include/asm/coldfi

[U-Boot] [PATCH 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread York Sun
The write recovery time of both registers should match. Since mode register doesn't support cycles of 9,11,13,15, we should use next higher number for both registers. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 28 1 files changed, 24 ins

[U-Boot] [PATCH 2/2] powerpc/corenet_ds: revise platform dependent parameters

2011-03-02 Thread York Sun
This patch revised clk_adjust and wrlvl_start timings for corenet_ds, based on testing on Virtium VL33B5163F-K9S and Kingston KVR1333D3Q8R9S/4G. Signed-off-by: York Sun --- board/freescale/corenet_ds/ddr.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/free

Re: [U-Boot] [PATCH] mx25: Make the UART port number explicit in its setup function

2011-03-02 Thread Stefano Babic
On 03/02/2011 04:19 PM, Fabio Estevam wrote: > I was working on adding MX25PDK support and I think that that the > UART reference should be explicit, as different boards can boot from > different UART ports. I have applied your patch to u-boot-imx, next branch. Maybe it is easier to you to use it

Re: [U-Boot] [u-boot-release] [PATCH 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread Timur Tabi
York Sun wrote: > + switch (wrrec_mclk) { /* DDR_SDRAM_MODE doesn't support 9,11,13,15 */ > + case 9: > + wrrec_mclk = 10; > + break; > + case 11: > + wrrec_mclk = 12; > + break; > + case 13: > + wrrec_mclk = 14; > +

Re: [U-Boot] [u-boot-release] [PATCH 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread York Sun
On Wed, 2011-03-02 at 13:31 -0600, Timur Tabi wrote: > York Sun wrote: > > + switch (wrrec_mclk) { /* DDR_SDRAM_MODE doesn't support 9,11,13,15 */ > > + case 9: > > + wrrec_mclk = 10; > > + break; > > + case 11: > > + wrrec_mclk = 12; > > + break; > > +

[U-Boot] [Patch v2 2/2] powerpc/corenet_ds: revise platform dependent parameters

2011-03-02 Thread York Sun
This patch revised clk_adjust and wrlvl_start timings for corenet_ds, based on testing on Virtium VL33B5163F-K9S and Kingston KVR1333D3Q8R9S/4G. Signed-off-by: York Sun --- board/freescale/corenet_ds/ddr.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/free

Re: [U-Boot] [u-boot-release] [PATCH 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread Timur Tabi
York Sun wrote: >> > if (wrrec_mclk & 1) >> >wrrec_mclk++; >> > > Only 9, 11, 13, 15 need to round up. What are all the possible values for wrrec_mclk? -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [Patch v2 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread York Sun
The write recovery time of both registers should match. Since mode register doesn't support cycles of 9,11,13,15, we should use next higher number for both registers. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 28 1 files changed, 24 ins

Re: [U-Boot] [u-boot-release] [PATCH 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread York Sun
On Wed, 2011-03-02 at 13:46 -0600, Timur Tabi wrote: > York Sun wrote: > >> > if (wrrec_mclk & 1) > >> > wrrec_mclk++; > >> > > > Only 9, 11, 13, 15 need to round up. > > What are all the possible values for wrrec_mclk? > There is no limitation on register timing_cfg_1[wrrec_mclk]. It can be a

Re: [U-Boot] [PATCH v2] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

2011-03-02 Thread Alexander Holler
Hello, just a last word. I don't have to decide which patch is used and I don't have any problem if v2 is used. I'm able to modify bootcmd like I wish and can live with any version. I've justed wanted to make clear why I haven't used a simpler approach. Anyway, if v2 will be used, please just r

Re: [U-Boot] [u-boot-release] [PATCH 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread Timur Tabi
York Sun wrote: > On Wed, 2011-03-02 at 13:46 -0600, Timur Tabi wrote: >> York Sun wrote: > if (wrrec_mclk & 1) > wrrec_mclk++; > >>> Only 9, 11, 13, 15 need to round up. >> >> What are all the possible values for wrrec_mclk? >> > > There is no limitation on register timing_cfg_1[wrr

[U-Boot] [PATCH v3] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

2011-03-02 Thread Jason Kridner
From: Alexander Holler Using the new env import command it is possible to use plain text files instead of script-images. Plain text files are much easier to handle. E.g. If your boot.scr contains the following: --- setenv dvimode 1024x768-16@60 run loaduimage run

Re: [U-Boot] [PATCH 1/3] rename _end to __bss_end__

2011-03-02 Thread Albert ARIBAUD
Hi Po-Yu Chuang, Le 02/03/2011 06:53, Po-Yu Chuang a écrit : > From: Po-Yu Chuang This line appears in the body of your mail; it should not. Did you use git send-email to post these patches? > This is done by the following command: > $ for f in `find * -type f`; do sed -i 's/\<_end\>/__bss_end_

Re: [U-Boot] [PATCH 1/3] rename _end to __bss_end__

2011-03-02 Thread Po-Yu Chuang
Hi Albert, On Wed, Mar 2, 2011 at 2:59 PM, Albert ARIBAUD wrote: > Hi Po-Yu Chuang, > > Le 02/03/2011 06:53, Po-Yu Chuang a écrit : >> >> From: Po-Yu Chuang > > This line appears in the body of your mail; it should not. Did you use git > send-email to post these patches? Yes, I use git send-emai

[U-Boot] [Patch v3 2/2] powerpc/corenet_ds: revise platform dependent parameters

2011-03-02 Thread York Sun
This patch revised clk_adjust and wrlvl_start timings for corenet_ds, based on testing on Virtium VL33B5163F-K9S and Kingston KVR1333D3Q8R9S/4G. Signed-off-by: York Sun --- board/freescale/corenet_ds/ddr.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/free

[U-Boot] [Patch v3 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread York Sun
The write recovery time of both registers should match. Since mode register doesn't support cycles of 9,11,13,15, we should use next higher number for both registers. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 20 ++-- 1 files changed, 14 insertions(

[U-Boot] [Patch v4 1/2] powerpc/mpc8xxx: Fix DDR3 timing_cfg_1 and sdram_mode registers

2011-03-02 Thread York Sun
The write recovery time of both registers should match. Since mode register doesn't support cycles of 9,11,13,15, we should use next higher number for both registers. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 20 ++-- 1 files changed, 14 insertions(

[U-Boot] [Patch v4 2/2] powerpc/corenet_ds: revise platform dependent parameters

2011-03-02 Thread York Sun
This patch revised clk_adjust and wrlvl_start timings for corenet_ds, based on testing on Virtium VL33B5163F-K9S and Kingston KVR1333D3Q8R9S/4G. Signed-off-by: York Sun --- board/freescale/corenet_ds/ddr.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/free

Re: [U-Boot] [PATCH v3] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

2011-03-02 Thread Alexander Holler
Hello Jason, Am 02.03.2011 21:26, schrieb Jason Kridner: > For backwards compatibility the use of boot.scr is still supported. > Sorry, but I think that line in the description should get removed too. Regards, Alexander ___ U-Boot mailing list U-

Re: [U-Boot] [beagleboard] Re: [PATCH v3] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

2011-03-02 Thread Robert Nelson
On Wed, Mar 2, 2011 at 5:41 PM, Alexander Holler wrote: > Hello Jason, > > Am 02.03.2011 21:26, schrieb Jason Kridner: >> >> For backwards compatibility the use of boot.scr is still supported. >> > > Sorry, but I think that line in the description should get removed too. > So, just a thought.. A

[U-Boot] CONFIG_WATCHDOG on MPC85XX and QorIQ P1/P2

2011-03-02 Thread Felix Radensky
Hi, I'm trying to enable watchdog in u-boot on P1011 based platform. I've noticed that all 85XX platforms have CONFIG_WATCHDOG disabled. There's a definition of reset_85xx_watchdog() in cpu/mpc85xx/cpu.c but no code that actually enables the watchdog. What should be done to make this feature work

[U-Boot] [PATCH][v3] fsl_esdhc: Correcting esdhc timeout counter calculation

2011-03-02 Thread Priyanka Jain
- Timeout counter value is set as DTOCV bits in SYSCTL register For counter value set as timeout, Timeout period = (2^(timeout + 13)) SD Clock cycles - As per 4.6.2.2 section of SD Card specification v2.00, host should cofigure timeout period value to minimum 0.25 sec. - Number of SD Clock

Re: [U-Boot] CONFIG_WATCHDOG on MPC85XX and QorIQ P1/P2

2011-03-02 Thread Tabi Timur-B04825
I don't think anyone here has ever turned on watchdog support on an 85xx board. I think it works on 86xx boards, though. Aggrwal Poonam-B10812 wrote: > Hello Felix > > We have not used watchdog feature in u-boot as such. > > Timur, do you have any idea about this? Can you give some pointers here

Re: [U-Boot] CONFIG_WATCHDOG on MPC85XX and QorIQ P1/P2

2011-03-02 Thread Aggrwal Poonam-B10812
Hello Felix We have not used watchdog feature in u-boot as such. Timur, do you have any idea about this? Can you give some pointers here. I will also try to explore it more. Regards Poonam > -Original Message- > From: Felix Radensky [mailto:fe...@embedded-sol.com] > Sent: Thursday, Ma

Re: [U-Boot] CONFIG_WATCHDOG on MPC85XX and QorIQ P1/P2

2011-03-02 Thread Dudhat Dipen-B09055
Hi All, Just clarification, felix is asking for WatchDog support on u-boot not on Linux. If he is asking on Linux then it's there and we have tested it. Regards, Dipen -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Tabi Timur-B04

[U-Boot] [PATCH v3 2/3] MMC: Add support for PL180 ARM mmc device

2011-03-02 Thread matt . waddel
From: Matt Waddel Add support for the ARM PrimeCell MultiMedia Interface - PL180. Ported from original device driver written by ST-Ericsson. Signed-off-by: Matt Waddel --- drivers/mmc/Makefile |1 + drivers/mmc/arm_pl180_mmci.c | 452 ++ dri

[U-Boot] [PATCH v3 3/3] ARMV7: Vexpress: Add MMC support

2011-03-02 Thread matt . waddel
From: Matt Waddel Added the board specific definitions to use the MMCI device. Signed-off-by: Matt Waddel --- board/armltd/vexpress/ca9x4_ct_vxp.c |9 + include/configs/ca9x4_ct_vxp.h |4 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/board/armltd/ve

[U-Boot] [PATCH V3 0/3] Add support for the MMC device to the vexpress

2011-03-02 Thread matt . waddel
From: Matt Waddel These patches add support for the ARM PrimeCell PL180 MultiMedia Interface. The Versatile Express was the test platform for these changes. --- Change log: v2 - Rename patch items to a more descriptive name (ie. mmci -> arm_mmci) Fixed conflicting fuction call and added pr

Re: [U-Boot] [PATCH 2/2 v2] arm: fix incorrect monitor protection region in FLASH

2011-03-02 Thread Albert ARIBAUD
Le 02/03/2011 10:02, Po-Yu Chuang a écrit : > From: Po-Yu Chuang > > Monitor protection region in FLASH did not cover .rel.dyn > and .dynsym sections, because it uses __bss_start to compute > monitor_flash_len. Use _end instead. > > Add _end to linker scripts for end of u-boot image > Add _end_ofs

Re: [U-Boot] [PATCH 2/2 v2] arm: fix incorrect monitor protection region in FLASH

2011-03-02 Thread Albert ARIBAUD
Le 02/03/2011 10:02, Po-Yu Chuang a écrit : > From: Po-Yu Chuang > > Monitor protection region in FLASH did not cover .rel.dyn > and .dynsym sections, because it uses __bss_start to compute > monitor_flash_len. Use _end instead. > > Add _end to linker scripts for end of u-boot image > Add _end_ofs

Re: [U-Boot] [PATCH V2] arm: Use optimized memcpy and memset from linux

2011-03-02 Thread Albert ARIBAUD
Hi Matthias, Le 26/01/2011 11:45, Matthias Weisser a écrit : > Using optimized versions of memset and memcpy from linux brings a quite > noticeable speed (x2 or better) improvement for these two functions. > > Here are some numbers for test done with jadecpu > > | HEAD(

Re: [U-Boot] [PATCH v2 1/2] power: ftpmu010: move drivers/power/ftpmu010.h to include/faraday

2011-03-02 Thread Albert ARIBAUD
Le 18/02/2011 06:34, Po-Yu Chuang a écrit : > From: Po-Yu Chuang > > Also add API declarations. > > Signed-off-by: Po-Yu Chuang > --- Applied to u-boot-arm/next, thanks! Wolfgang: I have put the patches in 'Awaiting upstream' state as none of the states described in

Re: [U-Boot] [PATCH v2 2/2] arm: a320: use new ftpmu010 API

2011-03-02 Thread Albert ARIBAUD
Le 18/02/2011 06:35, Po-Yu Chuang a écrit : > From: Po-Yu Chuang > > ftpmu010 related code has been moved to drivers/power/. > > Signed-off-by: Po-Yu Chuang > --- > v2: > remove unused local variable oscc > include/ftpmu010.h -> include/faraday/ftpmu010.h Applied to u-boot-arm/next, thanks! Amic

Re: [U-Boot] CONFIG_WATCHDOG on MPC85XX and QorIQ P1/P2

2011-03-02 Thread Felix Radensky
Hi Dipen, On 03/03/2011 06:27 AM, Dudhat Dipen-B09055 wrote: > Hi All, > > Just clarification, felix is asking for WatchDog support on u-boot not on > Linux. > If he is asking on Linux then it's there and we have tested it. Correct. It works fine in linux. I've even tried to port linux code that

Re: [U-Boot] CONFIG_WATCHDOG on MPC85XX and QorIQ P1/P2

2011-03-02 Thread Albert ARIBAUD
Hi Felix, Le 03/03/2011 08:41, Felix Radensky a écrit : >> Just clarification, felix is asking for WatchDog support on u-boot not on >> Linux. >> If he is asking on Linux then it's there and we have tested it. > > Correct. It works fine in linux. I've even tried to port linux code that > enables