Re: Possible bug in BTRFS w/ Duplication

2022-12-30 Thread Qu Wenruo
On 2022/12/30 23:28, Sam Winchenbach wrote: I believe you fixed the issue with the patch you presented. I was in the process of testing a similar fix for release and it solved the issue I encountered. But I still want to make sure that only RAID0 on single device can cause the problem.

[PATCH 1/1] cmd: avoid endless loop in sound play command

2022-12-30 Thread Heinrich Schuchardt
A parameter starting with a hyphen leads to an endless loop in the sound play command. Leave it to dectoul() to handle the hyphen. It will return 0 for a negative number. Signed-off-by: Heinrich Schuchardt --- cmd/sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c

[PATCH 1/1] Kconfig: move NXP specific stuff into a sub-menu

2022-12-30 Thread Heinrich Schuchardt
Having NXP specific items in the main menu is confusing. Especially the comment line *** Other functionality shared between NXP SoCs *** is simply misleading. Move all NXP stuff into a separate sub-menu. Signed-off-by: Heinrich Schuchardt --- arch/Kconfig.nxp | 6 -- 1 file changed, 4

Re: [PATCH v3 1/7] dm: video: Add damage tracking API

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 20:58, Alexander Graf wrote: We are going to introduce image damage tracking to fasten up screen refresh on large displays. This patch adds damage tracking for up to one rectangle of the screen which is typically enough to hold blt or text print updates. Callers into this API and a re

Re: [PATCH v3 6/7] video: Only dcache flush damaged lines

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 20:58, Alexander Graf wrote: Now that we have a damage area tells us which parts of the frame buffer actually need updating, let's only dcache flush those on video_sync() calls. With this optimization in place, frame buffer updates - especially on large screen such as 4k displays - sp

Re: [PATCH v3 1/7] dm: video: Add damage tracking API

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 20:58, Alexander Graf wrote: We are going to introduce image damage tracking to fasten up screen refresh on large displays. This patch adds damage tracking for up to one rectangle of the screen which is typically enough to hold blt or text print updates. Callers into this API and a re

Re: [PATCH v3 6/7] video: Only dcache flush damaged lines

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 20:58, Alexander Graf wrote: Now that we have a damage area tells us which parts of the frame buffer actually need updating, let's only dcache flush those on video_sync() calls. With this optimization in place, frame buffer updates - especially on large screen such as 4k displays - sp

Re: [PATCH v3 5/7] efi_loader: GOP: Add damage notification on BLT

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 20:58, Alexander Graf wrote: Now that we have a damage tracking API, let's populate damage done by UEFI payloads when they BLT data onto the screen. Signed-off-by: Alexander Graf Reported-by: Da Xue --- v1 -> v2: - Remove ifdefs from gop v2 -> v3: - Adapt to always assum

[PATCH v3 7/7] video: Use VIDEO_DAMAGE for VIDEO_COPY

2022-12-30 Thread Alexander Graf
CONFIG_VIDEO_COPY implemented a range based copying mechanism: If we print a single character, it will always copy the full range of bytes from the top left corner of the character to the lower right onto the uncached frame buffer. This includes pretty much the full line contents of the printed cha

[PATCH v3 5/7] efi_loader: GOP: Add damage notification on BLT

2022-12-30 Thread Alexander Graf
Now that we have a damage tracking API, let's populate damage done by UEFI payloads when they BLT data onto the screen. Signed-off-by: Alexander Graf Reported-by: Da Xue --- v1 -> v2: - Remove ifdefs from gop v2 -> v3: - Adapt to always assume DM is used --- lib/efi_loader/efi_gop.c |

[PATCH v3 6/7] video: Only dcache flush damaged lines

2022-12-30 Thread Alexander Graf
Now that we have a damage area tells us which parts of the frame buffer actually need updating, let's only dcache flush those on video_sync() calls. With this optimization in place, frame buffer updates - especially on large screen such as 4k displays - speed up significantly. Signed-off-by: Alexa

[PATCH v3 4/7] video: Add damage notification on bmp display

2022-12-30 Thread Alexander Graf
Let's report the video damage when we draw a bitmap on the screen. This way we can later lazily flush only relevant regions to hardware. Signed-off-by: Alexander Graf Reported-by: Da Xue --- drivers/video/video_bmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/video_bmp.

