Re: [U-Boot] i.MX53 USB Client not working

2015-05-20 Thread Matthew Starr
Fabio, I added the '#define CONFIG_USB_MAX_CONTROLLER_COUNT 2' to my include config file and I see that it loads both USB port 0 and 1. To me it looks like using CONFIG_USB_MAX_CONTROLLER_COUNT produces that number of duplicate devices all of the USB port defined by CONFIG_MXC_USB_PORT. If CON

Re: [U-Boot] [PATCH 3/6] sh: Remove rsk7203 board

2015-05-20 Thread Kieran Bingham
There is an sh2a toolchain at : https://sourcery.mentor.com/public/gnu_toolchain/sh-uclinux/renesas-2010.09-60-sh-uclinux-i686-pc-linux-gnu.tar.bz2 That said - I don't know how many users of the board there are left :) On 10 May 2015 at 15:23, Joe Hershberger wrote: > Removing this board becau

[U-Boot] [PATCH v5 18/26] test: Move the unit tests to their own menu

2015-05-20 Thread Joe Hershberger
Make all unit tests selectable as a menu of test suites instead of just sitting in the top-level menu individually. Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- Changes in v5: -Time unit tests now depend on UNIT_TEST Changes in v4: -Fixed bisectability issue Changes in v3: -New fo

[U-Boot] [PATCH v5 17/26] test: dm: Move the time test over to the ut command

2015-05-20 Thread Joe Hershberger
Unify the command for running unit tests further by moving the "ut_time" command over to "ut time". Signed-off-by: Joe Hershberger --- Changes in v5: -Move the new time test to the common ut command Changes in v4: None Changes in v3: None Changes in v2: None configs/sandbox_defconfig | 2 +-

[U-Boot] [PATCH v5 06/26] env: Allow env_attr_walk to pass a priv * to callback

2015-05-20 Thread Joe Hershberger
In some cases it can be helpful to have context in the callback about the calling situation. This is needed for following patches. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c

[U-Boot] [PATCH v5 03/26] sandbox: Enable some ENV commands

2015-05-20 Thread Joe Hershberger
Enable some additional ENV commands in sandbox to aid in build testing and run testing. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/sandbox.h | 5 + 1 file changed, 5 insertions

[U-Boot] [PATCH v5 04/26] env: Fix return values in env_attr_lookup()

2015-05-20 Thread Joe Hershberger
This function returned numbers for error codes. Change them to error codes. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/env_attr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[U-Boot] [PATCH v5 11/26] net: Add default flags for common net env vars

2015-05-20 Thread Joe Hershberger
Check that the common network stack's env vars conform to the proper format for IP addresses. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/env_flags.h | 12 +++- 1 file changed, 11 i

[U-Boot] [PATCH v5 09/26] net: Apply default format rules to all ethaddr

2015-05-20 Thread Joe Hershberger
Use a regular expression to apply the default formatting flags for all ethaddr env vars. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -Added comments about the use of .flags in the dm eth test include/en

[U-Boot] [PATCH v5 00/26] Improve env var handling for net stack

2015-05-20 Thread Joe Hershberger
This includes moving CONFIG_REGEX to Kconfig and adding support for regex to the env_attr lists (when CONFIG_REGEX is enabled). This allows ethaddrs to all be checked for access and format by default. Also use callbacks to keep network stack variables up to date instead of polling them on each cal

[U-Boot] [PATCH v5 26/26] sandbox: Enable env unit tests

2015-05-20 Thread Joe Hershberger
Enable the new env unit tests on sandbox. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -New for version 2 configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sandbox_def

[U-Boot] [PATCH v5 08/26] env: Distinguish finer between source of env change

