[SeaBIOS] Mysterious "is VARVERIFY32INIT but used from" problem while trying to improve SeaBIOS

2018-02-24 Thread Mike Banon
void *temp = malloc_tmphigh(size); --- but we couldn't call there our testfunc() which calls "malloc_" without running into this problem? Best regards, Mike Banon ___ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios

Re: [SeaBIOS] Mysterious "is VARVERIFY32INIT but used from" problem while trying to improve SeaBIOS

2018-02-25 Thread Mike Banon
ngs, "emulation/qemu-i440fx" target Best regards, Mike On Sun, Feb 25, 2018 at 11:55 AM, Paul Menzel <pmen...@molgen.mpg.de> wrote: > Dear Mike, > > > Am 25.02.2018 um 01:05 schrieb Mike Banon: >> >> Friends, I need your help. While trying to impro

Re: [SeaBIOS] Problem with boot coreboot

2018-08-08 Thread Mike Banon
or (more likely) its partition table or maybe GRUB2 is corrupted. Then you could try restoring GRUB2, by following these instructions for example - https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd If yes, it didn't help you? Best regards, Mike Banon On Wed, Aug 8

Re: [SeaBIOS] Mysterious "is VARVERIFY32INIT but used from" problem while trying to improve SeaBIOS

2018-02-25 Thread Mike Banon
Sun, Feb 25, 2018 at 5:41 PM, Kevin O'Connor <ke...@koconnor.net> wrote: > On Sun, Feb 25, 2018 at 03:05:06AM +0300, Mike Banon wrote: >> Friends, I need your help. While trying to improve SeaBIOS I got stuck >> at this very strange problem - which does not appear when you do a

[SeaBIOS] coreboot's memtest86+ is buggy compared to memtest86+ floppy

2018-11-05 Thread Mike Banon
boot.rom add -f ./floppy/memtestp.bin -n floppyimg/memtestp.lzma -t raw -c lzma If done everything correctly, it will be available at SeaBIOS boot menu as Ramdisk [memtestp] Best regards, Mike Banon On Mon, Nov 5, 2018 at 3:51 PM Krystian Hebel wrote: > > > > On 11/05/18 13:32, Paul

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

2018-11-01 Thread Mike Banon
there at some laptops) Shortened patch description message: All the available floppy images will be found and listed in a boot menu, instead of the first found. Useful if you are participating in a hobby OS development or would like to access multiple floppies as a coreboot user. Signed-off-by: Mike Banon

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

2018-11-10 Thread Mike Banon
source code - mostly placing the "floppy searching" code inside the "for" cycle. But I could try to do something with the allocation part if that wouldn't turn out too difficult On Sat, Nov 10, 2018 at 9:16 PM Kevin O'Connor wrote: > > On Fri, Nov 02, 2018 at 01:07:

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

2018-12-06 Thread Mike Banon
e floppies as a coreboot user. Signed-off-by: Mike Banon --- diff --git a/src/block.h b/src/block.h index f64e880..aaa236f 100644 --- a/src/block.h +++ b/src/block.h @@ -2,7 +2,7 @@ #define __BLOCK_H #include "types.h" // u32 - +#include "romfi

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

2018-11-24 Thread Mike Banon
st regards, Mike Banon On Sat, Nov 17, 2018 at 2:30 AM Mike Banon wrote: > > 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 tha

[SeaBIOS] [BUG?] SeaBIOS memcpy copies only 0x04 bytes instead of 0x8c

2018-11-25 Thread Mike Banon
le with (0x8c/4) = 23 iterations. It works but SeaBIOS quickly freezes after that, which probably means it is incorrect substitution for some reason Best regards, Mike Banon ___ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios

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

2018-11-16 Thread Mike Banon
3, 2018 at 9:06 PM Kevin O'Connor wrote: > > 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

[SeaBIOS] Re: Mailing list update

2019-01-09 Thread Mike Banon
Please tell, will the old ASCII mailing list archive continue to work and get the new messages? I found it as really convenient to wget and observe with lightweight browsers or even console "links" On Wed, Jan 9, 2019 at 5:03 PM Laszlo Ersek wrote: > > On 01/08/19 23:52, Kevin O'Connor wrote: >

