the following patch was just integrated into master:
commit ef0158ec90b5828b8b862deee614fde61c81d4b5
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Mon Jul 27 17:47:55 2015 +0200
arch/x86: make dependency explicit
bootblock.inc requires config.h to be around which may need to be
created. Have make be aware of it.
Change-Id: I79ad003b461d7da7a5afecdae55fdd07ba735821
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: http://review.coreboot.org/11057
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
See http://review.coreboot.org/11057 for details.
-gerrit
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10937
-gerrit
commit 230014e717dff183b8ab1ed647e34551e4c2770d
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Wed Jul 22 21:32:03 2015 +0200
cbfstool: add cbfs file attribute structure
This is a generic structure, not unlike the cbtables design, from which to
build specialized TLV data structures.
Change-Id: I98a75eef19f049ad67d46cdc2790949dcd155797
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
util/cbfstool/cbfs.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index f63b881..064d3e7 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -85,6 +85,12 @@ struct cbfs_file {
_Static_assert(sizeof(struct cbfs_file) == 24, "cbfs_file size mismatch");
+struct cbfs_file_attribute {
+ uint32_t tag;
+ uint32_t len;
+ uint8_t data[];
+} __PACKED;
+
struct cbfs_stage {
uint32_t compression;
uint64_t entry;
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11057
-gerrit
commit 709288c8d0a1996df3657a285c7234e77ce293e8
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Mon Jul 27 17:47:55 2015 +0200
arch/x86: make dependency explicit
bootblock.inc requires config.h to be around which may need to be
created. Have make be aware of it.
Change-Id: I79ad003b461d7da7a5afecdae55fdd07ba735821
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/arch/x86/Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 4b61767..d5b320f 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -114,7 +114,7 @@ $(objgenerated)/bootblock.s: $(objgenerated)/bootblock_inc.S $(obj)/config.h $(o
@printf " CC $(subst $(obj)/,,$(@))\n"
$(CC_bootblock) -MMD -x assembler-with-cpp -E -I$(src)/include -I$(src)/arch/x86/include -I$(obj) -include $(obj)/build.h -include $(obj)/config.h -I. -I$(src) $< -o $@
-$(objgenerated)/bootblock.inc: $(src)/arch/x86/$(subst ",,$(CONFIG_BOOTBLOCK_SOURCE)) $(objutil)/romcc/romcc $(OPTION_TABLE_H)
+$(objgenerated)/bootblock.inc: $(src)/arch/x86/$(subst ",,$(CONFIG_BOOTBLOCK_SOURCE)) $(objutil)/romcc/romcc $(OPTION_TABLE_H) $(KCONFIG_AUTOHEADER)
@printf " ROMCC $(subst $(obj)/,,$(@))\n"
$(CC_bootblock) $(CPPFLAGS_bootblock) -MM -MT$(objgenerated)/bootblock.inc \
$< > $(objgenerated)/bootblock.inc.d
Damien Zammit (damien(a)zamaudio.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10895
-gerrit
commit 0b8707b9e8650a0672b7cde2e2fc61363f1a5510
Author: Damien Zammit <damien(a)zamaudio.com>
Date: Mon Jul 13 15:27:01 2015 +1000
gigabyte/ga-b75m-d3h: Update device tree
This patch resolves the outstanding issues with
PCI device enumeration and getting the board to boot into
GNU/Linux with VGA rom.
Previously the board would not boot to GNU/Linux with video,
even if VGA rom was used.
Bugs in the devicetree were fixed according to superiotool output.
Tested on GA-B75M-D3H with VGA rom.
Booted to GNU/Linux (Fedora 22 4.0.4-301.fc22.x86_64)
Change-Id: Ide1f406652659e6f99ee5d993719c187650fffe4
Signed-off-by: Damien Zammit <damien(a)zamaudio.com>
---
src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
index 19a476c..f4a8664 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
@@ -24,7 +24,7 @@ chip northbridge/intel/sandybridge
device pci 00.0 on # host bridge
subsystemid 0x1458 0x5000
end
- device pci 01.0 off end # PCIe Bridge for discrete graphics
+ device pci 01.0 on end # PCIe Bridge for discrete graphics
device pci 02.0 on # vga controller
subsystemid 0x1458 0xd000
end
@@ -58,7 +58,7 @@ chip northbridge/intel/sandybridge
device pci 1b.0 on # High Definition Audio
subsystemid 0x1458 0xa002
end
- device pci 1c.0 off end # PCIe Port #1
+ device pci 1c.0 on end # PCIe Port #1
device pci 1c.1 off end # PCIe Port #2
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 off end # PCIe Port #4
@@ -92,17 +92,19 @@ chip northbridge/intel/sandybridge
drq 0x74 = 4
end
device pnp 2e.4 on # EC
+ io 0x60 = 0xa30
irq 0x70 = 9
+ io 0x62 = 0xa20
end
device pnp 2e.5 on # Keyboard
+ io 0x60 = 0x60
irq 0x70 = 1
+ io 0x62 = 0x64
end
device pnp 2e.6 on # Mouse
irq 0x70 = 12
end
- device pnp 2e.7 on # GPIO
- irq 0x70 = 0
- end
+ device pnp 2e.7 off end # GPIO
device pnp 2e.a off end # IR
end
end
Damien Zammit (damien(a)zamaudio.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10895
-gerrit
commit 908f998c4d2fb14690176a230be3ce5d4d662aa4
Author: Damien Zammit <damien(a)zamaudio.com>
Date: Mon Jul 13 15:27:01 2015 +1000
gigabyte/ga-b75m-d3h: Update device tree
This patch resolves all known outstanding issues with
PCI device enumeration and getting the board to boot into
GNU/Linux with VGA rom.
(There were bugs in the devicetree).
Tested on GA-B75M-D3H with VGA rom.
Booted to GNU/Linux (Fedora 22 4.0.4-301.fc22.x86_64)
Change-Id: Ide1f406652659e6f99ee5d993719c187650fffe4
Signed-off-by: Damien Zammit <damien(a)zamaudio.com>
---
src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
index 19a476c..f4a8664 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb
@@ -24,7 +24,7 @@ chip northbridge/intel/sandybridge
device pci 00.0 on # host bridge
subsystemid 0x1458 0x5000
end
- device pci 01.0 off end # PCIe Bridge for discrete graphics
+ device pci 01.0 on end # PCIe Bridge for discrete graphics
device pci 02.0 on # vga controller
subsystemid 0x1458 0xd000
end
@@ -58,7 +58,7 @@ chip northbridge/intel/sandybridge
device pci 1b.0 on # High Definition Audio
subsystemid 0x1458 0xa002
end
- device pci 1c.0 off end # PCIe Port #1
+ device pci 1c.0 on end # PCIe Port #1
device pci 1c.1 off end # PCIe Port #2
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 off end # PCIe Port #4
@@ -92,17 +92,19 @@ chip northbridge/intel/sandybridge
drq 0x74 = 4
end
device pnp 2e.4 on # EC
+ io 0x60 = 0xa30
irq 0x70 = 9
+ io 0x62 = 0xa20
end
device pnp 2e.5 on # Keyboard
+ io 0x60 = 0x60
irq 0x70 = 1
+ io 0x62 = 0x64
end
device pnp 2e.6 on # Mouse
irq 0x70 = 12
end
- device pnp 2e.7 on # GPIO
- irq 0x70 = 0
- end
+ device pnp 2e.7 off end # GPIO
device pnp 2e.a off end # IR
end
end