[PATCH 0/7] rockchip: veyron: Synchronize changes for veyron boards

2023-07-07 Thread Alper Nebi Yasak
any of the supported boards, and couldn't spent time to port the veyron-mighty I have yet. Sending so others can test and for the first two patches I think should go in v2023.07, but take with a grain of salt. Alper Nebi Yasak (7): rockchip: veyron: Enable RESET driver rockchip: veyron: Enable b

[PATCH 1/7] rockchip: veyron: Enable RESET driver

2023-07-07 Thread Alper Nebi Yasak
support") Fixes: 9749d2ea29e ("rockchip: video: vop: Add reset support") Signed-off-by: Alper Nebi Yasak --- configs/chromebit_mickey_defconfig | 1 + configs/chromebook_minnie_defconfig | 1 + configs/chromebook_speedy_defconfig | 1 + 3 files changed, 3 inser

[PATCH 2/7] rockchip: veyron: Enable building SPI ROM images

2023-07-07 Thread Alper Nebi Yasak
ned-off-by: Alper Nebi Yasak --- arch/arm/mach-rockchip/rk3288/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig index ea94ad114247..69a5614b449a 100644 --- a/arch/arm/mach-rockchip/rk3288/Kconfig +++ b/arc

[PATCH 3/7] rockchip: veyron: Unify u-boot.dtsi bootph-all fragments

2023-07-07 Thread Alper Nebi Yasak
The rk3288-veyron-speedy-u-boot.dtsi file duplicates the bootphase dts fragments from rk3288-veyron-u-boot.dtsi even though it #inclues that. Deduplicate these into the latter file, which should also make the eMMC available to the other veyron boards' SPL. Signed-off-by: Alper Nebi

[PATCH 4/7] rockchip: veyron: Add serial, logging, silent console support

2023-07-07 Thread Alper Nebi Yasak
ble silent console as chromebook_minnie does. Signed-off-by: Alper Nebi Yasak --- configs/chromebit_mickey_defconfig | 3 +++ configs/chromebook_minnie_defconfig | 3 ++- configs/chromebook_speedy_defconfig | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH 5/7] rockchip: veyron: Use TrueType fonts

2023-07-07 Thread Alper Nebi Yasak
Commit 815ed79d8338 ("video: rockchip: Use TrueType fonts with jerry") enables makes chromebook_jerry use TrueType fonts. Make other veyron boards switch to it as well. Signed-off-by: Alper Nebi Yasak --- I have no idea why that commit disables USE_PRIVATE_LIBGCC, but I'm follow

[PATCH 6/7] rockchip: chromebook_jerry: Re-enable MAX98090 codec driver

2023-07-07 Thread Alper Nebi Yasak
Sound support for chromebook_jerry needs the MAX98090 codec driver. This was enabled in commit 2d0c01b8f0ad ("sound: rockchip: Add sound support for jerry"), but apparently lost in commit 7ae2729401bb ("configs: Resync with savedefconfig"). Enable it again. Signed-off-

[PATCH 7/7] rockchip: chromebook_speedy: Enable sound

2023-07-07 Thread Alper Nebi Yasak
node in the board -u-boot.dtsi instead. Signed-off-by: Alper Nebi Yasak --- Not enabling these for chromebit_mickey, as that'd use HDMI in a way I don't know how. arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi | 14 ++ configs/chromebook_speedy_defconfig | 5 +

[PATCH] efi_loader: Increase default variable store size to 32K

2023-07-08 Thread Alper Nebi Yasak
ere is a note about this value matching PcdFlashNvStorageVariableSize when EFI_MM_COMM_TEE is enabled, so keep the old default in that case. [1] https://github.com/rhboot/shim/pull/577 Signed-off-by: Alper Nebi Yasak --- I'm not very familiar with EFI things, apologies if this default should n

[PATCH] efi_loader: Avoid underflow when calculating remaining var store size

2023-07-08 Thread Alper Nebi Yasak
This can underflow as the calculation is done in and processed as unsigned integer types. Check for underflow before doing the subtraction and return zero if there's no space. Signed-off-by: Alper Nebi Yasak --- lib/efi_loader/efi_var_mem.c | 4 1 file changed, 4 insertions(+) diff -

Re: [PATCH 2/2] schemas: Add a schema for binman

2023-07-20 Thread Alper Nebi Yasak
Hi Simon, I know I haven't been able to look at binman stuff for a long time, but I've been occasionally thinking about it through the course of a year and think binman severely needs a design-wise review before things get entrenched, even in the most fundamental parts. I do see the cross-project

[PATCH] rockchip: veyron: Enable Winbond SPI flash

2023-07-21 Thread Alper Nebi Yasak
Some veyron boards seem to have Winbond SPI flash chips instead of GigaDevice ones. At the very least, coreboot builds for veyron boards have them enabled [1]. Enable support for them here as well. [1] https://review.coreboot.org/c/coreboot/+/9719 Signed-off-by: Alper Nebi Yasak --- configs

