Re: [U-Boot] [PATCH] aspeed/watchdog: Correct timeout value

2019-06-16 Thread Joel Stanley
On Fri, 7 Jun 2019 at 14:57, Tom Rini wrote: > > On Thu, Jun 06, 2019 at 05:08:45PM +0930, Joel Stanley wrote: > > > The driver was using milliseconds and programming it into a register > > which takes ticks of the watchdog clock, which runs at 1MHz. This meant > > we were off by 1000 with the

Re: [U-Boot] [RFC 3/6] efi_loader: support convert_pointer at runtime

2019-06-16 Thread Heinrich Schuchardt
On 6/17/19 3:15 AM, AKASHI Takahiro wrote: On Sat, Jun 15, 2019 at 09:41:31PM +0200, Heinrich Schuchardt wrote: On 6/5/19 6:21 AM, AKASHI Takahiro wrote: With this patch, ConvertPointer runtime service is enabled. This function will be useful only after SetVirtualAddressMap is called and

Re: [U-Boot] [u-boot 2/2] drivers/fsl-mc: Support DPSPARSER object and apply spb command

2019-06-16 Thread Prabhakar Kushwaha
Dear Joe, > -Original Message- > From: Florinel Iordache > Sent: Wednesday, May 15, 2019 2:40 PM > To: u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Jagdish Gediya > ; Florinel Iordache > Subject: [u-boot 2/2] drivers/fsl-mc: Support DPSPARSER object and apply spb > command > > Add

Re: [U-Boot] [PATCH] configs: lx2160a: change env location to SPI_FLASH

2019-06-16 Thread Prabhakar Kushwaha
Dear Ashish, Rajat, > -Original Message- > From: Rajat Srivastava > Sent: Wednesday, April 24, 2019 6:46 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Rajesh Bhagat ; Rajat Srivastava > > Subject: [PATCH] configs: lx2160a: change env location to SPI_FLASH > > Change env

