Skip to contentSkip to conversation

add sgabios blob and submodule

PATCH Applied Paolo Bonzini 3 participants 5 messages Nov 3, 2011 – Nov 8, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add sgabios blob and submodule

The rom was not added together with the sgabios device and is not installed.

---
The sgabios.git mirror repository can be fetched from
http://people.redhat.com/pbonzini/sgabios-git.tgz

 .gitmodules         |    3 +++
 Makefile            |    2 +-
 pc-bios/README      |    6 ++++++
 pc-bios/sgabios.bin |  Bin 0 -> 4096 bytes
 roms/sgabios        |    1 +
 5 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100755 pc-bios/sgabios.bin
 create mode 160000 roms/sgabios
.gitmodules +3 -0
index 2a43dbc..eca876f 100644
@@ -16,3 +16,6 @@
 [submodule "roms/qemu-palcode"]
 	path = roms/qemu-palcode
 	url = git://repo.or.cz/qemu-palcode.git
+[submodule "roms/sgabios"]
+	path = roms/sgabios
+	url = git://git.qemu.org/sgabios.git
Makefile +1 -1
index 4f6eaa4..168093c 100644
@@ -253,7 +253,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \
 common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr
 
 ifdef INSTALL_BLOBS
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin \
+BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \
 vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \
 ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc \
 pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \
pc-bios/README +6 -0
index 0668559..1cebbbc 100644
@@ -19,6 +19,12 @@
   https://github.com/dgibson/SLOF, and the image currently in qemu is
   built from git tag qemu-slof-20111013.
 
+- sgabios (the Serial Graphics Adapter option ROM) provides a means for
+  legacy x86 software to communicate with an attached serial console as
+  if a video card were attached.  The master sources reside in a subversion
+  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
+  available at git://git.qemu.org/sgabios.git.
+
 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
   Sources available at http://ipxe.org.  Vendor:Device ID -> ROM mapping:
 
pc-bios/sgabios.bin new file binary +0 -0
new file mode 100755
index 0000000000000000000000000000000000000000..c3da4c3d0a34e4eca9b0cda38d0538b332f7b09e
GIT binary patch
roms/sgabios new file +1 -0
new file mode 160000
index 0000000..23d4749
@@ -0,0 +1 @@
+Subproject commit 23d474943dcd55d0550a3d20b3d30e9040a4f15b
Signature · 1 line
1.7.6.4
#1 lore raw
Quoted 8 lines · Paolo Bonzini

The rom was not added together with the sgabios device and is not installed.

---
       The sgabios.git mirror repository can be fetched from
       http://people.redhat.com/pbonzini/sgabios-git.tgz

Quoted 5 lines

 .gitmodules         |    3 +++
 Makefile            |    2 +-
 pc-bios/README      |    6 ++++++
 pc-bios/sgabios.bin |  Bin 0 -> 4096 bytes
 roms/sgabios        |    1 +

Sorry, what are sgabios and sgabios.bin separately? What is the relationship?

Quoted 117 lines
 5 files changed, 11 insertions(+), 1 deletions(-)

 create mode 100755 pc-bios/sgabios.bin
 create mode 160000 roms/sgabios

.gitmodules +0 -0
index 2a43dbc..eca876f 100644
@@ -16,3 +16,6 @@

 [submodule "roms/qemu-palcode"]
       path = roms/qemu-palcode
       url = git://repo.or.cz/qemu-palcode.git
+[submodule "roms/sgabios"]
+       path = roms/sgabios
+       url = git://git.qemu.org/sgabios.git

Makefile +0 -0
index 4f6eaa4..168093c 100644
@@ -253,7 +253,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \

 common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr

 ifdef INSTALL_BLOBS

Makefile +1 -1
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin \
+BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \

 vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \
 ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc \
 pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \

pc-bios/README +0 -0
index 0668559..1cebbbc 100644
@@ -19,6 +19,12 @@

  https://github.com/dgibson/SLOF, and the image currently in qemu is built from git tag qemu-slof-20111013.

