Giter Site home page Giter Site logo

archfan / coreboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mytbk/coreboot

14.0 14.0 2.0 113.83 MB

Coreboot for Lenovo Thinkpad T440P with additional patches

License: GNU General Public License v2.0

Makefile 1.07% C++ 13.54% C 80.38% Objective-C 0.97% Assembly 2.10% Shell 0.31% Lex 0.02% Yacc 0.04% PHP 0.59% HTML 0.01% Perl 0.39% Python 0.26% M4 0.01% Roff 0.03% Ada 0.16% Go 0.14% Dockerfile 0.01% sed 0.01%

coreboot's People

Contributors

arthurheymans avatar ebiederm avatar elyesh avatar fishbaoz avatar furquan-goog avatar gabemblack avatar hungte avatar i-c-o-n avatar jwerner-chromium avatar kmalkki avatar leeleahy avatar lijianzhao2017 avatar madscientist159 avatar marcj303 avatar marshall-dawson avatar mrchromebox avatar mrnuke avatar myleswatson avatar n-huber avatar neuschaefer avatar patrickrudolph avatar paulepanter avatar pgeorgi avatar phcoder avatar reinauer avatar rminnich avatar siro20 avatar subrata-b avatar svenschnelle avatar uwehermann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coreboot's Issues

Issues building cross-compiler even though gcc-ada installed

Running this up on Arch Linux and I can't seem to build the i386 toolchain.

I've installed gcc-ada and all of the requirements for Arch Linux, it should be noted that I don't have any issues compiling the toolchain in the upstream coreboot.

When it gets to building GCC this is the error I get:

mv b_gnatb.adb b_gnatb.ads ada/
g++ -no-pie   -O2  -fomit-frame-pointer -m64  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o Tlto-wrapper \
   lto-wrapper.o collect-utils.o ggc-none.o libcommon-target.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
mv -f Tcollect2 collect2
g++ -no-pie   -O2  -fomit-frame-pointer -m64  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  gcc-ar.o -o gcc-ar \
	file-find.o libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
g++ -no-pie   -O2  -fomit-frame-pointer -m64  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  gcc-nm.o -o gcc-nm \
	file-find.o libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
mv -f Tlto-wrapper lto-wrapper
g++ -no-pie   -O2  -fomit-frame-pointer -m64  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  gcc-ranlib.o -o gcc-ranlib \
	file-find.o libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
g++ -no-pie   -O2  -fomit-frame-pointer -m64  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o gengtype \
    gengtype.o gengtype-lex.o gengtype-parse.o gengtype-state.o version.o errors.o libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
g++ -fno-PIE -c  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/xgcc/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/xgcc/lib/gcc/\" -DDEFAULT_TARGET_VERSION=\"8.3.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"i386-elf\" -DDEFAULT_TARGET_MACHINE=\"i386-elf\" -DSTANDARD_BINDIR_PREFIX=\"/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/xgcc/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\"   -DCONFIGURE_SPECS="\"\"" -DBASEVER="\"8.3.0\"" -O2  -fomit-frame-pointer -m64  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-8.3.0/gcc -I../../gcc-8.3.0/gcc/. -I../../gcc-8.3.0/gcc/../include -I../../gcc-8.3.0/gcc/../libcpp/include -I/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/xgcc/include -I/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/xgcc/include -I/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/xgcc/include  -I../../gcc-8.3.0/gcc/../libdecnumber -I../../gcc-8.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-8.3.0/gcc/../libbacktrace   -o gcc.o -MT gcc.o -MMD -MP -MF ./.deps/gcc.TPo ../../gcc-8.3.0/gcc/gcc.c
gnatgcc -c -O2  -fomit-frame-pointer -m64   -gnatp -gnatws -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-8.3.0/gcc/ada -I../../gcc-8.3.0/gcc/ada/gcc-interface -Iada/libgnat -I../../gcc-8.3.0/gcc/ada/libgnat \
    ada/b_gnatb.adb -o ada/b_gnatb.o
