[U-Boot] [PATCH v2] arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a

2015-05-25 Thread Haikun Wang
Enable CONFIG_OF_CONTROL and define CONFIG_DEFAULT_DEVICE_TREE in ls1021axxx_qspi_defconfig. DSPI and QSPI have converted to Driver Model. Those options are needed by Driver Model driver. DSPI and QSPI are only enabled when boot from QSPI. So this patch only enable those optipns when boot from

Re: [U-Boot] Proposal to add NAND-boot support for Sunxi SPL

2015-05-25 Thread Hans de Goede
Hi Roy, It seems you've accidentally dropped the mailinglist from the Cc (I don't see anything private in here), so I've readded it. On 24-05-15 15:30, Roy Spliet wrote: Hello Hans, Comments inline. Op 22-05-15 om 15:51 schreef Hans de Goede: Hello Roy, On 22-05-15 12:12, Roy Spliet wrote:

[U-Boot] ext4write issue.

2015-05-25 Thread S Durga Prasad Paladugu
Hi all, I am having an ext4write issue on zynq, which fails when i am trying to write a file to ext4 formatted SD card. here is the log below. zynq-uboot ext4ls mmc 0:2 DIR 1024 . DIR 1024 .. DIR 1024 lost+found zynq-uboot zynq-uboot zynq-uboot ext4write mmc 0:2 0x4000

[U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies

2015-05-25 Thread Michal Simek
NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to Kconfig to ensure that library is also compiled. Signed-off-by: Michal Simek michal.si...@xilinx.com --- lib/Kconfig | 3 +++ net/Kconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index

Re: [U-Boot] ext4write issue.

2015-05-25 Thread Przemyslaw Marczak
Hello Durga, On 05/25/2015 09:01 AM, S Durga Prasad Paladugu wrote: Hi all, I am having an ext4write issue on zynq, which fails when i am trying to write a file to ext4 formatted SD card. here is the log below. zynq-uboot ext4ls mmc 0:2 DIR 1024 . DIR 1024 .. DIR 1024

Re: [U-Boot] [PULL] u-boot-usb/master

2015-05-25 Thread Josh Wu
Hi, Marek On 5/22/2015 9:30 AM, Marek Vasut wrote: On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote: On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote: On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote: On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:

Re: [U-Boot] Proposal to add NAND-boot support for Sunxi SPL

2015-05-25 Thread Daniel Kochmański
Hello, sorry for delay. Comments inline. Hans de Goede writes: Hi Roy, It seems you've accidentally dropped the mailinglist from the Cc (I don't see anything private in here), so I've readded it. On 24-05-15 15:30, Roy Spliet wrote: Hello Hans, Comments inline. Op 22-05-15 om 15:51

Re: [U-Boot] [PATCH v2] wandboard: Add board revision detection support

2015-05-25 Thread Wolfgang Denk
Dear Fabio, In message caomzo5dfpujmgf_sornagtxexzbq1-bvtfvtbntmy40qpdw...@mail.gmail.com you wrote: If the gpio command would be enabled, it would even be possible to reset the BRCM- WLAN and Bluetooth modules by just adding some stuff to uEnv.txt. This sounds like a real hack for me,

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Przemyslaw Marczak
Hello Marek, On 05/22/2015 09:40 PM, Marek Vasut wrote: On Friday, May 22, 2015 at 06:14:21 PM, Przemyslaw Marczak wrote: Hello, this patchset consists of all features required to use DFU on Odroid XU3. The default extra environment settings from exynos5-common.h is redefined and appended by

[U-Boot] [GIT PULL] Zynq changes

2015-05-25 Thread Michal Simek
Hi Tom, here are 3 pending patches which were sent in merge window. Thanks, Michal The following changes since commit a84988c76d1dbca2dbe870d6b4f0ad398f287f85: Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-05-22 17:23:15 -0400) are available in the git repository at:

Re: [U-Boot] Proposal to add NAND-boot support for Sunxi SPL

2015-05-25 Thread Hans de Goede
Hi, On 25-05-15 11:29, Daniel Kochmański wrote: Hello, sorry for delay. Comments inline. Hans de Goede writes: Hi Roy, It seems you've accidentally dropped the mailinglist from the Cc (I don't see anything private in here), so I've readded it. On 24-05-15 15:30, Roy Spliet wrote: Hello

