[U-Boot] [PATCH 01/11] arm: pxa: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler --- arch/arm/cpu/pxa/pxa2xx.c | 4 ++-- arch/arm/cpu/pxa/timer.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/pxa

[U-Boot] [PATCH 02/11] arm: pxa: mmc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler --- drivers/mmc/pxa_mmc_gen.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/pxa_mmc_gen.c b/drivers/mmc

[U-Boot] [PATCH 06/11] lcd: pxa: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler --- drivers/video/pxa_lcd.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c

[U-Boot] [PATCH 05/11] usb: pxa27x_udc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler --- drivers/usb/gadget/pxa27x_udc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb

[U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler --- drivers/mmc/tegra_mmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c

[U-Boot] [PATCH 10/11] arm: pxa: colibri_pxa270: add optional lcd support

2015-08-17 Thread Marcel Ziswiler
Add optional LCD support. Note that depending on the toolchain used one might have to drop some other features to stay within the 0x4 size limit. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_pxa270.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include

[U-Boot] [PATCH 04/11] serial: pxa: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler --- drivers/serial/serial_pxa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/serial_pxa.c b/drivers/serial

[U-Boot] [PATCH 11/11] arm: pxa: colibri_pxa270: add optional i2c support

2015-08-17 Thread Marcel Ziswiler
This is useful once Andrew's PXA I2C driver gets merged. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_pxa270.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h index a8cdde5..a250541 100644

[U-Boot] [PATCH 09/11] arm: pxa: colibri_pxa270: add some more nor flash details

2015-08-17 Thread Marcel Ziswiler
Add some more NOR flash details like size, bus width and lock/unlock time outs. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_pxa270.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h index e3f0ab0..08ebd76

[U-Boot] [PATCH 07/11] arm: pxa: colibri_pxa270: fix boot hang

2015-08-17 Thread Marcel Ziswiler
Fix boot hang caused by incompatible libgcc which has been observed when using later Linaro toolchains like gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux or gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf. Signed-off-by: Marcel Ziswiler --- configs/colibri_pxa270_defconfig | 1 + 1

[U-Boot] [PATCH 08/11] arm: pxa: palmtreo680: get rid of obsolete CONFIG_SYS_LCD_PXA_NO_L_BIAS

2015-08-17 Thread Marcel Ziswiler
Looks like the define CONFIG_SYS_LCD_PXA_NO_L_BIAS is not used anywhere else throughout the U-Boot sources any more. Drop it. Signed-off-by: Marcel Ziswiler --- include/configs/palmtreo680.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/palmtreo680.h b/include/configs

Re: [U-Boot] [PATCH 01/11] arm: pxa: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On 16 August 2015 18:53:40 CEST, Marek Vasut wrote: >I cannot find 03/11 , why ? Ah, I believe that one is actually meant for Tegra rather than PXA and will hopefully be picked up by Tom. >I applied all but 03/11 and 07/11 to u-boot-pxa/master though :) Thanks, Marek. I hope we can sort out

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On Sun, 2015-08-16 at 15:26 -0600, Simon Glass wrote: > > Says who? I was only aware that common.h needs to go on top, the > > local > > stuff (e.g. in double quotes) on the bottom and the rest I assumed > > can > > go alphabetically ordered in between, not? > > I originally got it from here (and

Re: [U-Boot] [PATCH 07/11] arm: pxa: colibri_pxa270: fix boot hang

2015-08-17 Thread Marcel Ziswiler
On 16 August 2015 05:31:58 CEST, Marek Vasut wrote: >On Sunday, August 16, 2015 at 04:16:32 AM, Marcel Ziswiler wrote: >I would suggest that we drop this patch, but I would also suggest that >we do >the same thing kernel does and just enable CONFIG_USE_PRIVATE_LIBGCC >globally

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On Sun, 2015-08-16 at 15:11 -0600, Simon Glass wrote: > Thanks for tidying this up. But the ordering should be: > > > > > > > "local.h" Says who? I was only aware that common.h needs to go on top, the local stuff (e.g. in double quotes) on the bottom and the rest I assumed can go alphabetic

Re: [U-Boot] [PATCH 01/11] arm: pxa: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On Sun, 2015-08-16 at 19:26 +0200, Marek Vasut wrote: > Errr, right. What weird sort of battle tactics is this, are you > trying to > confuse the enemy with random unrelated patches right in the middle > of a > coherent series? :) Yes, I agree. But I trusted it all into the hands of patman this

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-18 Thread Marcel Ziswiler
On Mon, 2015-08-17 at 16:14 -0600, Simon Glass wrote: > The nice thing about sorting things in groups is that you can see at > a > glance what is missing. It doesn't make sense to have: > > > > > > since the asm/ includes are quite a different category. But that's not at all what I proposed.

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-18 Thread Marcel Ziswiler
On Mon, 2015-08-17 at 20:55 +, Tom Warren wrote: > I have no problem with this sort order. Let me know if you want me to > take this in to Tegra or if it should go into u-boot-mmc tree via > Panto. I would be OK either way but as Panto has not responded I would be more than grateful if you