g++ -no-pie -O2 -fomit-frame-pointer -m64 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o gnatbind ada/b_gnatb.o ada/libgnat/a-elchha.o ada/libgnat/a-except.o ada/libgnat/ada.o ada/adaint.o ada/ali-util.o ada/ali.o ada/alloc.o ada/argv.o ada/aspects.o ada/atree.o ada/bcheck.o ada/binde.o ada/binderr.o ada/bindgen.o ada/bindusg.o ada/butil.o ada/casing.o ada/cio.o ada/csets.o ada/cstreams.o ada/debug.o ada/einfo.o ada/elists.o ada/env.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/exit.o ada/final.o ada/fmap.o ada/fname-uf.o ada/fname.o ada/libgnat/g-byorma.o ada/libgnat/g-hesora.o ada/libgnat/g-htable.o ada/libgnat/gnat.o ada/gnatbind.o ada/gnatvsn.o ada/hostparm.o ada/init.o ada/initialize.o ada/libgnat/interfac.o ada/krunch.o ada/lib.o ada/link.o ada/namet.o ada/nlists.o ada/opt.o ada/osint-b.o ada/osint.o ada/output.o ada/raise.o ada/raise-gcc.o ada/restrict.o ada/rident.o ada/rtfinal.o ada/rtinit.o ada/libgnat/s-addope.o ada/libgnat/s-assert.o ada/libgnat/s-carun8.o ada/libgnat/s-casuti.o ada/libgnat/s-conca2.o ada/libgnat/s-conca3.o ada/libgnat/s-conca4.o ada/libgnat/s-conca5.o ada/libgnat/s-conca6.o ada/libgnat/s-conca7.o ada/libgnat/s-conca8.o ada/libgnat/s-conca9.o ada/libgnat/s-crc32.o ada/libgnat/s-crtl.o ada/libgnat/s-excdeb.o ada/libgnat/s-except.o ada/libgnat/s-excmac.o ada/libgnat/s-exctab.o ada/libgnat/s-htable.o ada/libgnat/s-imenne.o ada/libgnat/s-imgenu.o ada/libgnat/s-imgint.o ada/libgnat/s-mastop.o ada/libgnat/s-memory.o ada/libgnat/s-os_lib.o ada/libgnat/s-parame.o ada/libgnat/s-resfil.o ada/libgnat/s-restri.o ada/libgnat/s-secsta.o ada/libgnat/s-soflin.o ada/libgnat/s-soliin.o ada/libgnat/s-sopco3.o ada/libgnat/s-sopco4.o ada/libgnat/s-sopco5.o ada/libgnat/s-stache.o ada/libgnat/s-stalib.o ada/libgnat/s-stoele.o ada/libgnat/s-strhas.o ada/libgnat/s-string.o ada/libgnat/s-strops.o ada/libgnat/s-traent.o ada/libgnat/s-traceb.o ada/libgnat/s-unstyp.o ada/libgnat/s-utf_32.o ada/libgnat/s-wchcnv.o ada/libgnat/s-wchcon.o ada/libgnat/s-wchjis.o ada/libgnat/s-wchstw.o ada/scans.o ada/scil_ll.o ada/scng.o ada/sdefault.o ada/seh_init.o ada/sem_aux.o ada/sinfo.o ada/sinput-c.o ada/sinput.o ada/snames.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o ada/stylesw.o ada/switch-b.o ada/switch.o ada/libgnat/system.o ada/table.o ada/targext.o ada/targparm.o ada/tree_io.o ada/types.o ada/uintp.o ada/uname.o ada/urealp.o ada/widechar.o ggc-none.o libcommon-target.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   -O2  -fomit-frame-pointer -m64 
/usr/bin/ld: ada/ali.o: in function `ali__scan_ali.cold':
ali.adb:(.text.unlikely+0xa): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x31): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x4e): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x5b): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x7c): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x135): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x154): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x1a9): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x1c4): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x1e1): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ali.adb:(.text.unlikely+0x20a): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/gnatbind.o: in function `_ada_gnatbind.cold':
gnatbind.adb:(.text.unlikely+0xd): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: gnatbind.adb:(.text.unlikely+0x27): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/output.o: in function `output__flush_buffer.cold':
output.adb:(.text.unlikely+0xd): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: output.adb:(.text.unlikely+0x65): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/restrict.o: in function `restrict__check_restriction__update_restrictions.2.cold':
restrict.adb:(.text.unlikely+0x20): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: restrict.adb:(.text.unlikely+0x45): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/libgnat/s-os_lib.o: in function `system__os_lib__gm_split.cold':
s-os_lib.adb:(.text.unlikely+0xa): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: s-os_lib.adb:(.text.unlikely+0x31): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/libgnat/s-os_lib.o: in function `system__os_lib__create_temp_file_internal.constprop.0.cold':
s-os_lib.adb:(.text.unlikely+0x48): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: s-os_lib.adb:(.text.unlikely+0x6f): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/libgnat/s-os_lib.o: in function `system__os_lib__copy_file.cold':
s-os_lib.adb:(.text.unlikely+0xb9): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: s-os_lib.adb:(.text.unlikely+0xc9): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/libgnat/s-resfil.o: in function `system__response_file__arguments_from__recurse.0.cold':
s-resfil.adb:(.text.unlikely+0x11): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: s-resfil.adb:(.text.unlikely+0x3d): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/libgnat/s-resfil.o: in function `system__response_file__arguments_from.cold':
s-resfil.adb:(.text.unlikely+0x60): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: s-resfil.adb:(.text.unlikely+0xec): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/switch-b.o: in function `switch__b__scan_binder_switches__get_stack_size.0.cold':
switch-b.adb:(.text.unlikely+0xa): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: switch-b.adb:(.text.unlikely+0x48): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/switch-b.o: in function `switch__b__scan_binder_switches.cold':
switch-b.adb:(.text.unlikely+0x5e): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: switch-b.adb:(.text.unlikely+0x85): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/targparm.o: in function `targparm__get_target_parameters.cold':
targparm.adb:(.text.unlikely+0xa): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: targparm.adb:(.text.unlikely+0x17): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/tree_io.o: in function `tree_io__tree_read_terminate.cold':
tree_io.adb:(.text.unlikely+0xa): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: tree_io.adb:(.text.unlikely+0x18): undefined reference to `__gnat_end_handler_v1'
/usr/bin/ld: ada/widechar.o: in function `widechar__scan_wide.cold':
widechar.adb:(.text.unlikely+0xa): undefined reference to `__gnat_begin_handler_v1'
/usr/bin/ld: widechar.adb:(.text.unlikely+0x1c): undefined reference to `__gnat_end_handler_v1'
collect2: error: ld returned 1 exit status
make[1]: *** [../../gcc-8.3.0/gcc/ada/gcc-interface/Make-lang.in:662: gnatbind] Error 1
make[1]: *** Waiting for unfinished jobs....
mv b_gnat1.adb b_gnat1.ads ada/
make[1]: Leaving directory '/home/access/code/coreboot/t440p/coreboot-t440p-fork/util/crossgcc/build-i386-elf-GCC/gcc'
make: *** [Makefile:4244: all-gcc] Error 2

Build error: conflicting types for 'smmstore_read_region'

    CC         ramstage/drivers/smmstore/store.o
src/drivers/smmstore/store.c:114:5: error: conflicting types for 'smmstore_read_region'
 int smmstore_read_region(void *buf, ssize_t *bufsize)
     ^~~~~~~~~~~~~~~~~~~~
In file included from src/drivers/smmstore/store.c:20:
src/include/smmstore.h:46:5: note: previous declaration of 'smmstore_read_region' was here
 int smmstore_read_region(void *buf, uint32_t *bufsize);
     ^~~~~~~~~~~~~~~~~~~~
cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror]
cc1: all warnings being treated as errors
make: *** [Makefile:365: build/ramstage/drivers/smmstore/store.o] Error 1

Headphone jack

I've heard that the headphone jack isn't functioning, has any progress been made on this?

Crystallwell support

I've tried crystallwell CPUs and it's not supported on the release build. I'm quite new to this, but is there an option to choose during build to include crystallwell? The crystallwell chip I've tried is the 4960HQ.

pcieport device [8086:8c12] error

Excerpt from dmesg

[   41.670135] pcieport 0000:00:1c.1: AER: Multiple Corrected error received: 0000:00:1c.1
[   41.670148] pcieport 0000:00:1c.1: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[   41.670150] pcieport 0000:00:1c.1:   device [8086:8c12] error status/mask=00001000/00002000
[   41.670153] pcieport 0000:00:1c.1:    [12] Timeout               
[   51.871339] pcieport 0000:00:1c.1: AER: Corrected error received: 0000:00:1c.1
[   51.871356] pcieport 0000:00:1c.1: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[   51.871357] pcieport 0000:00:1c.1:   device [8086:8c12] error status/mask=00001000/00002000
[   51.871359] pcieport 0000:00:1c.1:    [12] Timeout               
[   63.441535] pcieport 0000:00:1c.1: AER: Corrected error received: 0000:00:1c.1
[   63.441547] pcieport 0000:00:1c.1: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[   63.441551] pcieport 0000:00:1c.1:   device [8086:8c12] error status/mask=00001000/00002000
[   63.441555] pcieport 0000:00:1c.1:    [12] Timeout               
[   64.088698] pcieport 0000:00:1c.1: AER: Corrected error received: 0000:00:1c.1
[   64.088716] pcieport 0000:00:1c.1: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[   64.088718] pcieport 0000:00:1c.1:   device [8086:8c12] error status/mask=00001000/00002000
[   64.088720] pcieport 0000:00:1c.1:    [12] Timeout   

build-uefi.sh "toolchain for x86_32 architecture was not found'

#
# configuration written to /home/xxx/coreboot/.config
#
toolchain.inc:174: The coreboot toolchain for 'x86_32' architecture was not found.
fatal: No annotated tags can describe '1d751fbbd6dff0dd0276d9afc159b4bea0f6a2ae'.
However, there were unannotated tags: try --tags.
toolchain.inc:184: The coreboot toolchain version of iasl '20190703' was not found
toolchain.inc:210: 
toolchain.inc:211: To build the entire coreboot toolchain: run 'make crossgcc'
toolchain.inc:213: To build just IASL: run 'make iasl'
toolchain.inc:215: For more toolchain build targets: run 'make help_toolchain'
toolchain.inc:216: 
toolchain.inc:218: To try to use any toolchain in your path, run 'make menuconfig', then select
toolchain.inc:220: the config option: 'General setup', and 'Allow building with any toolchain'
toolchain.inc:222: Note that this is NOT supported. Using it means you're on your own.
toolchain.inc:224: 
toolchain.inc:226: *** Halting the build.  Stop.```

