Re: [PATCH] riscv: setup per-hart stack earlier

2023-05-14 Thread Rick Chen
Hi Bo Gan, > From: Bo Gan > Sent: Tuesday, May 09, 2023 9:46 AM > To: u-boot@lists.denx.de > Cc: Bo Gan ; Rick Jian-Zhi Chen(陳建志) > ; Leo Yu-Chi Liang(梁育齊) > Subject: [PATCH] riscv: setup per-hart stack earlier > > Harts need to use per-hart stack before any function call, even if that >

Re: [PATCH v3 12/17] x86: Return mtrr_add_request() to its old purpose

2023-05-14 Thread Bin Meng
Hi Simon, On Tue, May 9, 2023 at 11:08 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 8 May 2023 at 08:51, Bin Meng wrote: > > > > On Mon, May 8, 2023 at 10:48 PM Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Fri, May 5, 2023 at 6:51 AM Simon Glass wrote: > > > > > > > > This function

Re: [PATCH] board: rockchip: Add Support for RG353PS and Panel Auto Detection

2023-05-14 Thread Kever Yang
Hi Chris,     Please split this patch into a series with: - driver update - dts update - config update. Thanks, - Kever On 2023/5/13 00:34, Chris Morgan wrote: From: Chris Morgan Add support for panel auto detection for the Anbernic RGxx3 series. This requires us to probe the DSI and

Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-14 Thread Stefan Wahren
Hi Nuno, Am 14.05.23 um 14:06 schrieb Nuno Gonçalves: Hi, after 85bdd28d2bb0827f311913e00e4e338f8e4e6565 (bcm2835-host: let firmware manage the clock divisor), Linux fails to start the eMMC memory on a CM3 most times (but it sometimes also works). thanks for your report. I am using Linux

Re: [PATCH 2/2] bootstd: Create a new BOOTMETH_DISTRO

2023-05-14 Thread Tom Rini
On Wed, May 10, 2023 at 04:34:47PM -0600, Simon Glass wrote: > We cannot be sure what bootmeth a distro will need to use. Add a new > BOOTMETH_DISTRO option which collects these together. Select this from > BOOTSTD_DEFAULTS so that it is clear what is needed. > > Signed-off-by: Simon Glass

Re: [PATCH 1/2] bootstd: Rename distro and syslinux to extlinux

2023-05-14 Thread Tom Rini
On Wed, May 10, 2023 at 04:34:46PM -0600, Simon Glass wrote: > We use the terms 'distro' to mean extlinux but they are not really the > same. 'Distro' could refer to any method of booting a distribution, > whereas extlinux is a particular method. > > Also we sometimes use syslinux, but it is

Re: [PATCH v2] bootstd: Tidy up reporting of errors

2023-05-14 Thread Tom Rini
On Wed, May 10, 2023 at 04:34:26PM -0600, Simon Glass wrote: > In a few cases the error handling is not quite right. Make sure we > return the actual error in distro_efi_read_bootflow_file() rather than > -EINVAL. Return -IO when a file cannot be read. Also show the error name > if available. >

Re: [PATCH] bootstd: Correct default boot command

2023-05-14 Thread Tom Rini
On Sat, May 06, 2023 at 08:27:09AM -0600, Simon Glass wrote: > The patch to relax flag requirements was not accepted[1], so we still have > to have separate bootcommands depending on CMD_BOOTFLOW_FULL. > > The previous attempt at this did not work, since it used the wrong name > for the options.

Re: [PATCH 3/3] bootstd: Require HUSH_PARSER for script booting

2023-05-14 Thread Tom Rini
On Fri, May 05, 2023 at 08:03:05PM -0600, Simon Glass wrote: > Armbian uses a script which needs the HUSH parser. It is likely that > other distros will do the same. Enable it by default, just in case. > > Signed-off-by: Simon Glass > Tested-by: Jonas Karlman Applied to u-boot/master, thanks!

Re: [PATCH 2/3] bootstd: usb: Avoid initing USB twice

2023-05-14 Thread Tom Rini
On Fri, May 05, 2023 at 08:03:04PM -0600, Simon Glass wrote: > This causes crashes on some boards, e.g. rockpro64. In any case, we > should not do it. > > Check the usb_started flag to avoid this. > > Signed-off-by: Simon Glass > Tested-by: Jonas Karlman > Tested-by: Tom Rini Applied to

Re: [PATCH 1/3] usb: Tidy up the usb_start flag

2023-05-14 Thread Tom Rini
On Fri, May 05, 2023 at 08:03:03PM -0600, Simon Glass wrote: > This should be declared in a header file so that type-checking works > correctly. > > Add a single declaration to usb.h and remove the others. > > Signed-off-by: Simon Glass > Reviewed-by: Marek Vasut > Reviewed-by: Patrick

Re: [PATCH 09/18] bootstd: Work around missing partition 1

2023-05-14 Thread Tom Rini
On Fri, Apr 28, 2023 at 01:18:09PM -0600, Simon Glass wrote: > If there is no partition numbered 1, we decide that there are no > partitions at all. That may not be correct, since at least one Debian > installed has just a single partition numbered 2. > > Continue searching up to partition 3,

Re: [PATCH 3/3] clang: Link with --no-pie instead of --apply-dynamic-relocs

2023-05-14 Thread Tom Rini
On Fri, May 12, 2023 at 05:01:35PM -0600, Sam Edwards wrote: > The goal of using --apply-dynamic-relocs seems to be to have all > relocations applied "statically" to the output binary, so that > the dynamic segment can be dropped safely. However, LLD still > creates sections to support the

Re: [PATCH 1/3] makefile: Fix symbol typo in binary_size_check

2023-05-14 Thread Tom Rini
On Fri, May 12, 2023 at 05:01:33PM -0600, Sam Edwards wrote: > The start-of-image marker symbol is `__image_copy_start`; by > searching for `_image_copy_start` instead, this check can > accidentally match `_image_copy_start_ofs`. > > Signed-off-by: Sam Edwards Reviewed-by: Tom Rini -- Tom

Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-14 Thread Nuno Gonçalves
Hi, after 85bdd28d2bb0827f311913e00e4e338f8e4e6565 (bcm2835-host: let firmware manage the clock divisor), Linux fails to start the eMMC memory on a CM3 most times (but it sometimes also works). I am using Linux mainline and I wonder if this assumes the change in which this was based also needs to