Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbeAEWLC (ORCPT + 1 other); Fri, 5 Jan 2018 17:11:02 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:50027 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158AbeAEWLA (ORCPT ); Fri, 5 Jan 2018 17:11:00 -0500 Subject: Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree To: Rich Felker Cc: Rob Landley , Yoshinori Sato , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org References: <1467564402-2649-1-git-send-email-ysato@users.sourceforge.jp> <8c75b447-fc14-871e-1a04-733132527b65@landley.net> <20171117191706.GF1627@brightrain.aerifal.cx> <7193aa1b-50e3-11d4-f93d-f567e2e06b8c@physik.fu-berlin.de> <20180105212857.GR1627@brightrain.aerifal.cx> <20180105220045.GS1627@brightrain.aerifal.cx> From: John Paul Adrian Glaubitz Message-ID: Date: Fri, 5 Jan 2018 23:10:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180105220045.GS1627@brightrain.aerifal.cx> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 80.136.164.121 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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 correctly, yes. What you need should be obvious from the supplied lilo.conf. In order to get LILO to install from my normal x86 machine, I just bind-mounted the /boot folder of the target hard disk (CF medium in the case of the USL-5P) and ran the lilo command with the block device of the target hard disk as a parameter. It's a bit hacky and it took me some trial and error to get it working, but I was eventually able to boot a self-compiled kernel on one of my USL-5Ps. Only issue I initially had was that the bus clock(?) was set to an incorrect value in the kernel config. With the bus clock set incorrectly, the kernel would just freeze up. Oh, and I never managed to get the kernel detect the pseudo-IDE controller of my USL-5P device. It might work better with your HDL-160U. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913