[PATCH v5 00/13] Add video damage tracking

2023-08-21 Thread Alper Nebi Yasak
.kernel.org/all/20220606234336.5021-1-ag...@csgraf.de/ Alexander Graf (9): dm: video: Add damage tracking API dm: video: Add damage notification on display fills vidconsole: Add damage notifications to all vidconsole drivers video: Add damage notification on bmp display efi_loader: GOP: Ad

[PATCH v5 01/13] video: test: Split copy frame buffer check into a function

2023-08-21 Thread Alper Nebi Yasak
we can skip calling, since we won't want it to error on those mismatched cases. Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Add patch "video: test: Split copy frame buffer check into a function" test/dm/video.c | 69 + 1 f

[PATCH v5 02/13] video: test: Support checking copy frame buffer contents

2023-08-21 Thread Alper Nebi Yasak
, since we will want the two to be different in very specific ways. Add a boolean argument to the existing helper function to indicate which frame buffer we want to inspect, and update the existing callers. Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Add patch "video: test: Su

[PATCH v5 03/13] video: test: Test partial updates of hardware frame buffer

2023-08-21 Thread Alper Nebi Yasak
. Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Add patch "video: test: Test partial updates of hardware frame buffer" test/dm/video.c | 54 + 1 file changed, 54 insertions(+) diff --git a/test/dm/video.c b/test/dm/video.c index b9

[PATCH v5 04/13] dm: video: Add damage tracking API

2023-08-21 Thread Alper Nebi Yasak
code path will follow in later patches. Signed-off-by: Alexander Graf Reported-by: Da Xue [Alper: Use xstart/yend, document new fields, return void from video_damage(), declare priv, drop headers, use IS_ENABLED()] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak

[PATCH v5 05/13] dm: video: Add damage notification on display fills

2023-08-21 Thread Alper Nebi Yasak
ff-by: Alper Nebi Yasak --- Does video_fill_part() need a video_sync(dev, false) here? Changes in v5: - Call video_damage() also in video_fill_part() drivers/video/video-uclass.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c

[PATCH v5 06/13] vidconsole: Add damage notifications to all vidconsole drivers

2023-08-21 Thread Alper Nebi Yasak
ake rotated console_putc_xy() damages pass tests, edit patch message] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Use met->baseline instead of priv->baseline - Use fontdata->height/width instead of VIDEO_FONT_HEIGHT/WIDTH - Update console_r

[PATCH v5 07/13] video: test: Test video damage tracking via vidconsole

2023-08-21 Thread Alper Nebi Yasak
With VIDEO_DAMAGE, the video uclass tracks updated regions of the frame buffer in order to avoid unnecessary work during a video sync. Enable the config in sandbox and add a test for it, by printing strings at a few locations and checking the tracked region. Signed-off-by: Alper Nebi Yasak

[PATCH v5 08/13] video: Add damage notification on bmp display

2023-08-21 Thread Alper Nebi Yasak
From: 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 Reviewed-by: Simon Glass Signed-off-by: Alper Nebi Yasak --- (no changes sin

[PATCH v5 09/13] efi_loader: GOP: Add damage notification on BLT

2023-08-21 Thread Alper Nebi Yasak
From: 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 Reviewed-by: Heinrich Schuchardt [Alper: Add struct comment for new member] Signed-off-by: Alper

[PATCH v5 10/13] video: Only dcache flush damaged lines

2023-08-21 Thread Alper Nebi Yasak
ed up significantly. Signed-off-by: Alexander Graf Reported-by: Da Xue [Alper: Use damage.xstart/yend, IS_ENABLED()] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Use xstart, ystart, xend, yend as names for damage region - Use IS_ENABLED() instead of CONFIG_IS_EN

[PATCH v5 11/13] video: Use VIDEO_DAMAGE for VIDEO_COPY

2023-08-21 Thread Alper Nebi Yasak
height/w, fill_part(), fix memmove(dev), drop from defconfig, use damage.xstart/yend, use IS_ENABLED(), call video_sync() before copy_fb check, update video_copy test] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Remove video_sync_copy() a

[PATCH v5 12/13] video: Always compile cache flushing code