[SeaBIOS] Get a working bootsplash.bmp BMP splashscreen for SeaBIOS with this ImageMagick command

2019-03-02 Thread Mike Banon
Why BMP? It's a lossless image format which could be LZMA compressed quite well depending on the image's variety of colours. And finally I found out how to get a working splash screen - instructions tested on AMD Lenovo G505S laptop with 1366x768 screen resolution : 1) Install the ImageMagick

[SeaBIOS] [PATCH es] bootmenu: Gerd Hoffman version - feedback

2019-04-11 Thread Mike Banon
own version (aside from the size issue) - I am open to suggestions and could try to address them when I will have enough free time. Best regards, Mike Banon ___ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-le...@seabios.org

[SeaBIOS] Re: [PATCH es] bootmenu: Gerd Hoffman version - feedback

2019-04-12 Thread Mike Banon
have any devices with TPM so it is hard for me to debug this part. The best thing I could do is to hack into SeaBIOS tpm code to make it show the tpm menu entries stuff which does not exist, but at the moment I don't even know how it looks like... Best regards, Mike Banon ___ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-le...@seabios.org

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-15 Thread Mike Banon
Personally I think that either this guy did something incorrectly or there's a Windows 3.1 bug. Meanwhile, Rafael's Linux-based OS is going to boot from this floppy like it's a ramdisk, so hopefully should be indifferent to the custom floppy sizes and would work. I share the same hopes for

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-16 Thread Mike Banon
oppy will fit there). This code should be compatible with any new sizes as well, but let me know if there are any problems. When you're running QEMU with -serial stdio , it should output those debug messages into your console, if the debug level of these messages is higher than what's set at your SeaBI

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-17 Thread Mike Banon
> 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

[SeaBIOS] Re: [PATCH es] bootmenu: Gerd Hoffman version - feedback

2019-04-12 Thread Mike Banon
Good day, > Also note that not all keyboards layouts have querty ordering. Mine > (german) has quertz, and dvorak looks completely different. Thank you, I forgot about this. Hope their scancodes are the same... By the way: if we are extending the boot menu, at ./src/config.h we need to

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-12 Thread Mike Banon
regards, Mike Banon On Fri, Apr 12, 2019 at 9:39 PM Rafael Send wrote: > > Hi, > I'm working on stuffing a bootable Linux distro into coreboot. In QEMU I > already succeded by using coreboot's built-in kernel loading mechanism, but > that's without SeaBIOS. > > I'd love to

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-13 Thread Mike Banon
ike taking shots in the dark, but > I'll see what I can come up with. > > Cheers, > R > > Mike Banon schrieb am Fr., 12. Apr. 2019, 22:52: >> >> Hi Rafael, >> >> I believe that, with a little more effort, this guy would have >> succeeded at add

[SeaBIOS] [PATCH] Support booting USB drives with a write protect switch enabled

2019-06-04 Thread Mike Banon
At least some USB drives with a write protect switch (e.g. Netac U335) could report "MEDIUM NOT PRESENT" for a while if a write protect is enabled. Do not stop the initialization attempts after getting this, and the initialization will be successful - likely on a 2nd attempt. Signed-of

[SeaBIOS] Re: [PATCHv2] Support booting USB drives with a write protect switch enabled

2019-06-05 Thread Mike Banon
is enabled. Instead of stopping the initialization attempts immediately, stop only after getting this report for 3 times, to ensure the succesful initialization of such a "broken hardware". Signed-off-by: Mike Banon --- diff --git a/src/hw/blockcmd.c b/src/hw/blockcmd.c index 1f1508

[SeaBIOS] Re: [PATCH] Support booting USB drives with a write protect switch enabled

