Re: [U-Boot] [PATCH] Origen: Correct equation to calculate PLL output frequency

2013-07-01 Thread Minkyu Kang
On 01/07/13 17:41, Rajeshwari Birje wrote: > Hi Minkyu Kang, > > As per the user manual I have for EXYNOS5 it is > FOUT = MDIV * FIN / (PDIV * 2^SDIV) What is your version of manual? If possible, could you please send it to me? > > Regards, > Rajeshwari Shinde. > > On Mon, Jul 1, 2013 at 1:56

[U-Boot] [PATCH] cosmetic: README.SPL: fix a typo

2013-07-01 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- doc/README.SPL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.SPL b/doc/README.SPL index 4e1cb28..ac9a213 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -77,7 +77,7 @@ an SPL CPU in boards.cfg as follows: normal_cpu

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-01 Thread Lubomir Popov
Hi Tom, Marek, On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: > Hey all, > > I've tagged and pushed v2013.07-rc2. A bit more over the place than I > should have gone, but picked up a lot of things that have been > outstanding for a while. The big thing is a refactor of the boot loop. > Everyt

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Andreas Bießmann
Hi Jeroen, On 01.07.13 22:12, Jeroen Hofstee wrote: > Hello Andreas, > > On 07/01/2013 08:45 PM, Jeroen Hofstee wrote: >> Hello Andreas, >> >> On 06/30/2013 01:15 PM, Andreas Bießmann wrote: >>> BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a >>> simple >>> define for them.

[U-Boot] [PATCH v2 3/3] Makefile: fix readelf usage

2013-07-01 Thread Andreas Bießmann
Some OS (like OS X) do not provide a generic readelf. We should enforce to use the toochain provided readelf instead, to do so use $(CROSS_COMPILE)readelf. Signed-off-by: Andreas Bießmann Tested-by: Lubomir Popov --- Changes in v2: None Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[U-Boot] [PATCH v2 2/3] tools/proftool: remove REG_NOERROR

2013-07-01 Thread Andreas Bießmann
Remove non portable usage of REG_NOERROR. BSD (like OS X) variants of regex.h do not declare REG_NOERROR, even GNU regex(3) do mention REG_NOERROR, just remove it. Signed-off-by: Andreas Bießmann --- Changes in v2: - remove REG_NOERROR instead of defining it conditionally (as Jeroen suggested

[U-Boot] [PATCH v2 1/3] lib/rsa/rsa-sig.c: compile on OS X

2013-07-01 Thread Andreas Bießmann
Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it. This also fixes an compile error on OS X: ---8<--- u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory --->8--- Signed-off-by: Andreas Bießmann Tested-by: Lubomir Popov --- Changes in v2: None l

Re: [U-Boot] [PATCH v3 1/2] exynos5250: Add arndale board support

2013-07-01 Thread Minkyu Kang
Dear Inderpal Singh, On 02/07/13 13:41, Inderpal Singh wrote: > Arndale board is based on samsung's exynos5250 soc. > > Signed-off-by: Inderpal Singh > --- > MAINTAINERS |4 + > board/samsung/arndale/Makefile | 58 +++ > board/samsung/arndale/arndale

[U-Boot] [PATCH v2 0/3] Adopt u-boot build to OS X

2013-07-01 Thread Andreas Bießmann
Latest changes to mkimage, Makefile and added proftool broke compilation on OS X. This series makes u-boot build clean again with some little adoptions. Patch 'lib/rsa/rsa-sig.c: compile on OS X' supersedes http://patchwork.ozlabs.org/patch/255283/ Changes in v2: - remove REG_NOERROR instead of

Re: [U-Boot] [PATCH v3 0/2] Add Arndale board support

2013-07-01 Thread Chander Kashyap
Dear Inder, On 2 July 2013 10:11, Inderpal Singh wrote: > The Arndale board is based on samsung's exynos5250 SOC. > For spl generation, it depends on the patch at [5]. > > First patch provides the basic arndale board support. The second patch > adds the MMC support. > > Changes in v2: > -

Re: [U-Boot] Pull request: u-boot-video/master

2013-07-01 Thread Anatolij Gustschin
On Mon, 1 Jul 2013 23:11:07 -0300 Otavio Salvador wrote: ... > You didn' t put the splashpos fix. I would prefer to wait a few days, so other people will have a chance to review and comment. Also I didn't test the splashpos fix yet, it was only compile-tested. Thanks, Anatolij _

Re: [U-Boot] [PATCH 4/4 V2] EXYNOS: Move files from board/samsung to arch/arm.

2013-07-01 Thread Minkyu Kang
Dear Rajeshwari, On 01/07/13 19:02, Rajeshwari Shinde wrote: > This patch performs the following: > > 1) Convert the assembly code for memory and clock initialization to C code. > 2) Move the memory and clock init codes from board/samsung to arch/arm > 3) Creat a common lowlevel_init file across

