Re: [U-Boot] [PATCH 1/2] Tegra20: Move some code files to common directories for upcoming Tegra30 patches.

2012-09-28 Thread Igor Grinberg
On 09/21/12 23:42, Tom Warren wrote: > Move files that are going to be common between T20 and T30 into 'tegra-common' > subdirs in AVP (arm720t), CPU (armv7), and shared (arch/arm/cpu/.) areas. Any > files that are left behind in '/tegra20' will be copied to '/tegra30' subdirs > and modified for th

Re: [U-Boot] [PATCH 2/2] Tegra20: Move some include files to arch-tegra for sharing with Tegra30

2012-09-28 Thread Igor Grinberg
On 09/21/12 23:42, Tom Warren wrote: > The move is pretty straight-forward. ap20.h and tegra20.h were renamed to > ap.h and tegra.h. > Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with > #defines & structs > that will be common between T20 and T30 HW. HW-specific #define

[U-Boot] [PATCH] nand: Extending the nand_ecclayout struct based on Linux 3.5

2012-09-28 Thread Charles Hardin
NANDs with large page sizes are getting oob ares of 218 and 224 so the eccpos field needs to support these larger areas since BCH ECC correction with 24-bit over 1024 bytes will use 168 bytes of the oob for ECC and is required for current MLC NAND parts circa 2012. Signed-off-by: Charles Hardin

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Igor Grinberg
Hi Benoît, please, see a minor #ifdef comment below On 09/27/12 22:21, Benoît Thébaudeau wrote: > The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 > clocks > have different clock gate control bit-fields. > > The existing code was correct only for i.MX53, so this patch fi

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

2012-09-28 Thread Igor Grinberg
On 09/25/12 22:12, Anatolij Gustschin wrote: > On Fri, 21 Sep 2012 16:21:22 -0700 > Tom Rini wrote: > ... >> lcd.c: In function 'configuration_get_cmap': >> lcd.c:513:29: error: 'struct vidinfo' has no member named 'cmap' >> lcd.c: In function 'lcd_display_bitmap': >> lcd.c:787:6: warning: implici

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

2012-09-28 Thread Igor Grinberg
On 09/28/12 09:40, Igor Grinberg wrote: > On 09/25/12 22:12, Anatolij Gustschin wrote: >> On Fri, 21 Sep 2012 16:21:22 -0700 >> Tom Rini wrote: >> ... >>> lcd.c: In function 'configuration_get_cmap': >>> lcd.c:513:29: error: 'struct vidinfo' has no member named 'cmap' >>> lcd.c: In function 'lcd

Re: [U-Boot] [PATCH v3 1/2] usb: ulpi: add indicator configuration function

2012-09-28 Thread Igor Grinberg
On 09/26/12 00:35, Lucas Stach wrote: > Allows for easy configuration of the VBUS indicator related ULPI > config bits. > > Also move the external indicator setup from ulpi_set_vbus() to > the new function. > > Signed-off-by: Lucas Stach > Acked-by: Igor Grinberg > --- > v3: Only touch each reg

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

2012-09-28 Thread Anatolij Gustschin
On Fri, 28 Sep 2012 09:40:49 +0200 Igor Grinberg wrote: ... > You can still trust the submitter, Nikita ran the MAKEALL for arm and ppc. > The problem is that it was back in the beginning of August... > It is just the time frame between the submission and > the pickup that changed things and proba

Re: [U-Boot] [PATCH v3 2/2] tegra20: add USB ULPI init code

2012-09-28 Thread Igor Grinberg
On 09/26/12 00:35, Lucas Stach wrote: > This adds the required code to set up a ULPI USB port. It is > mostly a port of the Linux ULPI setup code with some tweaks > added for more correctness, discovered along the way of > debugging this. > > To use this both CONFIG_USB_ULPI and CONFIG_USB_ULPI_VI

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Stefano Babic
On 22/09/2012 18:24, Fabio Estevam wrote: > From: Fabio Estevam > > lowlevel_init.S is not used on mx6, so remove the file and the associated > calls. > > Signed-off-by: Fabio Estevam > --- Hi Fabio, I am testing the -next branch. MX5 does not boot anymore - I have tested on MX53. In fact:

Re: [U-Boot] [PATCH v4 0/6] Code cleaup for trats and universal

2012-09-28 Thread Minkyu Kang
Dear Piotr Wilczek, On 20 September 2012 19:19, Piotr Wilczek wrote: > This patch fixes SDRAM configuration and size visibility fot Trats board. > > Code for MMC initialisation is moved from board file to pinmux. > MMC0 and MMC2 are supported. Both tested on Trats and Universal C210 boards. > MMC

Re: [U-Boot] [PATCH v2 01/14] mx5/6: Define default SoC input clock frequencies

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:19, Benoît Thébaudeau wrote: > Define default SoC input clock frequencies for i.MX5/6 in order to get rid of > duplicated definitions. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > Cc: Jason Liu > Cc: Matt Sealey > Cc: Fabio Estevam > --- > The CONFIG_SYS_MX{5|6}