2023-08-21 Thread Alper Nebi Yasak
re. That way, drivers can always rely on it to call the arch specific callbacks. This will increase code size for non-ARM platforms with CONFIG_VIDEO=y slightly. Reported-by: Heinrich Schuchardt Signed-off-by: Alexander Graf Reviewed-by: Simon Glass Signed-off-by: Alper Nebi Yasak --- (no chang

[PATCH v5 13/13] video: Enable VIDEO_DAMAGE for drivers that need it

2023-08-21 Thread Alper Nebi Yasak
video damage control for all device drivers that call video_set_flush_dcache() to make sure they benefit from it. Signed-off-by: Alexander Graf [Alper: Add to VIDEO_TIDSS, imply instead of select] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v5: - Imply

[PATCH 0/5] sandbox: video: Refactor out of uclass, try partial screen updates

2023-08-21 Thread Alper Nebi Yasak
nt [1], but only the "partial updates" patch is functionally dependent on it. [1] https://lore.kernel.org/u-boot/20230821135111.3558478-1-alpernebiya...@gmail.com/ Alper Nebi Yasak (5): sandbox: video: Display copy framebuffer if enabled video: Allow deferring and retrying driver

[PATCH 1/5] sandbox: video: Display copy framebuffer if enabled

2023-08-21 Thread Alper Nebi Yasak
he work area instead. Change it to display the copy buffer if enabled. Signed-off-by: Alper Nebi Yasak --- drivers/video/video-uclass.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index 3f9ddaadd15d..7cec6362570f

[PATCH 2/5] video: Allow deferring and retrying driver-specific video sync

2023-08-21 Thread Alper Nebi Yasak
can force it by calling the op again it until it does something. Signed-off-by: Alper Nebi Yasak --- Alternatively, add "force" argument into the driver ops->video_sync(). But I think it should go away instead. The problem is video_sync() being called irregularly and too frequentl

[PATCH 3/5] sandbox: video: Move sync rate limit into SDL code

2023-08-21 Thread Alper Nebi Yasak
As a first step of removing sandbox-specific code from the video uclass, move the sync rate limiter into the SDL code. We lose the ability to immediately force a screen refresh, but can retry until it does. Signed-off-by: Alper Nebi Yasak --- arch/sandbox/cpu/sdl.c | 9 + arch

[PATCH 4/5] sandbox: video: Move sandbox video sync to a driver operation

2023-08-21 Thread Alper Nebi Yasak
es if possible. Move the remaining sandbox sync call into the driver ops. Now that sandbox video sync attempts can defer without resetting video damage, force a video sync before checking that video syncs reset video damage. Signed-off-by: Alper Nebi Yasak --- drivers/video/sandbox_sdl.c

[RFC PATCH 5/5] sandbox: video: Use partial updates for SDL display

2023-08-21 Thread Alper Nebi Yasak
-off-by: Alper Nebi Yasak --- The second half of copy_to_texture is untested. arch/sandbox/cpu/sdl.c | 25 + arch/sandbox/include/asm/sdl.h | 9 +++-- drivers/video/sandbox_sdl.c| 16 +++- 3 files changed, 39 insertions(+), 11 deletions(-) diff

[PATCH v2 0/7] Add support for QEMU's ramfb display

2023-08-22 Thread Alper Nebi Yasak
fault" v1: https://lore.kernel.org/u-boot/20220227144043.37359-1-ag...@csgraf.de/ Alexander Graf (5): qfw: Add WRITE definition ramfb: Add driver for ramfb display qfw: Spawn ramfb device if its file is present arm: qemu: Enable ramfb by default riscv: qemu: Enable ramfb by default Alp

[PATCH v2 1/7] qfw: Add WRITE definition

2023-08-22 Thread Alper Nebi Yasak
From: Alexander Graf The QEMU fw_cfg device supports writing entries as well. Add the constant define for it so that we can leverage write functionality later. Signed-off-by: Alexander Graf Reviewed-by: Simon Glass Signed-off-by: Alper Nebi Yasak --- (no changes since v1) include/qfw.h

[PATCH v2 2/7] ramfb: Add driver for ramfb display

2023-08-22 Thread Alper Nebi Yasak
icate depends on DM_VIDEO, drop MAINTAINERS, decouple from EFI_LOADER, add .bind(), kconfigurable resolution, struct in .h] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v2: - Remove extra "depends on DM_VIDEO" already in "if VIDEO&q

[PATCH v2 3/7] qfw: Spawn ramfb device if its file is present

2023-08-22 Thread Alper Nebi Yasak
From: Alexander Graf Now that we have a ramfb device driver, let's add the necessary glueing magic to also spawn it when we find its qfw file node. Signed-off-by: Alexander Graf [Alper: Use if IS_ENABLED() instead of #ifdef] Signed-off-by: Alper Nebi Yasak --- Changes in v2: - U

[PATCH v2 4/7] qfw: Add flag to allow probing before relocation

2023-08-22 Thread Alper Nebi Yasak
can work as an initial vidconsole. Signed-off-by: Alper Nebi Yasak --- Alternatively, I guess I could default VIDEO_PCI_DEFAULT_FB_SIZE to a higher size with "if VIDEO_RAMFB". But it exists because "PCI drivers cannot be bound before relocation unless they are mentioned in the devi

[PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-22 Thread Alper Nebi Yasak
bochs changes, add pre-reloc init, error handling] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v2: - Rebase on "qemu: arm: Enable Bochs, console buffering, USB keyboard" - Drop env changes from ARM (necessary but in prerequisite series) - D

[PATCH v2 6/7] riscv: qemu: Enable ramfb by default

