Re: [PATCH 1/1] cmd: bootefi: allocate device-tree copy from high memory

2023-02-23 Thread Alexandre Ghiti
27;s copy of the device-tree. This means > there is not restriction for U-Boot to place the device-tree copy to any > address. (Restrictions existed for 32bit ARM before Linux commit > 7a1be318f579 ("ARM: 9012/1: move device tree mapping out of linear region") > for leg

Re: bootefi issue

2023-02-23 Thread Alexandre Ghiti
On Thu, Feb 23, 2023 at 4:57 PM Heinrich Schuchardt wrote: > > On 2/23/23 14:38, Alexandre Ghiti wrote: > > Hi Heinrich, > > > > I fell into an issue in u-boot, and I struggle to find the correct > > fix: I'm loading a kernel of 66MB at kernel_addr_r (=0x8400_

Re: [PATCH] riscv: Fix build against binutils 2.38

2022-04-12 Thread Alexandre Ghiti
Hi Leo, On Thu, Apr 7, 2022 at 11:13 AM Leo Liang wrote: > > Hi Alex, > On Thu, Mar 10, 2022 at 09:03:08AM +0100, Alexandre Ghiti wrote: > > Hi Leo, > > > > On Wed, Mar 9, 2022 at 7:31 AM Leo Liang wrote: > > > > > > Hi Alex, > > > On

Re: [PATCH] riscv: Fix build against binutils 2.38

2022-03-10 Thread Alexandre Ghiti
Hi Leo, On Wed, Mar 9, 2022 at 7:31 AM Leo Liang wrote: > > Hi Alex, > On Thu, Mar 03, 2022 at 11:06:18AM +, Leo Liang wrote: > > Hi Alex, > > On Tue, Mar 01, 2022 at 03:21:56AM +, Leo Liang wrote: > > > Hi Alex, > > > On Mon, Feb 21, 2022 at

Re: [PATCH] riscv: Fix build against binutils 2.38

2022-02-21 Thread Alexandre Ghiti
On Sat, Feb 19, 2022 at 9:52 AM Leo Liang wrote: > > Hi Alex, > On Thu, Feb 17, 2022 at 11:28:46AM +0100, Alexandre Ghiti wrote: > > Hi Leo, > > > > On Thu, Feb 17, 2022 at 10:25 AM Leo Liang wrote: > > > > > > Hi Alexandre, > > > On Fri, J

Re: [PATCH] riscv: Fix build against binutils 2.38

2022-02-17 Thread Alexandre Ghiti
Hi Leo, On Thu, Feb 17, 2022 at 10:25 AM Leo Liang wrote: > > Hi Alexandre, > On Fri, Jan 28, 2022 at 02:47:13PM +0100, Alexandre Ghiti wrote: > > The following description is copied from the equivalent patch for the > > Linux Kernel proposed by Aurelien Jarno: >

[PATCH] riscv: Fix build against binutils 2.38

2022-01-28 Thread Alexandre Ghiti
cognized opcode `csrr a1,sepc' arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval' arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0' Signed-off-by: Alexandre Ghiti --- arch/riscv/Makefile | 11 ++- 1 file changed, 10 insertions(+), 1 de

Re: [PATCH 1/1] disk: gpt: print all partitions

2022-01-14 Thread Alexandre Ghiti
partition 1 was listed by 'part list'. > > Fixes: 38a3021edc54 ("disk: part_efi: remove indent level from loop") > Reported-by: Alexandre Ghiti > Signed-off-by: Heinrich Schuchardt > --- > disk/part_efi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH 1/1] board: sifive: unmatched: enlarge CONFIG_SYS_SPL_MALLOC_SIZE

2021-10-19 Thread Alexandre Ghiti
On Tue, Oct 19, 2021 at 10:55 AM Bin Meng wrote: > > On Tue, Oct 19, 2021 at 4:32 PM Alexandre Ghiti > wrote: > > > > Hi, > > > > On Fri, Oct 1, 2021 at 5:35 PM Bin Meng wrote: > > > > > > Hi Heinrich, > > > > >

Re: [PATCH 1/1] board: sifive: unmatched: enlarge CONFIG_SYS_SPL_MALLOC_SIZE

2021-10-19 Thread Alexandre Ghiti
Hi, On Fri, Oct 1, 2021 at 5:35 PM Bin Meng wrote: > > Hi Heinrich, > > On Fri, Oct 1, 2021 at 7:37 PM Heinrich Schuchardt > wrote: > > > > Avoid an error like > > > > Could not get FIT buffer of 1725952 bytes > > check CONFIG_SYS_SPL_MALLOC_SIZE > > No device tree specified

Re: [PATCH v2 0/4] Add reset support to HiFive Unmatched

2021-10-04 Thread Alexandre Ghiti
On Fri, Sep 24, 2021 at 10:42 AM Alexandre Ghiti wrote: > > As there is no GPIO to reset the HiFive Unmatched board, we must directly > ask the da9063 PMIC for a reset: this small patchset adds the corresponding > sysreset driver and enables it for this board. > > As the p

[PATCH v2 4/4] riscv: Enable da9063 sysreset driver on HiFive Unmatched

2021-09-24 Thread Alexandre Ghiti
The Unmatched board comes with the da9063 PMIC that is used to reset the board: add this driver in its config and a corresponding entry to its device-tree. Signed-off-by: Alexandre Ghiti --- arch/riscv/dts/hifive-unmatched-a00.dts | 4 configs/sifive_unmatched_defconfig | 2 ++ 2

[PATCH v2 3/4] drivers: pmic: Add sysreset driver for da9063 PMIC

2021-09-24 Thread Alexandre Ghiti
st_id=10052#tab-support_tab_content Signed-off-by: Alexandre Ghiti --- drivers/power/pmic/da9063.c | 51 - include/power/da9063_pmic.h | 1 + 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/drivers/power/pmic/da9063.c b/drivers/power/pmic/da9

Re: [PATCH] drivers: pmic: Add sysreset driver to da9063 pmic device

2021-09-24 Thread Alexandre Ghiti
Hi Jaehoon, On Thu, Sep 23, 2021 at 2:23 PM Jaehoon Chung wrote: > > Hi Alexandre, > > On 9/21/21 12:48 AM, Alexandre Ghiti wrote: > > This pmic device is present on the SiFive Unmatched board and this > > new driver adds the possibility to reset it. > > Is there

[PATCH v2 2/4] dt-bindings: power: Add new da9063 sysreset subdevice bindings

2021-09-24 Thread Alexandre Ghiti
The sysreset driver for the da9063 will need some new bindings: add them now to the device documentation. Signed-off-by: Alexandre Ghiti --- doc/device-tree-bindings/power/da9063.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/device-tree-bindings/power/da9063.txt b/doc

[PATCH v2 1/4] dt-bindings: power: Add da9063 PMIC device bindings

2021-09-24 Thread Alexandre Ghiti
This new device tree binding documentation is largely inspired by the Linux Kernel same document, minus the unimplemented devices and properties. Signed-off-by: Alexandre Ghiti --- doc/device-tree-bindings/power/da9063.txt | 62 +++ 1 file changed, 62 insertions(+) create

[PATCH v2 0/4] Add reset support to HiFive Unmatched

2021-09-24 Thread Alexandre Ghiti
. Changes in v2: - Add device tree probing as suggested by Heinrich - Rebased onto master Alexandre Ghiti (4): dt-bindings: power

Re: [PATCH 1/1] doc: add system reset to API documentation

2021-09-23 Thread Alexandre Ghiti
On Thu, Sep 23, 2021 at 11:12 AM Heinrich Schuchardt wrote: > > Complete the Sphinx documentation in include/sysreset.h > Add the include to the generated HTML documentation of the U-Boot API. > > Signed-off-by: Heinrich Schuchardt > --- > doc/api/index.rst| 1 + > doc/api/sysreset.rst | 7

Re: [PATCH] drivers: pmic: Add sysreset driver to da9063 pmic device

2021-09-22 Thread Alexandre Ghiti
On Tue, Sep 21, 2021 at 9:23 AM Heinrich Schuchardt wrote: > > > > On 9/20/21 5:48 PM, Alexandre Ghiti wrote: > > This pmic device is present on the SiFive Unmatched board and this > > new driver adds the possibility to reset it. > > > > Signed-off-by: Al

[PATCH] drivers: pmic: Add sysreset driver to da9063 pmic device

2021-09-20 Thread Alexandre Ghiti
This pmic device is present on the SiFive Unmatched board and this new driver adds the possibility to reset it. Signed-off-by: Alexandre Ghiti --- configs/sifive_unmatched_defconfig | 2 ++ drivers/power/pmic/da9063.c| 49 ++ 2 files changed, 51 insertions