[U-Boot] [RESEND PATCH v5] net: asix: fix operation without eeprom

2015-08-05 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] [RESEND PATCH v5] image-fdt.c: store returned error value

2015-08-05 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] [RESEND PATCH v5] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-08-05 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 v5: split up into separate patches to be pick

[U-Boot] [RESEND PATCH v5] generic-board: allow showing custom board info

2015-08-05 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] [RESEND PATCH v5] logos: add Toradex logo

2015-08-05 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 --- Changes in v5: split up into separate patches to be picked up by the various subsystem

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

2015-08-05 Thread Marcel Ziswiler
On Wed, 2015-08-05 at 15:23 +, Tom Warren wrote: > Do you mind if I just roll this into my pllinfo patch when I apply it > to u-boot-tegra/master and send the PR? I'll be sure to credit your > work! Fine with me and no need for any further credits. Thanks Tom. BTW: We are currently planning

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

2015-08-05 Thread Marcel Ziswiler
On Wed, 2015-08-05 at 17:19 +0200, Marek Vasut wrote: > Dumb question -- won't it make more sense to add USB_HOST_ETHER > Kconfig > option and make it depend on CONFIG_DM_USB ? I don't think it depends on this. As I understand currently one would be able to run a) USB_HOST_ETHER either without DM

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

2015-08-05 Thread Marcel Ziswiler
On Wed, 2015-08-05 at 09:29 -0600, Simon Glass wrote: > Acked-by: Simon Glass > > What do you think about changing Tegra over to CONFIG_DM_ETH? Sure, once it actually works (;-p). Right now I would just be happy if it works at all again (e.g. reason for this patch). > Do you > have any leads

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

2015-08-05 Thread Marcel Ziswiler
On Tue, 2015-07-28 at 03:55 +0200, Marcel Ziswiler wrote: > > On 27 July 2015 21:57:14 CEST, Scott Wood > wrote: > > > - writel(virt_to_phys(buf), &info->reg->data_block_ptr); > > > + writel((u32)bbstate.bounce_buffer, &info->reg > > &g

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

2015-08-05 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 v3: - dropped apalis/colibri_t20/t30 specific raw initrd support enablement (formerly 12) - drop unrelated subpage writes disabling in (8) to

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

2015-08-05 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 Acked-by: Stephen Warren --- Changes in v2: Reword commit mesage as per

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

2015-08-05 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 Acked-by: Stephen Warren

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

2015-08-05 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 Acked-by: Stephen Warren --- arch/arm/dts/tegra20-colibri.dts | 28 include/configs

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

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable mtdparts aka dynamic MTD partition support. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: Actually set mtdparts environment variable as part of the board extra ones. include/configs/colibri_t20.h | 14

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

2015-08-05 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 v3 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix PIO read_byte() implementation not only used for the legacy READ ID but also the PARAM command required for proper ONFI detection. This fix is inspired by Lucas Stach's Linux Tegra NAND driver of late (not mainline yet but getting there soon I hope). I va

[U-Boot] [PATCH v3 16/16] tegra: nand: disable subpage writes

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Disable subpage writes as we do not provide ecc->hwctl. Signed-off-by: Marcel Ziswiler --- drivers/mtd/nand/tegra_nand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/tegra_nand.c b/drivers/mtd/nand/tegra_nand.c index 723d0ec..debad4f 100

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

2015-08-05 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 Acked-by: Stephen Warren --- include/configs/colibri_t20.h | 8 1 file changed, 8 insertions(+) diff

[U-Boot] [PATCH v3 12/16] apalis/colibri_t20/t30: increase tftp blocksize

2015-08-05 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 v3 14/16] colibri_t20: fix reset out pin

2015-08-05 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

[U-Boot] [PATCH v3 13/16] apalis/colibri_t20/30: clean-up

2015-08-05 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 v3 05/16] colibri_t20: add lcd display support

2015-08-05 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 Acked-by: Stephen Warren --- Changes in v2: fixed PWM instance arch/arm/dts/tegra20-colibri.dts

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