Re: [U-Boot] Reminder mail [Fwd: Kernel bring Up fail in NOR boot for custom board]]

2013-07-01 Thread Shrimanth
Dear Marek Vasut, The same kernel image works fine in P1020 RDB board with NOR flash boot. When the same kernel image is used for our custom board with P1012 processor we are getting kernel panic. We are also suspecting on memory, How do we trace it ? Note: The same kernel image is used for our

Re: [U-Boot] [PATCH v4 2/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
Dear Wolfgang, On Tue, 2013-07-02 at 06:24 +0200, ZY - wd wrote: > Dear Chin Liang See, > > In message <1372719771-4329-1-git-send-email-cl...@altera.com> you wrote: > > Adding the generated pin mux > > configuration by Preloader Generator tool > > In addition to the license issue, please chose

[U-Boot] [PATCH v3 0/2] Add Arndale board support

2013-07-01 Thread Inderpal Singh
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5]. First patch provides the basic arndale board support. The second patch adds the MMC support. Changes in v2: - split from earlier patchset at [3] as per Minkyu - Removed chec

[U-Boot] [PATCH v3 2/2] exynos5250: arndale: Add mmc support

2013-07-01 Thread Inderpal Singh
This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh --- board/samsung/arndale/arndale.c | 14 ++ board/samsung/dts/exynos5250-arndale.dts | 18 ++ 2 files changed, 32 insertions(+) diff --git a/board/samsung/arndale/arndale.c

[U-Boot] [PATCH] CONFIG: EXYNOS5: Replace misnomer SMDK5250 with EXYNOS5250 and update Makefiles

2013-07-01 Thread Inderpal Singh
Update the Makefiles so that all boards can use the same spl generation tool Signed-off-by: Inderpal Singh --- This is needed for the Arndale board support patch just sent after sending this one. Makefile|2 +- include/configs/exynos5250-dt.h |2 +- tools/Makefil

Re: [U-Boot] [PATCH v4 2/2] socfpga: Adding System Manager driver

2013-07-01 Thread Wolfgang Denk
Dear Chin Liang See, In message <1372719771-4329-1-git-send-email-cl...@altera.com> you wrote: > Adding the generated pin mux > configuration by Preloader Generator tool In addition to the license issue, please chose a descriptive subject. It is not really helpful when all patches of a series hav

Re: [U-Boot] [PATCH v4 1/2] socfpga: Adding System Manager driver

