[U-Boot] Dove / Cubox support patch series (was: Re: [PATCH v4 05/10] SPI: Add Dove SPI driver)

2014-03-03 Thread Sascha Silbe
Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Any update on this. The Wandboard Quad is working well for my purposes and much easier to work with (schematics and very extensive data sheets available, mainline support in both U-Boot and Linux). As a result, I'm focusing my limited

Re: [U-Boot] [PATCH v3 02/28] sf: probe: Add new spi_flash_probe support

2013-09-21 Thread Sascha Silbe
Hi Jagannadha, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com writes: Added new spi_flash_probe support, currently added N25Q* flash part attributes support. [...] I've given your series another try on Cubox. It looks better this time (e.g. the probe issue is gone), but

Re: [U-Boot] [PATCH v3 07/28] sf: probe: Add support for W25* flash parts

2013-09-21 Thread Sascha Silbe
Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com writes: Added W25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. This breaks

Re: [U-Boot] [PATCH v3 14/28] sf: probe: Add support for erase sector selection flag

2013-09-21 Thread Sascha Silbe
Hi Jagannadha, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com writes: SECT_4K, SECT_32K and SECT_64K opeartions are performed to to specific flash by adding a SECT* flag on respective spi_flash_params.flag param. [...] [drivers/mtd/spi/spi_flash_ops.c] @@ -153,17

[U-Boot] [PATCH 0/3] openrd: Check U-Boot size at build time

2013-08-11 Thread Sascha Silbe
go. Sascha Silbe (3): README: document CONFIG_BOARD_SIZE_LIMIT Makefile: check native boot image sizes against CONFIG_BOARD_SIZE_LIMIT openrd: fail build if U-Boot would overlap with environment in flash Makefile | 3 +++ README | 5 + include

[U-Boot] [PATCH 3/3] openrd: fail build if U-Boot would overlap with environment in flash

2013-08-11 Thread Sascha Silbe
Set CONFIG_BOARD_SIZE_LIMIT so we'll notice at build time if U-Boot has grown so large that it would overlap with the environment area in flash, rather than bricking the device at run-time on first saveenv. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- include/configs/openrd.h | 5

[U-Boot] [PATCH 1/3] README: document CONFIG_BOARD_SIZE_LIMIT

2013-08-11 Thread Sascha Silbe
CONFIG_BOARD_SIZE_LIMIT was introduced by f3a14d37 [Makefile: allow boards to check file size limits] and is in use by several boards, but never got documented. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- README | 5 + 1 file changed, 5 insertions(+) diff --git a/README b/README

[U-Boot] [PATCH 2/3] Makefile: check native boot image sizes against CONFIG_BOARD_SIZE_LIMIT

2013-08-11 Thread Sascha Silbe
The purpose of CONFIG_BOARD_SIZE_LIMIT is to make sure that U-Boot fits into the space reserved for it in some permanent storage. This includes any overhead incurred by native boot image formats, so check the final image against the size limit, too. Signed-off-by: Sascha Silbe t-ub...@infra

