On 26.05.2017 22:34, Thomasheidler wrote:
Is it possible to find out which Sandy/Ivy board supports native ram/graphics init before buying one of them? For example, is there some list that shows compatibility?
No list that I know about. But it can be seen from the source (e.g. to support the native raminit the board has to implement the functions in src/northbridge/intel/sandybridge/native_raminit.h).
$ git grep -l mainboard_get_spd -- \ `git grep -l BRIDGE -- src/mainboard/*/*/Kconfig | xargs dirname` src/mainboard/apple/macbookair4_2/early_southbridge.c src/mainboard/gigabyte/ga-b75m-d3h/romstage.c src/mainboard/gigabyte/ga-b75m-d3v/romstage.c src/mainboard/google/butterfly/romstage.c src/mainboard/google/link/romstage.c src/mainboard/google/parrot/romstage.c src/mainboard/google/stout/romstage.c src/mainboard/intel/emeraldlake2/romstage.c src/mainboard/kontron/ktqm77/romstage.c src/mainboard/lenovo/l520/romstage.c src/mainboard/lenovo/s230u/romstage.c src/mainboard/lenovo/t420/romstage.c src/mainboard/lenovo/t420s/romstage.c src/mainboard/lenovo/t430/romstage.c src/mainboard/lenovo/t430s/romstage.c src/mainboard/lenovo/t520/romstage.c src/mainboard/lenovo/t530/romstage.c src/mainboard/lenovo/x1_carbon_gen1/romstage.c src/mainboard/lenovo/x220/romstage.c src/mainboard/lenovo/x230/romstage.c src/mainboard/roda/rv11/variants/rv11/romstage.c src/mainboard/roda/rv11/variants/rw11/romstage.c src/mainboard/samsung/lumpy/romstage.c src/mainboard/samsung/stumpy/romstage.c src/mainboard/sapphire/pureplatinumh61/romstage.c
Native graphics init is supported for LVDS on all of these that have it through native C code. Libgfxinit, that's written in Ada, can initialize all ports. Though you might have to add a list of the ports and some configuration options (that's not done yet for all boards; if you want to try it, make sure you have `gnat` or `gcc-ada` matching your GCC installed before you build the coreboot toolchain).
Nico