Re: Custom boot loader stub
Sad Clouds <[email protected]> Mon, 27 Oct 2025 17:01:11 +0000
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 27 Oct 2025 15:40:24 +0000 (UTC) Eduardo Horvath <[email protected]> wrote: > > > On Thu, 23 Oct 2025, Sad Clouds wrote: > > > Which I guess is expected. When I have some spare time, I will try > > loading the 2nd stage bootloader and may be using "chain" function > > to execute that. > > Why don't you just use the FCode bootblock? You're going to have problems > fitting UFS reading code in 7.5 KB. > > Eduardo Hi, I'm not booting NetBSD, but learning how to boot my own minimal run time environment. I never studied FCode, so it looks a bit gibberish to me. I'm also not using file systems but reading boot binaries directly from a block device, which cuts down on the binary size.