Muram will power off during deepsleep, and the microcode of qe
in muram will be lost, it should be reload when resume.
Signed-off-by: Zhao Qiang b45...@freescale.com
---
board/freescale/common/arm_sleep.c | 6 ++
1 file changed, 6 insertions(+)
diff --git
Le dimanche 05 avril 2015 à 22:59 +0200, Paul Kocialkowski a écrit :
Hi Hans,
Le dimanche 05 avril 2015 à 10:44 +0200, Hans de Goede a écrit :
Hi,
[snip]
Thanks for your work on this, may I request one more change ? For sunxi I
would
like to also see a CONFIG_I2C0_ENABLE, the
Hi,
I'm thinking about going to ELCE, assuming I will not have some schedule
conflict,
one of the reasons is that I would like to attend the u-boot summit / miniconf
again this year. Which raises the question will it be held at ELCE again ?
Regards,
Hans
Hello Pavel,
Am 07.04.2015 09:56, schrieb Pavel Machek:
Hi!
In u-boot 2015.04-rc, as soon as execution hits printf(%d), it
hangs. (Usually, that's after DRAM: message).
Now, I have to admit I'm chainloading u-boot from
U-Boot 2013.01.01 (Mar 25 2015 - 15:57:21)
tftp 0x0140
On Mon 2015-04-06 23:02:48, Marek Vasut wrote:
On Monday, April 06, 2015 at 09:23:23 PM, Pavel Machek wrote:
On Mon 2015-04-06 20:48:45, Marek Vasut wrote:
On Monday, April 06, 2015 at 08:14:44 PM, Pavel Machek wrote:
On Mon 2015-04-06 16:59:55, Marek Vasut wrote:
On Monday, April
On Mon, 2015-04-06 at 15:40 -0600, Stephen Warren wrote:
On 04/06/2015 03:02 PM, Sjoerd Simons wrote:
Add dummy bootz_setup implementation allowing the u-boot sandbox to
run bootz. This recognizes both ARM and x86 zImages to validate a
valid zImage was loaded.
diff --git
Hi!
In u-boot 2015.04-rc, as soon as execution hits printf(%d), it
hangs. (Usually, that's after DRAM: message).
Now, I have to admit I'm chainloading u-boot from
U-Boot 2013.01.01 (Mar 25 2015 - 15:57:21)
tftp 0x0140 .../u-boot.bin
Waiting for PHY auto negotiation to complete..
Hi,
Le jeudi 18 décembre 2014 à 12:16 +0100, Marek Vasut a écrit :
On Thursday, December 18, 2014 at 09:32:56 AM, Ramneek Mehresh wrote:
Hi Marex,
Following u-boot patch is pending for your review for some time. Please let
me know if you have any concerns. fsl/usb: Add USB XHCI
Hello,
On 15-04-01 21:15:21, Marek Vasut wrote:
On Wednesday, April 01, 2015 at 11:54:22 AM, Sanchayan Maity wrote:
The commit message is missing, please fix in v2.
Signed-off-by: Sanchayan Maity maitysancha...@gmail.com
[...]
+#define USB_NC_REG_OFFSET
Le mardi 07 avril 2015 à 08:29 +0200, Hans de Goede a écrit :
Hi,
On 07-04-15 07:24, Heiko Schocher wrote:
Hello Paul,
Am 05.04.2015 09:51, schrieb Paul Kocialkowski:
Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C)
MVTWSI
controller. However, other
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
Sent: Monday, April 06, 2015 8:42 PM
To: Mehresh Ramneek-B31383
Cc: u-boot; s...@denx.de
Subject: Re: Regarding patch: http://patchwork.ozlabs.org/patch/373593/
On Monday, April 06, 2015 at 10:58:30 AM, Ramneek Mehresh
Hi,
On 07-04-15 07:24, Heiko Schocher wrote:
Hello Paul,
Am 05.04.2015 09:51, schrieb Paul Kocialkowski:
Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI
controller. However, other platforms using MVTWSI may come with more: this is
the case on Allwinner (sunxi)
Hi,
On 07-04-15 09:51, Paul Kocialkowski wrote:
Le dimanche 05 avril 2015 à 22:59 +0200, Paul Kocialkowski a écrit :
Hi Hans,
Le dimanche 05 avril 2015 à 10:44 +0200, Hans de Goede a écrit :
Hi,
[snip]
Thanks for your work on this, may I request one more change ? For sunxi I would
like
Hi Hans,
On 07/04/2015 09:50, Hans de Goede wrote:
Hi,
I'm thinking about going to ELCE, assuming I will not have some schedule
conflict,
one of the reasons is that I would like to attend the u-boot summit /
miniconf
again this year. Which raises the question will it be held at ELCE again
commit 3c6928fd7b0f84 net: phy: fix warnings with W=1 caused
some PHYs(e.g. CS4315/CS4340) not working. This patch fixes the
warning and make those special PHYs working as well.
Signed-off-by: Shengzhou Liu shengzhou@freescale.com
---
drivers/net/phy/phy.c | 2 +-
include/phy.h | 1 +
Hi Michal,
(cc Simon)
Bad new.
My Zedboard would not boot from MMC card with the U-Boot mainline.
U-Boot hangs after printing reading system.dtb.
I think, other zynq board types, too.
I did git-bisect and the first bad commit is:
commit 326a682358c16afcf2c7a9617e9811e72a1f0929
Author:
I am getting the Flash not Erased error when writing to NOR flash with cp.b.
I checked all of the obvious such as file exceeding the erased area etc.
Below is the log including environment settings etc. You can see that about
14k of data is written and then the error occurs for a reason
Hi,
Uboot contains several header files which specify copyright information, but no
license information. For example:
2: * U-Boot additions to enable a generic Exynos GPIO driver
3: *
4: * Copyright (c) 2014 Google, Inc
Could you confirm which license applies to these files? Can
Hi!
In u-boot 2015.04-rc, as soon as execution hits printf(%d), it
hangs. (Usually, that's after DRAM: message).
I tried on different board, and same hang. Does u-boot 2015.01+ work
for you on socfpga? Do I need some kind of special configuration?
Thanks,
Hello,
On Tue, 07 Apr 2015 12:45:23 +0200, Stefano Babic wrote:
ELC 2016 should be at the end of March (anybody knows location and date
for ELC 2016 ?). We plan to start next week an online survey on the ML
Location: San Diego.
Dates: around early April 2016. The exact dates were announced
On Fri, 3 Apr 2015, Marek Vasut wrote:
On Tuesday, March 31, 2015 at 12:01:11 AM, dingu...@opensource.altera.com
wrote:
From: Dinh Nguyen dingu...@opensource.altera.com
Add a stub s_init function in the board file.
Why do you add this stub function ? The commit message should
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
Sent: Tuesday, April 07, 2015 7:22 PM
To: Mehresh Ramneek-B31383
Cc: u-boot; s...@denx.de
Subject: Re: Regarding patch: http://patchwork.ozlabs.org/patch/373593/
On Tuesday, April 07, 2015 at 08:18:03 AM, Ramneek
Hi Rudi,
this sounds oddly familiar. Which gcc version are you using? 4.8? gcc
4.8 is broken for powerpc u-boot.
For more background search for the Relocation issue - need help!
started by Wolfgang Denk on the mailing list.
Cheers
Dirk
___
U-Boot
On Tuesday, April 07, 2015 at 04:05:31 PM, Ramneek Mehresh wrote:
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
Sent: Tuesday, April 07, 2015 7:22 PM
To: Mehresh Ramneek-B31383
Cc: u-boot; s...@denx.de
Subject: Re: Regarding patch:
On 2015-04-02 22:30, Bill Pringlemeir wrote:
On 2 Apr 2015, ste...@agner.ch wrote:
To improve performance we remember the current page in the buffer
and avoid reading it twice. This implicit page cache increases
complexity while does not increase performance in real world cases.
This patch
On 3 Apr 2015, scottw...@freescale.com wrote:
On Fri, 2015-04-03 at 22:28 +0200, Stefan Agner wrote:
Why not? IMHO, there are valid reason to do it, since we save coping
data over the bus (we save copying page size - write len of bytes)...
According to
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
Sent: Tuesday, April 07, 2015 7:44 PM
To: Mehresh Ramneek-B31383
Cc: u-boot; s...@denx.de
Subject: Re: Regarding patch: http://patchwork.ozlabs.org/patch/373593/
On Tuesday, April 07, 2015 at 04:05:31 PM, Ramneek
On Fri, 3 Apr 2015, Marek Vasut wrote:
On Tuesday, March 31, 2015 at 11:07:57 PM, Pavel Machek wrote:
Hi!
On Mon 2015-03-30 17:01:14, dingu...@opensource.altera.com wrote:
From: Dinh Nguyen dingu...@opensource.altera.com
Remap SDRAM to 0x0, and clear OCRAM's ECC in
On Tuesday, April 07, 2015 at 08:18:03 AM, Ramneek Mehresh wrote:
[...]
Hi,
Is this similar hardware bug to the one which MX6 PCIe is suffering ? On
MX6, the bug is that you cannot reset the PCIe and PCIe PHY from
software, which means that if you start PCIe in U-Boot, you cannot
On Tuesday, April 07, 2015 at 12:38:58 AM, Simon Glass wrote:
Hi Marek,
Hi Simon,
On 6 April 2015 at 07:13, Marek Vasut ma...@denx.de wrote:
On Monday, April 06, 2015 at 01:38:13 AM, Simon Glass wrote:
Hi Marek,
Hi Simon,
On 26 March 2015 at 13:40, Marek Vasut ma...@denx.de
On 2015-04-07 16:24, Bill Pringlemeir wrote:
On 7 Apr 2015, ste...@agner.ch wrote:
On 2015-04-02 22:30, Bill Pringlemeir wrote:
On 2 Apr 2015, ste...@agner.ch wrote:
[snip]
I also measured 'write performance' with the mtd_speedtest
(performing similar patch to the Linux driver) and I
On 3 Apr 2015, ste...@agner.ch wrote:
I will remove the page read on NAND_CMD_SEQIN, since we memcpy the
full page anyway. I also just realized that the page read actually
happens always and hence slows down even full page writes...
Yes, I remove this in Linux (4.0) and it corrupted things
On 7 Apr 2015, ste...@agner.ch wrote:
On 2015-04-02 22:30, Bill Pringlemeir wrote:
On 2 Apr 2015, ste...@agner.ch wrote:
[snip]
I also measured 'write performance' with the mtd_speedtest
(performing similar patch to the Linux driver) and I see no
difference. I think a write benchmark is
On Mon, Apr 6, 2015 at 7:58 AM, Marek Vasut ma...@denx.de wrote:
On Monday, April 06, 2015 at 04:05:07 PM, Tim Harvey wrote:
Some USB devices break the spec and require longer warm-up times. Allow
the usb_pgood_delay env variable to override the calculated time.
I have encountered this
-Original Message-
From: Mehresh Ramneek-B31383
Sent: Tuesday, April 07, 2015 8:12 PM
To: 'Marek Vasut'
Cc: u-boot; s...@denx.de
Subject: RE: Regarding patch: http://patchwork.ozlabs.org/patch/373593/
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
On 04/07/2015 08:52 AM, Tim Harvey wrote:
On Mon, Apr 6, 2015 at 7:58 AM, Marek Vasut ma...@denx.de wrote:
On Monday, April 06, 2015 at 04:05:07 PM, Tim Harvey wrote:
Some USB devices break the spec and require longer warm-up times. Allow
the usb_pgood_delay env variable to override the
On Tue, Apr 7, 2015 at 8:34 AM, Stephen Warren swar...@wwwdotorg.org wrote:
On 04/07/2015 08:52 AM, Tim Harvey wrote:
On Mon, Apr 6, 2015 at 7:58 AM, Marek Vasut ma...@denx.de wrote:
On Monday, April 06, 2015 at 04:05:07 PM, Tim Harvey wrote:
Some USB devices break the spec and require
Hi Shengzhou Liu,
On Tue, Apr 7, 2015 at 5:46 AM, Shengzhou Liu shengzhou@freescale.com
wrote:
commit 3c6928fd7b0f84 net: phy: fix warnings with W=1 caused
some PHYs(e.g. CS4315/CS4340) not working. This patch fixes the
warning and make those special PHYs working as well.
Signed-off-by:
On Tue, 2015-04-07 at 09:48 -0400, Bill Pringlemeir wrote:
On 3 Apr 2015, ste...@agner.ch wrote:
I will remove the page read on NAND_CMD_SEQIN, since we memcpy the
full page anyway. I also just realized that the page read actually
happens always and hence slows down even full page
On Tue, 2015-04-07 at 10:06 -0400, Bill Pringlemeir wrote:
On 3 Apr 2015, scottw...@freescale.com wrote:
On Fri, 2015-04-03 at 22:28 +0200, Stefan Agner wrote:
Why not? IMHO, there are valid reason to do it, since we save coping
data over the bus (we save copying page size - write len
Hello Simon,
On 04/05/2015 08:30 PM, Simon Glass wrote:
Hi Przemyslaw,
On 3 April 2015 at 10:09, Przemyslaw Marczak p.marc...@samsung.com wrote:
Hello Simon,
On 03/29/2015 03:07 PM, Simon Glass wrote:
Hi Przemyslaw,
On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com
Hi Dirk,
this sounds oddly familiar. Which gcc version are you using? 4.8? gcc
4.8 is broken for powerpc u-boot.
Thanks for the pointer. I am using gcc 4.7.2.
For more background search for the Relocation issue - need help!
started by Wolfgang Denk on the mailing list.
I will
On 7 Apr 2015, ste...@agner.ch wrote:
On 2015-04-07 16:24, Bill Pringlemeir wrote:
The OOB patch also significantly decreases UbiFS mounting time in
Linux. I load Linux itself via tftp/network and not using u-boot
with nand. I guess I should try that.
Is it UBIFS mounting time or is it
On Fri, Apr 03, 2015 at 12:30:25PM +0900, Masahiro Yamada wrote:
Since the Kconfig conversion, config.mk has been included only when
include/config/auto.conf is newer than the .config file.
It causes build error if both files have the same time-stamps.
It is actually possible because EXT*
On Mon, Apr 06, 2015 at 03:46:44PM +0200, Pavel Machek wrote:
Top-level Makefile has option to select dtc binary, but it is ignored
due to bug in Makefile.lib. Fix it.
Signed-off-by: Pavel Machek pa...@denx.de
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index
On Mon, Apr 06, 2015 at 11:12:28AM +0900, Masahiro Yamada wrote:
Since the Kconfig conversion, boards.cfg scanned by MAKEALL is
generated by tools/genboardscfg.py. Every board is supposed to have
its own MAINTAINERS that contains maintainer and status information,
but, in fact, MAINTAINERS
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
We don't need this anymore, so adjust the code to avoid using it.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/usb/host/ehci-tegra.c | 16 +---
1 file changed, 9 insertions(+), 7
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Adjust this function so that it is passed an EHCI controller pointer so that
implementations can look up their controller.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Adjust this function so that it is passed an EHCI controller pointer so that
implementations can look up their controller. This makes the weak functions
use a consistent API.
Signed-off-by: Simon Glass s...@chromium.org
---
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Use 'udev' instead of 'dev' in a few places, reserving 'dev' for driver
model's struct udevice. Also adjust the code in a few minor ways to make
it easier to plumb in driver model.
Signed-off-by: Simon Glass s...@chromium.org
On 26 March 2015 at 12:22, Marek Vasut ma...@denx.de wrote:
On Wednesday, March 25, 2015 at 07:22:03 PM, Simon Glass wrote:
This CONFIG is not used anywhere in U-Boot, so drop it.
Signed-off-by: Simon Glass s...@chromium.org
Acked-by: Marek Vasut ma...@denx.de
Applied to u-boot-dm/next.
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Adjust the existing hub code to support driver model, and add a USB driver
for hubs.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb_hub.c | 94
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
These are better off in a header file so they can be used by other code (e.g.
the sandbox USB storage emulator).
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb_storage.c | 45
On Tuesday, April 07, 2015 at 04:42:36 PM, Ramneek Mehresh wrote:
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
Sent: Tuesday, April 07, 2015 7:44 PM
To: Mehresh Ramneek-B31383
Cc: u-boot; s...@denx.de
Subject: Re: Regarding patch:
On 7 Apr 2015, scottw...@freescale.com wrote:
On Tue, 2015-04-07 at 10:06 -0400, Bill Pringlemeir wrote:
In any case the document has,
If the NAND flash supports sub-pages, then what can be done is ECC
codes can be calculated on per-sub-page basis, instead of per-NAND
page basis. In this
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
Once declared, you cannot access a linker_list entry since you do not have
a symbol name for it. Add llsym() macro to provide this. This avoids
searching for the symbol at run-time based on name.
An example usage is to declare a
On 6 April 2015 at 16:47, Simon Glass s...@chromium.org wrote:
On 1 April 2015 at 01:19, Peng Fan peng@freescale.com wrote:
Hi Haikun,
On 4/1/2015 11:10 AM, Haikun Wang wrote:
Move the Freescale QSPI driver over to driver model.
Signed-off-by: Haikun Wang haikun.w...@freescale.com
On 5 April 2015 at 12:31, Simon Glass s...@chromium.org wrote:
Hi Joe,
On 3 April 2015 at 19:09, Joe Hershberger joe.hershber...@ni.com wrote:
Some drivers need a chance to manage their receive buffers after the
packet has been handled by the network stack. Add an operation that
will allow
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
Adjust this test to avoid repeating the same code too often.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
test/dm/bus.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
Applied
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Adjust this command to work with the new driver model uclass. It needs to
iterate through multiple independent controllers to find hubs, and work
through their children recursively in a different way. Otherwise the
functionality
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Add the required #ifdefs and remove unwanted data structures so that the
USB uclass will be able to use this file.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb.c | 31
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
This function now calls usb_setup_device() to set up the device and
usb_hub_probe() to check if it is a hub. The XHCI special case is now a
parameter to usb_setup_device(). The latter will be used by the USB uclass
when it is
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Move the code that sets up the device with a new address into its own
function, usb_prepare_device().
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb.c | 72
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
This function returns NULL on error at present. Adjust it so that we can
return a real error, as is needed with driver model. Also improve the
error handling in its caller, usb_hub_port_connect_change(), and adjust
the code order
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
usb_new_device() is far too long and does far too much. As a first step, move
the code that does initial setup and reads a descriptor into its own function
called usb_setup_descriptor().
For XHCI the init order is different - we
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Move the port reset code into its own function. Rename usb_hub_reset() to
indicate that is is now a legacy function.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb.c | 40
With e37f1eb we now use strict_strtoul() in do_mem_mtest() and this
gives us a warning:
../include/vsprintf.h:38:5: note: expected 'long unsigned int *' but
argument is of type 'int *'
Signed-off-by: Tom Rini tr...@konsulko.com
---
common/cmd_mem.c |2 +-
1 file changed, 1 insertion(+), 1
On Thu, Apr 02, 2015 at 04:01:33PM -0400, Tom Rini wrote:
Back in fc46bae a clean up was introduced that intended to reconcile
some of the AM335x codepaths based on how AM43xx operates.
Unfortunately this introduced a regression on the DDR2 platforms. This
was un-noticed on DDR3 (everything
On Tue, Mar 31, 2015 at 03:02:43PM +0800, tang yuantian wrote:
From: Tang Yuantian yuantian.t...@freescale.com
In stead of user_buffer_size, transfer_size should be used to pass to
ahci_device_data_io(). transfer_size is the length that we want the
low level function to transfer each time.
On Wed, Apr 01, 2015 at 01:50:41PM +0200, Pavel Machek wrote:
Currently, memtest will silently accept bad data. Perform error
checking on user intput.
Signed-off-by: Pavel Machek pa...@denx.de
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index bfca59e..e6623b0 100644
Applied to
On Tue, Mar 24, 2015 at 08:59:00AM +0100, Mario Schuknecht wrote:
The u-boot environment is redundantly stored in a NOR flash on our boards.
Redundant means that there are two places to store the environment. But only
one of the two is active. I discovered that on one board the u-boot (env_sf)
On Tue, Mar 31, 2015 at 12:44:46PM +0530, Jagannadha Sutradharudu Teki wrote:
Hi Tom,
Please pull this PR.
thanks!
Jagan.
The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2:
sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200)
are
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Split out the hub detection logic so it can be used by driver model. Also
adjust the code to return errors correctly.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb_hub.c | 57
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
This function assumes that unsigned long is 32-bits wide, but it is not
on 64-bit machines. Use the correct type, and add a few debug() lines also.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
The for() loop is not needed since the value is immediately accessible.
Use this instead to simplify the code.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb_storage.c | 30
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Add support for scanning USB storage devices with driver model. This mostly
involves adding a USB device ID for storage devices.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb_storage.c | 51
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Put these at the top of the file so they are in one place. Also add function
prototypes to the header file to avoid call site mismatches.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
The usb_stor_scan() function is quite long, so split out the code that scans
each device into its own function. Also, rather than setting up the block
device list once at the start, set it up as each device is scanned. This
makes
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
With a few tweaks we can compile this code with sandbox and enable testing
of the USB storage layer.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
common/usb_storage.c | 8 +---
1 file changed, 5
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Allow USB keyboards to work with driver model. The main difference is that
we can have multiple buses (each with its own device numbering) and each
bus must be scanned.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
With driver model we want to remove the controller pointer in struct udevice
and use driver model data structures instead. To prepare for this, move
access to this field to a function which can provide a different
implementation
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
These allow basic testing of the USB functionality within sandbox.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
arch/sandbox/dts/sandbox.dts | 40
1 file
On 26 March 2015 at 03:01, Jim Lin ji...@nvidia.com wrote:
Please ignore my question because it is answered by [PATCH v2 34/80].
On 03/26/2015 11:38 AM, Jim Lin wrote:
-Original Message-
From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Simon
Glass
Sent: Thursday,
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
This driver supports using emulation devices to provide a USB bus within
sandbox.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/usb/host/Makefile | 1 +
drivers/usb/host/usb-sandbox.c |
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
All USB controllers need a root hub. Add a sandbox emulation for this so
that we can add USB devices to sandbox.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/usb/emul/Makefile | 1 +
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Update this driver with driver model support for USB.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/usb/host/ehci-exynos.c | 112
-
1 file changed, 111
On Tue, Apr 07, 2015 at 01:57:50PM -0400, Tom Rini wrote:
With e37f1eb we now use strict_strtoul() in do_mem_mtest() and this
gives us a warning:
../include/vsprintf.h:38:5: note: expected 'long unsigned int *' but
argument is of type 'int *'
Signed-off-by: Tom Rini tr...@konsulko.com
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
The existing get_get_of_data() function provides access to both the driver's
compatible string and its driver data. However only the latter is actually
useful. Update the interface to reflect this and fix up existing users.
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
This has a prototype but no implementation. It returns the global GPIO number
given a gpio_desc. It is useful for debugging in some cases.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
The uclass pre-probe functions may end up calling back into the device in
some circumstances. This can fail if recursion takes place. Adjust the
ordering so that we mark the device as active early, then retract this
later if
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
Add some utility functions to check for children and for the last sibling in
a device's parent.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/core/device.c | 28
On 25 March 2015 at 12:21, Simon Glass s...@chromium.org wrote:
Add a uclass that can represent a USB controller. For now we do not create
devices for things attached to the controller. This will be added later.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
At present the tegra driver uses a separate pointer to know which controller
type is in use. This works because only one controller type is used at a
time.
With driver model we want to make the controller state hermetic in the
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Adjust this function so that it is passed an EHCI controller pointer so that
implementations can look up their controller.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/usb/host/ehci-faraday.c
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
Add a private data pointer that clients of EHCI can use to access their
private information. This establishes a link between struct ehci_ctrl and
its associated controller data structure.
Signed-off-by: Simon Glass
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
With sandbox we want to be able to emulate USB devices so that we can test
the USB stack. Add a uclass to support this. It implements the same
operations as a normal USB device driver, but in this case passes them on
to an
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
These devices must have their addresses removed ready for the next USB
bus enumeration. Add this logic to usb_stop().
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
drivers/usb/host/usb-uclass.c | 11
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
These are needed to enable the USB bus (although not sufficient since it
still does not work).
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
arch/arm/dts/tegra124-nyan-big.dts | 2 ++
1 file changed,
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
This is needed for sandbox USB device emulation, so move it to a place
where it can be found by things other than gadgets.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2: None
include/linux/usb/ch9.h| 13
On 25 March 2015 at 12:22, Simon Glass s...@chromium.org wrote:
This emulator supports USB enumeration and allows a local file to be provided
as the contents of the emulated flash stick. U-Boot can then use the file as
it would a normal device, with all access passing through the usb_stor layer
1 - 100 of 190 matches
Mail list logo