[PATCH v3 1/7] dm: video: Add damage tracking API

2022-12-30 Thread Alexander Graf
We are going to introduce image damage tracking to fasten up screen refresh on large displays. This patch adds damage tracking for up to one rectangle of the screen which is typically enough to hold blt or text print updates. Callers into this API and a reduced dcache flush code path will follow in

[PATCH v3 3/7] vidconsole: Add damage notifications to all vidconsole drivers

2022-12-30 Thread Alexander Graf
Now that we have a damage tracking API, let's populate damage done by vidconsole drivers. We try to declare as little memory as damaged as possible, with the exception of rotated screens that I couldn't get my head wrapped around. On those, we revert to the old behavior and mark the full screen as

[PATCH v3 2/7] dm: video: Add damage notification on display clear

2022-12-30 Thread Alexander Graf
Let's report the video damage when we clear the screen. This way we can later lazily flush only relevant regions to hardware. Signed-off-by: Alexander Graf Reported-by: Da Xue --- drivers/video/video-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/video-uclass.c b/d

[PATCH v3 0/7] Add video damage tracking

2022-12-30 Thread Alexander Graf
This patch set speeds up graphics output on ARM by a factor of 60x. On most ARM SBCs, we keep the frame buffer in DRAM and map it as cached, but need it accessible by the display controller which reads directly from a later point of consistency. Hence, we flush the frame buffer to DRAM on every ch

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Robert Marko
On Fri, Dec 30, 2022 at 8:02 PM Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 12:02, Pali Rohár wrote: > > > > On Friday 30 December 2022 11:47:29 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 30 Dec 2022 at 10:13, Pali Rohár wrote: > > > > > > > > On Friday 30 December 2022

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 12:51:03 Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 11:55, Pali Rohár wrote: > > > > On Friday 30 December 2022 11:43:44 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 30 Dec 2022 at 10:06, Pali Rohár wrote: > > > > > > > > On Friday 30 December 20

Re: [PATCH 1/1] doc: building documentation

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 20:02, Simon Glass wrote: Hi, On Fri, 30 Dec 2022 at 12:31, Heinrich Schuchardt wrote: On 12/30/22 19:12, Tom Rini wrote: On Fri, Dec 30, 2022 at 11:51:15AM -0600, Simon Glass wrote: Hi Heinrich, On Thu, 29 Dec 2022 at 22:08, Heinrich Schuchardt wrote: Provide a man-pag

Re: [PATCH 1/1] doc: building documentation

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 01:02:13PM -0600, Simon Glass wrote: > Hi, > > On Fri, 30 Dec 2022 at 12:31, Heinrich Schuchardt > wrote: > > > > > > > > On 12/30/22 19:12, Tom Rini wrote: > > > On Fri, Dec 30, 2022 at 11:51:15AM -0600, Simon Glass wrote: > > >> Hi Heinrich, > > >> > > >> On Thu, 29 Dec

Re: [PATCH v3 2/3] net: fm: Add firmware name parameter

2022-12-30 Thread Simon Glass
Hi Sean, On Fri, 30 Dec 2022 at 11:53, Sean Anderson wrote: > > On 12/30/22 12:51, Simon Glass wrote: > > Hi Sean, > > > > On Fri, 30 Dec 2022 at 09:32, Sean Anderson wrote: > >> > >> On 12/29/22 17:38, Simon Glass wrote: > >> > Hi Sean, > >> > > >> > On Thu, 29 Dec 2022 at 10:53, Sean Anderson

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 12:02, Pali Rohár wrote: > > On Friday 30 December 2022 11:47:29 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 30 Dec 2022 at 10:13, Pali Rohár wrote: > > > > > > On Friday 30 December 2022 10:00:11 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Fri, 30

Re: [PATCH 1/1] doc: building documentation