Re: [U-Boot] [PULL] u-boot-usb/master

2015-05-25 Thread Marek Vasut
On Monday, May 25, 2015 at 11:51:04 AM, Josh Wu wrote: Hi, Marek Hi! On 5/22/2015 9:30 AM, Marek Vasut wrote: On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote: On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote: On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Marek Vasut
On Monday, May 25, 2015 at 12:42:02 PM, Przemyslaw Marczak wrote: Hello Marek, Hi! On 05/25/2015 12:24 PM, Marek Vasut wrote: On Monday, May 25, 2015 at 10:51:27 AM, Przemyslaw Marczak wrote: Hello Marek, Hi! On 05/22/2015 09:40 PM, Marek Vasut wrote: On Friday, May 22, 2015 at

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Przemyslaw Marczak
Hello Marek, On 05/25/2015 01:15 PM, Marek Vasut wrote: On Monday, May 25, 2015 at 12:42:02 PM, Przemyslaw Marczak wrote: Hello Marek, Hi! On 05/25/2015 12:24 PM, Marek Vasut wrote: On Monday, May 25, 2015 at 10:51:27 AM, Przemyslaw Marczak wrote: Hello Marek, Hi! On 05/22/2015 09:40

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Marek Vasut
On Monday, May 25, 2015 at 10:51:27 AM, Przemyslaw Marczak wrote: Hello Marek, Hi! On 05/22/2015 09:40 PM, Marek Vasut wrote: On Friday, May 22, 2015 at 06:14:21 PM, Przemyslaw Marczak wrote: Hello, this patchset consists of all features required to use DFU on Odroid XU3. The default

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Przemyslaw Marczak
Hello Marek, On 05/25/2015 12:24 PM, Marek Vasut wrote: On Monday, May 25, 2015 at 10:51:27 AM, Przemyslaw Marczak wrote: Hello Marek, Hi! On 05/22/2015 09:40 PM, Marek Vasut wrote: On Friday, May 22, 2015 at 06:14:21 PM, Przemyslaw Marczak wrote: Hello, this patchset consists of all

Re: [U-Boot] [PATCH v2] wandboard: Add board revision detection support

2015-05-25 Thread Fabio Estevam
Hi Wolfgang, On Mon, May 25, 2015 at 6:41 AM, Wolfgang Denk w...@denx.de wrote: Consider it as an example for being able to do many different things that have not even been thought of at the time of implementations. to try out things. Maybe we decide later to implement the features a C

Re: [U-Boot] [PULL] u-boot-usb/master

2015-05-25 Thread Tom Rini
On Mon, May 25, 2015 at 12:25:19PM +0200, Marek Vasut wrote: On Monday, May 25, 2015 at 11:51:04 AM, Josh Wu wrote: Hi, Marek Hi! On 5/22/2015 9:30 AM, Marek Vasut wrote: On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote: On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut

Re: [U-Boot] Pull request: nand flash

2015-05-25 Thread Tom Rini
On Sun, May 24, 2015 at 07:25:05PM -0500, Scott Wood wrote: The following changes since commit 3238639d40732fe78fd62ae5e080465552e882fc: Merge git://git.denx.de/u-boot-net (2015-05-20 15:57:55 -0400) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git

