Message ID | cover.1712205900.git.ysato@users.sourceforge.jp (mailing list archive) |
---|---|
Headers | show |
Series | Device Tree support for SH7751 based board | expand |
On Thu, Apr 04, 2024 at 01:59:25PM +0900, Yoshinori Sato wrote: > This is an updated version of something I wrote about 7 years ago. > Minimum support for R2D-plus and LANDISK. > I think R2D-1 will work if you add AX88796 to dts. > And board-specific functions and SCI's SPI functions are not supported. > > You can get it working with qemu found here. > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk Why send this as one huge series? These are the mailing lists that you have on CC: linux-ide, devicetree, linux-kernel, linux-renesas-soc, linux-clk, dri-devel, linux-pci, linux-serial, linux-fbdev I really think that you will be able to get all these changes accepted much faster if you split this series in to one series per subsystem/mailing list. Kind regards, Niklas
On Thu, Apr 04, 2024 at 01:59:25PM +0900, Yoshinori Sato wrote: > This is an updated version of something I wrote about 7 years ago. > Minimum support for R2D-plus and LANDISK. > I think R2D-1 will work if you add AX88796 to dts. > And board-specific functions and SCI's SPI functions are not supported. My comments/questions from https://lore.kernel.org/r/20231120181600.GA205977@bhelgaas https://lore.kernel.org/r/20231016172742.GA1215127@bhelgaas still apply.
On 4/4/24 00:14, Yoshinori Sato wrote: > Sorry. previus mail is thread broken. > > This is an updated version of something I wrote about 7 years ago. > Minimum support for R2D-plus and LANDISK. > I think R2D-1 will work if you add AX88796 to dts. > And board-specific functions and SCI's SPI functions are not supported. > > You can get it working with qemu found here. > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk I was hoping to get a device tree kernel to boot with static device tree on the existing linux-sh qemu. (The main new features I want from an updated sh4 qemu are a working battery backed up clock and more physical memory...) Is there somewhere I can get the kernel patch list in git or something? I haven't got tooling set up to conveniently fish 37 patches out of an mbox file, and would like to test this. (I moved last month and my physical sh7751 hardware is in a storage container.) Thanks, Rob
Hi Rob, On Fri, Apr 5, 2024 at 2:09 PM Rob Landley <rob@landley.net> wrote: > On 4/4/24 00:14, Yoshinori Sato wrote: > > This is an updated version of something I wrote about 7 years ago. > > Minimum support for R2D-plus and LANDISK. > > I think R2D-1 will work if you add AX88796 to dts. > > And board-specific functions and SCI's SPI functions are not supported. > > > > You can get it working with qemu found here. > > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk > > I was hoping to get a device tree kernel to boot with static device tree on the > existing linux-sh qemu. (The main new features I want from an updated sh4 qemu > are a working battery backed up clock and more physical memory...) > > Is there somewhere I can get the kernel patch list in git or something? I > haven't got tooling set up to conveniently fish 37 patches out of an mbox file, > and would like to test this. (I moved last month and my physical sh7751 hardware > is in a storage container.) b4 am fe69e328ec617f91a09fa2d00506ba1a664085d8.1712207606.git.ysato@users.sourceforge.jp git am ./v7_20240404_ysato_sh_passing_fdt_address_to_kernel_startup.mbx Gr{oetje,eeting}s, Geert
On 4/5/24 07:21, Geert Uytterhoeven wrote: > Hi Rob, > > On Fri, Apr 5, 2024 at 2:09 PM Rob Landley <rob@landley.net> wrote: >> On 4/4/24 00:14, Yoshinori Sato wrote: >> > This is an updated version of something I wrote about 7 years ago. >> > Minimum support for R2D-plus and LANDISK. >> > I think R2D-1 will work if you add AX88796 to dts. >> > And board-specific functions and SCI's SPI functions are not supported. >> > >> > You can get it working with qemu found here. >> > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk >> >> I was hoping to get a device tree kernel to boot with static device tree on the >> existing linux-sh qemu. (The main new features I want from an updated sh4 qemu >> are a working battery backed up clock and more physical memory...) >> >> Is there somewhere I can get the kernel patch list in git or something? I >> haven't got tooling set up to conveniently fish 37 patches out of an mbox file, >> and would like to test this. (I moved last month and my physical sh7751 hardware >> is in a storage container.) > > b4 am fe69e328ec617f91a09fa2d00506ba1a664085d8.1712207606.git.ysato@users.sourceforge.jp > git am ./v7_20240404_ysato_sh_passing_fdt_address_to_kernel_startup.mbx $ b4 bash: b4: command not found $ aptitude show b4 E: Unable to locate package b4 $ aptitude search b4 p b43-fwcutter - utility for extracting Broadcom 43xx firmw ... Let's see, google says it's a random python3 tool, probably wants a newer python3 version than I've got because everything that uses python3 does, it says "you can run it directly from the git repository"... $ ./b4.sh Traceback (most recent call last): File "/home/landley/b4/src/b4/command.py", line 10, in <module> import b4 File "/home/landley/b4/src/b4/__init__.py", line 37, in <module> from typing import Optional, Tuple, Set, List, BinaryIO, Union, Sequence, Literal, Iterator, Dict ImportError: cannot import name 'Literal' from 'typing' (/usr/lib/python3.7/typing.py) Oh well. Good luck with your patches, hope it works out. Rob
On Fri, 2024-04-05 at 07:17 -0500, Rob Landley wrote: > Is there somewhere I can get the kernel patch list in git or something? I > haven't got tooling set up to conveniently fish 37 patches out of an mbox file, > and would like to test this. (I moved last month and my physical sh7751 hardware > is in a storage container.) Try the tool "b4" which allows you to download the patch set as an mbox file. The mbox file can be applied with "git am <mbox file>". Adrian
On Fri, 2024-04-05 at 13:57 -0500, Rob Landley wrote: > $ b4 > bash: b4: command not found > $ aptitude show b4 > E: Unable to locate package b4 > $ aptitude search b4 > p b43-fwcutter - utility for extracting Broadcom 43xx firmw > ... glaubitz@z6:~> dpkg -S `which b4` b4: /usr/bin/b4 glaubitz@z6:~> apt show b4 Package: b4 Version: 0.12.0-2 Priority: optional Section: python Maintainer: Héctor Orón Martínez <zumbi@debian.org> Installed-Size: 373 kB Depends: python3-dkim (>= 1.0.5), python3-dnspython (>= 2.1.0), python3-requests (>= 2.24.0), python3-patatt (>= 0.6.3), git-filter-repo (>= 2.30), python3:any Homepage: https://git.kernel.org/pub/scm/utils/b4/b4.git Download-Size: 76.6 kB APT-Manual-Installed: yes APT-Sources: http://ftp.debian.org/debian bookworm/main amd64 Packages Description: helper utility to work with patches made available via a public-inbox archive This is a helper utility to work with patches made available via a public-inbox archive like lore.kernel.org. It is written to make it easier to participate in a patch-based workflows, like those used in the Linux kernel development. . This package installs the application and library for Python 3. glaubitz@z6:~> Alternatively, install it via pip: glaubitz@z6:~> pip install --user --break-system-packages b4 Adrian
Hi Rob, On Fri, Apr 5, 2024 at 8:48 PM Rob Landley <rob@landley.net> wrote: > On 4/5/24 07:21, Geert Uytterhoeven wrote: > > On Fri, Apr 5, 2024 at 2:09 PM Rob Landley <rob@landley.net> wrote: > >> On 4/4/24 00:14, Yoshinori Sato wrote: > >> > This is an updated version of something I wrote about 7 years ago. > >> > Minimum support for R2D-plus and LANDISK. > >> > I think R2D-1 will work if you add AX88796 to dts. > >> > And board-specific functions and SCI's SPI functions are not supported. > >> > > >> > You can get it working with qemu found here. > >> > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk > >> > >> I was hoping to get a device tree kernel to boot with static device tree on the > >> existing linux-sh qemu. (The main new features I want from an updated sh4 qemu > >> are a working battery backed up clock and more physical memory...) > >> > >> Is there somewhere I can get the kernel patch list in git or something? I > >> haven't got tooling set up to conveniently fish 37 patches out of an mbox file, > >> and would like to test this. (I moved last month and my physical sh7751 hardware > >> is in a storage container.) > > > > b4 am fe69e328ec617f91a09fa2d00506ba1a664085d8.1712207606.git.ysato@users.sourceforge.jp > > git am ./v7_20240404_ysato_sh_passing_fdt_address_to_kernel_startup.mbx > > $ b4 > bash: b4: command not found [...] > Oh well. Good luck with your patches, hope it works out. If you cannot/do not want to install b4, you can stick the Message-Id into lore, and download the mbox from https://lore.kernel.org/all/fe69e328ec617f91a09fa2d00506ba1a664085d8.1712207606.git.ysato@users.sourceforge.jp Gr{oetje,eeting}s, Geert
On Fri, Apr 05, 2024 at 01:57:32PM -0500, Rob Landley wrote: > Let's see, google says it's a random python3 tool, probably wants a newer > python3 version than I've got because everything that uses python3 does, it says > "you can run it directly from the git repository"... > > $ ./b4.sh > Traceback (most recent call last): > File "/home/landley/b4/src/b4/command.py", line 10, in <module> > import b4 > File "/home/landley/b4/src/b4/__init__.py", line 37, in <module> > from typing import Optional, Tuple, Set, List, BinaryIO, Union, Sequence, > Literal, Iterator, Dict > ImportError: cannot import name 'Literal' from 'typing' > (/usr/lib/python3.7/typing.py) Python 3.7 is EOL as of last June, which is why you're seeing this error trying to run the latest master branch. To be able to use a EOL version of Python, you will need to run a contemporary release of b4, which is 0.11. To do so, you may check out the stable-0.11.y branch and repeat this operation. -K
Hi Yoshinori, On Thu, 2024-04-04 at 14:14 +0900, Yoshinori Sato wrote: > Sorry. previus mail is thread broken. > > This is an updated version of something I wrote about 7 years ago. > Minimum support for R2D-plus and LANDISK. > I think R2D-1 will work if you add AX88796 to dts. > And board-specific functions and SCI's SPI functions are not supported. > > You can get it working with qemu found here. > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk > > v7 changes. > - sh/kernel/setup.c: fix kernel parameter handling. > - clk-sh7750.c: cleanup. > - sh_tmu.c: cleanup. > - irq-renesas-sh7751.c: IPR definition move to code. > - irq-renesas-sh7751irl.c: update register definition. > - pci-sh7751.c: Register initialization fix. > - sm501 and sm501fb: Re-design Device Tree properties. Could you push your v7 version to your Gitlab [1] repository so I can fetch it from there? Thanks, Adrian > [1] https://gitlab.com/yoshinori.sato/linux
On Sat, 18 May 2024 18:08:30 +0900, John Paul Adrian Glaubitz wrote: > > Hi Yoshinori, > > On Thu, 2024-04-04 at 14:14 +0900, Yoshinori Sato wrote: > > Sorry. previus mail is thread broken. > > > > This is an updated version of something I wrote about 7 years ago. > > Minimum support for R2D-plus and LANDISK. > > I think R2D-1 will work if you add AX88796 to dts. > > And board-specific functions and SCI's SPI functions are not supported. > > > > You can get it working with qemu found here. > > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk > > > > v7 changes. > > - sh/kernel/setup.c: fix kernel parameter handling. > > - clk-sh7750.c: cleanup. > > - sh_tmu.c: cleanup. > > - irq-renesas-sh7751.c: IPR definition move to code. > > - irq-renesas-sh7751irl.c: update register definition. > > - pci-sh7751.c: Register initialization fix. > > - sm501 and sm501fb: Re-design Device Tree properties. > > Could you push your v7 version to your Gitlab [1] repository so I can fetch > it from there? updated it. I'll be posting v8 soon. > Thanks, > Adrian > > > [1] https://gitlab.com/yoshinori.sato/linux > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer > `. `' Physicist > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >
Hi Yoshinori, On Mon, 2024-05-20 at 22:06 +0900, Yoshinori Sato wrote: > On Sat, 18 May 2024 18:08:30 +0900, > John Paul Adrian Glaubitz wrote: > > > > Hi Yoshinori, > > > > On Thu, 2024-04-04 at 14:14 +0900, Yoshinori Sato wrote: > > > Sorry. previus mail is thread broken. > > > > > > This is an updated version of something I wrote about 7 years ago. > > > Minimum support for R2D-plus and LANDISK. > > > I think R2D-1 will work if you add AX88796 to dts. > > > And board-specific functions and SCI's SPI functions are not supported. > > > > > > You can get it working with qemu found here. > > > https://gitlab.com/yoshinori.sato/qemu/-/tree/landisk > > > > > > v7 changes. > > > - sh/kernel/setup.c: fix kernel parameter handling. > > > - clk-sh7750.c: cleanup. > > > - sh_tmu.c: cleanup. > > > - irq-renesas-sh7751.c: IPR definition move to code. > > > - irq-renesas-sh7751irl.c: update register definition. > > > - pci-sh7751.c: Register initialization fix. > > > - sm501 and sm501fb: Re-design Device Tree properties. > > > > Could you push your v7 version to your Gitlab [1] repository so I can fetch > > it from there? > > updated it. Thanks! > I'll be posting v8 soon. Sounds good! Maybe we can start merging the patches that contain fixes only and that have already been reviewed. This way, we can reduce the overall size of the series a bit. Adrian
On Mon, May 20, 2024 at 5:25 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote: > On Mon, 2024-05-20 at 22:06 +0900, Yoshinori Sato wrote: > > I'll be posting v8 soon. > > Sounds good! Maybe we can start merging the patches that contain fixes only > and that have already been reviewed. This way, we can reduce the overall size > of the series a bit. +1 Gr{oetje,eeting}s, Geert