[U-Boot] [RESEND PATCH v6] mtd/nand/ubi: assortment of alignment fixes

2015-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned

Re: [U-Boot] [RESEND PATCH v6] mtd/nand/ubi: assortment of alignment fixes

2015-08-18 Thread Marcel Ziswiler
On Tue, 2015-08-18 at 06:44 -0600, Simon Glass wrote: > > diff --git a/include/common.h b/include/common.h > > index c48e5bc..c12f402 100644 > > --- a/include/common.h > > +++ b/include/common.h > > @@ -1060,6 +1060,15 @@ int cpu_release(int nr, int argc, char * > > const argv[]); > > #define DEF

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-19 Thread Marcel Ziswiler
On 18 August 2015 14:44:01 CEST, Simon Glass wrote: >No I think you misunderstand. Another way of explaining this is >sorting fruit and animals: > >apple >grapefruit >orange >elephant >lion >zebra > >We don't want to mix up the fruit and animals, so each has its own >position in the table.We ca

[U-Boot] [PATCH 2/3] colibri_t20: enable early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
watchdog reset while otherwise nearly idling. This fixes an issue being stuck in U-Boot's SPL upon watchdog reset (e.g. running downstream L4T Linux kernel as there exists no mainline Tegra20 watchdog driver as of yet). Signed-off-by: Marcel Ziswiler --- include/configs/colibri_t20.h | 2 ++ 1

[U-Boot] [PATCH 3/3] colibri_t20: get rid of spurious MAX_I2C_RETRY define

2015-08-20 Thread Marcel Ziswiler
That MAX_I2C_RETRY define has been a copy/paste left over not actually used anywhere in this file therefore get rid of it. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_t20/colibri_t20.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/toradex/colibri_t20/colibri_t20.c b

[U-Boot] [PATCH 1/3] arm: tegra20: implement early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
watchdog reset while otherwise nearly idling. Signed-off-by: Marcel Ziswiler --- arch/arm/mach-tegra/tegra20/cpu.c | 76 ++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/tegra20/cpu.c b/arch/arm/mach-tegra/tegra20/cpu.c index