Re: [U-Boot] [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

2019-06-16 Thread Bin Meng
On Mon, Jun 17, 2019 at 11:09 AM Shawn Guo wrote: > > There is a regression seen on Poplar platform, which doesn't even show > a U-Boot version banner on booting. It turns out that due to landing > of commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to > simple-bus driver"), we need

Re: [U-Boot] [linux-sunxi] [PATCH 0/3] Enable networking for BananaPi M3

2019-06-16 Thread Chen-Yu Tsai
On Mon, Jun 17, 2019 at 12:31 AM Corentin Labbe wrote: > > Hello > > This serie fix building sun8i-emac for a83t and then enable networking > for BananaPi M3. > > Regards > > Corentin Labbe (3): > configs: Sinovoip_BPI_M3_defconfig: Fix invalid DLDO3 settings > net: sun8i-emac: bring back

[U-Boot] [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

2019-06-16 Thread Shawn Guo
There is a regression seen on Poplar platform, which doesn't even show a U-Boot version banner on booting. It turns out that due to landing of commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver"), we need to increase SYS_MALLOC_F_LEN from its default size 0x400, as

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-06-16 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月4日 16:19 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call > i2c_setup_offset > > On Tue, 4 Jun 2019 07:59:44 + >

Re: [U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Shawn Guo
On Mon, Jun 17, 2019 at 10:19:14AM +0800, Bin Meng wrote: > Hi, > > On Mon, Jun 17, 2019 at 10:17 AM Shawn Guo wrote: > > > > On Sun, Jun 16, 2019 at 07:36:08PM +0200, Andreas Färber wrote: > > > Hello, > > > > > > Am 11.06.19 um 03:31 schrieb Tom Rini: > > > > It's release day and here is

Re: [U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Bin Meng
Hi, On Mon, Jun 17, 2019 at 10:17 AM Shawn Guo wrote: > > On Sun, Jun 16, 2019 at 07:36:08PM +0200, Andreas Färber wrote: > > Hello, > > > > Am 11.06.19 um 03:31 schrieb Tom Rini: > > > It's release day and here is v2019.07-rc4. At this point, I know we > > > have some regression fixes for

Re: [U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Shawn Guo
On Sun, Jun 16, 2019 at 07:36:08PM +0200, Andreas Färber wrote: > Hello, > > Am 11.06.19 um 03:31 schrieb Tom Rini: > > It's release day and here is v2019.07-rc4. At this point, I know we > > have some regression fixes for i.MX that are coming, and I'm expecting a > > fix to the build time

Re: [U-Boot] [PATCH v4 1/1] efi_loader: add RuntimeServicesSupported variable

2019-06-16 Thread Takahiro Akashi
On Fri, Jun 14, 2019 at 06:30:38PM +0200, Heinrich Schuchardt wrote: > From: AKASHI Takahiro > > This variable is defined in UEFI specification 2.8, section 8.1. > Its value should be updated whenever we add any usable runtime services > function. > > Currently we only support

Re: [U-Boot] [RFC 6/6] efi_loader: variable: support runtime variable access via cache

2019-06-16 Thread AKASHI Takahiro
On Sat, Jun 15, 2019 at 09:01:56PM +0200, Heinrich Schuchardt wrote: > On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > >With this patch, cache buffer for UEFI variables will be created > >so that we will still be able to access, at least retrieve, > >UEFI variables when we exit from boottime services,

Re: [U-Boot] [RFC 3/6] efi_loader: support convert_pointer at runtime

2019-06-16 Thread AKASHI Takahiro
On Sat, Jun 15, 2019 at 09:41:31PM +0200, Heinrich Schuchardt wrote: > On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > >With this patch, ConvertPointer runtime service is enabled. > >This function will be useful only after SetVirtualAddressMap is called > >and before it exits according to UEFI

Re: [U-Boot] [RFC 1/6] efi_loader: runtime: make SetVirtualAddressMap configurable

2019-06-16 Thread AKASHI Takahiro
On Sat, Jun 15, 2019 at 09:46:02PM +0200, Heinrich Schuchardt wrote: > On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > >OS does not always need to call SetVirtualAddressMap. > >(Ard confirmed this on arm64 linux.) > >So let this API configurable. If disabled, it will return EFI_UNSUPPORTED > >as UEFI

Re: [U-Boot] [PATCH] armv8: fix typo in LINUX_KERNEL_IMAGE_HEADER check

2019-06-16 Thread Andreas Färber
Am 13.06.19 um 14:46 schrieb Mian Yousaf Kaukab: > Fixes: 8163faf952 ARMv8: add optional Linux kernel image header That's not quite the Linux syntax (and an extra white line), but not sure if U-Boot cares? > > Signed-off-by: Mian Yousaf Kaukab Tested-by: Andreas Färber Thanks, Andreas --

Re: [U-Boot] Jetson TX1 boot problems

2019-06-16 Thread Andreas Färber
Am 14.06.19 um 19:40 schrieb Stephen Warren: > On 6/14/19 11:09 AM, Andreas Färber wrote: >> (I recently wondered whether TX1 may be missing some, as I needed >> multiple tries to boot the kernel successfully there - TF-A 2.1 didn't >> work there, so some more investigations TBD. R28.3.0 still

Re: [U-Boot] [RFC 1/6] efi_loader: runtime: make SetVirtualAddressMap configurable

2019-06-16 Thread Heinrich Schuchardt
On 6/15/19 11:14 PM, Mark Kettenis wrote: From: Heinrich Schuchardt Date: Sat, 15 Jun 2019 21:46:02 +0200 On 6/5/19 6:21 AM, AKASHI Takahiro wrote: OS does not always need to call SetVirtualAddressMap. (Ard confirmed this on arm64 linux.) So let this API configurable. If disabled, it will

[U-Boot] [PATCH 2/2] usb: kbd: implement special keys

2019-06-16 Thread Heinrich Schuchardt
Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down. Signed-off-by: Heinrich Schuchardt --- common/usb_kbd.c | 54 1 file changed, 54 insertions(+) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index

[U-Boot] [PATCH 1/2] usb: kbd: simplify coding for arrow keys

2019-06-16 Thread Heinrich Schuchardt
Avoid duplicate translation of arrow key codes. Signed-off-by: Heinrich Schuchardt --- common/usb_kbd.c | 31 +-- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index cc99c6be07..232d278e13 100644 ---

[U-Boot] [PATCH 0/2] usb: kbd: implement special keys

2019-06-16 Thread Heinrich Schuchardt
GRUB uses function keys. So we should support these with an USB keyboard. Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down. Simplify the code beforehand. Heinrich Schuchardt (2): usb: kbd: simplify coding for arrow keys usb: kbd: implement special keys

[U-Boot] [PATCH 1/1] efi_loader: alternative scan codes for F5, END, HOME

2019-06-16 Thread Heinrich Schuchardt
Depending on the key board alternative scan codes are used for F5, END, and HOME. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/lib/efi_loader/efi_console.c

[U-Boot] [PATCH 1/1] efi_loader: alternative scan codes for F5, HOME

2019-06-16 Thread Heinrich Schuchardt
Depending on the key board alternative scan codes are used for F5 and HOME. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c

[U-Boot] [PATCH 1/1] efi_loader: console incorrectly advertised left logo key

2019-06-16 Thread Heinrich Schuchardt
Avoid to signal that the left logo key is pressed, when it is not. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index 009dbfc724..ea60a042a0

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Mian Yousaf Kaukab
On Fri, Jun 14, 2019 at 05:26:05PM +, Varun Wadekar wrote: > >> ERROR: ARI request timed out: req 89 on CPU 4 > >> ASSERT: plat/nvidia/tegra/soc/t186/drivers/mce/ari.c <127> : retries > >> != 0U > > This time out means that TEGRA_ARI_ROC_FLUSH_CACHE_TRBITS ARI call timed out. > Looks like

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Andreas Färber
Am 16.06.19 um 21:27 schrieb Mian Yousaf Kaukab: > On Fri, Jun 14, 2019 at 11:40:49AM -0600, Stephen Warren wrote: >> On 6/14/19 11:09 AM, Andreas Färber wrote: >>> Am 14.06.19 um 18:41 schrieb Stephen Warren: On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: > Hi, > I am seeing a hang

[U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Andreas Färber
Hello, Am 11.06.19 um 03:31 schrieb Tom Rini: > It's release day and here is v2019.07-rc4. At this point, I know we > have some regression fixes for i.MX that are coming, and I'm expecting a > fix to the build time failure for tinker-rk3288. > > To repeat myself about DM migration deadlines,

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Martin Husemann
On Sun, Jun 16, 2019 at 09:27:12PM +0200, Mian Yousaf Kaukab wrote: > > Hmm. Are you building your own copy of ATF (you mentioned 2.1; I can't > > recall what version we ship)? > No, I am using the one shipped with R32.1. That did not work at all for me with mainline u-boot (u-boot would hang

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Mian Yousaf Kaukab
On Fri, Jun 14, 2019 at 11:40:49AM -0600, Stephen Warren wrote: > On 6/14/19 11:09 AM, Andreas Färber wrote: > > Am 14.06.19 um 18:41 schrieb Stephen Warren: > > > On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: > > > > Hi, > > > > I am seeing a hang with dhcp boot on Jetson TX2. Its running