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

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

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

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

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

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

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

2013-07-01 Thread Stefan Agner
is also available at Github: https://github.com/falstaff84/u-boot Ali, could you review those patch and include it in your next submission? When is your next submission planned? I'm happy to help testing/fixing remaining problems... Best regards, Stefan Agner Stefan Agner (3): btrfs: use

Re: [U-Boot] [PATCH v2 1/6] am335x_evm: Make NAND support modular

2013-07-12 Thread Stefan Agner
Am 2013-07-11 15:54, schrieb Justin Waters: Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. If NAND is not enabled, we could also ifdef the SPI/MTD/CMD_FS configurations since they are not used

Re: [U-Boot] [PATCH v2 0/6] Enhance support for BeagleBone Black

2013-07-13 Thread Stefan Agner
am335x_evm: Add am335x_boneblack variant Applied your patches on v2013.07-rc3 and compiled the beaglebone target. Works fine on my BeagleBone Black. Tested-by: Stefan Agner ste...@agner.ch -- Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] Getting U-Boot running on Toradex Colibri T20 on Iris board

2013-09-26 Thread Stefan Agner
Am 2013-08-07 10:15, schrieb Andrzej Telszewski: Hi, I'm trying to get the U-Boot running on the Iris board with the Toradex Colibri T20 module. I was able to flash the U-Boot and it starts but then immediately stops with the only message being: U-Boot 2013.07 (Aug 06 2013 - 17:47:43)

[U-Boot] [PATCH] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-13 Thread Stefan Agner
the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/usb/host/ehci-tegra.c | 22

[U-Boot] [PATCH v2] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-14 Thread Stefan Agner
the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Also use the slightly different bit fields of first USB, (USBD) on Tegra 2. Signed-off-by: Stefan Agner