2019-06-05 Thread Mike Banon
after i.e. 3rd attempt is unsuccessful ---> reducing the wasted time to a couple of milliseconds or even less. Hopefully this patch would be more acceptable in such a version. cheers, Mike On Wed, Jun 5, 2019 at 10:46 AM Gerd Hoffmann wrote: > > On Tue, Jun 04, 2019 at 09:07:44PM +030

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-19 Thread Mike Banon
ccessful. Best regards, Mike Banon On Fri, Apr 19, 2019 at 8:50 AM Rafael Send wrote: >> >> Could you please calculate, where's a memory area which is matching >> these CHS values? > > > Hm, I either don't follow or don't know enough about how this stuff works to >

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-18 Thread Mike Banon
s fails to read at the same CHS values, so I don't know > how to tell how "high" it really can get > > I can try building an 8MB image and see if that's any better I guess. > > Thanks for the suggestions thus far, > > R > > On Thu, Apr 18, 2019 at 9:59 PM Mike Banon w

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-18 Thread Mike Banon
st leave it as 1M) However it seems I'll have to increase the max_track value at line 69 from 79 to 799 . (also, why at line 61 there's "18" sectors and not "36" ? (the number of sectors at the largest 2.88MB floppy)) ... So I'm sure that a larger floppy format is doable, just ne

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-19 Thread Mike Banon
Peter, I believe we shouldn't put it like "ELF versus Floppy" because these ways are not mutually exclusive: they could be tried in parallel, especially since Rafael's pursuit towards a working solution also involves waiting for helpful replies from the mailing lists ;-) Also, regarding SeaBIOS: I

[SeaBIOS] Re: Int 10h and custom character set

2019-07-12 Thread Mike Banon
Hope you can share your source code modifications, in the case someone else would find them useful. On Fri, Jul 12, 2019 at 8:19 AM Konstantin Novikov wrote: > > Hello again. > > I want to update my progress, maybe it's can be useful for someone. > Yes, it's all about es register. Solution is to

[SeaBIOS] [PATCH] advanced_bootmenu: up to 35 entries (2 pages if >18), numpad support (console)

2019-04-10 Thread Mike Banon
ll be enabled: press one or two digit keys and then ENTER to confirm your choice, or remove a digit by pressing the '.Del' key. Also you could call TPM with '-' key at any moment, or boot with a single key press of your fullsize keyboard. Signed-off-by: Mike Banon (patch body is after the testing instructi

[SeaBIOS] Re: Custom-sized, large floppy images?

2019-04-16 Thread Mike Banon
regards, Mike Banon On Mon, Apr 15, 2019 at 6:12 PM Rafael Send wrote: > > I haven't gotten around to poking at SeaBIOS yet, I'm still wondering how to > test my large floppies. > > Syslinux appears to install to them fine, but QEMU doesn't seem to like > booting them with -fda. &g

[SeaBIOS] Re: Booting Memtest86+ from CBFS fails

2019-11-01 Thread Mike Banon
compiled coreboot.rom with this command: ./build/cbfstool ./build/coreboot.rom add -f ./floppy/memtestp.bin -n floppyimg/memtestp.lzma -t raw -c lzma If done everything correctly, it will be available at SeaBIOS boot menu as Ramdisk [memtestp] Best regards, Mike Banon On Sun, Jul 28, 2019 at

[SeaBIOS] Re: Custom-sized, large floppy images?

2020-04-03 Thread Mike Banon
Rafael, please could you share a working method of expanding a floppy from 1.44MB to i.e. 2.88MB ? I'm back to this issue and noticed that popular Linux tools (i.e. gparted with libparted, fatresize, etc.) weirdly do not support resizing a FAT12 filesystem which the floppies have. Manually

[SeaBIOS] Re: [PATCH] advanced_bootmenu: up to 35 entries (2 pages if >18), numpad support (console)

2020-04-25 Thread Mike Banon
Hi there Paul, Sorry for a late reply and thanks for your message, wish you a happy time and good health. > >> Add support for up to 35 boot menu entries (2 pages if >18). To solve the >> ">10" problem currently experienced by SeaBIOS users (there are no 11, 12, >> etc. >> keys on a keyboard -

[SeaBIOS] Re: SeaBIOS and superformatted floppies

2020-06-18 Thread Mike Banon
> there isn't much demand for floppies these days (even emulated floppies). I disagree: There's a big demand for emulated floppies thanks to the unique capabilities provided by them! For example: if KolibriOS (http://kolibrios.org/en/) supports your Ethernet controller and you add a KolibriOS

[SeaBIOS] Re: SeaBIOS and superformatted floppies

2020-06-20 Thread Mike Banon
> Well, I suspect for these use cases it'll be *alot* easier to add emulated > harddisk support instead. It requires coding for SeaBIOS + asking the floppy OS authors to release it as an HDD image (how many will do this?) . Meanwhile, support for floppies is already there - including the double