Received: by 10.192.165.148 with SMTP id m20csp3478390imm; Mon, 7 May 2018 13:02:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp4BPIZscsLQcBcoL38rgjCNND9WXF7aVR9rr2qkWIULZGNs9m9d/ZjFSiOWjGmigeXIOPm X-Received: by 2002:a5e:8813:: with SMTP id l19-v6mr13652566ioj.243.1525723330535; Mon, 07 May 2018 13:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525723330; cv=none; d=google.com; s=arc-20160816; b=z82RVv+wGYRVColElwXQhgYIlc04eFSV+gU3z/19YE3xAHrbomDOFG8YFHi8i82Sqs ImwxRJU/kxnke6Md/zvSpoIeTXyXR+vPh+r1HACflGPgfKHvIbvA7MnVDcb41TQjE+Vk 38C8PXlDQ1hZKciL/mRJqhmVzFKFf4xnwxAotk6tCsfGKyjzW3WEbdYeGLhgx/Ro8/P8 tzsj6Il+wR6Jz3xk/2iYAoqxm7d3dXQVtBtXMszyfMKJtKuK683dWw96BAWRJNk513CW DC7cIoScjDpchE8mFGSEX8SAlt+hdfwzsR1uwde8s7bCo+9uAtvQV+fC9Vibb/8Zbvl3 8Xyg== 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=XEMUU3xKwsj4L+QI1Q+mHyxD0cFXy6RT0nfpRQ8rOBw=; b=k2uUCO3O48TfvinXCTCGatcJq73Z9ws467tM8s/ESdVtFEBUWhWiPLu9elT3hf5J24 HJL+5cPdTq0q9h+Mwr/6kqBTw9isKmhQGa6nJ/JrfSCpTFbXt/e67ThuWWHjQ4Ggr2BD 34pWc1lvsllc1srDvgpa1diDIxjEIRNP60D3Wvp4aaFuhWgYutpYt0QN4RXtU1yGuoKy A8zp5h7qsxwTLE+VSlNCmeNT2B1rk/O7iYEdaaMdbvSnxzZgQQIWDKnopgrYtchbtGu+ e9aC3Ej1w47+bBhz+zfriffocicwHHu8/IDuxhHt/Rbfj3rtglijmj6VzWWm0/NuHXYI DcUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=w2gfwZfM; 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 m34-v6si6847174iti.2.2018.05.07.13.01.55; Mon, 07 May 2018 13:02:10 -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=w2gfwZfM; 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 S1752688AbeEGUBg (ORCPT + 99 others); Mon, 7 May 2018 16:01:36 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:36254 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbeEGUBe (ORCPT ); Mon, 7 May 2018 16:01:34 -0400 Received: by mail-io0-f195.google.com with SMTP id d73-v6so35658004iog.3 for ; Mon, 07 May 2018 13:01:34 -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=XEMUU3xKwsj4L+QI1Q+mHyxD0cFXy6RT0nfpRQ8rOBw=; b=w2gfwZfMPUmNIcyakKmKXNFC983TmPZaTlpyYAztyZ6DxtA3UU4zRPjk/agbjxHUNK 3vLGUeEtvJYt3U1vlvHT1H+FbxIR/DgiQRDtdRPsdn0c0zfVaQU/YJYa1FU+zGCH91s9 ph2dtBSqPfgBC41tjRhEeCYf0BLihFkGk+TCU8kIF7ekZX3WoCosc+6GgcZ4slORZ2DR /LroWGt8csQ4N0Zf8UImJp5iKhBx1FlygfH0QabM80D/Qm7vumvL40lUA5zNSHf6TjD0 enfHUL8ptmIE73TlH6o669TzIWETdasvs/3Jg0n2DFO1UFfuxV379gLo5Tje9RpQ+4g0 9oIg== 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=XEMUU3xKwsj4L+QI1Q+mHyxD0cFXy6RT0nfpRQ8rOBw=; b=NYgNrt8BJNvPdVOFt7qU4IROptSXtaKN9oe+8yLU0jsQvIJvGQcARneEdrrSCzmwK6 Hult36TazF5xtUtgiMBIkPJpDlbX5hOM8lrzc/6DSW2Cs9AVe+MKCKDrzkIqWnwV+Elc B+KOVwdVucAYnBa9ycRRl/CGKPYVPw52oVCVyOvEs+7PJJvCXNDBq/UMWduO8N0SxW8z vgQ79/IrJX6ae1jut34vF+QMviUlIjOguquj7PUkU/4v7OS0TbwHcz/kxnCkS3M78foZ ZCPJ5hi52xhK4+wMkp3Cqe2qJWLCN6PPzCS74WmJW2Fn7yo6Qy29EqbrZ+B49v5dNRx5 Bpig== X-Gm-Message-State: ALQs6tDJ9v5dVpkQyrJe//T3dmIxMFgljk9D10LFaP7DwFWCtQHW13dT xQUL3XZSOa5GlWWw1T8X+DAoQ6wlftk= X-Received: by 2002:a6b:752:: with SMTP id 79-v6mr42755632ioh.216.1525723293469; Mon, 07 May 2018 13:01:33 -0700 (PDT) Received: from [192.168.42.107] ([172.58.142.208]) by smtp.googlemail.com with ESMTPSA id k62-v6sm11582831ioo.23.2018.05.07.13.01.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 13:01:32 -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> <20180507144519.GH1392@brightrain.aerifal.cx> <9f476147-7370-de56-db4e-6745a325a2ca@landley.net> <20180507155543.GJ1392@brightrain.aerifal.cx> From: Rob Landley Message-ID: Date: Mon, 7 May 2018 15:01:30 -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: <20180507155543.GJ1392@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 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. Depends on how big >> you want the image to be. Not sure how much of that is upstream and how much is >> vendor forks I've used, though. Been a while.) > > This sounds like a pain, Well yeah. It's u-boot. > but none of it seems relevant to the setup > we're using. This U-Boot variant does not install on flash or use That's the full dance for getting it installed on a board it's not already running on. Usually somebody else sets it up and you inherit one with a "tftp download" script and another "boot from persistent storage" script and you mostly just the command line to swap the autoboot variable to point to the right one of the two. > flash; it runs from disk in place of LILO or another MBR-based > bootloader. I'm just trying to understand where/how the binary blobs > are installed on the disk so I can reproduce that when making new disk > images with my kernel and filesystem. The point of the tftp boot is quick reboot cycles during development, not having to install the kernel you're booting on target each time. But as long as you're not replacing u-boot and have a u-boot console you can fall back on an alternate kernel from disk. (It's not really designed to give you a menu though, it gives you a command line. You can have the kernel name to load in its own variable and "set kernelname 'walrus.img'; run hdboot" though.) There are probably more elegant ways to use this tool. I learned how to hammer it in and get the lid off, and went on to other things... > Rich Rob