2023-08-22 Thread Alper Nebi Yasak
bochs changes, add pre-reloc init and error handling] Co-developed-by: Alper Nebi Yasak Signed-off-by: Alper Nebi Yasak --- Changes in v2: - Drop imply VIDEO, env changes from RISC-V patch (in u-boot/next) - Drop imply SYS_CONSOLE_IS_IN_ENV from RISC-V patch (def. y if VIDEO) - Probe QFW in RISC-V

[PATCH v2 7/7] x86: qemu: Enable ramfb by default

2023-08-22 Thread Alper Nebi Yasak
e the same as its SPL counterpart, because we're running out of alloc space in pre-reloc stage with ramfb enabled. Signed-off-by: Alper Nebi Yasak --- This also suffers from the same issue with distros as the Bochs display driver [1], where it results in a hang after GRUB menu selection before

Re: [PATCH] efi: Correct handling of frame buffer

2023-08-27 Thread Alper Nebi Yasak
On 2023-08-25 22:28 +03:00, Simon Glass wrote: > The efi_gop driver uses private fields from the video uclass to obtain a > pointer to the frame buffer. Use the platform data instead. > > Check the VIDEO_COPY setting to determine which frame buffer to use. Once > the next stage is running (and mak

Re: [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-27 Thread Alper Nebi Yasak
On 2023-08-15 01:43 +03:00, Simon Glass wrote: > Hi Alper, > > On Mon, 14 Aug 2023 at 11:40, Alper Nebi Yasak > wrote: >> I actually want to put the root.img device first so that the VM can boot >> into the installed system when it reboots, but U-Boot can't find

Re: [PATCH] efi: Correct handling of frame buffer

2023-08-27 Thread Alper Nebi Yasak
On 2023-08-27 19:32 +03:00, Heinrich Schuchardt wrote: > Am 27. August 2023 16:56:51 MESZ schrieb Alper Nebi Yasak > : >> On 2023-08-25 22:28 +03:00, Simon Glass wrote: >>> so we must allow EFI to write directly to the hardware framebuffer. >> >> If you want a

Re: [PATCH 0/6] Attempt to enforce standard extensions for build output

2023-08-27 Thread Alper Nebi Yasak
On 2023-08-24 06:02 +03:00, Simon Glass wrote: > In this early stage of using binman to produce output files, we are mostly > seeing people using common extensions such as '.bin' and '.rom' > > But unusual extensions appear in some places. > > We would like 'buildman -k' to keep the build outputs

Re: [PATCH v2 3/7] qfw: Spawn ramfb device if its file is present

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-22 21:56 +03:00, Simon Glass wrote: > Hi Alper, > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > wrote: >> >> From: Alexander Graf >> >> Now that we have a ramfb device driver, let's add the necessary glueing >> magic to also spawn

Re: [PATCH v2 4/7] qfw: Add flag to allow probing before relocation

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-22 21:56 +03:00, Simon Glass wrote: > Hi Alper, > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > wrote: >> >> QEMU firmware config drivers need to be probed to bind the ramfb device. >> The ramfb driver needs to be bound before relocation to proper

Re: [PATCH v2 7/7] x86: qemu: Enable ramfb by default

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-22 21:56 +03:00, Simon Glass wrote: > Hi Alper, > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > wrote: >> >> Now that we have everything in place to support ramfb, let's wire it up >> by default in the x86 QEMU targets. That way, we can use ra

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-22 21:56 +03:00, Simon Glass wrote: > Hi Alper, > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > wrote: >> >> From: Alexander Graf >> >> Now that we have everything in place to support ramfb, let's wire it up >> by default in the A

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-28 20:54 +03:00, Simon Glass wrote: > Hi Alper, > On Mon, 28 Aug 2023 at 09:46, Alper Nebi Yasak > wrote: >> >> On 2023-08-22 21:56 +03:00, Simon Glass wrote: >>> Hi Alper, >>> >>> On Tue, 22 Aug 2023 at 06:10, Alper Nebi Y

Re: [PATCH v5 00/13] Add video damage tracking

2023-08-30 Thread Alper Nebi Yasak
;> make FB modifications actually pop up on screen. >>> >> Hmmm, so what function is it calling, then? I think we are getting >> closer to the 'fix' I am trying to tease out. > > It literally calls vidconsole_puts(): > > https://github.com/u-b

Re: [PATCH v5 11/13] video: Use VIDEO_DAMAGE for VIDEO_COPY

2023-08-30 Thread Alper Nebi Yasak
On 2023-08-21 23:06 +03:00, Alexander Graf wrote: > > On 21.08.23 21:11, Simon Glass wrote: >> Hi Alper, >> >> On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak >> wrote: >>> From: Alexander Graf >>> >>> CONFIG_VIDEO_COPY implemented

Re: [PATCH v5 10/13] video: Only dcache flush damaged lines

2023-08-30 Thread Alper Nebi Yasak
t;>>> >>>> On 21.08.23 21:11, Simon Glass wrote: >>>>> Hi Alper, >>>>> >>>>> On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak >>>>> wrote: >>>>>> From: Alexander Graf >>>>>> >&

Re: [PATCH v5 04/13] dm: video: Add damage tracking API

2023-08-30 Thread Alper Nebi Yasak
On 2023-08-21 22:11 +03:00, Simon Glass wrote: > On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak > wrote: >> >> From: Alexander Graf >> >> We are going to introduce image damage tracking to fasten up screen >> refresh on large displays. This patch a

Re: [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-31 Thread Alper Nebi Yasak
On 2023-08-30 10:33 +03:00, Ilias Apalodimas wrote: > Hi Alper, > > On Sun, 27 Aug 2023 at 18:49, Alper Nebi Yasak > wrote: >> >> On 2023-08-15 01:43 +03:00, Simon Glass wrote: >>> Hi Alper, >>> >>> On Mon, 14 Aug 2023 at 11:40, Alper Nebi

Re: [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-31 Thread Alper Nebi Yasak
On 2023-08-28 20:54 +03:00, Simon Glass wrote: > Hi Alper, > > On Sun, 27 Aug 2023 at 09:49, Alper Nebi Yasak > wrote: >> >> On 2023-08-15 01:43 +03:00, Simon Glass wrote: >>> Hi Alper, >>> >>> On Mon, 14 Aug 2023 at 11:40, Alper Nebi Yasak

Re: [PATCH 0/6] Attempt to enforce standard extensions for build output

2023-08-31 Thread Alper Nebi Yasak
On 2023-08-28 20:54 +03:00, Simon Glass wrote: > Hi Alper, > > On Sun, 27 Aug 2023 at 13:17, Alper Nebi Yasak > wrote: >> >> On 2023-08-24 06:02 +03:00, Simon Glass wrote: >>> In this early stage of using binman to produce output files, we are mostly >>

Re: [PATCH] Adjust gitignore for /build

2023-09-05 Thread Alper Nebi Yasak
On 2023-09-04 22:18 +05:30, Simon Glass wrote: > Hi Rong, > > On Sun, 3 Sept 2023 at 20:50, Rong Tao wrote: >> >> From: Rong Tao >> >> /build-* can't ignore /build. > > How does that directory get created? Most likely `make O=build` as an attempt to do out-of-tree builds? FWIW, I manually crea

Re: [PATCHv9 01/15] submodule: add lwIP as git submodule

2023-09-22 Thread Alper Nebi Yasak
On 2023-09-21 18:39 +03:00, Tom Rini wrote: > On Wed, Sep 20, 2023 at 07:03:07PM -0600, Simon Glass wrote: >> Hi Maxim, >> >> On Thu, 14 Sept 2023 at 10:20, Maxim Uvarov wrote: >>> >>> add external lwIP library as a git submodule. If we add submodules, they should point to mirrors on source.denx.

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Alper Nebi Yasak
On 2023-09-21 21:45 +03:00, Simon Glass wrote: > Binman[1] is a tool for creating firmware images. It allows you to > combine various binaries and place them in an output file. > > Binman uses a DT schema to describe an image, in enough detail that > it can be automatically built from component pa

Re: R: Pull request: u-boot-rockchip-20230728

2023-07-31 Thread Alper Nebi Yasak
Hi Kever, On 2023-07-31 04:27 +03:00, Kever Yang wrote: > I have send the review tag for these patches, but the patchwork does not > able to get my review mail, and not able to update the patch status to > reviewed, > > and that's why I missing this patch set. > > I will apply these patch manu

Re: [PATCH 2/2] schemas: Add a schema for binman

2023-08-03 Thread Alper Nebi Yasak
(I think I've strayed far away from schema/dtb side of things towards binman-the-program side, so I'm dropping Rob and devicetree@ from Cc). On 2023-07-20 22:55 +03:00, Simon Glass wrote: > On Thu, 20 Jul 2023 at 09:23, Alper Nebi Yasak > wrote: >> There's also

Re: [PATCH v2 2/2] schemas: Add a schema for binman

2023-08-03 Thread Alper Nebi Yasak
On 2023-07-20 22:56 +03:00, Simon Glass wrote: > With this version I have done with a generic name, in this case 'data', > as suggested by Alper Nebi Yasak. This may be controversial, but we may > as well have the dicussion now. I assume that there are no other > ongoing

Re: [PATCH 00/16] bootstd: Improve ChromiumOS support

2023-08-03 Thread Alper Nebi Yasak
Hi Simon, On 2023-07-30 20:16 +03:00, Simon Glass wrote: > The ChromiumOS bootmeth is fairly basic at present. It is able to boot > only x86 kernels and contains quite a few hard-coded offsets. > > This series tidies it up by bringing in some vboot structures and adding > support for ARM. > > It

Re: [PATCH 00/16] bootstd: Improve ChromiumOS support

2023-08-04 Thread Alper Nebi Yasak
(Note that I'm not objecting to merging the patchset as is, just detailing future work you/I might want to do for non-CrOS userspace support for this bootmeth.) On 2023-08-04 06:02 +03:00, Simon Glass wrote: > On Thu, 3 Aug 2023 at 15:31, Alper Nebi Yasak > wrote: >> I guess

Re: [PATCH] efi_loader: Increase default variable store size to 32K

2023-08-04 Thread Alper Nebi Yasak
Hi Ilias, On 2023-07-28 14:15 +03:00, Ilias Apalodimas wrote: > On Sat, 8 Jul 2023 at 18:21, Alper Nebi Yasak > wrote: >> >> Debian's arm64 UEFI Secure Boot shim makes the EFI variable store run >> out of space while mirroring its MOK database to variables. Th

[PATCH 0/3] arm: qemu: Enable Bochs, console buffering, USB keyboard

2023-08-08 Thread Alper Nebi Yasak
g/u-boot/20230723044041.1089804-1-bm...@tinylab.org/ Alper Nebi Yasak (3): arm: qemu: Enable Bochs video support arm: qemu: Enable PRE_CONSOLE_BUFFER arm: qemu: Enable usb keyboard as an input device arch/arm/Kconfig | 10 ++ board/emulation/qemu-arm/Kcon

[PATCH 1/3] arm: qemu: Enable Bochs video support

2023-08-08 Thread Alper Nebi Yasak
Commit 716161663ec49 ("riscv: qemu: Enable Bochs video support") enables a video console for QEMU RISC-V virtual machines using an emulated Bochs VGA card. Similarly, enable it for ARM virtual machines as well. Signed-off-by: Alper Nebi Yasak --- arch/arm/Kconfig

[PATCH 2/3] arm: qemu: Enable PRE_CONSOLE_BUFFER

2023-08-08 Thread Alper Nebi Yasak
-by: Alper Nebi Yasak --- Not sure about the address, here are select values from bdinfo and env: DRAM bank = 0x -> start= 0x4000 -> size = 0x0800 relocaddr = 0x476d6000 fdt_blob= 0x46595d90

[PATCH 3/3] arm: qemu: Enable usb keyboard as an input device

2023-08-08 Thread Alper Nebi Yasak
Commit 02be57caf730 ("riscv: qemu: Enable usb keyboard as an input device") adds PCI xHCI support to QEMU RISC-V virtual machines and enables using a USB keyboard as one of the input devices. Similarly, enable those for ARM virtual machines as well. Signed-off-by: Alper Nebi Yasak ---

[PATCH v2 0/4] arm: qemu: Enable Bochs, console buffering, USB keyboard

2023-08-14 Thread Alper Nebi Yasak
iya...@gmail.com/ Alper Nebi Yasak (4): arm: qemu: Enable Bochs video support arm: qemu: Enable PRE_CONSOLE_BUFFER arm: qemu: Enable usb keyboard as an input device doc: qemu: arm: Add a section on booting Linux distros arch/arm/Kconfig | 10 board/emulation/qemu-

[PATCH v2 1/4] arm: qemu: Enable Bochs video support

2023-08-14 Thread Alper Nebi Yasak
Commit 716161663ec49 ("riscv: qemu: Enable Bochs video support") enables a video console for QEMU RISC-V virtual machines using an emulated Bochs VGA card. Similarly, enable it for ARM virtual machines as well. Signed-off-by: Alper Nebi Yasak Reviewed-by: Bin Meng --- Changes in v2:

[PATCH v2 2/4] arm: qemu: Enable PRE_CONSOLE_BUFFER

2023-08-14 Thread Alper Nebi Yasak
-by: Alper Nebi Yasak Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Here are select values from bdinfo and env: DRAM bank = 0x -> start= 0x4000 -> size = 0x0800 relocaddr = 0x476d6000 fdt_blob= 0x

[PATCH v2 3/4] arm: qemu: Enable usb keyboard as an input device

2023-08-14 Thread Alper Nebi Yasak
Commit 02be57caf730 ("riscv: qemu: Enable usb keyboard as an input device") adds PCI xHCI support to QEMU RISC-V virtual machines and enables using a USB keyboard as one of the input devices. Similarly, enable those for ARM virtual machines as well. Signed-off-by: Alper Nebi Yasak R

[PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-14 Thread Alper Nebi Yasak
Add an example qemu-system-aarch64 command that can make U-Boot on QEMU boot into the Debian Installer, along with resulting console messages from U-Boot, based on the existing documentation section for the x86 version. Signed-off-by: Alper Nebi Yasak --- I actually want to put the root.img

Re: Boot failure triggered by USB on rockpro64-rk3399 and pinebook-pro-rk3399

2021-01-21 Thread Alper Nebi Yasak
On 21/01/2021 03:08, Vagrant Cascadian wrote: > It seems rockpro64-rk3399 and pinebook-pro-rk3399 fail to boot when usb > is started. It hangs indefinitely at: > > ## Flattened Device Tree blob at 01f0 > Booting using the fdt blob at 0x1f0 > > I have observed this also using 2020.1

[PATCH 0/3] binman: Make FIT image subentries respect offset, alignment and padding

2020-08-25 Thread Alper Nebi Yasak
esn't seem like skipping the padding was a deliberate choice, so here are some fixes I wrote for that. Alper Nebi Yasak (3): binman: Ignore hash*, signature* nodes in sections binman: Respect pad-before property of section subentries binman: Build FIT image subentries with the section ety

[PATCH 1/3] binman: Ignore hash*, signature* nodes in sections

2020-08-25 Thread Alper Nebi Yasak
Switch to str.startswith for matching like the FIT etype does since the current version doesn't ignore 'hash-1', 'hash-2', etc. Signed-off-by: Alper Nebi Yasak --- tools/binman/etype/section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/

[PATCH 2/3] binman: Respect pad-before property of section subentries

2020-08-25 Thread Alper Nebi Yasak
ff-by: Alper Nebi Yasak --- tools/binman/etype/section.py | 2 +- tools/binman/ftest.py | 8 +++ tools/binman/test/165_pad_in_sections.dts | 26 +++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tools/binman

[PATCH 3/3] binman: Build FIT image subentries with the section etype

2020-08-25 Thread Alper Nebi Yasak
u-boot { align = <0x1>; }; }; }; } Signed-off-by: Alper Nebi Yasak --- tools/binman/etype/fit.py | 22 +++ tools/binman/ft

Re: [PATCH 3/3] binman: Build FIT image subentries with the section etype

2020-08-30 Thread Alper Nebi Yasak
On 30/08/2020 00:20, Simon Glass wrote: > On Tue, 25 Aug 2020 at 12:01, Alper Nebi Yasak > wrote: >> super().__init__(section, etype, node) >> self._fit = None >> -self._fit_content = defaultdict(list) >> +self._fit_images = {}

Re: [PATCH 3/3] binman: Build FIT image subentries with the section etype

2020-08-30 Thread Alper Nebi Yasak
On 30/08/2020 23:37, Simon Glass wrote: > On Sun, 30 Aug 2020 at 12:17, Alper Nebi Yasak > wrote: >> Entry_section.ObtainContents() never returns False, so I'm removing the >> checks for that, which contained the statements the test didn't cover. > > If you put

[PATCH v2 0/3] binman: Make FIT image subentries respect offset, alignment and padding

2020-08-31 Thread Alper Nebi Yasak
s new test - Use 'section' instead of 'image' for FIT subimage sections - Also rename 'Members:' comment for the renamed _fit_content variable - Clarify comments around FIT subimage section/content processing - Don't check for section.ObtainContents() returning False (

[PATCH v2 1/3] binman: Ignore hash*, signature* nodes in sections

2020-08-31 Thread Alper Nebi Yasak
Switch to str.startswith for matching like the FIT etype does since the current version doesn't ignore 'hash-1', 'hash-2', etc. Signed-off-by: Alper Nebi Yasak --- Changes in v2: - Add test to check that sections ignore hash*, signature* nodes tool

[PATCH v2 2/3] binman: Respect pad-before property of section subentries

2020-08-31 Thread Alper Nebi Yasak
ff-by: Alper Nebi Yasak --- Changes in v2: - Move section padding test to the end of file - Renumber test to accommodate for the first patch's new test tools/binman/etype/section.py | 2 +- tools/binman/ftest.py | 8 +++ tools/binman/test/166_pad_in_se

[PATCH v2 3/3] binman: Build FIT image subentries with the section etype

2020-08-31 Thread Alper Nebi Yasak
u-boot { align = <0x1>; }; }; }; } Signed-off-by: Alper Nebi Yasak --- Changes in v2: - Renumber test to accommodate for the first patch's new t

