Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-03 Thread yanhong wang
On 2023/5/2 21:24, Heinrich Schuchardt wrote: > On 5/2/23 15:11, Andreas Schwab wrote: >> On Mai 02 2023, Matthias Brugger wrote: >> >>> I'm not sure I get your point. The devicetree will be passed to the kernel >>> via a pointer in a register, the kernel does not need to load the >>>

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-02 Thread Heinrich Schuchardt
On 5/2/23 15:11, Andreas Schwab wrote: On Mai 02 2023, Matthias Brugger wrote: I'm not sure I get your point. The devicetree will be passed to the kernel via a pointer in a register, the kernel does not need to load the devicetree into memory, it will use the one passed by U-Boot. But U-Boot

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-02 Thread Andreas Schwab
On Mai 02 2023, Matthias Brugger wrote: > I'm not sure I get your point. The devicetree will be passed to the kernel > via a pointer in a register, the kernel does not need to load the > devicetree into memory, it will use the one passed by U-Boot. But U-Boot needs to load it, and the kernel is

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-02 Thread Matthias Brugger
On 02/05/2023 14:41, Andreas Schwab wrote: On Apr 14 2023, Matthias Brugger wrote: My opinion isIn my opinion user-friendlyness is more important then developer friendly that from an end-user point of view it's much easier to have one binary that works on all different board versions. If

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-02 Thread Andreas Schwab
On Apr 14 2023, Matthias Brugger wrote: > My opinion isIn my opinion user-friendlyness is more important then > developer friendly that from an end-user point of view it's much easier to > have one binary that works on all different board versions. If not users > will have to know which board

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-19 Thread Leo Liang
Hi YanHong, Torsten, Matthias, On Thu, Apr 13, 2023 at 06:05:56PM +0800, yanhong wang wrote: > > > On 2023/4/13 17:03, Torsten Duwe wrote: > > On Thu, 13 Apr 2023 10:05:28 +0800 > > yanhong wang wrote: > > > >> the definition of DT refers to Linux and is consistent with the definition > >>

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-14 Thread Matthias Brugger
On 13/04/2023 12:05, yanhong wang wrote: On 2023/4/13 17:03, Torsten Duwe wrote: On Thu, 13 Apr 2023 10:05:28 +0800 yanhong wang wrote: the definition of DT refers to Linux and is consistent with the definition framework of Linux. This is one of the desired goals, to avoid confusion,

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-13 Thread yanhong wang
On 2023/4/13 17:03, Torsten Duwe wrote: > On Thu, 13 Apr 2023 10:05:28 +0800 > yanhong wang wrote: > >> the definition of DT refers to Linux and is consistent with the definition >> framework of Linux. > > This is one of the desired goals, to avoid confusion, usually. But note there > are

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-13 Thread Torsten Duwe
On Thu, 13 Apr 2023 10:05:28 +0800 yanhong wang wrote: > the definition of DT refers to Linux and is consistent with the definition > framework of Linux. This is one of the desired goals, to avoid confusion, usually. But note there are already the -u-boot.dtsi files; in this case it would be

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-12 Thread yanhong wang
On 2023/4/13 1:50, Torsten Duwe wrote: > On Wed, 29 Mar 2023 18:16:20 +0800 > yanhong wang wrote: > >> >> >> On 2023/3/29 17:41, Torsten Duwe wrote: >> > On Wed, 29 Mar 2023 11:42:07 +0800 >> > Yanhong Wang wrote: >> > >> >> v5: >> > [...] >> >> - Splitted starfive_visionfive2_defconfig

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-12 Thread Torsten Duwe
On Wed, 29 Mar 2023 18:16:20 +0800 yanhong wang wrote: > > > On 2023/3/29 17:41, Torsten Duwe wrote: > > On Wed, 29 Mar 2023 11:42:07 +0800 > > Yanhong Wang wrote: > > > >> v5: > > [...] > >> - Splitted starfive_visionfive2_defconfig into > >> starfive_visionfive2_12a_defconfig > >> and

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-03-29 Thread Torsten Duwe
On Wed, 29 Mar 2023 18:16:20 +0800 yanhong wang wrote: > > > On 2023/3/29 17:41, Torsten Duwe wrote: > > On Wed, 29 Mar 2023 11:42:07 +0800 > > Yanhong Wang wrote: > > > >> v5: > > [...] > >> - Splitted starfive_visionfive2_defconfig into > >> starfive_visionfive2_12a_defconfig > >> and

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-03-29 Thread yanhong wang
On 2023/3/29 17:41, Torsten Duwe wrote: > On Wed, 29 Mar 2023 11:42:07 +0800 > Yanhong Wang wrote: > >> v5: > [...] >> - Splitted starfive_visionfive2_defconfig into >> starfive_visionfive2_12a_defconfig >> and starfive_visionfive2_13b_defconfig. > > Is this really necessary? It puts

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-03-29 Thread Torsten Duwe
On Wed, 29 Mar 2023 11:42:07 +0800 Yanhong Wang wrote: > v5: [...] > - Splitted starfive_visionfive2_defconfig into > starfive_visionfive2_12a_defconfig > and starfive_visionfive2_13b_defconfig. Is this really necessary? It puts another burden on people building U-Boot, distribution

[PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-03-28 Thread Yanhong Wang
This series of patches base on the latest branch/master, and add support for the StarFive JH7110 RISC-V SoC and VisionFive V2 board. In order for this to be achieved, the respective DT nodes have been added, and the required defconfigs have been added to the boards' defconfig. What is more, the