Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-12 Thread Wolfgang Denk
Dear Heiko, In message <50a1e780.4090...@denx.de> you wrote: > > > Equally, I think this model can work very well for manually coded board > > files; the board file can directly instantiate all top-level I2C > > adapters, and pass information to the I2C driver for those adapters > > indicating wh

Re: [U-Boot] [PATCH 1/7] i2c: Use __weak instead of __attribute__((weak, alias))

2012-11-12 Thread Wolfgang Denk
Dear Marek Vasut, In message <1352766871-892-1-git-send-email-ma...@denx.de> you wrote: > Use __weak from linux/compiler.h instead of __attribute__((weak, alias)) > to define overridable function. This patch is intended as a cleanup patch > to bring some consistency into the code. > > Signed-off-

Re: [U-Boot] common/xyzmodem.c, ymodem, slow behavior receiving bytes

2012-11-12 Thread Wolfgang Denk
Dear Angelo Dureghello, please don't top-post / full quote. In message <20121113001651.GA21177@angel3> you wrote: > > seems that mcf5307, working at 90Mhz, is not fast enough when "-Os -g" > compile options are set. > > I changed for test config.mk from > > DBGFLAGS= -g # -DDEBUG > OPTFLAGS=

Re: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.

2012-11-12 Thread Daniel Stodden
On Sat, 2012-11-10 at 09:04 -0500, Sam Bulka wrote: > I understand the advantage of the tool when installed on a PC. But not > the advantage of adding it to Uboot, since the tool is needed when > Uboot is broken and doesn't work anymore. How would you use this tool > from within Uboot, if you can't

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-12 Thread Andreas Puls
Dear Marek, > Betreff: Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue > Dear Andreas Puls, > > you have much better chance of getting a proper reply if you Cc > custodian/maintainer (see MAINTAINERS) file. Im sorry, will do it next time. Thnaks you for the hint. > > [...] > > 1.

Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-12 Thread Heiko Schocher
Hello Stephen, On 08.11.2012 18:05, Stephen Warren wrote: On 11/07/2012 11:47 PM, Heiko Schocher wrote: On 01.11.2012 18:03, Stephen Warren wrote: ... I'd suggest having a CONFIG_SYS_I2C_DRIVERS variable at most, and each driver registers an arbitrary number of adapters and/or buses during it

Re: [U-Boot] ping failed; host 192.168.1.101 is not alive

2012-11-12 Thread akdas75
Hi Anatolij and Wolfgang Denk I will submit the patches soon. I am reading the links to submit patches. The OMAP3 SPI patch is required for proper functioning of that subsytem. I studied the linux driver and the TRM to arrive at this changes. I wonder how these changes were not incorporated by

Re: [U-Boot] [PATCH v2 0/2] Factorize ARM startup code as mush as possible.

2012-11-12 Thread Sughosh Ganu
hi Albert, On Sat, Nov 10, 2012 at 8:00 PM, Albert ARIBAUD wrote: > Hi Sughosh, > > On Thu, 8 Nov 2012 19:50:28 +0530, Sughosh Ganu > wrote: > > > hi Albert, > > > > On Mon Nov 05, 2012 at 01:09:25PM +0530, Sughosh Ganu wrote: > > > On Sun Nov 04, 2012 at 10:38:32AM -0700, Tom Rini wrote: > > >

Re: [U-Boot] U-Boot NAND-Access

2012-11-12 Thread Scott Wood
On 11/08/2012 09:31:10 AM, Peter Niklas wrote: Hello, We are using a Zynq SoC on a custom Board. We are trying to use a NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot Loader, U-Boot, Kernel We are having trouble to use the NAND-Flash in U-Boot. Currently we are using

Re: [U-Boot] [PATCH 1/2] libfdt: Add support for appending the values to a existing property

2012-11-12 Thread Jerry Van Baren
On 11/08/2012 08:41 PM, Kim Phillips wrote: > On Sat, 15 Sep 2012 10:36:28 -0400 > Jerry Van Baren wrote: > >> On 08/27/2012 08:38 PM, Kim Phillips wrote: >>> From: Minghuan Lian >>> >>> Some properties may contain multiple values, these values may need >>> to be added to the property respective