Re: [U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

2013-08-11 Thread Sascha Silbe
Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Please find the test branch for this patch series, here. http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/master-test Request to test these changes on your boards. Let me know for any issues. Thanks for setting up

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-08-11 Thread Sascha Silbe
Hi Albert, Albert ARIBAUD albert.u.b...@aribaud.net writes: On Mon, 15 Jul 2013 08:19:57 -0400, Tom Rini tr...@ti.com wrote: On Mon, Jul 15, 2013 at 11:23:54AM +0200, Sascha Silbe wrote: With v2013.07-rc3, we are now at 376344B (~ 96% of 384KiB) for openrd_ultimate when built on Debian

[U-Boot] [PATCH] kirkwood: use 64bit integer for IDE LBA sector numbers

2013-08-11 Thread Sascha Silbe
Many recent hard disks are larger than 2TiB. They still use a logical sector size of 512, so 32-bit sector numbers are insufficient (and even with 4K logical sector size we'd exceed the limit once there are 16TiB drives). Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- arch/arm/include

[U-Boot] [PATCH v6] NET: mvgbe: avoid unused variable warning when used without phylib support

2013-08-11 Thread Sascha Silbe
Avoid a recently introduced unused variable warning for boards that use mvgbe but not phylib. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v5-v6: Split out from CuBox support patch series. drivers/net/mvgbe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-19 Thread Sascha Silbe
. Sascha -- 8 -- From: Sascha Silbe t-ub...@infra-silbe.de Date: Fri, 19 Jul 2013 11:37:54 +0200 Subject: [PATCH] phy: fix 10/100Mbps operation on 1Gbps-capable links de1d786 [add support for Xilinx 1000BASE-X phy (GTX)] introduced a check for the extended status register in order to support 1Gbps

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Sascha Silbe
Albert ARIBAUD albert.u.b...@aribaud.net writes: Although, with recent proposals like the TPL one: http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/164432 ... I am toying with the idea of a more generic build mechanism which would allow a target to specify as many binaries as it

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Sascha Silbe
. Reviewed-By: Sascha Silbe t-ub...@infra-silbe.de No test done as my current test set-up is 100Base-T only. Sascha pgpK771OQifMU.pgp Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Sascha Silbe
Hello, ethernet support for Wandboard Quad seems to be broken on current master (576aacdb): U-Boot 2013.07-rc3-00021-g576aacd (Jul 18 2013 - 08:34:32)

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Sascha Silbe
Sascha Silbe t-ub...@infra-silbe.de writes: I've started a git bisect run (booting via USB OTG), but it's going to take a while as git bisect is throwing lots of commits without Wandboard Quad support at me and seems to be only narrowing down the commits one by one rather than on a log-2

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-07-15 Thread Sascha Silbe
Albert ARIBAUD albert.u.b...@aribaud.net writes: The situation has gotten better recently and U-Boot fits into the previous partition size of 384KiB again. So it isn't broken on OpenRD anymore and the above would seem like a good approach. How well does it fit again, and do you have any idea

[U-Boot] [PATCH] usb: ehci-marvell: use structs for registers

2013-06-28 Thread Sascha Silbe
Use structs instead of computing offsets for accessing individual registers. The base address of the USB controller is still an offset defined in SoC headers as it can differ between SoCs. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- Tested on CuBox Pro only. drivers/usb/host/ehci

Re: [U-Boot] [PATCH v5 2/8] usb: ehci-marvell: add support for second USB controller

2013-06-28 Thread Sascha Silbe
Dear Wolfgang Denk, Wolfgang Denk w...@denx.de writes: -#define rdl(off)readl(MVUSB0_BASE + (off)) -#define wrl(off, val) writel((val), MVUSB0_BASE + (off)) +#define rdl(base, off) readl((base) + (off)) +#define wrl(base, off, val) writel((val), (base) + (off))

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-06-25 Thread Sascha Silbe
Hello Albert, hello Tom, Albert ARIBAUD albert.u.b...@aribaud.net writes: [Move environment to account for increase in U-Boot size] This patch is for 2013.10, not 2013.07, but I prefer raising the issue as early as possible. If there is no way to make things smoother, then I think the

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sascha Silbe
Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: Either orion_spi as it was named originally, or mv_spi as Prafulla suggested. Then move mpp (pinctrl) from kirkwood_spi to corresponding boards, switch to orion_/mv_spi, and remove kirkwood_spi. I suggest orion_spi, but Prafulla

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sascha Silbe
Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Looks ok to me as per coding style after a quick look. Thanks for the review. [...] Done use the below tag code instead go for spi_alloc_slave() see the sample code on drivers/spi/exynos_spi.c --- TAG+ +

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sascha Silbe
Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: [...] I was under the impression that you resent the patches because you have a CuBox you want to get supported. Exactly. I'd like to see support for CuBox enter mainline U-Boot. However, there's also a limit to the amount of time I

Re: [U-Boot] [PATCH] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-25 Thread Sascha Silbe
Frederic Leroy fr...@starox.org writes: [...] disk/part_efi.c| 4 ++-- While testing the CuBox patches using buildman, I noticed a warning in disk/part_iso.c. The following patch should fix it: diff --git a/disk/part_iso.c b/disk/part_iso.c index cc323b0..e15e1b9 100644 ---

[U-Boot] [PATCH v5 0/8] Add Marvell Dove and SolidRun CuBox support

2013-06-25 Thread Sascha Silbe
(lightly) on CuBox Pro, not on OpenRD (Kirkwood). The latter box is in production use, so I'd like to know whether the current approach is acceptable before I spend considerable time on testing. Sascha Silbe (8): ARM: dove: add support for Marvell Dove SoC usb: ehci-marvell: add support for second

[U-Boot] [PATCH v5 5/8] SPI: add Dove support to Kirkwood SPI driver

2013-06-25 Thread Sascha Silbe
The SPI support on Dove is very similar to that on Kirkwood (and possibly orion5x as well). Instead of duplicating the code, we tweak the Kirkwood driver so it works for Dove, too. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: Modify Kirkwood driver rather than duplicating

[U-Boot] [PATCH v5 3/8] GPIO: add Dove support to Kirkwood GPIO driver

2013-06-25 Thread Sascha Silbe
The GPIO support of Dove is very similar to that on Kirkwood (and possibly orion5x as well). Instead of duplicating the code, we tweak the Kirkwood driver so it works for Dove, too. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: Modify Kirkwood driver rather than duplicating

[U-Boot] [PATCH v5 4/8] MMC: sdhci: Add support for dove sdhci

2013-06-25 Thread Sascha Silbe
This adds a driver for the sdhci controller found on Dove SoCs. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: no changes arch/arm/include/asm/arch-dove/mmc.h | 27 ++ drivers/mmc/Makefile | 1 + drivers/mmc/dove_sdhci.c | 101

[U-Boot] [PATCH v5 2/8] usb: ehci-marvell: add support for second USB controller

2013-06-25 Thread Sascha Silbe
From: Sascha Silbe sascha-...@silbe.org Marvell 88AP510 (Armada 510, dove) has two separate USB controllers. Use the index parameter that already gets passed in to calculate the base address of the controller. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: no changes drivers

[U-Boot] [PATCH v5 8/8] Boards: Add support for SolidRun CuBox

2013-06-25 Thread Sascha Silbe
. Having a single image that works on both hardware variants is quite convenient during recovery. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: - dropped MAINTAINERS entry on Sebastian Hesselbarth's request - some adjustments to account for GPIO and SPI driver changes board

[U-Boot] [PATCH v5 6/8] block: mvsata: add dove include

2013-06-25 Thread Sascha Silbe
Dove SoC also uses mvsata, therefore add a SoC specific include to allow to reuse the mvsata ide driver. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de Acked-by: Prafulla Wadaskar prafu...@marvell.com --- v4-v5: no changes drivers/block/mvsata_ide.c | 2 ++ 1 file changed, 2 insertions

[U-Boot] [PATCH v5 7/8] NET: mvgbe: avoid unused variable warning when used without phylib support

2013-06-25 Thread Sascha Silbe
Avoid a recently introduced unused variable warning for boards that use mvgbe but not phylib. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: Most of the original patch (NET: mvgbe: add phylib support) was merged to master, only this clean-up remains. drivers/net/mvgbe.c

Re: [U-Boot] [PATCH] Fix block device accesses beyond 2TiB

2013-06-24 Thread Sascha Silbe
Frédéric Leroy fr...@starox.org writes: Le 22/06/2013 17:31, Albert ARIBAUD a écrit : However, the patch issues no warning at compile time and fixes the ide block layer. OK -- anyone has any idea why Sasha's patch fixes reading from far blocks but does not fix ex2ls? Frankly, I'd prefer

Re: [U-Boot] [PATCH] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-24 Thread Sascha Silbe
to a CuBox Pro works fine now. Tested-by: Sascha Silbe t-ub...@infra-silbe.de You'll probably have to add your Signed-off-by before your patch can be merged. A minor nitpick: The limit is at 2TiB (2^41 Bytes), which is roughly 2.2TB (2.2 * 10^12 Bytes). Sascha pgpQm5lQFRpec.pgp Description: PGP

[U-Boot] [PATCH] Fix block device accesses beyond 2TiB

2013-06-14 Thread Sascha Silbe
to all block drivers as the signature of block_read(), block_write() and block_erase() in block_dev_desc_t changed. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- Functionality tested on CuBox Pro with a Western Digital WD30EFRX hard disk (3TB). Build tested for all arm boards and sandbox

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk 2TB

2013-06-13 Thread Sascha Silbe
Frédéric Leroy fr...@starox.org writes: I will convert every ide block number to 64 bit for disk and partitions. I guess CONFIG_LBA48 is also broken in common/cmd_ide.c : FWIW, I have a patch pending for this already. But it's necessarily pretty invasive and I'm not even sure yet that I've

Re: [U-Boot] [PATCH v3 04/10] SPI: Add Orion SPI driver

2013-06-03 Thread Sascha Silbe
Dear Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Does this tested on hw, please re-base the tree and send the next version patch. Let me know if it ok to review under current tree. I'd appreciate a review of the latest patch [1,2]. There have been no changes in master to the files

Re: [U-Boot] [PATCH v3 04/10] SPI: Add Orion SPI driver

2013-06-03 Thread Sascha Silbe
Dear Jagan, Jagan Teki jagannadh.t...@gmail.com writes: I'd appreciate a review of the latest patch [1,2]. [...] [1] mid:1369593423-19763-6-git-send-email-t-ub...@infra-silbe.de [2] http://patchwork.ozlabs.org/patch/246468/ Thank you, means this v4 is the latest one?

[U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-05-27 Thread Sascha Silbe
customisations. This obviously breaks compatibility with previous mainline versions of U-Boot. Users will need to back up the environment before an update and restore it afterwards, or manually copy it to the new address before the update. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de

[U-Boot] [PATCH v4 00/10] Add Marvell Dove and SolidRun CuBox support

2013-05-26 Thread Sascha Silbe
) - removed hard-coded ethaddr - general clean-ups (checkpatch clean except for one spot now) I'm assuming Sebastian (CC'ed) is still willing to be the maintainer. Sascha Silbe (1): usb: ehci-marvell: add support for second USB controller Sebastian Hesselbarth (9): ARM: dove: add support

[U-Boot] [PATCH v4 10/10] Boards: Add support for SolidRun CuBox

2013-05-26 Thread Sascha Silbe
Pro) and slower SDRAM access (on CuBox) doesn't matter. Having a single image that works on both hardware variants is quite convenient during recovery. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3-v4: added