2015-08-05 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 Acked-by: Stephen Warren --- arch/arm/dts/tegra20-colibri.dts | 2 +- 1

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

2015-08-05 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 Acked-by: Stephen Warren --- include/configs/tegra-common-usb-gadget.h | 6 ++ 1 file changed, 6 insertions

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

2015-08-05 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 v3 07/16] colibri_t20: disable PMIC sleep mode on low supply voltage

2015-08-05 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

Re: [U-Boot] [PATCH v3 00/16] assortment of tegra fixes/enhancements

2015-08-05 Thread Marcel Ziswiler
On 6 August 2015 01:40:05 CEST, Tom Warren wrote: >Looks like almost all of these have been Acked-by StephenW and/or >Reviewed-by SimonG. Only a couple are missing those tags - the NAND one >and one other (can't think of it now). > >I'll apply them to u-boot-tegra/next. I've got u-boot-tegra/ma

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

2015-08-06 Thread Marcel Ziswiler
On Thu, 2015-08-06 at 23:29 -0600, Simon Glass wrote: > The memalign() function arguments are around the wrong way! I assume you meant that one: diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c index 3c3e082..11d26be 100644 --- a/drivers/usb/eth/usb_ether.c +++ b/drivers/u

Re: [U-Boot] [PATCH v2 1/2] Move malloc_cache_aligned() to its own header

2015-09-03 Thread Marcel Ziswiler
eeds > to be > included after common.h and people might be confused by this. With > the name > memalign.h it fits nicely after malloc() in most cases. > > Signed-off-by: Simon Glass The series successfully NAND boot tested on Colibri T20 512MB V1.2A therefore Acked-by: Marcel

Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

2015-12-19 Thread Marcel Ziswiler
On Thu, 2015-12-17 at 09:44 -0700, Stephen Warren wrote: > IIRC, Tegra support in U-Boot was added in the days before DT was a  > thing, or a widespread thing at least. (Oh, happy days!) I imagine > that  > the config option was simply never removed since there was no > specific  > need to do so.

Re: [U-Boot] [PATCH] fw_env.h: include autoconf.h

2015-05-05 Thread Marcel Ziswiler
On Thu, 2015-04-16 at 13:20 -0400, Tom Rini wrote: > I'll let Masahiro comment on if this is the best way to fix the compile > problem. What's the status on this one? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

[U-Boot] [REGRESSION] commit 3ef46a9 "Fix hash verification" breaks crc32 verify

2015-05-05 Thread Marcel Ziswiler
U-Boot SPL 2015.04-00631-gace97d2 (May 05 2015 - 13:32:44) U-Boot 2015.04-00631-gace97d2 (May 05 2015 - 13:32:44) TEGRA30 Model: Toradex Colibri T30 DRAM: 1 GiB iC: Tegra SD/MMC: 0, Tegra SD/MMC: 1 In:serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found.

[U-Boot] [PATCH] common: hash: fix crc32 verify

2015-05-05 Thread Marcel Ziswiler
From: Marcel Ziswiler did not work: Colibri T30 # crc32 0x8000 0x100 crc32 for 8000 ... 80ff ==> 9eb4f5ca Colibri T30 # crc32 -v 0x8000 0x100 c9a057b3 crc32 for 8000 ... 80ff ==> 9eb4f5ca != ** ERROR ** Colibri T30 # crc32 -v 0x8000 0x100 9eb4f5ca crc

Re: [U-Boot] [PATCH] common: hash: fix crc32 verify

2015-05-05 Thread Marcel Ziswiler
On 5 May 2015 19:25:26 CEST, Joe Hershberger wrote: >This is clearly the wrong way to fix this issue since it breaks pretty >much every other aspect of hashing. Proper fix forthcoming. I admit that I don't know nothing about any of that hashing stuff off late but it is crystal clear that Nikol

Re: [U-Boot] [Patch 2/3] Revert "e1000: fix sw fw sync on igb i210/i211"

2015-05-20 Thread Marcel Ziswiler
atch was trying to resolve is now resolved > by properly releasing the semaphore once no longer needed. > > Cc: Marcel Ziswiler > Cc: Marek Vasut > Cc: Aneesh Bansal > Cc: Naveen Burmi > Cc: Po Liu > Cc: Bin Meng > Cc: Alison Wang > Cc: Reinhard Arlt > Cc: S

Re: [U-Boot] [Patch 1/3] e1000: releasing semaphore once no longer needed

2015-05-20 Thread Marcel Ziswiler
On Tue, 2015-05-19 at 10:01 -0700, Tim Harvey wrote: > Once the hwsw semaphore is acquired, it must be released when access to the > hw is completed. Without this subsequent calls to acquire will timeout > obtaining the semaphore. > > Cc: Marcel Ziswiler > Cc: Marek Vasut &

Re: [U-Boot] [Patch 3/3] e1000: remove unnecessary clearing of SWSM.SWSM_SMBI

2015-05-20 Thread Marcel Ziswiler
en no longer needed. > > Cc: Marcel Ziswiler > Cc: Marek Vasut > Cc: Aneesh Bansal > Cc: Naveen Burmi > Cc: Po Liu > Cc: Bin Meng > Cc: Alison Wang > Cc: Reinhard Arlt > Cc: Shengzhou Liu > Cc: York Sun > Signed-off-by: Tim Harvey > --- > drive

Re: [U-Boot] [Patch 2/3] Revert "e1000: fix sw fw sync on igb i210/i211"

2015-05-20 Thread Marcel Ziswiler
On Wed, 2015-05-20 at 06:15 -0700, Tim Harvey wrote: > > Tested on Apalis T30 1GB V1.1A with properly fused i211 > > Tested on Apalis T30 2GB V1.1A with iNVM fused i210 > > Tested on Apalis T30 1GB V1.0A with tools only aka non fused i211 > > Tested-by: Marcel Ziswiler

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

2015-07-01 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 --- drivers/usb/eth

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

2015-07-01 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 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-07-01 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 4/8] logos: add Toradex logo

