Messages in this thread | | | Subject | Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree | From | John Paul Adrian Glaubitz <> | Date | Fri, 5 Jan 2018 23:10:57 +0100 |
| |
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
| |