The print statements didn't really help too much (so far).
However, I did get a TINY bit further by playing with the disk geometry. Now I get:

"Loading vmlinuz...CHS: Error 0101 reading sector 18277 (8/59/6)
Loading core.gz...CHS: Error 0101 reading sector 457 (0/16/1)
Booting kernel failed: Invalid argument"

It seems to me that those numbers aren't near any of the values I set (64/16/32).

I'll keep poking at it and see if I can get any further improvements...


On Wed, Apr 17, 2019 at 9:14 PM Mike Banon <mikebdp2@gmail.com> wrote:
> However, it hangs after that and doesn't boot my kernel.

This looks like for some reason SeaBIOS might have loaded only some
beginning part of your floppy image instead of it whole. Do you use
any of my unofficial patches currently or just the SeaBIOS master? You
could insert some debug prints to the floppy loading / memory
allocation functions, or simply enable the max debug level at SeaBIOS
(I think that could be configured at coreboot's menuconfig as well)
and see if that would be enough debug info to understand what's going