2015-07-01 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 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-07-01 Thread Marcel Ziswiler
fails in the shell: offset = 0 len = chunksize do read file, offset, len write data until bytes_read < len The patch changes the behaviour to printing an informational message and returning the actual read number of bytes. Signed-off-by: Max Krummenacher Signed-off-by: Mar

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

2015-07-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Signed-off-by: Marcel Ziswiler --- common/board_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_info.c b/common

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

2015-07-01 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 --- common/i

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

2015-07-01 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 --- net/tftp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/tftp.c b/net/

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

2015-07-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler --- 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 index aff2810..2523f32 100644 --- a/include

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

2015-07-01 Thread Marcel Ziswiler
On 2 July 2015 07:46:19 CEST, Marek Vasut wrote: >So this behaves like read(2) now, right ? Exactly for convenient use in U-Boot scripts. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ U-Boot mailing list U-Boot@lists.de

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

2015-07-01 Thread Marcel Ziswiler
On 2 July 2015 07:50:59 CEST, Marek Vasut wrote: >On Thursday, July 02, 2015 at 01:04:47 AM, Marcel Ziswiler wrote: > >Hi! > >[...] > >> @@ -64,8 +67,14 @@ >> AX_MEDIUM_AC | AX_MEDIUM_RE) >> >> /* AX88772 & AX88178 RX_CTL values */ >>

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

2015-07-06 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. While at it also sort the include files alphabetically

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

2015-07-06 Thread Marcel Ziswiler
From: Marcel Ziswiler 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 --- arch/arm/include/asm/arch-tegra/tegra.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include

[U-Boot] [PATCH 09/13] colibri_t20: enable nand onfi detection

2015-07-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Now after having fixed NAND ONFI detection actually enable it to make the various Colibri T20 module versions with different NAND chips assembled actually work. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_t20.h | 1 + 1 file changed, 1 insertion(+) diff

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

2015-07-06 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 --- arch/arm/dts/tegra20-colibri.dts | 28 include/configs/colibri_t20.h| 4 2 files changed, 32

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

2015-07-06 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 10/13] mtd/nand/tegra: alignment workaround

2015-07-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Introduce 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 05/13] colibri_t20: add LCD display support