Re: [U-Boot] [PATCHv3 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-05-25 Thread Pavel Machek
Hi! +/** + ** + ** NOTE: Special Rules for Globale Variables ** They are global, not globale. + ** All

Re: [U-Boot] [PATCH] imx: dma: correct MXS_DMA_ALIGNMENT

2015-05-25 Thread Peng Fan
Hi Stefano, On Thu, May 21, 2015 at 09:16:32AM +0800, Peng Fan wrote: Hi Marek, On Wed, May 20, 2015 at 01:06:21PM +0200, Marek Vasut wrote: On Wednesday, May 20, 2015 at 04:28:48 AM, Peng Fan wrote: We should not hardcode MXS_DMA_ALIGNMENT to 32, since we can not guarantee that socs' cache

Re: [U-Boot] [PATCHv3 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-05-25 Thread Wolfgang Denk
Dear Pavel, In message 20150525123750.GD9943@amd you wrote: + ** All global variables that are explicitly initialized (including ** + ** explicitly initialized to zero), are only initialized once, during ** + ** configuration time, and not again on reset. This means

Re: [U-Boot] Ramdisk Error

2015-05-25 Thread Gaurav Pathak
Hi Andreas, I tried a different address for ramdisk i.e. 0x24E0 and it executed successfully. Please tell me how can I check what is the issue with address 0x2300, why u-boot is giving error for ramdisk stored at 2300 and not for address 24E0? Please suggest!! Thanks and Regards

[U-Boot] [PATCH 6/6] x86: qemu: Implement PIRQ routing

2015-05-25 Thread Bin Meng
Support QEMU PIRQ routing via device tree on both i440fx and q35 platforms. With this commit, Linux booting on QEMU from U-Boot has working ATA/SATA, USB and ethernet. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/coreboot/coreboot.c | 5 + arch/x86/cpu/qemu/qemu.c

[U-Boot] [PATCH 3/6] x86: coreboot: Don't write I/O port 0xb2 for QEMU targets

2015-05-25 Thread Bin Meng
Writing 0xcb to I/O port 0xb2 (Advanced Power Management Control) causes U-Boot to hang on QEMU q35 target. Disable the writing for QEMU targets. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/coreboot/coreboot.c | 4 1 file changed, 4 deletions(-) diff --git

[U-Boot] [PATCH 2/6] x86: qemu: Adjust VGA initialization

2015-05-25 Thread Bin Meng
As VGA option rom needs to run at C segment, although QEMU PAM emulation seems to only guard E/F segments, for correctness, move VGA initialization after PAM decode C/D/E/F segments. Also since we already tested QEMU targets to differentiate I440FX and Q35 platforms, change to locate the VGA

[U-Boot] [PATCH 1/6] x86: qemu: Enable legacy IDE I/O ports decode

2015-05-25 Thread Bin Meng
QEMU always decode legacy IDE I/O ports on PIIX chipset. However Linux ata_piix driver does sanity check to see whether legacy ports decode is turned on. To make Linux ata_piix driver happy, turn on the decode via IDE_TIMING register. Signed-off-by: Bin Meng bmeng...@gmail.com ---

[U-Boot] [PATCH 4/6] x86: coreboot: Fix cosmetic issues

2015-05-25 Thread Bin Meng
Clean up arch/x86/cpu/coreboot.c to fix several cosmetic issues. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/coreboot/coreboot.c | 26 ++ arch/x86/include/asm/u-boot-x86.h | 1 - 2 files changed, 2 insertions(+), 25 deletions(-) diff --git

[U-Boot] [PATCH v2 3/4] x86: quark: Implement PIRQ routing

2015-05-25 Thread Bin Meng
Intel Quark SoC has the same interrupt routing mechanism as the Queensbay platform, only the difference is that PCI devices' INTA/B/C/D are harcoded and cannot be changed freely. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Marek Vasut
On Monday, May 25, 2015 at 04:51:29 PM, Lukasz Majewski wrote: Hi Marek, Hi! On Friday, May 22, 2015 at 06:14:21 PM, Przemyslaw Marczak wrote: Hello, this patchset consists of all features required to use DFU on Odroid XU3. The default extra environment settings from

Re: [U-Boot] [PATCH] sandbox: Compile test device tree when CONFIG_UT_DM is defined

2015-05-25 Thread Joe Hershberger
Hi Simon, On Sat, May 23, 2015 at 12:59 PM, Simon Glass s...@chromium.org wrote: A conflict between the PMIC and unit test work means that the sandbox test device tree file is no-longer built. Fix this. Signed-off-by: Simon Glass s...@chromium.org --- Acked-by: Joe Hershberger

[U-Boot] [PATCH 5/6] x86: qemu: Create i440fx and q35 board configuration and device tree

2015-05-25 Thread Bin Meng
Although the two qemu-x86 targets (i440fx and q35) share a lot in common, they still have something that cannot easily handled in one place (like different configurations, different properties in the device tree). Split to create two dedicated board configuration and device tree files and make the

Re: [U-Boot] [PATCH] fastboot: Dynamic controller index for usb_gadget_handle_interrupts

2015-05-25 Thread Lukasz Majewski
Hi Paul, Since we're now using a dynamic controller index for fastboot too, usb_gadget_handle_interrupts should be using it instead of 0 (despite the fact that it's currently not being used at all in the musb-new implementation). Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Lukasz Majewski
Hi Marek, On Friday, May 22, 2015 at 06:14:21 PM, Przemyslaw Marczak wrote: Hello, this patchset consists of all features required to use DFU on Odroid XU3. The default extra environment settings from exynos5-common.h is redefined and appended by dfu env settings. For an example of

[U-Boot] [PATCH v2 1/4] x86: Refactor PIRQ routing support

2015-05-25 Thread Bin Meng
PIRQ routing is pretty much common in Intel chipset. It has several PIRQ links (normally 8) and corresponding registers (either in PCI configuration space or memory-mapped IBASE) to configure the legacy 8259 IRQ vector mapping. Refactor current Queensbay PIRQ routing support using device tree and

[U-Boot] [PATCH v2 2/4] x86: Document irq router device tree bindings

2015-05-25 Thread Bin Meng
Describe all required properties needed by the irq router device tree. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: - Fix typo of 'configuration' doc/device-tree-bindings/misc/intel,irq-router.txt | 50 ++ 1 file

Re: [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies

2015-05-25 Thread Joe Hershberger
Hi Michal, On Mon, May 25, 2015 at 4:37 AM, Michal Simek michal.si...@xilinx.com wrote: NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to Kconfig to ensure that library is also compiled. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Acked-by: Joe Hershberger

[U-Boot] [PATCH v2 4/4] x86: Do sanity test on pirq table before writing

2015-05-25 Thread Bin Meng
If pirq_routing_table points to NULL, that means U-Boot fails to generate the table before in create_pirq_routing_table(), so we test it against NULL before actually writing it. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None

[U-Boot] cpsw not working with slave2 port defined only

2015-05-25 Thread Belisko Marek
Hi, I have custom am33xx board with phy connected to slave2 port. I copy'n'paste cpsw setup from /board/BuR/common/common.c but I'm using only slave2 port (RMII mode) so my cpsw_slave_data looks like: static struct cpsw_slave_data cpsw_slaves[] = { { .slave_reg_ofs = 0x308,

Re: [U-Boot] Proposal to add NAND-boot support for Sunxi SPL

2015-05-25 Thread Hans de Goede
Hi, On 22-05-15 09:04, Roy Spliet wrote: Hello, For my set-up I made use of Boris Brezillon's sunxi-nand tree[1], or actually I rebased his patches on top of 4.0rc7. This basically adds support for NAND-chip partitioning, ECC and randomisation. Docs for the DT specification in

Re: [U-Boot] Proposal to add NAND-boot support for Sunxi SPL

2015-05-25 Thread Hans de Goede
Hi, On 25-05-15 20:35, Hans de Goede wrote: Hi, On 22-05-15 09:04, Roy Spliet wrote: Hello, For my set-up I made use of Boris Brezillon's sunxi-nand tree[1], or actually I rebased his patches on top of 4.0rc7. This basically adds support for NAND-chip partitioning, ECC and randomisation.

Re: [U-Boot] [PATCH v3 0/2] ARM: zynq: include ps7_init_gpl.c/h of Zed, MicroZed, ZC702, ZC706

2015-05-25 Thread Michal Simek
On 05/18/2015 08:31 AM, Masahiro Yamada wrote: Masahiro Yamada (2): ARM: zynq: add separate configuration for ZC702 and ZC706 ARM: zynq: add default ps7_init_gpl.c/h for Zed, MicroZed, ZC70x arch/arm/mach-zynq/Kconfig |25 +- arch/arm/mach-zynq/spl.c

Re: [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg.

2015-05-25 Thread Paolo Bonzini
On 22/05/2015 18:54, Saket Sinha wrote: Hi Simon, Is it possible for us to add support to qemu to provide acpi tables via fw_cfg in u-boot ? If we find acpi tables in fw_cfg try loading them, otherwise fallback to the builtin acpi tables. Coreboot does it in the following way -

[U-Boot] [PATCH] sparc: fix build error on gr_ep2s60 board

2015-05-25 Thread Masahiro Yamada
Commit 92ac52082140 (net: Remove all references to CONFIG_ETHADDR and friends) accidentally dropped #endif. Since then, gr_ep2s60 could not build. scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h GEN include/autoconf.mk In file included from include/config.h:5:0,

Re: [U-Boot] [PATCH 0/7] Odroid XU3: enable DWC3 and DFU/THOR/UMS

2015-05-25 Thread Minkyu Kang
Hi, On 26/05/15 00:07, Marek Vasut wrote: On Monday, May 25, 2015 at 04:51:29 PM, Lukasz Majewski wrote: Hi Marek, Hi! On Friday, May 22, 2015 at 06:14:21 PM, Przemyslaw Marczak wrote: Hello, this patchset consists of all features required to use DFU on Odroid XU3. The default extra

[U-Boot] Generic Board for SPARC ?

2015-05-25 Thread Masahiro Yamada
Hi, The patch series for SPARC generic board was posted last November, but it has been dismissed so far (and it cannot be applied to the mainline any more.) http://patchwork.ozlabs.org/patch/406966/ It has been delegated to Daniel Hellstrom, but it looks like he has been inactive for more than

Re: [U-Boot] soft-i2c and i2c-gpio issues with at91

2015-05-25 Thread Heiko Schocher
Hello Matt, Am 22.05.2015 16:35, schrieb Matt Wood: Hi all, I am trying to get a bitbanged i2c port working with u-boot on an Atmel SAMA5D3 platform. I have added DT bindings to support the I2C drivers however when I try to select the bus on the u-boot command line I consistently get an error

[U-Boot] [PATCH v4 3/4] x86: gpio: add pinctrl support from the device tree

2015-05-25 Thread Gabriel Huau
Every pin can be configured now from the device tree. A dt-bindings has been added to describe the different property available. Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes in v4: - Rebase modification on latest update - Fix typo to read the io-base - Fix

[U-Boot] [PATCH] blackfin: fix build error on bct-brettl2 board

2015-05-25 Thread Masahiro Yamada
Commit 76ec988b062e (net: Remove all calls to net_random_ethaddr()) accidentally deleted CONFIG_TARGET_BCT_BRETTL2=y, and since then bct-brettl2 would not build. Since commit a26cd04920dc (arch: Make board selection choices optional), Kconfig actually allows such a .config file in which no board

Re: [U-Boot] [PATCH v3 4/4] x86: minnowmax: initialize the pin-muxing from device tree

2015-05-25 Thread gabriel huau
Hi Simon, I just submitted a new version of the patch, actually, when I tried to use the GPIO on the header I saw a typo in the code. To test it, you have to define these nodes in the device tree (should be there by default or not?): soc_gpio_s5_0@0 { gpio-offset = 0x80

[U-Boot] [PATCH v3] armv8: caches: Added routine to set non cacheable region

2015-05-25 Thread Siva Durga Prasad Paladugu
Added routine mmu_set_region_dcache_behaviour() to set a particular region as non cacheable. Define dummy routine for mmu_set_region_dcache_behaviour() to handle incase of dcache off. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Acked-by: Michal Simek michal.si...@xilinx.com ---

Re: [U-Boot] [PATCH 2/2] pwm: imx: Remove unreachable code

2015-05-25 Thread Heiko Schocher
Hello Axel, Am 23.05.2015 09:17, schrieb Axel Lin: The break after return is unreachable code, remove it. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pwm/pwm-imx-util.c | 4 1 file changed, 4 deletions(-) Acked-by: Heiko Schocher h...@denx.de bye, Heiko diff --git

Re: [U-Boot] [PATCH 1/2] pwm: imx: Prevent NULL pointer dereference

2015-05-25 Thread Heiko Schocher
Hello Axel, Am 23.05.2015 09:16, schrieb Axel Lin: pwm_id_to_reg() can return NULL, so add NULL testing to prevent NULL pointer dereference. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pwm/pwm-imx.c | 12 1 file changed, 12 insertions(+) Acked-by: Heiko Schocher

Re: [U-Boot] cpsw not working with slave2 port defined only

2015-05-25 Thread Mx21
hi marek: please check your cpsw_data.slaves change it to 1 and you can set cpsw_data.active_slave = 0 before cpsw_register ,if cpsw_data.slaves is 2. -- Original -- From: Belisko Marek;marek.beli...@gmail.com; Date: Tue, May 26, 2015 03:30 AM To:

[U-Boot] [PATCH] kbuild: define DO_DEPS_ONLY for u-boot.cfg to fix build error

2015-05-25 Thread Masahiro Yamada
Since 741e58e0fc8e (Create a .cfg file containing the CONFIG options used to build), all the Blackfin boards fail to build if the parallel (-j) option is passed. $ make -s bf506f-ezkit_defconfig # # configuration written to .config # $ make -j8 CROSS_COMPILE=bfin-elf-