2015-05-20 Thread Joe Hershberger
We already could tell the difference in the callback between an import and "other" which we called interactive. Now add further distinction between interactive (i.e. running env set / env edit / env ask / etc. from the U-Boot command line) and programmatic (i.e. when u-boot source calls any variant

[U-Boot] [PATCH v5 07/26] env: Add regex support to env_attrs

2015-05-20 Thread Joe Hershberger
Allow the features that use env_attrs to specify regexs for the name Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -Added description to README README | 8 + common/env_attr.c |

[U-Boot] [PATCH v5 14/26] test: Generalize the unit test framework

2015-05-20 Thread Joe Hershberger
Separate the ability to define tests and assert status of test functions from the dm tests so they can be used more consistently throughout all tests. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: -Updated to rework the 3 new tests in master Changes in v4: None Cha

[U-Boot] [PATCH v5 13/26] net: Handle ethaddr changes as an env callback

2015-05-20 Thread Joe Hershberger
When the ethaddr is changed in the env, update the device pdata at the same time (only if it is probed for the DM case; only if registered for the non-DM case). Again this gets us closer to completely non-polled env needed to simplify the net_loop. This requires that the NET feature select the REG

Re: [U-Boot] [PATCH v4 00/26] Improve env var handling for net stack

2015-05-20 Thread Joe Hershberger
Hi Tom, On Wed, May 20, 2015 at 9:58 AM, Tom Rini wrote: > On Thu, May 07, 2015 at 04:48:51AM -0500, Joe Hershberger wrote: > >> This includes moving CONFIG_REGEX to Kconfig and adding support for >> regex to the env_attr lists (when CONFIG_REGEX is enabled). >> >> This allows ethaddrs to all be

[U-Boot] [PATCH v5 24/26] test: env: Add test for verifying env attrs

2015-05-20 Thread Joe Hershberger
Add a test of the env_attr_lookup() function. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -New for version 2 test/env/Makefile | 1 + test/env/attr.c | 62

[U-Boot] [PATCH v5 25/26] test: env: Add a test of the new regex behavior for attrs

2015-05-20 Thread Joe Hershberger
The behavior of the env attrs depends on CONFIG_REGEX. Add an additional test if that variable is set. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -New for version 2 test/env/attr.c | 27 +++

[U-Boot] [PATCH v5 21/26] test: Return values from the asserts compatible with cmds

2015-05-20 Thread Joe Hershberger
The asserts are sometimes called from the context of the test command itself so make sure that a return that happens as a result of a failure is compatible with that command return. When called within a test, the return value is ignored. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --

[U-Boot] [PATCH v5 20/26] test: dm: eth: Handle failed test env cleanup

2015-05-20 Thread Joe Hershberger
Make sure that the env gets cleaned up after a test fails so that other tests aren't affected. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None test/dm/eth.c | 81 +-

[U-Boot] [PATCH v5 16/26] test: dm: Move the dm tests over to the ut command

2015-05-20 Thread Joe Hershberger
Unify the command for running unit tests further by moving the "dm test" command over to "ut dm". Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None configs/sandbox_defconfig | 2 +- include/

[U-Boot] [PATCH v5 01/26] sandbox: Cleanup order and extra defines in defconfig

2015-05-20 Thread Joe Hershberger
The defconfigs should not be edited directly. They should be generated by editing the .config (through menuconfig or whatever) and then run make savedefconfig to have the Kconfig system generate a clean defconfig I did this for sandbox here with no actual changes. Signed-off-by: Joe Hershberger

[U-Boot] [PATCH v5 22/26] test: dm: Recover the driver model tree after tests

2015-05-20 Thread Joe Hershberger
Put the driver model for the system back into a good state after completing the DM testing. Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None test/dm/test-main.c | 5 + 1 file changed, 5

[U-Boot] [PATCH v5 12/26] net: Remove duplicate bootfile syncing functionality

2015-05-20 Thread Joe Hershberger
The bootfile env var is already kept up to date by the callback in net.c so there is no need to poll it too. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None net/eth.c | 12 1 file changed, 12 deletio

[U-Boot] [PATCH v5 10/26] net: Use env callbacks for net variables

2015-05-20 Thread Joe Hershberger
Instead of checking for changes to the env each time we enter the net_loop, use the env callbacks to update the values of the variables. Don't update the variables when the source was programmatic, since the variables were the source of the new value. Signed-off-by: Joe Hershberger Reviewed-by: S

[U-Boot] [PATCH v5 23/26] test: env: Add test framework for env

2015-05-20 Thread Joe Hershberger
Add a new "env" subcommand to the ut command. This will run unit tests on the env code. This should be targetable to any device that supports the env features needed for the tests. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3

[U-Boot] [PATCH v5 19/26] test: dm: Don't bail on all tests if one test fails

2015-05-20 Thread Joe Hershberger
There's not much point in having a failure count if we always give up on the first failure. Also stop clearing the entire state between tests. Make sure that any failures are still passed out to the command line. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v5: None C

[U-Boot] [PATCH v5 02/26] sandbox: Use defconfig to enable features

2015-05-20 Thread Joe Hershberger
Stop using the sandbox arch Kconfig to override defaults for config options. This is a bit of abuse and may be causing build problems. Signed-off-by: Joe Hershberger --- Changes in v5: -Rebased and reran savedefconfig Changes in v4: -New for version 4 Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 15/26] test: Add a common unit test command

