FWIW, for my large floppy the size is detected correctly, as in the following output:

"phys_alloc zone=0x07f41ea8 size=16777216 align =1000 ret=6f2f000  (detail=0x07f315b0)"

It LOOKS like it's also being assigned correctly...

R

On Thu, Apr 18, 2019 at 1:49 PM Rafael Send <flyingfishfinger@gmail.com> wrote:
Mike-
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...

R

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
on.