[U-Boot] [PATCH v2] ARM: at91 series: increase size for u-boot and change bootargs

2012-11-12 Thread Bo Shen
As to more features are added into the u-boot, which cause the u-boot size larger than 0x4 (256KiB), so increase the size for u-boot through move offset of the u-boot environment. Or else, when execute saveenv command, which will erase the end of the u-boot causing it can not boot up again. Al

Re: [U-Boot] common/xyzmodem.c, ymodem, slow behavior receiving bytes

2012-11-12 Thread Marek Vasut
Dear Angelo Dureghello, > Hi all, > > seems that mcf5307, working at 90Mhz, is not fast enough when "-Os -g" > compile options are set. > > I changed for test config.mk from > > DBGFLAGS= -g # -DDEBUG > OPTFLAGS= -Os #-fomit-frame-pointer > > into > > DBGFLAGS= #-g # -DDEBUG > OPTFLAGS= -O2 #

Re: [U-Boot] Want to burn a u-boot to a customized board

2012-11-12 Thread woody
Angelo, Many thanks! Looking through the include/configs/mdk2410.h gave me many hints. I will start from here. -woody On 11/13/2012 8:33 AM, Angelo Dureghello wrote: Hi Narke, every board has a specific include/configs/xxyyzz.h configuration file, based on the board-specific memory map (w

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-12 Thread Marek Vasut
Dear Andreas Puls, > Hello Rommel and Vasily, > > i got it solved :) Thanks you both for the tips. > I saw that the latest u-boot.bin is about 120kb bigger then the "old - > working" u-boot.bin > > Copied the uImage to next "higher sector" and its working fine. > > The Toradex wiki said copy uI

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-12 Thread Marek Vasut
Dear Andreas Puls, you have much better chance of getting a proper reply if you Cc custodian/maintainer (see MAINTAINERS) file. > Hello everyone, > > > i have a problem with the latest stable U-Boot 2012.10 and a Toradex > Colibri PXA270 V2.4a Board and a upating the kernel. > > The problem a

[U-Boot] [PATCH 4/7] i2c: mxs: Abstract out the MXS I2C speed setup

2012-11-12 Thread Marek Vasut
This patch pulls out the I2C speed setup from the i2c_init() call and implements the bus configuration lookup table with register values that needs to be programmed into the I2C IP to run at particular speed. This patch is a first step towards implementing run-time I2C bus speed configuration for

[U-Boot] [PATCH 7/7] i2c: mxs: Fix TIMING2 register value

2012-11-12 Thread Marek Vasut
According to FSL, the value in the TIMING2 register shall be 0x00300030 instead of what's written in the datasheet. This new value correlates with older STMP36xx datasheet. Issues were detected in Linux when this register was misconfigured, so write this correct value. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 3/7] i2c: kerneldoc: Add kerneldoc annotations to cmd_i2c.c

2012-11-12 Thread Marek Vasut
Add kerneldoc style documentation into cmd_i2c.c to properly describe all overridable functions and most of the command interface. Signed-off-by: Marek Vasut Cc: Heiko Schocher --- common/cmd_i2c.c | 194 +- 1 file changed, 179 insertions(+),

[U-Boot] [PATCH 5/7] i2c: mxs: Implement i2c_get/set_bus_speed()

2012-11-12 Thread Marek Vasut
This patch implements the setup and retrieval functions for the I2C bus speed on the MXS I2C IP. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- drivers/i2c/mxs_i2c.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers

[U-Boot] [PATCH 6/7] i2c: mxs: Use i2c_set_bus_speed() in i2c_init()

2012-11-12 Thread Marek Vasut
Use i2c_set_bus_speed() in i2c_init() within the mxs i2c driver to avoid duplication of code. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- drivers/i2c/mxs_i2c.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/i2c/mxs_i2c.c b/

[U-Boot] [PATCH 2/7] i2c: Staticize local functions in mxc i2c driver