Can't build today. Some issues with submodules.

I'm following this guide (https://blog.conor-burns.com/lenovo-t440p-coreboot/) but I get some errors below. It appears there are issues with submodules.

Skipping submodule '3rdparty/amd_blobs'
Skipping submodule '3rdparty/blobs'
Skipping submodule '3rdparty/fsp'
Skipping submodule '3rdparty/amd_blobs'
Skipping submodule '3rdparty/blobs'
Skipping submodule '3rdparty/fsp'
    HOSTCC     util/sconfig/main.o
    HOSTCC     util/sconfig/sconfig (link)
    SCONFIG    mainboard/lenovo/t440p/devicetree.cb
    OPTION     option_table.h
    CC         bootblock/mainboard/lenovo/t440p/static.o
cc1: error: 3rdparty/vboot/firmware/include: Not a directory
cc1: error: 3rdparty/vboot/firmware/2lib/include: Not a directory
cc1: error: 3rdparty/vboot/firmware/lib21/include: Not a directory
cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror]
cc1: all warnings being treated as errors
make: *** [Makefile:365: build/bootblock/mainboard/lenovo/t440p/static.o] Error 1

If I copy the 3rdparty folder from coreboot's latest repo, I get the follow error. How to get a snapshot of the submodules when it was working?