[U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
just gets rid of a spurious MAX_I2C_RETRY define in the Colibri T20's board file. Marcel Ziswiler (3): arm: tegra20: implement early pmic rail configuration colibri_t20: enable early pmic rail configuration colibri_t20: get rid of spurious MAX_I2C_RETRY define arch/arm/mach-tegra/teg

[U-Boot] [PATCH 4/5] colibri_t30: enable display driver

2015-08-20 Thread Marcel Ziswiler
. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/tegra30-colibri.dts | 29 ++ .../colibri_t30/pinmux-config-colibri_t30.h| 8 +++--- include/configs/colibri_

[U-Boot] [PATCH 1/5] arm: tegra20: video: rename display header ifdef gating

2015-08-20 Thread Marcel Ziswiler
As a preparatory step make sure the Tegra20 display header file is properly ifdef gated with its name. Signed-off-by: Marcel Ziswiler --- arch/arm/include/asm/arch-tegra20/display.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/arch-tegra20

[U-Boot] [PATCH 5/5] apalis_t30: enable display driver

2015-08-20 Thread Marcel Ziswiler
Enable the display driver on Apalis T30. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/tegra30-apalis.dts| 29 ++ .../toradex/apalis_t30/pinmux-c

[U-Boot] [PATCH 2/5] arm: tegra20: video: ifdef gate hard-coded ugly Tegra20 pin muxing

2015-08-20 Thread Marcel Ziswiler
As a preparatory step make sure the display driver is buildable for Tegra30 as well by ifdef gating any hard-coded ugly Tegra20 pin muxing stuff. Signed-off-by: Marcel Ziswiler --- drivers/video/tegra.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/tegra.c b/drivers/video

[U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-20 Thread Marcel Ziswiler
copied from T20 supplementing some tegra30- compatible nodes here and there while comparing it with the Linux device tree includes. Signed-off-by: Marcel Ziswiler --- The older Chromium U-Boot 2011.06 which to my knowledge was the only prior attempt at enabling a display driver for T30 for

[U-Boot] [PATCH 0/5] arm: tegra: apalis/colibri_t30: video: add display driver

2015-08-20 Thread Marcel Ziswiler
On popular request this series integrates the display driver from T20 to work on T30 as well and enables it for our Apalis/Colibri T30 computer/system on modules. Enjoy. Marcel Ziswiler (5): arm: tegra20: video: rename display header ifdef gating arm: tegra20: video: ifdef gate hard-coded

Re: [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 21:58, Stephen Warren wrote: > Is there any guarantee that the voltage levels are high enough for the > AVP to run correctly before the CORE rail is adjusted? It sounds to me > like a HW design issue; the SoC reset output should reset the PMIC too. If by guarantee you mean whether

Re: [U-Boot] [PATCH 1/3] arm: tegra20: implement early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:00, Stephen Warren wrote: > Does the CORE rail get adjusted by DVFS? Hopefully if it does, it is > never set so low that AVP operation at reset is impossible... Exactly. > > + udelay(1000); > > all the delays in this patch seem very large. What drove the choice of > the de

Re: [U-Boot] [PATCH 2/3] colibri_t20: enable early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:01, Stephen Warren wrote: > Rather than enable this with yet another CONFIG_ option, perhaps we can > put this code into a C file dedicated to the colibri_t20 board, and then > have the common code call it (and implement a weak function that does > nothing to satisfy the linker

Re: [U-Boot] [PATCH 2/5] arm: tegra20: video: ifdef gate hard-coded ugly Tegra20 pin muxing

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:04, Stephen Warren wrote: > That option doesn't seem to exist, except in > arch/arm/include/asm/mach-types.h where I think it's the name of an > unrelated board. Do you mean CONFIG_TEGRA20, as defined by > arch/arm/mach-tegra/tegra20/Kconfig? No, I'm talking about T20 in genera

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:09, Stephen Warren wrote: > Hopefully the process was to copy the Linux Tegra30 DT verbatim? No, the T20 one is far from verbatim neither. So I just did the adjustments analogous by comparing the T20 and T30 Linux DTs. > That's > far more likely to yield a correct DT than cop

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-24 Thread Marcel Ziswiler
On 21 Aug 2015 11:29, Thierry Reding wrote: > I agree with Stephen that U-Boot should use an exact copy of the DTS > files in the kernel. The bits in the kernel get much more review and > have been known to work well for a number of years. I do not oppose however I doubt this has ever been the c

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-24 Thread Marcel Ziswiler
On 22 Aug 2015 02:38, Simon Glass wrote: > Please take a look at tegra124's display driver for an > example. You mean that second copy of the existing Tegra stuff I find myself now certainly in the middle of having to clean up? Thank you! ___ U-Boot m

Re: [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration

2015-08-24 Thread Marcel Ziswiler
On 24 Aug 2015 18:25, Stephen Warren wrote: > That almost sounds like there's no need for this patch/series then, > since we're assuming that SW won't leave the HW in a bad state. Well, define bad state please. > If SW > can leave HW in a bad state, the only choice is to fix the issue in HW. A

Re: [U-Boot] [PATCH] Move malloc_cache_aligned() to malloc.h

2015-08-30 Thread Marcel Ziswiler
On Sat, 2015-08-29 at 14:54 +, Simon Glass wrote: > At present malloc.h is included everywhere since it recently was > added to > common.h in this commit: > >4519668 mtd/nand/ubi: assortment of alignment fixes > > This seems wasteful and unnecessary. We have been trying to trim down > com

Re: [U-Boot] Ethernet i210 (e1000 driver) on tegra K1

2015-11-18 Thread Marcel Ziswiler
Hi Stephen By accident I stumbled over this post and by incident now that we at Toradex are working on an Apalis TK1 module design using the same i210/i211 gigabit Ethernet chip as already widely deployed on Apalis T30 we are facing this as well. On Mon, 2015-11-09 at 10:21 -0700, Stephen Warren

[U-Boot] [PATCH] pci: fix address range check in __pci_hose_phys_to_bus()

2015-11-18 Thread Marcel Ziswiler
just like already done in __pci_hose_bus_to_phys(). Reported-by: Ivan Mercier Signed-off-by: Marcel Ziswiler --- drivers/pci/pci_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci_common.c b/drivers/pci/pci_common.c index a64792f..2a14902 100644 --- a/d

[U-Boot] [PATCH v2 01/16] ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow for optional custom USB gadget manufacturer/product/vendor IDs/strings to be specified. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- include/configs/tegra-common-usb-gadget.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH v2 00/16] assortment of tegra fixes/enhancements

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of tegra fixes/enhancements distilled straight from our downstream integration work. Changes in v2: - dropped Colibri T20 specific ONFI detection enablement patch (formerly 9) as I noticed this already being done globally as part of

[U-Boot] [PATCH v2 05/16] colibri_t20: add lcd display support

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Add LCD display support defaulting to VESA VGA resolution. Different resolutions configurable via device tree. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: fixed PWM instance arch/arm/dts/tegra20-colibri.dts| 29

[U-Boot] [PATCH v2 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix PIO read_byte() implementation not only used for the legacy READ ID but also the PARAM command now required for proper ONFI detection. This fix is inspired by Lucas Stach's Linux Tegra NAND driver of late. While at it also disable subpage writes. Signed-o

[U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Integrate cache alignment bounce buffer to workaround issues as follows: Loading file '/boot/zImage' to addr 0x0100 with size 4499152 (0x0044a6d0)... ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop

[U-Boot] [PATCH v2 07/16] colibri_t20: disable PMIC sleep mode on low supply voltage

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler The Colibri T20's PMIC enters a sleep mode on low supply voltage < 3.0V ±2.5% (2.92...3.08V). Rising the main supply voltage again does not bring it back to regular operation. Not even a full reset does bring the module back. A full power cycle was required to re

[U-Boot] [PATCH v2 11/16] colibri_t20: enable ubi/ubifs support

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Now as all is in place actually enable UBI/UBIFS support to be able to boot the Linux kernel and root file system from NAND. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_t20.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH v2 03/16] apalis/colibri_t20/t30: integrate recovery mode detection

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow detecting whether or not U-Boot was launched through the recovery mode of the resp. NVIDIA SoC. Make use of a board specific arch_misc_init() and enable the same via CONFIG_ARCH_MISC_INIT configuration option. Signed-off-by: Marcel Ziswiler --- Changes in v2: Drop

[U-Boot] [PATCH v2 06/16] colibri_t20: add i2c support

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Add I2C support in order to subsequently allow disabling the PMIC sleep mode on low supply voltage. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- arch/arm/dts/tegra20-colibri.dts | 28 include/configs/colibri_t20.h| 4

[U-Boot] [PATCH v2 14/16] apalis/colibri_t20/30: clean-up

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Various clean-ups either in comments, order or spacing without any functional impact: - Add some comments in the device trees resp. reorder some parameters for consistency across all our modules. - Sort some include files alphabetically (while leaving common.h on top of

[U-Boot] [PATCH v2 16/16] apalis/colibri_t30: fix usb dm regression

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Unfortunately currently both Apalis T30 as well as Colibri T30 crash upon starting USB host support. This is due to the following patch not having taken into account that our T30 device trees were defaulting to peripheral only mode instead of otg: commit

[U-Boot] [PATCH v2 04/16] colibri_t20: fix device-tree compatible node

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Use toradex,colibri_t20 as the device-tree compatible node value rather than toradex,t20 in accordance to our Apalis/Colibri T30 products. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- arch/arm/dts/tegra20-colibri.dts | 2 +- 1 file changed, 1 insertion

[U-Boot] [PATCH v2 12/16] apalis/colibri_t20/t30: enable raw initrd support

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable optional raw initrd support to allow boot using an initrd. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- include/configs/apalis_t30.h | 3 +++ include/configs/colibri_t20.h | 3 +++ include/configs/colibri_t30.h | 3 +++ 3 files changed, 9

[U-Boot] [PATCH v2 13/16] apalis/colibri_t20/t30: increase tftp blocksize

2015-07-20 Thread Marcel Ziswiler
ummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: Only limit it to 1536 bytes on Colibri T20 to avoid issues observed otherwise. include/configs/apalis_t30.h | 3 +++ include/configs/colibri_t20.h | 3 +++ include/configs/colibri_t30.h | 3 +++ 3 files

[U-Boot] [PATCH v2 10/16] colibri_t20: enable mtdparts support

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable mtdparts aka dynamic MTD partition support. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: Actually set mtdparts environment variable as part of the board extra ones. include/configs/colibri_t20.h | 14 ++ 1 file changed

[U-Boot] [PATCH v2 02/16] ARM: tegra: allow reading recovery mode boot type

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Add defines to allow reading recovery mode (RCM) boot type from the boot information table (BIT) written by the boot ROM (BR) to the IRAM. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: Reword commit mesage as per Simon's suggestion.

[U-Boot] [PATCH v2 15/16] colibri_t20: fix reset out pin

2015-07-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Make sure SODIMM pin 87 nRESET_OUT is released properly by explicitly setting its pin mux function to GMI. This solves some issues with e.g. USB not being fully operational on carrier boards with USB hubs connected to reset if U-Boot got loaded via recovery mode aka rcm

Re: [U-Boot] [PATCH v2 12/16] apalis/colibri_t20/t30: enable raw initrd support

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:45:18 CEST, Stephen Warren wrote: >On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Enable optional raw initrd support to allow boot using an initrd. > >> diff --git a/include/configs/apalis_t30.h >b/include/c

Re: [U-Boot] [PATCH v2 13/16] apalis/colibri_t20/t30: increase tftp blocksize

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:46:34 CEST, Stephen Warren wrote: >On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: >> From: Max Krummenacher >> >> Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. >> This increases the tftp download speed considerabl

Re: [U-Boot] [PATCH v2 16/16] apalis/colibri_t30: fix usb dm regression

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:48:40 CEST, Stephen Warren wrote: >On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Unfortunately currently both Apalis T30 as well as Colibri T30 crash >> upon starting USB host support. This is due to the following

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:57:14 CEST, Scott Wood wrote: >On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Integrate cache alignment bounce buffer to workaround issues as >follows: >> >> Loading file '/boot/zIm

Re: [U-Boot] [PATCH v2 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 22:00:15 CEST, Scott Wood wrote: >On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Fix PIO read_byte() implementation not only used for the legacy READ >ID >> but also the PARAM command now required for prop

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Marcel Ziswiler
On 28 July 2015 01:32:10 CEST, Scott Wood wrote: >On Mon, 2015-07-27 at 17:28 -0600, Simon Glass wrote: >> Hi Scott, >> >> On 27 July 2015 at 13:57, Scott Wood wrote: >> > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> > > From: Marce

[U-Boot] [PATCH] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler The following commit enforces CONFIG_DM_ETH for USB Ethernet which breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM which this patch fixes. commit 69559093f6173dcfcb041df0995063bdbd07d49b dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH

[U-Boot] [PATCH] dm: usb: fix missing errno include regression

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler If enabling CONFIG_DM_ETH currently compilation fails as follows: drivers/usb/eth/usb_ether.c: In function 'usb_ether_register': drivers/usb/eth/usb_ether.c:72:11: error: 'ENXIO' undeclared (first use in this function) return -ENXIO;

[U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-03 Thread Marcel Ziswiler
Hi there Trying to update one of my patch sets of late made me notice that the ASIX USB to Ethernet stuff if CONFIG_DM_ETH is enabled seems to be rather broken. I already sent two patches to even get that far but even with that reception still does not seem to work (see below). I tested by enablin

Re: [U-Boot] [PATCH] dm: usb: fix missing errno include regression

2015-08-03 Thread Marcel Ziswiler
On Mon, 2015-08-03 at 09:38 -0600, Simon Glass wrote: > Can I please check if you have based this on dm/master? I applied > some > of the patches there and hope to get the rest in over the next week. I doubled checked the mailing list but could not find any relevant stuff. But admittedly I haven

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-03 Thread Marcel Ziswiler
On Mon, 2015-08-03 at 20:48 +0200, Marek Vasut wrote: > This stuff looks more like a breakage in the EHCI controller, no ? Well, but that same EHCI controller works just fine as long as CONFIG_DM_ETH is not defined. ___ U-Boot mailing list U-Boot@lists.

[U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining parts initially implemented by Antmicro. Signed-off-by: Marcel Ziswiler --- Changes in v3 as

[U-Boot] [PATCH v3 0/8] assortment of fixes/enhancements

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of fixes/enhancements distilled straight from our downstream integration work. Marcel Ziswiler (4): net: asix: fix operation without eeprom generic-board: allow showing custom board info colibri_vf: remove spurious new line mtd/nand

[U-Boot] [PATCH v3 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned

[U-Boot] [PATCH v3 8/8] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-08-03 Thread Marcel Ziswiler
rs are printed, with a 512 byte file around 500. When using CONFIG TFTP BLOCKSIZE together with CONFIG_IP_DEFRAG the issue is more notable. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Marek Vasut --- Changes in v2: run it through checkpatch.pl and fix missing s

[U-Boot] [PATCH v3 5/8] colibri_vf: remove spurious new line

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler Tested-by: Marek Vasut Acked-by: Marek Vasut --- include/configs/colibri_vf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h

[U-Boot] [PATCH v3 4/8] logos: add Toradex logo

2015-08-03 Thread Marcel Ziswiler
Logo showed up properly. $ convert tools/logos/toradex-rgb.bmp -type Palette -colors 256 \ -compress none -verbose BMP3:tools/logos/toradex.bmp Signed-off-by: Stefan Agner Signed-off-by: Marcel Ziswiler --- tools/logos/toradex.bmp | Bin 0 -> 24982 bytes 1 file changed, 0 insertions(+)

[U-Boot] [PATCH v3 3/8] generic-board: allow showing custom board info

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed not taking any CONFIG_CUSTOM_BOARDINFO into account. Signed-off-by: Marcel Ziswiler Reviewed-by

[U-Boot] [PATCH v3 6/8] image-fdt.c: store returned error value

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher This fixes the following warning (and the runtime error reporting): ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: M

[U-Boot] [PATCH v3 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-08-03 Thread Marcel Ziswiler
pts. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut --- Changes in v2: mention read(2) behaviour as suggested by Marek fs/fs.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index ac0897d..827b143 100644 --- a

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
On Mon, 2015-08-03 at 23:31 +0200, Marek Vasut wrote: > Acked-by: Marek Vasut > > Joe should pick it, but if you want this through USB tree, just let > me know. Whatever makes most sense. I still hope somebody could pull in the whole series as it has been cooking for a while now. Will send out

[U-Boot] [PATCH v4 0/8] assortment of fixes/enhancements

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of fixes/enhancements distilled straight from our downstream integration work. Marcel Ziswiler (4): net: asix: fix operation without eeprom generic-board: allow showing custom board info colibri_vf: remove spurious new line mtd/nand

[U-Boot] [PATCH v4 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining parts initially implemented by Antmicro. Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut

[U-Boot] [PATCH v4 8/8] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-08-03 Thread Marcel Ziswiler
rs are printed, with a 512 byte file around 500. When using CONFIG TFTP BLOCKSIZE together with CONFIG_IP_DEFRAG the issue is more notable. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Marek Vasut --- Changes in v2: run it through checkpatch.pl and fix missing s

[U-Boot] [PATCH v4 3/8] generic-board: allow showing custom board info

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed not taking any CONFIG_CUSTOM_BOARDINFO into account. Signed-off-by: Marcel Ziswiler Reviewed-by

[U-Boot] [PATCH v4 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned

[U-Boot] [PATCH v4 5/8] colibri_vf: remove spurious new line

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler Tested-by: Marek Vasut Acked-by: Marek Vasut --- include/configs/colibri_vf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h

[U-Boot] [PATCH v4 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-08-03 Thread Marcel Ziswiler
pts. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut --- Changes in v2: mention read(2) behaviour as suggested by Marek fs/fs.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index ac0897d..827b143 100644 --- a

[U-Boot] [PATCH v4 6/8] image-fdt.c: store returned error value

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher This fixes the following warning (and the runtime error reporting): ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: M

[U-Boot] [PATCH v4 4/8] logos: add Toradex logo

2015-08-03 Thread Marcel Ziswiler
Logo showed up properly. $ convert tools/logos/toradex-rgb.bmp -type Palette -colors 256 \ -compress none -verbose BMP3:tools/logos/toradex.bmp Signed-off-by: Stefan Agner Signed-off-by: Marcel Ziswiler --- tools/logos/toradex.bmp | Bin 0 -> 24982 bytes 1 file changed, 0 insertions(+)

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 00:36 +0200, Marek Vasut wrote: > Maybe you should've split it into separate patches, that way this > could > be picked by various subsystem maintainers separately ;-) OK, I will send a v5 split up into separate patches to be picked up by the various subsystem maintainers.

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-04 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 01:10 +0200, Marek Vasut wrote: > This trims down the scope quite considerably. Does the controller > with with > CONFIG_DM_ETH enabled if you plug in a USB stick instead of an > ethernet ? Yes, USB sticks work just fine. It's just the USB Ethernet stuff which does no lon

Re: [U-Boot] [PATCH 2/2] Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

2015-08-04 Thread Marcel Ziswiler
or code on T124/114/30/20 but needs test. > > Corrections to divm mask vs shift and T20/30 divN masks thanks to > Marcel Ziswiler. > > Signed-off-by: Tom Warren While this boots on Colibri T20/T30 as well as Apalis T30 there is still something askew on T20 as e.g. USB Ethernet is

[U-Boot] [RESEND PATCH] common/lcd_console: fix console/logo regression

2015-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler The following commit changed the order of the column vs. row parameter to the lcd_init_console() function but missed actually changing it as well the second time it is called from lcd_clear() which resulted in a garbled text console which this patch fixes. commit

Re: [U-Boot] [PATCH] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-04 Thread Marcel Ziswiler
On 5 August 2015 05:53:44 CEST, Simon Glass wrote: >I think this commit message might need a few tweaks. This is not a >regression as mentioned elsewhere. Also I don't thing it means >CONFIG_DM here. Maybe CONFIG_DM_USB? Yes you are right. It's about DM_USB of course, sorry. >There was a repo

Re: [U-Boot] [PATCH 2/2] Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

2015-08-05 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 15:36 +, Tom Warren wrote: > Thanks. My T20/T30 boards are moth-balled, so I don't test on them. > T210 USB is fine. > If you can provide CAR register dumps (0x60006000 - 0x60006FFF) on > T20 I can take a look. I had a look at it. Looks like you missed the cpcon stuff

[U-Boot] [PATCH] tegra: pll: fix pllx cpcon in pllinfo table for t20/t30

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix CPCON mask and shift of PLLX for T20 as well as T30. While the former's PLLX did not even lock any more resulting is super slow operation the later seemed to still lock OK. Nonetheless I this patch fixes it for both. Signed-off-by: Marcel Ziswiler --- Note: This

[U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler The following commit enforces CONFIG_DM_ETH for USB Ethernet which breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM_ETH which this patch fixes. commit 69559093f6173dcfcb041df0995063bdbd07d49b dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH

[U-Boot] [RESEND PATCH v5] fs/fs.c: read up to EOF when len would read past EOF

2015-08-05 Thread Marcel Ziswiler
pts. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut --- Changes in v5: split up into separate patches to be picked up by the various subsystem maintainers as suggested by Marek Changes in v2: mention read(2) behaviour as suggested by Marek fs/fs.c

[U-Boot] [RESEND PATCH v5] colibri_vf: remove spurious new line

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler Tested-by: Marek Vasut Acked-by: Marek Vasut --- Changes in v5: split up into separate patches to be picked up by the various subsystem maintainers as suggested by Marek include/configs

[U-Boot] [RESEND PATCH v5] mtd/nand/ubi: assortment of alignment fixes

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned

<    2   3   4   5   6   7   8   9   10   11   >