2015-07-06 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 --- arch/arm/dts/tegra20-colibri.dts| 29 + board/toradex/colibri_t20/colibri_t20.c | 18

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

2015-07-06 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 11/13] colibri_t20: enable mtdparts support

2015-07-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable mtdparts aka dynamic MTD partition support. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_t20.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index 6dc1c3a..1ac7a41

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

2015-07-06 Thread Marcel Ziswiler
ummenacher Signed-off-by: Marcel Ziswiler --- include/configs/apalis_t30.h | 3 +++ include/configs/colibri_t20.h | 3 +++ include/configs/colibri_t30.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h index 03d2ee0..7fc4bd9 10

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

2015-07-06 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 --- include/configs/tegra-common-usb-gadget.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/tegra-common-usb-gadget.h

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

2015-07-06 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 --- arch/arm/dts/tegra20-colibri.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2015-07-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable optional raw initrd support to allow boot using an initrd. Signed-off-by: Marcel Ziswiler --- include/configs/apalis_t30.h | 3 +++ include/configs/colibri_t20.h | 3 +++ include/configs/colibri_t30.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a

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

2015-07-06 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of tegra fixes/enhancements distilled straight from our downstream integration work. Marcel Ziswiler (12): ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings ARM: tegra: allow reading recovery mode boot type apalis

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

2015-07-06 Thread Marcel Ziswiler
On 6 July 2015 18:38:21 CEST, Simon Glass wrote: >Out of interest, is this just a message for the user? Why is it useful? Well, we or customers might do other interesting things on entering rcm like stopping autoboot or automatically start ums. >Changes look fine, but clean-up should be in a

Re: [U-Boot] [PATCH 05/13] colibri_t20: add LCD display support

2015-07-07 Thread Marcel Ziswiler
Hi Simon On Mon, 2015-07-06 at 10:38 -0600, Simon Glass wrote: > I wonder why this code doesn't go in funcmux_select()? It has a > parameter to select the variant. Yeah, but I believe Tegra 2 aka T20 with its rather special pin group arrangement has never really been properly converted to using

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

2015-07-07 Thread Marcel Ziswiler
Hi Joe On 8 July 2015 05:55:28 CEST, Joe Hershberger wrote: >Definitely use checkpatch.pl on this series. Yeah, it's been late and I somehow forgot about it. I already run v2 about to be posted through it now. > I recommend patman. So far I have not used that one yet but thanks for the tip.

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

2015-07-08 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 v2 4/8] logos: add Toradex logo

2015-07-08 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 --- Changes in v2: none tools/logos/toradex.bmp | Bin 0 -> 24982 bytes 1 file changed

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

2015-07-08 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 v2: - run

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

2015-07-08 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 v2: none include/configs/colibri_vf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include

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

2015-07-08 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 --- Changes

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

2015-07-08 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 v2 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-07-08 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 v2 6/8] image-fdt.c: store returned error value

2015-07-08 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 v2 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-07-08 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 v2 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-07-09 Thread Marcel Ziswiler
Hi Scott On Wed, 2015-07-08 at 18:25 -0500, Scott Wood wrote: > > As per discussion on v1, this isn't enough to guarantee that the stop address > will be aligned. There needs to be a wrapper around memalign() that cache- > aligns the size as well. > > -Scott Sorry, that isn't quite clear to me

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

2015-07-09 Thread Marcel Ziswiler
On Wed, 2015-07-08 at 14:57 -0600, Stephen Warren wrote: > But that's not what this patch does; it simply prints a message. It > doesn't seem terribly useful. Agreed but I look at it more like a documented entry point. In our downstream U-Boot we use it to stop autoboot to allow for manual reco

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

