The revision number has to be set in the loaded image protocol.
The problem was detected by running the SCT in
Protocol/LoadedImage/BlackBoxTest/LoadedImageBBTestMain.c:890
Signed-off-by: Heinrich Schuchardt
---
include/efi_api.h | 2 ++
lib/efi_loader/efi_boottime.c | 1 +
2 files
Implement the reset service of the EFI_SIMPLE_TEXT_INPUT_PROTOCOL.
This should resolve the error reported by the SCT in
Protocol/SimpleTextIn/BlackBoxTest/SimpleTextInBBTestFunction.c:193
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 7 ++-
1 file changed, 6
Implement the reset service of the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.
This should resolve the error reported by the SCT in
Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTestFunction_uefi.c:639
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 10 +-
1 file
This patch set fixes some problems found via the SCT.
Heinrich Schuchardt (4):
efi_loader: set revision in loaded image protocol
efi_loader: EFI_SIMPLE_TEXT_INPUT_PROTOCOL.Reset()
efi_loader: clear screen has to reset cursor position
efi_loader: EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset()
After clearing the screen the cursor position is row 0, column 0.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c
index 1d52753456..3fd0d2fd51 100644
---
On Wed, Jul 04, 2018 at 12:25:34PM +0200, Heinrich Schuchardt wrote:
> On 07/04/2018 10:56 AM, Alexander Graf wrote:
> > On 07/04/2018 09:36 AM, AKASHI Takahiro wrote:
> >> Signed-off-by: AKASHI Takahiro
> >> ---
> >> configs/qemu_arm64_defconfig | 2 ++
> >> configs/qemu_arm_defconfig | 2
On Wed, Jul 04, 2018 at 10:53:34AM +0200, Alexander Graf wrote:
> On 07/04/2018 09:36 AM, AKASHI Takahiro wrote:
>
> This patch is missing a patch description. I'm not the maintainer of the rtc
> code base so it's not my call, but I personally just reject all patches with
> empty patch
Hi Joe
Please see my comments inline, thanks a lot for your kind and careful review!
Yours,
Ken
-Original Message-
From: Joe Hershberger [mailto:joe.hershber...@ni.com]
Sent: 2018年6月20日 4:59
To: Ken Ma ; Simon Glass
Cc: U-Boot Mailing List ; Andy Shevchenko
; Eugeniy Paltsev
;
On Wed, Jul 04, 2018 at 02:35:19PM +0300, Tuomas Tynkkynen wrote:
> Hi Akashi,
>
> Thank you for the DM conversion.
>
> On 07/04/2018 10:36 AM, AKASHI Takahiro wrote:
> <..snip..>
> >diff --git a/include/dm/platform_data/rtc_pl031.h
> >b/include/dm/platform_data/rtc_pl031.h
> >new file mode
From: Ken Ma
Add a uclass which provides access to MDIO busses and includes
operations required by MDIO.
The implementation is based on the existing mii/phy/mdio data
structures and APIs.
This patch also adds device tree binding for MDIO bus.
Signed-off-by: Ken Ma
Reviewed-by:
On 05.07.2018 09:34, m...@marvell.com wrote:
From: Ken Ma
Add a uclass which provides access to MDIO busses and includes
operations required by MDIO.
The implementation is based on the existing mii/phy/mdio data
structures and APIs.
This patch also adds device tree binding for MDIO bus.
On 05.07.2018 09:34, m...@marvell.com wrote:
From: Ken Ma
This patch adds a separate driver for the MDIO interface of the
Marvell Ethernet controllers based on driver model. There are two
reasons to have a separate driver rather than including it inside
the MAC driver itself:
*) The MDIO
On Wed, Jul 04, 2018 at 12:50:52PM +0200, Heinrich Schuchardt wrote:
> On 07/04/2018 09:36 AM, AKASHI Takahiro wrote:
> > Signed-off-by: AKASHI Takahiro
> > ---
> > drivers/rtc/Kconfig | 6 ++
> > drivers/rtc/pl031.c | 109 +--
> >
Hi,
On 05/07/18 10:25, Marek Vasut wrote:
> On 07/05/2018 01:57 AM, Andre Przywara wrote:
>> On the A64 the clock for the first USB controller is actually the parent
>> of the clock for the second controller, so turning them off in that order
>> makes the system hang.
>> Fix this by only turning
On Thu, Jul 5, 2018 at 5:27 AM, Andre Przywara wrote:
> On the A64 the clock for the first USB controller is actually the parent
> of the clock for the second controller, so turning them off in that order
> makes the system hang.
> Fix this by only turning off *both* clocks when the *last* OHCI
From: Ken Ma
Changes in v4:
- Minor updates for comments and Maintainer.
- Use wait_for_bit_le32() instead of implementing private busy wait
polling function.
Changes in v3:
- Move mdio uclass implementation to driver/net folder;
- Replace flat-tree functions with livetree functions and
Hi Jagdish,
On Thu, Jul 5, 2018 at 1:31 PM, Jagdish Gediya wrote:
> Hi Bin,
>
>> -Original Message-
>> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Bin Meng
>> Sent: Tuesday, July 3, 2018 8:11 PM
>> To: Prabhakar Kushwaha
>> Cc: u-boot@lists.denx.de
>> Subject: Re:
Hi,
On 03/07/18 21:51, Andreas Färber wrote:
> Am 03.07.2018 um 01:08 schrieb Andreas Färber:
>> Am 02.07.2018 um 10:01 schrieb Jagan Teki:
>>> On Wed, Jun 27, 2018 at 6:12 AM, Andre Przywara
>>> wrote:
At the moment we have the workaround for the Freescale arch timer
erratum A-008585
Hi Alberto,
> Dear Kever,
>
> On Thu, Jul 5, 2018 at 3:15 AM, Kever Yang
> wrote:
> >
> > Hi Alberto,
> >
> > Thanks for your patches, and I'm so glad for people using
> > rockusb and try to improve it.
> >
> > You can reference to rockchip source code here:
> >
On 07/05/2018 01:57 AM, Andre Przywara wrote:
> On the A64 the clock for the first USB controller is actually the parent
> of the clock for the second controller, so turning them off in that order
> makes the system hang.
> Fix this by only turning off *both* clocks when the *last* OHCI controller
Hi Kever,
On Thu, Jul 5, 2018 at 3:19 AM, Kever Yang wrote:
>
> Hi Alberto,
>
>
> On 07/04/2018 03:02 AM, Alberto Panizzo wrote:
> > It is now possible to read from block device al logic layer.
> > Corresponding command on workstation is:
> > rkdeveloptool rl
> >
> > Signed-off-by: Alberto
From: Ken Ma
This patch adds a separate driver for the MDIO interface of the
Marvell Ethernet controllers based on driver model. There are two
reasons to have a separate driver rather than including it inside
the MAC driver itself:
*) The MDIO interface is shared by all Ethernet ports, so a
Dear Kever,
On Thu, Jul 5, 2018 at 3:15 AM, Kever Yang wrote:
>
> Hi Alberto,
>
> Thanks for your patches, and I'm so glad for people using rockusb
> and try to improve it.
>
> You can reference to rockchip source code here:
>
On 07/04/2018 06:18 PM, Joe Hershberger wrote:
On Wed, Jul 4, 2018 at 4:25 AM, Alexander Graf wrote:
On 07/04/2018 02:36 AM, Joe Hershberger wrote:
Rather than crashing, check the src ptr and set dst to empty string.
Signed-off-by: Joe Hershberger
Wouldn't it make more sense to check for
On 06/28/2018 12:45 PM, Heinrich Schuchardt wrote:
For the boot and runtime services tables and for the system table the
crc32 has to be set in the header.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Bin Meng
---
v2
no change
---
cmd/bootefi.c | 5 +
From: Ludwig Zenz
This reverts commit a637fe6f27fd4c19ef9f43a5f871c244581422ac.
The DDR DRAM calibration was enhanced by write leveling correction code.
It can be used with T-topology now.
Signed-off-by: Ludwig Zenz
---
board/dhelectronics/dh_imx6/dh_imx6_spl.c | 4
1 file changed, 4
From: Ludwig Zenz
Preperation for conditional DDR3 initialization based on GPIO codes.
Signed-off-by: Ludwig Zenz
---
board/dhelectronics/dh_imx6/dh_imx6_spl.c | 40 +++
1 file changed, 40 insertions(+)
diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c
Extend BOOTDELAY help text to cover its additional usage within the
bootmenu command.
Signed-off-by: Alex Kiernan
---
common/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 4c7a1a9af8..81e88ea77c 100644
--- a/common/Kconfig
+++
The test for (CONFIG_BOOTDELAY >= 0) has been in U-Boot since the
beginning, but the meaning of it has changed over time. Allow the
default to be set for any value, including -ve ones. This allows
(for example) CONFIG_ENV_IS_NOWHERE to have values for bootdelay in
its compiled in environment.
The
From: Ludwig Zenz
Support 1GIB + 2GIB DDR3 with 64bit bus width and 512MIB + 1GIB with 32bit bus
width
Signed-off-by: Ludwig Zenz
---
board/dhelectronics/dh_imx6/dh_imx6_spl.c | 191 +++---
1 file changed, 173 insertions(+), 18 deletions(-)
diff --git
From: Ludwig Zenz
Add support for the Gigadevice gd25q16c nor flash. (Tested on a imx6 board)
Signed-off-by: Ludwig Zenz
---
drivers/mtd/spi/spi_flash_ids.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index
Hello!!
We using zenq_7z010 board,
We have some question,
How setting RAM size to 64M for linux kernel before linux kenerl ?
Thanks !
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
From: Ludwig Zenz
This commit adds paired dev info for winbond w25q16jv (tested w25q16jvssiq with
a i.mx6 board)
Signed-off-by: Ludwig Zenz
---
drivers/mtd/spi/spi_flash_ids.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi_flash_ids.c
On 07/04/2018 06:23 PM, Joe Hershberger wrote:
On Wed, Jul 4, 2018 at 4:20 AM, Alexander Graf wrote:
On 07/04/2018 02:36 AM, Joe Hershberger wrote:
With net autoload, we check the prerequisites for the initial command,
but the greater prerequisites when autoloading are not checked.
If we
>-Original Message-
>From: York Sun
>Sent: Tuesday, July 3, 2018 8:53 PM
>To: Pramod Kumar ; u-boot@lists.denx.de
>Subject: Re: [PATCH 1/2 v2] board: freescale: ls1012afrx:Common files to
>support
>
>On 06/06/2018 04:16 AM, Pramod Kumar wrote:
>> LS1012A-FRDM and LS1012A-FRWY board.
>>
From: Ludwig Zenz
Add support for the Macronix mx25l1633e nor flash. (Tested on a imx6 board)
Signed-off-by: Ludwig Zenz
---
drivers/mtd/spi/spi_flash_ids.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index
On 07/05/2018 08:18 AM, Heinrich Schuchardt wrote:
Implement the reset service of the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.
This should resolve the error reported by the SCT in
Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTestFunction_uefi.c:639
Signed-off-by: Heinrich Schuchardt
---
On 06/28/2018 12:45 PM, Heinrich Schuchardt wrote:
Provide a unit test for InstallConfigurationTable().
A table is installed, updated, removed. The table entry and the
triggering of events is checked.
Signed-off-by: Heinrich Schuchardt
Could you please do a crc test run that checks the
Now the UCLASS_ETH device "node" field is owerwritten by some network drivers in
case of Ethernet PHYs which are linked to UCLASS_ETH device using
"phy-handle" DT property and when Ethernet PHY driver needs to read some
additional information from DT. In such cases following happens (in
general):
Use PHY API phy_get_ofnode() helper to get PHY DT node.
Signed-off-by: Grygorii Strashko
Acked-by: Joe Hershberger
---
drivers/net/phy/ti.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/ti.c b/drivers/net/phy/ti.c
index 98c36ab..d4a7e39 100644
---
Now zynq_gem driver will overwrite UCLASS_ETH node when PHY is
connected and configured which is not correct.
Use struct phydev->node instead.
Signed-off-by: Grygorii Strashko
Acked-by: Joe Hershberger
---
drivers/net/zynq_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This series prevents the UCLASS_ETH device "node" field overwriting
by some network drivers when Ethernet PHYs are linked to UCLASS_ETH device using
"phy-handle" DT property and when Ethernet PHY driver needs to read some
additional information from DT (like dp83867).
It fixes following cases:
Now CPSW driver will overwrite UCLASS_ETH node when PHY is
connected and configured which is not correct.
Use struct phydev->node instead.
Signed-off-by: Grygorii Strashko
Acked-by: Joe Hershberger
---
drivers/net/cpsw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Use PHY API phy_get_ofnode() helper to get PHY DT node.
Signed-off-by: Grygorii Strashko
Acked-by: Joe Hershberger
---
drivers/net/phy/xilinx_phy.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/net/phy/xilinx_phy.c b/drivers/net/phy/xilinx_phy.c
index
On Thu, Jul 5, 2018 at 6:49 AM, Alexander Graf wrote:
> On 07/04/2018 06:18 PM, Joe Hershberger wrote:
>>
>> On Wed, Jul 4, 2018 at 4:25 AM, Alexander Graf wrote:
>>>
>>> On 07/04/2018 02:36 AM, Joe Hershberger wrote:
Rather than crashing, check the src ptr and set dst to empty string.
The function efi_set_virtual_address_map() is left after hitting the
first EFI_RUNTIME_SERVICES_CODE to relocate. But if EFI runtime drivers
have been loaded into U-Boot there will be multiple such blocks.
SetVirtualAddressMap() as described in the UEFI spec is rather complex
to implement. It
We should calculate the crc32 after initalizing all fields of the system
table.
Signed-off-by: Heinrich Schuchardt
---
cmd/bootefi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index b60c151fb4..1bf75e2bba 100644
---
Use const for the buffer. We are not changing the buffer.
Use efi_uintn_t where prescribed by the UEFI spec.
Prefer u32 over uint32_t.
Signed-off-by: Heinrich Schuchardt
---
include/efi_api.h | 5 +++--
lib/efi_loader/efi_boottime.c | 6 +++---
2 files changed, 6 insertions(+), 5
This unit test checks the CalculateCrc32 bootservice and checks the
headers of the system table, the boot services tablle, and the runtime
services table before and after ExitBootServices().
Signed-off-by: Heinrich Schuchardt
---
lib/efi_selftest/Makefile | 1 +
Implement the reset service of the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.
This should resolve the error reported by the SCT in
Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTestFunction_uefi.c:639
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 22 ++
1
The function names utf16_strlen() and utf16_strnlen() are misnomers.
The functions do not count utf-16 characters but non-zero words.
So let's rename them to u16_strlen and u16_strnlen().
In utf16_dup() avoid assignment in if clause.
Signed-off-by: Heinrich Schuchardt
---
include/charset.h
lib/charset.c is only used by the EFI subsystem.
Signed-off-by: Heinrich Schuchardt
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b2c9717cb7..2aef214ea0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -348,6 +348,7 @@ F: doc/README.iscsi
F:
The crc32 of the system table has to be calculated after all fields have
been set.
Adjust the signature of CalculateCrc32().
Provide a unit test that checks the crc of the system table, the runtime
services table, and the boot sevices table before and after
ExitBootServices().
Heinrich
On 07/06/2018 01:11 AM, Jason Rush wrote:
> On 7/4/2018 2:23 AM, Marek Vasut wrote:
>> On 07/04/2018 01:45 AM, Jason Rush wrote:
>>> On 7/3/2018 9:08 AM, Marek Vasut wrote:
On 07/03/2018 03:58 PM, Jason Rush wrote:
> On 6/29/2018 10:17 AM, Marek Vasut wrote:
>> On 06/29/2018 05:06 PM,
Hi Alberto,
> This patch implement reading blocks form selected device with
> LBA addressing.
>
> Corresponding command on workstation is:
> rkdeveloptool rl
>
> While we support reading more than one blocks per K_FW_LBA_READ_10
> request, rkdeveloptool and original rockchip tool do perform
On 7/4/2018 2:23 AM, Marek Vasut wrote:
> On 07/04/2018 01:45 AM, Jason Rush wrote:
>> On 7/3/2018 9:08 AM, Marek Vasut wrote:
>>> On 07/03/2018 03:58 PM, Jason Rush wrote:
On 6/29/2018 10:17 AM, Marek Vasut wrote:
> On 06/29/2018 05:06 PM, Jason Rush wrote:
>> On 6/29/2018 9:52 AM,
cherry-pick kernel commit 2ae89c7 (2018-06-05)
to avoid warnings when compiling with GCC 8.1
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:771:22: warning: ‘%s’ directive writing likely 7 or
more bytes
On 7/5/2018 6:10 PM, Marek Vasut wrote:
> On 07/06/2018 01:11 AM, Jason Rush wrote:
>> On 7/4/2018 2:23 AM, Marek Vasut wrote:
>>> On 07/04/2018 01:45 AM, Jason Rush wrote:
On 7/3/2018 9:08 AM, Marek Vasut wrote:
> On 07/03/2018 03:58 PM, Jason Rush wrote:
>> On 6/29/2018 10:17 AM,
This unit test checks the CalculateCrc32 bootservice and checks the
headers of the system table, the boot services tablle, and the runtime
services table before and after ExitBootServices().
Signed-off-by: Heinrich Schuchardt
---
v2:
no change
---
lib/efi_selftest/Makefile |
Use const for the buffer. We are not changing the buffer.
Use efi_uintn_t where prescribed by the UEFI spec.
Prefer u32 over uint32_t.
Signed-off-by: Heinrich Schuchardt
---
v2:
avoid a warning in a debug statement
---
include/efi_api.h | 5 +++--
We should calculate the crc32 after initalizing all fields of the system
table.
Signed-off-by: Heinrich Schuchardt
---
v2:
no change
---
cmd/bootefi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index
The crc32 of the system table has to be calculated after all fields have
been set.
Adjust the signature of CalculateCrc32().
Provide a unit test that checks the crc of the system table, the runtime
services table, and the boot sevices table before and after
ExitBootServices().
v2:
avoid
On 06.07.18 07:09, Heinrich Schuchardt wrote:
> This unit test checks the CalculateCrc32 bootservice and checks the
> headers of the system table, the boot services tablle, and the runtime
> services table before and after ExitBootServices().
>
> Signed-off-by: Heinrich Schuchardt
This is a
On Thu, Jun 14, 2018 at 6:45 PM, Ley Foon Tan wrote:
> Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial
> drivers.
>
> A reset property is an optional feature, so only print out a warning and
> do not fail if a reset property is not present.
>
> If a reset property is
Since the vast majority of i.MX6 boards are migrating to SPL,
this patch converts im6q_logic to SPL and enables the SDP for
loading SPL and u-boot.img over USB. The Falcon mode only
supports NAND flash as of now due to limited space/RAM, but
all i.MX6D/Q SOM's from Logic PD have internal NAND
Use "%zu" for size_t data type.
Compilation warning as below:
In file included from include/linux/bug.h:7:0,
from include/common.h:26,
from drivers/spi/cadence_qspi.c:8:
drivers/spi/cadence_qspi.c: In function ‘cadence_spi_xfer’:
On Sat, May 19, 2018 at 02:08:53PM +0200, Dr. Philipp Tomsich wrote:
> Marty,
>
> > On 19 May 2018, at 12:40, Marty E. Plummer wrote:
> >
> > So explain to me what you'd like me to do here, if you would. What I
> > gather from this is you want me to flip CONFIG_PHYS_64BIT and see if it
> >
67 matches
Mail list logo