2012-11-12 Thread Marek Vasut
Some functions in the MXC i2c driver were not static, fix this by making them so. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Stefano Babic --- drivers/i2c/mxc_i2c.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c i

[U-Boot] [PATCH 1/7] i2c: Use __weak instead of __attribute__((weak, alias))

2012-11-12 Thread Marek Vasut
Use __weak from linux/compiler.h instead of __attribute__((weak, alias)) to define overridable function. This patch is intended as a cleanup patch to bring some consistency into the code. Signed-off-by: Marek Vasut Cc: Heiko Schocher --- common/cmd_i2c.c | 16 +++- 1 file changed,

Re: [U-Boot] Want to burn a u-boot to a customized board

2012-11-12 Thread Angelo Dureghello
Hi Narke, every board has a specific include/configs/xxyyzz.h configuration file, based on the board-specific memory map (where flash, sdram etc are mapped). So, if you are not lucky enough that other similar boards use same memory map and similar periferic hardware, you have to arrange new board

Re: [U-Boot] common/xyzmodem.c, ymodem, slow behavior receiving bytes

2012-11-12 Thread Angelo Dureghello
Hi all, seems that mcf5307, working at 90Mhz, is not fast enough when "-Os -g" compile options are set. I changed for test config.mk from DBGFLAGS= -g # -DDEBUG OPTFLAGS= -Os #-fomit-frame-pointer into DBGFLAGS= #-g # -DDEBUG OPTFLAGS= -O2 #-Os #-fomit-frame-pointer common compiles now with

Re: [U-Boot] v2013.01-rc1 released

2012-11-12 Thread Michael Walle
Hi Tom, Hi Prafulla, Am Sonntag 04 November 2012, 19:49:59 schrieb Tom Rini: > Hey all, > > With the official closing of the merge window just past us now, I've > tagged v2013.01-rc1. Wow that was fast ;) Prafulla, Tom, can someone of you take care of the following patch: http://patchwork.oz

Re: [U-Boot] [PATCH 5/6] I2C: Driver changes for FDT support

2012-11-12 Thread Simon Glass
Hi Rajeshwari, On Mon, Nov 12, 2012 at 5:03 AM, Rajeshwari Birje wrote: > Hi Simon Glass, > > Thank you for comments. > > On Fri, Nov 9, 2012 at 6:34 AM, Simon Glass wrote: >> Hi Rajeshwari, >> >> On Wed, Nov 7, 2012 at 9:30 PM, Rajeshwari Shinde >> wrote: >>> Functions added to get the I2C bus

Re: [U-Boot] wanting a couple clarifications on the boards.cfg file

2012-11-12 Thread Henrik Nordström
mån 2012-11-12 klockan 12:43 -0500 skrev Robert P. J. Day: > after some playing around, i think i have a pretty good handle on > the structure and usage of the boards.cfg file, except for what are > apparently some oddities (not errors, just redundancies in some > sense). > > first, with lines

Re: [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB

2012-11-12 Thread Dimax
Tested-by: Alex Xol On Tue, Oct 30, 2012 at 1:58 AM, Andreas Bießmann wrote: > This will fix the following error: > > ---8<--- > UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume > 'ubi:root' errno=-12! > --->8--- > > Signed-off-by: Andreas Bießmann > Cc: prafu...@marvell.co

[U-Boot] wanting a couple clarifications on the boards.cfg file

2012-11-12 Thread Robert P. J. Day
after some playing around, i think i have a pretty good handle on the structure and usage of the boards.cfg file, except for what are apparently some oddities (not errors, just redundancies in some sense). first, with lines like this: apx4devkit arm arm926ejs apx4

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-12 Thread Andreas Puls
Hello Rommel and Vasily, i got it solved :) Thanks you both for the tips. I saw that the latest u-boot.bin is about 120kb bigger then the "old - working" u-boot.bin Copied the uImage to next "higher sector" and its working fine. The Toradex wiki said copy uImage to 0xC I copied the uImage no

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-11-12 Thread Vikram Narayanan
On 11/12/2012 10:25 PM, Dimax wrote: I read the page but not sure how exactly to do it. I'm not familiar with git. I have gust used source from ftp. You don't need a git for it. Mail access should be fine. Find the below mail in your inbox and reply to that, http://www.mail-archive.com/u-boot@

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-11-12 Thread Dimax
I read the page but not sure how exactly to do it. I'm not familiar with git. I have gust used source from ftp. On Mon, Nov 12, 2012 at 10:33 AM, Andreas Bießmann wrote: > Dear Dimax, > > On 12.11.2012 06:33, Dimax wrote: >> HI, >> I have managed to build latest image and apply MALLOC patch. > >