[U-Boot] [PATCH v4 08/10] NET: mvgbe: add phylib support

2013-05-26 Thread Sascha Silbe
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com This add phylib support to the Marvell GBE driver. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Prafulla Wadaskar prafu...@marvell.com Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3-v4

[U-Boot] [PATCH v4 02/10] usb: ehci-marvell: add support for second USB controller

2013-05-26 Thread Sascha Silbe
From: Sascha Silbe sascha-...@silbe.org Marvell 88AP510 (Armada 510, dove) has two separate USB controllers. Use the index parameter that already gets passed in to calculate the base address of the controller. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3-v4: new patch drivers/usb

[U-Boot] [PATCH v4 07/10] NET: phy: add 88E1310 PHY initialization

2013-05-26 Thread Sascha Silbe
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com This adds PHY initialization for Marvell Alaska 88E1310 PHY. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- drivers/net/phy/marvell.c | 48 +++ 1 file changed, 48

[U-Boot] [PATCH v4 06/10] block: mvsata: add dove include

2013-05-26 Thread Sascha Silbe
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Dove SoC also uses mvsata, therefore add a SoC specific include to allow to reuse the mvsata ide driver. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Prafulla Wadaskar prafu...@marvell.com ---

[U-Boot] [PATCH v4 09/10] NET: mvgbe: add support for Dove

