On 18 June 2015 at 07:50, Wang Haikun wrote:
> On 6/17/2015 8:30 PM, Simon Glass wrote:
>> Hi,
>>
>> On 17 June 2015 at 03:36, Bin Meng wrote:
>>> Hi Haikun,
>>>
>>> On Mon, May 18, 2015 at 9:25 PM, Haikun Wang
>>> wrote:
From: Haikun Wang
Enable Driver Model SPI for ls1021atwr
On 6/17/2015 8:30 PM, Simon Glass wrote:
> Hi,
>
> On 17 June 2015 at 03:36, Bin Meng wrote:
>> Hi Haikun,
>>
>> On Mon, May 18, 2015 at 9:25 PM, Haikun Wang
>> wrote:
>>> From: Haikun Wang
>>>
>>> Enable Driver Model SPI for ls1021atwr board.
>>> DSPI and QSPI only be enabled when boot from QS
Hi Peter,
The subject "Fix default env includes to fix sandbox build" sounds
confusing to me.
I can currently build sandbox because tools/env is not built by default.
We hit this problem when we do "make env" or "make tools-all".
2015-06-18 0:58 GMT+09:00 Peter Robinson :
> defconfig and sa
On 06/17/2015 04:44 AM, Marek Vasut wrote:
> On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote:
>> On 05/04/2015 02:54 PM, Marek Vasut wrote:
>>> The get_timer_us() function is something which is no longer
>>> existing in case we use generic timer framework, so replace
>>> it with get_
On 06/17/2015 04:43 AM, Marek Vasut wrote:
> On Tuesday, June 16, 2015 at 11:19:11 AM, Michal Marek wrote:
>> On 2015-06-16 06:01, Stephen Warren wrote:
>>> On 06/11/2015 12:35 PM, Jakub Kicinski wrote:
Hello!
>
> Hi/Ahoj :)
>
I'm using latest git source of U-Boot on Raspberry Pi Comput
Yes, it's a 32-bit T210 U-Boot. T210 supports both AARCH32 and AARCH64.
A 64-bit build will follow, but I haven't figured out how to meld the 32-bit
AVP SPL portion/build with the 64-bit CPU portion/build in one clean build
command, so I'm building them separately and then fusing them together
On 06/03/2015 02:35 PM, Tom Warren wrote:
Adds support for Tegra210 SoC and P2571 NVIDIA board.
Largely based on T124/Venice2. This is a baseline
patchset - more will follow to make things more T210-
specific as P2571 peripherals/devices are brought up.
Does this add support for a 32-bit or a 6
Modify the sunxi musb glue to use the device-model for musb host mode.
This allows using musb in host mode together with other host drivers
such as ehci / ohci, which is esp. useful on boards which use the
musb controller in host-only mode, these boards have e.g. an usb-a
receptacle or an usb to s
This allows using devices plugged into both ports of the tablet.
Signed-off-by: Hans de Goede
---
arch/arm/dts/sun8i-a23-a33.dtsi | 18 ++
arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 8
configs/ga10h_v1_1_defconfig | 2 ++
3 files changed, 28 insertions(+)
Move the musb config and platdata to the sunxi-musb glue, which is where
it really belongs. This is preparation patch for adding device-model
support for the sunxi-musb-host code.
Signed-off-by: Hans de Goede
---
arch/arm/include/asm/arch-sunxi/usb_phy.h | 7 +++
board/sunxi/board.c
Start using the new Kconfig options which are available for most of the
USB settings now.
This also allows us to use "CONFIG_USB_EHCI_HCD=y" in defconfig files
for new boards instead of CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI".
Signed-off-by: Hans de Goede
---
board/sunxi/Kconfig| 9
This way it can be re-checked on "usb reset".
Signed-off-by: Hans de Goede
---
drivers/usb/musb-new/sunxi.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c
index c123d61..ee018c7 100644
--- a/dri
Add support for reading the id pin value of the otg connector to the usb
phy code.
Signed-off-by: Hans de Goede
---
arch/arm/cpu/armv7/sunxi/usb_phy.c| 34 +++
arch/arm/include/asm/arch-sunxi/usb_phy.h | 1 +
board/sunxi/Kconfig | 7 +++
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 SoC specific musb glue code.
Signed-off-by: Hans de Goede
---
drivers/usb/musb-new/musb_uboot.c | 70
When in host mode check if there is a host cable inserted into the otg
port by checking the id pin. If there is no host cable return an error to
make usb_lowlevel_init() exit early, rather then waiting for 1 second
for a device which will never show up.
Signed-off-by: Hans de Goede
---
configs/I
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
---
drivers/usb/musb-new/musb_uboot.c | 107 +++---
drivers/usb/musb-new/musb_uboot.h | 24 ++
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
---
drivers/usb/host/usb-uclass.c | 16 +++-
include/usb.h | 5 +
2 files chang
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 +--
1 file changed, 59 insertions(+), 11 deletions(-)
diff --git a/drivers
When building with CONFIG_DM_USB=y struct usb_device does not have a parent
pointer. This commit adds support to the musb code to deal with this.
Signed-off-by: Hans de Goede
---
drivers/usb/musb-new/musb_host.c | 4 +++
drivers/usb/musb-new/musb_uboot.c | 2 +-
drivers/usb/musb-new/usb-compa
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 these (and in the future others) are suitable for our
purposes, remove the check for the device being a hub, a
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_init to platform_enable, so that the user can unplug a
charger, plug in a host adapter with a usb-device, do a "
On an usb stop instead of leaving orphan usb devices behind simply remove
them. This requires CONFIG_DM_DEVICE_REMOVE to be set, so only build
usb_stop() when that is set.
The result of this commit is best seen in the output of "dm tree" after
plugging out an usb hub with 2 devices plugges in and
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 last child.
The dm-usb code was always setting it to actually reflect the last-child
status which is wrong
Pass the usb_device instead of the portnr to usb_legacy_port_reset and
rename it to usb_hub_port_reset as there is nothing legacy about it.
Signed-off-by: Hans de Goede
---
common/usb.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/usb.c b/common/usb.c
index
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 a duplicate declaration of usb_reset_root_port() from usb.h .
Signed-off-by: Hans de Goede
---
common/usb.c
These functions are useful to remove all children from an usb bus before
rescanning the bus.
Signed-off-by: Hans de Goede
---
drivers/core/device-remove.c | 18 ++
include/dm/device-internal.h | 26 ++
2 files changed, 28 insertions(+), 16 deletions(-)
di
Hi Marek and Simon,
This series started out with the idea that it would be a nice small project
for the weekend, but it turned out to be a bit more work...
The main purpose of this series is to convert the musb host mode code to the
device-model this has also resulted in various usb fixes / clean
Drop the unneeded portnr function argument, the portnr is part of the
usb_device struct which is passed via the dev argument.
Signed-off-by: Hans de Goede
---
common/usb.c | 10 +-
drivers/usb/host/usb-uclass.c | 2 +-
include/usb.h | 6 +++---
3 files
The device-model usb_legacy_port_reset function calls the device-model
usb_port_reset function which is a 1 on 1 copy of the non dm
usb_legacy_port_reset and this is the only use of usb_port_reset in all
of u-boot.
Drop both, and alway use the usb_legacy_port_reset() version in
common/usb.c .
Als
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 enabled.
This fixes compile warnings due to missing prototypes on ARCHs where
the ARCH Kconfig always e
Hi Bin,
On Wed, Jun 17, 2015 at 6:29 PM, Bin Meng wrote:
> +Simon
>
> Hi Saket,
>
> Since you just sent the patch to U-Boot mailing list for the first
> time, this is officially the v1 patch that is visible to the mailing
> list, although we know you sent us the 'v1' patch offline before.
> Plea
Hi Markus,
On 17 June 2015 at 11:12, Markus Niebel wrote:
> Am 17.06.2015 um 17:04 schrieb Simon Glass:
>> Hi Markus,
>>
>> On 17 June 2015 at 00:18, Markus Niebel wrote:
>>>
>>> Hello Simon,
>>>
>>> Am 16.06.2015 um 23:44 schrieb Simon Glass:
Hi Markus,
On 16 June 2015 at 01:08,
Am 17.06.2015 um 17:04 schrieb Simon Glass:
> Hi Markus,
>
> On 17 June 2015 at 00:18, Markus Niebel wrote:
>>
>> Hello Simon,
>>
>> Am 16.06.2015 um 23:44 schrieb Simon Glass:
>>> Hi Markus,
>>>
>>> On 16 June 2015 at 01:08, Markus Niebel wrote:
From: Markus Niebel
gpio often ar
On 06/15/2015 12:56 PM, York Sun wrote:
On 06/15/2015 09:42 AM, Vitaly Andrianov wrote:
On 06/15/2015 10:17 AM, Tom Rini wrote:
On Mon, Jun 15, 2015 at 08:48:01AM -0400, Vitaly Andrianov wrote:
KS2 u-boot detects the ddr3a size installed to EVM. The detected size can
be used instead of
On Wed, 17 Jun 2015 12:44:15 +0200, Marek Vasut wrote:
> On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote:
> > On 05/04/2015 02:54 PM, Marek Vasut wrote:
> > > The get_timer_us() function is something which is no longer
> > > existing in case we use generic timer framework, so replace
Hi Simon,
>>> On 15 June 2015 at 13:40, Peter Robinson wrote:
In our Fedora builds we get the below errors if we build the following
using
a vanilla u-boot 2015.07rc2. I'm not sure if it's the best fix but it fixes
the build for rc2.
make HOSTCC="gcc $RPM_OPT_FLAGS"
defconfig and sandbox fails to build due to a with with the following error:
error: expected '}' before
'BOOT_TARGET_DEVICES_references_HOST_without_CONFIG_SANDBOX'
CONFIG_EXTRA_ENV_SETTINGS
Based on the responaes below to the thread add linux/kconfig.h higher in th
includes
and drop the now
Hi Simon,
> On 17 June 2015 at 05:29, Masahiro Yamada
> wrote:
>> Hi.
>>
>>
>> 2015-06-17 3:24 GMT+09:00 Simon Glass :
>>> Hi Peter,
>>>
>>> On 15 June 2015 at 13:40, Peter Robinson wrote:
In our Fedora builds we get the below errors if we build the following
using
a vanilla u-b
On 16 June 2015 at 21:15, Bin Meng wrote:
> Introduce a new method 'get_count' in the UCLASS_CPU ops to get
> the number of CPUs in the system.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v4:
> - Remove parameter 'count' from cpu_get_count()
>
> Changes in v3:
> - Drop patches already appl
Hi Peter,
On 17 June 2015 at 05:29, Masahiro Yamada wrote:
> Hi.
>
>
> 2015-06-17 3:24 GMT+09:00 Simon Glass :
>> Hi Peter,
>>
>> On 15 June 2015 at 13:40, Peter Robinson wrote:
>>> In our Fedora builds we get the below errors if we build the following using
>>> a vanilla u-boot 2015.07rc2. I'm
Hi Markus,
On 17 June 2015 at 00:18, Markus Niebel wrote:
>
> Hello Simon,
>
> Am 16.06.2015 um 23:44 schrieb Simon Glass:
> > Hi Markus,
> >
> > On 16 June 2015 at 01:08, Markus Niebel wrote:
> >> From: Markus Niebel
> >>
> >> gpio often are needed to detect revision and variants.
> >> Therefo
Hello Marek,
-while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay)
+while (timer_get_us() < bcm_host->last_write +
bcm_host->twoticks_delay)
;
Can this counter / the right side of the comparison not overflow?
Regards,
Jeroen
___
Hi,
On 15-06-15 21:21, Paul Kocialkowski wrote:
Le dimanche 14 juin 2015 à 12:40 +0200, Hans de Goede a écrit :
Hi Ian, Paul,
Here is a patch to fix the problems where most usb devices will no longer
work after a "usb reset ", when connected to the otg controller in host
mode + a related clean
Hi,
On 14-06-15 12:08, Karsten Merker wrote:
The MSI Primo 81 is an Allwinner A31s-based tablet on which the
OTG port is the only accessible USB interface. The existing
defconfig had VGA console on the LCD enabled, but was missing
keyboard support because the prerequisites for that (sunxi MUSB
Hi Simon,
On Wed, Jun 17, 2015 at 9:15 PM, Simon Glass wrote:
> Hi Bin,
>
> On 17 June 2015 at 01:42, Bin Meng wrote:
>> Hi Simon,
>>
>> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
>>> Hi Bin,
>>>
>>> On 15 June 2015 at 02:00, Bin Meng wrote:
The MP table provides a way for the o
Hi Simon,
On Wed, Jun 17, 2015 at 9:15 PM, Simon Glass wrote:
> Hi Bin,
>
> On 17 June 2015 at 01:35, Bin Meng wrote:
>> Hi Simon,
>>
>> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
>>> Hi Bin,
>>>
>>> On 15 June 2015 at 01:59, Bin Meng wrote:
I/O APIC registers are addressed indi
Hi Bin,
On 17 June 2015 at 01:42, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
>> Hi Bin,
>>
>> On 15 June 2015 at 02:00, Bin Meng wrote:
>>> The MP table provides a way for the operating system to support
>>> for symmetric multiprocessing as well as symm
Hi Bin,
On 17 June 2015 at 01:49, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
>> Hi Bin,
>>
>> On 15 June 2015 at 02:00, Bin Meng wrote:
>>> Implement a weak write_mp_table() to create a minimal working MP
>>> table. This includes an MP floating table, a
Hi Bin,
On 17 June 2015 at 01:35, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
>> Hi Bin,
>>
>> On 15 June 2015 at 01:59, Bin Meng wrote:
>>> I/O APIC registers are addressed indirectly. Add io_apic_read() and
>>> io_apic_write() inline routines. Two macr
+Simon
Hi Saket,
Since you just sent the patch to U-Boot mailing list for the first
time, this is officially the v1 patch that is visible to the mailing
list, although we know you sent us the 'v1' patch offline before.
Please check my initial review comments below. I will continue
reviewing after
On Tuesday, June 16, 2015 at 11:19:11 AM, Michal Marek wrote:
> On 2015-06-16 06:01, Stephen Warren wrote:
> > On 06/11/2015 12:35 PM, Jakub Kicinski wrote:
> >> Hello!
Hi/Ahoj :)
> >> I'm using latest git source of U-Boot on Raspberry Pi Compute Module
> >> and performance of fatload is quite ba
On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote:
> On 05/04/2015 02:54 PM, Marek Vasut wrote:
> > The get_timer_us() function is something which is no longer
> > existing in case we use generic timer framework, so replace
> > it with get_timer().
>
> Marek,
>
> This patch causes "s
Hi,
On 17 June 2015 at 03:36, Bin Meng wrote:
> Hi Haikun,
>
> On Mon, May 18, 2015 at 9:25 PM, Haikun Wang
> wrote:
>> From: Haikun Wang
>>
>> Enable Driver Model SPI for ls1021atwr board.
>> DSPI and QSPI only be enabled when boot from QSPI.
>> DSPI and QSPI are compatible under Driver Model
Hi.
2015-06-17 3:24 GMT+09:00 Simon Glass :
> Hi Peter,
>
> On 15 June 2015 at 13:40, Peter Robinson wrote:
>> In our Fedora builds we get the below errors if we build the following using
>> a vanilla u-boot 2015.07rc2. I'm not sure if it's the best fix but it fixes
>> the build for rc2.
>>
>> m
This fix is necessary to avoid booting the default ITB configuration.
Signed-off-by: Lukasz Majewski
---
board/samsung/common/bootscripts/autoboot.cmd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/samsung/common/bootscripts/autoboot.cmd
b/board/samsung/common/bootscr
Then we can use this ek_name variable to load corresponding dtb file in
mmc boot.
Also we change the mmc boot command to load zImage as this format is
prefered.
Signed-off-by: Josh Wu
---
board/atmel/sama5d3xek/sama5d3xek.c | 21 +
include/configs/sama5d3xek.h| 7 +
Hello,
Ping.
- Sanchayan.
On 15-06-08 12:40:41, Sanchayan Maity wrote:
> Increase console IO buffer size to 1024 from the previous value of 256.
> The previous value was too short for editing environment variables like
> ubiboot from the console.
>
> Signed-off-by: Sanchayan Maity
> ---
> inc
Hi Haikun,
On Mon, May 18, 2015 at 9:25 PM, Haikun Wang wrote:
> From: Haikun Wang
>
> Enable Driver Model SPI for ls1021atwr board.
> DSPI and QSPI only be enabled when boot from QSPI.
> DSPI and QSPI are compatible under Driver Model SPI.
>
> Signed-off-by: Haikun Wang
> Change-Id: I6342807da
On 6/16/2015 4:55 PM, Jagan Teki wrote:
> Pls- resend this series by adding Data Flash driver to it.
In fact we only have Atmel Dataflash on ls1021aqds board.
And I have add the "#define CONFIG_SF_DATAFLASH" in ls1021aqds.h.
Please see below patch:
[U-Boot,v3,3/4] arm: ls102xa: Enable Driver Model
Small correction
On Wednesday, June 17, 2015, Thirumalesha N wrote:
> Hi Franklin,
>
> Sorry for late response
>
> On Wednesday, June 10, 2015, Cooper Jr., Franklin > wrote:
>
>>
>>
>> > -Original Message-
>> > From: Maxin B. John [mailto:maxin.j...@enea.com]
>> > Sent: Wednesday, June
Add support for NOR flash and GPIO/I2C switch control on RevC.
- NOR support
- bank0/bank4 switch
- SD/eMMC switch
- board version
Signed-off-by: Shengzhou Liu
---
v2: updated rcw.
board/freescale/t102xrdb/README| 18 +++--
board/freescale/t102xrdb/t1023_rcw.cfg | 2 +-
board/freesca
Hi Simon,
On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
> Hi Bin,
>
> On 15 June 2015 at 02:00, Bin Meng wrote:
>> Implement a weak write_mp_table() to create a minimal working MP
>> table. This includes an MP floating table, a configuration table
>> header and all of the 5 base configura
Hi Simon,
On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
> Hi Bin,
>
> On 15 June 2015 at 02:00, Bin Meng wrote:
>> The MP table provides a way for the operating system to support
>> for symmetric multiprocessing as well as symmetric I/O interrupt
>> handling with the local APIC and I/O AP
Hi Simon,
On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
> Hi Bin,
>
> On 15 June 2015 at 01:59, Bin Meng wrote:
>> I/O APIC registers are addressed indirectly. Add io_apic_read() and
>> io_apic_write() inline routines. Two macros for I/O APIC ID and
>> version register offset are also add
Hi Simon,
On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote:
> Hi Bin,
>
> On 15 June 2015 at 01:59, Bin Meng wrote:
>> Enable RTC initialization in arch_misc_init().
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> arch/x86/cpu/queensbay/tnc.c | 3 +++
>> 1 file changed, 3 insertions(+)
>
> Could
65 matches
Mail list logo