+- sgabios (the Serial Graphics Adapter option ROM) provides a means for
+  legacy x86 software to communicate with an attached serial console as
+  if a video card were attached.  The master sources reside in a subversion
+  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
+  available at git://git.qemu.org/sgabios.git.
+
 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0. Sources available at http://ipxe.org.  Vendor:Device ID -> ROM mapping:

pc-bios/sgabios.bin new file binary +0 -0
new file mode 100755
index 0000000000000000000000000000000000000000..c3da4c3d0a34e4eca9b0cda38d0538b332f7b09e
GIT binary patch
roms/sgabios new file +1 -1
new file mode 160000
index 0000000..23d4749
@@ -0,0 +1 @@
+Subproject commit 23d474943dcd55d0550a3d20b3d30e9040a4f15b
--

1.7.6.4

Signature · 3 lines
Regards,

Zhi Yong Wu
#2 lore raw
Quoted 9 lines · Zhi Yong Wu
Quoted 8 lines · Paolo Bonzini

The rom was not added together with the sgabios device and is not installed.

---
The sgabios.git mirror repository can be fetched from
http://people.redhat.com/pbonzini/sgabios-git.tgz

Quoted 6 lines
Quoted 5 lines
  .gitmodules         |    3 +++
  Makefile            |    2 +-
  pc-bios/README      |    6 ++++++
  pc-bios/sgabios.bin |  Bin 0 ->  4096 bytes
  roms/sgabios        |    1 +

Sorry, what are sgabios and sgabios.bin separately? What is the relationship?

The way git does submodules is that it stores a file in the tree that contains the commit hash of the submodule along with metadata indicating that its a submodule. So in a git diff, you see a commit hash change, but when you check out or commit, it's really a directory that contains an external git tree.