Re: [U-Boot] [PATCH] Add README for the "Falcon" mode

2012-11-12 Thread Andreas Bießmann
Hi Stefano, On 12.11.2012 14:02, Stefano Babic wrote: > On 12/11/2012 12:35, Andreas Bießmann wrote: >>> +Function that a board must implement >>> + >>> + >>> +void spl_board_prepare_for_linux(void) : optional >>> + Called from SPL before starting the kerne

Re: [U-Boot] [PATCH 5/6] I2C: Driver changes for FDT support

2012-11-12 Thread Rajeshwari Birje
Hi Simon Glass, Thank you for comments. On Fri, Nov 9, 2012 at 6:34 AM, Simon Glass wrote: > Hi Rajeshwari, > > On Wed, Nov 7, 2012 at 9:30 PM, Rajeshwari Shinde > wrote: >> Functions added to get the I2C bus number and reset I2C bus using >> FDT node. >> >> Signed-off-by: Simon Glass >> Signe

Re: [U-Boot] [PATCH] Add README for the "Falcon" mode

2012-11-12 Thread Stefano Babic
On 12/11/2012 12:35, Andreas Bießmann wrote: Hi Andreas, >> +Falcon mode relies on the SPL framework. In fact, to make booting faster, >> +U-Boot is split into two parts: the SPL (Secondary Program Loader) and >> U-Boot >> +image. In mostly implementations, SPL is used to start U-Boot when booti

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-12 Thread Andreas Puls
Hello Rommel, Am 11.11.2012 23:35, schrieb Rommel G Custodio: > [...] > > As an addition to Andreas' fine comment. > > Are you using the stock configuration file from the latest u-boot? > Yes. Im using the stock configuriont from U-Boot 2012.10 > Also verify your boot/bootm command. My boot co

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-12 Thread Andreas Puls
Hi Vasily, Am 11.11.2012 21:58, schrieb Vasily Khoruzhick: > On Sun, Nov 11, 2012 at 10:10 PM, Andreas Puls wrote: >> Hello everyone, >> >> >> i have a problem with the latest stable U-Boot 2012.10 and a Toradex >> Colibri PXA270 V2.4a Board and a upating the kernel. >> >> The problem apears when

Re: [U-Boot] [PATCH 3/3] fw_env: fix building w/out a config.h

2012-11-12 Thread Peter Korsgaard
> "Mike" == Mike Frysinger writes: Mike> Signed-off-by: Mike Frysinger I haven't tested this, but we have been carrying a similar patch in buildroot for a while. Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH] Add README for the "Falcon" mode

2012-11-12 Thread Andreas Bießmann
Dear Stefano Babic, On 12.11.2012 11:59, Stefano Babic wrote: > Simple howto to add support to a board > for booting the kernel from SPL ("Falcon" mode). > > Signed-off-by: Stefano Babic > CC: Marek Vasut > CC: Otavio Salvador > CC: Tom Rini > --- > doc/README.falcon | 124 > ++

Re: [U-Boot] any value in defining specifically a beagleboard xM config file?

2012-11-12 Thread Robert P. J. Day
On Sun, 11 Nov 2012, Wolfgang Denk wrote: > Dear Robert, > > In message you wrote: > > > > i'll guess this topic has come up before but is there any value > > in defining a config file explicitly for the beagle xM, which > > differs from the beagle classic primarily in that it has no > > onboar

[U-Boot] [PATCH] Add README for the "Falcon" mode

