Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-18 Thread John Paul Adrian Glaubitz
On 05/16/2018 08:42 AM, Yoshinori Sato wrote: >> Can you give me a brief explanation of how to reproduce the bootloader >> installation? For now I'm just using the existing MBR/partitioning you >> sent me, and replacing zImage.itb in /boot makes it attempt to load a >> new kernel, but I haven't got

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-15 Thread Yoshinori Sato
On Tue, 15 May 2018 10:41:52 +0900, Rich Felker wrote: > > On Mon, May 07, 2018 at 10:40:34AM +0900, Yoshinori Sato wrote: > > On Thu, 03 May 2018 19:07:38 +0900, > > John Paul Adrian Glaubitz wrote: > > > > > > [1 ] > > > Hi Rich! > > > > > > On 05/03/2018 04:33 AM, Rich Felker wrote: > > > >

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-14 Thread Rich Felker
On Mon, May 07, 2018 at 10:40:34AM +0900, Yoshinori Sato wrote: > On Thu, 03 May 2018 19:07:38 +0900, > John Paul Adrian Glaubitz wrote: > > > > [1 ] > > Hi Rich! > > > > On 05/03/2018 04:33 AM, Rich Felker wrote: > > > I found the U-Boot stuff here: > > > > > > https://ja.osdn.net/users/ysato/

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-08 Thread Yoshinori Sato
On Mon, 07 May 2018 20:00:17 +0900, John Paul Adrian Glaubitz wrote: > > On 05/07/2018 03:40 AM, Yoshinori Sato wrote: > >> @Yoshinori: > >> > >> Did the HDL-160U LANDISK device you have use u-boot by default or > >> did you convert it from lilo? > > > > Yes. > > Replace sh-lilo's second stage w

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rob Landley
On 05/07/2018 10:55 AM, Rich Felker wrote: > On Mon, May 07, 2018 at 10:28:37AM -0500, Rob Landley wrote: >> >> >> On 05/07/2018 09:45 AM, Rich Felker wrote: >> (You can usually configure/build uboot in a couple different ways, with a >> brain-dead built in shell or with busybox hush glued into it.

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rich Felker
On Mon, May 07, 2018 at 10:28:37AM -0500, Rob Landley wrote: > > > On 05/07/2018 09:45 AM, Rich Felker wrote: > > On Mon, May 07, 2018 at 01:00:17PM +0200, John Paul Adrian Glaubitz wrote: > >> On 05/07/2018 03:40 AM, Yoshinori Sato wrote: > @Yoshinori: > > Did the HDL-160U LANDISK

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rich Felker
On Mon, May 07, 2018 at 10:13:32AM -0500, Rob Landley wrote: > > > On 05/07/2018 09:43 AM, Rich Felker wrote: > > On Mon, May 07, 2018 at 08:40:35AM -0500, Rob Landley wrote: > >> On 05/07/2018 06:00 AM, John Paul Adrian Glaubitz wrote: > >>> I have been able to boot my own kernel on my USL-5P de

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rob Landley
On 05/07/2018 09:45 AM, Rich Felker wrote: > On Mon, May 07, 2018 at 01:00:17PM +0200, John Paul Adrian Glaubitz wrote: >> On 05/07/2018 03:40 AM, Yoshinori Sato wrote: @Yoshinori: Did the HDL-160U LANDISK device you have use u-boot by default or did you convert it from lilo?

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rob Landley
On 05/07/2018 09:43 AM, Rich Felker wrote: > On Mon, May 07, 2018 at 08:40:35AM -0500, Rob Landley wrote: >> On 05/07/2018 06:00 AM, John Paul Adrian Glaubitz wrote: >>> I have been able to boot my own kernel on my USL-5P device, but >>> I could never get it to detect the IDE controller. Do I nee

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rich Felker
On Mon, May 07, 2018 at 01:00:17PM +0200, John Paul Adrian Glaubitz wrote: > On 05/07/2018 03:40 AM, Yoshinori Sato wrote: > >>@Yoshinori: > >> > >>Did the HDL-160U LANDISK device you have use u-boot by default or > >>did you convert it from lilo? > > > >Yes. > >Replace sh-lilo's second stage with

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rich Felker
On Mon, May 07, 2018 at 08:40:35AM -0500, Rob Landley wrote: > On 05/07/2018 06:00 AM, John Paul Adrian Glaubitz wrote: > > I have been able to boot my own kernel on my USL-5P device, but > > I could never get it to detect the IDE controller. Do I need > > an additional patch for that? > > On a re

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Geert Uytterhoeven
Hi Adrian, On Mon, May 7, 2018 at 3:50 PM, John Paul Adrian Glaubitz wrote: > On 05/07/2018 03:40 PM, Rob Landley wrote: >> On a related note, is there a list of boards anywhere? I'm working on a >> 7760 >> system at $DAYJOB, Rich has a landisk which according to >> https://www.openbsd.org/landis

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread John Paul Adrian Glaubitz
On 05/07/2018 03:40 PM, Rob Landley wrote: On a related note, is there a list of boards anywhere? I'm working on a 7760 system at $DAYJOB, Rich has a landisk which according to https://www.openbsd.org/landisk.html is an SH7751R, and Sato-san says that QEMU's -r2d emulates that too? ("RTS7751R2Dpl

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread Rob Landley
On 05/07/2018 06:00 AM, John Paul Adrian Glaubitz wrote: > I have been able to boot my own kernel on my USL-5P device, but > I could never get it to detect the IDE controller. Do I need > an additional patch for that? On a related note, is there a list of boards anywhere? I'm working on a 7760 sys

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-07 Thread John Paul Adrian Glaubitz
On 05/07/2018 03:40 AM, Yoshinori Sato wrote: @Yoshinori: Did the HDL-160U LANDISK device you have use u-boot by default or did you convert it from lilo? Yes. Replace sh-lilo's second stage with u-boot. With this method it is unnecessary to rewrite Flash for boot. Great, thank you. I will gi

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-06 Thread Yoshinori Sato
On Thu, 03 May 2018 19:07:38 +0900, John Paul Adrian Glaubitz wrote: > > [1 ] > Hi Rich! > > On 05/03/2018 04:33 AM, Rich Felker wrote: > > I found the U-Boot stuff here: > > > > https://ja.osdn.net/users/ysato/pf/uboot/wiki/FrontPage > > > > but I'm not sure how to install it yet. Will try to

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-03 Thread Rich Felker
On Thu, May 03, 2018 at 12:07:38PM +0200, John Paul Adrian Glaubitz wrote: > Hi Rich! > > On 05/03/2018 04:33 AM, Rich Felker wrote: > >I found the U-Boot stuff here: > > > >https://ja.osdn.net/users/ysato/pf/uboot/wiki/FrontPage > > > >but I'm not sure how to install it yet. Will try to figure it

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-03 Thread John Paul Adrian Glaubitz
Hi Rich! On 05/03/2018 04:33 AM, Rich Felker wrote: I found the U-Boot stuff here: https://ja.osdn.net/users/ysato/pf/uboot/wiki/FrontPage but I'm not sure how to install it yet. Will try to figure it out. Interesting. It seems the HDL-160U uses u-boot instead of lilo which is used on my USL

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-02 Thread Rich Felker
On Wed, May 02, 2018 at 09:37:08PM -0400, Rich Felker wrote: > On Fri, Jan 05, 2018 at 04:28:57PM -0500, Rich Felker wrote: > > On Fri, Nov 17, 2017 at 08:54:47PM +0100, John Paul Adrian Glaubitz wrote: > > > On 11/17/2017 08:17 PM, Rich Felker wrote: > > > > There were significant problems that I

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-05-02 Thread Rich Felker
On Fri, Jan 05, 2018 at 04:28:57PM -0500, Rich Felker wrote: > On Fri, Nov 17, 2017 at 08:54:47PM +0100, John Paul Adrian Glaubitz wrote: > > On 11/17/2017 08:17 PM, Rich Felker wrote: > > > There were significant problems that I don't think were ever > > > addressed, including incompatible changes

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-01-05 Thread John Paul Adrian Glaubitz
On 01/05/2018 11:00 PM, Rich Felker wrote: >> It's a simple bootloader which works with blocklists. > > OK, it's good to know that the lilo program is just stock lilo. So > is the provided boot.b-selk file (and an appropriate lilo.conf) all > you need to get it installed on a disk? If I remember

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-01-05 Thread Rich Felker
On Fri, Jan 05, 2018 at 10:47:34PM +0100, John Paul Adrian Glaubitz wrote: > On 01/05/2018 10:28 PM, Rich Felker wrote: > > I'm trying to reproduce this but can't find any documentation for > > cross-LILO in [2], much less any code except possibly the binary > > "lilo.x86" in [1]. Googling cross-li

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-01-05 Thread John Paul Adrian Glaubitz
On 01/05/2018 10:28 PM, Rich Felker wrote: > I'm trying to reproduce this but can't find any documentation for > cross-LILO in [2], much less any code except possibly the binary > "lilo.x86" in [1]. Googling cross-lilo isn't finding anything > meaningful except this thread. Is there anywhere to fin

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2018-01-05 Thread Rich Felker
On Fri, Nov 17, 2017 at 08:54:47PM +0100, John Paul Adrian Glaubitz wrote: > On 11/17/2017 08:17 PM, Rich Felker wrote: > > There were significant problems that I don't think were ever > > addressed, including incompatible changes in how boot command line was > > handled and possibly ambiguity abou

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2017-11-17 Thread John Paul Adrian Glaubitz
On 11/17/2017 08:17 PM, Rich Felker wrote: > There were significant problems that I don't think were ever > addressed, including incompatible changes in how boot command line was > handled and possibly ambiguity about what a physical address means > (zero based vs based in the zone SH3/4 excludes f

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2017-11-17 Thread Rich Felker
On Fri, Nov 17, 2017 at 06:49:39PM +0100, John Paul Adrian Glaubitz wrote: > I’ll have a go at this tonight and if the patches still apply fine, I’d just > say go for it. There were significant problems that I don't think were ever addressed, including incompatible changes in how boot command lin

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2017-11-17 Thread John Paul Adrian Glaubitz
I’ll have a go at this tonight and if the patches still apply fine, I’d just say go for it. > On Nov 17, 2017, at 6:39 PM, Rob Landley wrote: > >> On 11/17/2017 04:37 AM, John Paul Adrian Glaubitz wrote: >> Hi there! >> >>> On 07/03/2016 06:46 PM, Yoshinori Sato wrote: >>> SH get devicetree su

Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2017-11-17 Thread Rob Landley
On 11/17/2017 04:37 AM, John Paul Adrian Glaubitz wrote: > Hi there! > > On 07/03/2016 06:46 PM, Yoshinori Sato wrote: >> SH get devicetree support. But it not working on existing H/W. >> >> IO-DATA HDL-U (aka landisk) currentry supported. >> This H/W like SH7751 evalution board. It's a best to us