Paul Kocialkowski (contact(a)paulk.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14564
-gerrit
commit eca47ebe7a000f0cf441d49cea2c5bde3f5b357b
Author: Paul Kocialkowski <contact(a)paulk.fr>
Date: Sun May 1 18:38:04 2016 +0200
tegra124: Align the framebuffer's bytes-per-line to 64
It turns out that tegra124 needs the framebuffer's bytes-per-line to be
aligned to 64 for proper display. This behaviour was default before
moving to edid_set_framebuffer_bits_per_pixel.
This fixes display on nyan_big.
Change-Id: Ie81b395fca23f3648ea7cd1df51152faea864c9a
Signed-off-by: Paul Kocialkowski <contact(a)paulk.fr>
---
src/soc/nvidia/tegra124/display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/soc/nvidia/tegra124/display.c b/src/soc/nvidia/tegra124/display.c
index bb96831..0fc15cb 100644
--- a/src/soc/nvidia/tegra124/display.c
+++ b/src/soc/nvidia/tegra124/display.c
@@ -334,6 +334,6 @@ void display_startup(device_t dev)
edid.mode.va = config->yres;
edid.mode.ha = config->xres;
edid_set_framebuffer_bits_per_pixel(&edid,
- config->framebuffer_bits_per_pixel, 0);
+ config->framebuffer_bits_per_pixel, 64);
set_vbe_mode_info_valid(&edid, (uintptr_t)(framebuffer_base_mb*MiB));
}
Paul Kocialkowski (contact(a)paulk.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14473
-gerrit
commit ed29c01892290d560fcb69d8a1d147e278a44b28
Author: Paul Kocialkowski <contact(a)paulk.fr>
Date: Fri Apr 22 15:11:37 2016 +0200
libpayload: Add nyan config
This adds a nyan libpayload config, that should fit all nyan devices.
Change-Id: I6b86a03054a7625534fd38ee6a21d3b91fb43589
Signed-off-by: Paul Kocialkowski <contact(a)paulk.fr>
---
payloads/libpayload/configs/config.nyan | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/payloads/libpayload/configs/config.nyan b/payloads/libpayload/configs/config.nyan
new file mode 100644
index 0000000..dc7896b
--- /dev/null
+++ b/payloads/libpayload/configs/config.nyan
@@ -0,0 +1,8 @@
+CONFIG_LP_GPL=y
+CONFIG_LP_ARCH_ARM=y
+# CONFIG_LP_CURSES is not set
+CONFIG_LP_SKIP_CONSOLE_INIT=y
+CONFIG_LP_COREBOOT_VIDEO_CONSOLE=y
+# CONFIG_LP_STORAGE is not set
+CONFIG_LP_TIMER_TEGRA_1US=y
+# CONFIG_LP_USB_OHCI is not set
Paul Kocialkowski (contact(a)paulk.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14472
-gerrit
commit c345d20ea7c48aadc12a83eff737909e839508f7
Author: Paul Kocialkowski <contact(a)paulk.fr>
Date: Fri Apr 22 11:10:03 2016 +0200
chromeos: Ensure that the last file in FW_MAIN is not also the first one
In the case where one of the FW_MAIN regions is empty, the last file
(empty) will also appear to be first and have a zero offset, making head
complain.
This is a very borderline use case, since the FW_MAIN_ regions should
have been filled previously, but an extra check doesn't hurt.
Change-Id: I15491c5b4a5e7d1f9fb369cc5fa4e3875e2dad3b
Signed-off-by: Paul Kocialkowski <contact(a)paulk.fr>
---
src/vendorcode/google/chromeos/Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc
index 0ae6fb0..2b579d1 100644
--- a/src/vendorcode/google/chromeos/Makefile.inc
+++ b/src/vendorcode/google/chromeos/Makefile.inc
@@ -138,7 +138,7 @@ $(obj)/FW_MAIN_%.bin: $(obj)/coreboot.rom
tail -1 | \
sed "s,^(empty)[[:space:]]\(0x[0-9a-f]*\)\tnull\t.*$$,\1," \
> $@.tmp.size
- if [ -n "$$(cat $@.tmp.size)" ]; then \
+ if [ -n "$$(cat $@.tmp.size)" ] && [ $$( printf "%d" $$(cat $@.tmp.size)) -gt 0 ]; then \
head -c $$( printf "%d" $$(cat $@.tmp.size)) $@.tmp > $@.tmp2 && \
mv $@.tmp2 $@; \
else \
Paul Kocialkowski (contact(a)paulk.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14474
-gerrit
commit 2363b1cdebf4065142a1d96394b2422d3f958291
Author: Paul Kocialkowski <contact(a)paulk.fr>
Date: Fri Apr 22 15:13:18 2016 +0200
google: nyan_big: Match CBFS_SIZE with cbfs size in fmap for ChromeOS
When building for ChromeOS, it is expected that Coreboot will only use
the first MiB of the SPI flash, according to the nyan fmap description.
Otherwise, it makes sense to use the full ROM size.
Change-Id: I88f444c99abec340c778fd0a56972e16d2d63c4f
Signed-off-by: Paul Kocialkowski <contact(a)paulk.fr>
---
src/mainboard/google/nyan_big/Kconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mainboard/google/nyan_big/Kconfig b/src/mainboard/google/nyan_big/Kconfig
index fdd40f6..c0cbc62 100644
--- a/src/mainboard/google/nyan_big/Kconfig
+++ b/src/mainboard/google/nyan_big/Kconfig
@@ -95,6 +95,11 @@ config DRIVER_TPM_I2C_ADDR
hex
default 0x20
+config CBFS_SIZE
+ hex
+ default 0x100000 if CHROMEOS
+ default ROM_SIZE
+
config EC_GOOGLE_CHROMEEC_BOARDNAME
string
default "big"