Re: [PATCH] binman: Allow FIT binaries to have missing external blobs

2020-09-01 Thread Alper Nebi Yasak
0>; > + entry = <>; > + hash-1 { > + algo = "crc32"; > + }; > + hash-2 { > + algo = "sha1"; > + }; > + blob-ext { > + filename = "missing"; > + }; > + }; > + }; > + }; > + u-boot-nodtb { > + }; > + }; > +}; Anyway, feel free to add if you need to: Reviewed-by: Alper Nebi Yasak (or Acked-by, or neither)

[PATCH] buildman: Use git worktrees instead of git clones

2020-09-02 Thread Alper Nebi Yasak
the source repository. See the git-worktree(1) manual page for more information. Signed-off-by: Alper Nebi Yasak --- The git-worktree is available since about 2015 (git v2.5), but its manual page mentions this in its BUGS section: Multiple checkout in general is still experimental, and the s

Re: [PATCH] buildman: Use git worktrees instead of git clones

2020-09-02 Thread Alper Nebi Yasak
On 02/09/2020 20:07, Simon Glass wrote: > It looks like that version of git was not in Ubuntu 14.04 but appeared > in 16.04. I've just done some patches to make patman work in 14.04, so > I'd prefer to keep buildman working for that also. I'll keep that in mind. Looks like Ubuntu 14.04 has python