2015-07-09 Thread Marcel Ziswiler
On Wed, 2015-07-08 at 15:03 -0600, Stephen Warren wrote: > > Do either of patches 12 and 13 make sense for all Tegra boards? In German we would call that a Gretchenfrage. BTW: I just noticed that somehow on T20 one can not quite use 16K as on the T30 (e.g. it fails with "EHCI timed out on TD - t

[U-Boot] [PATCH] Tegra: PLL: fix per-SoC pllinfo table regression

2015-07-10 Thread Marcel Ziswiler
From: Marcel Ziswiler The following commit introduced per-SoC pllinfo tables but unfortunately there were two generic issues (e.g. mask vs. shift mixed up and wrongly used parenthesis) plus two each masks being wrong in the pllinfo tables for T20/T30 which this patch fixes. commit

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

2015-07-11 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 2/3] Revert "e1000: fix sw fw sync on igb i210/i211"

2015-07-11 Thread Marcel Ziswiler
t; https://patchwork.ozlabs.org/patch/473996/ > > Regards, > > Tim Hi Tim Sure. Sorry, I thought my previously given tested-by would be stronger than just an acked-by. Here you go for the whole series: Acked-by Marcel Ziswiler Cheers Marcel

[U-Boot] [PATCH v2 2/4] apalis/colibri_t30: fix MMC/SD card detect GPIOs

2015-03-01 Thread Marcel Ziswiler
This fixes the MMC/SD card detect GPIOs for Apalis T30 which got broken by the following commit: 2b2b50bc8748 "dm: tegra: dts: Use TEGRA_GPIO() macro for all GPIOs" While at it also re-add the comments describing which particular Apalis/Colibri pins those GPIOs are on. Signed-off-

Re: [U-Boot] [PATCH 4/4] apalis/colibri_t30: add misc cmds increase buf sizes and max args

2015-03-01 Thread Marcel Ziswiler
On Tue, 2015-02-17 at 13:38 -0700, Stephen Warren wrote: > > CONFIG_CMDLINE_EDITING > > README isn't very informative on this subject. What does this add? I can > already up-arrow and edit command-lines on all Tegra devices. If it's > not that big, I wonder if enabling it for all Tegra would mak

[U-Boot] [PATCH v2 1/4] dm: tegra: dts: add aliases for spi on apalis_t30

2015-03-01 Thread Marcel Ziswiler
All boards with a SPI interface have a suitable spi alias except Apalis T30. Add these missing aliases just as the following commit did for the others: d2f60f93325a "dm: tegra: dts: Add aliases for spi on tegra30 boards" Signed-off-by: Marcel Ziswiler --- Changes in v2: - Incl

[U-Boot] [PATCH v2 3/4] apalis_t30: enable gigabit ethernet via pcie

2015-03-01 Thread Marcel Ziswiler
Now with all the Tegra PCIe and Intel E1000 gigabit Ethernet driver updates being merged actually make use of it. While at it get rid of the USB networking support which now does not make much sense any longer. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 4/4] apalis/colibri_t30: add misc cmds increase buf sizes and max args

2015-03-01 Thread Marcel Ziswiler
Increase the maximum number of arguments allowed: CONFIG_SYS_MAXARGS Signed-off-by: Marcel Ziswiler --- Changes in v2: - Drop CONFIG_CMDLINE_EDITING and CONFIG_CMD_FS_GENERIC as they already get pulled in via config_distro_defaults.h as noted by Stephen include/configs/apalis_t30.h | 19

[U-Boot] [PATCH v2 0/4] various fixes for apalis/colibri_t30

2015-03-01 Thread Marcel Ziswiler
pulled in via config_distro_defaults.h as noted by Stephen Marcel Ziswiler (4): dm: tegra: dts: add aliases for spi on apalis_t30 apalis/colibri_t30: fix MMC/SD card detect GPIOs apalis_t30: enable gigabit ethernet via pcie apalis/colibri_t30: add misc cmds increase buf sizes and max args

