On Sunday, December 13, 2015 at 05:17:52 AM, Stefan Brüns wrote:
> First two patches are preparatory work. 3rd and 4th introduce helper
> functions. Patch 5 contains the core changes. Patch 6 is cleanup.
>
> The patch has been tested on RPi 1 B with several full speed and low speed
> devices. All
On Sunday, December 13, 2015 at 05:17:56 AM, Stefan Brüns wrote:
> Signed-off-by: Stefan Brüns
Commit message would be nice, otherwise:
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing
On Sunday, December 13, 2015 at 05:17:53 AM, Stefan Brüns wrote:
> flush_dcache_range may access data after priv->aligned_buffer end if
> len > DWC2_DATA_BUF_SIZE.
> memcpy may access data after buffer end if done > 0
>
> Signed-off-by: Stefan Brüns
Acked-by: Marek
The configuration descriptor includes all interface, endpoint and
auxiliary descriptors (e.g. report, union) so 512 may not be enough.
Signed-off-by: Stefan Brüns
---
common/usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/usb.c
On Sunday, December 13, 2015 at 05:17:57 AM, Stefan Brüns wrote:
> In contrast to non-SPLIT transfers each transaction has to be submitted
> as an individual chunk. Handling of ACK/NAk/NYET handshakes depends on
> transaction (non-SPLIT/SSPLIT/CSPLIT), thus inline the HCINT flag handling.
>
>
On Sunday, December 13, 2015 at 05:17:58 AM, Stefan Brüns wrote:
> Signed-off-by: Stefan Brüns
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
On Sunday, December 13, 2015 at 05:17:54 AM, Stefan Brüns wrote:
> A function is allowed to return NAKs during the DATA stage to control
> data flow control. NAKs during the STATUS stage signal the function
> is still processing the request.
>
> Signed-off-by: Stefan Brüns
On Sunday, December 13, 2015 at 05:47:18 AM, Stefan Brüns wrote:
> The configuration descriptor includes all interface, endpoint and
> auxiliary descriptors (e.g. report, union) so 512 may not be enough.
>
> Signed-off-by: Stefan Brüns
Can the size be determined in
On Sunday, December 13, 2015 at 05:17:55 AM, Stefan Brüns wrote:
> Start split and complete split tokens need the hub address and the
> downstream port of the first HS hub (device view).
> Code copied from host/ehci_hcd.c
>
> Signed-off-by: Stefan Brüns
Acked-by:
Start split and complete split tokens need the hub address and the
downstream port of the first HS hub (device view).
Code copied from host/ehci_hcd.c
Signed-off-by: Stefan Brüns
---
drivers/usb/host/dwc2.c | 60 +
1
In contrast to non-SPLIT transfers each transaction has to be submitted
as an individual chunk. Handling of ACK/NAk/NYET handshakes depends on
transaction (non-SPLIT/SSPLIT/CSPLIT), thus inline the HCINT flag handling.
Signed-off-by: Stefan Brüns
---
Signed-off-by: Stefan Brüns
---
drivers/usb/host/dwc2.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index 2d97546..6496fcf 100644
--- a/drivers/usb/host/dwc2.c
+++
A function is allowed to return NAKs during the DATA stage to control
data flow control. NAKs during the STATUS stage signal the function
is still processing the request.
Signed-off-by: Stefan Brüns
---
drivers/usb/host/dwc2.c | 37
Signed-off-by: Stefan Brüns
---
drivers/usb/host/dwc2.c | 34 --
1 file changed, 34 deletions(-)
diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index 0bf3ee5..baf78d8 100644
--- a/drivers/usb/host/dwc2.c
+++
First two patches are preparatory work. 3rd and 4th introduce helper
functions. Patch 5 contains the core changes. Patch 6 is cleanup.
The patch has been tested on RPi 1 B with several full speed and low speed
devices. All devices enumerated successfully, with good output from
"usb info". High
flush_dcache_range may access data after priv->aligned_buffer end if
len > DWC2_DATA_BUF_SIZE.
memcpy may access data after buffer end if done > 0
Signed-off-by: Stefan Brüns
---
drivers/usb/host/dwc2.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
Signed-off-by: Dale P. Smith
---
Changes for v2:
- First attempt at using git format-patch
Changes for v3:
- Fix subject.
- Add changelog
drivers/spi/fsl_espi.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git
Hi Marek,
Am Saturday 12 December 2015, 02:42:47 schrieb Marek Vasut:
> On Friday, December 11, 2015 at 12:05:36 AM, Michael Heimpold wrote:
> > For some board designs, it might be useful to switch the DC-DC
> > clock source to something else rather the default 24 MHz, e.g.
> > for EMI reasons.
>
Hello,
I am running 2016.01-rc on BBB (Embest replica)
printenv shows the following:
findfdt=if test $board_name = A335BONE; then setenv fdtfile
am335x-bone.dtb; fi; if test $board_name = A335BNLT; then if test
$board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; else setenv
fdtfile
config_distro_defaults.h is already included in configs/ti_am335x_common.h (by
means of ti_armv7_common.h)
We don't need to #undef CONFIG_BOOTDELAY because it drops default bootdelay
which already defined on this line.
Signed-off-by: Matwey V. Kornilov
---
On 11.12.2015 18:32, Marek Vasut wrote:
On Friday, December 11, 2015 at 04:46:40 PM, Michal Simek wrote:
On 11.12.2015 16:07, Marek Vasut wrote:
On Friday, December 11, 2015 at 03:48:09 PM, Nathan Rossi wrote:
The Device Model sequence alias feature is required by some Uclasses.
Instead of
On Fri, 2015-12-11 at 21:19 -0500, Dale P. Smith wrote:
> Signed-off-by: Dale P. Smith
> ---
> Changes for v2:
> - First attempt at using git format-patch
> Changes for v3:
> - Fix subject.
> - Add changelog
While this is a step in the right direction, this
On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote:
> On 11.12.2015 18:32, Marek Vasut wrote:
>>
>> On Friday, December 11, 2015 at 04:46:40 PM, Michal Simek wrote:
>>>
>>> On 11.12.2015 16:07, Marek Vasut wrote:
On Friday, December 11, 2015 at 03:48:09 PM, Nathan Rossi
On Saturday, December 12, 2015 at 10:02:30 AM, Michael Heimpold wrote:
> Hi Marek,
Hi!
> Am Saturday 12 December 2015, 02:42:47 schrieb Marek Vasut:
> > On Friday, December 11, 2015 at 12:05:36 AM, Michael Heimpold wrote:
> > > For some board designs, it might be useful to switch the DC-DC
> > >
On Saturday, December 12, 2015 at 07:30:46 AM, Chin Liang See wrote:
[...]
> > > > Is this the default Altera layout ?
> > >
> > > Yah but believe it need to be updated
> >
> > So you're not worried about compatibility I presume ?
>
> I still need to care of compatiblity. Some of them will
On Saturday, December 12, 2015 at 07:17:13 AM, Chin Liang See wrote:
> On Sat, 2015-12-12 at 04:23 +0100, Marek Vasut wrote:
> > On Saturday, December 12, 2015 at 01:47:38 AM, Chin Liang See wrote:
> > > Enabling the support of storing U-Boot environment
> > > within serial NOR flash. By default,
On Saturday, December 12, 2015 at 03:08:21 PM, Nathan Rossi wrote:
> On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote:
> > On 11.12.2015 18:32, Marek Vasut wrote:
> >> On Friday, December 11, 2015 at 04:46:40 PM, Michal Simek wrote:
> >>> On 11.12.2015 16:07, Marek Vasut wrote:
The change ports NXP LPC32xx 14-clock UART device driver to driver
model.
Signed-off-by: Vladimir Zapolskiy
---
drivers/serial/lpc32xx_hsuart.c | 103 +++---
include/dm/platform_data/lpc32xx_hsuart.h | 18 ++
2 files changed, 82
Hi!
I'm getting quite crazy behaviour of variables in recent u-boot:
VERSION = 2016
PATCHLEVEL = 01
SUBLEVEL =
EXTRAVERSION = -rc1
Bytes transferred = 104656 (198d0 hex)
=> bootm_boot_mode=nonsec
=> echo $bootm_boot_mode
nonsec
=> prinetenv bootm_boot_mode
Unknown command 'prinetenv' - try
Hello,
this patchset enables the full-size SD card socket on the
A20-Olimex-SOM-EVB baseboard in u-boot and adds support for
including this kind of secondary socket into the boot process
provided by config_distro_bootcmd.h.
The latter is particularly useful on the A20-Olimex-SOM-EVB as
changing
Some sunxi-based boards (such as the Olimex A20-SOM-EVB) have a
second MMC socket. This socket is not bootable hardware-wise,
i.e. u-boot itself cannot be loaded from it, but once u-boot has
started, the second socket can be used in the boot process
provided by config_distro_bootcmd.h.
If a
The Olimex A20-SOM-EVB is an evaluation board for the Olimex
A20-SOM system-on-module. The baseboard provides a full-size SD
socket (connected to mmc3) in addition to the micro-SD socket on
the SOM itself (which is connected to mmc0).
Enable the mmc3 controller in the board defconfig.
On Sunday, December 13, 2015 at 01:49:06 AM, Chin Liang See wrote:
> On Sun, 2015-12-13 at 01:01 +0100, Marek Vasut wrote:
> > On Sunday, December 13, 2015 at 12:59:48 AM, Chin Liang See wrote:
> > > On Sat, 2015-12-12 at 16:36 +0100, Marek Vasut wrote:
> > > > On Saturday, December 12, 2015 at
On Sat, 2015-12-12 at 23:50 +0100, Pavel Machek wrote:
> On Sat 2015-12-12 08:47:41, Chin Liang See wrote:
> > Enabling the support of storing U-Boot environment
> > within serial NOR flash. By default, its still
> > store into SDMMC
> >
> > Signed-off-by: Chin Liang See
> >
On Sunday, December 13, 2015 at 12:59:48 AM, Chin Liang See wrote:
> On Sat, 2015-12-12 at 16:36 +0100, Marek Vasut wrote:
> > On Saturday, December 12, 2015 at 07:30:46 AM, Chin Liang See wrote:
> [...]
>
> > > > Can you share the final layout before you roll out patches ?
> > >
> > > Sure,
Not all boards implementing an Armada XP chip are equipped with ECC RAM.
Defining DRAM_ECC to 1 enables ECC without a chance to turn it off in
board configs, which breaks DDR training for them.
Signed-off-by: Phil Sutter
---
drivers/ddr/marvell/axp/ddr3_axp_config.h | 2 +-
1 file
Armada XP has support for X4 lanes, boards specify this in their
serdes_cfg. During PEX init in high_speed_env_lib.c, the configuration
is stored in GEN_PURP_RES_2_REG.
When enumerating PEX, subsequent interfaces of an X4 lane must be
skipped. Otherwise the enumeration hangs up the board.
The
Synology keeps per item configuration in a dedicated 'partition' in SPI
flash, namely the one named 'vendor' in DTS file. It contains the two
NICs MAC addresses as well as the item's serial number. I didn't find a
way to have this information extracted automatically, therefore
implemented 'syno
Signed-off-by: Phil Sutter
---
arch/arm/mach-mvebu/cpu.c | 5 -
arch/arm/mach-mvebu/include/mach/soc.h | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c
index d3b9789..b485be7 100644
---
The debug printing tries to reference slave->bus and slave->cs which
don't exist when CONFIG_DM_SPI is defined.
Signed-off-by: Phil Sutter
---
drivers/spi/kirkwood_spi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
The debug printing references bar_res, which exists only if
CONFIG_PCI_ENUM_ONLY is not defined. Therefore move it into the ifdef'd
area.
Signed-off-by: Phil Sutter
---
drivers/pci/pci_auto_old.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: Phil Sutter
---
arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c
b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c
index 702273a..6c7738c
This mimics the relevant code in mach-kirkwood headers. The
*_winctrl_calcsize functions are identical, as well as the MVCPU_WIN_*
macros. Implementing shared headers/code between mvebu and kirkwood is
left for someone with a better knowledge of how u-boot is organized
internally.
Signed-off-by:
If MV_DEBUG_WL is defined, DEBUG_WL_S and DEBUG_WL_D macros are missing.
In addition to that, get rid of debug output printing non-existent
counter variable.
Signed-off-by: Phil Sutter
---
drivers/ddr/marvell/axp/ddr3_write_leveling.c | 4 ++--
1 file changed, 2 insertions(+), 2
* There is no boards.cfg anymore, so drop (1).
* Creating flash.c and u-boot.lds seems not mandatory as well.
* Adjusting the enumerators for the above implicitly fixed for
double items numbered (3).
Signed-off-by: Phil Sutter
---
README | 11 ---
1 file changed, 4
This patch series ultimately adds support for Synology DS414 NAS after a
few fixes:
* Patches 1-3 and 5 fix various files for enabled debugging.
* Patch 4 updates the board porting guide in README file.
* Patches 6-8 hold crucial fixes necessary for DS414 support.
* Patches 9 and 10 contain the
This adds support for the MV78230 based DS414 NAS by Synology. The
relevant bits have been extracted from the 'synogpl-5004-armadaxp'
package Synology kindly published, garnished with a fair amount of
trial-and-error.
Sadly, support is far from perfect. The major parts I have failed in
are SATA
On Sun, 2015-12-13 at 01:01 +0100, Marek Vasut wrote:
> On Sunday, December 13, 2015 at 12:59:48 AM, Chin Liang See wrote:
> > On Sat, 2015-12-12 at 16:36 +0100, Marek Vasut wrote:
> > > On Saturday, December 12, 2015 at 07:30:46 AM, Chin Liang See
> > > wrote:
> > [...]
> >
> > > > > Can you
For NXP LPC32xx boards the change enables SPL_DM option, this allows
to use any driver model UART driver in SPL images, hence a restriction
on HSUART in SPL image is removed and well as definitions for non-DM
NS16550 driver, its DM version is used instead.
Note, CONFIG_SPL_DM option noticeably
The change enables DM versions of NXP LPC32xx standard (NS16550)
and high-speed UART drivers for both ordinary and SPL U-boot images.
The change increases the size of SPL images over a maximum size limit
for a secondary bootloader, if it is downloaded from a small page NAND
flash, but this does
On NXP LPC32xx platform for non-SPL builds the change adds
standard (NS16550) and high-speed UARTs to driver model.
Due to specific of DM NS16550 device description UART clock can not be
got in runtime and by default it is set to 13MHz, if board PERIPH_CLK
is different, this should be specified in
On Sun, 2015-12-13 at 01:01 +0100, Marek Vasut wrote:
> On Sunday, December 13, 2015 at 12:59:48 AM, Chin Liang See wrote:
> > On Sat, 2015-12-12 at 16:36 +0100, Marek Vasut wrote:
> > > On Saturday, December 12, 2015 at 07:30:46 AM, Chin Liang See
> > > wrote:
> > [...]
> >
> > > > > Can you
On Sat 2015-12-12 08:47:41, Chin Liang See wrote:
> Enabling the support of storing U-Boot environment
> within serial NOR flash. By default, its still
> store into SDMMC
>
> Signed-off-by: Chin Liang See
> Cc: Dinh Nguyen
> Cc: Dinh Nguyen
On Sat, 2015-12-12 at 22:45 +0100, Marek Vasut wrote:
> On Saturday, December 12, 2015 at 10:10:00 PM, Pavel Machek wrote:
> > On Fri 2015-12-11 17:15:50, Chin Liang See wrote:
> > > Enabling mtd partitioning layout which indicate partition
> > > for various boot partition
> > >
> > >
On Fri 2015-12-11 17:15:50, Chin Liang See wrote:
> Enabling mtd partitioning layout which indicate partition
> for various boot partition
>
> Signed-off-by: Chin Liang See
> Cc: Dinh Nguyen
> Cc: Dinh Nguyen
> Cc: Pavel
In u-boot there are two types of variables, local and persistent variables.
Persistent variables are assigned via "setenv", can be saved (the whole
environment) via "saveenv", restored (to default values) via "env
default -f".
Hush variables are assigned via "=" and can aren't saved.
Both are
On Saturday, December 12, 2015 at 10:10:00 PM, Pavel Machek wrote:
> On Fri 2015-12-11 17:15:50, Chin Liang See wrote:
> > Enabling mtd partitioning layout which indicate partition
> > for various boot partition
> >
> > Signed-off-by: Chin Liang See
> > Cc: Dinh Nguyen
On 2015-11-24, Marek Vasut wrote:
> From: Vagrant Cascadian
>
> Switch Novena to distro bootcmd
Anything remaining on this? Can we hope to see it in 2016.01?
> so it can be used with debian easily.
I suspect other distros would appreciate this too. :)
On Sat, 2015-12-12 at 16:36 +0100, Marek Vasut wrote:
> On Saturday, December 12, 2015 at 07:30:46 AM, Chin Liang See wrote:
[...]
> > > Can you share the final layout before you roll out patches ?
> >
> > Sure, plan to do so but need to away from desk just now.
> >
> > Here is the old layout
On Sat, 2015-12-12 at 22:10 +0100, Pavel Machek wrote:
> On Fri 2015-12-11 17:15:50, Chin Liang See wrote:
> > Enabling mtd partitioning layout which indicate partition
> > for various boot partition
> >
> > Signed-off-by: Chin Liang See
> > Cc: Dinh Nguyen
60 matches
Mail list logo