[OpenBIOS] r17 - in openbios-devel: . modules utils utils/iso utils/iso/boot utils/iso/boot/grub

svn@openbios.org svn at openbios.org
Sun May 14 13:22:42 CEST 2006


Author: stepan
Date: 2006-05-14 13:22:41 +0200 (Sun, 14 May 2006)
New Revision: 17

Added:
   openbios-devel/utils/iso/
   openbios-devel/utils/iso/README
   openbios-devel/utils/iso/boot/
   openbios-devel/utils/iso/boot/grub/
   openbios-devel/utils/iso/boot/grub/README
   openbios-devel/utils/iso/boot/grub/menu.lst
   openbios-devel/utils/iso/boot/grub/stage2_eltorito
Modified:
   openbios-devel/Makefile
   openbios-devel/config.xml
   openbios-devel/modules/cmdline.c
   openbios-devel/rules.xml
Log:
* add "make runiso" support for x86
* quick hack to fix a bug in cmdline.c that prevents some capital
  letters to be used 
* switch default architecture from cross-ppc to x86 for now.


Modified: openbios-devel/Makefile
===================================================================
--- openbios-devel/Makefile	2006-05-10 23:00:34 UTC (rev 16)
+++ openbios-devel/Makefile	2006-05-14 11:22:41 UTC (rev 17)
@@ -63,3 +63,14 @@
 run: 
 	@echo "Running..."
 	@$(ODIR)/openbios-unix $(ODIR)/openbios-unix.dict
+
+
+# The following two targets will only work on x86 so far.
+# 
+$(ODIR)/openbios.iso: $(ODIR)/openbios.multiboot $(ODIR)/openbios-x86.dict
+	@mkisofs -input-charset UTF-8 -r -b boot/grub/stage2_eltorito -no-emul-boot \
+	-boot-load-size 4 -boot-info-table -o $@ utils/iso $^
+
+runiso: $(ODIR)/openbios.iso
+	qemu -cdrom $^
+

Modified: openbios-devel/config.xml
===================================================================
--- openbios-devel/config.xml	2006-05-10 23:00:34 UTC (rev 16)
+++ openbios-devel/config.xml	2006-05-14 11:22:41 UTC (rev 17)
@@ -1 +1 @@
-link config/examples/cross-ppc_config.xml
\ No newline at end of file
+link config/examples/x86_config.xml
\ No newline at end of file

Modified: openbios-devel/modules/cmdline.c
===================================================================
--- openbios-devel/modules/cmdline.c	2006-05-10 23:00:34 UTC (rev 16)
+++ openbios-devel/modules/cmdline.c	2006-05-14 11:22:41 UTC (rev 17)
@@ -268,8 +268,8 @@
 			pos += emit_str( &buf[pos] );
 			break;
 
-		case 68: /* left */
-			drop = 1;
+		//case 68: /* left */
+		//	drop = 1;
 		case 2: /* ^b */
 			if( pos ) {
 				move_cursor( -1 );
@@ -277,8 +277,8 @@
 			}
 			break;
 
-		case 67: /* right */
-			drop = 1;
+		//case 67: /* right */
+		//	drop = 1;
 		case 6: /* ^f */
 			if( pos < n )
 				emit( buf[pos++] );
@@ -313,8 +313,8 @@
 			move_cursor( pos-emit_str(buf) );
 			break;
 			
-		case 66: /* down */
-			drop = 1;
+		//case 66: /* down */
+		//	drop = 1;
 		case 14: /* ^n */
 			if( !histind )
 				break;
@@ -328,8 +328,8 @@
 			}
 			break;
 			
-		case 65: /* up */
-			drop = 1;
+		//case 65: /* up */
+		//	drop = 1;
 		case 16: /* ^p */
 			if( !histind && add_to_history(ci, ci->buf) ) {
 				cur_added = 1;

Modified: openbios-devel/rules.xml
===================================================================
--- openbios-devel/rules.xml	2006-05-10 23:00:34 UTC (rev 16)
+++ openbios-devel/rules.xml	2006-05-14 11:22:41 UTC (rev 17)
@@ -1 +1 @@
-link config/examples/cross-ppc_rules.xml
\ No newline at end of file
+link config/examples/x86_rules.xml
\ No newline at end of file

Added: openbios-devel/utils/iso/README
===================================================================
--- openbios-devel/utils/iso/README	                        (rev 0)
+++ openbios-devel/utils/iso/README	2006-05-14 11:22:41 UTC (rev 17)
@@ -0,0 +1,5 @@
+The files in this directory are packed into the ISO image created with 
+
+ $ make runiso
+
+

Added: openbios-devel/utils/iso/boot/grub/README
===================================================================
--- openbios-devel/utils/iso/boot/grub/README	                        (rev 0)
+++ openbios-devel/utils/iso/boot/grub/README	2006-05-14 11:22:41 UTC (rev 17)
@@ -0,0 +1 @@
+stage2_eltorito is part of grub and therefore (C) by the FSF.

Added: openbios-devel/utils/iso/boot/grub/menu.lst
===================================================================
--- openbios-devel/utils/iso/boot/grub/menu.lst	                        (rev 0)
+++ openbios-devel/utils/iso/boot/grub/menu.lst	2006-05-14 11:22:41 UTC (rev 17)
@@ -0,0 +1,7 @@
+timeout 0
+default 0
+hiddenmenu
+title openbios
+kernel (cd)/openbios.multiboot
+module (cd)/openbios-x86.dict
+boot

Added: openbios-devel/utils/iso/boot/grub/stage2_eltorito
===================================================================
(Binary files differ)


Property changes on: openbios-devel/utils/iso/boot/grub/stage2_eltorito
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the OpenBIOS mailing list