2022-12-30 Thread Simon Glass
Hi, On Fri, 30 Dec 2022 at 12:31, Heinrich Schuchardt wrote: > > > > On 12/30/22 19:12, Tom Rini wrote: > > On Fri, Dec 30, 2022 at 11:51:15AM -0600, Simon Glass wrote: > >> Hi Heinrich, > >> > >> On Thu, 29 Dec 2022 at 22:08, Heinrich Schuchardt > >> wrote: > >>> > >>> Provide a man-page descri

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-30 Thread Simon Glass
Hi Mark, On Fri, 30 Dec 2022 at 12:11, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Fri, 30 Dec 2022 11:51:05 -0600 > > > > Hi Pali, > > > > On Fri, 30 Dec 2022 at 09:32, Pali Rohár wrote: > > > > > > On Thursday 22 December 2022 10:49:58 Tom Rini wrote: > > > > On Fri, Dec 16, 2022 a

Re: [PATCH v2 1/1] Kconfig: clean up skipping low-level initialization

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 07:41:28PM +0100, Heinrich Schuchardt wrote: > Put all entries for skipping low-level initialization into a sub-menu. > Use different titles for main U-Boot, SPL, TPL. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Reviewed-by: Tom Rini -- Tom si

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 11:55, Pali Rohár wrote: > > On Friday 30 December 2022 11:43:44 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 30 Dec 2022 at 10:06, Pali Rohár wrote: > > > > > > On Friday 30 December 2022 09:49:08 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Fri, 30

[PATCH v2 1/1] Kconfig: clean up skipping low-level initialization

2022-12-30 Thread Heinrich Schuchardt
Put all entries for skipping low-level initialization into a sub-menu. Use different titles for main U-Boot, SPL, TPL. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: adjust the placement of the words SPL and TPL in the titles --- arch/Kconfig | 20 --

Re: [PATCH 1/1] doc: building documentation

2022-12-30 Thread Heinrich Schuchardt
On 12/30/22 19:12, Tom Rini wrote: On Fri, Dec 30, 2022 at 11:51:15AM -0600, Simon Glass wrote: Hi Heinrich, On Thu, 29 Dec 2022 at 22:08, Heinrich Schuchardt wrote: Provide a man-page describing how to build the U-Boot documentation. Signed-off-by: Heinrich Schuchardt --- doc/build/d

Re: [PATCH 1/1] Kconfig: clean up skipping low-level initialization

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 11:51:14AM -0600, Simon Glass wrote: > Hi Heinrich, > > On Fri, 30 Dec 2022 at 08:01, Heinrich Schuchardt > wrote: > > > > It is confusing if multiple Kconfig entries have the same title. > > > > Use different titles for main U-Boot, SPL, TPL. > > Put all entries for skipp

Re: [PATCH 1/1] doc: building documentation

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 11:51:15AM -0600, Simon Glass wrote: > Hi Heinrich, > > On Thu, 29 Dec 2022 at 22:08, Heinrich Schuchardt > wrote: > > > > Provide a man-page describing how to build the U-Boot documentation. > > > > Signed-off-by: Heinrich Schuchardt > > --- > > doc/build/documentation.

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-30 Thread Mark Kettenis
> From: Simon Glass > Date: Fri, 30 Dec 2022 11:51:05 -0600 > > Hi Pali, > > On Fri, 30 Dec 2022 at 09:32, Pali Rohár wrote: > > > > On Thursday 22 December 2022 10:49:58 Tom Rini wrote: > > > On Fri, Dec 16, 2022 at 01:13:07AM +0100, Pali Rohár wrote: > > > > On Thursday 15 December 2022 06:24

Re: CONFIG migration quirk

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 11:51:10AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 29 Dec 2022 at 17:03, Tom Rini wrote: > > > > On Thu, Dec 29, 2022 at 04:54:35PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > If I: > > > > > > 1. Revert 9ef3ba85bf3 kbuild: Remove checking for adhoc CONFIG

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 11:47:29 Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 10:13, Pali Rohár wrote: > > > > On Friday 30 December 2022 10:00:11 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 30 Dec 2022 at 09:53, Pali Rohár wrote: > > > > > > > > On Friday 30 December 20

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 11:47:29AM -0600, Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 10:13, Pali Rohár wrote: > > > > On Friday 30 December 2022 10:00:11 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 30 Dec 2022 at 09:53, Pali Rohár wrote: > > > > > > > > On Friday 30 Decem

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 11:43:44 Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 10:06, Pali Rohár wrote: > > > > On Friday 30 December 2022 09:49:08 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 30 Dec 2022 at 09:44, Pali Rohár wrote: > > > > > > > > On Friday 30 December 20