2015-05-20 Thread Joe Hershberger
Add a command that all other unit tests should be a sub-command of. Also include a command that will run all tests. Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None include/test/suites.h | 1

[U-Boot] [PATCH v5 05/26] env: Simplify the reverse_strstr() interface

2015-05-20 Thread Joe Hershberger
The logic to find the whole matching name was split needlessly between the reverse_strstr function and its caller. Fully contain it to make the interface for calling it more consistent. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

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

2015-05-20 Thread Simon Glass
On 20 May 2015 at 03:06, Bin Meng wrote: > Hi Andy, > > On Wed, May 20, 2015 at 4:06 PM, Andy Pont wrote: >> Hi Bin, >> >>> + "pci": IRQ routing is controlled by PCI configuraiton registers >> ^^^ >> >> One small typo to correct. >> >

Re: [U-Boot] [PATCH 1/2] x86: qemu: Make host bridge (b.d.f=0.0.0) visible

2015-05-20 Thread Simon Glass
Hi Bin, On 20 May 2015 at 03:04, Bin Meng wrote: > The default weak version of pci_skip_dev() in drivers/pci/pci_common.c > skips the host bridge (b.d.f = 0.0.0) which is actually the i440fx/q35 > chipset for QEMU targets. Make it visible in the PCI configuration space. > > Signed-off-by: Bin Men

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

2015-05-20 Thread Simon Glass
Hi Bin, On 20 May 2015 at 01:55, Bin Meng wrote: > 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 cur

Re: [U-Boot] [PATCH 2/2] x86: qemu: Turn on legacy segments decode

2015-05-20 Thread Simon Glass
On 20 May 2015 at 03:04, Bin Meng wrote: > By default the legacy segments C/D/E/F do not decode to system RAM. > Turn on the decode via Programmable Attribute Map (PAM) registers > so that we can write configuration tables in the F segment. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/qemu

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks

2015-05-20 Thread Scott Wood
On Wed, 2015-05-20 at 10:10 -0700, York Sun wrote: > Scott, > > Please comment on this patch. > > York I think this should be set treewide (as Linux does), not just for mpc85xx. But use cc-option to make sure that the compiler supports the option. -Scott > > On 05/06/2015 11:07 PM, Prabhakar

Re: [U-Boot] [PATCH 1/3 v1] arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a

2015-05-20 Thread York Sun
On 03/26/2015 10:05 PM, Haikun Wang wrote: > Define CONFIG_DEFAULT_DEVICE_TREE for ls1021a series boards. > > Signed-off-by: Haikun Wang > --- > configs/ls1021aqds_ddr4_nor_defconfig| 1 + > configs/ls1021aqds_nand_defconfig| 1 + > configs/ls1021aqds_nor_SECURE_BOOT_defcon

Re: [U-Boot] [PATCH 2/2] arm/ls102xa: Add PSCI support for ls102xa

2015-05-20 Thread York Sun
On 05/12/2015 10:59 PM, Dongsheng Wang wrote: > From: Wang Dongsheng > > Base on PSCI services, implement CPU_ON/CPU_OFF for ls102xa platform. > > Tested on LS1021AQDS, LS1021ATWR. > Test CPU hotplug times: 60K > Test kernel boot times: 1.2K > > Signed-off-by: Wang Dongsheng > --- > This pat

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks

