[SeaBIOS] [coreboot] Patch number 4 for floppy in SeaBIOS

Gelip mrgelip at gmail.com
Wed Dec 11 21:34:37 CET 2013


First patch is applied OK, i tested one more time.

Second patch is more better. FDD now read more data from floppy :-).
Read very slow probably because debug is ON. After end is more, more, more null <00>
I break serial log Ctrl+C. PC not boot to end and stop booting while:
=========================
A:\keyb pl,,keyboard4.sys
=========================
but I remembered about this: http://www.coreboot.org/pipermail/coreboot/2013-November/076643.html and try boot from other floppy and successfully boot :-) :-) :-)
=====================================================================================
10.055: Booting from Floppy...
10.055: enter handle_13:
10.055:    a=00000201  b=00000000  c=00000001  d=00000000 ds=0000 es=07c0 ss=df80
10.055:   si=00000000 di=00000000 bp=00000000 sp=0000f960 cs=f000 ip=cb8a  f=0202
10.055: disk_op d=0x000f5550 lba=0 buf=0x00007c00 count=1 cmd=2
10.089: Floppy_drive_recal 0
10.089: Floppy_enable_controller
10.089: handle_0e
10.089: handle_0e
10.442: handle_0e
10.442: Floppy_media_sense on drive 0 found rate 0
10.638: handle_0e
10.638: Booting from 0000:7c00
10.639: enter handle_13:
10.639:    a=00000201  b=00000700  c=00000002  d=00000100 ds=0000 es=0000 ss=df80
10.642:   si=00007bd2 di=00000700 bp=00007c00 sp=0000f960 cs=0000 ip=7d6e  f=0002
10.642: disk_op d=0x000f5550 lba=19 buf=0x00000700 count=1 cmd=2
10.824: handle_0e
10.824: enter handle_13:
10.824:    a=00000201  b=00000700  c=00000010  d=00000100 ds=0000 es=0000 ss=df80
10.826:   si=00007bd2 di=00000002 bp=00007c00 sp=0000f960 cs=0000 ip=7d6e  f=0002
10.826: disk_op d=0x000f5550 lba=33 buf=0x00000700 count=1 cmd=2
10.956: handle_0e
10.956: enter handle_13:
10.956:    a=00000201  b=00000900  c=00000011  d=00000100 ds=0000 es=0000 ss=df80
10.957:   si=00007bd2 di=00000002 bp=00007c00 sp=0000f960 cs=0000 ip=7d6e  f=0006
10.957: disk_op d=0x000f5550 lba=34 buf=0x00000900 count=1 cmd=2
11.147: handle_0e
11.147: enter handle_13:
11.147:    a=00000201  b=00000b00  c=00000012  d=00000100 ds=0000 es=0000 ss=df80
11.147:   si=00007bd2 di=00000002 bp=00007c00 sp=0000f960 cs=0000 ip=7d6e  f=0006
11.151: disk_op d=0x000f5550 lba=35 buf=0x00000b00 count=1 cmd=2
11.337: handle_0e
11.337: enter handle_13:
11.337:    a=00000201  b=00000d00  c=00000101  d=00000000 ds=0000 es=0000 ss=df80
11.337:   si=00007bd2 di=00000002 bp=00007c00 sp=0000f960 cs=0000 ip=7d6e  f=0002
11.341: disk_op d=0x000f5550 lba=36 buf=0x00000d00 count=1 cmd=2
11.341: Floppy seek 0 to cyl 1
11.348: handle_0e
11.527: handle_0e
11.527: enter handle_12:
11.527:    a=0000f000  b=00000f00  c=00000000  d=00000000 ds=0070 es=0000 ss=df80
11.528:   si=000056f0 di=00000002 bp=00007c00 sp=0000f960 cs=0070 ip=0226  f=0046
11.528: enter handle_13:
11.528:    a=00000201  b=00000800  c=00000002  d=00000000 ds=8000 es=8000 ss=df80
11.528:   si=00000001 di=00000800 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
11.528: disk_op d=0x000f5550 lba=1 buf=0x00080800 count=1 cmd=2
11.528: Floppy seek 0 to cyl 0
11.544: handle_0e
11.701: handle_0e
11.701: enter handle_13:
11.700:    a=00000211  b=00000000  c=00000102  d=00000000 ds=8000 es=0070 ss=df80
11.702:   si=00000011 di=00000000 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
11.702: disk_op d=0x000f5550 lba=37 buf=0x00000700 count=17 cmd=2
11.702: Floppy seek 0 to cyl 1
11.712: handle_0e
12.046: handle_0e
12.046: enter handle_13:
12.046:    a=00000212  b=00002200  c=00000101  d=00000100 ds=8000 es=0070 ss=df80
12.046:   si=00000012 di=00002200 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
12.046: disk_op d=0x000f5550 lba=54 buf=0x00002900 count=18 cmd=2
12.427: handle_0e
12.427: enter handle_13:
12.427:    a=00000212  b=00004600  c=00000201  d=00000000 ds=8000 es=0070 ss=df80
12.427:   si=00000012 di=00004600 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
12.431: disk_op d=0x000f5550 lba=72 buf=0x00004d00 count=18 cmd=2
12.431: Floppy seek 0 to cyl 2
12.439: handle_0e
12.805: handle_0e
12.805: enter handle_13:
12.805:    a=0000020b  b=00006a00  c=00000201  d=00000100 ds=8000 es=0070 ss=df80
12.805:   si=0000000b di=00006a00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
12.805: disk_op d=0x000f5550 lba=90 buf=0x00007100 count=11 cmd=2
13.105: handle_0e
13.105: enter handle_13:
13.105:    a=00000207  b=00000a00  c=0000020c  d=00000100 ds=8000 es=8000 ss=df80
13.105:   si=00000007 di=00000a00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0206
13.105: disk_op d=0x000f5550 lba=101 buf=0x00080a00 count=7 cmd=2
13.361: handle_0e
13.361: enter handle_13:
13.361:    a=00000212  b=00001800  c=00000301  d=00000000 ds=8000 es=8000 ss=df80
13.361:   si=00000012 di=00001800 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
13.361: disk_op d=0x000f5550 lba=108 buf=0x00081800 count=18 cmd=2
13.368: Floppy seek 0 to cyl 3
13.368: handle_0e
13.733: handle_0e
13.733: enter handle_13:
13.733:    a=00000212  b=00003c00  c=00000301  d=00000100 ds=8000 es=8000 ss=df80
13.732:   si=00000012 di=00003c00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
13.732: disk_op d=0x000f5550 lba=126 buf=0x00083c00 count=18 cmd=2
14.110: handle_0e
14.110: enter handle_13:
14.110:    a=00000212  b=00006000  c=00000401  d=00000000 ds=8000 es=8000 ss=df80
14.110:   si=00000012 di=00006000 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
14.113: disk_op d=0x000f5550 lba=144 buf=0x00086000 count=18 cmd=2
14.113: Floppy seek 0 to cyl 4
14.121: handle_0e
14.485: handle_0e
14.485: enter handle_13:
14.485:    a=00000203  b=00008400  c=00000401  d=00000100 ds=8000 es=8000 ss=df80
14.485:   si=00000003 di=00008400 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
14.485: disk_op d=0x000f5550 lba=162 buf=0x00088400 count=3 cmd=2
14.699: handle_0e
14.699: enter handle_13:
14.699:    a=0000020f  b=00000000  c=00000404  d=00000100 ds=8000 es=1070 ss=df80
14.699:   si=0000000f di=00000000 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
14.703: disk_op d=0x000f5550 lba=165 buf=0x00010700 count=15 cmd=2
15.045: handle_0e
15.045: enter handle_13:
15.045:    a=00000212  b=00001e00  c=00000501  d=00000000 ds=8000 es=1070 ss=df80
15.045:   si=00000012 di=00001e00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
15.048: disk_op d=0x000f5550 lba=180 buf=0x00012500 count=18 cmd=2
15.048: Floppy seek 0 to cyl 5
15.057: handle_0e
15.418: handle_0e
15.418: enter handle_13:
15.418:    a=00000212  b=00004200  c=00000501  d=00000100 ds=8000 es=1070 ss=df80
15.418:   si=00000012 di=00004200 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
15.418: disk_op d=0x000f5550 lba=198 buf=0x00014900 count=18 cmd=2
15.801: handle_0e
15.801: enter handle_13:
15.801:    a=0000020d  b=00006600  c=00000601  d=00000000 ds=8000 es=1070 ss=df80
15.801:   si=0000000d di=00006600 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
15.802: disk_op d=0x000f5550 lba=216 buf=0x00016d00 count=13 cmd=2
15.802: Floppy seek 0 to cyl 6
15.811: handle_0e
16.119: handle_0e
16.119: enter handle_13:
16.119:    a=00000205  b=00000a00  c=0000060e  d=00000000 ds=8000 es=8000 ss=df80
16.118:   si=00000005 di=00000a00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
16.118: disk_op d=0x000f5550 lba=229 buf=0x00080a00 count=5 cmd=2
16.354: handle_0e
16.354: enter handle_13:
16.354:    a=00000212  b=00001400  c=00000601  d=00000100 ds=8000 es=8000 ss=df80
16.354:   si=00000012 di=00001400 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
16.354: disk_op d=0x000f5550 lba=234 buf=0x00081400 count=18 cmd=2
16.729: handle_0e
16.729: enter handle_13:
16.729:    a=00000212  b=00003800  c=00000701  d=00000000 ds=8000 es=8000 ss=df80
16.729:   si=00000012 di=00003800 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
16.729: disk_op d=0x000f5550 lba=252 buf=0x00083800 count=18 cmd=2
16.738: Floppy seek 0 to cyl 7
16.738: handle_0e
17.106: handle_0e
17.106: enter handle_13:
17.106:    a=00000212  b=00005c00  c=00000701  d=00000100 ds=8000 es=8000 ss=df80
17.106:   si=00000012 di=00005c00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
17.106: disk_op d=0x000f5550 lba=270 buf=0x00085c00 count=18 cmd=2
17.485: handle_0e
17.485: enter handle_13:
17.485:    a=00000205  b=00008000  c=00000801  d=00000000 ds=8000 es=8000 ss=df80
17.485:   si=00000005 di=00008000 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
17.491: disk_op d=0x000f5550 lba=288 buf=0x00088000 count=5 cmd=2
17.491: Floppy seek 0 to cyl 8
17.499: handle_0e
17.719: handle_0e
17.719: enter handle_13:
17.719:    a=0000020d  b=00000000  c=00000806  d=00000000 ds=8000 es=2070 ss=df80
17.719:   si=0000000d di=00000000 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0206
17.725: disk_op d=0x000f5550 lba=293 buf=0x00020700 count=13 cmd=2
18.038: handle_0e
18.038: enter handle_13:
18.038:    a=00000212  b=00001a00  c=00000801  d=00000100 ds=8000 es=2070 ss=df80
18.038:   si=00000012 di=00001a00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
18.044: disk_op d=0x000f5550 lba=306 buf=0x00022100 count=18 cmd=2
18.415: handle_0e
18.415: enter handle_13:
18.415:    a=00000212  b=00003e00  c=00000901  d=00000000 ds=8000 es=2070 ss=df80
18.415:   si=00000012 di=00003e00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
18.415: disk_op d=0x000f5550 lba=324 buf=0x00024500 count=18 cmd=2
18.423: Floppy seek 0 to cyl 9
18.423: handle_0e
18.793: handle_0e
18.793: enter handle_13:
18.793:    a=0000020f  b=00006200  c=00000901  d=00000100 ds=8000 es=2070 ss=df80
18.794:   si=0000000f di=00006200 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
18.798: disk_op d=0x000f5550 lba=342 buf=0x00026900 count=15 cmd=2
19.137: handle_0e
19.137: enter handle_13:
19.138:    a=00000201  b=00000800  c=00000003  d=00000000 ds=8000 es=8000 ss=df80
19.138:   si=00000001 di=00000800 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0206
19.139: disk_op d=0x000f5550 lba=2 buf=0x00080800 count=1 cmd=2
19.139: Floppy seek 0 to cyl 0
19.195: handle_0e
19.380: handle_0e
19.380: enter handle_13:
19.380:    a=00000203  b=00000000  c=00000910  d=00000100 ds=8000 es=2870 ss=df80
19.380:   si=00000003 di=00000000 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
19.380: disk_op d=0x000f5550 lba=357 buf=0x00028700 count=3 cmd=2
19.386: Floppy seek 0 to cyl 9
19.436: handle_0e
19.524: handle_0e
19.524: enter handle_13:
19.524:    a=00000212  b=00000600  c=00000a01  d=00000000 ds=8000 es=2870 ss=df80
19.524:   si=00000012 di=00000600 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
19.524: disk_op d=0x000f5550 lba=360 buf=0x00028d00 count=18 cmd=2
19.531: Floppy seek 0 to cyl 10
19.531: handle_0e
19.899: handle_0e
19.899: enter handle_13:
19.899:    a=00000212  b=00002a00  c=00000a01  d=00000100 ds=8000 es=2870 ss=df80
19.899:   si=00000012 di=00002a00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
19.899: disk_op d=0x000f5550 lba=378 buf=0x0002b100 count=18 cmd=2
20.272: handle_0e
20.272: enter handle_13:
20.272:    a=00000206  b=00004e00  c=00000b01  d=00000000 ds=8000 es=2870 ss=df80
20.272:   si=00000006 di=00004e00 bp=0000000a sp=0000f960 cs=8000 ip=0662  f=0202
20.277: disk_op d=0x000f5550 lba=396 buf=0x0002d500 count=6 cmd=2
20.277: Floppy seek 0 to cyl 11
20.286: handle_0e
20.518: handle_0e
20.518: enter handle_11:
20.518:    a=00000070  b=00000465  c=00000000  d=0000f000 ds=0000 es=0000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=0a6d  f=0206
20.518: enter handle_14:
20.518:    a=000000a3  b=0000e6f5  c=00000000  d=00000003 ds=0000 es=f000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=19f9  f=0286
20.518: invalid getComAddr:64:
20.518:    a=000000a3  b=0000e6f5  c=00000000  d=00000003 ds=0000 es=f000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=19f9  f=0286
20.518: enter handle_14:
20.518:    a=000000a3  b=0000e6f5  c=00000000  d=00000002 ds=0000 es=f000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=19f9  f=0287
20.518: invalid getComAddr:64:
20.518:    a=000000a3  b=0000e6f5  c=00000000  d=00000002 ds=0000 es=f000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=19f9  f=0287
20.518: enter handle_14:
20.518:    a=000000a3  b=0000e6f5  c=00000000  d=00000001 ds=0000 es=f000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=19f9  f=0287
20.518: enter handle_14:
20.518:    a=000000a3  b=0000e6f5  c=00000000  d=00000000 ds=0000 es=f000 ss=df80
20.518:   si=0000012d di=00000014 bp=0000000a sp=0000f960 cs=0070 ip=19f9  f=0246
20.550: <00>
20.550: <00>
20.550: <00>
20.550: <00>
20.550: <00>
20.550: <00>
20.550: <00>
20.550: <00>
20.550: <00>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.seabios.org/pipermail/seabios/attachments/20131211/ae20a938/attachment-0001.html>


More information about the SeaBIOS mailing list