Re: [PATCH v3 2/3] net: fm: Add firmware name parameter

2022-12-30 Thread Sean Anderson
On 12/30/22 12:51, Simon Glass wrote: > Hi Sean, > > On Fri, 30 Dec 2022 at 09:32, Sean Anderson wrote: >> >> On 12/29/22 17:38, Simon Glass wrote: >> > Hi Sean, >> > >> > On Thu, 29 Dec 2022 at 10:53, Sean Anderson wrote: >> >> >> >> In order to read the firmware from the filesystem, we need a

Re: [PATCH 0/5] vidconsole: refactoring and support for wider fonts

2022-12-30 Thread Simon Glass
+Andre Przywara for comment On Thu, 29 Dec 2022 at 17:02, Mark Kettenis wrote: > > > From: Dzmitry Sankouski > > Date: Mon, 26 Dec 2022 22:49:24 +0300 > > > > Modern mobile phones typically have high pixel density. > > Bootmenu is hardly readable on those with 8x16 font. > > > > This patch seri

Re: [PATCH 1/1] doc: building documentation

2022-12-30 Thread Simon Glass
Hi Heinrich, On Thu, 29 Dec 2022 at 22:08, Heinrich Schuchardt wrote: > > Provide a man-page describing how to build the U-Boot documentation. > > Signed-off-by: Heinrich Schuchardt > --- > doc/build/documentation.rst | 90 + > doc/build/index.rst |

Re: [PATCH 1/1] Kconfig: clean up skipping low-level initialization