[PATCH v2] buildman: Use git worktrees instead of git clones when possible

2020-09-03 Thread Alper Nebi Yasak
the source repository. See the git-worktree(1) manual page for more information. If git-worktree isn't available, silently falls back to cloning the repository. Signed-off-by: Alper Nebi Yasak --- I used 'git worktree list's return code, since 'git worktree' returns n

[PATCH 2/3] binman: Use target-specific tools when cross-compiling

2020-09-05 Thread Alper Nebi Yasak
nd the format of the x86 ELF file. This also adjusts some command.Output() calls that caused test errors or failures to use the target versions of the tools they call. After this, patch, an arm64 host can run all tests with no errors or failures using a correct CROSS_COMPILE value. Signed-off-by

[PATCH 1/3] binman: Support cross-compiling test files to x86

2020-09-05 Thread Alper Nebi Yasak
ling this Makefile, so it's better just raise an error and expect 'binman test' to be run with a correct CROSS_COMPILE. Signed-off-by: Alper Nebi Yasak --- tools/binman/test/Makefile | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/t

[PATCH 3/3] binman: Allow resolving host-specific tools from env vars

2020-09-05 Thread Alper Nebi Yasak
This patch lets tools.Run() use host-specific versions with the for_host keyword argument, based on the host-specific environment variables (HOSTCC, HOSTOBJCOPY, HOSTSTRIP, etc.). Signed-off-by: Alper Nebi Yasak --- Not sure if this patch will ever be useful, but it complements the previous