We use submodules for all of the different firmware blobs that you need to run a guest. You can look in roms/* for the full list.

We also include the binary blobs in the tree because they often require special build tools (or at least, target specific cross compilers). That means that most people don't have the necessary tools available to build those blobs.

Regards,

Anthony Liguori

Quoted 121 lines
Quoted 118 lines
  5 files changed, 11 insertions(+), 1 deletions(-)

create mode 100755 pc-bios/sgabios.bin
create mode 160000 roms/sgabios

.gitmodules +3 -0
index 2a43dbc..eca876f 100644
@@ -16,3 +16,6 @@
  [submodule "roms/qemu-palcode"]
        path = roms/qemu-palcode
        url = git://repo.or.cz/qemu-palcode.git
+[submodule "roms/sgabios"]
+       path = roms/sgabios
+       url = git://git.qemu.org/sgabios.git
Makefile +1 -1
index 4f6eaa4..168093c 100644
@@ -253,7 +253,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \
  common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr
 
  ifdef INSTALL_BLOBS
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin \
+BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \
  vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \
  ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc \
  pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \
pc-bios/README +6 -0
index 0668559..1cebbbc 100644
@@ -19,6 +19,12 @@
   https://github.com/dgibson/SLOF, and the image currently in qemu is
   built from git tag qemu-slof-20111013.
 
+- sgabios (the Serial Graphics Adapter option ROM) provides a means for
+  legacy x86 software to communicate with an attached serial console as
+  if a video card were attached.  The master sources reside in a subversion
+  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
+  available at git://git.qemu.org/sgabios.git.
+
  - The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
   Sources available at http://ipxe.org.  Vendor:Device ID ->  ROM mapping:
 
pc-bios/sgabios.bin new file binary +0 -0
new file mode 100755
index 0000000000000000000000000000000000000000..c3da4c3d0a34e4eca9b0cda38d0538b332f7b09e
GIT binary patch
roms/sgabios new file +1 -1
new file mode 160000
index 0000000..23d4749
@@ -0,0 +1 @@
+Subproject commit 23d474943dcd55d0550a3d20b3d30e9040a4f15b
--

1.7.6.4

#3 lore raw
Quoted 28 lines · Anthony Liguori
Quoted 12 lines · Zhi Yong Wu
Quoted 9 lines · Paolo Bonzini

The rom was not added together with the sgabios device and is not installed.

---
       The sgabios.git mirror repository can be fetched from
       http://people.redhat.com/pbonzini/sgabios-git.tgz

Quoted 8 lines
Quoted 5 lines

 .gitmodules         |    3 +++
 Makefile            |    2 +-
 pc-bios/README      |    6 ++++++
 pc-bios/sgabios.bin |  Bin 0 ->  4096 bytes
 roms/sgabios        |    1 +

Sorry, what are sgabios and sgabios.bin separately? What is the relationship?

The way git does submodules is that it stores a file in the tree that contains the commit hash of the submodule along with metadata indicating that its a submodule.  So in a git diff, you see a commit hash change, but when you check out or commit, it's really a directory that contains an external git tree.

Quoted 7 lines

We use submodules for all of the different firmware blobs that you need to run a guest.  You can look in roms/* for the full list.

We also include the binary blobs in the tree because they often require special build tools (or at least, target specific cross compilers).  That means that most people don't have the necessary tools available to build those blobs.

Got it. thanks, anthony.

Quoted 133 lines

Regards,

Anthony Liguori

Quoted 126 lines
Quoted 123 lines
 5 files changed, 11 insertions(+), 1 deletions(-)

 create mode 100755 pc-bios/sgabios.bin
 create mode 160000 roms/sgabios

.gitmodules +0 -0
index 2a43dbc..eca876f 100644
@@ -16,3 +16,6 @@

 [submodule "roms/qemu-palcode"]
       path = roms/qemu-palcode
       url = git://repo.or.cz/qemu-palcode.git
+[submodule "roms/sgabios"]
+       path = roms/sgabios
+       url = git://git.qemu.org/sgabios.git

Makefile +0 -0
index 4f6eaa4..168093c 100644
@@ -253,7 +253,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl
       pl  ru     th \

 common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr

 ifdef INSTALL_BLOBS

Makefile +1 -1
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin \
+BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \

 vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \
 ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc \
 pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \

pc-bios/README +0 -0
index 0668559..1cebbbc 100644
@@ -19,6 +19,12 @@

  https://github.com/dgibson/SLOF, and the image currently in qemu is built from git tag qemu-slof-20111013.

+- sgabios (the Serial Graphics Adapter option ROM) provides a means for
+  legacy x86 software to communicate with an attached serial console as
+  if a video card were attached.  The master sources reside in a subversion
+  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
+  available at git://git.qemu.org/sgabios.git.
+
 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0. Sources available at http://ipxe.org.  Vendor:Device ID ->  ROM mapping:

pc-bios/sgabios.bin new file +0 -0
new file mode 100755

index 0000000000000000000000000000000000000000..c3da4c3d0a34e4eca9b0cda38d0538b332f7b09e GIT binary patch
literal 4096 zcmeHJeRNah8Gmw<CMA}H3E~Hu1gWw1<C3&cp^7R6etvvCcx5Msf5x%J8fB-%VdXB z(goPP4Wd)$$L3rSH#>(K=NZ!#YiO_$Hpho3C>|*k=364AM}*OQ+H$d;Erd1?wtL_ zdrscx_dM_O{NCq%?)%)_<*#K9x2T8LsLwZz!svOLz$lClLt13p+N?4Pp<PnTVJXP{ z{vin~r3n_cwXJ=mDc?}j+DL<=$=mFH#IVroUcaunvE5Ly#=YLx<TaShGfhP^&1P^c ztf;K9It<x0YqAYF>sPn6{<OKZxqPGhM=dnl-sElH*iL(!)~s{;=*G53?=vi0#~L1N z+h8yh8O%iMMWjE&4%U6stkoDB(vQ%jWN$FoL%gl#^5ZWMbnt#R#?{LeYC^?)s^!r zP@KOsf(JabH9R7@%saGCfacG^t&~;X5VAH(|p_Q+R6GUQ)m95;Ff$@-n5@@pZl|( zEnBy7IbA{i@uI9*vu~p0iVUSHbAtNSd*7Zo>(7CgLT_|Gwe#g&&%N@y-~Z{Y=U;g8 z>EAx{?3=%M{g=D%kmB#V#y>;iFGT)H-|_$IkH7wd2FlAf<mTqm*G6ucWz%$<qhM3R zhB8ZS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qgO5PCNe%k%>r+yH3Bh>kBq=DM|j4 z3@sy(1TN8?Wmy1WRvy?-MOI-e*_ZR@f-5vD*FB(a+Z}3&lLSh3gs@rpOm8<MyW(O z3+*bFitX|zGf};a<_Re0pj4xrjZ%a1E|gl7eJCfREEb%u@Aky!=pKIY@;e7XY6xWu zNR8&%nFF3(Lx3P30g*sC0<{Ee2rfv#i9id+s4@rp#<*RRE8%?DE@4{2<#1&J;z|kI z;0eiYm#DQlCTTNnK44g*+k!aKz@>FDaW#_-nRi+9QP?-3y2T1mrY@mPVYl~Hh8^s z8pAqFCwE&+-damZyE<FTeesE!i^MKi=CLLIgxX7+L}``2wwlD%D6ZPsTWC(V7p@)J zr=hvBUWln^Or0W>DU5r*I|-7PUeoBwOJnQ^S&--}2XZz}N)vrcft-w!S&6<@AV=dQ zFL9lwzV8^2a2%7SyL;i~#V~-U1oCA(^cXomMtAQ8Zolw%&bS3QV;zuzIJp=fP}YEa zK-mQMMU{<kOdeI%;<x*N(gUjPA4ZjH@hfguGazO677)Vp%X>k(>ojNV1){$~-oMg! z5=d>F-f5z?4U+aa-nY&8Z$p~n<f*vyMfA7pAA|q1{QlSY4edq+ZdBm^RDlO;YDN9O E0dGKec>n+a

literal 0
HcmV?d00001

roms/sgabios new file +1 -1
new file mode 160000
index 0000000..23d4749
@@ -0,0 +1 @@
+Subproject commit 23d474943dcd55d0550a3d20b3d30e9040a4f15b
--

1.7.6.4

Signature · 3 lines
Regards,

Zhi Yong Wu
#4 lore raw
In reply to Paolo Bonzini
Quoted 4 lines · Paolo Bonzini

The rom was not added together with the sgabios device and is not installed.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 121 lines

---
The sgabios.git mirror repository can be fetched from
http://people.redhat.com/pbonzini/sgabios-git.tgz

  .gitmodules         |    3 +++
  Makefile            |    2 +-
  pc-bios/README      |    6 ++++++
  pc-bios/sgabios.bin |  Bin 0 ->  4096 bytes
  roms/sgabios        |    1 +
  5 files changed, 11 insertions(+), 1 deletions(-)

create mode 100755 pc-bios/sgabios.bin
create mode 160000 roms/sgabios

.gitmodules +3 -0
index 2a43dbc..eca876f 100644
@@ -16,3 +16,6 @@
  [submodule "roms/qemu-palcode"]
  	path = roms/qemu-palcode
  	url = git://repo.or.cz/qemu-palcode.git
+[submodule "roms/sgabios"]
+	path = roms/sgabios
+	url = git://git.qemu.org/sgabios.git
Makefile +1 -1
index 4f6eaa4..168093c 100644
@@ -253,7 +253,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \
  common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr
 
  ifdef INSTALL_BLOBS
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin \
+BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \
  vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin \
  ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc \
  pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \
pc-bios/README +6 -0
index 0668559..1cebbbc 100644
@@ -19,6 +19,12 @@
    https://github.com/dgibson/SLOF, and the image currently in qemu is
    built from git tag qemu-slof-20111013.
 
+- sgabios (the Serial Graphics Adapter option ROM) provides a means for
+  legacy x86 software to communicate with an attached serial console as
+  if a video card were attached.  The master sources reside in a subversion
+  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
+  available at git://git.qemu.org/sgabios.git.
+
  - The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
    Sources available at http://ipxe.org.  Vendor:Device ID ->  ROM mapping:
 
pc-bios/sgabios.bin new file binary +0 -0
new file mode 100755
index 0000000000000000000000000000000000000000..c3da4c3d0a34e4eca9b0cda38d0538b332f7b09e
GIT binary patch
roms/sgabios new file +1 -0
new file mode 160000
index 0000000..23d4749
@@ -0,0 +1 @@
+Subproject commit 23d474943dcd55d0550a3d20b3d30e9040a4f15b