Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/403
-gerrit
commit c8806514e6001bf0acadbd3427fb5b1df861fec2
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Sat Nov 5 01:18:53 2011 +0100
Allow using binary libpayload
We already test for LIBPAYLOAD_PREFIX in the Makefile's build codepath.
Also test for it in the configuration codepath, so a prebuilt libpayload
can be used for FILO.
Change-Id: I8f2aa102f1e41f698bfd4061c5e7e7b8082c885e
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/kconfig/Makefile | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index 70c3870..e95dac0 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -18,10 +18,16 @@ LIB_CONFIG := $(src)/lib.config
HAVE_FILO_CONFIG := $(wildcard $(FILO_CONFIG))
HAVE_LIB_CONFIG := $(wildcard $(LIB_CONFIG))
+LIBPAYLOAD := $(wildcard $(LIBPAYLOAD_PREFIX)/lib/libpayload.a)
+ifeq ($(LIBPAYLOAD),)
libpayload_config_%:
echo "Libpayload config for FILO."
$(MAKE) -C $(LIBCONFIG_PATH) KCONFIG_CONFIG=$(LIB_CONFIG) $(patsubst libpayload_config_%,%,$@)
echo "Libpayload config done."
+else
+libpayload_config_%:
+ echo "Using binary libpayload, nothing to configure"
+endif
xconfig: prepare $(objk)/qconf libpayload_config_xconfig
$(objk)/qconf $(Kconfig)
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/402
-gerrit
commit 2d718354199266b4f919b38e68386f0c92dc8d01
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Sat Nov 5 01:09:47 2011 +0100
Shut down USB before starting Linux
Otherwise, if FILO knows EHCI and Linux only knows USB1 controllers,
Linux won't find any devices as they're routed to EHCI.
Change-Id: I06d046056b9807d660127c28c364abf3852b32a5
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
i386/linux_load.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/i386/linux_load.c b/i386/linux_load.c
index 07855bd..aa2f27e 100644
--- a/i386/linux_load.c
+++ b/i386/linux_load.c
@@ -792,6 +792,9 @@ int linux_load(const char *file, const char *cmdline)
}
file_close();
+#if defined(CONFIG_USB)
+ usb_exit();
+#endif
hardware_setup();