2013-07-01 Thread Wolfgang Denk
Dear Chin Liang See, In message <1372719578-4247-1-git-send-email-cl...@altera.com> you wrote: > Adding System Manager driver which will configure the > pin mux for real hardware Cyclone V development kit > (not Virtual Platform) License clash: > +/* > + * Copyright Altera Corporation (C) 2013.

Re: [U-Boot] [PATCH v3 1/1] socfpga: Creating driver for Reset Manager

2013-07-01 Thread Wolfgang Denk
Dear Chin Liang See, In message <1372718641-4066-1-git-send-email-cl...@altera.com> you wrote: > Consolidating reset code into reset_manager.c. > Also separating reset configuration for virtual target > and real hardware Cyclone V development kit ... > --- /dev/null > +++ b/arch/arm/cpu/armv7/socf

[U-Boot] [PATCH 2/2][v2] board/bsc9132qds: Configure DSP DDR controller

2013-07-01 Thread Priyanka Jain
BSC9132 SoC has two separate DDR controllers for PowerPC side and DSP side DDR. They are mapped to PowerPC and DSP CCSR space respectively. BSC9132QDS has two on-board MC34716EP DDR3 memory one connected to PowerPC and other to DSP side controller. Configure DSP DDR controller similar to PowerPC s

[U-Boot] [PATCH 1/2][v2] board/bsc9132qds: Add DSP side tlb and laws

2013-07-01 Thread Priyanka Jain
BSC9132QDS is a Freescale Reference Design Board for BSC9132 SoC which is a integrated device that contains two powerpc e500v2 cores and two DSP starcores. To support DSP starcore -Creating LAW and TLB for DSP-CCSR space. -Creating LAW for DSP-core subsystem M2 and M3 memory -Creating LAW for 1GB

Re: [U-Boot] [PATCH v2] net: Use ARRAY_SIZE at appropriate places

2013-07-01 Thread Axel Lin
>>> diff --git a/drivers/net/npe/IxEthDBFeatures.c >>> b/drivers/net/npe/IxEthDBFeatures.c >>> index c5b680a..d43efaa 100644 >>> --- a/drivers/net/npe/IxEthDBFeatures.c >>> +++ b/drivers/net/npe/IxEthDBFeatures.c >>> @@ -143,22 +143,22 @@ void ixEthDBFeatureCapabilityScan(void) >>>

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-07-01 Thread Simon Glass
Hi, On Mon, Jul 1, 2013 at 7:28 PM, Inderpal Singh wrote: > Hi Simon, > > > On 28 June 2013 21:20, Simon Glass wrote: > >> Hi Inderpal, >> >> On Thu, Jun 20, 2013 at 12:10 AM, Inderpal Singh < >> inderpal.si...@linaro.org> wrote: >> >>> Hi Simon, >>> >>> Thanks for review. >>> >>> >>> On 11 June

[U-Boot] test HYP mode in arch/arm/cpu/armv7/start.S

2013-07-01 Thread TigerLiu
Hi, experts: I found it would determine whether CPU was in HYP mode or not before switching to SVC mode in reset handler. So, why need to test HYP mode? So, which case could cause CPU in HYP mode during U-Boot boot stage? Best wishes, ___ U-Boot mailing

Re: [U-Boot] Pull request: u-boot-video/master

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 7:13 PM, Anatolij Gustschin wrote: > Hello Tom, > > The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: > > Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-video.git master

[U-Boot] [PATCH v4 1/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen --- Changes for v2: - Fixed the word wrap issue within

[U-Boot] [PATCH v4 2/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3: - Fixed the long subject of the

[U-Boot] [PATCH v3 1/1] socfpga: Creating driver for Reset Manager

2013-07-01 Thread Chin Liang See
Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen --- Changes for v2: - Fixed the long subject of the patch - C

Re: [U-Boot] [PATCH] bmp: Respect "splashpos" if it is defined

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 7:01 PM, Anatolij Gustschin wrote: > Hello Otavio, > > Sorry for delay. > > On Thu, 6 Jun 2013 14:57:23 -0300 > Otavio Salvador wrote: > ... >> +#ifdef CONFIG_SPLASH_SCREEN_ALIGN >> + s = getenv("splashpos"); >> + if (s != NULL) { >> + if (s[0] == 'm')

Re: [U-Boot] [PATCH] video: consolidate splash screen alignment code

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 7:04 PM, Anatolij Gustschin wrote: > Code for checking "splashpos" environment variable is > duplicated in drivers, move it to the common function. > Call this function also in the bmp display command to > consider "splashpos" settings. > > Signed-off-by: Anatolij Gustschin

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Prafulla Wadaskar
> -Original Message- > From: Frédéric Leroy [mailto:fr...@starox.org] > Sent: 01 July 2013 18:28 > To: u-boot@lists.denx.de > Cc: Wolfgang Denk; Prafulla Wadaskar; Albert ARIBAUD; > Simon Guinot > Subject: [PATCH v3 0/3] arm: add support for LaCie > CloudBox > > This series adds support fo

[U-Boot] Pull request: u-boot-video/master

2013-07-01 Thread Anatolij Gustschin
Hello Tom, The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 327598945b1365ca6ba3fe96c9bd45320999

[U-Boot] [PATCH] video: consolidate splash screen alignment code

2013-07-01 Thread Anatolij Gustschin
Code for checking "splashpos" environment variable is duplicated in drivers, move it to the common function. Call this function also in the bmp display command to consider "splashpos" settings. Signed-off-by: Anatolij Gustschin --- common/cmd_bmp.c|3 +++ common/lcd.c

Re: [U-Boot] [PATCH] bmp: Respect "splashpos" if it is defined

2013-07-01 Thread Anatolij Gustschin
Hello Otavio, Sorry for delay. On Thu, 6 Jun 2013 14:57:23 -0300 Otavio Salvador wrote: ... > +#ifdef CONFIG_SPLASH_SCREEN_ALIGN > + s = getenv("splashpos"); > + if (s != NULL) { > + if (s[0] == 'm') > + x = BMP_ALIGN_CENTER; > + else > +

[U-Boot] [PATCH v4 1/1] socfpga: Adding configuration for development kit

2013-07-01 Thread Chin Liang See
socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3: - Fixed the long subject of the patch Changes for v4: - Added change log f

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-01 Thread Robert Nelson
On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: > Hey all, > > I've tagged and pushed v2013.07-rc2. A bit more over the place than I > should have gone, but picked up a lot of things that have been > outstanding for a while. The big thing is a refactor of the boot loop. > Everything should be w

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Jeroen Hofstee
Hello Andreas, On 07/01/2013 08:45 PM, Jeroen Hofstee wrote: Hello Andreas, On 06/30/2013 01:15 PM, Andreas Bießmann wrote: BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple define for them. Signed-off-by: Andreas Bießmann --- +#ifndef REG_NOERROR +/* BSD regex.

Re: [U-Boot] [PATCH 0/3 v2] video: lcd: splash screen prepare changes

2013-07-01 Thread Anatolij Gustschin
Hello Robert, On Wed, 26 Jun 2013 16:00:20 -0700 Robert Winkler wrote: > Hello all, > > I haven't heard from anyone but Igor. Does that mean it looks good? Sorry for delay, I've applied this series now. Thanks! Anatolij ___ U-Boot mailing list U-Bo

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Wolfgang Denk
Dear Mike Dunn, In message <51d1c455.9010...@newsguy.com> you wrote: > > But there's a good motivation for wanting to turn off optimization. I disagree here. If you are hunting down a problem, you want to be as close at the original code as possible. Disabling optimization is such a dramatic ch

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread Wolfgang Denk
Dear krishna dwivedi, In message you wrote: > > Thanks for yours valuable time and support.U-boot got compiled for > qemu-mips board. You really should read up on Netiquette, like [1] in general, and especially [2] [1] http://www.catb.org/~esr/faqs/smart-questions.html [2] http://www.catb.org/

[U-Boot] [PATCH 3/3] btrfs: removed btrfs_mangle_name

2013-07-01 Thread Stefan Agner
The function btrfs_mangle_name limited path lenght to 20 characters. Since the command parsing already checks spaces, the function is not needed at all. --- fs/btrfs/btrfs.c | 44 +--- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/fs/btrfs

[U-Boot] [PATCH 0/3] btrfs fixes

2013-07-01 Thread Stefan Agner
Hi, My goal was booting from an ArchLinux btrfs filesystem on a BeagleBone Black (am335x_evm). Therefor I patched U-Boot 2013.07-rc1 with the patches sent in May by Adnan Ali (btrfs v12). After some tweaks and help from the IRC channel I could successfully load the Kernel and the Device Tree

[U-Boot] [PATCH 1/3] btrfs: use PLATFORM_NO_UNALIGNED to allow unaligned access

2013-07-01 Thread Stefan Agner
Reading the super block leads to data abort crashes. Enabling the no unaligned option works around this. Since the format of the super block is fixed by the on-disk format unaligned access might by necessary in order to have btrfs support at all. Signed-off-by: Stefan Agner --- fs/btrfs/Make

[U-Boot] [PATCH 2/3] btrfs: Fix crash while path parsing

2013-07-01 Thread Stefan Agner
When parsing a path with a leading slash, the root inode was freed which lead to a crash. Path parsing is now improved and allows leading slashs like other filesystem commands (e.g. ext4load). Signed-off-by: Stefan Agner --- fs/btrfs/btrfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 dele

Re: [U-Boot] Pull request: nand flash

2013-07-01 Thread Tom Rini
On Fri, Jun 28, 2013 at 11:46:37AM -0500, Scott Wood wrote: > The following changes since commit 2f998071254d566c71c34ef013aef1d9d0ec0fa3: > > image: Use ENOENT instead of ENOMEDIUM for better compatibility (2013-06-17 > 09:56:42 -0400) > > are available in the git repository at: > > git:/

Re: [U-Boot] [PATCH 3/3] Makefile: fix readelf usage

2013-07-01 Thread Lubomir Popov
> Some OS (like OS X) do not provide a generic readelf. We should enforce to use > the toochain provided readelf instead, to do so use $(CROSS_COMPILE)readelf. > > Signed-off-by: Andreas Bießmann > --- Tested-by: Lubomir Popov ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Lubomir Popov
> BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple > define for them. > > Signed-off-by: Andreas Bießmann > --- Tested-by: Lubomir Popov ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-

Re: [U-Boot] [PATCH 1/3] lib/rsa/rsa-sig.c: compile on OS X

2013-07-01 Thread Lubomir Popov
Hi Andreas, > Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it. > This also fixes an compile error on OS X: > > ---8<--- > u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory > --->8--- > > Signed-off-by: Andreas Bießmann > --- Entire series Test

Re: [U-Boot] [PATCH V4] lcd: align bmp header when uncopmressing image

2013-07-01 Thread Anatolij Gustschin
On Wed, 05 Jun 2013 08:14:30 +0200 Piotr Wilczek wrote: > When compressed image is loaded, it must be decompressed > to an aligned address + 2 to avoid unaligned access exception > on some ARM platforms. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Anatolij Gustschin

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Jeroen Hofstee
Hello Andreas, On 06/30/2013 01:15 PM, Andreas Bießmann wrote: BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple define for them. Signed-off-by: Andreas Bießmann --- +#ifndef REG_NOERROR +/* BSD regex.h do not expose REG_NOERROR */ +# define REG_NOERROR 0 +#endif