Re: [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270

2015-03-02 Thread Marcel Ziswiler
On Mon, 2015-03-02 at 11:01 +0100, Marek Vasut wrote: > Uh, sorry about that. Next time, please just poke me in case you don't > get reply in a reasonable amount of time. > > Applied all, thanks! No problem, I guess that's what RESENDs are for (;-p). Maybe it also had to do with me initially using

[U-Boot] [PATCH] arm: pxa: introducing cpuinfo display for marvell pxa270m

2015-03-04 Thread Marcel Ziswiler
According to table 2-3 on page 87 of Marvell's latest PXA270 Specification Update Rev. I from 2010.04.19 [1] there exists a breed of chips with a new CPU ID for PXA270M A1 stepping which our latest Colibri PXA270 V2.4A modules actually have assembled. This patch helps in correctly identifying those

Re: [U-Boot] [PATCH v2 0/4] various fixes for apalis/colibri_t30

2015-03-04 Thread Marcel Ziswiler
On Mon, 2015-03-02 at 09:56 -0700, Stephen Warren wrote: > The series, > Acked-by: Stephen Warren Thanks mate. Anybody actually gona pick that one up please? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 0/4] various fixes for apalis/colibri_t30

2015-03-04 Thread Marcel Ziswiler
On 4 March 2015 17:03:17 CET, Tom Warren >I'll apply this series to u-boot-tegra/next today, and if everything >checks out, send a PR to Albert tomorrow. Perfect, thanks Tom. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

[U-Boot] [PATCH] ARM: tegra: fix colibri_t20 machine type

2015-03-23 Thread Marcel Ziswiler
A while ago I got Russell to change the machine type of our Colibri T20 from COLIBRI_TEGRA2 to COLIBRI_T20 which is also reflected in his machine registry: http://www.arm.linux.org.uk/developer/machines/list.php?id=3323 --- arch/arm/include/asm/mach-types.h | 10 +- 1 file changed, 5 inse

[U-Boot] [PATCH] ARM: tegra: fix colibri_t20 asix reset

2015-03-23 Thread Marcel Ziswiler
Fix ASIX USB to Ethernet chip reset. --- board/toradex/colibri_t20/colibri_t20.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 4656094..5d8bdec 100644 --- a/board/toradex/colibri_

[U-Boot] [PATCH] ARM: tegra: update colibri_t20 configuration

2015-03-23 Thread Marcel Ziswiler
Bring the Colibri T20 configuration in-line with Apalis/Colibri T30. --- include/configs/colibri_t20.h | 31 +++ 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index e80e9ed..c17f245 100644 --

[U-Boot] [PATCH 5/5] ARM: tegra: rename colibri_t20 board

2015-03-23 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed for Apalis/Colibri T30 get rid of the carrier board in the board naming. While at it also bring the prompt more in line with our other products. --- arch/arm/mach-tegra/tegra20/Kconfig | 2 +- board

[U-Boot] [PATCH 0/5] rename colibri_t20

2015-03-23 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed upon for Apalis/Colibri T30 [1] get rid of the carrier board post fix in the board/configuration/device-tree naming. [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/192041 Marcel Ziswiler (5): ARM: tegra: rename

[U-Boot] [PATCH 1/5] ARM: tegra: rename colibri_t20 configuration

2015-03-23 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed for Apalis/Colibri T30 get rid of the carrier board in the configuration naming. --- board/toradex/colibri_t20_iris/Kconfig| 2 +- configs/{colibri_t20_iris_defconfig => colibri_t20_defconfig} | 0 inclu

[U-Boot] [PATCH 3/5] ARM: tegra: get rid of colibri_t20-common

2015-03-23 Thread Marcel Ziswiler
As a preparatory step to renaming the board folder as well first get rid of the colibri_t20-common after having integrated it into colibri_t20_iris for now. While at it also migrate to using NVIDIA's common.mk magic. --- .../colibri_t20-common/colibri_t20-common.h| 7 - board/toradex

[U-Boot] [PATCH 2/5] ARM: tegra: rename colibri_t20 device-tree

2015-03-23 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed for Apalis/Colibri T30 get rid of the carrier board in the device-tree naming. --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/{tegra20-colibri_t20_iris.dts => tegra20-colibri.dts} |

[U-Boot] [PATCH 4/5] ARM: tegra: rename colibri_t20 board folder

2015-03-23 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed for Apalis/Colibri T30 get rid of the carrier board in the board folder naming. Please note that this temporarily breaks the build as Kconfig within this folder will require changing as well. --- arch/arm/mach-tegra/tegra20/Kc

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