Re: [U-Boot] [PATCH 1/3] dm: serial: Do not panic if no serial ports are found

2015-07-07 Thread Hans de Goede
Hi, On 06-07-15 18:39, Simon Glass wrote: Hi Hans, On 5 July 2015 at 12:56, Hans de Goede wrote: Some boards simply do not have any serial ports. Also no one will see the panic message as there is no where to print it if no serial port is found (and other stdout options are not yet set up at

Re: [U-Boot] [PATCH 2/3] sunxi: Update selects in arch/arm/Kconfig for DM conversions

2015-07-07 Thread Ian Campbell
On Sun, 2015-07-05 at 20:56 +0200, Hans de Goede wrote: > From: Tom Rini > > With certain features being convert to DM now we want sunxi to default > to having DM enabled for ETH/SERIAL and USB in some cases. > > Cc: Hans de Goede > Cc: Ian Campbell > Signed-off-by: Tom Rini > [hdego...@redha

Re: [U-Boot] [PATCH 04/18] x86: Show the un-relocated IP address in exceptions

2015-07-07 Thread Bin Meng
Hi Simon, On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass wrote: > When trying to figure out where an exception has occured, the relocated > address is not a lot of help. Its value depends on various factors. Show > the un-relocated IP as well. This can be looked up in System.map directly. > > Signed

[U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Yuantian.Tang
From: Tang Yuantian When compling under 64bit platforms, there are lots of warnings, like: drivers/block/ahci.c:114:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] u8 *port_mmio = (u8 *)probe_ent->port[port].port_mmio; ^ drivers/block/ahci

Re: [U-Boot] [PATCH 17/18] x86: Convert minnowmax to use CONFIG_DM_NET

2015-07-07 Thread Bin Meng
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass wrote: > Move to driver model for networking on minnowmax. > > Signed-off-by: Simon Glass > --- > > board/intel/minnowmax/minnowmax.c | 6 -- > configs/minnowmax_defconfig | 1 + > 2 files changed, 1 insertion(+), 6 deletions(-) > > diff --gi

Re: [U-Boot] [PATCH 13/18] x86: minnowmax: Drop the cache line size hack

2015-07-07 Thread Bin Meng
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass wrote: > Now that the RTL8169 driver warning is fixed we can drop this. The incorrect > value is causing problems with USB EHCI. > > Signed-off-by: Simon Glass > --- > > include/configs/minnowmax.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --g

Re: [U-Boot] [PATCH 18/18] x86: Convert minnowmax to use CONFIG_DM_USB

2015-07-07 Thread Bin Meng
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass wrote: > Move to driver model for USB on minnowmax. > Signed-off-by: Simon Glass > --- > > configs/minnowmax_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig > index bd3701e.

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

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

[U-Boot] [PATCH] README.distro: fix typos

2015-07-07 Thread Masahiro Yamada
The word "partition" is doubled. Keep decent forms for the following lines. Also, fix some other typos while we are here. Signed-off-by: Masahiro Yamada --- doc/README.distro | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/README.distro b/doc/README.distro

Re: [U-Boot] [PATCH] mtd: fix false positive "Offset exceeds device limit" error

2015-07-07 Thread Masahiro Yamada
Tom, Could you directly apply this into your u-boot/master ? Thanks, Masahiro 2015-07-07 6:30 GMT+09:00 Scott Wood : > On Wed, 2015-07-01 at 21:35 +0900, Masahiro Yamada wrote: >> Since commit 09c3280754f8 (mtd, nand: Move common functions from >> cmd_nand.c to common place), NAND commands wou

[U-Boot] [PATCH] dm: change dm_warn() message into debug() in uclass_add()

2015-07-07 Thread Masahiro Yamada
The command "dm uclass" tries to display all the UClasses, but some of them might be disabled by Kconfig. The function do_dm_dump_uclass() iterates over all the UClass IDs and calls uclass_get() for each of them. Then, it displays annoying message "Cannot find uclass for id ..." every time it fai

Re: [U-Boot] Pull request: u-boot-arm/master

2015-07-07 Thread Albert ARIBAUD
Hello Tom, On Mon, 6 Jul 2015 19:59:20 -0400, Tom Rini wrote: > On Tue, Jul 07, 2015 at 12:09:49AM +0200, Albert ARIBAUD wrote: > With ELDK-5.5: ELDK 5.5.3, default target of armv7a-hf? Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.de

[U-Boot] [PATCH] drivers/fsl-mc: flib changes for mc 8.0.0

2015-07-07 Thread Prabhakar Kushwaha
MC firware version 8.0.0 contains new command flags. This patch contains modifications in FLIB files to support the new command flags. Signed-off-by: Itai Katz Signed-off-by: Prabhakar Kushwaha --- git://git.denx.de/u-boot-fsl-qoriq.git branch next drivers/net/fsl-mc/dpbp.c | 38

[U-Boot] [PATCH 2/3] ARM: at91: sama5: move the nandflash env config to at91-sama5_common.h

2015-07-07 Thread Josh Wu
As all sama5 nandflash env configurations are same, so move them to at91-sama5_common.h. Signed-off-by: Josh Wu --- include/configs/at91-sama5_common.h | 12 include/configs/sama5d3_xplained.h | 9 + include/configs/sama5d3xek.h| 9 + include/configs/sama

[U-Boot] [PATCH 1/3] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h

2015-07-07 Thread Josh Wu
As almost all sama5 sd/mmc env configurations are same, so move them to at91-sama5_common.h. Also we define a KERNEL_DTB_FILE_NAME as dtb file name for different board. Signed-off-by: Josh Wu --- Hi, Those patches depends on the patch: http://patchwork.ozlabs.org/patch/485339/ Best Regards, J

[U-Boot] [PATCH 3/3] ARM: at91: sama5: update the spi flash mapping

2015-07-07 Thread Josh Wu
Also move the spi flash configurations to the at91-sama5_common.h. Current at91 zImage size is about 3.3M, the old mapping is not suitable. So update the spi flash map as following: 0x0 ~ 0x004000: at91bootstrap(16k) 0x04000 ~ 0x008000: u-boot env(16k) 0x08000 ~ 0x06

Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Albert ARIBAUD
Hello yuantian.t...@freescale.com, On Tue, 7 Jul 2015 15:48:26 +0800, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > When compling under 64bit platforms, there are lots of warnings, > like: > > drivers/block/ahci.c:114:18: warning: cast to pointer from integer > of different siz

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

2015-07-07 Thread Albert ARIBAUD
Hello Siva, On Tue, 7 Jul 2015 06:04:16 +, Siva Durga Prasad Paladugu wrote: > Hi Mark, > > Do you have any more comments on this. If not, can you take up this patch. Actually, I would be the one who would take up this patch. Seeing as it did not attract new comments so far, I'll pick it up

[U-Boot] [PATCH] usb: CONFIG_USB_FASTBOOT prefix replacement for consistency

2015-07-07 Thread Paul Kocialkowski
FASTBOOT is defined both by CONFIG_USB_FUNCTION_FASTBOOT AND CONFIG_CMD_FASTBOOT, so it doesn't make much sense to have a CONFIG_USB_FASTBOOT prefix for fastboot-specific options, especially given that other config options for fastboot use the CONFIG_FASTBOOT prefix. This replaces the CONFIG_USB

[U-Boot] [PATCH 1/2] pci: Add function to find an extended capability

2015-07-07 Thread Minghuan Lian
PCIe extends device's configuration space to 4k and provides extended capability. The patch adds function to find them. The code is ported from Linux PCIe driver. Signed-off-by: Minghuan Lian --- drivers/pci/pci.c | 45 + include/pci.h | 41 +++

[U-Boot] Pull request (updated): u-boot-arm/master

2015-07-07 Thread Albert ARIBAUD
Hello, The following changes since commit 9c6b05cb724e18d1db3f9e1a75b2272572f06fbd: Prepare v2015.07-rc3 (2015-06-29 17:22:01 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to abe8f9a9348d5b3bba55e88039041bc545ded877: board

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

2015-07-07 Thread Paul Kocialkowski
Le lundi 25 mai 2015 à 16:50 +0200, Lukasz Majewski a écrit : > 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 > > imp

[U-Boot] [PATCH] usb: CONFIG_USB_FASTBOOT prefix replacement for consistency

2015-07-07 Thread PaulK
From: Paul Kocialkowski FASTBOOT is defined both by CONFIG_USB_FUNCTION_FASTBOOT AND CONFIG_CMD_FASTBOOT, so it doesn't make much sense to have a CONFIG_USB_FASTBOOT prefix for fastboot-specific options, especially given that other config options for fastboot use the CONFIG_FASTBOOT prefix. Th

Re: [U-Boot] [PATCH v2 1/4] g_dnl: add missing declaration

2015-07-07 Thread Lukasz Majewski
Hi Steve, > Signed-off-by: Steve Rae > --- > > Changes in v2: None > > include/g_dnl.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/g_dnl.h b/include/g_dnl.h > index 4eeb5e4..ba49f1f 100644 > --- a/include/g_dnl.h > +++ b/include/g_dnl.h > @@ -34,6 +34,7 @@ struct g_dnl_bi

Re: [U-Boot] [PATCH 04/11 v2] drivers/net/vsc9953: Refractor the parser for VSC9953 commands

2015-07-07 Thread Codrin Constantin Ciubotariu
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Wednesday, July 01, 2015 1:31 AM > To: Ciubotariu Codrin Constantin-B43658 > Cc: u-boot; Joe Hershberger; Sun York-R58495 > Subject: Re: [U-Boot] [PATCH 04/11 v2] drivers/net/vsc9953: Refractor

[U-Boot] [PATCH 2/2] pci/layerscape: Add EP mode support

2015-07-07 Thread Minghuan Lian
The patch will initialize PCIe controller on EP mode 1. Setup bar: bar0 32bit 4K for specific configuration bar1 32bit 8K for MSIX bar2 64bit 4K for descriptor of memory bar4 64bit 1M for DMA memory test 2. Setup iATU: iATU inbound 0-3 to map bar transaction to memory address star

Re: [U-Boot] [PATCH v2 2/4] usb: s3c-otg: support 8-bit interface

2015-07-07 Thread Lukasz Majewski
Hi Steve, > Signed-off-by: Steve Rae > --- > > Changes in v2: None > > drivers/usb/gadget/s3c_udc_otg.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/usb/gadget/s3c_udc_otg.c > b/drivers/usb/gadget/s3c_udc_otg.c index 7a2d1e7..2e3b4f7 100644 > --- a/drivers/usb/gadget/s

Re: [U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-07 Thread Lukasz Majewski
Hi Steve, > From: "JD (Jiandong) Zheng" > > Add the required files for the Broadcom UDC OTG interface. > > Signed-off-by: Steve Rae > --- > > Changes in v2: None > > arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7 > drivers/usb/gadget/bcm_udc_otg.h| 17 ++ > drive

Re: [U-Boot] [PATCH v2 4/4] implement Fastboot via USB OTG on bcm28155_ap boards

2015-07-07 Thread Lukasz Majewski
Hi Steve, > From: "JD (Jiandong) Zheng" > > Signed-off-by: Steve Rae > --- > > Changes in v2: > - rebased against u-boot-dfu > > board/broadcom/bcm28155_ap/bcm28155_ap.c | 40 > > drivers/usb/gadget/Makefile | 1 + > include/configs/bcm28155_ap.h

[U-Boot] TSEC1 not working, Marvel 88E1310

2015-07-07 Thread Nagulathas, Sharan
Hello everybody, i am porting u-boot (ver. 2010-6) to a custom board with the MPC8347 powerpc. Now I am able to boot u-boot, but the phy is not working (no link). MAC-address and ip-address is set: Here the output of mii: => mii dump 0x0 0 Read Phyadd 0 0. () -- PHY con

Re: [U-Boot] [PATCH] dm: change dm_warn() message into debug() in uclass_add()

2015-07-07 Thread Simon Glass
On 7 July 2015 at 03:51, Masahiro Yamada wrote: > The command "dm uclass" tries to display all the UClasses, but > some of them might be disabled by Kconfig. > > The function do_dm_dump_uclass() iterates over all the UClass IDs > and calls uclass_get() for each of them. Then, it displays annoying

Re: [U-Boot] rpi USB address question

2015-07-07 Thread Simon Glass
Hi Albert, On 6 July 2015 at 07:10, Albert ARIBAUD wrote: > Hello Simon, > > On Mon, 6 Jul 2015 06:35:23 -0600, Simon Glass wrote: >> Hi Stephen, >> >> I see in the kernel device tree that the rpi uses address 0x7e98 >> for the DWC2 USB controller. But in U-Boot CONFIG_USB_DWC2_REG_ADDR is >

[U-Boot] PCIe related i.MX6QP patches

2015-07-07 Thread ELSOFT AG
Hello Do you have some PCIe related i.MX6QP patches which you could make public? I have a i.MX6QP based custom board which seems to work quite well expect for PCIe. The first access done by U-Boot to the PCIe host controller registers causes a hang. I assume a not correctly enabled clock to be t

Re: [U-Boot] PCIe related i.MX6QP patches

2015-07-07 Thread Fabio Estevam
On Tue, Jul 7, 2015 at 10:51 AM, David Müller (ELSOFT AG) wrote: > Hello > > Do you have some PCIe related i.MX6QP patches which you could make public? > > I have a i.MX6QP based custom board which seems to work quite well > expect for PCIe. The first access done by U-Boot to the PCIe host > contr

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-07-07 Thread Mugunthan V N
On Monday 22 June 2015 02:43 PM, Mugunthan V N wrote: > we currently use in-development IODelay values for DRA72x which are > proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet > Phy over RGMII. The PHY characteristics and routing choices made on > the EVM, make the current iodel

Re: [U-Boot] Pull request: u-boot-spi/master

2015-07-07 Thread Jagan Teki
On 4 July 2015 at 17:12, Tom Rini wrote: > On Sat, Jul 04, 2015 at 02:11:35PM +0530, Jagan Teki wrote: >> Hi Tom, >> >> Please pull this PR. >> >> thanks! >> Jagan. >> >> The following changes since commit 891b487098ee2169a16b1bbb354aaef28aa90630: >> >> Merge branch 'master' of git://git.denx.de

Re: [U-Boot] [PATCH 04/11 v2] drivers/net/vsc9953: Refractor the parser for VSC9953 commands

2015-07-07 Thread Joe Hershberger
Hi Codrin, On Tue, Jul 7, 2015 at 8:08 AM, Codrin Constantin Ciubotariu wrote: > Hi Joe, > >> -Original Message- >> From: Joe Hershberger [mailto:joe.hershber...@gmail.com] >> Sent: Wednesday, July 01, 2015 1:31 AM >> To: Ciubotariu Codrin Constantin-B43658 >> Cc: u-boot; Joe Hershberger;

Re: [U-Boot] [PATCH 01/22] usb: Always declare usb function prototypes

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:44, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> There is no harm in declaring the function prototypes even if nothing >> implements them, and when CONFIG_DM_USB=y the various usb functions are >> available regardless of any controller drivers being

Re: [U-Boot] [PATCH 02/22] usb: Drop device-model specific copy of usb_legacy_port_reset

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:44, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> The device-model usb_legacy_port_reset function cApplied to u-boot-dm, >> thanks! alls the device-model >> usb_port_reset function which is a 1 on 1 copy of the non dm >> usb_legacy_port_reset and th

Re: [U-Boot] [PATCH 05/22] usb: Add an usb_device parameter to usb_reset_root_port

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> Add an usb_device parameter to usb_reset_root_port so that it knows which >> root-port it is resetting. This is necessary for proper device-model support >> for usb_reset_root_port. >> >> Also remove

Re: [U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

2015-07-07 Thread Simon Glass
On 30 June 2015 at 08:58, Simon Glass wrote: > Hi Hans, > > On 30 June 2015 at 06:31, Hans de Goede wrote: >> Hi, >> >> >> On 29-06-15 05:44, Simon Glass wrote: >>> >>> Hi Hans, >>> >>> On 17 June 2015 at 13:33, Hans de Goede wrote: Pass the usb_device instead of the portnr to usb_lega

Re: [U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument

2015-07-07 Thread Simon Glass
On 30 June 2015 at 08:51, Simon Glass wrote: > Hi Hans, > > On 30 June 2015 at 06:29, Hans de Goede wrote: >> Hi, >> >> >> On 29-06-15 05:44, Simon Glass wrote: >>> >>> Hi Hans. >>> >>> On 17 June 2015 at 13:33, Hans de Goede wrote: Drop the unneeded portnr function argument, the portn

Re: [U-Boot] [PATCH v2 1/4] dm: Export device_remove_children / device_unbind_children

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass wrote: > On 1 July 2015 at 12:52, Hans de Goede wrote: >> These functions are useful to remove all children from an usb bus before >> rescanning the bus. Give them a better name and export them. >> >> Signed-off-by: Hans de Goede >> --- >> Changes in v2: >> -

Re: [U-Boot] [PATCH v2 2/4] dm: usb: Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass wrote: > On 1 July 2015 at 12:52, Hans de Goede wrote: >> Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea, and also why >> this is a bad idea. >> >> Signed-off-by: Hans de Goede >> --- >> drivers/core/Kconfig | 4 >> 1 file changed, 4 ins

Re: [U-Boot] [PATCH 07/22] dm: usb: Fix "usb tree" output

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> last_child was abused by the old usb code to first store 1 if the >> usb_device was not the root of the usb tree, and then later on re-used >> to store whether or not the usb_device is actually the la

Re: [U-Boot] [PATCH v2 3/4] dm: usb: Use device_unbind_children to clean up usb devs on stop

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass wrote: > On 1 July 2015 at 12:53, Hans de Goede wrote: >> On an usb stop instead of leaving orphan usb devices behind simply remove >> them. >> >> The result of this commit is best seen in the output of "dm tree" after >> plugging out an usb hub with 2 devices

Re: [U-Boot] [PATCH v2 4/4] dm: usb: Rename usb_find_child to usb_find_emul_child

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass wrote: > On 1 July 2015 at 12:53, Hans de Goede wrote: >> Now that we unbind usb devices from usb_stop() usb_find_child() is >> only necessary to deal with emulated usb devices. >> >> Rename it to make this clear and add a #ifdef to make it a nop in >> other c

Re: [U-Boot] [PATCH 10/22] dm: usb: Do not assume that first child is always a hub

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> On some single port (otg) controllers there is no emulated root hub, so >> the first child (if any) may be one of: UCLASS_MASS_STORAGE, >> UCLASS_USB_DEV_GENERIC or UCLASS_USB_HUB. >> >> All three of

Re: [U-Boot] [PATCH 09/22] dm: usb: Allow usb host drivers to implement usb_reset_root_port

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> Allow usb uclass host drivers to implement usb_reset_root_port, this is >> used by single port usb hosts which do not emulate a hub, such as otg >> controllers. >> >> Signed-off-by: Hans de Goede >>

Re: [U-Boot] [PATCH 12/22] musb: Update usb-compat to work with struct usb_device without a parent ptr

2015-07-07 Thread Simon Glass
On 1 July 2015 at 08:57, Hans de Goede wrote: > Hi, > > > On 29-06-15 05:45, Simon Glass wrote: >> >> Hi Hans, >> >> On 17 June 2015 at 13:33, Hans de Goede wrote: >>> >>> When building with CONFIG_DM_USB=y struct usb_device does not have a >>> parent >>> pointer. This commit adds support to the

Re: [U-Boot] [PATCH 13/22] musb: Rename and wrap public functions

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> Rename and wrap the usb host API public functions, this is a preparation >> patch for adding device-model support. >> >> Signed-off-by: Hans de Goede >> --- >> drivers/usb/musb-new/musb_uboot.c | 70

Re: [U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > On 17 June 2015 at 13:33, Hans de Goede wrote: >> Allow musb_platform_enable to return an error code and propagate it up to >> usb_lowlevel_init(). >> >> This allows moving the checks for an external vbus being present to be >> moved from platform_in

Re: [U-Boot] [PATCH 14/22] musb: Add musb_host_data struct to hold global data

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > Hi Hans, > > On 17 June 2015 at 13:33, Hans de Goede wrote: >> Add a musb_host_data struct to hold all the global data host related musb >> data. This is a preparation patch for adding device-model support. >> >> Signed-off-by: Hans de Goede >> ---

Re: [U-Boot] [PATCH 15/22] musb: Add device-model support to the musb-host u-boot glue

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass wrote: > Hi Hans, > > On 17 June 2015 at 13:33, Hans de Goede wrote: >> Add device-model support to the musb-host u-boot glue, note this only >> adds device-model support to the musb-core glue code, it does not add >> support for device-model to any of the So

[U-Boot] [PATCH v2] x86: baytrail: Configure FSP UPD from device tree

2015-07-07 Thread andrew
From: Andrew Bradford Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself if the device tree settings exist, otherwise simply trust the FSP's defaults. Modifies the MinnowMax board to transfer the FSP UPD hard-coded setting

[U-Boot] [PATCH 1/1] net: lpc32xx: improve download rate in RMII phy mode

2015-07-07 Thread LEMIEUX, SYLVAIN
This is a minor update to LPC32xx MAC driver patch that add support for the RMII phy mode. In the legacy BSP from NXP, in RMII phy mode, an extra 10ms delay was present after the release of the soft reset. In my tests (connected using RMII phy mode to a Micrel KSZ8031RNL), the download rate wa

Re: [U-Boot] [PATCH v2 2/4] usb: s3c-otg: support 8-bit interface

2015-07-07 Thread Steve Rae
On 15-07-07 06:27 AM, Lukasz Majewski wrote: Hi Steve, Signed-off-by: Steve Rae --- Changes in v2: None drivers/usb/gadget/s3c_udc_otg.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c index 7a2d1e7..2e3b4f7 100

Re: [U-Boot] [PATCH] imx: imximage: add new CHECK/CLR BIT command

2015-07-07 Thread Nitin Garg
On 06/30/2015 03:02 AM, Peng Fan wrote: > Hi Stefano, > > On Sun, Jun 28, 2015 at 01:00:07PM +0200, Stefano Babic wrote: >> Hi Peng, >> >> On 14/06/2015 11:38, Peng Fan wrote: >>> Since rom code supports the following commands, add new commands support in >>> imximage. >>> >> >> It is better to ex

Re: [U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-07 Thread Steve Rae
Hi, Lukasz On 15-07-07 06:33 AM, Lukasz Majewski wrote: Hi Steve, From: "JD (Jiandong) Zheng" Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Steve Rae --- Changes in v2: None arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7 drivers/usb/gadget/bcm_udc_o

[U-Boot] hang: ARM64/Relocating u-boot from u-boot

2015-07-07 Thread Jagan Teki
Hi All, I'm running u-boot from u-boot prompt, just like a standalone application with CONFIG_SYS_TEXT_BASE address. Cache were turned off #define CONFIG_SYS_DCACHE_OFF #define CONFIG_SYS_ICACHE_OFF Log: u-boot# tftp 0x0 u-boot.bin u-boot# go 0x0 ## Starting application at 0x ... U-Boo

Re: [U-Boot] hang: ARM64/Relocating u-boot from u-boot

2015-07-07 Thread Wolfgang Denk
Dear Jagan, In message you wrote: > > I'm running u-boot from u-boot prompt, just like a standalone > application with CONFIG_SYS_TEXT_BASE address. ... > Has any one tried the same before, please let me know for any inputs? Actually this is even a FAQ: http://www.denx.de/wiki/view/DULG/CanUB

Re: [U-Boot] [PATCH v2 01/11] video: vesa_fb: Look up VGA device by class instead of id

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > Per PCI spec, VGA device reports its class as standard 03h in > its configuration space, so we can use it to determine if we need > run option rom instead of testing the supported vendor/device ids. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass

Re: [U-Boot] [PATCH 1/3] arm: baltos: enable CMD_NET and FIT support in defconfig

2015-07-07 Thread Simon Glass
On 6 July 2015 at 09:28, Yegor Yefremov wrote: > Signed-off-by: Yegor Yefremov > --- > configs/am335x_baltos_defconfig | 4 ++-- > include/configs/baltos.h| 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass But please remember to add a commit message wi

Re: [U-Boot] [PATCH v2 03/11] x86: bios: Allow pci config read/write to host bridge in int1a_handler

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > From: Jian Luo > > We should allow pci config read/write to host bridge (b.d.f = 0.0.0) > in the int1a_handler() which is a valid pci device. > > Signed-off-by: Jian Luo > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None >

Re: [U-Boot] [PATCH v2 08/11] x86: Move VGA option rom macros to Kconfig

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > Move X86_OPTION_ROM_FILE & X86_OPTION_ROM_ADDR to arch/x86/Kconfig > and rename them to VGA_BIOS_FILE & VGA_BIOS_ADDR which depend on > HAVE_VGA_BIOS. The new names are consistent with other x86 binary > blob options like HAVE_FSP/FSP_FILE/FSP_ADDR. > > S

Re: [U-Boot] [PATCH v2 06/11] x86: queensbay: Change CPU_ADDR_BITS to 32

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > Per CPUID:8008h result, the maximum physical address bits of > TunnelCreek processor is 32 instead of default 36. This will fix > the incorrect decoding of MTRR range mask. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2:

Re: [U-Boot] [PATCH v2 05/11] x86: Setup fixed range MTRRs for legacy regions

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > We should setup fixed range MTRRs for some legacy regions like VGA > RAM and PCI ROM areas as uncacheable. Note FSP may setup these to > other cache settings, but we can override this in x86_cpu_init_f(). > > Signed-off-by: Bin Meng > Acked-by: Simon Gla

Re: [U-Boot] [PATCH v2 04/11] video: Add 32-bit color depth support for VBE

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > From: Jian Luo > > The TunnelCreek IGD VBE reports 32-bit color depth regardless 24-bit > color depth is configured. Since 24-bit mode already uses 4 bytes > internally, it should be OK to just add this option in switch case. > > Signed-off-by: Jian Luo

Re: [U-Boot] [PATCH v2 07/11] x86: cmd_mtrr: Improve MTRR list information

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > Print the meaningful base address and mask of an MTRR range without showing > the memory type encoding or valid bit. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/lib/cmd_mtrr.c | 3 ++- > 1 file changed

Re: [U-Boot] [PATCH v2 11/11] x86: Configure VESA parameters before loading Linux kernel

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > Store VESA parameters to Linux setup header so that vesafb driver > in the kernel could work. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > Tested-by: Jian Luo > > --- > > Changes in v2: None > > arch/x86/include/asm/zimage.h | 1 + > arch/x8

Re: [U-Boot] [PATCH v3 2/8] dm: spi: Correct BIOS protection logic for ICH9

2015-07-07 Thread Simon Glass
On 6 July 2015 at 10:45, Andrew Bradford wrote: > On 07/03 18:28, Simon Glass wrote: >> The logic is incorrect and currently has no effect. Fix it so that we can >> write to SPI flash, since by default it is write-protected. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: >> - Correc

Re: [U-Boot] [PATCH v2 10/11] x86: crownbay: Enable graphics support

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > Enable graphics support on Intel Crown Bay board With the help of > vgabios for Intel TunnelCreek IGD. Tested with an external LVDS > panel connected to X4 connector and SDVO adapter connected to X9 > connector on the board. > > Signed-off-by: Jian Luo >

Re: [U-Boot] [PATCH v3 1/8] dm: spi: Correct status register access width

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass wrote: > The status register on ICH9 is a single byte, so use byte access when > writing to it, to avoid updating the control register also. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Reviewed-by: Jagan Teki > --- > > Changes in v3: None > Chan

Re: [U-Boot] [PATCH v2 09/11] x86: Remove MARK_GRAPHICS_MEM_WRCOMB

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng wrote: > MARK_GRAPHICS_MEM_WRCOMB is not referenced anywhere in the code, > hence remove it. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/Kconfig | 8 > board/google/chromebook_lin

Re: [U-Boot] [PATCH v3 4/8] x86: Add ROM image description for minnowmax

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass wrote: > The layout of the ROM is a bit hard to discover by reading the code. Add > a table to make it easier. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes in v2: > - Fix typos in README.x86 > > doc/README.x8

Re: [U-Boot] [PATCH v3 5/8] x86: pci: Tidy up the generic x86 PCI driver

2015-07-07 Thread Simon Glass
On 5 July 2015 at 21:20, Bin Meng wrote: > On Sat, Jul 4, 2015 at 8:28 AM, Simon Glass wrote: >> This driver should use the x86 PCI configuration functions. Also adjust its >> compatible string to something generic (i.e. without a vendor name). >> >> Signed-off-by: Simon Glass >> --- >> >> Chang

Re: [U-Boot] [PATCH v3 3/8] dm: spi: Enable environment for minnowmax

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass wrote: > Enable a SPI environment and store it in a suitable place. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Reviewed-by: Jagan Teki > --- > > Changes in v3: None > Changes in v2: None > > include/configs/minnowmax.h | 5 ++--- > 1 file chan

Re: [U-Boot] [PATCH v3 6/8] dm: x86: minnowmax: Move PCI to use driver model

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass wrote: > Adjust minnowmax to use driver model for PCI. This requires adding a device > tree node to specify the ranges, removing the board-specific PCI code and > ensuring that the host bridge is configured. > > Reviewed-by: Bin Meng > Signed-off-by: Simon Gla

Re: [U-Boot] [PATCH v3 7/8] dm: x86: baytrail: Correct PCI region 3 when driver model is used

2015-07-07 Thread Simon Glass
On 5 July 2015 at 21:22, Bin Meng wrote: > On Sat, Jul 4, 2015 at 8:28 AM, Simon Glass wrote: >> Commit afbbd413a fixed this for non-driver-model. Make sure that the driver >> model code handles this also. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: >> - Drop the patch to board_

Re: [U-Boot] [PATCH] tools: ifdtool: Write correct offset on 32-bit machine

2015-07-07 Thread Simon Glass
On 6 July 2015 at 10:39, Simon Glass wrote: > On 6 July 2015 at 01:57, Bin Meng wrote: >> On 32-bit machine strtol() returns LONG_MAX which is 0x7fff, >> which is wrong for u-boot.rom components like u-boot-x86-16bit.bin. >> Change to use strtoll() so that it works on both 32-bit and 64-bit >

Re: [U-Boot] [PATCH v3 8/8] x86: Add binary blob checksums for Minnowboard MAX

2015-07-07 Thread Simon Glass
On 5 July 2015 at 21:23, Bin Meng wrote: > On Sat, Jul 4, 2015 at 8:28 AM, Simon Glass wrote: >> To try to reduce the pain of confusion of binary blobs, add MD5 checksums >> for the current versions. This may worsen the situation as new versions >> appear, but it should still be possible to obtai

Re: [U-Boot] Pull request (updated): u-boot-arm/master

2015-07-07 Thread Tom Rini
On Tue, Jul 07, 2015 at 02:26:38PM +0200, Albert ARIBAUD wrote: > Hello, > > The following changes since commit 9c6b05cb724e18d1db3f9e1a75b2272572f06fbd: > > Prepare v2015.07-rc3 (2015-06-29 17:22:01 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-arm master

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-07-07 Thread Tom Rini
On Tue, Jul 07, 2015 at 08:14:13PM +0530, Mugunthan V N wrote: > On Monday 22 June 2015 02:43 PM, Mugunthan V N wrote: > > we currently use in-development IODelay values for DRA72x which are > > proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet > > Phy over RGMII. The PHY charac

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-07-07 Thread Tom Rini
On Mon, Jun 22, 2015 at 02:43:10PM +0530, Mugunthan V N wrote: > we currently use in-development IODelay values for DRA72x which are > proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet > Phy over RGMII. The PHY characteristics and routing choices made on > the EVM, make the cur

[U-Boot] Hardware hashing on unsigned fitImage nodes.

2015-07-07 Thread Andre Wolokita
Hi Simon, Hopefully you're the right person to be contacting about this; if not, please point me in the right direction. We've recently had a contractor write a hash driver for our crypto accelerator, intended to accelerate fitImage verification. They noticed that the hardware hashing API woul

Re: [U-Boot] [PATCH 07/55] exynos: i2c: Correct bug in pinmux selection

2015-07-07 Thread Simon Glass
Hi Minkyu, On 6 July 2015 at 19:36, Minkyu Kang wrote: > Dear Simon, > > On 07/07/15 00:27, Simon Glass wrote: >> Hi Minkyu, Przemyslaw, >> >> On 5 July 2015 at 00:15, Heiko Schocher wrote: >>> Hello Simon, >>> >>> Am 03.07.2015 um 02:15 schrieb Simon Glass: When driver model is not us

Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Yuantian Tang
> -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Tuesday, July 07, 2015 7:20 PM > To: Tang Yuantian-B29983 > Cc: tr...@konsulko.com; Xie Shaohui-B21989; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit >

[U-Boot] [PATCH 02/20] dm: usb: Allow USB Ethernet whenever CONFIG_DM_ETH is not defined

2015-07-07 Thread Simon Glass
We can support USB Ethernet regardless of the setting of CONFIG_DM_USB. Update the code to reflect this. Signed-off-by: Simon Glass --- common/cmd_usb.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/cmd_usb.c b/common/cmd_usb.c index b385743..bc45c48 100644 --

[U-Boot] [PATCH 01/20] dm: net: Support usbethaddr environment variable

2015-07-07 Thread Simon Glass
For USB Ethernet devices we need to use the usbethaddr environment variable (instead of ethaddr) the Ethernet hardware address. Add this to the uclass so that it happens automatically. Signed-off-by: Simon Glass --- net/eth.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --g

[U-Boot] [PATCH 10/20] net: smsc95xx: Add driver-model support

2015-07-07 Thread Simon Glass
Add support for driver model, so that CONFIG_DM_ETH can be defined and used with this driver. Signed-off-by: Simon Glass --- drivers/usb/eth/smsc95xx.c | 142 + 1 file changed, 142 insertions(+) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/e

[U-Boot] [PATCH 03/20] dm: usb: Add an errno.h header to usb_ether.c

2015-07-07 Thread Simon Glass
This is required on some platforms, so add it. Signed-off-by: Simon Glass --- drivers/usb/eth/usb_ether.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c index 137eac7..110808d 100644 --- a/drivers/usb/eth/usb_ether.c +++ b/drivers/u

[U-Boot] [PATCH 04/20] dm: usb: Prepare dwc2 driver for driver-model conversion

2015-07-07 Thread Simon Glass
Put all global data in a structure and move (what will be) common code into common functions. This will make the driver-model conversion much easier. Signed-off-by: Simon Glass --- drivers/usb/host/dwc2.c | 150 1 file changed, 100 insertions(+),

[U-Boot] [PATCH 06/20] net: smsc95xx: Sort the include files

2015-07-07 Thread Simon Glass
Tidy up the include file order before adding more. Signed-off-by: Simon Glass --- drivers/usb/eth/smsc95xx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index a7e50d6..8ebe4d6 100644 --- a/drivers/usb/eth/smsc9

[U-Boot] [PATCH 07/20] net: smsc95xx: Rename AX_RX_URB_SIZE to RX_URB_SIZE

2015-07-07 Thread Simon Glass
The AX_ prefix comes from the Asix driver. Since this is not that, we should avoid this confusing prefix. Signed-off-by: Simon Glass --- drivers/usb/eth/smsc95xx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95x

[U-Boot] [PATCH 09/20] net: smsc95xx: Prepare for conversion to driver model

2015-07-07 Thread Simon Glass
At present struct eth_device is passed around all over the place. This does not exist with driver model. Add explicit arguments instead, so that with driver model we can pass the correct things. Signed-off-by: Simon Glass --- drivers/usb/eth/smsc95xx.c | 270 +---

[U-Boot] [PATCH 12/20] dm: Support address translation for simple-bus

2015-07-07 Thread Simon Glass
The 'ranges' property can be used to specify a translation from the system address to the bus address. Add support for this using the dev_get_addr() function, which devices should use to find their address. Signed-off-by: Simon Glass --- drivers/core/device.c| 17 +++-- driv

[U-Boot] [PATCH 13/20] arm: rpi: Define CONFIG_TFTP_TSIZE to show tftp size info

2015-07-07 Thread Simon Glass
This shows a proper progress display and the total amount of data transferred. Enable it for Raspberry Pi. Signed-off-by: Simon Glass --- include/configs/rpi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h index b54cf8b..b

[U-Boot] [PATCH 14/20] arm: rpi: Bring in kernel device tree files

2015-07-07 Thread Simon Glass
Bring in the device tree files from Linux v4.1. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 2 + arch/arm/dts/bcm2835-rpi-b.dts| 23 arch/arm/dts/bcm2835-rpi.dtsi | 51 + arch/arm/dts/bcm2835.dtsi | 192

[U-Boot] [PATCH 17/20] arm: rpi: Drop the UART console platform data

2015-07-07 Thread Simon Glass
We can rely on the device tree to provide the UART information. Signed-off-by: Simon Glass --- board/raspberrypi/rpi/rpi.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 96fe870..7de1921 100644 --- a/board/rasp

[U-Boot] [PATCH 11/20] dm: serial: Update binding for PL01x serial UART

2015-07-07 Thread Simon Glass
This binding differs from that of Linux. Update it and change existing users. Signed-off-by: Simon Glass --- arch/arm/dts/stv0991.dts | 2 +- doc/device-tree-bindings/serial/pl011.txt | 53 +++ doc/device-tree-bindings/serial/pl01x.txt | 7 dr

  1   2   >