Re: [SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-24 Thread Kevin O'Connor
On Sat, Nov 24, 2018 at 11:46:53PM +0300, Mike Banon wrote: > Dear Kevin, > > Please could you tell me, why the memory allocation functions like > malloc_tmphigh() are failing at do_boot() stage? (boot.c) . Because of > this "VARVERIFY32INIT" problem described in my letter above - >

Re: [SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-24 Thread Mike Banon
Dear Kevin, Please could you tell me, why the memory allocation functions like malloc_tmphigh() are failing at do_boot() stage? (boot.c) . Because of this "VARVERIFY32INIT" problem described in my letter above - https://mail.coreboot.org/pipermail/seabios/2018-November/012575.html - I rewrote all

Re: [SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-16 Thread Mike Banon
Thank you very much for clarifying, Kevin. I finally moved this ram allocation to do_boot function (line 800) at boot.c - after the printf("Booting from Floppy...\n") - but sadly it seems that memalign_tmphigh and similar malloc'ing functions (like malloc_tmphigh) are not allowed at this stage:

Re: [SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-13 Thread Kevin O'Connor
On Sun, Nov 11, 2018 at 02:12:09AM +0300, Mike Banon wrote: > > However I'm concerned that this would reserve memory for all > > of the floppy images in the e820 map (and thus the final OS > > would not be able to use that memory). > > sorry Kevin I'm not fully understanding the consequences.

Re: [SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-10 Thread Mike Banon
> However I'm concerned that this would reserve memory for all > of the floppy images in the e820 map (and thus the final OS > would not be able to use that memory). sorry Kevin I'm not fully understanding the consequences. Would reserving e820 memory for all the floppies - result in a slightly

Re: [SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-10 Thread Kevin O'Connor
On Fri, Nov 02, 2018 at 01:07:20AM +0300, Mike Banon wrote: > All the floppy images available at CBFS will be found and listed in a > boot menu, instead of the first found. Could be highly valuable if you > are participating in a hobby OS development - would like to test > multiple versions of

[SeaBIOS] [PATCH] ramdisk: search for all available floppy images instead of one

2018-11-01 Thread Mike Banon
All the floppy images available at CBFS will be found and listed in a boot menu, instead of the first found. Could be highly valuable if you are participating in a hobby OS development - would like to test multiple versions of your floppy in the same coreboot image, to reduce the amount of