Re: Aw: Re: Re: distro_boot vs. env-based bootmenu

2023-07-01 Thread Jonas Karlman
Hi Frank, On 2023-06-30 19:51, Frank Wunderlich wrote: > Hi Jonas > > sorry for the delay. i came back to this and tried your way. Thx for your > information...there is no real example in the docs (or i didn't found it) for > manual trigger the extlinux-boot, so your information helps a lot. >

Aw: Re: distro_boot vs. env-based bootmenu

2023-07-01 Thread Frank Wunderlich
Hi thanks for your anser > Gesendet: Samstag, 01. Juli 2023 um 04:08 Uhr > Von: "AKASHI Takahiro" > Hi, > > On Wed, Apr 12, 2023 at 11:22:23AM +0200, Frank Wunderlich wrote: > > Hi, > > > > i try to move from distro-boot (extlinux-config files) to an env-based > > bootmenu (builtin-environment)

Aw: Re: Re: Re: distro_boot vs. env-based bootmenu

2023-07-01 Thread Frank Wunderlich
Hi Jonas thx again for your valuable answer > Gesendet: Samstag, 01. Juli 2023 um 10:12 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" > Cc: "Simon Glass" , "U-Boot Mailing List" > , "Heinrich Schuchardt" > , "Ilias Apalodimas" > > Betreff: Re: Aw: Re: Re: distro_boot vs. env-based boo

Re: [PATCH v4] dt-bindings: riscv: deprecate riscv,isa

2023-07-01 Thread Conor Dooley
On Sat, Jul 01, 2023 at 01:01:40PM +0200, Andrew Jones wrote: > On Fri, Jun 30, 2023 at 07:04:04PM +0100, Conor Dooley wrote: > > From: Conor Dooley > ... > > +oneOf: > > + - required: > > + - riscv,isa > > + - required: > > + - riscv,isa-base > > + > > I guess this means a DT must ha

How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Mario Marietto
Hello. I would like to enable KVM virtualization on my old ARM Chromebook laptop,based on the Exynos5250 arm 32 bit cpu aka snow,model xe303c12. The first thing I did has been to dd the image below directly on the sd card : https://github.com/hexdump0815/imagebuilder/releases/download/220619-01/c

Re: [PATCH v4] dt-bindings: riscv: deprecate riscv,isa

2023-07-01 Thread Andrew Jones
On Fri, Jun 30, 2023 at 07:04:04PM +0100, Conor Dooley wrote: > From: Conor Dooley ... > +oneOf: > + - required: > + - riscv,isa > + - required: > + - riscv,isa-base > + I guess this means a DT must have either isa or isa-base, but not both. What should QEMU and other platforms which

Re: How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Peter Robinson
On Sat, Jul 1, 2023 at 1:25 PM Mario Marietto wrote: > > Hello. > > I would like to enable KVM virtualization on my old ARM Chromebook > laptop,based on the Exynos5250 arm 32 bit cpu aka snow,model xe303c12. Upstream Linux kernel dropped support for running virt on 32 bit hosts (you can still run

Re: How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Mario Marietto
Excuse me. The problem is not the kernel version that I'm running,but how to use the unverified u-boot created by virtual open systems to chainload the kernel of whatever used to boot one recent ISO image created by hexdump0815. Because it contains the code to put the chromebook in hypervisor mode.

Re: How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Peter Robinson
On Sat, Jul 1, 2023 at 1:40 PM Mario Marietto wrote: > > Excuse me. The problem is not the kernel version that I'm running,but how to > use the unverified u-boot created by virtual open systems to chainload the > kernel of whatever used to boot one recent ISO image created by hexdump0815. > Bec

Re: How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Mario Marietto
Some days ago I successfully compiled the kernel version. 5.4.244 with all the kvm flags enabled and the exynos 5250-snow.dtb file. On Sat, Jul 1, 2023 at 2:46 PM Peter Robinson wrote: > On Sat, Jul 1, 2023 at 1:40 PM Mario Marietto > wrote: > > > > Excuse me. The problem is not the kernel vers

[PATCH 2/2] ARM: arm11: Add C wrapper for allow_unaligned()

2023-07-01 Thread Marek Vasut
Rename current assembler implementation of allow_unaligned() to arm11_arch_cp15_allow_unaligned() and add it into arm11.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot, where the CPU specific allow_unaligned() implementation was ignored and instead the

[PATCH 1/2] ARM: armv7: Add C wrapper for allow_unaligned()

2023-07-01 Thread Marek Vasut
Rename current assembler implementation of allow_unaligned() to v7_arch_cp15_allow_unaligned() and add it into armv7.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot on ARMv7a i.MX6Q, where the CPU specific allow_unaligned() implementation was ignored a

Re: [PATCH v2 1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end

2023-07-01 Thread Marek Vasut
On 7/1/23 04:30, Fabio Estevam wrote: From: Fabio Estevam Pass _image_binary_end to make a standard way to indicate the end of the text section in SPL. The motivation for this is to have a uniform way to handle the SPL boundary checks. Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut

Re: [PATCH v2 2/3] microblaze: u-boot-spl.lds: Pass _image_binary_end

2023-07-01 Thread Marek Vasut
On 7/1/23 04:30, Fabio Estevam wrote: From: Fabio Estevam Pass _image_binary_end to make a standard way to indicate the end of the text section in SPL. The motivation for this is to have a uniform way to handle the SPL boundary checks. Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut

Re: [PATCH v2 3/3] spl: spl_legacy: Fix spl_end address

2023-07-01 Thread Marek Vasut
On 7/1/23 04:30, Fabio Estevam wrote: From: Fabio Estevam Currently, spl_end points to the __bss_end address, which is an external RAM address instead of the end of the SPL text section in the internal RAM. This causes boot failures on imx6-colibri, for example: ``` Trying to boot from MMC1 S

Re: How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Mario Marietto
ok. Can we come back to the main problem,please ? Is there a method to do what I want ? Is there some kind of technique ? Very thanks. On Sat, Jul 1, 2023 at 2:57 PM Mario Marietto wrote: > Some days ago I successfully compiled the kernel version. 5.4.244 with all > the kvm flags enabled and the

Re: [PATCH 1/2] ARM: armv7: Add C wrapper for allow_unaligned()

2023-07-01 Thread Heinrich Schuchardt
On 7/1/23 15:00, Marek Vasut wrote: Rename current assembler implementation of allow_unaligned() to v7_arch_cp15_allow_unaligned() and add it into armv7.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot on ARMv7a i.MX6Q, where the CPU specific allow_un

Re: [PATCH 1/2] ARM: armv7: Add C wrapper for allow_unaligned()

2023-07-01 Thread Marek Vasut
On 7/1/23 16:57, Heinrich Schuchardt wrote: On 7/1/23 15:00, Marek Vasut wrote: Rename current assembler implementation of allow_unaligned() to v7_arch_cp15_allow_unaligned() and add it into armv7.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot on A

[PATCH v2 1/2] ARM: armv7: Add C wrapper for allow_unaligned()

2023-07-01 Thread Marek Vasut
Rename current assembler implementation of allow_unaligned() to v7_arch_cp15_allow_unaligned() and add it into armv7.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot on ARMv7a i.MX6Q, where the CPU specific allow_unaligned() implementation was ignored a

[PATCH v2 2/2] ARM: arm11: Add C wrapper for allow_unaligned()

2023-07-01 Thread Marek Vasut
Rename current assembler implementation of allow_unaligned() to arm11_arch_cp15_allow_unaligned() and add it into arm11.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot, where the CPU specific allow_unaligned() implementation was ignored and instead the

Pull request efi-2023-07-rc6

2023-07-01 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 5fa30f2351ac3c0458069896bc868eae927df410: smegw01: Fix wrong symbol override (2023-06-29 09:55:50 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2023-07-rc6 for you to fetch chang

Re: How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

2023-07-01 Thread Mario Marietto
Hello. I've been able to understand what was the X variable,the component that allows the hexdump0815 ubuntu iso images to boot correctly : it is syslinux. So,now I know what I should do : to try to chainload the u-boot installed on the first partition with syslinux,installed on the 4 partition I

Re: [PATCH] bootstd: USB devtype detection for script boot

2023-07-01 Thread Simon Glass
On Fri, 30 Jun 2023 at 18:50, John Clark wrote: > > Change the device type from "usb_mass_storage" to "usb" when > booting a script. > > Before this change: >=> printenv devtype >devtype=usb_mass_storage > > After this change: >=> printenv devtype >devtype=usb > > Signed-off-by: Jo

Re: [PATCH] bootstd: USB devtype detection for script boot

2023-07-01 Thread Simon Glass
On Sat, 1 Jul 2023 at 20:10, Simon Glass wrote: > > On Fri, 30 Jun 2023 at 18:50, John Clark wrote: > > > > Change the device type from "usb_mass_storage" to "usb" when > > booting a script. > > > > Before this change: > >=> printenv devtype > >devtype=usb_mass_storage > > > > After this

[PATCH v5] dt-bindings: riscv: deprecate riscv,isa

2023-07-01 Thread Conor Dooley
From: Conor Dooley intro = When the RISC-V dt-bindings were accepted upstream in Linux, the base ISA etc had yet to be ratified. By the ratification of the base ISA, incompatible changes had snuck into the specifications - for example the Zicsr and Zifencei extensions were spun out of the ba

[PATCH v2] ARM: imx: romapi: Fix signed integer bitwise ops misuse

2023-07-01 Thread Marek Vasut
Bitwise operations on signed integers are not defined, replace them with per-call checks. Reviewed-by: Peng Fan Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Fabio Estevam Cc: Heiko Schocher Cc: Heinrich Schuchardt Cc: Rasmus Villemoes Cc: Simon Glass Cc: Stefano Babic Cc:

Re: [PATCH] usb: dwc3-generic: Ensure reset GPIO is configured as an output

2023-07-01 Thread Marek Vasut
On 6/28/23 14:26, Peter Korsgaard wrote: GPIOD_ACTIVE_LOW is not enough to configure a GPIO as an output, we need GPIOD_IS_OUT as well. Fixes: b252d79b0936d60b ("usb: dwc3: Add support to reset usb ULPI phy") Signed-off-by: Peter Korsgaard Applied to usb/master, thanks !