2022-12-30 Thread Simon Glass
Hi Heinrich, On Fri, 30 Dec 2022 at 08:01, Heinrich Schuchardt wrote: > > It is confusing if multiple Kconfig entries have the same title. > > Use different titles for main U-Boot, SPL, TPL. > Put all entries for skipping low-level initialization into a sub-menu. > > Fixes: a2ac2b964bfb ("Convert

Re: [PATCH v3 3/3] net: fm: Support loading firmware from a filesystem

2022-12-30 Thread Simon Glass
Hi Sean, On Fri, 30 Dec 2022 at 09:36, Sean Anderson wrote: > > On 12/29/22 17:38, Simon Glass wrote: > > Hi Sean, > > > > On Thu, 29 Dec 2022 at 10:54, Sean Anderson wrote: > >> > >> This adds a new method to load Fman firmware from a filesystem. This > >> allows users to use regular files inst

Re: [PATCH v3 2/3] net: fm: Add firmware name parameter

2022-12-30 Thread Simon Glass
Hi Sean, On Fri, 30 Dec 2022 at 09:32, Sean Anderson wrote: > > On 12/29/22 17:38, Simon Glass wrote: > > Hi Sean, > > > > On Thu, 29 Dec 2022 at 10:53, Sean Anderson wrote: > >> > >> In order to read the firmware from the filesystem, we need a file name. > >> Read the firmware name from the dev

Re: CONFIG migration quirk

2022-12-30 Thread Simon Glass
Hi Tom, On Thu, 29 Dec 2022 at 17:03, Tom Rini wrote: > > On Thu, Dec 29, 2022 at 04:54:35PM -0600, Simon Glass wrote: > > Hi Tom, > > > > If I: > > > > 1. Revert 9ef3ba85bf3 kbuild: Remove checking for adhoc CONFIG symbols > > 2. rm scripts/config_whitelist.txt > > 3. run ./scripts/build-whiteli

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 09:32, Pali Rohár wrote: > > On Thursday 22 December 2022 10:49:58 Tom Rini wrote: > > On Fri, Dec 16, 2022 at 01:13:07AM +0100, Pali Rohár wrote: > > > On Thursday 15 December 2022 06:24:16 Simon Glass wrote: > > > > Hi Eugen, > > > > > > > > On Thu, 15 Dec 2022 a

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 10:13, Pali Rohár wrote: > > On Friday 30 December 2022 10:00:11 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 30 Dec 2022 at 09:53, Pali Rohár wrote: > > > > > > On Friday 30 December 2022 09:30:27 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Wed, 21

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 10:06, Pali Rohár wrote: > > On Friday 30 December 2022 09:49:08 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 30 Dec 2022 at 09:44, Pali Rohár wrote: > > > > > > On Friday 30 December 2022 10:41:47 Tom Rini wrote: > > > > On Fri, Dec 30, 2022 at 04:24:43PM +010

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 10:00:11 Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 09:53, Pali Rohár wrote: > > > > On Friday 30 December 2022 09:30:27 Simon Glass wrote: > > > Hi Pali, > > > > > > On Wed, 21 Dec 2022 at 17:02, Pali Rohár wrote: > > > > > > > > On Wednesday 21 December

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 09:49:08 Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 09:44, Pali Rohár wrote: > > > > On Friday 30 December 2022 10:41:47 Tom Rini wrote: > > > On Fri, Dec 30, 2022 at 04:24:43PM +0100, Pali Rohár wrote: > > > > On Friday 30 December 2022 10:21:04 Tom Rini

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 09:49:08AM -0600, Simon Glass wrote: > Hi Pali, > > On Fri, 30 Dec 2022 at 09:44, Pali Rohár wrote: > > > > On Friday 30 December 2022 10:41:47 Tom Rini wrote: > > > On Fri, Dec 30, 2022 at 04:24:43PM +0100, Pali Rohár wrote: > > > > On Friday 30 December 2022 10:21:04 Tom

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 09:53, Pali Rohár wrote: > > On Friday 30 December 2022 09:30:27 Simon Glass wrote: > > Hi Pali, > > > > On Wed, 21 Dec 2022 at 17:02, Pali Rohár wrote: > > > > > > On Wednesday 21 December 2022 07:27:39 Simon Glass wrote: > > > > This breaks chromebook_coral and

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 09:30:27 Simon Glass wrote: > Hi Pali, > > On Wed, 21 Dec 2022 at 17:02, Pali Rohár wrote: > > > > On Wednesday 21 December 2022 07:27:39 Simon Glass wrote: > > > This breaks chromebook_coral and it is also not how things should work. If > > > a board needs to bind GPIO

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Simon Glass
Hi Pali, On Fri, 30 Dec 2022 at 09:44, Pali Rohár wrote: > > On Friday 30 December 2022 10:41:47 Tom Rini wrote: > > On Fri, Dec 30, 2022 at 04:24:43PM +0100, Pali Rohár wrote: > > > On Friday 30 December 2022 10:21:04 Tom Rini wrote: > > > > > In this case it would be better to build u-boot-dts.

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 10:41:47 Tom Rini wrote: > On Fri, Dec 30, 2022 at 04:24:43PM +0100, Pali Rohár wrote: > > On Friday 30 December 2022 10:21:04 Tom Rini wrote: > > > > In this case it would be better to build u-boot-dts.bin only by binman > > > > (for all platforms) instead of cat-ing rul

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 04:24:43PM +0100, Pali Rohár wrote: > On Friday 30 December 2022 10:21:04 Tom Rini wrote: > > > In this case it would be better to build u-boot-dts.bin only by binman > > > (for all platforms) instead of cat-ing rules in Makefile. > > > > This would also be an easier path f

Re: [PATCH v3 3/3] net: fm: Support loading firmware from a filesystem

2022-12-30 Thread Sean Anderson
On 12/29/22 17:38, Simon Glass wrote: > Hi Sean, > > On Thu, 29 Dec 2022 at 10:54, Sean Anderson wrote: >> >> This adds a new method to load Fman firmware from a filesystem. This >> allows users to use regular files instead of hard-coded offsets for the >> firmware. >> >> Signed-off-by: Sean Ande

Re: [PATCH v3 2/3] net: fm: Add firmware name parameter

2022-12-30 Thread Sean Anderson
On 12/29/22 17:38, Simon Glass wrote: > Hi Sean, > > On Thu, 29 Dec 2022 at 10:53, Sean Anderson wrote: >> >> In order to read the firmware from the filesystem, we need a file name. >> Read the firmware name from the device tree, using the firmware-name >> property. This property is commonly used

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-30 Thread Pali Rohár
On Thursday 22 December 2022 10:49:58 Tom Rini wrote: > On Fri, Dec 16, 2022 at 01:13:07AM +0100, Pali Rohár wrote: > > On Thursday 15 December 2022 06:24:16 Simon Glass wrote: > > > Hi Eugen, > > > > > > On Thu, 15 Dec 2022 at 03:58, Eugen Hristev > > > wrote: > > > > > > > > Newer DTC require

Re: [PATCH] dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

2022-12-30 Thread Simon Glass
Hi Pali, On Wed, 21 Dec 2022 at 17:02, Pali Rohár wrote: > > On Wednesday 21 December 2022 07:27:39 Simon Glass wrote: > > This breaks chromebook_coral and it is also not how things should work. If > > a board needs to bind GPIOs as part of a pinctrl driver this can be done > > during the bind st

RE: Possible bug in BTRFS w/ Duplication

2022-12-30 Thread Sam Winchenbach
I believe you fixed the issue with the patch you presented. I was in the process of testing a similar fix for release and it solved the issue I encountered. Thanks, Sam Winchenbach -Original Message- From: U-Boot On Behalf Of Qu Wenruo Sent: Thursday, December 29, 2022 7:01 PM To: Hein

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Pali Rohár
On Friday 30 December 2022 10:21:04 Tom Rini wrote: > > In this case it would be better to build u-boot-dts.bin only by binman > > (for all platforms) instead of cat-ing rules in Makefile. > > This would also be an easier path forward perhaps for making sure that > the dtb is always 8 byte aligned

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 01:48:11PM +0100, Pali Rohár wrote: > On Thursday 29 December 2022 16:39:11 Simon Glass wrote: > > Hi Pali, > > > > On Wed, 28 Dec 2022 at 14:06, Pali Rohár wrote: > > > > > > U-Boot build process currently always produces broken u-boot-dtb.bin > > > binary > > > for Powe

Re: [PATCH u-boot] powerpc/mpc85xx: socrates: Re-enable building u-boot-socrates.bin

2022-12-30 Thread Tom Rini
On Fri, Dec 30, 2022 at 01:44:04PM +0100, Pali Rohár wrote: > Tom, would you take this patch to master? Yes, I'm just assuming Heiko will have a chance to test this before the release on the 9th, thanks. > > On Wednesday 28 December 2022 19:18:39 Pali Rohár wrote: > > U-Boot build system builds

[PATCH 1/1] Kconfig: clean up skipping low-level initialization

2022-12-30 Thread Heinrich Schuchardt
It is confusing if multiple Kconfig entries have the same title. Use different titles for main U-Boot, SPL, TPL. Put all entries for skipping low-level initialization into a sub-menu. Fixes: a2ac2b964bfb ("Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig") Signed-off-by: Heinrich Schuchardt --

Re: [PATCH u-boot 2/2] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2022-12-30 Thread Pali Rohár
On Thursday 29 December 2022 16:39:11 Simon Glass wrote: > Hi Pali, > > On Wed, 28 Dec 2022 at 14:06, Pali Rohár wrote: > > > > U-Boot build process currently always produces broken u-boot-dtb.bin binary > > for PowerPC mpc85xx architecture on boards which needs mpc85xx reset > > vector. For thes

Re: [PATCH u-boot] powerpc/mpc85xx: socrates: Re-enable building u-boot-socrates.bin

2022-12-30 Thread Pali Rohár
Tom, would you take this patch to master? On Wednesday 28 December 2022 19:18:39 Pali Rohár wrote: > U-Boot build system builds final U-Boot binary for socrates board in custom > file u-boot-socrates.bin (instead of standard u-boot.bin). Output target > file u-boot-socrates.bin is generated by bin

Re: Rockchip RK3328 4-byte addressing problem in SPI

2022-12-30 Thread Kever Yang
Hi Macin, On 2022/12/30 06:39, Simon Glass wrote: +Kever Yang On Thu, 22 Dec 2022 at 18:30, Marcin Woźniak wrote: Hello, I would like to let you know how i've lost about 2 weeks because of lack of Rockchip BOOTROM documentation. I tried to use Mainline Uboot to Boot NanoPI R2S using soldere