2013-05-26 Thread Sascha Silbe
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Marvell Dove also uses mvgbe as ethernet driver, therefore add support for Dove to reuse the current driver. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3

[U-Boot] [PATCH v4 03/10] GPIO: add gpio driver for Dove SoCs

2013-05-26 Thread Sascha Silbe
only, the driver should in large parts be compatible with orion5x and kirkwood. As a future clean-up step, the MPP and GPIO code for the three platforms could be merged. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3

[U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-05-26 Thread Sascha Silbe
, with MPP configuration being be handled as part of cpu/board-specific setup. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3-v4: renamed to dove, adjusted description, removed unused variable, made checkpatch clean

[U-Boot] [PATCH v4 04/10] MMC: sdhci: Add support for dove sdhci

2013-05-26 Thread Sascha Silbe
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com This adds a driver for the sdhci controller found on Dove SoCs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v3-v4: added header file with exported function

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-05-14 Thread Sascha Silbe
Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: This patch set add support for the Marvell Dove 88AP510 SoC and the SolidRun CuBox board based on that SoC. The patch set is divided into the four following sections: [...] What's the state of this? I tried applying your patch

Re: [U-Boot] u-boot UBI support

2013-04-29 Thread Sascha Silbe
Paul B. Henson hen...@acm.org writes: I'm trying to get u-boot to read from a ubifs volume on an mx28evk board, and failing :(. [...] MX28EVK U-Boot ubifsmount recovery UBIFS error (pid 0): ubifs_get_sb: cannot open recovery, error -22 UBIFS error (pid 0): ubifs_mount: Error reading