[U-Boot] [PATCH] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-01 Thread dinguyen
From: Dinh Nguyen Because the SOCFPGA platform will include support for Cyclone V and Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to be more generic. Signed-off-by: Dinh Nguyen Cc: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek --- .../altera/{socfpga_cyclone5 => socf

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Anatolij Gustschin
On Thu, 13 Jun 2013 17:13:11 -0600 Stephen Warren wrote: > From: Stephen Warren > > Some ARM compilers may emit code that makes unaligned accesses when > faced with constructs such as: > > const char format[] = "r5g6b5"; > > Make this data static since it doesn't chagne; the compiler will sim

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Simon Guinot
On Mon, Jul 01, 2013 at 02:57:43PM +0200, Frédéric Leroy wrote: > This series adds support for the LaCie Cloudbox v2 device. > > Changes in v3: > > - prepare other LaCie boards for led patch > - fix Machine ID > - use one commit for adding device > > Changes in v2: > > - sort unsorted #ifdef li

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Anatolij Gustschin
On Mon, 1 Jul 2013 12:35:46 -0400 Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/01/2013 12:30 PM, Stephen Warren wrote: > > On 06/13/2013 05:13 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> Some ARM compilers may emit code that makes unaligned acce

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Mike Dunn
On 07/01/2013 04:37 AM, Wolfgang Denk wrote: > Dear tiger...@viatech.com.cn, > > please do not top post / full quote. > > In message > you wrote: >> >> During debug u-boot with JTAG tools, maybe turning off optimizations was >> recommended. > > Many people recommend many things. Even strange

Re: [U-Boot] [PATCH] drivers:video:s6e8ax0: change data_to_send array to static

2013-07-01 Thread Anatolij Gustschin
On Fri, 24 May 2013 09:43:46 +0200 Piotr Wilczek wrote: > This patch change 'data_to_send' array to static to avoid > unaligned access exeption on some platforms (ex Trats2). > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > CC: Anatolij Gustschin > --- > d

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-07-01 Thread Scott Wood
On 07/01/2013 03:56:23 AM, Prabhakar Kushwaha wrote: On 06/28/2013 09:49 PM, Scott Wood wrote: On 06/28/2013 04:05:43 AM, Prabhakar Kushwaha wrote: On 06/27/2013 12:36 AM, Scott Wood wrote: On 06/25/2013 11:09:04 PM, Prabhakar Kushwaha wrote: then it should be like this. slightly complex. #if

Re: [U-Boot] [PATCH v2] net: Use ARRAY_SIZE at appropriate places

2013-07-01 Thread Jagan Teki
On Mon, Jul 1, 2013 at 10:26 PM, Jagan Teki wrote: > Hi Axel, > > Thanks for your v2. > > On Sun, Jun 30, 2013 at 9:02 AM, Axel Lin wrote: >> Use ARRAY_SIZE instead of having similar implementation in each drivers. >> >> Signed-off-by: Axel Lin >> Cc: Albert Aribaud >> Cc: Ben Warren >> Cc: Je

Re: [U-Boot] [PATCH 6/7 v6] nand: tpl : introduce the TPL based on the SPL

2013-07-01 Thread Scott Wood
On 07/01/2013 03:48:16 AM, Zhang Ying-B40530 wrote: I haven't subscribe the mail list and I didn't find the patch "creates a separate autoconf.mk". Can you tell me where I can find it? Thanks. Search in http://patchwork.ozlabs.org/project/uboot/list/ -Scott

Re: [U-Boot] [PATCH v2] net: Use ARRAY_SIZE at appropriate places

2013-07-01 Thread Jagan Teki
Hi Axel, Thanks for your v2. On Sun, Jun 30, 2013 at 9:02 AM, Axel Lin wrote: > Use ARRAY_SIZE instead of having similar implementation in each drivers. > > Signed-off-by: Axel Lin > Cc: Albert Aribaud > Cc: Ben Warren > Cc: Jean-Christophe PLAGNIOL-VILLARD > Cc: Joe Hershberger > Cc: Marek

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-01 Thread Stephen Warren
On 07/01/2013 07:49 AM, Vivek Gautam wrote: > Hi Marek, > > > On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: >> Dear Stephen Warren, >> >>> (Sorry to those on to/cc; I'm resending this so it goes to the correct >>> mailing list) > > Dear Stephen, > sorry for the delay in responding to thi

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/01/2013 12:30 PM, Stephen Warren wrote: > On 06/13/2013 05:13 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> Some ARM compilers may emit code that makes unaligned accesses >> when faced with constructs such as: >> >> const char format

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Stephen Warren
On 06/13/2013 05:13 PM, Stephen Warren wrote: > From: Stephen Warren > > Some ARM compilers may emit code that makes unaligned accesses when > faced with constructs such as: > > const char format[] = "r5g6b5"; > > Make this data static since it doesn't chagne; the compiler will simply > place i

[U-Boot] [PATCH v3 2/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
socfpga: Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek --- board/altera/socfpga_cyclone5/pinmux_config.c | 214 + board/altera/socfpga_cyclone5/pinmux_config.h | 54 +++ 2 files chang

[U-Boot] [PATCH v3 1/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek --- arch/arm/cpu/armv7/socfpga/Makefile|2 +- arch/arm/cpu/armv7/socfpga/spl.c

[U-Boot] [PATCH v2 1/1] socfpga: Creating driver for Reset Manager

2013-07-01 Thread Chin Liang See
socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- arch/arm/cpu/armv7/socfpga/Makefile |2 +- arch/arm/cpu/armv7/socfpga/misc.c

[U-Boot] [PATCH v3 1/1] socfpga: Adding configuration for development kit

2013-07-01 Thread Chin Liang See
socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- include/configs/socfpga_cyclone5.h | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/include/configs/socf

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-01 Thread Vivek Gautam
Hi Marek, On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> (Sorry to those on to/cc; I'm resending this so it goes to the correct >> mailing list) Dear Stephen, sorry for the delay in responding to this. >> >> Commit 020bbcb "usb: hub: Power-cycle on root-hub po

Re: [U-Boot] [PATCH v2 1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-07-01 Thread Chin Liang See
Hi Wolfgang, On Sat, 2013-06-29 at 00:47 +0200, ZY - wd wrote: > Dear Chin Liang See, > > In message <1372451028.11240.2.ca...@drezykow-virtualbox.altera.com> you > wrote: > > socfpga: Separating the configuration file for Virtual > > Target and real hardware Cyclone V development kit > > Plea

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-07-01 Thread Chin Liang See
Hi Pavel, On Mon, 2013-07-01 at 12:46 +0200, ZY - pavel wrote: > Hi! > > > > > @@ -21,6 +21,7 @@ > > > > void reset_cpu(ulong addr); > > > > void reset_deassert_peripherals_handoff(void); > > > > > > > > +#if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) > > > > struct socfpga_reset_manager { > > >

Re: [U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Chin Liang See
Hi Pavel, On Mon, 2013-07-01 at 12:42 +0200, ZY - pavel wrote: > On Fri 2013-06-28 16:20:48, Chin Liang See wrote: > > socfpga: Adding System Manager driver which will > > configure the pin mux for real hardware Cyclone V > > development kit (not Virtual Platform) > > > > Signed-off-by: Chin L

Re: [U-Boot] [PATCH 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Chin Liang See
Hi Pavel, On Mon, 2013-07-01 at 12:39 +0200, ZY - pavel wrote: > Hi! > > > > > --- /dev/null > > > > +++ b/board/altera/socfpga_cyclone5/pinmux_config.c > > > > @@ -0,0 +1,213 @@ > > > > + > > > > +#include "pinmux_config.h" > > > > + > > > > +/* pin mux configuration data */ > > > > +unsigned lo

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread krishna dwivedi
Hi Wolfgang, Thanks for yours valuable time and support.U-boot got compiled for qemu-mips board. Regards, Krishna On Mon, Jul 1, 2013 at 5:19 PM, Wolfgang Denk wrote: > Dear krishna dwivedi, > > please stop top posting / full quoting. > > In message agan2ilvqknsojcnchp3qk...@mail.gmail.com>

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 10:30 AM, Tom Rini wrote: > On Mon, Jul 01, 2013 at 10:25:46AM -0300, Otavio Salvador wrote: >> On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini wrote: >> > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: >> > >> >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador >

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Tom Rini
On Mon, Jul 01, 2013 at 10:25:46AM -0300, Otavio Salvador wrote: > On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini wrote: > > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: > > > >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador > >> wrote: > >> > This changes were being done in every

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini wrote: > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: > >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador >> wrote: >> > This changes were being done in every version of U-Boot and it >> > makes sense to try to merge them upstream. >>

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Tom Rini
On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: > On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador > wrote: > > This changes were being done in every version of U-Boot and it > > makes sense to try to merge them upstream. > > > > Please review them and ack/nack them. > > I think t

Re: [U-Boot] Reminder mail [Fwd: Kernel bring Up fail in NOR boot for custom board]]

2013-07-01 Thread Marek Vasut
Dear Shrimanth, > Reminder Mail > > Please reply ASAP. I believe the remarks above won't help you, neither will top-posting. The problem looks to be either DRAM setup being incorrect or kernel problem. > -- Forwarded Message > From: Shrimanth > To: joe.hershber...@ni.com, Marek V

[U-Boot] [PATCH] cmd_bootm.c: Correct check/return for unsupported sub-command

2013-07-01 Thread Tom Rini
With the do_bootm_states re-organization, we have the call to any potential sub-commands in a single spot. If one fails, we can then stop right there and return to the caller. Prior to these calls we have already ensured that ret is zero so we will not be returning this error for some other case.

[U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Frédéric Leroy
This series adds support for the LaCie Cloudbox v2 device. Changes in v3: - prepare other LaCie boards for led patch - fix Machine ID - use one commit for adding device Changes in v2: - sort unsorted #ifdef list in lacie_kw.h - add entry to MAINTAINERS - remove unused GPIO definitions - remove

[U-Boot] [PATCH v3 1/3] lacie_kw: sort #ifdef lists by CONFIG_ identifiers

2013-07-01 Thread Frédéric Leroy
Signed-off-by: Frédéric Leroy --- include/configs/lacie_kw.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h index e2b3b21..cac616a 100644 --- a/include/configs/lacie_kw.h +++ b/include/config

[U-Boot] [PATCH v3 2/3] LaCie/common: Uses #defines for ethernet phy leds setup

2013-07-01 Thread Frédéric Leroy
The CloudBox device have a different ethernet phy setup than other ns2 devices. Prepare source to use different init registers Signed-off-by: Frédéric Leroy --- board/LaCie/common/common.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/board/LaCie/common/commo

[U-Boot] [PATCH v3 3/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Frédéric Leroy
The LaCie CloudBox device is a Kirkwood based nas : - SoC: Marvell 88F6702 1000Mhz - SDRAM memory: 256MB DDR2 400Mhz - Gigabit ethernet: PHY Marvell 88E1318 - Flash memory: SPI NOR 512KB (Macronix MX25L4005A) - 1 push button - 1 reset switch - 1 SATA port - 1 LED (bi-color, blue and red) Signed-o

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread Wolfgang Denk
Dear krishna dwivedi, please stop top posting / full quoting. In message you wrote: > > I knew i have to run make qemu_mips_config before make allI am using ELDK > 5.3 toolchain and compiling u-boot recipe came as a part of ELDK..But in > yocto environment,we use bitbake instead of make.I alrea

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, please do not top post / full quote. In message you wrote: > > During debug u-boot with JTAG tools, maybe turning off optimizations was > recommended. Many people recommend many things. Even strange or non-working or incorrect or dangerous ones. Best regards, W

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread Amit Virdi
Krishna, On 7/1/2013 4:15 PM, krishna dwivedi wrote: Hi Wolfgang, Can you please let me know on which mips board you have compiled this u-boot now. Please understand that the u-boot community supports only those platforms whose support has been mainlined. If you are making changes to the u

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread krishna dwivedi
Hi Amit, Sure.But i am trying to compile U-boot for default board qemu-mips without any changes that is supported in boards.cfg. Regards, Krishna On Mon, Jul 1, 2013 at 4:24 PM, Amit Virdi wrote: > Krishna, > > > On 7/1/2013 4:15 PM, krishna dwivedi wrote: > >> Hi Wolfgang, >> >> Can you p

Re: [U-Boot] [RFC] [UBOOT] [PATCH v2 0/4] DWC back port from Linux kernel

2013-07-01 Thread Marek Vasut
Dear Dan Murphy, > This patch series has been generated in an effort to get comments on > the implementation of the dwc code within the uBoot. > > V2 incorporates comments to first port the kernel header backward to uBoot > and then produce the uBoot changes so the uBoot changes are easily > dist

Re: [U-Boot] [RFC] [UBOOT] [PATCH v2 2/4] USB: Adapt the usb-compat.h to uboot and fix compiler errors

2013-07-01 Thread Marek Vasut
Dear Dan Murphy, > Adapt the usb-compat.h to uBoot. > > Use #ifndef __UBOOT__ for code that is not applicable to uBoot. > Use #ifdef __UBOOT__ to add code that is uBoot specific. > > Create linux-compat.h - Linux kernel compatibility definitions that do not > exist in the uBoot. Moved the compa

Re: [U-Boot] [PATCH v2] blackfin: Fix using gd->baudrate before setting its value

2013-07-01 Thread Sonic Zhang
Acked-by: Sonic Zhang On Mon, Jul 1, 2013 at 1:16 PM, Axel Lin wrote: > Current code uses gd->baudrate before setting its value. > Besides, I got below build warning which is introduced by > commit ddb5c5be "blackfin: add baudrate to bdinfo". > > board.c:235:3: warning: passing argument 1 of 'sim

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-07-01 Thread Pavel Machek
Hi! > > > @@ -21,6 +21,7 @@ > > > void reset_cpu(ulong addr); > > > void reset_deassert_peripherals_handoff(void); > > > > > > +#if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) > > > struct socfpga_reset_manager { > > > u32padding1; > > > u32ctrl; > > > @@ -31,7 +32,23 @@ struct so

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread krishna dwivedi
Hi Wolfgang, Can you please let me know on which mips board you have compiled this u-boot now. Regards, Krishna On Mon, Jul 1, 2013 at 3:28 PM, Wolfgang Denk wrote: > Dear krishna dwivedi, > > please don't top post / full quote!! > > In message m1evpjpkmmib0yvnmvqjnca5wznv...@mail.gmail.com>

Re: [U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Pavel Machek
On Fri 2013-06-28 16:20:48, Chin Liang See wrote: > socfpga: Adding System Manager driver which will > configure the pin mux for real hardware Cyclone V > development kit (not Virtual Platform) > > Signed-off-by: Chin Liang See > +DECLARE_GLOBAL_DATA_PTR; > + > +/* > + * Configure all the pi

Re: [U-Boot] [PATCH 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Pavel Machek
Hi! > > > --- /dev/null > > > +++ b/board/altera/socfpga_cyclone5/pinmux_config.c > > > @@ -0,0 +1,213 @@ > > > + > > > +#include "pinmux_config.h" > > > + > > > +/* pin mux configuration data */ > > > +unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = { > > > + 0, /* EMACIO0 - Unuse

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-07-01 Thread Inderpal Singh
Hi Simon, On 28 June 2013 21:20, Simon Glass wrote: > Hi Inderpal, > > On Thu, Jun 20, 2013 at 12:10 AM, Inderpal Singh < > inderpal.si...@linaro.org> wrote: > >> Hi Simon, >> >> Thanks for review. >> >> >> On 11 June 2013 19:57, Simon Glass wrote: >> >>> Hi, >>> >>> On Fri, Jun 7, 2013 at 4:5

Re: [U-Boot] [PATCH 0/4 V2] EXYNOS: Convert Assembly code to c and make it common

2013-07-01 Thread Rajeshwari Birje
Hi Minkyu Kang, Can we please get this merged soon after your review as it is effort to rebase and test this each time. On Mon, Jul 1, 2013 at 3:32 PM, Rajeshwari Shinde wrote: > Convert the assembly code in board/samsung to c and move the same to arch/arm. > lds file made common across SMDKV310

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread krishna dwivedi
Hi Wolfgang, I knew i have to run make qemu_mips_config before make allI am using ELDK 5.3 toolchain and compiling u-boot recipe came as a part of ELDK..But in yocto environment,we use bitbake instead of make.I already tried make: [unknown@h229 build]$ make qemu_mips_config make: *** No rule to ma

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread TigerLiu
Hi, Denk: During debug u-boot with JTAG tools, maybe turning off optimizations was recommended. Best wishes, -邮件原件- 发件人: Wolfgang Denk [mailto:w...@denx.de] 发送时间: 2013年7月1日 18:03 收件人: Tiger Liu 抄送: u-boot@lists.denx.de 主题: Re: [U-Boot] compiled failed when turned off gcc optimazition De

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > I tried to turn off gcc optimazition by changing config.mk file: > OPTFLAGS= -O0 #-fomit-frame-pointer > > But failed to compile u-boot, it tipped: Don't do it, then. Q: why would you want to switch off optimization? That's almost alway

  1   2   >