linuxboot / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.
https://osresearch.net/
GNU General Public License v2.0
1.41k stars 185 forks source link

Not all boards under tree have a valid CONFIG_BOARD_NAME #1096

Closed tlaurion closed 2 years ago

tlaurion commented 2 years ago

Boards names (overrides of generic coreboot names) under tree should represent the actual variant used. They should also have unified names representing their variant function.

Example: x230-hotp-maximized should be "Thinkpad X230 hotp-maximized".

Current names:

user@heads-tests:~/heads$ find boards/ -name "*.config"| while read board; do echo ""; echo "$board"; name=$(grep BOARD_NAME $board); echo $name; done 
boards/x220-hotp-maximized/x220-hotp-maximized.config
export CONFIG_BOARD_NAME="ThinkPad X220-maximized"

boards/x230-maximized/x230-maximized.config
export CONFIG_BOARD_NAME="Thinkpad X230-maximized"

boards/kgpe-d16_workstation/kgpe-d16_workstation.config
export CONFIG_BOARD_NAME="KGPE-D16 Workstation"

boards/x230/x230.config
export CONFIG_BOARD_NAME="Thinkpad X230"

boards/x220/x220.config
export CONFIG_BOARD_NAME="ThinkPad X220"

boards/r630/r630.config

boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config

boards/w530-dgpu-K2000m-maximized/w530-dgpu-K2000m-maximized.config
export CONFIG_BOARD_NAME="Thinkpad W530-dgpu-K2000m-maximized"

boards/kgpe-d16_server/kgpe-d16_server.config

boards/t520-maximized/t520-maximized.config
export CONFIG_BOARD_NAME="ThinkPad T520-maximized"

boards/w530-maximized/w530-maximized.config
export CONFIG_BOARD_NAME="Thinkpad W530-maximized"

boards/t530-dgpu-maximized/t530-dgpu-maximized.config
export CONFIG_BOARD_NAME="Thinkpad T530-dgpu-maximized"

boards/t430-hotp-maximized/t430-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad T430-hotp-maximized"

boards/librem_13v4/librem_13v4.config
export CONFIG_BOARD_NAME="Librem 13 v4"

boards/qemu-linuxboot/qemu-linuxboot.config

boards/t420/t420.config
export CONFIG_BOARD_NAME="ThinkPad T420"

boards/t430-flash/t430-flash.config

boards/t530-dgpu-hotp-maximized/t530-dgpu-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad T530-dgpu-hotp-maximized"

boards/t430-hotp-verification/t430-hotp-verification.config
export CONFIG_BOARD_NAME="Thinkpad T430"

boards/librem_l1um/librem_l1um.config
export CONFIG_BOARD_NAME="Librem Server L1UM"

boards/librem_15v4/librem_15v4.config
export CONFIG_BOARD_NAME="Librem 15 v4"

boards/x230-hotp-maximized/x230-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized"

boards/x230-hotp-verification/x230-hotp-verification.config
export CONFIG_BOARD_NAME="Thinkpad X230"

boards/w530-dgpu-K2000m-hotp-maximized/w530-dgpu-K2000m-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad W530-dgpu-K2000m-hotp-maximized"

boards/qemu-coreboot-fbwhiptail/qemu-coreboot-fbwhiptail.config
export CONFIG_BOARD_NAME="qemu-coreboot-fbwhiptail"

boards/t420-hotp-maximized/t420-hotp-maximized.config
export CONFIG_BOARD_NAME="ThinkPad T420-maximized"

boards/winterfell/winterfell.config

boards/tioga/tioga.config

boards/librem_13v2/librem_13v2.config
export CONFIG_BOARD_NAME="Librem 13 v2/v3"

boards/w530-dgpu-K1000m-maximized/w530-dgpu-K1000m-maximized.config
export CONFIG_BOARD_NAME="Thinkpad W530-dgpu-K1000m-maximized"

boards/x220-maximized/x220-maximized.config
export CONFIG_BOARD_NAME="ThinkPad X220-maximized"

boards/w530-hotp-maximized/w530-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad W530-hotp-maximized"

boards/qemu-coreboot/qemu-coreboot.config
export CONFIG_BOARD_NAME="qemu-coreboot"

boards/leopard/leopard.config

boards/t430-maximized/t430-maximized.config
export CONFIG_BOARD_NAME="Thinkpad T430-maximized"

boards/t530-maximized/t530-maximized.config
export CONFIG_BOARD_NAME="Thinkpad T530-maximized"

boards/t520-hotp-maximized/t520-hotp-maximized.config
export CONFIG_BOARD_NAME="ThinkPad T520-maximized"

boards/s2600wf/s2600wf.config

boards/librem_15v3/librem_15v3.config
export CONFIG_BOARD_NAME="Librem 15 v3"

boards/w530-dgpu-K1000m-hotp-maximized/w530-dgpu-K1000m-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad W530-dgpu-K1000m-hotp-maximized"

boards/t530-hotp-maximized/t530-hotp-maximized.config
export CONFIG_BOARD_NAME="Thinkpad T530-hotp-maximized"

boards/t420-maximized/t420-maximized.config
export CONFIG_BOARD_NAME="ThinkPad T420-maximized"

boards/t430/t430.config
export CONFIG_BOARD_NAME="Thinkpad T430"

boards/kgpe-d16_workstation-usb_keyboard/kgpe-d16_workstation-usb_keyboard.config

boards/librem_mini_v2/librem_mini_v2.config
export CONFIG_BOARD_NAME="Librem Mini v2"

boards/x230-flash/x230-flash.config

boards/librem_mini/librem_mini.config
export CONFIG_BOARD_NAME="Librem Mini"

boards/librem_14/librem_14.config
export CONFIG_BOARD_NAME="Librem 14"
tlaurion commented 2 years ago

So basically, the following coreboot based boards need to have their CONFIG_BOARD_NAME unified:

boards/t520-hotp-maximized/t520-hotp-maximized.config
export CONFIG_BOARD_NAME="ThinkPad T520-maximized"

boards/t420-hotp-maximized/t420-hotp-maximized.config
export CONFIG_BOARD_NAME="ThinkPad T420-maximized"

boards/x230-hotp-verification/x230-hotp-verification.config
export CONFIG_BOARD_NAME="Thinkpad X230"

boards/t430-hotp-verification/t430-hotp-verification.config
export CONFIG_BOARD_NAME="Thinkpad T430"

boards/x220-hotp-maximized/x220-hotp-maximized.config
export CONFIG_BOARD_NAME="ThinkPad X220-maximized"

The following coreboot boards needs to be modified so they include a CONFIG_BOARD_NAME:

boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config
boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config
boards/kgpe-d16_workstation/kgpe-d16_workstation.config
boards/x230-flash/x230-flash.config
boards/t430-flash/t430-flash.config

The following linuxboot based boards needs to be fixed/tested by their owners. Its been a while that those were not even built for unfixed reported errors:

boards/s2600wf/s2600wf.config
boards/leopard/leopard.config
boards/qemu-linuxboot/qemu-linuxboot.config
boards/r630/r630.config
boards/s2600wf/s2600wf.config
boards/winterfell/winterfell.config
boards/tioga/tioga.config