Re: [U-Boot] [PATCH v2 02/14] mx5 clocks: Cleanup

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:20, Benoît Thébaudeau wrote: > Clean up the i.MX5 clock driver: > - Use readl() and writel() instead of their __raw_ counterparts. > - Use the clr/setbits_le32() family of macros rather than expanding code. > - Use accessor macros for bit-fields instead of _MASK and _OFFSET. >

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

2012-09-28 Thread Igor Grinberg
On 09/28/12 10:21, Anatolij Gustschin wrote: > On Fri, 28 Sep 2012 09:40:49 +0200 > Igor Grinberg wrote: > ... >> You can still trust the submitter, Nikita ran the MAKEALL for arm and ppc. >> The problem is that it was back in the beginning of August... >> It is just the time frame between the sub

Re: [U-Boot] [PATCH v2 03/14] mx5: Use explicit clock gate names

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:21, Benoît Thébaudeau wrote: > Use clock gate definitions having names showing clearly the gated clock > instead > of names giving only a register field index. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- > This change reveals (clock.c won't build) that the US

Re: [U-Boot] [PATCH 6/7] mx25: Define cpu_eth_init() only if needed

2012-09-28 Thread Stefano Babic
On 27/09/2012 23:43, Benoît Thébaudeau wrote: > Hi Fabio, > > On Thursday, September 27, 2012 10:55:22 PM, Fabio Estevam wrote: >> Hi Benoît, >> >> On Thu, Sep 27, 2012 at 5:28 PM, Benoît Thébaudeau >> wrote: >>> The FEC is the only SoC Ethernet support available on i.MX25, so >>> define >>> cpu_

[U-Boot] [PATCH 1/2] remove unnecessary code in ata_piix

2012-09-28 Thread Pavel Herrmann
We set sata_curr_device to 0 right after returning from init_sata(), so there's no point in setting it to the last scanned driver at this point. Note: there are more duplicities with cmd_sata, but those might be required, as the code seems to reset the entire controller on every scan, ignoring the

[U-Boot] [PATCH v2 2/2] Fix checkpatch warnings about externs in *.c

2012-09-28 Thread Pavel Herrmann
Move all extern declarations of sata_dev_desc[] into to make checkpatch happy, inslude in every sata driver, and remove now duplicit declarations of sata API functions. Signed-off-by: Pavel Herrmann --- Changes for v2: use include/sata.h instead of a separate header file drivers/block/ata_pi

[U-Boot] [PATCH v6 1/2] Loop block device for sandbox

2012-09-28 Thread Pavel Herrmann
This driver uses files as block devices, can be used for testing disk operations on sandbox. A new command "sata_loop" is introduced to load files in runtime. Signed-off-by: Pavel Herrmann --- Changes for v6: sync with new version of "Fix checkpatch warnings about externs in *.c" set all cons

[U-Boot] [PATCH] omap4_panda: remove CONFIG_PANDA, not used

2012-09-28 Thread Peter Meerwald
From: Peter Meerwald Signed-off-by: Peter Meerwald --- include/configs/omap4_panda.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index b4756be..eacb5f5 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:23, Benoît Thébaudeau wrote: > This fixes the "IPG PERCLK" frequency printed by the clocks command. The issue > was that get_ipg_per_clk() used periph_clk instead of lp_apm in the case > CCM.CBCMR.perclk_lp_apm_sel is set. > > It also fixes I²C support. > Hi Benoît, I understan

Re: [U-Boot] [PATCH v4 2/2] ARM: kirkwood/orion5x: Use reset_cpu definition in include/common.h

2012-09-28 Thread Pavel Machek
> > Albert, could you apply this? > > > > It is trivial cleanup, and while marked 2/2, it is really independend. > > Applied to u-boot-marvell.git master branch Thanks! Pavel -- (english) http://www.livejournal.com/~pavelm

Re: [U-Boot] [PATCH] omap4_panda: remove CONFIG_PANDA, not used

2012-09-28 Thread R, Sricharan
Hi, [snip..] > include/configs/omap4_panda.h |1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h > index b4756be..eacb5f5 100644 > --- a/include/configs/omap4_panda.h > +++ b/include/configs/omap4_panda.h > @@ -31,7 +31,6 @@ >

[U-Boot] [PATCH] pmc405de and zeus: remove the env_ptr externs

2012-09-28 Thread Igor Grinberg
The env_ptr is already declared in environment.h, so there is no need to redeclare in board files (especially after including the environment.h) Remove those declarations. Signed-off-by: Igor Grinberg Cc: Stefan Roese Cc: Matthias Fuchs --- Stefan, Matthias, I'm sending from my laptop (not my m

Re: [U-Boot] [PATCH] pmc405de and zeus: remove the env_ptr externs

2012-09-28 Thread Stefan Roese
On 09/28/2012 12:04 PM, Igor Grinberg wrote: > The env_ptr is already declared in environment.h, so there is no need to > redeclare in board files (especially after including the environment.h) > Remove those declarations. Thanks for spotting. I'll queue this up soon. Thanks, Stefan _

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Benoît Thébaudeau
Hi Igor, On Friday, September 28, 2012 9:26:38 AM, Igor Grinberg wrote: > Hi Benoît, > > please, see a minor #ifdef comment below > > On 09/27/12 22:21, Benoît Thébaudeau wrote: > > The i.MX51 has a single USB PHY clock, while the i.MX53 has two. > > These 3 clocks > > have different clock gate

Re: [U-Boot] [PATCH 5/7] mx25: Clean up clocks API

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:27, Benoît Thébaudeau wrote: > Use the standard mxc_get_clock() instead of exporting internal functions and > using literal constant values. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- > .../arch/arm/cpu/arm926ejs/mx25/generic.c |6 +++--- > .../

Re: [U-Boot] [PATCH 4/7] mx25 clocks: Fix MXC_FEC_CLK

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:27, Benoît Thébaudeau wrote: > mxc_get_clock(MXC_FEC_CLK) should return the IPG clock, not the AHB clock. > > Also, imx_get_fecclk() was correct but reimplemented the calculation of the > IPG > clock, so remove the duplicated code. > > Signed-off-by: Benoît Thébaudeau > Cc: Ste

[U-Boot] [PATCH v4 0/4] Exynos: Support for display drivers

2012-09-28 Thread Piotr Wilczek
This patchset add support for display on Universal C210 board. Max8998 is modified to power on display, new driver ld9040 is added and support for LCD display on universal C210 board is added. Changes in v2: - removed unnecessary function for fimd clock set; - code cleanup - removed patch for fix

[U-Boot] [PATCH v4 1/4] misc:max8998 Add LDO macros

2012-09-28 Thread Piotr Wilczek
Add LDO7 and LDO17 macros to max8998_pmic.h necessary to power on the LCD. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none. Changes in v3: - none. Changes in v4: - none. include/max8998_pmic.h |2 ++ 1 files changed, 2 insertions(+), 0 d

[U-Boot] [PATCH v4 2/4] drivers: video: Add ld9040 video driver

2012-09-28 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang CC: Donghwa Lee --- This patch depends on software SPI: <1346228122-13444-2-git-send-email-p.wilc...@samsung.com> Changes in v2: - none Changes in v3: - none Changes in v4: - removed comment and unused struct drivers/v

[U-Boot] [PATCH v4 3/4] drivers: video: fix image position

2012-09-28 Thread Piotr Wilczek
This patch fixes image position on screen when images's height or width is biger than the lcd's. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none. Changes in v3: - none Changes in v4: - none drivers/video/exynos_fb.c | 15 +--

[U-Boot] [PATCH v4 4/4] exynos4: universal_C210: add display support

2012-09-28 Thread Piotr Wilczek
This patch add support for display on Universal C210 board. Width of displyed logo must be not bigger than 480 pixel and is limited by width of the screen. Tizen logo size is 520x120 pixels and should be resized. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Chan

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 28, 2012 11:31:11 AM, Stefano Babic wrote: > On 27/09/2012 22:23, Benoît Thébaudeau wrote: > > This fixes the "IPG PERCLK" frequency printed by the clocks > > command. The issue > > was that get_ipg_per_clk() used periph_clk instead of lp_apm in the > > case > > CC

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Stefano Babic
On 28/09/2012 12:27, Benoît Thébaudeau wrote: > Hi Igor, > > On Friday, September 28, 2012 9:26:38 AM, Igor Grinberg wrote: >> Hi Benoît, >> >> please, see a minor #ifdef comment below >> >> On 09/27/12 22:21, Benoît Thébaudeau wrote: >>> The i.MX51 has a single USB PHY clock, while the i.MX53 has

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Stefano Babic
On 28/09/2012 12:42, Benoît Thébaudeau wrote: > Hi Stefano, > > On Friday, September 28, 2012 11:31:11 AM, Stefano Babic wrote: >> On 27/09/2012 22:23, Benoît Thébaudeau wrote: >>> This fixes the "IPG PERCLK" frequency printed by the clocks >>> command. The issue >>> was that get_ipg_per_clk() use

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-28 Thread Benoît Thébaudeau
Hi Tom, On Thursday, September 27, 2012 6:20:55 PM, Tom Rini wrote: > On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: > > > When storage devices contain files larger than the embedded RAM, it > > is useful to > > be able to read these files by chunks, e.g. for a software update

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 28, 2012 12:45:31 PM, Stefano Babic wrote: > On 28/09/2012 12:42, Benoît Thébaudeau wrote: > > Hi Stefano, > > > > On Friday, September 28, 2012 11:31:11 AM, Stefano Babic wrote: > >> On 27/09/2012 22:23, Benoît Thébaudeau wrote: > >>> This fixes the "IPG PERCLK"

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 28, 2012 12:43:53 PM, Stefano Babic wrote: > On 28/09/2012 12:27, Benoît Thébaudeau wrote: > > Hi Igor, > > > > On Friday, September 28, 2012 9:26:38 AM, Igor Grinberg wrote: > >> Hi Benoît, > >> > >> please, see a minor #ifdef comment below > >> > >> On 09/27/12

Re: [U-Boot] [PATCH] mxc: Fix SDHC multi-instance clock

2012-09-28 Thread Benoît Thébaudeau
On Thursday, September 27, 2012 10:31:02 PM, Benoît Thébaudeau wrote: > On mxc, each SDHC instance has a dedicated clock, so gd->sdhc_clk is > not > suitable for the multi-instance use case (initialization made > directly with > fsl_esdhc_initialize()). > > This patch fixes this issue by adding a

Re: [U-Boot] [PATCH] tools: Add cleanpatch

2012-09-28 Thread Fabio Estevam
On Fri, Sep 28, 2012 at 9:42 AM, Otavio Salvador wrote: > Please take it from master so it is easier to track from the hash. > Using the stable tree will force the check of another tree. I don't understand your explanation. As suggested by Marek I will point to this commit in my patch descripti

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Fabio Estevam
Hi Stefano, On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic wrote: > What does happen now to the poor MX5 ? lowlevel_init is not called > anymore, I presume... Which board did you test this with, please? Regards, Fabio Estevam ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Benoît Thébaudeau
Hi Fabio, On Friday, September 28, 2012 3:21:22 PM, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic > wrote: > > > What does happen now to the poor MX5 ? lowlevel_init is not called > > anymore, I presume... > > Which board did you test this with, please?

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Benoît Thébaudeau
On Friday, September 28, 2012 3:35:41 PM, Benoît Thébaudeau wrote: > Hi Fabio, > > On Friday, September 28, 2012 3:21:22 PM, Fabio Estevam wrote: > > Hi Stefano, > > > > On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic > > wrote: > > > > > What does happen now to the poor MX5 ? lowlevel_init is n

[U-Boot] [PATCH v2] tools: Add cleanpatch

2012-09-28 Thread Fabio Estevam
There are some errors reported by checkpatch.pl that can be easily cleaned up by using the cleanpatch tool. Import the cleanpatch script from linux kernel 3.5.4 stable version as from the following commit: commit cb3ed5b7e09c6c0462e396d55e3fecc0980a333a Author: H. Peter Anvin Date: Fri May

Re: [U-Boot] [PATCH v1 2/4] mpc83xx: add support for mpc8309

2012-09-28 Thread Gerlando Falauto
On 09/28/2012 01:18 AM, Kim Phillips wrote: On Thu, 27 Sep 2012 09:21:19 +0200 Gerlando Falauto wrote: On 09/27/2012 03:22 AM, Kim Phillips wrote: [...] so far the 8308 and the 8360 are the only SoCs that don't have a 'tens'/MPC83Xx defines. The 8360 can get away with it, since it's very cl

[U-Boot] [PATCH V2 0/6] add zip command support for uboot

2012-09-28 Thread Lei Wen
Change since V1: add CONFIG_CMD_ZIP into README description This patch set add zip command support for uboot. The first two patches import deflate and trees functions from zlib 1.2.5 without any change. While the third patch did the necessary change to make the import file could be built passed in

[U-Boot] [PATCH V2 2/6] lib: zlib: import trees file from 1.2.5

2012-09-28 Thread Lei Wen
Signed-off-by: Lei Wen --- Changelog: No change lib/zlib/trees.c | 1244 ++ lib/zlib/trees.h | 128 ++ 2 files changed, 1372 insertions(+), 0 deletions(-) create mode 100644 lib/zlib/trees.c create mode 100644 lib/zlib/trees.h diff --gi

[U-Boot] [PATCH V2 4/6] lib: zlib: remove the limitation for cannot using 0 as start

2012-09-28 Thread Lei Wen
We often need the requirement that compressing those memory range start from 0, but the default deflate code in zlib prevent us to do this. Considering the special case of uboot, that it could access all memory range, it is reasonable to be able to also take the address space from 0 into compressio

[U-Boot] [PATCH V2 6/6] common: add zip command support

2012-09-28 Thread Lei Wen
Signed-off-by: Lei Wen --- Changelog: Add README description for new added zip command README |6 + common/Makefile |1 + common/cmd_zip.c | 60 ++ 3 files changed, 67 insertions(+), 0 deletions(-) create mode 100644 c

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-28 Thread Lei Wen
Hi Tom, > > If the patch is generally accepted, I would update with another > > version with the README update included. > > Yes, please v2 things with an updated README. Thanks. > > I have updated the patch set, please help re-check it. Thanks, Lei _

[U-Boot] [PATCH V2 3/6] lib: zlib: include deflate into zlib build

2012-09-28 Thread Lei Wen
Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would include zlib's deflate method which could be used for compressing. Signed-off-by: Lei Wen --- Changelog: No change include/u-boot/zlib.h | 40 +++- lib/zlib/trees.c |8

[U-Boot] [PATCH V2 5/6] lib: add gzip lib function callback

2012-09-28 Thread Lei Wen
Signed-off-by: Lei Wen --- Changelog: No change include/common.h |7 +++ lib/Makefile |1 + lib/gzip.c | 142 ++ 3 files changed, 150 insertions(+), 0 deletions(-) create mode 100644 lib/gzip.c diff --git a/include/common.h

Re: [U-Boot] [PATCH v3 1/2] usb: ulpi: add indicator configuration function

2012-09-28 Thread Lucas Stach
Am Freitag, den 28.09.2012, 10:15 +0200 schrieb Igor Grinberg: > On 09/26/12 00:35, Lucas Stach wrote: > > Allows for easy configuration of the VBUS indicator related ULPI > > config bits. > > > > Also move the external indicator setup from ulpi_set_vbus() to > > the new function. > > > > Signed-

Re: [U-Boot] [PATCH v4 15/16] lcd: Add CONSOLE_SCROLL_LINES option to speed console

2012-09-28 Thread Lucas Stach
Am Donnerstag, den 27.09.2012, 17:44 -0700 schrieb Simon Glass: > When the cursor position gets to the end of the LCD console we normally > scroll by one line. This adds an option to increase that value. > > Console scrolling is often slow, and if a large amount of output is > being sent, increasi

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Stefano Babic
On 28/09/2012 15:21, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic wrote: > >> What does happen now to the poor MX5 ? lowlevel_init is not called >> anymore, I presume... > > Which board did you test this with, please? I tested on a mx53qsb, but I think

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Stefano Babic
On 28/09/2012 14:55, Benoît Thébaudeau wrote: >> >> Ah, thanks - it is clear now. > > For the full story, I²C was completely broken on my custom i.MX51 platform > because of this issue. The command "i2c probe" only detected address 0x00, and > if run again, it hung. Ok - this explains to myself

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Stefano Babic
On 28/09/2012 15:00, Benoît Thébaudeau wrote: > > OK, so should I eventually send for that an update only of this specific patch > (not the full series), or will it just be fine with the current v2? Not the full series, send an update only for this patch, thanks. Best regards, Stefano -- ===

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-28 Thread Lucas Stach
Hi Scott, Am Donnerstag, den 27.09.2012, 17:27 -0500 schrieb Scott Wood: > On 09/27/2012 05:19:23 PM, Lucas Stach wrote: > > Am Donnerstag, den 27.09.2012, 17:13 -0500 schrieb Scott Wood: > > > On 09/27/2012 05:08:03 PM, Lucas Stach wrote: > > > > Am Donnerstag, den 27.09.2012, 16:53 -0500 schrieb

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-28 Thread Carolyn Smith
On Thu, Sep 27, 2012 at 2:07 PM, Carolyn Smith wrote: > On Thu, Sep 27, 2012 at 12:00 PM, Fabio Estevam wrote: >> >> On Thu, Sep 27, 2012 at 3:27 PM, Carolyn Smith >> wrote: >> > Hello, >> > >> > Has anyone had any success getting RMII ethernet to work on an i.MX6 Solo >> > or DualLite? I am pr

Re: [U-Boot] [PATCH] arm: fdt: Relocate fdt along with other data

2012-09-28 Thread Stephen Warren
On 09/27/2012 07:41 PM, Simon Glass wrote: > Rather than leave the fdt down next to the code/data, we really should > relocate it along with everything else. For CONFIG_OF_EMBED this happens > automatically, but for CONFIG_OF_SEPARATE it does not. > > Add code to copy the fdt and point to the new

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-28 Thread Fabio Estevam
Hi Carolyn, On Fri, Sep 28, 2012 at 12:20 PM, Carolyn Smith wrote: > As it turns out, I found the magic bullet late last night and got > ethernet working on my board. The secret turned out to be the > IOMUXC_ENET_IPG_CLK_RMII_SELECT_INPUT daisy chain register. I had it > set incorrectly so the p

[U-Boot] [PATCH] disk: allow - or empty string to fall back to $bootdevice

2012-09-28 Thread Stephen Warren
From: Stephen Warren Commit 10a37fd "disk: get_device_and_partition() "auto" partition" prevented the use of "-" on the command-line to request fallback to the $bootdevice environment variable instead. This patch allows that, or an empty string "" to be used. Tested: setenv bootfile /boot/zImage

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-28 Thread Stephen Warren
On 09/28/2012 05:32 AM, Benoît Thébaudeau wrote: > Hi Tom, > > On Thursday, September 27, 2012 6:20:55 PM, Tom Rini wrote: >> On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: >> >>> When storage devices contain files larger than the embedded RAM, it >>> is useful to >>> be able t

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-09-28 Thread Stefano Babic
Hi Albert, some fixes for the release. Please pull from u-boot-imx, thanks. The following changes since commit 1d9b033269263a69f7402f508c17b242fc7fea43: mx35pdk: README: Remove NAND references (2012-09-17 13:17:17 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-

Re: [U-Boot] [PATCH] api: net: fix length check in eth_receive()

2012-09-28 Thread Joe Hershberger
Hi Michael, On Mon, Jun 25, 2012 at 3:50 PM, Michael Walle wrote: > > [removed Piotr Kruszynski from CC because mail address does not exist anymore] > > Hi Joe, > > Am Montag 25 Juni 2012, 22:25:56 schrieb Joe Hershberger: >> Hi Michael, >> >> On Fri, Jun 22, 2012 at 4:24 PM, Michael Walle wrote

Re: [U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

2012-09-28 Thread Joe Hershberger
Hi Tetsuyuki, On Mon, Jun 25, 2012 at 7:37 AM, Tetsuyuki Kobayashi wrote: > NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000. > > Signed-off-by: Tetsuyuki Kobayashi > --- I decided this doesn't hurt and it sort-of documents what "must be" (tm). Applied, thanks. -Joe

Re: [U-Boot] [U-Boot-DM] [PATCH 09/10] dm: net: Move IXP NPE to drivers/net/

2012-09-28 Thread Joe Hershberger
Hi Marek, On Sat, Jul 21, 2012 at 10:02 AM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Bryan Hundven > Cc: Michael Schwingen > Cc: Wolfgang Denk > Cc: Albert Aribaud > Cc: U-Boot DM > Cc: Joe Hershberger > --- Applied, thanks. -Joe _

Re: [U-Boot] [PATCH 4/5] net: emaclite: Support OF initialization

2012-09-28 Thread Joe Hershberger
Hi Michal, On Fri, Jun 29, 2012 at 2:37 AM, Michal Simek wrote: > Support new CONFIG_OF_CONTROL option where device > probing is done based on device tree description. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > --- Applied, thanks. -Joe ___

Re: [U-Boot] [U-Boot-DM] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-09-28 Thread Joe Hershberger
Hi Marek, On Fri, Jul 27, 2012 at 2:50 PM, Marek Vasut wrote: > Apply the following questionable adjustment to silence GCC. > > armada100_fec.c: In function ‘armdfec_send’: > armada100_fec.c:589:2: warning: dereferencing type-punned pointer will break > strict-aliasing rules [-Wstrict-aliasing]

Re: [U-Boot] [PATCH v1 2/4] mpc83xx: add support for mpc8309

2012-09-28 Thread Kim Phillips
On Fri, 28 Sep 2012 16:08:39 +0200 Gerlando Falauto wrote: > On 09/28/2012 01:18 AM, Kim Phillips wrote: > > On Thu, 27 Sep 2012 09:21:19 +0200 > > Gerlando Falauto wrote: > > > >> On 09/27/2012 03:22 AM, Kim Phillips wrote: > [...] > > so far the 8308 and the 8360 are the only SoCs that don't h

Re: [U-Boot] [PATCH] net: sh_eth: Add support R8A7740 of rmobile (arm core)

2012-09-28 Thread Joe Hershberger
Hi Nobuhiro, On Fri, Aug 3, 2012 at 3:08 AM, Nobuhiro Iwamatsu wrote: > R8A7740 of rmobile has ethernet device, and this is same IP of > sh-ether. This support R8A7740 of rmobile. > > Signed-off-by: Hideyuki Sano > Signed-off-by: Nobuhiro Iwamatsu > --- Applied, thanks. -Joe _

[U-Boot] [PATCH] tegra: nand: make ONFI detection work

2012-09-28 Thread Lucas Stach
Add the missing bits to the Tegra NAND driver to make ONFI detection work properly. Also add it to the Tegra default config, as it seems to be a reasonable thing to have it available on all boards that use any kind of NAND. Signed-off-by: Lucas Stach --- drivers/mtd/nand/tegra_nand.c| 36 ++

Re: [U-Boot] [PATCHv2 1/5] net: introduce transparent driver private in ueth_data

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach wrote: > Avoid clutter in ueth_data. Individual drivers should not mess > with structures belonging to the core like this. > > Signed-off-by: Lucas Stach > Reviewed-by: Marek Vasut > Acked-by: Marek Vasut > Acked-by: Joe Hershberger > ---

Re: [U-Boot] [PATCHv2 2/5] net: asix: split out basic reset function

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach wrote: > The basic device reset ensures that the device is ready to > service commands and does not need to get redone before each > network operation. > > Split out the basic reset from asix_init() and instead call it > from asix_eth_get_inf

Re: [U-Boot] [PATCHv2 3/5] net: asix: add write_hwaddr function

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach wrote: > All ASIX chipsets aside from AX88172 are able to set the MAC > address on the hardware level. Add a function to expose this > ability. > > To differentiate between chip types we now carry flags as driver > private data. Also while to

Re: [U-Boot] [PATCHv2 4/5] net: asix: add read_mac function

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:05 PM, Lucas Stach wrote: > Initial device MAC should be read while getting info about the > device, so it's wrong to only read it in asix_init(). > > Add a dedicated function to read the initial MAC, which is also > able to handle devices that have their initi

Re: [U-Boot] [PATCHv2 5/5] net: asix: add AX88772B support

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:05 PM, Lucas Stach wrote: > Add AX88772B ID together with two fixes needed to make this work. > > 1. The packet length check has to be adjusted, as all ASIX chips > only use 11 bits to indicate the length. AX88772B uses the other > bits to indicate unrelated th

Re: [U-Boot] [PATCH 2/4 v3] net: Add driver for Zynq Gem IP

2012-09-28 Thread Joe Hershberger
Hi Michal, On Fri, Sep 14, 2012 at 1:23 AM, Michal Simek wrote: > Device driver for Zynq Gem IP. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut Applied, thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

Re: [U-Boot] [PATCH] eth_write_hwaddr: Return error for invalid MACs

2012-09-28 Thread Joe Hershberger
Hi Benoît, On Fri, Aug 10, 2012 at 12:56 PM, Benoît Thébaudeau wrote: > If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC > address was not valid, return an error. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe Hershberger > --- Applied, thanks. -Joe ___

Re: [U-Boot] [PATCH] net/phy: support the mv88e6352 switch

2012-09-28 Thread Joe Hershberger
Hi Valentin, On Thu, Aug 16, 2012 at 6:17 AM, Valentin Longchamp wrote: > This patch add support for the configuration of an external switch from > the 88E6xxx series from Marvell trough an MDIO link using indirect > adressing. This can be used if we do not want to use an EEPROM for the > configu

Re: [U-Boot] [PATCH 1/2] Add Vitesse VSC8662 PHY support

2012-09-28 Thread Joe Hershberger
Hi York, On Fri, Aug 17, 2012 at 1:28 PM, York Sun wrote: > From: Priyanka Jain > > -VSC8662 is Dual Port 10/100/1000Base-T Phy, > 100Base-FX/1000/Base-X Gigabit Ethernt Transceiver Phy. > > -Its register set and features are similar to > other Vitesse Phys > > Signed-off-by: Priyanka Jain >

Re: [U-Boot] [PATCH 1/2] FEC: Do not pass unaligned buffer to network stack

2012-09-28 Thread Joe Hershberger
Hi Marek, On Sun, Aug 26, 2012 at 3:19 PM, Marek Vasut wrote: > Do not pass unaligned RX buffer to the upper layers. The upper layer, > especially in the ARP case, recycles the buffer and passes it back into > the FEC, into it's TX path. With caches enabled, the FEC hangs on this > from time to t

Re: [U-Boot] [PATCH 2/2] FEC: Properly align address over the buffers for cache ops

2012-09-28 Thread Joe Hershberger
Hi Marek, On Sun, Aug 26, 2012 at 3:19 PM, Marek Vasut wrote: > Align the address that's to be invalidated/flushed properly. > > Signed-off-by: Marek Vasut > Cc: Benoit Thebaudeau > Cc: Eric Nelson > Cc: Fabio Estevam > Cc: Joe Hershberger > --- Applied, thanks. -Joe __

Re: [U-Boot] [PATCH 1/3] FEC: Remove endless loop in the FEC driver

2012-09-28 Thread Joe Hershberger
Hi Marek, On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut wrote: > The FEC hardware sometimes errors out on data transfer and hangs in > the tightloop adjusted by this patch. So add timeout into the tightloop > to make such a hang recoverable. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger >

Re: [U-Boot] [PATCH 2/3] FEC: Rework the TX wait mechanism

2012-09-28 Thread Joe Hershberger
Hi Marek, On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut wrote: > The mechanism waiting for transmission to finish in fec_send() now > relies on the E-bit being cleared in the TX buffer descriptor. In > case of data cache being on, this means invalidation of data cache > above this TX buffer descri

Re: [U-Boot] [PATCH 3/3] FEC: Replace magic contants

2012-09-28 Thread Joe Hershberger
Hi Marek, On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut wrote: > Replace the magic contant 1 << 24 with properly defined bits. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Fabio Estevam > Cc: Otavio Salvador > Cc: Stefano Babic > --- Applied, thanks. -Joe _

Re: [U-Boot] [PATCH v4] PXE: FDT: Add support for fdt in PXE

2012-09-28 Thread Joe Hershberger
Hi Chander, On Fri, Sep 7, 2012 at 12:36 AM, Chander Kashyap wrote: > Now DT support is becoming common for all new SoC's. Hence it is better > to have option for getting specific FDT from the remote server. > > This patch adds support for new label i.e. 'fdt'. This will allow to > retrieve 'fdt

Re: [U-Boot] [PATCH] Quietly ignore DHCP Option 28 (Broadcast Address)

2012-09-28 Thread Joe Hershberger
Hi Brian, On Tue, Sep 11, 2012 at 2:22 PM, Brian Rzycki wrote: > Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28, > Broadcast Address as specified in RFC 2132. Without this patch u-boot > displays the warning: > *** Unhandled DHCP Option in OFFER/ACK: 28 > > The patch suppres

Re: [U-Boot] [PATCH] disk: allow - or empty string to fall back to $bootdevice

2012-09-28 Thread Tom Rini
On Fri, Sep 28, 2012 at 09:34:09AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 10a37fd "disk: get_device_and_partition() "auto" partition" > prevented the use of "-" on the command-line to request fallback to the > $bootdevice environment variable instead. This patch allows th

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-28 Thread Tom Rini
On Fri, Sep 28, 2012 at 09:34:42AM -0600, Stephen Warren wrote: > On 09/28/2012 05:32 AM, Beno??t Th??baudeau wrote: > > Hi Tom, > > > > On Thursday, September 27, 2012 6:20:55 PM, Tom Rini wrote: > >> On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: > >> > >>> When storage devic

Re: [U-Boot] UBI problems on current u-boot

2012-09-28 Thread Charles Hardin
Part of this can be referenced by the linux commit where ECC errors are handled as common place for MLC nand parts, and a bitflip threshold is setup to return EUCLEAN out of the mtdcore.c. So, the work above avoids the UBI side effect of doing the PEB relocation on getting the bit error indication.

[U-Boot] [PATCH v3 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Benoît Thébaudeau
The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control bit-fields. The existing code was correct only for i.MX53, so this patch fixes the i.MX51 use case. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Marek Vasut Cc: Jana Rapa

Re: [U-Boot] [PATCH 1/2] remove unnecessary code in ata_piix

2012-09-28 Thread Marek Vasut
Dear Pavel Herrmann, > We set sata_curr_device to 0 right after returning from init_sata(), so > there's no point in setting it to the last scanned driver at this point. > Note: there are more duplicities with cmd_sata, but those might be > required, as the code seems to reset the entire controlle

Re: [U-Boot] [PATCH v2 2/2] Fix checkpatch warnings about externs in *.c

2012-09-28 Thread Marek Vasut
Dear Pavel Herrmann, > Move all extern declarations of sata_dev_desc[] into to make > checkpatch happy, inslude in every sata driver, and remove now > duplicit declarations of sata API functions. > > Signed-off-by: Pavel Herrmann WFM Reviewed-by: Marek Vasut [...] Best regards, Marek Vasu

Re: [U-Boot] [PATCH v6 1/2] Loop block device for sandbox

2012-09-28 Thread Marek Vasut
Dear Pavel Herrmann, > This driver uses files as block devices, can be used for testing disk > operations on sandbox. > A new command "sata_loop" is introduced to load files in runtime. The description might use a little bit of caressing here :) [...] > + if (os_lseek(fd, start_byte, OS_SEE

[U-Boot] [PATCH] sandbox: Add asm/errno.h

2012-09-28 Thread Simon Glass
This file is required for all archs. Fixes a sandbox build break on ext4. Signed-off-by: Simon Glass --- arch/sandbox/include/asm/errno.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/sandbox/include/asm/errno.h diff --git a/arch/sandbox/include/asm/errno.h

Re: [U-Boot] [PATCH 1/3] FEC: Remove endless loop in the FEC driver

2012-09-28 Thread Marek Vasut
Dear Joe Hershberger, > Hi Marek, > > On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut wrote: > > The FEC hardware sometimes errors out on data transfer and hangs in > > the tightloop adjusted by this patch. So add timeout into the tightloop > > to make such a hang recoverable. > > > > Signed-off-b

Re: [U-Boot] [PATCH 1/2] remove unnecessary code in ata_piix

2012-09-28 Thread Tom Rini
On Fri, Sep 28, 2012 at 08:12:21PM +0200, Marek Vasut wrote: > Dear Pavel Herrmann, > > > We set sata_curr_device to 0 right after returning from init_sata(), > > so there's no point in setting it to the last scanned driver at this > > point. Note: there are more duplicities with cmd_sata, but t

[U-Boot] [PATCH 0/6] bootstage: Add a number of new features

2012-09-28 Thread Simon Glass
It is useful to be able to communicate the bootstage information to another program, such as the kernel, either by putting it in memory or the device tree. This makes the information accessible after boot so that it can easily be logged somewhere or perhaps reported back for diagnostics purposes. T

  1   2   3   >