[PATCH 0/3] binman: Make tests work on non-x86 architectures via cross-compilation

2020-09-05 Thread Alper Nebi Yasak
27;t be prepared for an architecture, but that affects the test coverage results. In any case, this series doesn't really prevent these other solutions from being implemented on top of it. Alper Nebi Yasak (3): binman: Support cross-compiling test files to x86 binman: Use target-specific t

Re: [PATCH 1/3] binman: Support cross-compiling test files to x86

2020-09-05 Thread Alper Nebi Yasak
On 05/09/2020 19:36, Simon Glass wrote: > For me this fails on x86_64, complaining for example: > > Exception: Error 2 running 'make -C /tmp/binmant.d17vfu3j/elftest -f > /scratch/sglass/cosarm/src/third_party/u-boot/files/tools/binman/test/Makefile > SRC=/scratch/sglass/cosarm/src/third_party/u-b

Re: [PATCH 2/3] binman: Use target-specific tools when cross-compiling

2020-09-05 Thread Alper Nebi Yasak
On 05/09/2020 19:37, Simon Glass wrote: > This looks good, but it drops the use of DTC to specify the > device-tree compiler. Can you add it back? I think you're referring to this hunk: > # If we don't have a directory, put it in the tools tempdir > search_list = [] > for path in s

