Received: by 10.192.165.148 with SMTP id m20csp3199541imm; Mon, 7 May 2018 08:15:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrOV0FElHtBcKpS3P2cna8/rbRh1INqh1FdoZC+ASxYwAy51k5khr5eyCQ3qqJLHsjTPaIB X-Received: by 2002:aca:5086:: with SMTP id e128-v6mr25158677oib.315.1525706144038; Mon, 07 May 2018 08:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525706143; cv=none; d=google.com; s=arc-20160816; b=NsxsIlQxbmjKpufaw8W+BLKxJuskW2NfKy/4KH0FivZ938wueLn81G2XlGHVlQOMxm DoepOWcAZKIG4KLEm4DTjsayxaaR4TuQIyl6YX5H+5rC0kg/2MRWCXKb72ihhrA19OKv TrHzOYDpHcimYwlmoxy7FCKs6Giw/6pcLvNlnh2ypEERZO4eQ50kyeozpjndiK9jQXp2 +xXSf2xQp9BpbLgFkhejFO9Ld6h6m41mC1tBIkdY5r6l0S24hcMkS0KcTU4Zc3/jygDq 7Jif1jArv0Lenq0gYx1VV3DujIAvH3wOK63nLdImo6W3QPPmZQM11mtxFGprSgD6MzkE lGFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=4mDtE/zg5kGzSO+gQCXbItXDzWIhkFlvZfOs3Oxj7Ho=; b=AncMIr93WPIOhaENqA1p4CGRcnh9bZXyX/gvZyy9vKJJSljT4NR4BBo6Vl9aoMS1Zd heWlsJ6uVEqKt2Fk5R27fxkIfHAcAwmvM49NZgnqeSrdZI3e2wEStw46HLZFKSiaPwoU KK2T11+L0Pe7CPe/O0mTMhbUVQx32p11gXuW/4PMdQFH+jZEdqky9OY/XSrpi8MuRoLw gRsOHkpdrYtqbrOFD/6Xviq8mX3kfRvCsin9Vin/gIJVZDvSttRn+otR+UHhMrYkS0g3 xnqVvorGOb519dog4R4RYabQF0/F0lE3yUQbDKf05TfaFRicKjYliUms6n/Qtj+2BLDq f4Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=VuJJ40m4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2-v6si2391365otc.452.2018.05.07.08.15.29; Mon, 07 May 2018 08:15:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=VuJJ40m4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752711AbeEGPNt (ORCPT + 99 others); Mon, 7 May 2018 11:13:49 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:38252 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752691AbeEGPNg (ORCPT ); Mon, 7 May 2018 11:13:36 -0400 Received: by mail-it0-f68.google.com with SMTP id q4-v6so12122784ite.3 for ; Mon, 07 May 2018 08:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4mDtE/zg5kGzSO+gQCXbItXDzWIhkFlvZfOs3Oxj7Ho=; b=VuJJ40m4BwBapMhBvR2eiK9HluHwFXmiQ/eNPV/P/vaPNBPB0BxeJONIsvGC38L1xL ZF0z+4pFxE2z0mHm3ONUs4p/ka44KlH7tsOCrhY3Mo3tJzY0u19OC3pUbSDsZXAGYSEP ijJNmc0F8WGBr4KejXU0OG6bktylHnB2MsrCS8FWA+bHBRR1MSPBQqkBtJz7pUAgH0YE iDKPdC5FCMELSR/8dmpQ7GXZViLStQAPBeLKYEFSWj8U6hnxfIpzvQHu3N16c2kCWwlA sa+eyuekTaxDkGC1NRxf8rZ7z/9RpoEArkgTXfaXe7+m0h7oH08brlkujRXw53bNnZdy ELDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4mDtE/zg5kGzSO+gQCXbItXDzWIhkFlvZfOs3Oxj7Ho=; b=YXh+Ml4ldyxY21GjekXWrc3I+BtOVLuhQ5Hzixu+z7if1cdORkcicvw4G7R/3gIoal 9BBLR8/a/HB9+SGJ0dOltlOYR/5MTr+RlzNu/HO5Jh07Nos36baghtKOZHRBWw8UaEGn Lx6+CjoRnvk1oLqXOVAN8plS5EyySltsUkinarefvsJ+ObIAm3ksQucKJiwdvqhUyw5q 6MkXc8dD06fwAej/TX4EGXG336TDzfDOUL3Yn9JT0xqkCGnI82eMB8/VG1Jn8k0G2pw1 Ax0yWkyNqAeLtPFa55ELynJET32+FxTRNMi/KKR39PY+LkFWrW8vVT5AzfXZahoaGKfQ oIzw== X-Gm-Message-State: ALKqPwdj9CuNh/6nG6ln6lA35eH67HADwLYdIPX8UPPzGepZ+8fTarjc V09JPhtg//8cmh58+/xXdlbq7v4tUUs= X-Received: by 2002:a24:5783:: with SMTP id u125-v6mr1536508ita.126.1525706015210; Mon, 07 May 2018 08:13:35 -0700 (PDT) Received: from [192.168.42.107] ([172.58.142.208]) by smtp.googlemail.com with ESMTPSA id n89-v6sm11842745ioo.45.2018.05.07.08.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 08:13:34 -0700 (PDT) Subject: Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree To: Rich Felker Cc: John Paul Adrian Glaubitz , Yoshinori Sato , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org References: <20171117191706.GF1627@brightrain.aerifal.cx> <7193aa1b-50e3-11d4-f93d-f567e2e06b8c@physik.fu-berlin.de> <20180105212857.GR1627@brightrain.aerifal.cx> <20180503013708.GC1392@brightrain.aerifal.cx> <20180503023320.GD1392@brightrain.aerifal.cx> <048ab147-21b8-045d-d21c-e1be2dd0e954@physik.fu-berlin.de> <87k1sgtf8t.wl-ysato@users.sourceforge.jp> <5f690985-e905-deb9-aa4f-51561463ae22@physik.fu-berlin.de> <9051f0a5-bc75-b49e-c8c3-aa877be1979e@landley.net> <20180507144306.GG1392@brightrain.aerifal.cx> From: Rob Landley Message-ID: <775bc754-0181-6a13-d625-825bf601eb77@landley.net> Date: Mon, 7 May 2018 10:13:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180507144306.GG1392@brightrain.aerifal.cx> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 need >>> an additional patch for that? >> >> 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? ("RTS7751R2Dplus is QEMU-SH4 target. So easy >> trying.") >> >> What other boards do we need to covert to device tree? arch/sh/boards has 15 C >> files and 19 subdirectories, but I dunno the status of any of them... > > I think asking "what we need to convert" is at least slightly > mis-framed. Once the basics for device tree support are in place > (basically patches 06-09), which boards are supported by device tree > is mostly a matter of (1) whether the hardware drivers you want to use > have bindings and use modern kernel interfaces, and (2) someone > writing the dts files. (3) being able to test the result on real hardware. We can _add_ device tree support without that, but can we remove the old board files without it? > I don't mind holding off a little bit on removal of the legacy board > file support if it's hard to get enough hardware working right away > with device tree, but I do want to move towards getting rid of it as > soon as we can, since it's a large volume of code cutting into my > ability to have a good maintainer-level understanding of the arch/sh > tree and has a lot of crufty, unmaintained parallel infrastructure > duplicating stuff that can be done in cleaner and more modern ways > (see the threads on early platform device stuff, rtc drivers, etc.). The process may include a deprecation of hardware nobody has anymore, with call for testers, for a year or so before deleting stuff. (And then the old stuff's in git if somebody finds a board and wants to fish it out.) Also, I'd really like QEMU support to act as a first class board. At least 256 megs of ram (so you can do native compiles on it), serial support that works (enabling the FIFO broke it because they don't implement the '15 bits of silence triggers a flush timer' part, so data gets stranded in the buffer until enough comes in to fill it the rest of the way which is a pain to type at when it's a serial console), multiple hard drives, and so on. I'd be fine with virtio but there's no virtio devices on that target I've noticed yet, although maybe I just haven't figured out how to enable it... > Rich Rob