Re: [U-Boot] [PATCH v2] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-14 Thread Stefan Agner
Am 2014-02-14 23:45, schrieb Stefan Agner: /* Select ULPI parallel interface */ - clrsetbits_le32(usbctlr-port_sc1, PTS_MASK, PTS_ULPI PTS_SHIFT); + if (!controller-has_hostpc) { + clrsetbits_le32(usbctlr-port_sc1, PTS_MASK, + PTS_ULPI

[U-Boot] [PATCH v3 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-02-16 Thread Stefan Agner
Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/usb/host/ehci-tegra.c | 3 +++ 1

[U-Boot] [PATCH v3 0/3] ubs: tegra: two fixes and cleanup

2014-02-16 Thread Stefan Agner
this merge, if yes, I think then its definitely worth doing it. Stefan Agner (3): usb: tegra: fix USB2 powerdown for Tegra30 and later usb: tegra: fix PHY configuration usb: tegra: combine header file arch/arm/include/asm/arch-tegra/usb.h| 215 ++- arch/arm

[U-Boot] [PATCH v3 3/3] usb: tegra: combine header file

2014-02-16 Thread Stefan Agner
Combine the Tegra USB header file into one header file for all SoCs. Use ifdef to account for the difference, especially Tegra20 is quite different from newer SoCs. This avoids duplication especially between Tegra30 and newer devices. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm

[U-Boot] [PATCH v3 2/3] usb: tegra: fix PHY configuration

2014-02-16 Thread Stefan Agner
use the slightly different bit fields of first USB, (USBD) on Tegra20 and move those definitions to the Tegra20 specific header file. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-tegra/usb.h | 5 - arch/arm/include/asm/arch-tegra20/usb.h | 7 ++- drivers/usb

Re: [U-Boot] [PATCH v3 3/3] usb: tegra: combine header file

2014-02-18 Thread Stefan Agner
Am 2014-02-18 20:27, schrieb Stephen Warren: On 02/16/2014 12:50 PM, Stefan Agner wrote: +#if defined(CONFIG_TEGRA20) || defined(CONFIG_TEGRA30) +/* USB2_IF_ULPI_TIMING_CTRL_0 */ +#define ULPI_OUTPUT_PINMUX_BYP (1 10) +#define ULPI_CLKOUT_PINMUX_BYP

[U-Boot] [PATCH v4 2/3] usb: tegra: fix PHY configuration

2014-02-22 Thread Stefan Agner
use the slightly different bit fields of first USB, (USBD) on Tegra20 and move those definitions to the Tegra20 specific header file. Reviewed-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-tegra/usb.h | 5 - arch/arm/include

[U-Boot] [PATCH v4 0/3] ubs: tegra: two fixes and cleanup

2014-02-22 Thread Stefan Agner
and other USB ports into account port_sc1 --- Stefan Agner (3): usb: tegra: fix USB2 powerdown for Tegra30 and later usb: tegra: fix PHY configuration usb: tegra: combine header file arch/arm/include/asm/arch-tegra/usb.h| 211 ++- arch/arm/include/asm/arch-tegra114

[U-Boot] [PATCH v4 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-02-22 Thread Stefan Agner
Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan Agner ste...@agner.ch

[U-Boot] [PATCH v4 3/3] usb: tegra: combine header file

2014-02-22 Thread Stefan Agner
-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-tegra/usb.h| 214 +++ arch/arm/include/asm/arch-tegra114/usb.h | 156 -- arch/arm/include/asm/arch-tegra20/usb.h | 160 --- arch/arm/include/asm/arch-tegra30/usb.h

Re: [U-Boot] [PATCH v4 3/3] usb: tegra: combine header file

2014-03-03 Thread Stefan Agner
Am 2014-02-24 19:43, schrieb Stephen Warren: Are you planning on sending a later patch which removes arch/arm/include/asm/arch-tegra124/usb.h too? I did not noticed that file, I created the patch on top of upstream U-Boot. In which branch/repo can I find this file? git.denx.de seems to be down

[U-Boot] [PATCH v5 2/3] usb: tegra: fix PHY configuration

2014-03-03 Thread Stefan Agner
use the slightly different bit fields of first USB, (USBD) on Tegra20 and move those definitions to the Tegra20 specific header file. Reviewed-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-tegra/usb.h | 5 - arch/arm/include

[U-Boot] [PATCH v5 0/3] ubs: tegra: two fixes and cleanup

2014-03-03 Thread Stefan Agner
files Changes since v1: - Take differences between USBD and other USB ports into account port_sc1 --- Stefan Agner (3): usb: tegra: fix USB2 powerdown for Tegra30 and later usb: tegra: fix PHY configuration usb: tegra: combine header file arch/arm/include/asm/arch-tegra/usb.h| 223

[U-Boot] [PATCH v5 3/3] usb: tegra: combine header file

2014-03-03 Thread Stefan Agner
Combine the Tegra USB header file into one header file for all SoCs. Use ifdef to account for the difference, especially Tegra20 is quite different from newer SoCs. This avoids duplication, mainly for Tegra30 and newer devices. Reviewed-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan

[U-Boot] [PATCH v5 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-03-03 Thread Stefan Agner
Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan Agner ste...@agner.ch

Re: [U-Boot] [PATCH] vf610twr: Tune DDR initialization settings

2014-07-21 Thread Stefan Agner
Am 2014-05-14 23:29, schrieb Anthony Felice: Removed settings in unsupported register fields. They didn’t do anything, and in most cases, were not documented in the reference manual. Changed register settings to comply with JEDEC required values. Changed timing parameters because they

[U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Stefan Agner
This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment and boot - USB host/USB client (on the dual role port) - Network (via ASIX USB) Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/Kconfig

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Stefan Agner
Hi Simon, Am 2014-07-31 19:41, schrieb Simon Glass: Hi Stefan, On 31 July 2014 18:36, Stefan Agner ste...@agner.ch wrote: This adds board support for the Toradex Colibri T30 module. A few quick questions below... Working functions: - SD card boot - eMMC environment and boot

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-02 Thread Stefan Agner
Am 2014-07-31 23:55, schrieb Simon Glass: Hi Stefan, On 31 July 2014 19:00, Stefan Agner ste...@agner.ch wrote: Hi Simon, Am 2014-07-31 19:41, schrieb Simon Glass: Hi Stefan, On 31 July 2014 18:36, Stefan Agner ste...@agner.ch wrote: This adds board support for the Toradex Colibri T30

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-02 Thread Stefan Agner
Am 2014-07-31 20:21, schrieb Stephen Warren: On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment and boot - USB host/USB client (on the dual role port) - Network (via ASIX USB

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Stefan Agner
Am 2014-08-04 19:16, schrieb Tom Rini: On Mon, Aug 04, 2014 at 11:02:28AM -0600, Stephen Warren wrote: On 08/02/2014 08:09 AM, Stefan Agner wrote: Am 2014-07-31 20:21, schrieb Stephen Warren: On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Stefan Agner
Am 2014-08-04 19:02, schrieb Stephen Warren: On 08/02/2014 08:09 AM, Stefan Agner wrote: Am 2014-07-31 20:21, schrieb Stephen Warren: On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment

[U-Boot] [PATCH v2] ARM: tegra: add Colibri T30 board support

2014-08-05 Thread Stefan Agner
This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment and boot - USB host/USB client (on the dual role port) - Network (via ASIX USB) Signed-off-by: Stefan Agner ste...@agner.ch --- This patch requires Stephens patch ARM: tegra: enable

[U-Boot] [PATCH 2/4] arm: vf610: add NFC clock support

2014-08-06 Thread Stefan Agner
Add NFC (NAND Flash Controller) clock support and enable them at board initialization time. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-vf610/crm_regs.h | 14 ++ arch/arm/include/asm/arch-vf610/imx-regs.h | 1 + 2 files changed, 15 insertions(+) diff

[U-Boot] [PATCH 0/4] arm: vf610: add NAND flash support

2014-08-06 Thread Stefan Agner
This patch set adds NAND Flash Controller (NFC) support for Freescale Vybrid ARM SoCs (vf610). The driver is based on Bill Pringlemeirs prelineary patch sent in January 2014 to the MTD mailing list: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226623.html Stefan Agner (4

[U-Boot] [PATCH 1/4] arm: vf610: add NFC pin mux

2014-08-06 Thread Stefan Agner
Add pin mux for NAND Flash Controller (NFC). NAND can be connected using 8 or 16 data lines, this patch adds pin mux entries for all 16 data lines. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 34 +++ arch/arm/include/asm

[U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-06 Thread Stefan Agner
This adds initial support for Freescale NFC (NAND Flash Controller). The IP is used in ARM based Vybrid SoCs as well as on some PowerPC devices. This driver is only tested on Vybrid. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/fsl_nfc.c

[U-Boot] [PATCH 4/4] arm: vf610: add NAND support for vf610twr

2014-08-06 Thread Stefan Agner
configuration block (BCB). Signed-off-by: Stefan Agner ste...@agner.ch --- board/freescale/vf610twr/vf610twr.c | 47 ++--- configs/vf610twr_defconfig | 2 +- configs/vf610twr_nand_defconfig | 3 +++ include/configs/vf610twr.h | 43

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-12 Thread Stefan Agner
Am 2014-08-12 00:33, schrieb Scott Wood: On Wed, 2014-08-06 at 10:59 +0200, Stefan Agner wrote: This adds initial support for Freescale NFC (NAND Flash Controller). The IP is used in ARM based Vybrid SoCs as well as on some PowerPC devices. This driver is only tested on Vybrid. Signed-off

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Stefan Agner
Am 2014-08-13 00:58, schrieb Bill Pringlemeir: On 12 Aug 2014, scottw...@freescale.com wrote: On Tue, 2014-08-12 at 23:13 +0200, Stefan Agner wrote: Am 2014-08-12 00:33, schrieb Scott Wood: On Wed, 2014-08-06 at 10:59 +0200, Stefan Agner wrote: This adds initial support for Freescale NFC

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Stefan Agner
Am 2014-08-13 00:58, schrieb Bill Pringlemeir: [snip] +static u32 nfc_read(struct mtd_info *mtd, uint reg) +{ + struct fsl_nfc *nfc = mtd_to_nfc(mtd); + + if (reg == NFC_FLASH_STATUS1 || + reg == NFC_FLASH_STATUS2 || + reg == NFC_IRQ_STATUS) + return __raw_readl(nfc-regs +

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Stefan Agner
Am 2014-08-13 17:14, schrieb Bill Pringlemeir: On 13 Aug 2014, ste...@agner.ch wrote: Am 2014-08-13 00:58, schrieb Bill Pringlemeir: [snip] +static u32 nfc_read(struct mtd_info *mtd, uint reg) +{ + struct fsl_nfc *nfc = mtd_to_nfc(mtd); + + if (reg == NFC_FLASH_STATUS1 || +

[U-Boot] [PATCH v2 2/4] arm: vf610: add NFC clock support

2014-08-14 Thread Stefan Agner
Add NFC (NAND Flash Controller) clock support and enable them at board initialization time. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-vf610/crm_regs.h | 14 ++ arch/arm/include/asm/arch-vf610/imx-regs.h | 1 + 2 files changed, 15 insertions(+) diff

[U-Boot] [PATCH v2 4/4] arm: vf610: add NAND support for vf610twr

2014-08-14 Thread Stefan Agner
configuration block (BCB). Signed-off-by: Stefan Agner ste...@agner.ch --- board/freescale/vf610twr/vf610twr.c | 47 ++--- configs/vf610twr_defconfig | 2 +- configs/vf610twr_nand_defconfig | 3 +++ include/configs/vf610twr.h | 46

[U-Boot] [PATCH v2 0/4] arm: vf610: add NAND flash support

2014-08-14 Thread Stefan Agner
the amount of written bits at all. Performance numbers: V1 = optimized count_written_bits Read empty pages: 0.8MiB/s = 1.4MiB/s V1 = optimized memcpy = optimized page_read/page_write Read full pages: 3.6MiB/s = 7MiB/s = 10.3MiB/s Stefan Agner (4): arm: vf610: add NFC pin mux arm: vf610: add

Re: [U-Boot] [PATCH 1/3] usb: tegra: fix PHY selection code

2014-05-12 Thread Stefan Agner
Am 2014-04-30 23:09, schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com The TRM for Tegra30 and later all state that USBMODE_CM_HC must be set before writing to hostpc1_devlc to select which PHY to use for a USB controller. However, neither init_{utmi,ulpi}_usb_controller() do

Re: [U-Boot] Getting U-Boot running on Toradex Colibri T20 on Iris board

2013-11-25 Thread Stefan Agner
Hi Andrzej, Am 2013-11-25 11:00, schrieb Andrzej Telszewski: BTW, can you confirm that the nvflash command line switches I'm using are correct and also that the new odmdata value (0x1000) is a correct one? Well, if it works, its not too bad :-). However, the upstream BCT has the console

Re: [U-Boot] [PATCH RESEND] vf610twr: Tune DDR initialization settings

2014-10-02 Thread Stefan Agner
Am 2014-09-09 17:19, schrieb Stefano Babic: Hi Stefan, Albert, On 09/09/2014 17:14, Stefan Agner wrote: Hi Albert, The RESEND version of the patch is actually an updated version (maybe I should have increased the version number?) For me, that patch applies cleanly on U-Boot master

[U-Boot] [PATCH v2 1/4] arm: vf610: add NFC pin mux

2014-08-14 Thread Stefan Agner
Add pin mux for NAND Flash Controller (NFC). NAND can be connected using 8 or 16 data lines, this patch adds pin mux entries for all 16 data lines. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 34 +++ arch/arm/include/asm

[U-Boot] [PATCH v2 3/4] mtd: nand: add Freescale NFC driver

2014-08-14 Thread Stefan Agner
This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture MPC5125 and others. However, this driver is only tested on Vybrid. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c

Re: [U-Boot] [PATCH] vf610twr: Tune DDR initialization settings

2014-08-14 Thread Stefan Agner
Am 2014-07-22 00:42, schrieb Stefan Agner: Am 2014-05-14 23:29, schrieb Anthony Felice: Removed settings in unsupported register fields. They didn’t do anything, and in most cases, were not documented in the reference manual. Changed register settings to comply with JEDEC required values

Re: [U-Boot] [PATCH v2 3/4] mtd: nand: add Freescale NFC driver

2014-08-18 Thread Stefan Agner
Am 2014-08-14 23:12, schrieb Bill Pringlemeir: On 14 Aug 2014, ste...@agner.ch wrote: This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture MPC5125 and others. However, this driver is only tested on Vybrid. This is only to expand

[U-Boot] [PATCH v3 4/4] arm: vf610: add NAND support for vf610twr

2014-08-18 Thread Stefan Agner
boot configuration block (BCB). Signed-off-by: Stefan Agner ste...@agner.ch --- board/freescale/vf610twr/vf610twr.c | 47 ++--- configs/vf610twr_defconfig | 2 +- configs/vf610twr_nand_defconfig | 3 +++ include/configs/vf610twr.h | 46

[U-Boot] [PATCH v3 3/4] mtd: nand: add Freescale vf610_nfc driver

2014-08-18 Thread Stefan Agner
This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture MPC5125 and others. The driver is called vf610_nfc since this is the first supported and tested hardware platform supported by the driver. Signed-off-by: Stefan Agner ste...@agner.ch

[U-Boot] [PATCH v3 0/4] arm: vf610: add NAND flash support

2014-08-18 Thread Stefan Agner
Stefan Agner (4): arm: vf610: add NFC pin mux arm: vf610: add NFC clock support mtd: nand: add Freescale vf610_nfc driver arm: vf610: add NAND support for vf610twr arch/arm/include/asm/arch-vf610/crm_regs.h| 14 + arch/arm/include/asm/arch-vf610/imx-regs.h| 1 + arch/arm/include

[U-Boot] [PATCH v3 1/4] arm: vf610: add NFC pin mux

2014-08-18 Thread Stefan Agner
Add pin mux for vf610 NAND Flash Controller (NFC). NAND can be connected using 8 or 16 data lines, this patch adds pin mux entries for all of the 16 possible data lines. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 34

[U-Boot] [PATCH v3 2/4] arm: vf610: add NFC clock support

2014-08-18 Thread Stefan Agner
Add vf610 NFC (NAND Flash Controller) clock support and enable them at board initialization time. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/asm/arch-vf610/crm_regs.h | 14 ++ arch/arm/include/asm/arch-vf610/imx-regs.h | 1 + 2 files changed, 15 insertions

[U-Boot] [PATCH 1/2] arm: vf610: lpuart: fix status register handling

2014-08-19 Thread Stefan Agner
). To clear this flag we again just need to read the data register, hence add this flag to the abort conditions for the while loop. Insert a compiler barrier to make sure reading the data register gets executed after reading the status register. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers

[U-Boot] [PATCH 2/2] arm: vf610: lpuart: disable FIFO on initializaton

2014-08-19 Thread Stefan Agner
their thresholds and flushes them. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/serial/serial_lpuart.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index 96173ca..0a5e159 100644 --- a/drivers/serial/serial_lpuart.c

Re: [U-Boot] [PATCH v2 3/4] mtd: nand: add Freescale NFC driver

2014-08-19 Thread Stefan Agner
Am 2014-08-18 18:38, schrieb Bill Pringlemeir: On 18 Aug 2014, ste...@agner.ch wrote: Am 2014-08-14 23:12, schrieb Bill Pringlemeir: On 14 Aug 2014, ste...@agner.ch wrote: This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture

Re: [U-Boot] [PATCH v3 3/4] mtd: nand: add Freescale vf610_nfc driver

2014-09-06 Thread Stefan Agner
Hi Scott, Anything missing from your side in this version of the patch? Patch 1 and 2 of this patch set recently got merged. -- Stefan Am 2014-08-18 18:26, schrieb Stefan Agner: This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture

[U-Boot] [PATCH RESEND] vf610twr: Tune DDR initialization settings

2014-09-06 Thread Stefan Agner
full clock periods that were doing nothing. Signed-off-by: Anthony Felice tony.fel...@timesys.com [rebased on v2014.10-rc2] Signed-off-by: Stefan Agner ste...@agner.ch --- As discuessed in the initial patch set this fixes a lot of wrong/ undocummented access and it would be nice to have in the next

Re: [U-Boot] [PATCH RESEND] vf610twr: Tune DDR initialization settings

2014-09-09 Thread Stefan Agner
and next branch, applies without errors for me. -- Stefan Am 2014-09-09 10:26, schrieb Albert ARIBAUD: Hi Stefan, On Sat, 6 Sep 2014 19:47:06 +0200, Stefan Agner ste...@agner.ch wrote: From: Anthony Felice tony.fel...@timesys.com Removed settings in unsupported register fields. They didn’t

[U-Boot] [PATCH v4 1/2] mtd: nand: add Freescale vf610_nfc driver

2014-09-11 Thread Stefan Agner
This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture MPC5125 and others. The driver is called vf610_nfc since this is the first supported and tested hardware platform supported by the driver. Signed-off-by: Stefan Agner ste...@agner.ch

[U-Boot] [PATCH v4 0/2] arm: vf610: add NAND flash support

2014-09-11 Thread Stefan Agner
performance - Implement page_read/page_write rather than reuse MTD stacks version Stefan Agner (2): mtd: nand: add Freescale vf610_nfc driver arm: vf610: add NAND support for vf610twr board/freescale/vf610twr/vf610twr.c | 47 ++- configs/vf610twr_defconfig | 2 +- configs

[U-Boot] [PATCH v4 2/2] arm: vf610: add NAND support for vf610twr

2014-09-11 Thread Stefan Agner
boot configuration block (BCB). Signed-off-by: Stefan Agner ste...@agner.ch --- board/freescale/vf610twr/vf610twr.c | 47 ++--- configs/vf610twr_defconfig | 2 +- configs/vf610twr_nand_defconfig | 3 +++ include/configs/vf610twr.h | 46

[U-Boot] [PATCH v5 0/2] arm: vf610: add NAND flash support

2014-09-12 Thread Stefan Agner
for improved count_written_bits performance - Implement page_read/page_write rather than reuse MTD stacks version Stefan Agner (2): mtd: nand: add Freescale vf610_nfc driver arm: vf610: add NAND support for vf610twr board/freescale/vf610twr/vf610twr.c | 47 ++- configs/vf610twr_defconfig

[U-Boot] [PATCH v5 2/2] arm: vf610: add NAND support for vf610twr

2014-09-12 Thread Stefan Agner
boot configuration block (BCB). Signed-off-by: Stefan Agner ste...@agner.ch --- board/freescale/vf610twr/vf610twr.c | 47 ++--- configs/vf610twr_defconfig | 2 +- configs/vf610twr_nand_defconfig | 3 +++ include/configs/vf610twr.h | 46

[U-Boot] [PATCH v5 1/2] mtd: nand: add Freescale vf610_nfc driver

2014-09-12 Thread Stefan Agner
This adds initial support for Freescale NFC (NAND Flash Controller) found in ARM Vybrid SoC's, Power Architecture MPC5125 and others. The driver is called vf610_nfc since this is the first supported and tested hardware platform supported by the driver. Signed-off-by: Stefan Agner ste...@agner.ch

Re: [U-Boot] [PATCH] imx: Fix warning by building vf610twr_nand

2014-09-16 Thread Stefan Agner
Alison as Maintainer and fix it. Signed-off-by: Stefano Babic sba...@denx.de CC: Alison Wang b18...@freescale.com CC: Stefan Agner ste...@agner.ch --- board/freescale/vf610twr/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/vf610twr/MAINTAINERS b/board

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-03-26 Thread Stefan Agner
Hi Tom, Stephen Warren (1): ARM: tegra: make all I2C ports open-drain board/nvidia/dalmore/pinmux-config-dalmore.h | 16 board/nvidia/venice2/pinmux-config-venice2.h | 16 2 files changed, 16 insertions(+), 16 deletions(-) Is there something

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-03-31 Thread Stefan Agner
Am 2014-03-28 16:54, schrieb Tom Warren: Have they all been ACKed? Sorry, been really busy with normal NVIDIA stuff. They have been ACKed, see http://lists.denx.de/pipermail/u-boot/2014-March/175302.html and tested by Stephen, http://lists.denx.de/pipermail/u-boot/2014-March/174662.html If

Re: [U-Boot] [PATCH 0/4] vybrid/tower fixes and enhancements

2014-04-01 Thread Stefan Agner
Am 2014-03-11 18:43, schrieb ste...@agner.ch: From: Stefan Agner ste...@agner.ch This patch series addresses several fixes and enhancements for the vybrid tower. snip *Bump*, could we get an Ack on this? Sorry about the missing thread/references, somehow my git format-patch

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-16 Thread Stefan Agner
Hi Stefano, Am 2014-04-16 17:44, schrieb Stefano Babic: On 16/04/2014 15:29, ste...@agner.ch wrote: From: Stefan Agner ste...@agner.ch The i.MX V2 headers total size is 0x7fc. The header is placed in front of the U-Boot binary which of course is aligned to text base. Hence the header

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-16 Thread Stefan Agner
Am 2014-04-16 15:17, schrieb Stefan Agner: Hi Stefano, Am 2014-04-16 17:44, schrieb Stefano Babic: On 16/04/2014 15:29, ste...@agner.ch wrote: From: Stefan Agner ste...@agner.ch The i.MX V2 headers total size is 0x7fc. The header is placed in front of the U-Boot binary which of course

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefan Agner
Hi Stefano, Am 2014-04-17 10:50, schrieb Stefano Babic: On 16/04/2014 15:36, Stefan Agner wrote: Can you better explain this ? There is only one board in mainline with vf610. CONFIG_SYS_TEXT_BASE is set to 0x3f008000. I cannot get the offset in your example. Are you referring to NAND page

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefan Agner
Hi Stefano, Am 2014-04-23 17:19, schrieb Stefano Babic: Hi Stefan, On 23/04/2014 04:34, Stefan Agner wrote: The header total size is 0x3fc (sizeof(imx_header_v2_t)) right now. This patch would make alter it to be exactly 0x400. This renforces my suspect. Making the image bigger

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Stefan Agner
On 2014-11-14 15:01, Simon Glass wrote: Hi Victor, On 13 November 2014 09:29, Victor Ascroft victorascr...@gmail.com wrote: Hello, I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my u-boot image and consequently to

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Stefan Agner
On 2014-11-14 15:01, Simon Glass wrote: Hi Victor, On 13 November 2014 09:29, Victor Ascroft victorascr...@gmail.com wrote: Hello, I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my u-boot image and consequently to

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Stefan Agner
On 2014-11-18 17:07, Stefan Agner wrote: On 2014-11-14 15:01, Simon Glass wrote: Hi Victor, On 13 November 2014 09:29, Victor Ascroft victorascr...@gmail.com wrote: Hello, I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my

[U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-19 Thread Stefan Agner
unified syntax: arch/arm/lib/memcpy.S: Assembler messages: arch/arm/lib/memcpy.S:153: Warning: conditional infixes are deprecated in unified syntax arch/arm/lib/memcpy.S:154: Warning: conditional infixes are deprecated in unified syntax ... Signed-off-by: Stefan Agner ste...@agner.ch --- This patch

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Stefan Agner
Hi Jeroen, On 2014-11-20 10:21, Jeroen Hofstee wrote: Hello Stefan, On 19-11-14 15:16, Stefan Agner wrote: Resynchronize memcpy/memset with kernel and build them explicitly in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when calling

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-21 Thread Stefan Agner
On 2014-11-20 20:14, Jeroen Hofstee wrote: Hi, On 20-11-14 19:21, Bill Pringlemeir wrote: --- arch/arm/lib/memset.S | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm/lib/memset.S b/arch/arm/lib/memset.S index

[U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-11-21 Thread Stefan Agner
for this input). To build the file in Thumb2 mode the implicit-it=always option need to be set to generate Thumb2 compliant IT instructions where needed. We add this option to the general AFLAGS when building for Thumb2. Signed-off-by: Stefan Agner ste...@agner.ch --- Changes since v1: - Don't set auto

[U-Boot] [PATCH] arm: vf610: improve evaluation of reset source

2014-11-27 Thread Stefan Agner
Improve the evaluation of the reset source. Bit description according to latest reference manual rev. 7. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/cpu/armv7/vf610/generic.c | 21 +++-- arch/arm/include/asm/arch-vf610/imx-regs.h | 8 2 files

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-11-27 Thread Stefan Agner
On 2014-11-21 16:34, Stefan Agner wrote: Resynchronize memcpy/memset with kernel and build them explicitly in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when calling them from Thumb2 built code, the stack got corrupted and the copy did

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-11-30 Thread Stefan Agner
On 2014-11-30 20:33, Simon Glass wrote: Hi Stefan, On 21 November 2014 at 08:34, Stefan Agner ste...@agner.ch wrote: Resynchronize memcpy/memset with kernel and build them explicitly in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-12-03 Thread Stefan Agner
IT instructions where needed. We add this option to the general AFLAGS when building for Thumb2. Signed-off-by: Stefan Agner ste...@agner.ch --- Changes since v1: - Don't set auto-it in AFLAGS - Removed no-warn-deprecated warning suppression - Converted non-UAL assembler instructions

Re: [U-Boot] [PATCH 2/2] arm: vf610: Initial load to 1/2MB OC gfxRAM.

2014-12-04 Thread Stefan Agner
-toradex.git/tree/include/configs/colibri_vf.h?h=2014.10-toradex-next#n128 Also you can specify the board size limit using CONFIG_BOARD_SIZE_LIMIT. Acked-by Stefan Agner ste...@agner.ch -- Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-12-15 Thread Stefan Agner
Hi Andreas, On 2014-12-15 15:24, Andreas Färber wrote: Hi Stefan, Am 03.12.2014 um 18:04 schrieb Stefan Agner: Can this be fixed by the merger or should I create a new revision? It looks as if this was neither applied nor respun? I have some more patches to make CONFIG_USE_PRIVATE_LIBGCC

[U-Boot] [PATCH v3] arm: build arch memset/memcpy in Thumb2 mode

2014-12-18 Thread Stefan Agner
-off-by: Stefan Agner ste...@agner.ch --- arch/arm/config.mk | 4 +- arch/arm/include/asm/assembler.h | 33 ++-- arch/arm/lib/memcpy.S| 80 +++- arch/arm/lib/memset.S| 112 --- 4 files

Re: [U-Boot] [PATCH v3] arm: build arch memset/memcpy in Thumb2 mode

2015-01-05 Thread Stefan Agner
Albert, I guess it is too late for that now. Thought it would make it into 2015.01, since your last comment in v2 suggested that you would treat it as bugfix... -- Stefan On 2014-12-18 18:10, Stefan Agner wrote: Resynchronize memcpy/memset with kernel 3.17 and build them in Thumb2 mode

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-09 Thread Stefan Agner
at all). This fix moves U-Boot to gfxRAM, which is 512kB in size and is not used by the boot ROM nor the SD-card loader of it. Signed-off-by: Stefan Agner ste...@agner.ch --- We use U-Boot from gfxRAM on Vybrid since quite a while for the Colibri VF50/VF61 modules in our downstream U-Boot

[U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-08 Thread Stefan Agner
the SD-card loader of it. Signed-off-by: Stefan Agner ste...@agner.ch --- We use U-Boot from gfxRAM on Vybrid since quite a while for the Colibri VF50/VF61 modules in our downstream U-Boot branch. Hence this is quite well tested. Just today I discovered that this is broken on the Tower module. Back

[U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-24 Thread Stefan Agner
in fact the page is erased (0xff). Avoid the hassle to calculate whether the page is affected or not, but set the page buffer unconditionally to invalid instead. Signed-off-by: Stefan Agner ste...@agner.ch --- This are two bug fixes which would be nice if they would still make it into 2015.04

[U-Boot] [PATCH 2/2] mtd: vf610_nfc: specify transfer size before each transfer

2015-03-24 Thread Stefan Agner
flawless. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mtd/nand/vf610_nfc.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c index 9de971c..d98dd28 100644 --- a/drivers/mtd/nand

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
0x2 nand dump 0x800 The second nand dump command returns the data from the buffer, while in fact the page is erased (0xff). Avoid the hassle to calculate whether the page is affected or not, but set the page buffer unconditionally to invalid instead. Signed-off-by: Stefan Agner ste

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
unconditionally to invalid instead. Signed-off-by: Stefan Agner ste...@agner.ch --- This are two bug fixes which would be nice if they would still make it into 2015.04... drivers/mtd/nand/vf610_nfc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
On 2015-03-30 22:48, Scott Wood wrote: On Mon, 2015-03-30 at 22:40 +0200, Stefan Agner wrote: On 2015-03-30 22:34, Scott Wood wrote: On Mon, 2015-03-30 at 13:02 -0400, Bill Pringlemeir wrote: On 24 Mar 2015, ste...@agner.ch wrote: The driver tries to re-use the page buffer by storing

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
On 2015-03-31 00:15, Scott Wood wrote: On Mon, 2015-03-30 at 23:26 +0200, Stefan Agner wrote: On 2015-03-30 22:48, Scott Wood wrote: What is special about this controller, that caching makes sense here but not on other controllers? If it makes sense everywhere, then the upper layer

Re: [U-Boot] [RESEND PATCH 6/6] ARM: vf610: Initial integration for Colibri VF50/VF61

2015-04-01 Thread Stefan Agner
serial loader over UART. Signed-off-by: Stefan Agner ste...@agner.ch Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- arch/arm/Kconfig | 5 + arch/arm/include/asm/arch-vf610/imx-regs.h | 5 + board/toradex/colibri_vf/Kconfig | 18 ++ board

  1   2   3   4   5   6   7   8   >