Failed to clone 'util/nvidia/cbootimage' a second time, aborting
    CC         bootblock/lib/bootmode.o
In file included from src/security/vboot/misc.h:21,
                 from src/lib/bootmode.c:18:
src/security/vboot/vboot_common.h:21:10: fatal error: vboot_struct.h: No such file or directory
 #include <vboot_struct.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:365: build/bootblock/lib/bootmode.o] Error 1

No start possible since version 1.2

Hi there,

my ThinkPad T440P has not started since the first alpha version of "v1.2". The screen remains black and there is no sound. I also tried to connect external monitors, which was unfortunately unsuccessful.

First I went back to version "v1.1".

I have installed an Intel i7-4910mq and no eGpu.

Thanks for the support.
:-)

Build error: Could not add payload ... too big?

Created CBFS (capacity = 720344 bytes)
    CBFS       fallback/romstage
    CBFS       cpu_microcode_blob.bin
    CBFS       fallback/ramstage
    CBFS       config
    CBFS       revision
    CBFS       cmos.default
    CBFS       vbt.bin
    CBFS       cmos_layout.bin
    CBFS       fallback/postcar
    CBFS       fallback/dsdt.aml
    CBFS       fallback/payload
E: Could not add [payloads/external/tianocore/tianocore/Build/UEFIPAYLOAD.fd, 716727 bytes (699 KB)@0x0]; too big?
E: Failed to add 'payloads/external/tianocore/tianocore/Build/UEFIPAYLOAD.fd' into ROM image.
E: Failed while operating on 'COREBOOT' region!
E: The image will be left unmodified.
make: *** [Makefile.inc:1047: build/coreboot.pre] Error 1

Backlight function doesn't work

ecdiff
kbl_on2.txt
kbl_on1.txt
kbl_off.txt

The original Lenovo firmware allows changing keyboard backlight parameters with ectool

low brightness
sudo ./ectool -w 0xd -z 0x42

high brightness
sudo ./ectool -w 0xd -z 0x82

disable backlight
sudo ./ectool -w 0xd -z 0x02

On coreboot this doesn't work at all. The backlight stays off in any case.

T440p sd card reader not working

Can you please check if the SD card reader RTS5227 is working with coreboot?

I tried it on arch linux with different kernel versions (4.19 and 5.7) and kernel modules (rtsx_pci and rts5227-dkms).
I also tried it with coreboot and windows 10.
The drivers are installed correctly but the reader does not work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.