Apply the erratum A006261 for the following Socs:
P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1
Do not apply erratum A006261 for the following Socs:
T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081
Erratum A006261 is applicable for the following Socs:
P1010(1.0, 2.0), P2041(1.0, 1.1, 2.0
Modifies erratum implementation due to the fact that P3041,
P5020, and P5040 are all big endian for the USB PHY registers, but
they were specified little endian.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
---
Changes in v3:
- Modify the commit message
- Modify the commit descrip
> On 17 Aug 2016, at 06:15, Simon Glass wrote:
>
> Hi Alex,
>
> On 16 August 2016 at 02:55, Alexander Graf wrote:
>> We need the checksum function without all the other table functionality
>> soon, so let's split it out into its own header file.
>>
>> Signed-off-by: Alexander Graf
>> Reviewe
CONFIG_SYS_FSL_USB1_PHY_ENABLE is set and the USB Phy
offset are set to enable the initial setting of Usb Phy for P1010.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
---
Changes in v3:
- Modify the commit message
- Modify the commit description
arch/powerpc/include/asm/config_mp
Modifies erratum A006261 implementation due to the fact that P3041,
P5020, and P5040 are all big endian for the USB PHY registers, but
they were specified little endian.
Enables the Phy init settings for P1010 Soc.
Also, applies the erratum for P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1
and r
+ Simon,
On 08/16/2016 06:03 PM, Kever Yang wrote:
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang
---
board/rockchip/evb_rk3399/evb-rk3399.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/board/rockchip/evb_rk3
+ Simon,
On 08/16/2016 06:03 PM, Kever Yang wrote:
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a
empty one to make compile success.
Signed-off-by: Kever Yang
---
arch/arm/include/asm/arch-rockchip/sys_proto.h | 10 ++
1 file changed, 10 insertions(+)
create mod
On Monday 01 August 2016 09:53 PM, Tom Rini wrote:
> On Mon, Aug 01, 2016 at 02:41:08PM +0530, Vignesh R wrote:
>
>> make tags creates a symbolic link called tags to ctags. Remove this file
>> on make mrproper or make distclean.
>>
>> Signed-off-by: Vignesh R
>
> Reviewed-by: Tom Rini
>
Gen
On Monday 15 August 2016 10:53 PM, Karl Beldan wrote:
> ATM when receiving a packet the whole buffer is invalidated, this change
> optimizes this behaviour.
>
> Signed-off-by: Karl Beldan
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot ma
On Monday 15 August 2016 10:53 PM, Karl Beldan wrote:
> check_cache_range() warns that the top boundaries are not properly
> aligned when flushing or invalidating the buffers and make these
> operations fail.
>
> This gets rid of the remaining warnings:
> CACHE: Misaligned operation at range
>
>
On 16 August 2016 at 04:03, Kever Yang wrote:
> To support fastboot, we need to enable the controller first.
> rk3399 is using dwc3 as usb device controller, this patch enable
> the configs for dwc3 gadget.
>
> Signed-off-by: Kever Yang
> ---
>
> include/configs/rk3399_common.h | 21
Hi Alex,
On 16 August 2016 at 02:38, Alexander Graf wrote:
> On 08/12/2016 10:07 PM, Simon Glass wrote:
>>
>> Hi Alex,
>>
>> On 12 August 2016 at 12:36, Alexander Graf wrote:
>>>
>>>
>>> On 12.08.16 19:20, Simon Glass wrote:
Hi Alex,
On 8 August 2016 at 08:06, Alexander Graf
On 16 August 2016 at 02:55, Alexander Graf wrote:
> So far we were only installing the FDT table and didn't have space
> to store any other. Hence nobody realized that our efi table allocation
> was broken in that it didn't set the indicator for the number of tables
> plus one.
>
> This patch fixe
Hi Peng,
On 15 August 2016 at 04:05, Peng Fan wrote:
>
> Hi Simon,
>
> I am trying to coverting mxsfb.c to support dm.
>
> But met the following issue.
> "
> mxsfb_lcd_bind: Frame buffer size 200400
> Video device 'lcdif@021c8000' cannot allocate frame buffer memory -ensure the
> device is set u
HI Alex,
On 16 August 2016 at 02:55, Alexander Graf wrote:
> The type 4 table generation code is very x86 centric today. Refactor things
> out a bit to allow the tables to get generated for other architectures as
> well.
>
> Signed-off-by: Alexander Graf
> ---
> include/smbios.h | 3 +++
> lib
On 16 August 2016 at 03:58, Kever Yang wrote:
>
> This patch add pinctrl driver for rk3399.
>
> Signed-off-by: Kever Yang
> ---
>
> Changes in v2:
> - move and reg value MACRO in C source, and use MASK/SHIFT
>
> arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 321 +
> drivers/p
On 16 August 2016 at 02:55, Alexander Graf wrote:
> The SMBIOS generation code passes pointers as u32. That causes the compiler
> to warn on casts to pointers. This patch moves all address pointers to
> uintptr_t instead.
>
> Technically u32 would be enough for the current SMBIOS2 style tables, bu
Hi Alex,
On 16 August 2016 at 02:55, Alexander Graf wrote:
> We need the checksum function without all the other table functionality
> soon, so let's split it out into its own header file.
>
> Signed-off-by: Alexander Graf
> Reviewed-by: Bin Meng
> ---
> arch/x86/include/asm/tables.h | 2 ++
>
On 16 August 2016 at 02:55, Alexander Graf wrote:
> We want to be able to add configuration table entries from our own code as
> well as from EFI payload code. Export the boot service function internally
> too, so that we can reuse it.
>
> Signed-off-by: Alexander Graf
> ---
> include/efi_loader
On Tue, Aug 16, 2016 at 4:55 PM, Alexander Graf wrote:
> We can pass SMBIOS easily as EFI configuration table to an EFI payload. This
> patch adds enablement for that case.
>
> While at it, we also enable SMBIOS generation for ARM systems, since they
> support
> EFI_LOADER.
>
> Signed-off-by: Ale
On Tue, Aug 16, 2016 at 4:55 PM, Alexander Graf wrote:
> The type 4 table generation code is very x86 centric today. Refactor things
> out a bit to allow the tables to get generated for other architectures as
> well.
>
> Signed-off-by: Alexander Graf
> ---
> include/smbios.h | 3 +++
> lib/smbi
On 08/16/2016 10:55 AM, Tom Rini wrote:
> On Tue, Aug 16, 2016 at 10:52:04AM +0900, Jaehoon Chung wrote:
>> Hi,
>>
>> On 07/05/2016 05:26 PM, Maxime Ripard wrote:
>>> The current code only checks if the fdt subcommand is fdt addr by checking
>>> whether it starts with 'a'.
>>>
>>> Since this is a p
Hi Marek,
On 08/17/2016 09:39 AM, Marek Vasut wrote:
On 08/17/2016 03:31 AM, Kever Yang wrote:
Hi Marek,
Hi,
On 08/16/2016 09:18 PM, Marek Vasut wrote:
On 08/16/2016 12:03 PM, Kever Yang wrote:
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one MACRO CONFIG_USB_DWC3
This prevents capture of command output from terminating early on boards
that use a simple prompt (e.g. "=> ") that appears in the middle of
command output (e.g. crc32's "... ==> 2fa737e0").
Reported-by: Tom Rini
Signed-off-by: Stephen Warren
---
test/py/u_boot_console_base.py | 6 +++---
1 fil
On 08/17/2016 03:31 AM, Kever Yang wrote:
> Hi Marek,
Hi,
> On 08/16/2016 09:18 PM, Marek Vasut wrote:
>> On 08/16/2016 12:03 PM, Kever Yang wrote:
>>> The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
>>> add one MACRO CONFIG_USB_DWC3_USB2PHY_16BIT to support 16 bit
>>> UTMI+ in
Hi Marek,
On 08/16/2016 09:18 PM, Marek Vasut wrote:
On 08/16/2016 12:03 PM, Kever Yang wrote:
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one MACRO CONFIG_USB_DWC3_USB2PHY_16BIT to support 16 bit
UTMI+ interface on some SoCs like Rockchip rk3399.
Signed-off-by: Keve
Using PSCI you can not only reset the system, you can also shut it down!
This patch exposes a function to do exactly that to whatever code wants
to make use of it.
Signed-off-by: Alexander Graf
---
arch/arm/cpu/armv8/fwcall.c | 15 +++
arch/arm/include/asm/system.h | 1 +
2 files
On aarch64 systems, Linux only has managed to push almost everyone to using
PSCI as standardized interface for CPU start/stop operations. Fortunately
PSCI also gives us a nicely abstracted interface to reset and power off
the system.
This patch set adds support for generic PSCI reset/shutdown supp
Now that we have generic PSCI reset and shutdown support in place, we can
advertise those as EFI Run Time Services, allowing efi applications and
OSs to reset and shut down systems.
Signed-off-by: Alexander Graf
---
arch/arm/cpu/armv8/fwcall.c | 31 ++-
1 file changed
EFI allows an OS to leverage firmware drivers while the OS is running. In the
generic code we so far had to stub those implementations out, because we would
need board specific knowledge about MMIO setups for it.
However, boards can easily implement those themselves. This patch provides the
framew
All systems that are running on armv8 are running bare metal with firmware
that implements PSCI running in EL3. That means we don't really need to expose
the hypercall variants of them.
This patch leaves the code in, but makes the code explicit enough to have the
compiler optimize it out. With thi
Most armv8 systems have PSCI support enabled in EL3, either through
ARM Trusted Firmware or other firmware.
On these systems, we do not need to implement system reset manually,
but can instead rely on higher level firmware to deal with it.
The exclude list seems excessive right now, but NXP is wo
Hi Michal,
I just tried to run the latest u-boot master + a few patches to implement
generic PSCI RTS support on zynqmp and got this:
e
U-Boot 2016.09-rc1-00453-ga0592f1 (Aug 16 2016 - 20:27:40 +0200) Xilinx ZynqMP
ZCU102
I2C: ready
DRAM: 4 GiB
EL Level: EL2
MMC: sdhci@ff17: 0
U
On Tue, Aug 16, 2016 at 12:41:22PM +0800, Bin Meng wrote:
> Hi Tom,
>
> The following changes since commit 4cc9699be7ffc6072482240f5ba208488abe1090:
>
> common: env_nand: Ensure that we have nand_info[0] prior to use
> (2016-08-15 18:46:41 -0400)
>
> are available in the git repository at:
>
This improves the cread_line() function so that it will correctly
process the 'Home', 'End', 'Delete' and arrow key escape sequences
produced by various terminal emulators. This makes command line editing
a more pleasant experience.
The previous code only supported the cursor keys and the 'Home' k
On Dienstag, 16. August 2016 13:41:21 CEST you wrote:
> Hi Stefan,
>
> Am 2016-08-14 03:50, schrieb Stefan Bruens:
> > On Freitag, 12. August 2016 15:16:20 CEST Michael Walle wrote:
> >> All fields were accessed directly instead of using the proper byte
> >> swap
> >> functions. Thus, ext4 write s
Hi Marek,
> On 08/16/2016 03:41 PM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> is that for master or next ?
This patch _was_ supposed to go to "master"
> Was this build tested ?
Unfortunately, not so thoroughly as I thought.
Moving dfu code to SPL causes following error on some board
i'm wondering if "env import" and "env export" are the solutions to
this question -- i want to be able to install a new u-boot binary,
then combine the factory defaults in that new binary with what is
currently saved, such that the current, saved values take precedence
if the same variable appea
On 08/16/2016 03:41 PM, Lukasz Majewski wrote:
> Hi Marek,
Hi,
is that for master or next ? Was this build tested ?
> Please find following code for u-boot-dfu repository.
>
> The following changes since commit 76b2fad775ee3cb58788b11454655ba5a244ac56:
>
> eth: asix88179: Add support for the
On 08/16/2016 12:03 PM, Kever Yang wrote:
> The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
> add one MACRO CONFIG_USB_DWC3_USB2PHY_16BIT to support 16 bit
> UTMI+ interface on some SoCs like Rockchip rk3399.
>
> Signed-off-by: Kever Yang
This should be configured from either
Hi Marek,
Please find following code for u-boot-dfu repository.
The following changes since commit 76b2fad775ee3cb58788b11454655ba5a244ac56:
eth: asix88179: Add support for the driver model (2016-08-09 12:52:05 +0200)
are available in the git repository at:
ssh://gu-...@git.denx.de/u-boot-
On Tue, Aug 16, 2016 at 10:39:12AM +0900, Jaehoon Chung wrote:
> Dear Tom,
>
> Sorry for confusing..Could you pull these patches on u-boot/master?
> If there are other problems, let me know, plz.
>
> Rebased on latest u-boot/master. (Wenyou's patches was applied on
> u-boot-atmel.)
> Sorry for
On Mon, Aug 15, 2016 at 09:35:07PM -0600, Stephen Warren wrote:
> On 08/15/2016 05:20 PM, Tom Rini wrote:
> >On Mon, Aug 15, 2016 at 04:59:02PM -0600, Stephen Warren wrote:
> >>On 08/15/2016 04:49 PM, Tom Rini wrote:
> >>>Hey guys,
> >>>
> >>>Is anyone else running the crc32 tftp tests with test.py
Hello Heiko,
You are right, there are two parts: the Microblaze part and the ubifs stuff.
To get u-boot compiled I added the following to the Microblaze architecture:
atomic.h based on the ARM architecture, was missing before.
Modified bitops.h to get rid of compiler warnings
The three ubifs files
Hi Stefan,
Am 2016-08-14 03:50, schrieb Stefan Bruens:
On Freitag, 12. August 2016 15:16:20 CEST Michael Walle wrote:
All fields were accessed directly instead of using the proper byte
swap
functions. Thus, ext4 write support was only usable on little-endian
architectures. Fix this.
Signed-of
To support fastboot, we need to enable the controller first.
rk3399 is using dwc3 as usb device controller, this patch enable
the configs for dwc3 gadget.
Signed-off-by: Kever Yang
---
include/configs/rk3399_common.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/inc
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one MACRO CONFIG_USB_DWC3_USB2PHY_16BIT to support 16 bit
UTMI+ interface on some SoCs like Rockchip rk3399.
Signed-off-by: Kever Yang
---
drivers/usb/dwc3/core.c | 10 ++
drivers/usb/dwc3/core.h | 11 +++
2
This patch set enable rk3399 dwc3 controller and gadget driver
for fastboot.
Kever Yang (4):
rk3399: add a empty "sys_proto.h" header file
board: evb-rk3399: add api to support dwc3 gadget
usb: dwc3: add support for 16 bit UTMI+ interface
config: rk3399: add support for dwc3 gadget
ar
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a
empty one to make compile success.
Signed-off-by: Kever Yang
---
arch/arm/include/asm/arch-rockchip/sys_proto.h | 10 ++
1 file changed, 10 insertions(+)
create mode 100644 arch/arm/include/asm/arch-rockchip/sys_proto.h
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang
---
board/rockchip/evb_rk3399/evb-rk3399.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b/board/rockchip/evb_rk3399/evb-rk3399
This patch add pinctrl for sdcard which may not be initialized before
uboot.
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v2: None
arch/arm/dts/rk3399.dtsi | 37 +
1 file changed, 37 insertions(+)
diff --git a/arch/arm/dts/rk3399.dtsi b/a
There is no interrupt line for each PWM which used by pinctrl to get the
periph_id, so it's not able to enable the default pinctrl setting by pinctrl
framework, let's enable it at board_init().
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v2: None
board/rockchip/evb_rk3399/e
This patch add pinctrl driver for rk3399.
Signed-off-by: Kever Yang
---
Changes in v2:
- move and reg value MACRO in C source, and use MASK/SHIFT
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 321 +
drivers/pinctrl/Kconfig | 9 +
drivers/pinctrl/ro
pmugrf is a module like grf which contain some of the iomux registers
and other registers.
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v2: None
arch/arm/include/asm/arch-rockchip/clock.h| 1 +
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 1 +
2 files changed, 2 inser
Resend this patch set for some of patches are missing due to my local
mail system problem.
This patch set add the pinctrl driver for rk3399 and enable pinctrl for
pwm module.
Module with pinctrl driver support and with interrupt number and default
pinctrl in dts node will get pinctrl initialized w
This patch enable rk3399 pinctrl driver and gpio driver which is sub-node
of pinctrl.
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v2: None
configs/evb-rk3399_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_de
Import DTS files and dt-bindings includes from Linux 4.8-rc1.
Signed-off-by: Beniamino Galvani
---
arch/arm/dts/meson-gxbb-odroidc2.dts | 19 ++
arch/arm/dts/meson-gxbb.dtsi | 170 -
include/dt-bindings/gpio/meson-gxbb-gpio.h | 154 +++
Remove the device definition from board file, update the driver with
the new compatible property and update config with necessary options.
Signed-off-by: Beniamino Galvani
---
arch/arm/include/asm/arch-meson/gxbb.h | 3 ---
board/amlogic/odroid-c2/odroid-c2.c| 13 -
configs/odro
Add a pin controller driver for Meson GXBB adapted from Linux kernel.
Signed-off-by: Beniamino Galvani
---
drivers/pinctrl/Kconfig| 1 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/meson/Kconfig | 11 +
drivers/pinctrl/meson/Makefile
In cases where the pins and groups definitions are in a sub-node, as:
uart_a {
mux {
groups = "uart_tx_a", "uart_rx_a";
function = "uart_a";
};
};
pinctrl_generic_set_state_subnode() returns an error f
Hi,
these patches add a pinctrl driver for Meson GXBB and enable
Ethernet support through the device tree.
Beniamino Galvani (4):
pinctrl: generic: scan for "pins" and "groups" properties in sub-nodes
arm: dts: update DTS files for meson-gxbb and odroid-c2
pinctrl: add driver for meson-gxbb
Am 2016-08-14 03:50, schrieb Stefan Bruens:
On Freitag, 12. August 2016 15:16:20 CEST Michael Walle wrote:
All fields were accessed directly instead of using the proper byte
swap
functions. Thus, ext4 write support was only usable on little-endian
architectures. Fix this.
Signed-off-by: Michae
We generate a few tables on x86 today that really can be used on ARM just
the same. One such example is the SMBIOS table, which people use with tools
like "dmidecode" to identify which hardware they are running on.
We're slowly growing needs to collect serial numbers from various devices
on ARM an
We need the checksum function without all the other table functionality
soon, so let's split it out into its own header file.
Signed-off-by: Alexander Graf
Reviewed-by: Bin Meng
---
arch/x86/include/asm/tables.h | 2 ++
arch/x86/lib/tables.c | 12
include/tables_csum.h
We can pass SMBIOS easily as EFI configuration table to an EFI payload. This
patch adds enablement for that case.
While at it, we also enable SMBIOS generation for ARM systems, since they
support
EFI_LOADER.
Signed-off-by: Alexander Graf
---
v1 -> v2:
- Fix whitespace
v2 -> v3:
- Move
If the system has a valid "serial#" environment variable set (which boards that
can find it out programatically set automatically), use that as input for the
serial number and UUID fields in the SMBIOS tables.
Signed-off-by: Alexander Graf
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass
---
v1
So far we were only installing the FDT table and didn't have space
to store any other. Hence nobody realized that our efi table allocation
was broken in that it didn't set the indicator for the number of tables
plus one.
This patch fixes it, allowing code to allocate new efi tables.
Signed-off-by
We will need the SMBIOS generation function on ARM as well going forward,
so let's move it into a non arch specific location.
Signed-off-by: Alexander Graf
Reviewed-by: Bin Meng
---
arch/x86/Kconfig | 27
arch/x86/lib/Makefile
We want to be able to add configuration table entries from our own code as
well as from EFI payload code. Export the boot service function internally
too, so that we can reuse it.
Signed-off-by: Alexander Graf
---
include/efi_loader.h | 2 ++
lib/efi_loader/efi_boottime.c | 22
The SMBIOS generation code passes pointers as u32. That causes the compiler
to warn on casts to pointers. This patch moves all address pointers to
uintptr_t instead.
Technically u32 would be enough for the current SMBIOS2 style tables, but
we may want to extend the code to SMBIOS3 in the future wh
The type 4 table generation code is very x86 centric today. Refactor things
out a bit to allow the tables to get generated for other architectures as
well.
Signed-off-by: Alexander Graf
---
include/smbios.h | 3 +++
lib/smbios.c | 37 +++--
2 files changed, 3
On 08/12/2016 10:07 PM, Simon Glass wrote:
Hi Alex,
On 12 August 2016 at 12:36, Alexander Graf wrote:
On 12.08.16 19:20, Simon Glass wrote:
Hi Alex,
On 8 August 2016 at 08:06, Alexander Graf wrote:
We can pass SMBIOS easily as EFI configuration table to an EFI payload. This
patch adds ena
72 matches
Mail list logo