2015-05-20 Thread York Sun
Scott, Please comment on this patch. York On 05/06/2015 11:07 PM, Prabhakar Kushwaha wrote: > -fdelete-null-pointer-checks flag controls global dataflow analyses and > eliminate useless checks for null pointers; It assume that if a pointer is > checked after it has already been dereferenced,

Re: [U-Boot] Pull request: u-boot-net.git master

2015-05-20 Thread Joe Hershberger
Hi Tom, On Wed, May 20, 2015 at 6:28 AM, Tom Rini wrote: > On Tue, May 19, 2015 at 01:56:47PM -0500, Joe Hershberger wrote: > >> Hi Tom, >> >> This contains a few bug fixes and features from earlier in the merge window. >> >> The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548

[U-Boot] [PATCH] powerpc/mpc8500/ucp1020: fix environment macros

2015-05-20 Thread Oleksandr G Zhadan
Always check for tftp status on download. Don't continue to format and/or program new image if an error in tftp download. Signed-off-by: Michael Durrant Signed-off-by: Oleksandr G Zhadan --- include/configs/UCP1020.h | 135 -- 1 file changed, 84 inse

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Andy Pont
Hi Bin, > BTW, so you are working on this board? > http://www.siliconmotion.com/EW_Pages/Osprey.html > Looks like a quark based board with graphics support! Are you planning > to submit patches to enable it? It is indeed for one of those boards, as an off-radar task to get my head back into x86

