From: Ye Li
When doing "i2c dev 4; i2c probe" with ENET daughter card connected
on iMX8QXP MEK board, we met a i2c bus busy issue, that the BBF of
lpi2c always show busy, but the master is idle, and stop is detected
(SDF set).
This patch addes a handling to re-init the lpi2c master for this
case
From: Ye Li
In xfer function, both bus_i2c_read and bus_i2c_write will
send a STOP command. This causes a problem when reading register
data from i2c device.
Generally two operations comprise the register data reading:
1. Write the register address to i2c device.
START | chip_addr | W
From: Gao Pan
For LPI2C IP, NACK is detected by the rising edge of the ninth clock.
In current uboot driver, once NACK is detected, it will reset and then
disable LPI2C master. As a result, we can never see the falling edge
of the ninth clock.
Signed-off-by: Gao Pan
Signed-off-by: Peng Fan
Rev
From: Ye Li
Add compatible string for i.MX8 and move imx_lpi2c.h from mx7ulp directory
to u-boot include directory as a common header file.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
Reviewed-by: Heiko Schocher
---
V2: Add review tag
drivers/i2c/imx_lpi2c.c
For qemu-x86 the date command produces wrong days of the week:
Date: 2018-07-06 (Saturday)Time: 18:02:03
Date: 2018-07-07 (unknown day)Time: 21:02:06
According to a comment in the Linux driver the mc146818 only updates the
day of the week if the register value is non-zero.
Sunday is 1, sa
Implement the missing parts of the GetTime() runtime service.
Fill seconds.
Fill daylight saving time flag correctly.
Provide dummy values for capabilities.
Signed-off-by: Heinrich Schuchardt
---
v2
do not add support for non driver model drivers
---
lib/efi_loader/efi_runtime.c | 53 ++
The EFI subsystem accesses the real time clock and is enabled by default.
So we should drop any CONFIG_CMD_DATE dependency from the real time clock
drivers.
Signed-off-by: Heinrich Schuchardt
---
v2
new patch
---
drivers/rtc/at91sam9_rtt.c | 4
drivers/rtc/davinci.c | 2 --
dri
Provide a unit test for the GetTime() runtime service.
Signed-off-by: Heinrich Schuchardt
---
v2
no change
---
lib/efi_selftest/Makefile | 1 +
lib/efi_selftest/efi_selftest_rtc.c | 67 +
2 files changed, 68 insertions(+)
create mode 100644 lib/efi
Our implementation of rtc_to_tm() cannot handle dates of more than
0x7fff seconds after 1970-01-01.
Adopt the Linux kernel implementation.
Signed-off-by: Heinrich Schuchardt
---
v2
adopt the Linux kernel implementation
---
drivers/rtc/Makefile | 1 +
drivers/rtc/date.c
Remove unused function efi_get_time_init().
Initialization of the RTC has to be done in board bring up not in the EFI
subsystem.
There is no RTC device in the UEFI spec. The RTC is only accessed through
the runtime services.
Signed-off-by: Heinrich Schuchardt
---
v2
update commit messag
The year 2038 problem in rtc_to_tm() is reusing code from Linux.
The EFI runtime service GetTime() is used to read the time form the real
time clock.
The RTC drivers are made usable even if U-Boot is built without
CONFIG_CMD_DATE.
The implementation of the GetTime() runtime service is corrected.
Allow specifying the precision when printing integers, e.g.
efi_st_printf("%.4u-%.2u-%.2u\n", year, month, day);
Signed-off-by: Heinrich Schuchardt
---
v2
no change
---
lib/efi_selftest/efi_selftest_console.c | 33 -
1 file changed, 22 insertions(+), 11 deletions
For qemu-x86 the date command produces wrong days of the week:
Date: 2018-07-06 (Saturday)Time: 18:02:03
Date: 2018-07-07 (unknown day)Time: 21:02:06
According to a comment in the Linux driver the mc146818 only updates the
day of the week if the register value is non-zero.
Sunday is 1, sa
Hi Simon.
Would love to get this reviewed. can you assist ?
Thanks.
Ramon.
On Fri, Jun 22, 2018 at 12:47 AM Ramon Fried wrote:
>
> Add ut_assertnull macro to include/test/ut.h
> For testing of functions that returns NULL on errors.
>
> Signed-off-by: Ramon Fried
> ---
> include/test/ut.h | 12 +
The function crc32() is needed by the EFI subsystem at runtime. So it has
to be linked into the runtime section together with all dependencies.
Eliminate empty define ZEXPORT.
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
---
lib/crc32.c | 17 ++---
1 file changed, 10
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
---
v3
no change
v2
no change
---
lib/efi_selftest/Mak
The crc32 of the runtime services table must be updated after detaching.
efi_update_table_header_crc32() must be __efi_runtime. So move it to
efi_runtime.c
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
---
include/efi_loader.h | 3 +++
lib/efi_loader/efi_boottime.c | 12
If the number of installed tables is changed in
InstallConfigurationTable() update the crc32 of the system table.
Signed-off-by: Heinrich Schuchardt
---
v3:
new patch
---
lib/efi_loader/efi_boottime.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/efi_loader/efi_boottime.c b/
InstallConfigurationTable() may change the number of installed
configuration tables.
Check the crc32 of the system table.
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
---
lib/efi_selftest/efi_selftest_config_table.c | 43
1 file changed, 43 insertions(+)
dif
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
---
v3
no change
---
include/efi_api.h | 5 +++--
lib/efi_loader/efi_boottime.c | 8
2 files chan
The crc32 of the system table has to be recalculated when
InstallConfigurationTable() changes the number of tables.
Adjust the signature of CalculateCrc32().
Provide a unit test that checks the crc32 of the system table, the runtime
services table, and the boot sevices table before and after
Exit
Hi Stefano,
> -Original Message-
> From: Stefano Babic [mailto:sba...@denx.de]
> Sent: 2018年6月27日 16:14
> To: Peng Fan ; sba...@denx.de; Fabio Estevam
>
> Cc: u-boot@lists.denx.de; Anatolij Gustschin
> Subject: Re: [PATCH 00/41] imx: add i.MX8QXP support
>
> Hi Peng,
>
>
> On 28/05/20
Hi Stefano,
> -Original Message-
> From: Stefano Babic [mailto:sba...@denx.de]
> Sent: 2018年6月27日 16:20
> To: Peng Fan ; sba...@denx.de; Fabio Estevam
>
> Cc: u-boot@lists.denx.de
> Subject: Re: [PATCH 02/41] imx: add Kconfig entry for i.MX8
>
> On 28/05/2018 14:24, Peng Fan wrote:
> > A
On Sat, Jul 7, 2018 at 3:42 AM Alex Kiernan wrote:
>
> On Sat, Jul 7, 2018 at 3:43 AM Adam Ford wrote:
> >
> > I am going to sound stupid, but I'm struggling to install all the
> > toolchains and use them with buildroot. I upgraded to Ubuntu 18.04
> > and whenever try to run buildman, or attempt
Hello,
I'm using u-boot for xilinx zcu102.
In order to create ramdisk image I used the command:
genextfs -d $ROOTFS -b 65536 -D rootfs_devices.tab ramdisk
But during linux boot, linux writes many message:
mdev: can't create '': No space left on device
I tried to use 262144 instead of 65536 a
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Signing parts of a u-boot imximage for image verification in High
Assurance Boot (HAB) in a post-build process, requires some
information from the imximage header. Currently, this information is
only provided during the image build, which makes the transfer of this
information to the post-build pro
On Sun, Jun 17, 2018 at 6:52 PM, Michael Trimarchi
wrote:
> Add the missing gpio phy reset binding to the gpio and
> reset time configuration
>
> Signed-off-by: Michael Trimarchi
> ---
> Changes v1 -> v2:
> - fix commit message
> - fix timeout property read
> ---
> drivers/net/fe
Add driver model support to the mvgbe driver. As a temporary measure
both DM and non-DM uses are supported. Once all the users have been
converted the non-DM support can be dropped.
Signed-off-by: Chris Packham
---
Changes in v2:
- create __mvgbe_phy_init and mvgbe_alloc_buffers helper functions
Extract some function bodies to helper functions that can be reused in
the DM/non-DM implementations.
Signed-off-by: Chris Packham
Acked-by: Joe Hershberger
---
Changes in v2: None
drivers/net/mvgbe.c | 109
1 file changed, 80 insertions(+), 29 del
On Sat, Jul 7, 2018 at 3:43 AM Adam Ford wrote:
>
> I am going to sound stupid, but I'm struggling to install all the
> toolchains and use them with buildroot. I upgraded to Ubuntu 18.04
> and whenever try to run buildman, or attempt to build the moveconfig
> database I get failures.
>
> i get th
On 07/06/2018 07:22 AM, Alexander Graf wrote:
>> We should calculate the crc32 after initalizing all fields of the system
>> table.
>>
>> Signed-off-by: Heinrich Schuchardt
>
> Thanks, applied to efi-next
>
> Alex
>
>
Hello Alex,
this patch series causes a Travis error. Please, remove it from
32 matches
Mail list logo