Re: [PATCH 3/3] binman: Allow resolving host-specific tools from env vars

2020-09-05 Thread Alper Nebi Yasak
On 05/09/2020 19:37, Simon Glass wrote: > Please see below. > > Also please add a mention of the CROSS_COMPILE thing in binman's README. > >> +def GetHostCompileTool(name): >> +"""Get the host-specific version for a compile tool >> + >> +This checks the environment variables that specify

[PATCH v2 0/4] binman: Make tests work on non-x86 architectures via cross-compilation

2020-09-06 Thread Alper Nebi Yasak
/patchwork.ozlabs.org/project/uboot/list/?series=199707 Alper Nebi Yasak (4): binman: Support cross-compiling test files to x86 binman: Use target-specific tools when cross-compiling binman: Allow resolving host-specific tools from env vars binman: Document how CROSS_COMPILE, CC, HOSTC

[PATCH v2 1/4] binman: Support cross-compiling test files to x86

2020-09-06 Thread Alper Nebi Yasak
ling this Makefile, so it's better just raise an error and expect 'binman test' to be run with a correct CROSS_COMPILE. Signed-off-by: Alper Nebi Yasak --- Changes in v2: - Fix detecting architecture (HOST_ARCH should've been HOSTARCH) - Remove Makefile variables for unused t

[PATCH v2 2/4] binman: Use target-specific tools when cross-compiling

2020-09-06 Thread Alper Nebi Yasak
nd the format of the x86 ELF file. This also adjusts some command.Output() calls that caused test errors or failures to use the target versions of the tools they call. After this, patch, an arm64 host can run all tests with no errors or failures using a correct CROSS_COMPILE value. Signed-off-b

[PATCH v2 3/4] binman: Allow resolving host-specific tools from env vars

2020-09-06 Thread Alper Nebi Yasak
This patch lets tools.Run() use host-specific versions with the for_host keyword argument, based on the host-specific environment variables (HOSTCC, HOSTOBJCOPY, HOSTSTRIP, etc.). Signed-off-by: Alper Nebi Yasak Reviewed-by: Simon Glass --- Changes in v2: - Add a table of host-specific

  1   2   3   4   5   >