Re: [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info

2015-05-20 Thread Stefano Babic
On 20/05/2015 16:45, Otavio Salvador wrote: > On Wed, May 20, 2015 at 11:43 AM, Markus Niebel > wrote: >> Am 18.05.2015 um 15:56 schrieb Tim Harvey: >>> Use Temperature grade info in OTP/eFUSE for thermal management and display >>> of >>> thermal data. >>> >>> Cc: Stefan Roese >>> Cc: Eric Nels

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Bin Meng
Hi Andy, On Wed, May 20, 2015 at 10:58 PM, Andy Pont wrote: > Hi Bin, > >> > It is using the standard version of gcc that comes as part of the >> > CentOS 6.6 installation which is 4.4.7. >> > >> >> I have been using 4.6.1 and 4.7.2, and both work. Can you please try >> some newer gcc? > > Good c

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-05-20 Thread XoD
Ok, thank you for your response. I waiting SPL for wandboard too. I like to add Wandboard support in OpenELEC (and Lakka) with SPL (to not have separate img for Wandboard dual and Wandboard quad.) XoD 2015-05-19 22:42 GMT+02:00 Vagrant Cascadian : > On 2015-05-19, XoD wrote: > > Any new of this

Re: [U-Boot] [PATCH v4 00/26] Improve env var handling for net stack

2015-05-20 Thread Tom Rini
On Thu, May 07, 2015 at 04:48:51AM -0500, Joe Hershberger wrote: > This includes moving CONFIG_REGEX to Kconfig and adding support for > regex to the env_attr lists (when CONFIG_REGEX is enabled). > > This allows ethaddrs to all be checked for access and format by default. > Also use callbacks to

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

2015-05-20 Thread Tim Harvey
On Wed, May 20, 2015 at 7:14 AM, Marcel Ziswiler wrote: > 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

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Andy Pont
Hi Bin, > > It is using the standard version of gcc that comes as part of the > > CentOS 6.6 installation which is 4.4.7. > > > > I have been using 4.6.1 and 4.7.2, and both work. Can you please try > some newer gcc? Good call. Having found a gcc version 4.8.4 then it has all compiled success

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Bin Meng
Hi Andy, On Wed, May 20, 2015 at 10:50 PM, Andy Pont wrote: > Hi Bin, > >> >> Can you post your full configuration here? >> > >> > I have attached the autoconf.mk and U-Boot .config files. Hopefully they >> > tell you what you need. >> > >> >> Looks OK. What gcc version are you using? It seems

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Andy Pont
Hi Bin, > >> Can you post your full configuration here? > > > > I have attached the autoconf.mk and U-Boot .config files. Hopefully they > > tell you what you need. > > > > Looks OK. What gcc version are you using? It seems that your compiler > does not understand the macro DOWNTO8 and DOWNTO16

[U-Boot] [PATCH] sunxi: musb: Properly put the musb controller back in reset on exit

2015-05-20 Thread Hans de Goede
Assert reset and disable the clock to properly put the musb controller back in reset on exit. Signed-off-by: Hans de Goede --- drivers/usb/musb-new/sunxi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index e8a3a23..e2c9d5

Re: [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info

2015-05-20 Thread Otavio Salvador
On Wed, May 20, 2015 at 11:43 AM, Markus Niebel wrote: > Am 18.05.2015 um 15:56 schrieb Tim Harvey: >> Use Temperature grade info in OTP/eFUSE for thermal management and display of >> thermal data. >> >> Cc: Stefan Roese >> Cc: Eric Nelson >> Cc: Heiko Schocher >> Cc: Nikita Kiryanov >> Cc: Jo

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Bin Meng
Hi Andy, On Wed, May 20, 2015 at 6:20 PM, Andy Pont wrote: > Hi Bin, > >> Can you post your full configuration here? > > I have attached the autoconf.mk and U-Boot .config files. Hopefully they > tell you what you need. > Looks OK. What gcc version are you using? It seems that your compiler do

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Andy Pont
Hi Simon, > >> I am using xterm, not sure if this helps. > >> > >> $ echo $TERM > >> xterm > > > > That is what I have too. I guess it might be down to the way > SecureCRT is interpreting what it is being sent rather than the Linux > machine itself. > > You might be able to set that terminal pro

Re: [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info

2015-05-20 Thread Markus Niebel
Am 18.05.2015 um 15:56 schrieb Tim Harvey: > Use Temperature grade info in OTP/eFUSE for thermal management and display of > thermal data. > > Cc: Stefan Roese > Cc: Eric Nelson > Cc: Heiko Schocher > Cc: Nikita Kiryanov > Cc: Jon Nettleton > Cc: Jason Liu > Cc: Ye Li > Cc: Fabio Estevam >

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Simon Glass
Hi Andy, On 20 May 2015 at 04:20, Andy Pont wrote: > Hi Bin, > >> Can you post your full configuration here? > > I have attached the autoconf.mk and U-Boot .config files. Hopefully they > tell you what you need. > >> > Also, if anyone can tell me what $TERM setting I need to get the rogue "b" >

Re: [U-Boot] [PATCH v2 2/6] pci: Do not skip legacy IDE device configuration

2015-05-20 Thread Simon Glass
On 20 May 2015 at 08:26, Simon Glass wrote: > +Wolfgang > > On 18 May 2015 at 19:40, Bin Meng wrote: >> Hi Simon, >> >> Reply this thread to the v2 patch. >> >> On Tue, May 19, 2015 at 5:39 AM, Simon Glass wrote: >>> Hi Bin, >>> >> On Sat, May 16, 2015 at 9:33 AM, Bin Meng wrote: The legac

Re: [U-Boot] [PATCH v2 2/6] pci: Do not skip legacy IDE device configuration

2015-05-20 Thread Simon Glass
+Wolfgang On 18 May 2015 at 19:40, Bin Meng wrote: > Hi Simon, > > Reply this thread to the v2 patch. > > On Tue, May 19, 2015 at 5:39 AM, Simon Glass wrote: >> Hi Bin, >> > On Sat, May 16, 2015 at 9:33 AM, Bin Meng wrote: >>> The legacy IDE device has a BAR4 (Bus Master Interface BAR) which >>

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

2015-05-20 Thread Simon Glass
Hi Gabriel, I have two patches in patchwork: http://patchwork.ozlabs.org/patch/471146/ http://patchwork.ozlabs.org/patch/471147/ Are they the correct ones? Also do you know how to use the gpio command to toggle a bin on the Minnowboard MAX header? I'd like to try that. Regards, Simon On 12 Ma

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 > > --- > > BTW: Still fail

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-20 Thread Simon Glass
Hi Stephen, On 20 May 2015 at 08:04, Stephen Warren wrote: > On 05/20/2015 07:40 AM, Simon Glass wrote: >> >> Hi Peter, >> >> On 20 May 2015 at 04:21, Peter Robinson wrote: >>> >>> Hi Simon, >>> >> I wonder what would be involved in adjusting config_distro_bootcmd to >> support FIT?

Re: [U-Boot] [Patch v3 4/4] thermal: imx_thermal: use CPU temperature grade for trip points

2015-05-20 Thread Tim Harvey
On Mon, May 18, 2015 at 6:56 AM, Tim Harvey wrote: > Replace the hard-coded values for min/max/passive with values derived from > the CPU temperature grade. > > Signed-off-by: Tim Harvey > --- > drivers/thermal/imx_thermal.c | 29 +++-- > 1 file changed, 19 insertions(+),

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-20 Thread Stephen Warren
On 05/20/2015 07:40 AM, Simon Glass wrote: Hi Peter, On 20 May 2015 at 04:21, Peter Robinson wrote: Hi Simon, I wonder what would be involved in adjusting config_distro_bootcmd to support FIT? Well, it goes against the very idea of config_distro_bootcmd, which is to provide a single stand

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-20 Thread Simon Glass
Hi Peter, On 20 May 2015 at 04:21, Peter Robinson wrote: > Hi Simon, > I wonder what would be involved in adjusting config_distro_bootcmd to support FIT? >>> >>> >>> Well, it goes against the very idea of config_distro_bootcmd, which is to >>> provide a single standard mechanism that do

[U-Boot] [PATCH v2 3/6] sunxi: Update sunxi-common.h to deal with different DRAM base addr on sun9i

2015-05-20 Thread Hans de Goede
The DRAM Base differs between sun9i and the others, update sunxi-common.h to deal with this. Signed-off-by: Hans de Goede --- include/configs/sunxi-common.h | 53 -- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/include/configs/sunxi-comm

[U-Boot] [PATCH v2 1/6] sunxi: Use axp221 sid on a33

2015-05-20 Thread Hans de Goede
Unlike the A31 and the A23 the A33 actually has a SID inside the SoC again, but sid[3] is 0 (at least on some SoCs), so it is better to use the axp221 sid. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --g

[U-Boot] [PATCH v2 4/6] sunxi: Update sunxi-common.h to deal with different A1-SRAM base addr on sun9i

2015-05-20 Thread Hans de Goede
The A1 SRAM Base differs between sun9i and the others, update sunxi-common.h to deal with this, so that we do not set the initial stack pointer to point to the BROM. This removes the need for the weird undocumented register write I took from the allwiner u-boot sources and which needed #ifdef-ery

[U-Boot] [PATCH v2 5/6] sun9i: Basic sun9i (A80) support

2015-05-20 Thread Hans de Goede
Add initial sun9i (A80) support, only uart + mmc are supported for now. Signed-off-by: Hans de Goede Acked-by: Ian Campbell --- arch/arm/cpu/armv7/sunxi/Makefile | 2 ++ arch/arm/cpu/armv7/sunxi/board.c | 4 arch/arm/cpu/armv7/sunxi/cpu_info.c| 3 +++ arch/arm/include/asm

[U-Boot] [PATCH v2 2/6] sunxi: Remove support for building "old-fashioned" fel binaries

2015-05-20 Thread Hans de Goede
The latest versions of the fel tool support loading normal u-boot builds directly, and this is now the preferred way to use the fel boot method. This commit removes support for the old deprecated standalone fel builds. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/board.c | 8 -

[U-Boot] [PATCH v2 0/6] sunxi: Allwinner A80 SoC support

2015-05-20 Thread Hans de Goede
Hi Ian, Here is the long awaited version 2 of my Allwinner A80 support series. Changes since v2: -Cleaned up the sunxi-common.h #ifdef-ery to deal with the DRAM base differences -Added a patch for the base address of the A1 SRAM being different, using the proper base address allows removal of

[U-Boot] [PATCH v2 6/6] sun9i: Add Merrii_A80_Optimus board / defconfig file

2015-05-20 Thread Hans de Goede
Signed-off-by: Hans de Goede Acked-by: Ian Campbell --- board/sunxi/MAINTAINERS | 2 ++ configs/Merrii_A80_Optimus_defconfig | 11 +++ 2 files changed, 13 insertions(+) create mode 100644 configs/Merrii_A80_Optimus_defconfig diff --git a/board/sunxi/MAINTAINERS b/board/su

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

2015-05-20 Thread Tim Harvey
On Wed, May 20, 2015 at 4:27 AM, Marcel Ziswiler wrote: > On Tue, 2015-05-19 at 10:01 -0700, Tim Harvey wrote: >> This reverts commit 17da7120249bfdef877f46be5bbcb3cc01212eb9. >> >> The i210/i211 do have the SW_FW_SYNC (0x5b5c) register and this is what >> should >> be used when acquiring the sem

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

2015-05-20 Thread Marek Vasut
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 line size is 32 bytes. > If on chips whose cache line size is 64 bytes, error occurs: Which chips are those? > NAND: ERROR: v7_dcache_inval_r

Re: [U-Boot] Pull request: u-boot-net.git master

2015-05-20 Thread Tom Rini
On Tue, May 19, 2015 at 01:56:47PM -0500, Joe Hershberger wrote: > Hi Tom, > > This contains a few bug fixes and features from earlier in the merge window. > > The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: > > Merge git://git.denx.de/u-boot-samsung (2015-05-18 0

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

2015-05-20 Thread Marcel Ziswiler
On Tue, 2015-05-19 at 10:01 -0700, Tim Harvey wrote: > remove unnecessary clearing of SWSM.SWSM_SMBI when obtaining the SW > semaphore. This was introduced in 951860634fdb557bbb58e0f99215391bc0c29779 > while adding i210 support and should be now resolved by releasing the > semaphore when no longer

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 > Cc: Aneesh Bansal >

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

2015-05-20 Thread Marcel Ziswiler
On Tue, 2015-05-19 at 10:01 -0700, Tim Harvey wrote: > This reverts commit 17da7120249bfdef877f46be5bbcb3cc01212eb9. > > The i210/i211 do have the SW_FW_SYNC (0x5b5c) register and this is what should > be used when acquiring the semaphore. > > I believe the issue that this patch was trying to res

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

2015-05-20 Thread Tom Rini
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote: > Updated PR, dropped the patch from Hans and picked the OHCI cache > patch instead: > > The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: > > Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -04

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-20 Thread Peter Robinson
Hi Simon, >>> I wonder what would be involved in adjusting config_distro_bootcmd to >>> support FIT? >> >> >> Well, it goes against the very idea of config_distro_bootcmd, which is to >> provide a single standard mechanism that doesn't rely on any >> bootloader-specific file formats etc. That mech

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Andy Pont
Hi Bin, > Can you post your full configuration here? I have attached the autoconf.mk and U-Boot .config files. Hopefully they tell you what you need. > > Also, if anyone can tell me what $TERM setting I need to get the rogue "b" > > characters to actually display bold/bright then that would be

Re: [U-Boot] Quark compile errors

2015-05-20 Thread Bin Meng
Hi Andy, On Wed, May 20, 2015 at 6:00 PM, Andy Pont wrote: > Hello, > > I am trying to create a configuration for the Silicon Motion Osprey board > which is a Quark SoC and their SM750 graphics controller. > > I have cloned the Intel Galileo files and changed them accordingly and have > defined t

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

2015-05-20 Thread Bin Meng
On Wed, May 20, 2015 at 1:01 AM, Tim Harvey wrote: > remove unnecessary clearing of SWSM.SWSM_SMBI when obtaining the SW > semaphore. This was introduced in 951860634fdb557bbb58e0f99215391bc0c29779 > while adding i210 support and should be now resolved by releasing the > semaphore when no longer n

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

2015-05-20 Thread Bin Meng
On Wed, May 20, 2015 at 1:01 AM, Tim Harvey wrote: > This reverts commit 17da7120249bfdef877f46be5bbcb3cc01212eb9. > > The i210/i211 do have the SW_FW_SYNC (0x5b5c) register and this is what should > be used when acquiring the semaphore. > > I believe the issue that this patch was trying to resolv

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

2015-05-20 Thread Bin Meng
On Wed, May 20, 2015 at 1:01 AM, 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 > Cc: Aneesh Bansal > Cc

[U-Boot] Quark compile errors

2015-05-20 Thread Andy Pont
Hello, I am trying to create a configuration for the Silicon Motion Osprey board which is a Quark SoC and their SM750 graphics controller. I have cloned the Intel Galileo files and changed them accordingly and have defined the options for the VBIOS for the graphics controller but when I try to co

[U-Boot] [PATCH] drivers/elbc:Memory leak fix

2015-05-20 Thread Raghav Dogra
Freeing allocated memory to priv before returning from the function Signed-off-by: Raghav Dogra --- drivers/mtd/nand/fsl_elbc_nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index e85832d..bbf1f39 100644 --- a/drivers

[U-Boot] [PATCH] drivers/ifc:Typecast argument to kfree

2015-05-20 Thread Raghav Dogra
kfree accepts the argument having type void * Typecasting priv to match it Signed-off-by: Raghav Dogra --- drivers/mtd/nand/fsl_ifc_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index 79fa88b..7ddc7e8

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

2015-05-20 Thread Bin Meng
Hi Andy, On Wed, May 20, 2015 at 4:06 PM, Andy Pont wrote: > Hi Bin, > >> + "pci": IRQ routing is controlled by PCI configuraiton registers > ^^^ > > One small typo to correct. > Thanks for pointing it out. I found myself easy to spel

[U-Boot] [PATCH 1/2] x86: qemu: Make host bridge (b.d.f=0.0.0) visible

2015-05-20 Thread Bin Meng
The default weak version of pci_skip_dev() in drivers/pci/pci_common.c skips the host bridge (b.d.f = 0.0.0) which is actually the i440fx/q35 chipset for QEMU targets. Make it visible in the PCI configuration space. Signed-off-by: Bin Meng --- arch/x86/cpu/qemu/pci.c | 10 ++ 1 file cha

[U-Boot] [PATCH 2/2] x86: qemu: Turn on legacy segments decode

2015-05-20 Thread Bin Meng
By default the legacy segments C/D/E/F do not decode to system RAM. Turn on the decode via Programmable Attribute Map (PAM) registers so that we can write configuration tables in the F segment. Signed-off-by: Bin Meng --- arch/x86/cpu/qemu/pci.c | 20 arch/x86

Re: [U-Boot] [PATCH V2 11/13] test: dm: test.dts - move to sandbox dts directory

2015-05-20 Thread Przemyslaw Marczak
Hi Joe, Simon, On 05/19/2015 11:14 PM, Simon Glass wrote: Hi Joe, On 19 May 2015 at 13:23, Joe Hershberger wrote: Hi Simon, On Tue, May 19, 2015 at 2:21 PM, Joe Hershberger wrote: Hi Simon, On Fri, May 15, 2015 at 8:56 AM, Simon Glass wrote: On 13 May 2015 at 05:38, Przemyslaw Marczak

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

2015-05-20 Thread Andy Pont
Hi Bin, > + "pci": IRQ routing is controlled by PCI configuraiton registers ^^^ One small typo to correct. Andy. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

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

2015-05-20 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 m

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

2015-05-20 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 --- arch/x86/cpu/quark/quark.c | 31 ++ arch/x86/dts/galileo.dts

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

2015-05-20 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 --- arch/x86/cpu/irq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/cpu/ir

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

2015-05-20 Thread Bin Meng
Describe all required properties needed by the irq router device tree. Signed-off-by: Bin Meng --- doc/device-tree-bindings/misc/intel,irq-router.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 doc/device-tree-bindings/misc/intel,irq-router.txt diff --git

Re: [U-Boot] Add spi nand support in u-boot

2015-05-20 Thread peterpandong
On 30 April 2015 at 17:09, Jagan Teki wrote: > On 30 April 2015 at 12:16, Peter Pan 潘栋 (peterpandong) > wrote: > > Hi All, > > > > > > > > I’d like to add spi nand support in u-boot. But I don’t know where > should > > > > the spi nand drivers put in and how to define the architecture. > > > > > >