2012-11-12 Thread Stefano Babic
Simple howto to add support to a board for booting the kernel from SPL ("Falcon" mode). Signed-off-by: Stefano Babic CC: Marek Vasut CC: Otavio Salvador CC: Tom Rini --- doc/README.falcon | 124 + 1 file changed, 124 insertions(+) create m

Re: [U-Boot] [PATCH 1/4] arm/km: fix memory settings

2012-11-12 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 12 November 2012 15:57 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Valentin Longchamp > Subject: Re: [PATCH 1/4] arm/km: fix memory settings > > Hi Prafulla, > > On 11/10/2012 08:19 AM, Prafull

Re: [U-Boot] [PATCH 00/46] Enhance spear support

2012-11-12 Thread Vipin Kumar
On 11/11/2012 1:20 PM, Wolfgang Denk wrote: Dear Stefan, In message<509f4194.9070...@denx.de> you wrote: Vipin, please send your public ssh key to Wolfgang so that we can create the new "spear" U-Boot git repository for you. Hello Wolfgang Will this be only SPEAr, or should we expect ot

Re: [U-Boot] [PATCH 1/4] arm/km: fix memory settings

2012-11-12 Thread Holger Brunck
Hi Prafulla, On 11/10/2012 08:19 AM, Prafulla Wadaskar wrote: >> On kmcoge5un we faced some serious problems with the memory during >> temperature tests. Reason was that we overwrite some registers for >> memory settings which have to leave untouched. These where registers >> 0x20148 , 0x2014c and

Re: [U-Boot] [PATCH 00/46] Enhance spear support

2012-11-12 Thread Armando Visconti
On 11/11/2012 06:49 PM, Albert ARIBAUD wrote: Hi Wolfgang, On Sun, 11 Nov 2012 08:50:46 +0100, Wolfgang Denk wrote: Dear Stefan, In message<509f4194.9070...@denx.de> you wrote: Vipin, please send your public ssh key to Wolfgang so that we can create the new "spear" U-Boot git repository f

[U-Boot] [PATCH] omap3_beagle.h: Fix comment for true/false return value.

2012-11-12 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- pretty sure that comment is inaccurate, but i'm willing to be corrected. diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 7a3cc16..741cbd9 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@

[U-Boot] Want to burn a u-boot to a customized board

2012-11-12 Thread narke
Hi, List I've just built an u-boot boot-loader based on the configuration of smdk2410. I built this by using buildroot, without additional customizing and modifications. My problem is, I want to use the boot-loader to boot another s3c2410 board which is a customized board cannot found confi

[U-Boot] [PATCH] ARM: at91sam9263: increase the size for u-boot

2012-11-12 Thread Bo Shen
As to more features are added into the u-boot, which cause the u-boot size larger than 0x4 (256KiB), so increase the size for u-boot through move offset of the u-boot environment. Or else, when execute saveenv command, which will erase the end of the u-boot causing it can not boot up again. Si

[U-Boot] [PATCH] ARM: at91sam9m10/9g10: increase the size for u-boot

2012-11-12 Thread Bo Shen
As to more features are added into the u-boot, which cause the u-boot size larger than 0x4 (256KiB), so increase the size for u-boot through move offset of the u-boot environment. Or else, when execute saveenv command, which will erase the end of the u-boot causing it can not boot up again. Si

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-11-12 Thread Andreas Bießmann
Dear Dimax, On 12.11.2012 06:33, Dimax wrote: > HI, > I have managed to build latest image and apply MALLOC patch. great, congrats. > After that system is fully working: > > UBIFS: recovery needed > UBIFS: recovery deferred > UBIFS: mounted UBI device 0, volume 0, name "rootfs" > UBIFS: mounted

Re: [U-Boot] [PATCH v6 04/26] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-11-12 Thread Lukasz Majewski
Hi Anatolij, Thank you for feedback. > Hi Lukasz, > > On Fri, 09 Nov 2012 08:42:09 +0100 > Lukasz Majewski wrote: > ... > > diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c > > index c41f11d..e8c23f8 100644 > > --- a/board/davedenx/qong/qong.c > > +++ b/board/davedenx/qong/q