quackboot (same idea as klompboot), from audit6
this is based directly on the audit6 final revision. same idea as klompboot. remove u-boot and arm support, remove pico-serprog, remove support for making release archives, and basically see how small the build system can possible get. quackboot *beats* the very first klompboot, at 790 lines, because klompboot 1 was just over 800 lines. klompboot 2 was 701 lines. vendor file logic is about 200 sloc so the next klompboot will be about 600 lines. this is the very first quackboot. Signed-off-by: Leah Rowe <leah@libreboot.org>quackboot
parent
31f1e4dadf
commit
fd29c8fd1a
107
build
107
build
|
@ -16,115 +16,16 @@ fi
|
||||||
. "include/vendor.sh"
|
. "include/vendor.sh"
|
||||||
. "include/mrc.sh"
|
. "include/mrc.sh"
|
||||||
|
|
||||||
eval `setvars "" vdir src_dirname srcdir mode xp ser`
|
|
||||||
err="fail"
|
err="fail"
|
||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
[ $# -lt 1 ] && $err "bad command"
|
[ $# -lt 1 ] && $err "bad command"
|
||||||
spath="script/$1"
|
spath="script/$1"; shift 1
|
||||||
|
|
||||||
for g in "which git" "git config --global user.name" \
|
[ "${spath#script/}" = "download" ] && vendor_download $@ && return 0
|
||||||
"git config --global user.email" "git_init"; do
|
[ -f "$spath" ] || $err "bad command"
|
||||||
eval "$g 1>/dev/null 2>/dev/null || git_err \"$g\""
|
"$spath" $@ || $err "excmd: $spath $(echo "$@")"; set -u -e
|
||||||
done
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
version) printf "%s\nWebsite: %s\n" "$relname" "$projectsite" ;;
|
|
||||||
release) shift 1; mkrelease $@ ;;
|
|
||||||
inject) shift 1; vendor_inject $@ ;;
|
|
||||||
download) shift 1; vendor_download $@ ;;
|
|
||||||
roms)
|
|
||||||
if [ $# -gt 1 ] && [ "$2" = "serprog" ]; then
|
|
||||||
x_ ./update trees -b stm32-vserprog
|
|
||||||
x_ ./update trees -b pico-serprog; return 0
|
|
||||||
fi; shift 1
|
|
||||||
x_ ./update trees -b coreboot $@ ;;
|
|
||||||
*)
|
|
||||||
[ -f "$spath" ] || $err "bad command"
|
|
||||||
shift 1; "$spath" $@ || $err "excmd: $spath $@" ;;
|
|
||||||
esac
|
|
||||||
set -u -e # some commands disable them. turn them on!
|
|
||||||
}
|
|
||||||
|
|
||||||
git_init()
|
|
||||||
{
|
|
||||||
[ -L ".git" ] && return 1
|
|
||||||
[ -e ".git" ] && return 0
|
|
||||||
eval `setvars "$(date -Rud @$versiondate)" cdate _nogit`
|
|
||||||
|
|
||||||
git init || return 1
|
|
||||||
git add -A . || return 1
|
|
||||||
git commit -m "$projectname $version" --date "$cdate" \
|
|
||||||
--author="xbmk <xbmk@example.com>" || return 1
|
|
||||||
git tag -a "$version" -m "$projectname $version" || return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
git_err()
|
|
||||||
{
|
|
||||||
printf "You need to set git name/email, like so:\n%s\n\n" "$1" 1>&2
|
|
||||||
$err "Git name/email not configured"
|
|
||||||
}
|
|
||||||
|
|
||||||
mkrelease()
|
|
||||||
{
|
|
||||||
export XBMK_RELEASE="y"
|
|
||||||
|
|
||||||
vdir="release"
|
|
||||||
while getopts d:m: option; do
|
|
||||||
[ -z "$OPTARG" ] && $err "empty argument not allowed"
|
|
||||||
case "$option" in
|
|
||||||
d) vdir="$OPTARG" ;;
|
|
||||||
m) mode="$OPTARG" ;;
|
|
||||||
*) $err "invalid option '-$option'" ;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
vdir="$vdir/$version"
|
|
||||||
src_dirname="${relname}_src"
|
|
||||||
srcdir="$vdir/$src_dirname"
|
|
||||||
|
|
||||||
[ -e "$vdir" ] && $err "already exists: \"$vdir\""
|
|
||||||
mkdir -p "$vdir" || $err "mkvdir: !mkdir -p \"$vdir\""
|
|
||||||
git clone . "$srcdir" || $err "mkdir: !gitclone \"$srcdir\""
|
|
||||||
touch "$srcdir/lock" || $err "can't make lock file in $srcdir/"
|
|
||||||
|
|
||||||
build_release
|
|
||||||
|
|
||||||
printf "\n\nDONE! Check release files under %s\n" "$vdir"
|
|
||||||
}
|
|
||||||
|
|
||||||
build_release()
|
|
||||||
{
|
|
||||||
(
|
|
||||||
cd "$srcdir" || $err "$vdir: !cd \"$srcdir\""
|
|
||||||
./update trees -f
|
|
||||||
rmgit .
|
|
||||||
x_ rm -Rf tmp
|
|
||||||
x_ mv src/docs docs
|
|
||||||
) || $err "can't create release files"
|
|
||||||
|
|
||||||
git log --graph --pretty=format:'%Cred%h%Creset %s %Creset' \
|
|
||||||
--abbrev-commit > "$srcdir/CHANGELOG" || $err "!gitlog $srcdir"
|
|
||||||
rm -f "$srcdir/lock" || $err "can't remove lock file in $srcdir"
|
|
||||||
|
|
||||||
(
|
|
||||||
cd "${srcdir%/*}" || $err "$vdir: mktarball \"$srcdir\""
|
|
||||||
mktarball "${srcdir##*/}" "${srcdir##*/}.tar.xz" || $err "$vdir: mksrc"
|
|
||||||
) || $err "can't create src tarball"
|
|
||||||
[ "$mode" = "src" ] && return 0
|
|
||||||
|
|
||||||
touch "$srcdir/lock" || $err "can't make lock file in $srcdir/"
|
|
||||||
|
|
||||||
(
|
|
||||||
cd "$srcdir" || $err "$vdir: 2 !cd \"$srcdir\""
|
|
||||||
./update trees -b coreboot || $err "$vdir: roms-all"
|
|
||||||
./update trees -b pico-serprog || $err "$vdir: rp2040"
|
|
||||||
./update trees -b stm32-vserprog || $err "$vdir: stm32"
|
|
||||||
x_ mv bin ../roms
|
|
||||||
) || $err "can't build rom images"
|
|
||||||
|
|
||||||
rm -Rf "$srcdir" || $err "!rm -Rf $srcdir"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fail()
|
fail()
|
||||||
|
|
|
@ -2,5 +2,5 @@ tree="default"
|
||||||
xarch="i386-elf"
|
xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
build_depend="seabios/default memtest86plus"
|
build_depend="seabios/default memtest86plus"
|
||||||
|
|
|
@ -3,4 +3,4 @@ xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_grub="y"
|
payload_grub="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
tree="default"
|
tree="default"
|
||||||
xarch="i386-elf"
|
xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
release="n"
|
|
||||||
build_depend="seabios/default"
|
build_depend="seabios/default"
|
||||||
|
|
|
@ -2,5 +2,5 @@ tree="default"
|
||||||
xarch="i386-elf"
|
xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_grub="y"
|
payload_grub="y"
|
||||||
release="n"
|
|
||||||
build_depend="seabios/default grub/default"
|
build_depend="seabios/default grub/default"
|
||||||
|
|
|
@ -2,6 +2,6 @@ tree="default"
|
||||||
xarch="i386-elf"
|
xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
grubtree="nvme"
|
grubtree="nvme"
|
||||||
build_depend="seabios/default grub/nvme memtest86plus"
|
build_depend="seabios/default grub/nvme memtest86plus"
|
||||||
|
|
|
@ -1,980 +0,0 @@
|
||||||
#
|
|
||||||
# Automatically generated file; DO NOT EDIT.
|
|
||||||
# coreboot configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General setup
|
|
||||||
#
|
|
||||||
CONFIG_COREBOOT_BUILD=y
|
|
||||||
CONFIG_LOCALVERSION=""
|
|
||||||
CONFIG_CBFS_PREFIX="fallback"
|
|
||||||
CONFIG_COMPILER_GCC=y
|
|
||||||
# CONFIG_ALLOW_EXPERIMENTAL_CLANG is not set
|
|
||||||
# CONFIG_ANY_TOOLCHAIN is not set
|
|
||||||
# CONFIG_CCACHE is not set
|
|
||||||
# CONFIG_IWYU is not set
|
|
||||||
# CONFIG_FMD_GENPARSER is not set
|
|
||||||
# CONFIG_UTIL_GENPARSER is not set
|
|
||||||
CONFIG_OPTION_BACKEND_NONE=y
|
|
||||||
CONFIG_COMPRESS_RAMSTAGE_LZMA=y
|
|
||||||
# CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
|
|
||||||
CONFIG_COMPRESS_PRERAM_STAGES=y
|
|
||||||
CONFIG_COMPRESS_BOOTBLOCK=y
|
|
||||||
CONFIG_SEPARATE_ROMSTAGE=y
|
|
||||||
CONFIG_INCLUDE_CONFIG_FILE=y
|
|
||||||
# CONFIG_COLLECT_TIMESTAMPS is not set
|
|
||||||
# CONFIG_USE_BLOBS is not set
|
|
||||||
# CONFIG_COVERAGE is not set
|
|
||||||
# CONFIG_UBSAN is not set
|
|
||||||
# CONFIG_ASAN is not set
|
|
||||||
CONFIG_NO_STAGE_CACHE=y
|
|
||||||
# CONFIG_CBMEM_STAGE_CACHE is not set
|
|
||||||
# CONFIG_UPDATE_IMAGE is not set
|
|
||||||
# CONFIG_BOOTSPLASH_IMAGE is not set
|
|
||||||
# CONFIG_FW_CONFIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Software Bill Of Materials (SBOM)
|
|
||||||
#
|
|
||||||
# CONFIG_SBOM is not set
|
|
||||||
# end of Software Bill Of Materials (SBOM)
|
|
||||||
# end of General setup
|
|
||||||
|
|
||||||
#
|
|
||||||
# Mainboard
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Important: Run 'make distclean' before switching boards
|
|
||||||
#
|
|
||||||
# CONFIG_VENDOR_51NB is not set
|
|
||||||
# CONFIG_VENDOR_ACER is not set
|
|
||||||
# CONFIG_VENDOR_ADLINK is not set
|
|
||||||
# CONFIG_VENDOR_AMD is not set
|
|
||||||
# CONFIG_VENDOR_AOPEN is not set
|
|
||||||
# CONFIG_VENDOR_APPLE is not set
|
|
||||||
# CONFIG_VENDOR_ASROCK is not set
|
|
||||||
# CONFIG_VENDOR_ASUS is not set
|
|
||||||
# CONFIG_VENDOR_BIOSTAR is not set
|
|
||||||
# CONFIG_VENDOR_BOSTENTECH is not set
|
|
||||||
# CONFIG_VENDOR_BYTEDANCE is not set
|
|
||||||
# CONFIG_VENDOR_CAVIUM is not set
|
|
||||||
# CONFIG_VENDOR_CLEVO is not set
|
|
||||||
# CONFIG_VENDOR_COMPULAB is not set
|
|
||||||
# CONFIG_VENDOR_DELL is not set
|
|
||||||
# CONFIG_VENDOR_EMULATION is not set
|
|
||||||
# CONFIG_VENDOR_EXAMPLE is not set
|
|
||||||
# CONFIG_VENDOR_FACEBOOK is not set
|
|
||||||
# CONFIG_VENDOR_FOXCONN is not set
|
|
||||||
# CONFIG_VENDOR_GETAC is not set
|
|
||||||
# CONFIG_VENDOR_GIGABYTE is not set
|
|
||||||
CONFIG_VENDOR_GOOGLE=y
|
|
||||||
# CONFIG_VENDOR_HP is not set
|
|
||||||
# CONFIG_VENDOR_IBASE is not set
|
|
||||||
# CONFIG_VENDOR_IBM is not set
|
|
||||||
# CONFIG_VENDOR_INTEL is not set
|
|
||||||
# CONFIG_VENDOR_INVENTEC is not set
|
|
||||||
# CONFIG_VENDOR_KONTRON is not set
|
|
||||||
# CONFIG_VENDOR_LENOVO is not set
|
|
||||||
# CONFIG_VENDOR_LIBRETREND is not set
|
|
||||||
# CONFIG_VENDOR_MSI is not set
|
|
||||||
# CONFIG_VENDOR_OCP is not set
|
|
||||||
# CONFIG_VENDOR_OPENCELLULAR is not set
|
|
||||||
# CONFIG_VENDOR_PACKARDBELL is not set
|
|
||||||
# CONFIG_VENDOR_PCENGINES is not set
|
|
||||||
# CONFIG_VENDOR_PINE64 is not set
|
|
||||||
# CONFIG_VENDOR_PORTWELL is not set
|
|
||||||
# CONFIG_VENDOR_PRODRIVE is not set
|
|
||||||
# CONFIG_VENDOR_PROTECTLI is not set
|
|
||||||
# CONFIG_VENDOR_PURISM is not set
|
|
||||||
# CONFIG_VENDOR_RAZER is not set
|
|
||||||
# CONFIG_VENDOR_RODA is not set
|
|
||||||
# CONFIG_VENDOR_SAMSUNG is not set
|
|
||||||
# CONFIG_VENDOR_SAPPHIRE is not set
|
|
||||||
# CONFIG_VENDOR_SIEMENS is not set
|
|
||||||
# CONFIG_VENDOR_SIFIVE is not set
|
|
||||||
# CONFIG_VENDOR_STARLABS is not set
|
|
||||||
# CONFIG_VENDOR_SUPERMICRO is not set
|
|
||||||
# CONFIG_VENDOR_SYSTEM76 is not set
|
|
||||||
# CONFIG_VENDOR_TI is not set
|
|
||||||
# CONFIG_VENDOR_UP is not set
|
|
||||||
CONFIG_BOARD_SPECIFIC_OPTIONS=y
|
|
||||||
CONFIG_MAINBOARD_PART_NUMBER="Bob"
|
|
||||||
CONFIG_MAINBOARD_DIR="google/gru"
|
|
||||||
CONFIG_DIMM_MAX=4
|
|
||||||
CONFIG_DIMM_SPD_SIZE=256
|
|
||||||
CONFIG_FMDFILE=""
|
|
||||||
# CONFIG_NO_POST is not set
|
|
||||||
CONFIG_MAINBOARD_VENDOR="Google"
|
|
||||||
CONFIG_CBFS_SIZE=0x00800000
|
|
||||||
CONFIG_CONSOLE_SERIAL=y
|
|
||||||
CONFIG_MAX_CPUS=1
|
|
||||||
CONFIG_POST_DEVICE=y
|
|
||||||
CONFIG_UART_FOR_CONSOLE=0
|
|
||||||
CONFIG_DEVICETREE="devicetree.cb"
|
|
||||||
# CONFIG_VBOOT is not set
|
|
||||||
# CONFIG_CHROMEOS is not set
|
|
||||||
CONFIG_OVERRIDE_DEVICETREE=""
|
|
||||||
CONFIG_BOOT_DEVICE_SPI_FLASH_BUS=1
|
|
||||||
CONFIG_CONSOLE_SERIAL_UART_ADDRESS=0xFF1A0000
|
|
||||||
# CONFIG_CONSOLE_POST is not set
|
|
||||||
CONFIG_PS2K_EISAID="PNP0303"
|
|
||||||
CONFIG_PS2M_EISAID="PNP0F13"
|
|
||||||
CONFIG_MEMLAYOUT_LD_FILE="src/soc/rockchip/rk3399/memlayout.ld"
|
|
||||||
CONFIG_MAX_ACPI_TABLE_SIZE_KB=144
|
|
||||||
CONFIG_SPI_FLASH_WINBOND=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Asurada
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ASURADA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HAYATO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SPHERION is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Auron
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AURON_PAINE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_AURON_YUNA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUDDY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GANDOF is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LULU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SAMUS is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Beltino
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_MCCLOUD is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MONROE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PANTHER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TRICKY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZAKO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Brox
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BROX is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Brya
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AGAH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ANAHERA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ANAHERA4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_AURASH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BANSHEE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BRASK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BRYA0 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRAASK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRAASKOV is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CONSTITUTION is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CROTA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FELWINTER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GAELIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GIMBLE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GIMBLE4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GLADIOS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GOTHRAX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HADES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KANO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINOX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KULDAX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JOXER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LISBON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MARASOV is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MITHRAX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MOLI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NIVVIKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NEREID is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OMNIGUL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OSIRIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PIRRHA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PRIMUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PUJJO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_QUANDISO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REDRIX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REDRIX4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SKOLAS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SKOLAS4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TAEKO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TAEKO4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TANIKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ULDREN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VELL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLMAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_XIVU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_YAVIKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_YAVILLA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZYDRON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NOKRIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOCHI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ANRAGGAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_XOL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Butterfly
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUTTERFLY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Cherry
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHERRY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOJO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TOMATO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kingler
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINGLER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_STEELIX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTORB is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PONYTA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Krabby
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KRABBY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TENTACRUEL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MAGIKARP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHINCHOU is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Staryu
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_STARMIE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Cyan
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BANON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CELES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CYAN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EDGAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KEFKA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RELM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SETZER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TERRA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ULTIMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WIZPIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Daisy
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_DAISY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Dedede
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOTEN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DIBBI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEDEDE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRAWCIA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HABOKI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MADOO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WADDLEDOO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WADDLEDEE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LALALA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MAGOLOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_METAKNIGHT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LANTIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GALTIC is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SASUKE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_STORO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SASUKETTE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KRACKO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BLIPPER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PIRIKA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAPPY2 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUGZZY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CORORI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRIBLEE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GOOEY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BEADRIX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SHOTZO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TARANZA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOXY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEXI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DITA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Drallion
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRALLION is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Eve
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_EVE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Fizz
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_FIZZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KARMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ENDEAVOUR is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Foster
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_FOSTER is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Gale
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_GALE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Geralt
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_GERALT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CIRI is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Glados
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ASUKA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAROLINE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAVE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHELL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GLADOS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LARS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SENTRY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Gru
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KEVIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GRU is not set
|
|
||||||
CONFIG_BOARD_GOOGLE_BOB=y
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCARLET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NEFARIO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RAINIER is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Guybrush
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEWATT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GUYBRUSH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NIPPERKIN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Hatch
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AKEMI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRATINI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HATCH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HELIOS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HELIOS_DISKSWAP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JINLON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINDRED is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KOHAKU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MUSHU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NIGHTFURY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PALKIA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Herobrine
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_HEROBRINE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HEROBRINE_REV0 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SENOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PIGLIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HOGLIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VILLAGER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EVOKER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZOGLIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZOMBIE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Jecht
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_GUADO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JECHT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RIKKU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TIDUS is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kahlee
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ALEENA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAREENA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GRUNT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LIARA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NUWANI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TREEYA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kukui
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KUKUI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KRANE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KODAMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAKADU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FLAPJACK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KATSU is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Jacuzzi
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_JACUZZI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JUNIPER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAPPA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DAMU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CERISE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_STERN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WILLOW is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ESCHE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BURNET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FENNEL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COZMO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MAKOMO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MUNNA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PICO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Link
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_LINK is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Mistral
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_MISTRAL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Myst
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_MYST is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Nyan
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_NYAN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Nyan Big
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_NYAN_BIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Nyan Blaze
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_NYAN_BLAZE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Oak
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_OAK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ELM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HANA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Octopus
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AMPTON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BLOOG is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOBBA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CASTA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOOD is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FLEEX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FOOB is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GARG is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LICK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MEEP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OCTOPUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PHASER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_YORP is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Parrot
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_PARROT is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Peach Pit
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_PEACH_PIT is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Poppy
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ATLAS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_POPPY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NAMI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NAUTILUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NOCTURNE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RAMMUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SORAKA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Puff
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AMBASSADOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOOLY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DUFFY_LEGACY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DUFFY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FAFFY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GENESIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAISA_LEGACY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAISA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MOONBUGGY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NOIBAT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PUFF is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCOUT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WYVERN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Rambi
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BANJO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CANDY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CLAPPER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ENGUARDE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EXPRESSO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GLIMMER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GNAWTY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HELI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KIP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NINJA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ORCO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_QUAWKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SQUAWKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RAMBI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SUMO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SWANKY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WINKY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Reef
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_REEF is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PYRO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SAND is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SNAPPY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CORAL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Rex
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX0 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCREEBO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCREEBO4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KARIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KARIS4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX_EC_ISH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OVIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OVIS4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEKU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEKU4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX4ES_EC_ISH is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Sarien
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ARCADA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SARIEN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Skyrim
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRYSTALDRIFT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FROSTFLOW is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MARKARTH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SKYRIM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WINTERHOLD is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Slippy
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_FALCO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LEON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PEPPY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WOLF is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Smaug
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_SMAUG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Storm
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_STORM is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Stout
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_STOUT is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Trogdor
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUBS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COACHZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GELARSHIE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HOMESTAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINGOFTOWN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LAZOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MARZIPAN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MRBLAND is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PAZQUEL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_POMPOM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_QUACKINGSTICK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WORMDINGLER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TROGDOR is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Veyron
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_JAQ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_JERRY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_MIGHTY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_MINNIE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_SPEEDY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Veyron Mickey
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_MICKEY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Veyron Rialto
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_RIALTO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Volteer
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHRONICLER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COLLIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COPANO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DELBIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DROBIT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ELDRID is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ELEMI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HALVOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LINDAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MALEFOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TERRADOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TODOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TRONDO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOEMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTEER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTEER2 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTEER2_TI50 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOXEL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Zork
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BERKNIP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DALBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DIRINBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EZKINIL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GUMBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MORPHIUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SHUBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TREMBYLE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VILBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WOOMAX is not set
|
|
||||||
CONFIG_DRIVER_TPM_SPI_BUS=0x0
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS=0x5
|
|
||||||
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000
|
|
||||||
CONFIG_DRIVER_TPM_I2C_BUS=0x0
|
|
||||||
CONFIG_DRIVER_TPM_I2C_ADDR=0x20
|
|
||||||
CONFIG_PMIC_BUS=-1
|
|
||||||
CONFIG_BOARD_GOOGLE_GRU_COMMON=y
|
|
||||||
CONFIG_GRU_HAS_TPM2=y
|
|
||||||
CONFIG_GRU_HAS_CENTERLOG_PWM=y
|
|
||||||
CONFIG_GRU_HAS_WLAN_RESET=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_BOARDNAME=""
|
|
||||||
CONFIG_SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS=y
|
|
||||||
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US=0
|
|
||||||
CONFIG_TTYS0_BAUD=115200
|
|
||||||
CONFIG_D3COLD_SUPPORT=y
|
|
||||||
CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72
|
|
||||||
CONFIG_EC_GPE_SCI=0x50
|
|
||||||
CONFIG_DRIVER_TPM_SPI_CHIP=0
|
|
||||||
# CONFIG_TPM_MEASURED_BOOT is not set
|
|
||||||
CONFIG_BOARD_ROMSIZE_KB_8192=y
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_512 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_4096 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_5120 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_6144 is not set
|
|
||||||
CONFIG_COREBOOT_ROMSIZE_KB_8192=y
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_10240 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_12288 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_24576 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_32768 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_65536 is not set
|
|
||||||
CONFIG_COREBOOT_ROMSIZE_KB=8192
|
|
||||||
CONFIG_ROM_SIZE=0x00800000
|
|
||||||
# end of Mainboard
|
|
||||||
|
|
||||||
#
|
|
||||||
# Chipset
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# SoC
|
|
||||||
#
|
|
||||||
CONFIG_CHIPSET_DEVICETREE=""
|
|
||||||
CONFIG_ARM64_BL31_EXTERNAL_FILE=""
|
|
||||||
CONFIG_ARCH_ARMV8_EXTENSION=0
|
|
||||||
CONFIG_STACK_SIZE=0x0
|
|
||||||
CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254
|
|
||||||
CONFIG_INTEL_GMA_BCLV_WIDTH=16
|
|
||||||
CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256
|
|
||||||
CONFIG_INTEL_GMA_BCLM_WIDTH=16
|
|
||||||
CONFIG_ALWAYS_ALLOW_ABOVE_4G_ALLOCATION=y
|
|
||||||
CONFIG_GENERIC_UDELAY=y
|
|
||||||
CONFIG_SOC_ROCKCHIP_RK3399=y
|
|
||||||
CONFIG_RK3399_SPREAD_SPECTRUM_DDR=y
|
|
||||||
CONFIG_CBFS_CACHE_ALIGN=8
|
|
||||||
|
|
||||||
#
|
|
||||||
# CPU
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Northbridge
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Southbridge
|
|
||||||
#
|
|
||||||
CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000
|
|
||||||
CONFIG_RCBA_LENGTH=0x4000
|
|
||||||
|
|
||||||
#
|
|
||||||
# Super I/O
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Embedded Controllers
|
|
||||||
#
|
|
||||||
CONFIG_EC_SUPPORTS_DPTF_TEVT=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI_CHIP=0x0
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_RTC=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_FIRMWARE_NONE=y
|
|
||||||
# CONFIG_EC_GOOGLE_CHROMEEC_FIRMWARE_EXTERNAL is not set
|
|
||||||
# CONFIG_EC_GOOGLE_CHROMEEC_FIRMWARE_BUILTIN is not set
|
|
||||||
CONFIG_MAINBOARD_HAS_CHROMEOS=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# ChromeOS
|
|
||||||
#
|
|
||||||
# end of ChromeOS
|
|
||||||
|
|
||||||
CONFIG_ARCH_ARM64=y
|
|
||||||
CONFIG_ARCH_BOOTBLOCK_ARM64=y
|
|
||||||
CONFIG_ARCH_VERSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_ROMSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_RAMSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_BOOTBLOCK_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_VERSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_ROMSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_RAMSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE=y
|
|
||||||
# end of Chipset
|
|
||||||
|
|
||||||
#
|
|
||||||
# Devices
|
|
||||||
#
|
|
||||||
CONFIG_HAVE_LINEAR_FRAMEBUFFER=y
|
|
||||||
CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_NO_EARLY_GFX_INIT=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Display
|
|
||||||
#
|
|
||||||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
|
|
||||||
CONFIG_LINEAR_FRAMEBUFFER=y
|
|
||||||
# CONFIG_BOOTSPLASH is not set
|
|
||||||
# end of Display
|
|
||||||
|
|
||||||
# CONFIG_SOFTWARE_I2C is not set
|
|
||||||
CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
|
|
||||||
CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
|
|
||||||
# end of Devices
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generic Drivers
|
|
||||||
#
|
|
||||||
CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000
|
|
||||||
# CONFIG_ELOG is not set
|
|
||||||
CONFIG_COMMON_CBFS_SPI_WRAPPER=y
|
|
||||||
CONFIG_SPI_FLASH=y
|
|
||||||
# CONFIG_SPI_FLASH_NO_FAST_READ is not set
|
|
||||||
CONFIG_TPM_INIT_RAMSTAGE=y
|
|
||||||
CONFIG_DRIVERS_UART=y
|
|
||||||
CONFIG_UART_OVERRIDE_REFCLK=y
|
|
||||||
CONFIG_DRIVERS_UART_8250MEM=y
|
|
||||||
CONFIG_DRIVERS_UART_8250MEM_32=y
|
|
||||||
# CONFIG_VPD is not set
|
|
||||||
# CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set
|
|
||||||
# CONFIG_DRIVERS_GENERIC_CBFS_UUID is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9750 is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9763E is not set
|
|
||||||
# CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
|
|
||||||
CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
|
|
||||||
CONFIG_SPI_TPM=y
|
|
||||||
# end of Generic Drivers
|
|
||||||
|
|
||||||
#
|
|
||||||
# Security
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# CBFS verification
|
|
||||||
#
|
|
||||||
# CONFIG_CBFS_VERIFICATION is not set
|
|
||||||
# end of CBFS verification
|
|
||||||
|
|
||||||
#
|
|
||||||
# Verified Boot (vboot)
|
|
||||||
#
|
|
||||||
# end of Verified Boot (vboot)
|
|
||||||
|
|
||||||
CONFIG_TPM_GOOGLE=y
|
|
||||||
CONFIG_TPM_GOOGLE_CR50=y
|
|
||||||
CONFIG_TPM_GOOGLE_IMMEDIATELY_COMMIT_FW_SECDATA=y
|
|
||||||
CONFIG_GOOGLE_TPM_IRQ_TIMEOUT_MS=10
|
|
||||||
CONFIG_CR50_RESET_CLEAR_EC_AP_IDLE_FLAG=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Trusted Platform Module
|
|
||||||
#
|
|
||||||
# CONFIG_NO_TPM is not set
|
|
||||||
CONFIG_TPM2=y
|
|
||||||
CONFIG_TPM=y
|
|
||||||
CONFIG_MAINBOARD_HAS_TPM2=y
|
|
||||||
# CONFIG_DEBUG_TPM is not set
|
|
||||||
CONFIG_PCR_BOOT_MODE=1
|
|
||||||
CONFIG_PCR_HWID=1
|
|
||||||
CONFIG_PCR_SRTM=2
|
|
||||||
CONFIG_PCR_FW_VER=10
|
|
||||||
CONFIG_PCR_RUNTIME_DATA=3
|
|
||||||
# end of Trusted Platform Module
|
|
||||||
|
|
||||||
CONFIG_TPM_SETUP_HIBERNATE_ON_ERR=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Memory initialization
|
|
||||||
#
|
|
||||||
# end of Memory initialization
|
|
||||||
|
|
||||||
CONFIG_BOOTMEDIA_LOCK_NONE=y
|
|
||||||
# CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set
|
|
||||||
# CONFIG_BOOTMEDIA_LOCK_CHIP is not set
|
|
||||||
# end of Security
|
|
||||||
|
|
||||||
CONFIG_ACPI_HAVE_PCAT_8259=y
|
|
||||||
CONFIG_ACPI_CUSTOM_MADT=y
|
|
||||||
CONFIG_BOOT_DEVICE_SPI_FLASH=y
|
|
||||||
CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y
|
|
||||||
CONFIG_RTC=y
|
|
||||||
CONFIG_HEAP_SIZE=0x100000
|
|
||||||
|
|
||||||
#
|
|
||||||
# Console
|
|
||||||
#
|
|
||||||
CONFIG_BOOTBLOCK_CONSOLE=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# memory mapped, 8250-compatible
|
|
||||||
#
|
|
||||||
CONFIG_TTYS0_BASE=0x3f8
|
|
||||||
# CONFIG_CONSOLE_SERIAL_921600 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_460800 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_230400 is not set
|
|
||||||
CONFIG_CONSOLE_SERIAL_115200=y
|
|
||||||
# CONFIG_CONSOLE_SERIAL_57600 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_38400 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_19200 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_9600 is not set
|
|
||||||
CONFIG_TTYS0_LCS=3
|
|
||||||
CONFIG_CONSOLE_CBMEM=y
|
|
||||||
# CONFIG_CONSOLE_SPI_FLASH is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
|
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_7=y
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_4 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_2 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0 is not set
|
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7
|
|
||||||
CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=y
|
|
||||||
CONFIG_CONSOLE_USE_ANSI_ESCAPES=y
|
|
||||||
CONFIG_POST_DEVICE_NONE=y
|
|
||||||
CONFIG_HWBASE_DEBUG_CB=y
|
|
||||||
# end of Console
|
|
||||||
|
|
||||||
CONFIG_HAVE_MONOTONIC_TIMER=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# System tables
|
|
||||||
#
|
|
||||||
# end of System tables
|
|
||||||
|
|
||||||
#
|
|
||||||
# Payload
|
|
||||||
#
|
|
||||||
CONFIG_PAYLOAD_NONE=y
|
|
||||||
# end of Payload
|
|
||||||
|
|
||||||
#
|
|
||||||
# Debugging
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# CPU Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Vendorcode Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# BLOB Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General Debug Settings
|
|
||||||
#
|
|
||||||
# CONFIG_GDB_STUB is not set
|
|
||||||
# CONFIG_FATAL_ASSERTS is not set
|
|
||||||
# CONFIG_DEBUG_CBFS is not set
|
|
||||||
# CONFIG_DEBUG_MALLOC is not set
|
|
||||||
# CONFIG_DEBUG_CONSOLE_INIT is not set
|
|
||||||
# CONFIG_DEBUG_SPI_FLASH is not set
|
|
||||||
# CONFIG_DEBUG_BOOT_STATE is not set
|
|
||||||
# CONFIG_DEBUG_ADA_CODE is not set
|
|
||||||
# end of Debugging
|
|
||||||
|
|
||||||
CONFIG_DECOMPRESS_OFAST=y
|
|
||||||
CONFIG_WARNINGS_ARE_ERRORS=y
|
|
||||||
CONFIG_MAX_REBOOT_CNT=3
|
|
||||||
CONFIG_NO_XIP_EARLY_STAGES=y
|
|
||||||
CONFIG_GENERIC_GPIO_LIB=y
|
|
||||||
CONFIG_HAVE_BOOTBLOCK=y
|
|
||||||
CONFIG_HAVE_ROMSTAGE=y
|
|
||||||
CONFIG_HAVE_RAMSTAGE=y
|
|
|
@ -1,4 +0,0 @@
|
||||||
tree="default"
|
|
||||||
xarch="aarch64-elf arm-eabi"
|
|
||||||
payload_uboot="y"
|
|
||||||
build_depend="u-boot/gru_bob"
|
|
|
@ -1,977 +0,0 @@
|
||||||
#
|
|
||||||
# Automatically generated file; DO NOT EDIT.
|
|
||||||
# coreboot configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General setup
|
|
||||||
#
|
|
||||||
CONFIG_COREBOOT_BUILD=y
|
|
||||||
CONFIG_LOCALVERSION=""
|
|
||||||
CONFIG_CBFS_PREFIX="fallback"
|
|
||||||
CONFIG_COMPILER_GCC=y
|
|
||||||
# CONFIG_ALLOW_EXPERIMENTAL_CLANG is not set
|
|
||||||
# CONFIG_ANY_TOOLCHAIN is not set
|
|
||||||
# CONFIG_CCACHE is not set
|
|
||||||
# CONFIG_IWYU is not set
|
|
||||||
# CONFIG_FMD_GENPARSER is not set
|
|
||||||
# CONFIG_UTIL_GENPARSER is not set
|
|
||||||
CONFIG_OPTION_BACKEND_NONE=y
|
|
||||||
CONFIG_COMPRESS_RAMSTAGE_LZMA=y
|
|
||||||
# CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
|
|
||||||
CONFIG_COMPRESS_PRERAM_STAGES=y
|
|
||||||
CONFIG_COMPRESS_BOOTBLOCK=y
|
|
||||||
CONFIG_SEPARATE_ROMSTAGE=y
|
|
||||||
CONFIG_INCLUDE_CONFIG_FILE=y
|
|
||||||
# CONFIG_COLLECT_TIMESTAMPS is not set
|
|
||||||
# CONFIG_USE_BLOBS is not set
|
|
||||||
# CONFIG_COVERAGE is not set
|
|
||||||
# CONFIG_UBSAN is not set
|
|
||||||
# CONFIG_ASAN is not set
|
|
||||||
CONFIG_NO_STAGE_CACHE=y
|
|
||||||
# CONFIG_CBMEM_STAGE_CACHE is not set
|
|
||||||
# CONFIG_UPDATE_IMAGE is not set
|
|
||||||
# CONFIG_BOOTSPLASH_IMAGE is not set
|
|
||||||
# CONFIG_FW_CONFIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Software Bill Of Materials (SBOM)
|
|
||||||
#
|
|
||||||
# CONFIG_SBOM is not set
|
|
||||||
# end of Software Bill Of Materials (SBOM)
|
|
||||||
# end of General setup
|
|
||||||
|
|
||||||
#
|
|
||||||
# Mainboard
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Important: Run 'make distclean' before switching boards
|
|
||||||
#
|
|
||||||
# CONFIG_VENDOR_51NB is not set
|
|
||||||
# CONFIG_VENDOR_ACER is not set
|
|
||||||
# CONFIG_VENDOR_ADLINK is not set
|
|
||||||
# CONFIG_VENDOR_AMD is not set
|
|
||||||
# CONFIG_VENDOR_AOPEN is not set
|
|
||||||
# CONFIG_VENDOR_APPLE is not set
|
|
||||||
# CONFIG_VENDOR_ASROCK is not set
|
|
||||||
# CONFIG_VENDOR_ASUS is not set
|
|
||||||
# CONFIG_VENDOR_BIOSTAR is not set
|
|
||||||
# CONFIG_VENDOR_BOSTENTECH is not set
|
|
||||||
# CONFIG_VENDOR_BYTEDANCE is not set
|
|
||||||
# CONFIG_VENDOR_CAVIUM is not set
|
|
||||||
# CONFIG_VENDOR_CLEVO is not set
|
|
||||||
# CONFIG_VENDOR_COMPULAB is not set
|
|
||||||
# CONFIG_VENDOR_DELL is not set
|
|
||||||
# CONFIG_VENDOR_EMULATION is not set
|
|
||||||
# CONFIG_VENDOR_EXAMPLE is not set
|
|
||||||
# CONFIG_VENDOR_FACEBOOK is not set
|
|
||||||
# CONFIG_VENDOR_FOXCONN is not set
|
|
||||||
# CONFIG_VENDOR_GETAC is not set
|
|
||||||
# CONFIG_VENDOR_GIGABYTE is not set
|
|
||||||
CONFIG_VENDOR_GOOGLE=y
|
|
||||||
# CONFIG_VENDOR_HP is not set
|
|
||||||
# CONFIG_VENDOR_IBASE is not set
|
|
||||||
# CONFIG_VENDOR_IBM is not set
|
|
||||||
# CONFIG_VENDOR_INTEL is not set
|
|
||||||
# CONFIG_VENDOR_INVENTEC is not set
|
|
||||||
# CONFIG_VENDOR_KONTRON is not set
|
|
||||||
# CONFIG_VENDOR_LENOVO is not set
|
|
||||||
# CONFIG_VENDOR_LIBRETREND is not set
|
|
||||||
# CONFIG_VENDOR_MSI is not set
|
|
||||||
# CONFIG_VENDOR_OCP is not set
|
|
||||||
# CONFIG_VENDOR_OPENCELLULAR is not set
|
|
||||||
# CONFIG_VENDOR_PACKARDBELL is not set
|
|
||||||
# CONFIG_VENDOR_PCENGINES is not set
|
|
||||||
# CONFIG_VENDOR_PINE64 is not set
|
|
||||||
# CONFIG_VENDOR_PORTWELL is not set
|
|
||||||
# CONFIG_VENDOR_PRODRIVE is not set
|
|
||||||
# CONFIG_VENDOR_PROTECTLI is not set
|
|
||||||
# CONFIG_VENDOR_PURISM is not set
|
|
||||||
# CONFIG_VENDOR_RAZER is not set
|
|
||||||
# CONFIG_VENDOR_RODA is not set
|
|
||||||
# CONFIG_VENDOR_SAMSUNG is not set
|
|
||||||
# CONFIG_VENDOR_SAPPHIRE is not set
|
|
||||||
# CONFIG_VENDOR_SIEMENS is not set
|
|
||||||
# CONFIG_VENDOR_SIFIVE is not set
|
|
||||||
# CONFIG_VENDOR_STARLABS is not set
|
|
||||||
# CONFIG_VENDOR_SUPERMICRO is not set
|
|
||||||
# CONFIG_VENDOR_SYSTEM76 is not set
|
|
||||||
# CONFIG_VENDOR_TI is not set
|
|
||||||
# CONFIG_VENDOR_UP is not set
|
|
||||||
CONFIG_BOARD_SPECIFIC_OPTIONS=y
|
|
||||||
CONFIG_MAINBOARD_PART_NUMBER="Kevin"
|
|
||||||
CONFIG_MAINBOARD_DIR="google/gru"
|
|
||||||
CONFIG_DIMM_MAX=4
|
|
||||||
CONFIG_DIMM_SPD_SIZE=256
|
|
||||||
CONFIG_FMDFILE=""
|
|
||||||
# CONFIG_NO_POST is not set
|
|
||||||
CONFIG_MAINBOARD_VENDOR="Google"
|
|
||||||
CONFIG_CBFS_SIZE=0x00800000
|
|
||||||
CONFIG_CONSOLE_SERIAL=y
|
|
||||||
CONFIG_MAX_CPUS=1
|
|
||||||
CONFIG_POST_DEVICE=y
|
|
||||||
CONFIG_UART_FOR_CONSOLE=0
|
|
||||||
CONFIG_DEVICETREE="devicetree.cb"
|
|
||||||
# CONFIG_VBOOT is not set
|
|
||||||
# CONFIG_CHROMEOS is not set
|
|
||||||
CONFIG_OVERRIDE_DEVICETREE=""
|
|
||||||
CONFIG_BOOT_DEVICE_SPI_FLASH_BUS=1
|
|
||||||
CONFIG_CONSOLE_SERIAL_UART_ADDRESS=0xFF1A0000
|
|
||||||
# CONFIG_CONSOLE_POST is not set
|
|
||||||
CONFIG_PS2K_EISAID="PNP0303"
|
|
||||||
CONFIG_PS2M_EISAID="PNP0F13"
|
|
||||||
CONFIG_MEMLAYOUT_LD_FILE="src/soc/rockchip/rk3399/memlayout.ld"
|
|
||||||
CONFIG_MAX_ACPI_TABLE_SIZE_KB=144
|
|
||||||
CONFIG_SPI_FLASH_WINBOND=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Asurada
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ASURADA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HAYATO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SPHERION is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Auron
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AURON_PAINE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_AURON_YUNA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUDDY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GANDOF is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LULU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SAMUS is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Beltino
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_MCCLOUD is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MONROE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PANTHER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TRICKY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZAKO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Brox
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BROX is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Brya
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AGAH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ANAHERA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ANAHERA4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_AURASH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BANSHEE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BRASK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BRYA0 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRAASK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRAASKOV is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CONSTITUTION is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CROTA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FELWINTER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GAELIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GIMBLE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GIMBLE4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GLADIOS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GOTHRAX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HADES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KANO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINOX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KULDAX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JOXER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LISBON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MARASOV is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MITHRAX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MOLI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NIVVIKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NEREID is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OMNIGUL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OSIRIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PIRRHA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PRIMUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PUJJO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_QUANDISO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REDRIX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REDRIX4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SKOLAS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SKOLAS4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TAEKO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TAEKO4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TANIKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ULDREN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VELL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLMAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_XIVU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_YAVIKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_YAVILLA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZYDRON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NOKRIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOCHI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ANRAGGAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_XOL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Butterfly
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUTTERFLY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Cherry
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHERRY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOJO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TOMATO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kingler
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINGLER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_STEELIX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTORB is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PONYTA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Krabby
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KRABBY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TENTACRUEL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MAGIKARP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHINCHOU is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Staryu
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_STARMIE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Cyan
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BANON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CELES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CYAN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EDGAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KEFKA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RELM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SETZER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TERRA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ULTIMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WIZPIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Daisy
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_DAISY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Dedede
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOTEN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DIBBI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEDEDE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRAWCIA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HABOKI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MADOO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WADDLEDOO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WADDLEDEE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LALALA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MAGOLOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_METAKNIGHT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LANTIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GALTIC is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SASUKE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_STORO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SASUKETTE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KRACKO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BLIPPER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PIRIKA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAPPY2 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUGZZY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CORORI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRIBLEE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GOOEY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BEADRIX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SHOTZO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TARANZA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOXY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEXI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DITA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Drallion
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRALLION is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Eve
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_EVE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Fizz
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_FIZZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KARMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ENDEAVOUR is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Foster
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_FOSTER is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Gale
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_GALE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Geralt
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_GERALT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CIRI is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Glados
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ASUKA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAROLINE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAVE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHELL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GLADOS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LARS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SENTRY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Gru
|
|
||||||
#
|
|
||||||
CONFIG_BOARD_GOOGLE_KEVIN=y
|
|
||||||
# CONFIG_BOARD_GOOGLE_GRU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOB is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCARLET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NEFARIO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RAINIER is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Guybrush
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEWATT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GUYBRUSH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NIPPERKIN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Hatch
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AKEMI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DRATINI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HATCH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HELIOS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HELIOS_DISKSWAP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JINLON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINDRED is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KOHAKU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MUSHU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NIGHTFURY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PALKIA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Herobrine
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_HEROBRINE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HEROBRINE_REV0 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SENOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PIGLIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HOGLIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VILLAGER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EVOKER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZOGLIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ZOMBIE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Jecht
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_GUADO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JECHT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RIKKU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TIDUS is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kahlee
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ALEENA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CAREENA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GRUNT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LIARA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NUWANI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TREEYA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kukui
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_KUKUI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KRANE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KODAMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAKADU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FLAPJACK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KATSU is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Jacuzzi
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_JACUZZI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_JUNIPER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAPPA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DAMU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CERISE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_STERN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WILLOW is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ESCHE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BURNET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FENNEL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COZMO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MAKOMO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MUNNA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PICO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Link
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_LINK is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Mistral
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_MISTRAL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Myst
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_MYST is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Nyan
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_NYAN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Nyan Big
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_NYAN_BIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Nyan Blaze
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_NYAN_BLAZE is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Oak
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_OAK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ELM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HANA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Octopus
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AMPTON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BLOOG is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_BOBBA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CASTA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOOD is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FLEEX is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FOOB is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GARG is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LICK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MEEP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OCTOPUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PHASER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_YORP is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Parrot
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_PARROT is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Peach Pit
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_PEACH_PIT is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Poppy
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ATLAS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_POPPY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NAMI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NAUTILUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NOCTURNE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RAMMUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SORAKA is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Puff
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_AMBASSADOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DOOLY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DUFFY_LEGACY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DUFFY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FAFFY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GENESIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAISA_LEGACY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KAISA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MOONBUGGY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NOIBAT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PUFF is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCOUT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WYVERN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Rambi
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BANJO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CANDY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CLAPPER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ENGUARDE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EXPRESSO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GLIMMER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GNAWTY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HELI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KIP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_NINJA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ORCO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_QUAWKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SQUAWKS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_RAMBI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SUMO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SWANKY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WINKY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Reef
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_REEF is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PYRO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SAND is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SNAPPY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_CORAL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Rex
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX0 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCREEBO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SCREEBO4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KARIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KARIS4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX_EC_ISH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OVIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_OVIS4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEKU is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DEKU4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX4ES is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_REX4ES_EC_ISH is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Sarien
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_ARCADA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SARIEN is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Skyrim
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_CRYSTALDRIFT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_FROSTFLOW is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MARKARTH is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SKYRIM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WINTERHOLD is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Slippy
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_FALCO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LEON is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PEPPY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WOLF is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Smaug
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_SMAUG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Storm
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_STORM is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Stout
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_STOUT is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Trogdor
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BUBS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COACHZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GELARSHIE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HOMESTAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_KINGOFTOWN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LAZOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MARZIPAN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MRBLAND is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_PAZQUEL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_POMPOM is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_QUACKINGSTICK is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WORMDINGLER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TROGDOR is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Veyron
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_JAQ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_JERRY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_MIGHTY is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_MINNIE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_SPEEDY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Veyron Mickey
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_MICKEY is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Veyron Rialto
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_VEYRON_RIALTO is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Volteer
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_CHRONICLER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COLLIS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_COPANO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DELBIN is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DROBIT is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ELDRID is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_ELEMI is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_HALVOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_LINDAR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MALEFOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TERRADOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TODOR is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TRONDO is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOEMA is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLET is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTEER is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTEER2 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOLTEER2_TI50 is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VOXEL is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Zork
|
|
||||||
#
|
|
||||||
# CONFIG_BOARD_GOOGLE_BERKNIP is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DALBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_DIRINBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_EZKINIL is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_GUMBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_MORPHIUS is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_SHUBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_TREMBYLE is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_VILBOZ is not set
|
|
||||||
# CONFIG_BOARD_GOOGLE_WOOMAX is not set
|
|
||||||
CONFIG_DRIVER_TPM_SPI_BUS=0x0
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS=0x5
|
|
||||||
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000
|
|
||||||
CONFIG_DRIVER_TPM_I2C_BUS=0x0
|
|
||||||
CONFIG_DRIVER_TPM_I2C_ADDR=0x20
|
|
||||||
CONFIG_PMIC_BUS=-1
|
|
||||||
CONFIG_BOARD_GOOGLE_GRU_COMMON=y
|
|
||||||
# CONFIG_GRU_HAS_TPM2 is not set
|
|
||||||
CONFIG_GRU_HAS_CENTERLOG_PWM=y
|
|
||||||
CONFIG_GRU_HAS_WLAN_RESET=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_BOARDNAME=""
|
|
||||||
CONFIG_SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS=y
|
|
||||||
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US=0
|
|
||||||
CONFIG_TTYS0_BAUD=115200
|
|
||||||
CONFIG_D3COLD_SUPPORT=y
|
|
||||||
CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72
|
|
||||||
CONFIG_EC_GPE_SCI=0x50
|
|
||||||
# CONFIG_TPM_MEASURED_BOOT is not set
|
|
||||||
CONFIG_BOARD_ROMSIZE_KB_8192=y
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_512 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_4096 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_5120 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_6144 is not set
|
|
||||||
CONFIG_COREBOOT_ROMSIZE_KB_8192=y
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_10240 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_12288 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_24576 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_32768 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_65536 is not set
|
|
||||||
CONFIG_COREBOOT_ROMSIZE_KB=8192
|
|
||||||
CONFIG_ROM_SIZE=0x00800000
|
|
||||||
# end of Mainboard
|
|
||||||
|
|
||||||
#
|
|
||||||
# Chipset
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# SoC
|
|
||||||
#
|
|
||||||
CONFIG_CHIPSET_DEVICETREE=""
|
|
||||||
CONFIG_ARM64_BL31_EXTERNAL_FILE=""
|
|
||||||
CONFIG_ARCH_ARMV8_EXTENSION=0
|
|
||||||
CONFIG_STACK_SIZE=0x0
|
|
||||||
CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254
|
|
||||||
CONFIG_INTEL_GMA_BCLV_WIDTH=16
|
|
||||||
CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256
|
|
||||||
CONFIG_INTEL_GMA_BCLM_WIDTH=16
|
|
||||||
CONFIG_ALWAYS_ALLOW_ABOVE_4G_ALLOCATION=y
|
|
||||||
CONFIG_GENERIC_UDELAY=y
|
|
||||||
CONFIG_SOC_ROCKCHIP_RK3399=y
|
|
||||||
# CONFIG_RK3399_SPREAD_SPECTRUM_DDR is not set
|
|
||||||
CONFIG_CBFS_CACHE_ALIGN=8
|
|
||||||
|
|
||||||
#
|
|
||||||
# CPU
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Northbridge
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Southbridge
|
|
||||||
#
|
|
||||||
CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000
|
|
||||||
CONFIG_RCBA_LENGTH=0x4000
|
|
||||||
|
|
||||||
#
|
|
||||||
# Super I/O
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Embedded Controllers
|
|
||||||
#
|
|
||||||
CONFIG_EC_SUPPORTS_DPTF_TEVT=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_SPI_CHIP=0x0
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_RTC=y
|
|
||||||
CONFIG_EC_GOOGLE_CHROMEEC_FIRMWARE_NONE=y
|
|
||||||
# CONFIG_EC_GOOGLE_CHROMEEC_FIRMWARE_EXTERNAL is not set
|
|
||||||
# CONFIG_EC_GOOGLE_CHROMEEC_FIRMWARE_BUILTIN is not set
|
|
||||||
CONFIG_MAINBOARD_HAS_CHROMEOS=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# ChromeOS
|
|
||||||
#
|
|
||||||
# end of ChromeOS
|
|
||||||
|
|
||||||
CONFIG_ARCH_ARM64=y
|
|
||||||
CONFIG_ARCH_BOOTBLOCK_ARM64=y
|
|
||||||
CONFIG_ARCH_VERSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_ROMSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_RAMSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_BOOTBLOCK_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_VERSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_ROMSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_RAMSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE=y
|
|
||||||
# end of Chipset
|
|
||||||
|
|
||||||
#
|
|
||||||
# Devices
|
|
||||||
#
|
|
||||||
CONFIG_HAVE_LINEAR_FRAMEBUFFER=y
|
|
||||||
CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_NO_EARLY_GFX_INIT=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Display
|
|
||||||
#
|
|
||||||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
|
|
||||||
CONFIG_LINEAR_FRAMEBUFFER=y
|
|
||||||
# CONFIG_BOOTSPLASH is not set
|
|
||||||
# end of Display
|
|
||||||
|
|
||||||
# CONFIG_SOFTWARE_I2C is not set
|
|
||||||
CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
|
|
||||||
CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
|
|
||||||
# end of Devices
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generic Drivers
|
|
||||||
#
|
|
||||||
CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000
|
|
||||||
# CONFIG_ELOG is not set
|
|
||||||
CONFIG_COMMON_CBFS_SPI_WRAPPER=y
|
|
||||||
CONFIG_SPI_FLASH=y
|
|
||||||
# CONFIG_SPI_FLASH_NO_FAST_READ is not set
|
|
||||||
CONFIG_TPM_INIT_RAMSTAGE=y
|
|
||||||
CONFIG_DRIVERS_UART=y
|
|
||||||
CONFIG_UART_OVERRIDE_REFCLK=y
|
|
||||||
CONFIG_DRIVERS_UART_8250MEM=y
|
|
||||||
CONFIG_DRIVERS_UART_8250MEM_32=y
|
|
||||||
# CONFIG_VPD is not set
|
|
||||||
# CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set
|
|
||||||
# CONFIG_DRIVERS_GENERIC_CBFS_UUID is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9750 is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9763E is not set
|
|
||||||
CONFIG_I2C_TPM=y
|
|
||||||
CONFIG_DRIVER_TIS_DEFAULT=y
|
|
||||||
# CONFIG_DRIVER_I2C_TPM_ACPI is not set
|
|
||||||
# CONFIG_DRIVER_TPM_DISPLAY_TIS_BYTES is not set
|
|
||||||
# CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
|
|
||||||
CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
|
|
||||||
# end of Generic Drivers
|
|
||||||
|
|
||||||
#
|
|
||||||
# Security
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# CBFS verification
|
|
||||||
#
|
|
||||||
# CONFIG_CBFS_VERIFICATION is not set
|
|
||||||
# end of CBFS verification
|
|
||||||
|
|
||||||
#
|
|
||||||
# Verified Boot (vboot)
|
|
||||||
#
|
|
||||||
# end of Verified Boot (vboot)
|
|
||||||
|
|
||||||
#
|
|
||||||
# Trusted Platform Module
|
|
||||||
#
|
|
||||||
# CONFIG_NO_TPM is not set
|
|
||||||
CONFIG_TPM1=y
|
|
||||||
CONFIG_TPM=y
|
|
||||||
CONFIG_MAINBOARD_HAS_TPM1=y
|
|
||||||
# CONFIG_TPM_DEACTIVATE is not set
|
|
||||||
# CONFIG_DEBUG_TPM is not set
|
|
||||||
CONFIG_PCR_BOOT_MODE=1
|
|
||||||
CONFIG_PCR_HWID=1
|
|
||||||
CONFIG_PCR_SRTM=2
|
|
||||||
CONFIG_PCR_FW_VER=10
|
|
||||||
CONFIG_PCR_RUNTIME_DATA=3
|
|
||||||
# end of Trusted Platform Module
|
|
||||||
|
|
||||||
CONFIG_TPM_SETUP_HIBERNATE_ON_ERR=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Memory initialization
|
|
||||||
#
|
|
||||||
# end of Memory initialization
|
|
||||||
|
|
||||||
CONFIG_BOOTMEDIA_LOCK_NONE=y
|
|
||||||
# CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set
|
|
||||||
# CONFIG_BOOTMEDIA_LOCK_CHIP is not set
|
|
||||||
# end of Security
|
|
||||||
|
|
||||||
CONFIG_ACPI_HAVE_PCAT_8259=y
|
|
||||||
CONFIG_ACPI_CUSTOM_MADT=y
|
|
||||||
CONFIG_BOOT_DEVICE_SPI_FLASH=y
|
|
||||||
CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y
|
|
||||||
CONFIG_RTC=y
|
|
||||||
CONFIG_HEAP_SIZE=0x100000
|
|
||||||
|
|
||||||
#
|
|
||||||
# Console
|
|
||||||
#
|
|
||||||
CONFIG_BOOTBLOCK_CONSOLE=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# memory mapped, 8250-compatible
|
|
||||||
#
|
|
||||||
CONFIG_TTYS0_BASE=0x3f8
|
|
||||||
# CONFIG_CONSOLE_SERIAL_921600 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_460800 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_230400 is not set
|
|
||||||
CONFIG_CONSOLE_SERIAL_115200=y
|
|
||||||
# CONFIG_CONSOLE_SERIAL_57600 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_38400 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_19200 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_9600 is not set
|
|
||||||
CONFIG_TTYS0_LCS=3
|
|
||||||
CONFIG_CONSOLE_CBMEM=y
|
|
||||||
# CONFIG_CONSOLE_SPI_FLASH is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
|
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_7=y
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_4 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_2 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0 is not set
|
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7
|
|
||||||
CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=y
|
|
||||||
CONFIG_CONSOLE_USE_ANSI_ESCAPES=y
|
|
||||||
CONFIG_POST_DEVICE_NONE=y
|
|
||||||
CONFIG_HWBASE_DEBUG_CB=y
|
|
||||||
# end of Console
|
|
||||||
|
|
||||||
CONFIG_HAVE_MONOTONIC_TIMER=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# System tables
|
|
||||||
#
|
|
||||||
# end of System tables
|
|
||||||
|
|
||||||
#
|
|
||||||
# Payload
|
|
||||||
#
|
|
||||||
CONFIG_PAYLOAD_NONE=y
|
|
||||||
# end of Payload
|
|
||||||
|
|
||||||
#
|
|
||||||
# Debugging
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# CPU Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Vendorcode Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# BLOB Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General Debug Settings
|
|
||||||
#
|
|
||||||
# CONFIG_GDB_STUB is not set
|
|
||||||
# CONFIG_FATAL_ASSERTS is not set
|
|
||||||
# CONFIG_DEBUG_CBFS is not set
|
|
||||||
# CONFIG_DEBUG_MALLOC is not set
|
|
||||||
# CONFIG_DEBUG_CONSOLE_INIT is not set
|
|
||||||
# CONFIG_DEBUG_SPI_FLASH is not set
|
|
||||||
# CONFIG_DEBUG_BOOT_STATE is not set
|
|
||||||
# CONFIG_DEBUG_ADA_CODE is not set
|
|
||||||
# end of Debugging
|
|
||||||
|
|
||||||
CONFIG_DECOMPRESS_OFAST=y
|
|
||||||
CONFIG_WARNINGS_ARE_ERRORS=y
|
|
||||||
CONFIG_MAX_REBOOT_CNT=3
|
|
||||||
CONFIG_NO_XIP_EARLY_STAGES=y
|
|
||||||
CONFIG_GENERIC_GPIO_LIB=y
|
|
||||||
CONFIG_HAVE_BOOTBLOCK=y
|
|
||||||
CONFIG_HAVE_ROMSTAGE=y
|
|
||||||
CONFIG_HAVE_RAMSTAGE=y
|
|
|
@ -1,4 +0,0 @@
|
||||||
tree="default"
|
|
||||||
xarch="aarch64-elf arm-eabi"
|
|
||||||
payload_uboot="y"
|
|
||||||
build_depend="u-boot/gru_kevin"
|
|
|
@ -3,7 +3,7 @@ xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_grub="y"
|
payload_grub="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
grub_scan_disk="nvme ahci"
|
grub_scan_disk="nvme ahci"
|
||||||
grubtree="xhci"
|
grubtree="xhci"
|
||||||
vcfg="hp820g2"
|
vcfg="hp820g2"
|
||||||
|
|
|
@ -1,405 +0,0 @@
|
||||||
#
|
|
||||||
# Automatically generated file; DO NOT EDIT.
|
|
||||||
# coreboot configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General setup
|
|
||||||
#
|
|
||||||
CONFIG_COREBOOT_BUILD=y
|
|
||||||
CONFIG_LOCALVERSION=""
|
|
||||||
CONFIG_CBFS_PREFIX="fallback"
|
|
||||||
CONFIG_COMPILER_GCC=y
|
|
||||||
# CONFIG_ALLOW_EXPERIMENTAL_CLANG is not set
|
|
||||||
# CONFIG_ANY_TOOLCHAIN is not set
|
|
||||||
# CONFIG_CCACHE is not set
|
|
||||||
# CONFIG_IWYU is not set
|
|
||||||
# CONFIG_FMD_GENPARSER is not set
|
|
||||||
# CONFIG_UTIL_GENPARSER is not set
|
|
||||||
CONFIG_OPTION_BACKEND_NONE=y
|
|
||||||
CONFIG_COMPRESS_RAMSTAGE_LZMA=y
|
|
||||||
# CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
|
|
||||||
CONFIG_COMPRESS_PRERAM_STAGES=y
|
|
||||||
CONFIG_SEPARATE_ROMSTAGE=y
|
|
||||||
CONFIG_INCLUDE_CONFIG_FILE=y
|
|
||||||
# CONFIG_COLLECT_TIMESTAMPS is not set
|
|
||||||
CONFIG_USE_BLOBS=y
|
|
||||||
# CONFIG_USE_AMD_BLOBS is not set
|
|
||||||
# CONFIG_USE_QC_BLOBS is not set
|
|
||||||
# CONFIG_COVERAGE is not set
|
|
||||||
# CONFIG_UBSAN is not set
|
|
||||||
# CONFIG_ASAN is not set
|
|
||||||
CONFIG_NO_STAGE_CACHE=y
|
|
||||||
# CONFIG_CBMEM_STAGE_CACHE is not set
|
|
||||||
# CONFIG_UPDATE_IMAGE is not set
|
|
||||||
# CONFIG_BOOTSPLASH_IMAGE is not set
|
|
||||||
# CONFIG_FW_CONFIG is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Software Bill Of Materials (SBOM)
|
|
||||||
#
|
|
||||||
# CONFIG_SBOM is not set
|
|
||||||
# end of Software Bill Of Materials (SBOM)
|
|
||||||
# end of General setup
|
|
||||||
|
|
||||||
#
|
|
||||||
# Mainboard
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Important: Run 'make distclean' before switching boards
|
|
||||||
#
|
|
||||||
# CONFIG_VENDOR_51NB is not set
|
|
||||||
# CONFIG_VENDOR_ACER is not set
|
|
||||||
# CONFIG_VENDOR_ADLINK is not set
|
|
||||||
# CONFIG_VENDOR_AMD is not set
|
|
||||||
# CONFIG_VENDOR_AOPEN is not set
|
|
||||||
# CONFIG_VENDOR_APPLE is not set
|
|
||||||
# CONFIG_VENDOR_ASROCK is not set
|
|
||||||
# CONFIG_VENDOR_ASUS is not set
|
|
||||||
# CONFIG_VENDOR_BIOSTAR is not set
|
|
||||||
# CONFIG_VENDOR_BOSTENTECH is not set
|
|
||||||
# CONFIG_VENDOR_BYTEDANCE is not set
|
|
||||||
# CONFIG_VENDOR_CAVIUM is not set
|
|
||||||
# CONFIG_VENDOR_CLEVO is not set
|
|
||||||
# CONFIG_VENDOR_COMPULAB is not set
|
|
||||||
# CONFIG_VENDOR_DELL is not set
|
|
||||||
CONFIG_VENDOR_EMULATION=y
|
|
||||||
# CONFIG_VENDOR_EXAMPLE is not set
|
|
||||||
# CONFIG_VENDOR_FACEBOOK is not set
|
|
||||||
# CONFIG_VENDOR_FOXCONN is not set
|
|
||||||
# CONFIG_VENDOR_GETAC is not set
|
|
||||||
# CONFIG_VENDOR_GIGABYTE is not set
|
|
||||||
# CONFIG_VENDOR_GOOGLE is not set
|
|
||||||
# CONFIG_VENDOR_HP is not set
|
|
||||||
# CONFIG_VENDOR_IBASE is not set
|
|
||||||
# CONFIG_VENDOR_IBM is not set
|
|
||||||
# CONFIG_VENDOR_INTEL is not set
|
|
||||||
# CONFIG_VENDOR_INVENTEC is not set
|
|
||||||
# CONFIG_VENDOR_KONTRON is not set
|
|
||||||
# CONFIG_VENDOR_LENOVO is not set
|
|
||||||
# CONFIG_VENDOR_LIBRETREND is not set
|
|
||||||
# CONFIG_VENDOR_MSI is not set
|
|
||||||
# CONFIG_VENDOR_OCP is not set
|
|
||||||
# CONFIG_VENDOR_OPENCELLULAR is not set
|
|
||||||
# CONFIG_VENDOR_PACKARDBELL is not set
|
|
||||||
# CONFIG_VENDOR_PCENGINES is not set
|
|
||||||
# CONFIG_VENDOR_PINE64 is not set
|
|
||||||
# CONFIG_VENDOR_PORTWELL is not set
|
|
||||||
# CONFIG_VENDOR_PRODRIVE is not set
|
|
||||||
# CONFIG_VENDOR_PROTECTLI is not set
|
|
||||||
# CONFIG_VENDOR_PURISM is not set
|
|
||||||
# CONFIG_VENDOR_RAZER is not set
|
|
||||||
# CONFIG_VENDOR_RODA is not set
|
|
||||||
# CONFIG_VENDOR_SAMSUNG is not set
|
|
||||||
# CONFIG_VENDOR_SAPPHIRE is not set
|
|
||||||
# CONFIG_VENDOR_SIEMENS is not set
|
|
||||||
# CONFIG_VENDOR_SIFIVE is not set
|
|
||||||
# CONFIG_VENDOR_STARLABS is not set
|
|
||||||
# CONFIG_VENDOR_SUPERMICRO is not set
|
|
||||||
# CONFIG_VENDOR_SYSTEM76 is not set
|
|
||||||
# CONFIG_VENDOR_TI is not set
|
|
||||||
# CONFIG_VENDOR_UP is not set
|
|
||||||
CONFIG_BOARD_SPECIFIC_OPTIONS=y
|
|
||||||
CONFIG_MAINBOARD_PART_NUMBER="QEMU AArch64"
|
|
||||||
CONFIG_MAINBOARD_DIR="emulation/qemu-aarch64"
|
|
||||||
CONFIG_DIMM_MAX=4
|
|
||||||
CONFIG_DIMM_SPD_SIZE=256
|
|
||||||
CONFIG_FMDFILE=""
|
|
||||||
# CONFIG_NO_POST is not set
|
|
||||||
CONFIG_MAINBOARD_VENDOR="QEMU"
|
|
||||||
CONFIG_CBFS_SIZE=0x00c00000
|
|
||||||
CONFIG_CONSOLE_SERIAL=y
|
|
||||||
CONFIG_MAX_CPUS=2
|
|
||||||
# CONFIG_ONBOARD_VGA_IS_PRIMARY is not set
|
|
||||||
CONFIG_POST_DEVICE=y
|
|
||||||
CONFIG_UART_FOR_CONSOLE=0
|
|
||||||
CONFIG_DEVICETREE="devicetree.cb"
|
|
||||||
# CONFIG_VBOOT is not set
|
|
||||||
CONFIG_OVERRIDE_DEVICETREE=""
|
|
||||||
CONFIG_DRAM_SIZE_MB=261120
|
|
||||||
# CONFIG_CONSOLE_POST is not set
|
|
||||||
CONFIG_PS2K_EISAID="PNP0303"
|
|
||||||
CONFIG_PS2M_EISAID="PNP0F13"
|
|
||||||
CONFIG_BOARD_EMULATION_QEMU_AARCH64=y
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_ARMV7 is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_X86_I440FX is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_POWER8 is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_POWER9 is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_X86_Q35 is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_RISCV_RV64 is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_QEMU_RISCV_RV32 is not set
|
|
||||||
# CONFIG_BOARD_EMULATION_SPIKE_RISCV is not set
|
|
||||||
CONFIG_ECAM_MMCONF_BASE_ADDRESS=0x4010000000
|
|
||||||
CONFIG_ECAM_MMCONF_BUS_NUMBER=256
|
|
||||||
CONFIG_MEMLAYOUT_LD_FILE="src/mainboard/emulation/qemu-aarch64/memlayout.ld"
|
|
||||||
CONFIG_MAX_ACPI_TABLE_SIZE_KB=144
|
|
||||||
CONFIG_DRIVERS_INTEL_WIFI=y
|
|
||||||
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000
|
|
||||||
CONFIG_CARDBUS_PLUGIN_SUPPORT=y
|
|
||||||
CONFIG_TTYS0_BAUD=115200
|
|
||||||
CONFIG_D3COLD_SUPPORT=y
|
|
||||||
# CONFIG_PCIEXP_ASPM is not set
|
|
||||||
# CONFIG_PCIEXP_L1_SUB_STATE is not set
|
|
||||||
# CONFIG_PCIEXP_CLK_PM is not set
|
|
||||||
CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72
|
|
||||||
CONFIG_EC_GPE_SCI=0x50
|
|
||||||
CONFIG_BOARD_ROMSIZE_KB_16384=y
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_512 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_4096 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_5120 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_6144 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_8192 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_10240 is not set
|
|
||||||
CONFIG_COREBOOT_ROMSIZE_KB_12288=y
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_24576 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_32768 is not set
|
|
||||||
# CONFIG_COREBOOT_ROMSIZE_KB_65536 is not set
|
|
||||||
CONFIG_COREBOOT_ROMSIZE_KB=12288
|
|
||||||
CONFIG_ROM_SIZE=0x00c00000
|
|
||||||
# end of Mainboard
|
|
||||||
|
|
||||||
#
|
|
||||||
# Chipset
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# SoC
|
|
||||||
#
|
|
||||||
CONFIG_CHIPSET_DEVICETREE=""
|
|
||||||
CONFIG_ARM64_BL31_EXTERNAL_FILE=""
|
|
||||||
CONFIG_ARCH_ARMV8_EXTENSION=0
|
|
||||||
CONFIG_STACK_SIZE=0x0
|
|
||||||
CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254
|
|
||||||
CONFIG_INTEL_GMA_BCLV_WIDTH=16
|
|
||||||
CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256
|
|
||||||
CONFIG_INTEL_GMA_BCLM_WIDTH=16
|
|
||||||
CONFIG_DOMAIN_RESOURCE_32BIT_LIMIT=0xfe000000
|
|
||||||
# CONFIG_PCIEXP_COMMON_CLOCK is not set
|
|
||||||
CONFIG_ALWAYS_ALLOW_ABOVE_4G_ALLOCATION=y
|
|
||||||
CONFIG_GENERIC_UDELAY=y
|
|
||||||
CONFIG_CBFS_CACHE_ALIGN=8
|
|
||||||
|
|
||||||
#
|
|
||||||
# CPU
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Northbridge
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Southbridge
|
|
||||||
#
|
|
||||||
# CONFIG_PCIEXP_HOTPLUG is not set
|
|
||||||
CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000
|
|
||||||
CONFIG_RCBA_LENGTH=0x4000
|
|
||||||
|
|
||||||
#
|
|
||||||
# Super I/O
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Embedded Controllers
|
|
||||||
#
|
|
||||||
CONFIG_ARCH_ARM64=y
|
|
||||||
CONFIG_ARCH_BOOTBLOCK_ARM64=y
|
|
||||||
CONFIG_ARCH_VERSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_ROMSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_RAMSTAGE_ARM64=y
|
|
||||||
CONFIG_ARCH_BOOTBLOCK_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_VERSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_ROMSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARCH_RAMSTAGE_ARMV8_64=y
|
|
||||||
CONFIG_ARM64_USE_ARCH_TIMER=y
|
|
||||||
CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE=y
|
|
||||||
# end of Chipset
|
|
||||||
|
|
||||||
#
|
|
||||||
# Devices
|
|
||||||
#
|
|
||||||
CONFIG_HAVE_LINEAR_FRAMEBUFFER=y
|
|
||||||
CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y
|
|
||||||
CONFIG_NO_EARLY_GFX_INIT=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# Display
|
|
||||||
#
|
|
||||||
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
|
|
||||||
CONFIG_LINEAR_FRAMEBUFFER=y
|
|
||||||
# CONFIG_BOOTSPLASH is not set
|
|
||||||
# end of Display
|
|
||||||
|
|
||||||
CONFIG_PCI=y
|
|
||||||
CONFIG_ECAM_MMCONF_SUPPORT=y
|
|
||||||
CONFIG_PCIX_PLUGIN_SUPPORT=y
|
|
||||||
CONFIG_PCIEXP_PLUGIN_SUPPORT=y
|
|
||||||
CONFIG_ECAM_MMCONF_LENGTH=0x10000000
|
|
||||||
CONFIG_PCI_ALLOW_BUS_MASTER=y
|
|
||||||
CONFIG_PCI_SET_BUS_MASTER_PCI_BRIDGES=y
|
|
||||||
CONFIG_PCI_ALLOW_BUS_MASTER_ANY_DEVICE=y
|
|
||||||
# CONFIG_PCIEXP_SUPPORT_RESIZABLE_BARS is not set
|
|
||||||
# CONFIG_PCIEXP_LANE_ERR_STAT_CLEAR is not set
|
|
||||||
# CONFIG_EARLY_PCI_BRIDGE is not set
|
|
||||||
CONFIG_SUBSYSTEM_VENDOR_ID=0x0000
|
|
||||||
CONFIG_SUBSYSTEM_DEVICE_ID=0x0000
|
|
||||||
# CONFIG_SOFTWARE_I2C is not set
|
|
||||||
CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
|
|
||||||
# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
|
|
||||||
# end of Devices
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generic Drivers
|
|
||||||
#
|
|
||||||
CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000
|
|
||||||
CONFIG_DRIVERS_UART=y
|
|
||||||
CONFIG_HAVE_UART_SPECIAL=y
|
|
||||||
# CONFIG_DRIVERS_UART_OXPCIE is not set
|
|
||||||
CONFIG_DRIVERS_UART_PL011=y
|
|
||||||
# CONFIG_VPD is not set
|
|
||||||
# CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set
|
|
||||||
# CONFIG_DRIVERS_GENERIC_CBFS_UUID is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9750 is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set
|
|
||||||
# CONFIG_DRIVERS_GENESYSLOGIC_GL9763E is not set
|
|
||||||
# CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
|
|
||||||
CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
|
|
||||||
# CONFIG_DRIVERS_SIL_3114 is not set
|
|
||||||
CONFIG_DRIVERS_WIFI_GENERIC=y
|
|
||||||
# end of Generic Drivers
|
|
||||||
|
|
||||||
#
|
|
||||||
# Security
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# CBFS verification
|
|
||||||
#
|
|
||||||
# CONFIG_CBFS_VERIFICATION is not set
|
|
||||||
# end of CBFS verification
|
|
||||||
|
|
||||||
#
|
|
||||||
# Verified Boot (vboot)
|
|
||||||
#
|
|
||||||
# end of Verified Boot (vboot)
|
|
||||||
|
|
||||||
#
|
|
||||||
# Trusted Platform Module
|
|
||||||
#
|
|
||||||
CONFIG_NO_TPM=y
|
|
||||||
CONFIG_PCR_BOOT_MODE=1
|
|
||||||
CONFIG_PCR_HWID=1
|
|
||||||
CONFIG_PCR_SRTM=2
|
|
||||||
CONFIG_PCR_FW_VER=10
|
|
||||||
CONFIG_PCR_RUNTIME_DATA=3
|
|
||||||
# end of Trusted Platform Module
|
|
||||||
|
|
||||||
#
|
|
||||||
# Memory initialization
|
|
||||||
#
|
|
||||||
# end of Memory initialization
|
|
||||||
|
|
||||||
CONFIG_BOOTMEDIA_LOCK_NONE=y
|
|
||||||
# CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set
|
|
||||||
# CONFIG_BOOTMEDIA_LOCK_CHIP is not set
|
|
||||||
# end of Security
|
|
||||||
|
|
||||||
CONFIG_ACPI_HAVE_PCAT_8259=y
|
|
||||||
CONFIG_ACPI_CUSTOM_MADT=y
|
|
||||||
CONFIG_BOOT_DEVICE_NOT_SPI_FLASH=y
|
|
||||||
CONFIG_HEAP_SIZE=0x100000
|
|
||||||
|
|
||||||
#
|
|
||||||
# Console
|
|
||||||
#
|
|
||||||
CONFIG_BOOTBLOCK_CONSOLE=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# device-specific UART
|
|
||||||
#
|
|
||||||
CONFIG_TTYS0_BASE=0x3f8
|
|
||||||
# CONFIG_CONSOLE_SERIAL_921600 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_460800 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_230400 is not set
|
|
||||||
CONFIG_CONSOLE_SERIAL_115200=y
|
|
||||||
# CONFIG_CONSOLE_SERIAL_57600 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_38400 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_19200 is not set
|
|
||||||
# CONFIG_CONSOLE_SERIAL_9600 is not set
|
|
||||||
# CONFIG_CONSOLE_NE2K is not set
|
|
||||||
CONFIG_CONSOLE_CBMEM=y
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
|
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_7=y
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_4 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_2 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1 is not set
|
|
||||||
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0 is not set
|
|
||||||
CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7
|
|
||||||
CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=y
|
|
||||||
CONFIG_CONSOLE_USE_ANSI_ESCAPES=y
|
|
||||||
CONFIG_POST_DEVICE_NONE=y
|
|
||||||
# CONFIG_POST_DEVICE_LPC is not set
|
|
||||||
# CONFIG_POST_DEVICE_PCI_PCIE is not set
|
|
||||||
CONFIG_HWBASE_DEBUG_CB=y
|
|
||||||
# end of Console
|
|
||||||
|
|
||||||
CONFIG_HAVE_MONOTONIC_TIMER=y
|
|
||||||
|
|
||||||
#
|
|
||||||
# System tables
|
|
||||||
#
|
|
||||||
# end of System tables
|
|
||||||
|
|
||||||
#
|
|
||||||
# Payload
|
|
||||||
#
|
|
||||||
CONFIG_PAYLOAD_NONE=y
|
|
||||||
# end of Payload
|
|
||||||
|
|
||||||
#
|
|
||||||
# Debugging
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# CPU Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Vendorcode Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# BLOB Debug Settings
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General Debug Settings
|
|
||||||
#
|
|
||||||
# CONFIG_GDB_STUB is not set
|
|
||||||
# CONFIG_FATAL_ASSERTS is not set
|
|
||||||
# CONFIG_DEBUG_CBFS is not set
|
|
||||||
# CONFIG_DEBUG_MALLOC is not set
|
|
||||||
# CONFIG_DEBUG_CONSOLE_INIT is not set
|
|
||||||
# CONFIG_DEBUG_BOOT_STATE is not set
|
|
||||||
# CONFIG_DEBUG_ADA_CODE is not set
|
|
||||||
# end of Debugging
|
|
||||||
|
|
||||||
CONFIG_MISSING_BOARD_RESET=y
|
|
||||||
CONFIG_DECOMPRESS_OFAST=y
|
|
||||||
CONFIG_PROBE_RAM=y
|
|
||||||
CONFIG_WARNINGS_ARE_ERRORS=y
|
|
||||||
CONFIG_MAX_REBOOT_CNT=3
|
|
||||||
CONFIG_NO_XIP_EARLY_STAGES=y
|
|
||||||
CONFIG_BOOTBLOCK_CUSTOM=y
|
|
||||||
CONFIG_HAVE_BOOTBLOCK=y
|
|
||||||
CONFIG_HAVE_ROMSTAGE=y
|
|
||||||
CONFIG_HAVE_RAMSTAGE=y
|
|
|
@ -1,4 +0,0 @@
|
||||||
tree="default"
|
|
||||||
xarch="aarch64-elf arm-eabi"
|
|
||||||
payload_uboot="y"
|
|
||||||
build_depend="u-boot/qemu_arm64_12mb"
|
|
|
@ -3,5 +3,5 @@ xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_grub="y"
|
payload_grub="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
grub_scan_disk="ahci"
|
grub_scan_disk="ahci"
|
||||||
|
|
|
@ -3,5 +3,5 @@ xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_grub="y"
|
payload_grub="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
grub_scan_disk="ahci"
|
grub_scan_disk="ahci"
|
||||||
|
|
|
@ -3,5 +3,5 @@ xarch="i386-elf"
|
||||||
payload_seabios="y"
|
payload_seabios="y"
|
||||||
payload_grub="y"
|
payload_grub="y"
|
||||||
payload_memtest="y"
|
payload_memtest="y"
|
||||||
release="n"
|
|
||||||
grub_scan_disk="ahci"
|
grub_scan_disk="ahci"
|
||||||
|
|
|
@ -13,4 +13,3 @@ eval `setvars "" $v`
|
||||||
|
|
||||||
premake="mkvendorfiles"
|
premake="mkvendorfiles"
|
||||||
mkhelper="mkcorebootbin"
|
mkhelper="mkcorebootbin"
|
||||||
postmake="mkcoreboottar"
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
. "include/rom.sh"
|
|
||||||
|
|
||||||
sersrc="src/pico-serprog"
|
|
||||||
serx="$sersrc/build/pico_serprog.uf2"
|
|
||||||
picosdk="src/pico-sdk"
|
|
||||||
serdir="$picosdk/src/boards/include/boards"
|
|
||||||
premake="mkserprog rp2040"
|
|
|
@ -1,6 +0,0 @@
|
||||||
. "include/rom.sh"
|
|
||||||
|
|
||||||
sersrc="src/stm32-vserprog"
|
|
||||||
serx="$sersrc/stm32-vserprog.hex"
|
|
||||||
serdir="$sersrc/boards"
|
|
||||||
mkhelper="mkserprog stm32"
|
|
|
@ -1,6 +0,0 @@
|
||||||
u-boot
|
|
||||||
u-boot.bin
|
|
||||||
u-boot.dtb
|
|
||||||
u-boot.img
|
|
||||||
u-boot.itb
|
|
||||||
u-boot.elf
|
|
|
@ -1,3 +0,0 @@
|
||||||
rev="e72d055915c3a9ffe739982946e101b146b2483c"
|
|
||||||
url="https://codeberg.org/vimuser/untitled"
|
|
||||||
bkup_url="https://notabug.org/untitled/untitled"
|
|
|
@ -1,3 +0,0 @@
|
||||||
rev="6a7db34ff63345a7badec79ebea3aaef1712f374"
|
|
||||||
url="https://codeberg.org/libreboot/pico-sdk"
|
|
||||||
bkup_url="https://github.com/raspberrypi/pico-sdk"
|
|
|
@ -1,4 +0,0 @@
|
||||||
rev="e75e3a20e63269a5e3189bc2e49a6a81d45a636a"
|
|
||||||
url="https://codeberg.org/libreboot/pico-serprog"
|
|
||||||
bkup_url="https://git.disroot.org/libreboot/pico-serprog"
|
|
||||||
depend="pico-sdk"
|
|
|
@ -1,3 +0,0 @@
|
||||||
rev="8fcf0a4d41800631b571fa7bbd1d8b251f0a2111"
|
|
||||||
url="https://codeberg.org/libreboot/stm32-vserprog"
|
|
||||||
bkup_url="https://git.disroot.org/libreboot/stm32-vserprog"
|
|
|
@ -1,3 +0,0 @@
|
||||||
rev="HEAD"
|
|
||||||
url="https://source.denx.de/u-boot/u-boot.git"
|
|
||||||
bkup_url="https://github.com/u-boot/u-boot.git"
|
|
|
@ -16,7 +16,7 @@ index bd4431000..31308e16a 100644
|
||||||
grub_term_cls (term);
|
grub_term_cls (term);
|
||||||
|
|
||||||
- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
||||||
+ msg_formatted = grub_xasprintf (_("Libreboot 20240612 release, based on coreboot. https://libreboot.org/"));
|
+ msg_formatted = grub_xasprintf (_("Quackboot audit6 release, based on coreboot. https://libreboot.org/"));
|
||||||
if (!msg_formatted)
|
if (!msg_formatted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ index bd4431000..31308e16a 100644
|
||||||
grub_term_cls (term);
|
grub_term_cls (term);
|
||||||
|
|
||||||
- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
||||||
+ msg_formatted = grub_xasprintf (_("Libreboot 20240612 release, based on coreboot. https://libreboot.org/"));
|
+ msg_formatted = grub_xasprintf (_("Quackboot audit6 release, based on coreboot. https://libreboot.org/"));
|
||||||
if (!msg_formatted)
|
if (!msg_formatted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ index bd4431000..31308e16a 100644
|
||||||
grub_term_cls (term);
|
grub_term_cls (term);
|
||||||
|
|
||||||
- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
||||||
+ msg_formatted = grub_xasprintf (_("Libreboot 20240612 release, based on coreboot. https://libreboot.org/"));
|
+ msg_formatted = grub_xasprintf (_("Quackboot audit6 release, based on coreboot. https://libreboot.org/"));
|
||||||
if (!msg_formatted)
|
if (!msg_formatted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
subhash="88ca46ad4ce0b79682ea88d97f8dbf801e846031"
|
|
||||||
subrepo="https://codeberg.org/libreboot/lbwww"
|
|
||||||
subrepo_bkup="https://git.disroot.org/libreboot/lbwww"
|
|
|
@ -1,3 +0,0 @@
|
||||||
subhash="625bb7535d388a235bec47a8ce822cda10b53692"
|
|
||||||
subrepo="https://codeberg.org/libreboot/lbwww-img"
|
|
||||||
subrepo_bkup="https://git.disroot.org/libreboot/lbwww-img"
|
|
|
@ -1,3 +0,0 @@
|
||||||
www/untitled
|
|
||||||
www/html
|
|
||||||
www/html/site/img
|
|
|
@ -1,3 +0,0 @@
|
||||||
subhash="d8e2043c1512eb1171c274559ce82e8093ef393f"
|
|
||||||
subrepo="https://codeberg.org/vimuser/untitled-website"
|
|
||||||
subrepo_bkup="https://notabug.org/untitled/untitled-website"
|
|
|
@ -1 +0,0 @@
|
||||||
lib/tinyusb
|
|
|
@ -1,3 +0,0 @@
|
||||||
subhash="86c416d4c0fb38432460b3e11b08b9de76941bf5"
|
|
||||||
subrepo="https://codeberg.org/libreboot/tinyusb"
|
|
||||||
subrepo_bkup="https://github.com/hathach/tinyusb.git"
|
|
|
@ -1,3 +0,0 @@
|
||||||
subhash="458250dc6147dc807eec9e4d5a6caf38a699ecb1"
|
|
||||||
subrepo="https://codeberg.org/libreboot/libopencm3"
|
|
||||||
subrepo_bkup="https://github.com/libopencm3/libopencm3"
|
|
|
@ -1 +0,0 @@
|
||||||
libopencm3
|
|
|
@ -1 +0,0 @@
|
||||||
test/lib/strlcat.c
|
|
|
@ -1,100 +0,0 @@
|
||||||
From f98475a64fcfe6ef710acb29391c33c17903e580 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
Date: Fri, 8 Oct 2021 17:33:22 +0300
|
|
||||||
Subject: [PATCH] clk: rockchip: rk3399: Set hardcoded clock rates same as
|
|
||||||
devicetree
|
|
||||||
|
|
||||||
Update hardcoded RK3399 clock rate definitions to match those in its
|
|
||||||
devicetree (rk3399.dtsi), based on clock-controller assigned-clocks.
|
|
||||||
Add and initialize NPLL since it's on that list, though nothing seems to
|
|
||||||
use it in the driver so far.
|
|
||||||
|
|
||||||
Also update VOP ACLK to 400MHz as it divides from CPLL (now 800MHz).
|
|
||||||
All this stops the displayed vendor bitmap from getting disfigured
|
|
||||||
when chainloading U-Boot from coreboot+depthcharge (as RW_LEGACY).
|
|
||||||
|
|
||||||
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
Link: https://github.com/alpernebbi/u-boot/commit/7e73b7a7550cfdd22a1413c263026e41e56e7617
|
|
||||||
---
|
|
||||||
.../include/asm/arch-rockchip/cru_rk3399.h | 19 ++++++++++---------
|
|
||||||
drivers/clk/rockchip/clk_rk3399.c | 10 ++++++----
|
|
||||||
2 files changed, 16 insertions(+), 13 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
|
|
||||||
index d941a129f3e5..54035c0df1f3 100644
|
|
||||||
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
|
|
||||||
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
|
|
||||||
@@ -69,7 +69,8 @@ check_member(rockchip_cru, sdio1_con[1], 0x594);
|
|
||||||
#define LPLL_HZ (600*MHz)
|
|
||||||
#define BPLL_HZ (600*MHz)
|
|
||||||
#define GPLL_HZ (594*MHz)
|
|
||||||
-#define CPLL_HZ (384*MHz)
|
|
||||||
+#define CPLL_HZ (800*MHz)
|
|
||||||
+#define NPLL_HZ (1000*MHz)
|
|
||||||
#define PPLL_HZ (676*MHz)
|
|
||||||
|
|
||||||
#define PMU_PCLK_HZ (48*MHz)
|
|
||||||
@@ -82,16 +83,16 @@ check_member(rockchip_cru, sdio1_con[1], 0x594);
|
|
||||||
#define ATCLK_CORE_B_HZ (300*MHz)
|
|
||||||
#define PCLK_DBG_B_HZ (100*MHz)
|
|
||||||
|
|
||||||
-#define PERIHP_ACLK_HZ (148500*KHz)
|
|
||||||
-#define PERIHP_HCLK_HZ (148500*KHz)
|
|
||||||
-#define PERIHP_PCLK_HZ (37125*KHz)
|
|
||||||
+#define PERIHP_ACLK_HZ (150*MHz)
|
|
||||||
+#define PERIHP_HCLK_HZ (75*MHz)
|
|
||||||
+#define PERIHP_PCLK_HZ (37500*KHz)
|
|
||||||
|
|
||||||
-#define PERILP0_ACLK_HZ (99000*KHz)
|
|
||||||
-#define PERILP0_HCLK_HZ (99000*KHz)
|
|
||||||
-#define PERILP0_PCLK_HZ (49500*KHz)
|
|
||||||
+#define PERILP0_ACLK_HZ (100*MHz)
|
|
||||||
+#define PERILP0_HCLK_HZ (100*MHz)
|
|
||||||
+#define PERILP0_PCLK_HZ (50*MHz)
|
|
||||||
|
|
||||||
-#define PERILP1_HCLK_HZ (99000*KHz)
|
|
||||||
-#define PERILP1_PCLK_HZ (49500*KHz)
|
|
||||||
+#define PERILP1_HCLK_HZ (100*MHz)
|
|
||||||
+#define PERILP1_PCLK_HZ (50*MHz)
|
|
||||||
|
|
||||||
#define PWM_CLOCK_HZ PMU_PCLK_HZ
|
|
||||||
|
|
||||||
diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c
|
|
||||||
index 67b2c05ec9ed..754b35c23197 100644
|
|
||||||
--- a/drivers/clk/rockchip/clk_rk3399.c
|
|
||||||
+++ b/drivers/clk/rockchip/clk_rk3399.c
|
|
||||||
@@ -54,10 +54,11 @@ struct pll_div {
|
|
||||||
.fbdiv = (u32)((u64)hz * _refdiv * _postdiv1 * _postdiv2 / OSC_HZ),\
|
|
||||||
.postdiv1 = _postdiv1, .postdiv2 = _postdiv2};
|
|
||||||
|
|
||||||
-static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2, 1);
|
|
||||||
-static const struct pll_div cpll_init_cfg = PLL_DIVISORS(CPLL_HZ, 1, 2, 2);
|
|
||||||
+static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 1, 4, 1);
|
|
||||||
+static const struct pll_div cpll_init_cfg = PLL_DIVISORS(CPLL_HZ, 1, 3, 1);
|
|
||||||
+static const struct pll_div npll_init_cfg = PLL_DIVISORS(NPLL_HZ, 1, 3, 1);
|
|
||||||
#if !defined(CONFIG_SPL_BUILD)
|
|
||||||
-static const struct pll_div ppll_init_cfg = PLL_DIVISORS(PPLL_HZ, 2, 2, 1);
|
|
||||||
+static const struct pll_div ppll_init_cfg = PLL_DIVISORS(PPLL_HZ, 3, 2, 1);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const struct pll_div apll_l_1600_cfg = PLL_DIVISORS(1600 * MHz, 3, 1, 1);
|
|
||||||
@@ -682,7 +683,7 @@ static ulong rk3399_spi_set_clk(struct rockchip_cru *cru, ulong clk_id, uint hz)
|
|
||||||
static ulong rk3399_vop_set_clk(struct rockchip_cru *cru, ulong clk_id, u32 hz)
|
|
||||||
{
|
|
||||||
struct pll_div vpll_config = {0};
|
|
||||||
- int aclk_vop = 198 * MHz;
|
|
||||||
+ int aclk_vop = 400 * MHz;
|
|
||||||
void *aclkreg_addr, *dclkreg_addr;
|
|
||||||
u32 div;
|
|
||||||
|
|
||||||
@@ -1395,6 +1396,7 @@ static void rkclk_init(struct rockchip_cru *cru)
|
|
||||||
/* configure gpll cpll */
|
|
||||||
rkclk_set_pll(&cru->gpll_con[0], &gpll_init_cfg);
|
|
||||||
rkclk_set_pll(&cru->cpll_con[0], &cpll_init_cfg);
|
|
||||||
+ rkclk_set_pll(&cru->npll_con[0], &npll_init_cfg);
|
|
||||||
|
|
||||||
/* configure perihp aclk, hclk, pclk */
|
|
||||||
aclk_div = GPLL_HZ / PERIHP_ACLK_HZ - 1;
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
|
@ -1,248 +0,0 @@
|
||||||
From 3e1e14e0b14539ca42db40488c7b1067eb01dea4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andre Przywara <andre.przywara@arm.com>
|
|
||||||
Date: Mon, 10 Jan 2022 00:56:31 +0000
|
|
||||||
Subject: [PATCH 1/3] video: Add cursor support for video consoles
|
|
||||||
|
|
||||||
So far the video console is completely lacking any cursor, which makes
|
|
||||||
typing and correcting quite irritating.
|
|
||||||
|
|
||||||
Add a simple cursor display by writing a SPACE glyph in the background
|
|
||||||
colour to the next character position on the screen. Any typed character
|
|
||||||
will naturally overwrite it, so we need to only explicitly clear it if
|
|
||||||
the next character will appear somewhere else (newline, backspace).
|
|
||||||
|
|
||||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
|
||||||
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
||||||
Tested-by: Simon Glass <sjg@chromium.org>
|
|
||||||
Link: https://lore.kernel.org/r/20220110005638.21599-2-andre.przywara@arm.com
|
|
||||||
[Alper: Rebase for console_set_font(), reword for CONFIG_VIDEO]
|
|
||||||
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
---
|
|
||||||
drivers/video/console_core.c | 1 +
|
|
||||||
drivers/video/vidconsole-uclass.c | 42 +++++++++++++++++++++++++++++++
|
|
||||||
include/video_console.h | 1 +
|
|
||||||
3 files changed, 44 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/drivers/video/console_core.c b/drivers/video/console_core.c
|
|
||||||
index 939363653f6c..6b531718276f 100644
|
|
||||||
--- a/drivers/video/console_core.c
|
|
||||||
+++ b/drivers/video/console_core.c
|
|
||||||
@@ -30,6 +30,7 @@ static int console_set_font(struct udevice *dev, struct video_fontdata *fontdata
|
|
||||||
debug("height: %d\n", fontdata->height);
|
|
||||||
|
|
||||||
priv->fontdata = fontdata;
|
|
||||||
+ vc_priv->cursor_visible = true;
|
|
||||||
vc_priv->x_charsize = fontdata->width;
|
|
||||||
vc_priv->y_charsize = fontdata->height;
|
|
||||||
if (vid_priv->rot % 2) {
|
|
||||||
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c
|
|
||||||
index 80e7adf6a1a4..8b2ef51f1b3b 100644
|
|
||||||
--- a/drivers/video/vidconsole-uclass.c
|
|
||||||
+++ b/drivers/video/vidconsole-uclass.c
|
|
||||||
@@ -57,6 +57,26 @@ int vidconsole_entry_start(struct udevice *dev)
|
|
||||||
return ops->entry_start(dev);
|
|
||||||
}
|
|
||||||
|
|
||||||
+static void draw_cursor(struct udevice *dev, bool state)
|
|
||||||
+{
|
|
||||||
+ struct vidconsole_priv *priv = dev_get_uclass_priv(dev);
|
|
||||||
+ struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent);
|
|
||||||
+ u32 tmp;
|
|
||||||
+
|
|
||||||
+ if (!priv->cursor_visible)
|
|
||||||
+ return;
|
|
||||||
+
|
|
||||||
+ if (state) {
|
|
||||||
+ tmp = vid_priv->colour_bg;
|
|
||||||
+ vid_priv->colour_bg = vid_priv->colour_fg;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ vidconsole_putc_xy(dev, priv->xcur_frac, priv->ycur, ' ');
|
|
||||||
+
|
|
||||||
+ if (state)
|
|
||||||
+ vid_priv->colour_bg = tmp;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
/* Move backwards one space */
|
|
||||||
static int vidconsole_back(struct udevice *dev)
|
|
||||||
{
|
|
||||||
@@ -64,6 +84,8 @@ static int vidconsole_back(struct udevice *dev)
|
|
||||||
struct vidconsole_ops *ops = vidconsole_get_ops(dev);
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
+ draw_cursor(dev, false);
|
|
||||||
+
|
|
||||||
if (ops->backspace) {
|
|
||||||
ret = ops->backspace(dev);
|
|
||||||
if (ret != -ENOSYS)
|
|
||||||
@@ -90,6 +112,8 @@ static void vidconsole_newline(struct udevice *dev)
|
|
||||||
const int rows = CONFIG_VAL(CONSOLE_SCROLL_LINES);
|
|
||||||
int i, ret;
|
|
||||||
|
|
||||||
+ draw_cursor(dev, false);
|
|
||||||
+
|
|
||||||
priv->xcur_frac = priv->xstart_frac;
|
|
||||||
priv->ycur += priv->y_charsize;
|
|
||||||
|
|
||||||
@@ -284,6 +308,14 @@ static void vidconsole_escape_char(struct udevice *dev, char ch)
|
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
+ case 'l':
|
|
||||||
+ draw_cursor(dev, false);
|
|
||||||
+ priv->cursor_visible = 0;
|
|
||||||
+ break;
|
|
||||||
+ case 'h':
|
|
||||||
+ priv->cursor_visible = 1;
|
|
||||||
+ draw_cursor(dev, true);
|
|
||||||
+ break;
|
|
||||||
case 'J': {
|
|
||||||
int mode;
|
|
||||||
|
|
||||||
@@ -458,6 +490,11 @@ int vidconsole_put_char(struct udevice *dev, char ch)
|
|
||||||
struct vidconsole_priv *priv = dev_get_uclass_priv(dev);
|
|
||||||
int cp, ret;
|
|
||||||
|
|
||||||
+ /*
|
|
||||||
+ * We don't need to clear the cursor since we are going to overwrite
|
|
||||||
+ * that character anyway.
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
if (priv->escape) {
|
|
||||||
vidconsole_escape_char(dev, ch);
|
|
||||||
return 0;
|
|
||||||
@@ -472,6 +509,7 @@ int vidconsole_put_char(struct udevice *dev, char ch)
|
|
||||||
/* beep */
|
|
||||||
break;
|
|
||||||
case '\r':
|
|
||||||
+ draw_cursor(dev, false);
|
|
||||||
priv->xcur_frac = priv->xstart_frac;
|
|
||||||
break;
|
|
||||||
case '\n':
|
|
||||||
@@ -479,6 +517,7 @@ int vidconsole_put_char(struct udevice *dev, char ch)
|
|
||||||
vidconsole_entry_start(dev);
|
|
||||||
break;
|
|
||||||
case '\t': /* Tab (8 chars alignment) */
|
|
||||||
+ draw_cursor(dev, false);
|
|
||||||
priv->xcur_frac = ((priv->xcur_frac / priv->tab_width_frac)
|
|
||||||
+ 1) * priv->tab_width_frac;
|
|
||||||
|
|
||||||
@@ -503,6 +542,8 @@ int vidconsole_put_char(struct udevice *dev, char ch)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ draw_cursor(dev, true);
|
|
||||||
+
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -723,6 +764,7 @@ static int vidconsole_pre_probe(struct udevice *dev)
|
|
||||||
struct video_priv *vid_priv = dev_get_uclass_priv(vid);
|
|
||||||
|
|
||||||
priv->xsize_frac = VID_TO_POS(vid_priv->xsize);
|
|
||||||
+ priv->cursor_visible = false;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
diff --git a/include/video_console.h b/include/video_console.h
|
|
||||||
index 8b5928dc5ebb..00c5ecb664b9 100644
|
|
||||||
--- a/include/video_console.h
|
|
||||||
+++ b/include/video_console.h
|
|
||||||
@@ -66,6 +66,7 @@ struct vidconsole_priv {
|
|
||||||
int escape_len;
|
|
||||||
int row_saved;
|
|
||||||
int col_saved;
|
|
||||||
+ bool cursor_visible;
|
|
||||||
char escape_buf[32];
|
|
||||||
char utf8_buf[5];
|
|
||||||
};
|
|
||||||
|
|
||||||
base-commit: 475aa8345a78396d39b42f96eccecd37ebe24e99
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
||||||
|
|
||||||
From 0dd4fb08993b01d36e491705b24063834dcb618e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andre Przywara <andre.przywara@arm.com>
|
|
||||||
Date: Mon, 10 Jan 2022 00:56:36 +0000
|
|
||||||
Subject: [PATCH 2/3] efi-selftest: Add international characters test
|
|
||||||
|
|
||||||
UEFI relies entirely on unicode output, which actual fonts displayed on
|
|
||||||
the screen might not be ready for.
|
|
||||||
|
|
||||||
Add a test displaying some international characters, to reveal missing
|
|
||||||
glyphs, especially in our builtin fonts.
|
|
||||||
This would be needed to be manually checked on the screen for
|
|
||||||
correctness.
|
|
||||||
|
|
||||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
|
||||||
Link: https://lore.kernel.org/r/20220110005638.21599-7-andre.przywara@arm.com
|
|
||||||
---
|
|
||||||
lib/efi_selftest/efi_selftest_textoutput.c | 5 +++++
|
|
||||||
1 file changed, 5 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/lib/efi_selftest/efi_selftest_textoutput.c b/lib/efi_selftest/efi_selftest_textoutput.c
|
|
||||||
index a3023c82567c..2f8d8d323c2b 100644
|
|
||||||
--- a/lib/efi_selftest/efi_selftest_textoutput.c
|
|
||||||
+++ b/lib/efi_selftest/efi_selftest_textoutput.c
|
|
||||||
@@ -154,6 +154,11 @@ static int execute(void)
|
|
||||||
efi_st_printf("Unicode not handled properly\n");
|
|
||||||
return EFI_ST_FAILURE;
|
|
||||||
}
|
|
||||||
+ ret = con_out->output_string(con_out, L"Österreich Edelweiß Smørrebrød Smörgås Niño René >Ἑλλάς<\n");
|
|
||||||
+ if (ret != EFI_ST_SUCCESS) {
|
|
||||||
+ efi_st_error("OutputString failed for international chars\n");
|
|
||||||
+ return EFI_ST_FAILURE;
|
|
||||||
+ }
|
|
||||||
efi_st_printf("\n");
|
|
||||||
ret = con_out->output_string(con_out, text);
|
|
||||||
if (ret != EFI_ST_SUCCESS) {
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
||||||
|
|
||||||
From 13101947807bec7ceaf3231d94e943b9b29a7369 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andre Przywara <andre.przywara@arm.com>
|
|
||||||
Date: Mon, 10 Jan 2022 00:56:37 +0000
|
|
||||||
Subject: [PATCH 3/3] efi_selftest: Add box drawing character selftest
|
|
||||||
|
|
||||||
UEFI applications rely on Unicode output capability, and might use that
|
|
||||||
for drawing pseudo-graphical interfaces using Unicode defined box
|
|
||||||
drawing characters.
|
|
||||||
|
|
||||||
Add a simple test to display the most basic box characters, which would
|
|
||||||
need to be checked manually on the screen for correctness.
|
|
||||||
To facilitate this, add a three second delay after the output at this
|
|
||||||
point.
|
|
||||||
|
|
||||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
|
||||||
Link: https://lore.kernel.org/r/20220110005638.21599-8-andre.przywara@arm.com
|
|
||||||
---
|
|
||||||
lib/efi_selftest/efi_selftest_textoutput.c | 11 +++++++++++
|
|
||||||
1 file changed, 11 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/lib/efi_selftest/efi_selftest_textoutput.c b/lib/efi_selftest/efi_selftest_textoutput.c
|
|
||||||
index 2f8d8d323c2b..02209a5bf224 100644
|
|
||||||
--- a/lib/efi_selftest/efi_selftest_textoutput.c
|
|
||||||
+++ b/lib/efi_selftest/efi_selftest_textoutput.c
|
|
||||||
@@ -159,6 +159,17 @@ static int execute(void)
|
|
||||||
efi_st_error("OutputString failed for international chars\n");
|
|
||||||
return EFI_ST_FAILURE;
|
|
||||||
}
|
|
||||||
+ ret = con_out->output_string(con_out, L"┌─┬─┐\n");
|
|
||||||
+ ret |= con_out->output_string(con_out, L"│ │ │\n");
|
|
||||||
+ ret |= con_out->output_string(con_out, L"├─┼─┤\n");
|
|
||||||
+ ret |= con_out->output_string(con_out, L"│ │ │\n");
|
|
||||||
+ ret |= con_out->output_string(con_out, L"└─┴─┘\n");
|
|
||||||
+ if (ret != EFI_ST_SUCCESS) {
|
|
||||||
+ efi_st_error("OutputString failed for box drawing chars\n");
|
|
||||||
+ return EFI_ST_FAILURE;
|
|
||||||
+ }
|
|
||||||
+ con_out->output_string(con_out, L"waiting for admiration...\n");
|
|
||||||
+ EFI_CALL(systab.boottime->stall(3000000));
|
|
||||||
efi_st_printf("\n");
|
|
||||||
ret = con_out->output_string(con_out, text);
|
|
||||||
if (ret != EFI_ST_SUCCESS) {
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,34 +0,0 @@
|
||||||
From ba34d29274c23c52be957ea040539dccbab09765 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
Date: Wed, 10 Jul 2024 17:37:56 +0300
|
|
||||||
Subject: [PATCH] HACK: Makefile: Ignore missing input files for binman images
|
|
||||||
|
|
||||||
For Rockchip boards binman tries to build SPI and MMC images that
|
|
||||||
require an externally built BL31 file to be provided, and the build
|
|
||||||
fails otherwise.
|
|
||||||
|
|
||||||
Some downstreams only care about build outputs for U-Boot proper. As a
|
|
||||||
hack to make sure they can do so without passing in a BL31 file, tell
|
|
||||||
binman to ignore missing input files.
|
|
||||||
|
|
||||||
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
---
|
|
||||||
Makefile | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 1c754ceb5953..fec8d9b2d2b1 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -1375,7 +1375,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
|
|
||||||
--toolpath $(objtree)/tools \
|
|
||||||
$(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \
|
|
||||||
build -u -d u-boot.dtb -O . -m \
|
|
||||||
- --allow-missing $(if $(BINMAN_ALLOW_MISSING),--ignore-missing) \
|
|
||||||
+ --allow-missing --ignore-missing \
|
|
||||||
-I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
|
|
||||||
-I $(dt_dir) -a of-list=$(CONFIG_OF_LIST) \
|
|
||||||
$(foreach f,$(BINMAN_INDIRS),-I $(f)) \
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
From 1107dc81b24743e77374f1b484a843d81fa0348a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
Date: Wed, 10 Jul 2024 14:32:19 +0300
|
|
||||||
Subject: [PATCH] HACK: rk3399: gru: Remove assigned clock dt properties for
|
|
||||||
EDP node
|
|
||||||
|
|
||||||
Having the PCLK_EDP clock in the assigned-clocks property of the `edp`
|
|
||||||
node means that U-Boot tries to set its rate automatically. This clock
|
|
||||||
isn't implemented for the RK3399 clock driver, so it fails and prevents
|
|
||||||
display from being initialized.
|
|
||||||
|
|
||||||
The display happens to work fine without it, remove the property until
|
|
||||||
the clock driver can handle the clock.
|
|
||||||
|
|
||||||
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
|
||||||
---
|
|
||||||
arch/arm/dts/rk3399-gru-u-boot.dtsi | 3 +++
|
|
||||||
1 file changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/dts/rk3399-gru-u-boot.dtsi b/arch/arm/dts/rk3399-gru-u-boot.dtsi
|
|
||||||
index 487dde38d86a..30cfb58aca12 100644
|
|
||||||
--- a/arch/arm/dts/rk3399-gru-u-boot.dtsi
|
|
||||||
+++ b/arch/arm/dts/rk3399-gru-u-boot.dtsi
|
|
||||||
@@ -28,6 +28,9 @@ &cros_ec {
|
|
||||||
|
|
||||||
&edp {
|
|
||||||
rockchip,panel = <&edp_panel>;
|
|
||||||
+
|
|
||||||
+ /delete-property/ assigned-clocks;
|
|
||||||
+ /delete-property/ assigned-clock-rates;
|
|
||||||
};
|
|
||||||
|
|
||||||
&pp1800_audio {
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
tree="default"
|
|
||||||
rev="3f772959501c99fbe5aa0b22a36efe3478d1ae1c" # v2024.07
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +0,0 @@
|
||||||
tree="default"
|
|
||||||
xtree="default"
|
|
||||||
xarch="aarch64-elf arm-eabi"
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +0,0 @@
|
||||||
tree="default"
|
|
||||||
xtree="default"
|
|
||||||
xarch="aarch64-elf arm-eabi"
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +0,0 @@
|
||||||
tree="default"
|
|
||||||
xtree="default"
|
|
||||||
xarch="aarch64-elf arm-eabi"
|
|
|
@ -62,10 +62,6 @@ git_prep()
|
||||||
[ "$project" = "coreboot" ] && [ -n "$xtree" ] && [ $# -gt 2 ] && \
|
[ "$project" = "coreboot" ] && [ -n "$xtree" ] && [ $# -gt 2 ] && \
|
||||||
[ "$xtree" != "$tree" ] && link_crossgcc "$_loc"
|
[ "$xtree" != "$tree" ] && link_crossgcc "$_loc"
|
||||||
|
|
||||||
[ "$XBMK_RELEASE" = "y" ] && \
|
|
||||||
[ "$_loc" != "$XBMK_CACHE/repo/$project" ] && \
|
|
||||||
rmgit "$tmpgit"
|
|
||||||
|
|
||||||
move_repo "$_loc"
|
move_repo "$_loc"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,12 @@
|
||||||
# Copyright (c) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
# Copyright (c) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
||||||
# Copyright (c) 2020-2024 Leah Rowe <leah@libreboot.org>
|
# Copyright (c) 2020-2024 Leah Rowe <leah@libreboot.org>
|
||||||
|
|
||||||
|
export LOCALVERSION="-quackboot-69"
|
||||||
export LC_COLLATE=C
|
export LC_COLLATE=C
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
_ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
|
_ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
|
||||||
kbnotice="Insert a .gkb file from config/data/grub/keymap/ as keymap.gkb \
|
|
||||||
if you want a custom keymap in GRUB; use cbfstool from elf/cbfstool."
|
|
||||||
|
|
||||||
ifdtool="elf/ifdtool/default/ifdtool"
|
|
||||||
cbfstool="elf/cbfstool/default/cbfstool"
|
cbfstool="elf/cbfstool/default/cbfstool"
|
||||||
tmpgit="$PWD/tmp/gitclone"
|
tmpgit="$PWD/tmp/gitclone"
|
||||||
grubdata="config/data/grub"
|
grubdata="config/data/grub"
|
||||||
|
@ -36,18 +34,12 @@ chkvars()
|
||||||
done; return 0
|
done; return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
eval `setvars "" _nogit board xbmk_parent versiondate projectsite projectname \
|
eval `setvars "" board xbmk_parent aur_notice configdir datadir`
|
||||||
aur_notice configdir datadir version relname`
|
|
||||||
|
|
||||||
for fv in projectname projectsite version versiondate; do
|
|
||||||
eval "[ ! -f "$fv" ] || read -r $fv < \"$fv\" || :"
|
|
||||||
done; chkvars projectname projectsite
|
|
||||||
|
|
||||||
setcfg()
|
setcfg()
|
||||||
{
|
{
|
||||||
[ $# -gt 1 ] && printf "e \"%s\" f missing && return %s;\n" "$1" "$2"
|
[ $# -gt 1 ] && printf "e \"%s\" f missing && return %s;\n" "$1" "$2"
|
||||||
[ $# -gt 1 ] || \
|
[ $# -gt 1 ] || printf "e \"%s\" f not && %s \"!f cfg\";\n" "$1" "$err"
|
||||||
printf "e \"%s\" f not && %s \"Missing config\";\n" "$1" "$err"
|
|
||||||
printf ". \"%s\" || %s \"Could not read config\";\n" "$1" "$err"
|
printf ". \"%s\" || %s \"Could not read config\";\n" "$1" "$err"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,11 +88,6 @@ fi
|
||||||
[ -L "$XBMK_CACHE" ] && export XBMK_CACHE="$PWD/cache"
|
[ -L "$XBMK_CACHE" ] && export XBMK_CACHE="$PWD/cache"
|
||||||
[ -f "$XBMK_CACHE" ] && $err "cachedir '$XBMK_CACHE' exists but it's a file"
|
[ -f "$XBMK_CACHE" ] && $err "cachedir '$XBMK_CACHE' exists but it's a file"
|
||||||
|
|
||||||
# if "y": a coreboot target won't be built if target.cfg says release="n"
|
|
||||||
# (this is used to exclude certain build targets from releases)
|
|
||||||
[ -z "${XBMK_RELEASE+x}" ] && export XBMK_RELEASE="n"
|
|
||||||
[ "$XBMK_RELEASE" = "y" ] || export XBMK_RELEASE="n"
|
|
||||||
|
|
||||||
[ -z "${XBMK_THREADS+x}" ] && export XBMK_THREADS=1
|
[ -z "${XBMK_THREADS+x}" ] && export XBMK_THREADS=1
|
||||||
expr "X$XBMK_THREADS" : "X-\{0,1\}[0123456789][0123456789]*$" \
|
expr "X$XBMK_THREADS" : "X-\{0,1\}[0123456789][0123456789]*$" \
|
||||||
1>/dev/null 2>/dev/null || export XBMK_THREADS=1 # user gave a non-integer
|
1>/dev/null 2>/dev/null || export XBMK_THREADS=1 # user gave a non-integer
|
||||||
|
@ -109,24 +96,6 @@ x_() {
|
||||||
[ $# -lt 1 ] || $@ || $err "Unhandled non-zero exit: $@"; return 0
|
[ $# -lt 1 ] || $@ || $err "Unhandled non-zero exit: $@"; return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -e ".git" ] || [ -f "version" ] || printf "unknown\n" > version || \
|
|
||||||
$err "Cannot generate unknown version file"
|
|
||||||
[ -e ".git" ] || [ -f "versiondate" ] || printf "1716415872\n" > versiondate \
|
|
||||||
|| $err "Cannot generate unknown versiondate file"
|
|
||||||
|
|
||||||
version_="$version"
|
|
||||||
[ ! -e ".git" ] || version="$(git describe --tags HEAD 2>&1)" || \
|
|
||||||
version="git-$(git rev-parse HEAD 2>&1)" || version="$version_"
|
|
||||||
versiondate_="$versiondate"
|
|
||||||
[ ! -e ".git" ] || versiondate="$(git show --no-patch --no-notes \
|
|
||||||
--pretty='%ct' HEAD)" || versiondate="$versiondate_"
|
|
||||||
for p in projectname version versiondate projectsite; do
|
|
||||||
chkvars "$p"
|
|
||||||
eval "x_ printf \"%s\\n\" \"\$$p\" > $p"
|
|
||||||
done
|
|
||||||
relname="$projectname-$version"
|
|
||||||
export LOCALVERSION="-$projectname-${version%%-*}"
|
|
||||||
|
|
||||||
check_defconfig()
|
check_defconfig()
|
||||||
{
|
{
|
||||||
[ -d "$1" ] || $err "Target '$1' not defined."
|
[ -d "$1" ] || $err "Target '$1' not defined."
|
||||||
|
@ -141,42 +110,6 @@ remkdir()
|
||||||
mkdir -p "$1" || $err "remkdir: !mkdir -p \"$1\""
|
mkdir -p "$1" || $err "remkdir: !mkdir -p \"$1\""
|
||||||
}
|
}
|
||||||
|
|
||||||
mkrom_tarball()
|
|
||||||
{
|
|
||||||
printf "%s\n" "$version" > "$1/version" || $err "$1 !version"
|
|
||||||
printf "%s\n" "$versiondate" > "$1/versiondate" || $err "$1 !vdate"
|
|
||||||
printf "%s\n" "$projectname" > "$1/projectname" || $err "$1 !pname"
|
|
||||||
|
|
||||||
mktarball "$1" "${1%/*}/${relname}_${1##*/}.tar.xz"
|
|
||||||
x_ rm -Rf "$1"
|
|
||||||
}
|
|
||||||
|
|
||||||
mktarball()
|
|
||||||
{
|
|
||||||
[ "${2%/*}" = "$2" ] || \
|
|
||||||
mkdir -p "${2%/*}" || $err "mk, !mkdir -p \"${2%/*}\""
|
|
||||||
printf "\nCreating archive: %s\n\n" "$2"
|
|
||||||
tar -c "$1" | xz -T$XBMK_THREADS -9e > "$2" || $err "mktarball 2, $1"
|
|
||||||
mksha512sum "$2" "${2##*/}.sha512"
|
|
||||||
}
|
|
||||||
|
|
||||||
mksha512sum()
|
|
||||||
{
|
|
||||||
(
|
|
||||||
[ "${1%/*}" != "$1" ] && x_ cd "${1%/*}"
|
|
||||||
sha512sum ./"${1##*/}" >> "$2" || $err "!sha512sum \"$1\" > \"$2\""
|
|
||||||
) || $err "failed to create tarball checksum"
|
|
||||||
}
|
|
||||||
|
|
||||||
rmgit()
|
|
||||||
{
|
|
||||||
(
|
|
||||||
cd "$1" || $err "!cd gitrepo $1"
|
|
||||||
find . -name ".git" -exec rm -Rf {} + || $err "!rm .git $1"
|
|
||||||
find . -name ".gitmodules" -exec rm -Rf {} + || $err "!rm .gitmod $1"
|
|
||||||
) || $err "Cannot remove .git/.gitmodules in $1"
|
|
||||||
}
|
|
||||||
|
|
||||||
# return 0 if project is single-tree, otherwise 1
|
# return 0 if project is single-tree, otherwise 1
|
||||||
# e.g. coreboot is multi-tree, so 1
|
# e.g. coreboot is multi-tree, so 1
|
||||||
singletree()
|
singletree()
|
||||||
|
@ -208,8 +141,7 @@ download()
|
||||||
vendor_checksum()
|
vendor_checksum()
|
||||||
{
|
{
|
||||||
[ "$(sha512sum "$2" | awk '{print $1}')" != "$1" ] || return 1
|
[ "$(sha512sum "$2" | awk '{print $1}')" != "$1" ] || return 1
|
||||||
printf "Bad checksum for file: %s\n" "$2" 1>&2
|
printf "Bad checksum for file: %s\n" "$2" 1>&2; rm -f "$2" || :
|
||||||
rm -f "$2" || :
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cbfs()
|
cbfs()
|
||||||
|
|
101
include/rom.sh
101
include/rom.sh
|
@ -6,32 +6,12 @@
|
||||||
# Copyright (c) 2022-2023 Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
# Copyright (c) 2022-2023 Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
||||||
# Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
|
# Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
|
||||||
|
|
||||||
mkserprog()
|
|
||||||
{
|
|
||||||
[ "$_f" = "-d" ] && return 0 # dry run
|
|
||||||
basename -as .h "$serdir/"*.h > "$TMPDIR/ser" || $err "!mk $1 $TMPDIR"
|
|
||||||
|
|
||||||
while read -r sertarget; do
|
|
||||||
[ "$1" = "rp2040" ] && x_ cmake -DPICO_BOARD="$sertarget" \
|
|
||||||
-DPICO_SDK_PATH="$picosdk" -B "$sersrc/build" "$sersrc" \
|
|
||||||
&& x_ cmake --build "$sersrc/build"
|
|
||||||
[ "$1" = "stm32" ] && x_ make -C "$sersrc" \
|
|
||||||
libopencm3-just-make BOARD=$sertarget && x_ make -C \
|
|
||||||
"$sersrc" BOARD=$sertarget; x_ mkdir -p "bin/serprog_$1"
|
|
||||||
x_ mv "$serx" "bin/serprog_$1/serprog_$sertarget.${serx##*.}"
|
|
||||||
done < "$TMPDIR/ser"
|
|
||||||
|
|
||||||
[ "$XBMK_RELEASE" = "y" ] && mkrom_tarball "bin/serprog_$1"; return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
mkpayload_grub()
|
mkpayload_grub()
|
||||||
{
|
{
|
||||||
eval `setvars "" grub_modules grub_install_modules`
|
eval `setvars "" grub_modules grub_install_modules`
|
||||||
$dry eval `setcfg "$grubdata/module/$tree"`
|
$dry eval `setcfg "$grubdata/module/$tree"`
|
||||||
|
$dry x_ rm -f "$srcdir/grub.elf"; $dry \
|
||||||
$dry x_ rm -f "$srcdir/grub.elf"
|
"$srcdir/grub-mkstandalone" --grub-mkimage="$srcdir/grub-mkimage" \
|
||||||
|
|
||||||
$dry "$srcdir/grub-mkstandalone" --grub-mkimage="$srcdir/grub-mkimage" \
|
|
||||||
-O i386-coreboot -o "$srcdir/grub.elf" -d "${srcdir}/grub-core/" \
|
-O i386-coreboot -o "$srcdir/grub.elf" -d "${srcdir}/grub-core/" \
|
||||||
--fonts= --themes= --locales= --modules="$grub_modules" \
|
--fonts= --themes= --locales= --modules="$grub_modules" \
|
||||||
--install-modules="$grub_install_modules" \
|
--install-modules="$grub_install_modules" \
|
||||||
|
@ -43,68 +23,49 @@ mkpayload_grub()
|
||||||
|
|
||||||
mkvendorfiles()
|
mkvendorfiles()
|
||||||
{
|
{
|
||||||
check_coreboot_utils "$tree"
|
check_cbfstool "$tree"; printf "69\n" > "$srcdir/.coreboot-version" \
|
||||||
printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \
|
|| $err "!cbver $srcdir"; [ -z "$mode" ] && \
|
||||||
$err "!mk $srcdir .coreboot-version"
|
[ "$target" != "$tree" ] && x_ ./vendor download $target; return 0
|
||||||
[ -z "$mode" ] && [ "$target" != "$tree" ] && \
|
|
||||||
x_ ./vendor download $target; return 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_coreboot_utils()
|
check_cbfstool()
|
||||||
{
|
{
|
||||||
for util in cbfstool ifdtool; do
|
[ "$badhash" = "n" ] || rm -f "elf/cbfstool/$1/cbfstool" || \
|
||||||
[ "$badhash" = "n" ] || rm -f "elf/$util/$1/$util" || \
|
$err "!rm badelf elf/cbfstool/$1/cbfstool"
|
||||||
$err "!rm badelf elf/$util/$1/$util"
|
e "elf/cbfstool/$1/cbfstool" f && return 0
|
||||||
e "elf/$util/$1/$util" f && continue
|
|
||||||
|
|
||||||
utilelfdir="elf/$util/$1"
|
utilelfdir="elf/cbfstool/$1"
|
||||||
utilsrcdir="src/coreboot/$1/util/$util"
|
utilsrcdir="src/coreboot/$1/util/cbfstool"
|
||||||
|
|
||||||
utilmode="" && [ -n "$mode" ] && utilmode="clean"
|
utilmode="" && [ -n "$mode" ] && utilmode="clean"
|
||||||
x_ make -C "$utilsrcdir" $utilmode -j$XBMK_THREADS $makeargs
|
x_ make -C "$utilsrcdir" $utilmode -j$XBMK_THREADS $makeargs
|
||||||
[ -z "$mode" ] && [ ! -f "$utilelfdir/$util" ] && \
|
[ -z "$mode" ] && [ ! -f "$utilelfdir/cbfstool" ] && \
|
||||||
x_ mkdir -p "$utilelfdir" && \
|
x_ mkdir -p "$utilelfdir" && \
|
||||||
x_ cp "$utilsrcdir/$util" "elf/$util/$1"
|
x_ cp "$utilsrcdir/cbfstool" "elf/cbfstool/$1"
|
||||||
[ -z "$mode" ] || x_ rm -Rf "$utilelfdir"; continue
|
[ -z "$mode" ] || x_ rm -Rf "$utilelfdir"; :
|
||||||
done; return 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mkcorebootbin()
|
mkcorebootbin()
|
||||||
{
|
{
|
||||||
[ "$target" = "$tree" ] && return 0
|
[ "$target" = "$tree" ] && return 0
|
||||||
|
|
||||||
tmprom="$srcdir/build/coreboot.rom"
|
tmprom="$srcdir/build/coreboot.rom"; initmode="${defconfig##*/}";
|
||||||
initmode="${defconfig##*/}"; displaymode="${initmode##*_}"
|
displaymode="${initmode##*_}"; initmode="${initmode%%_*}"
|
||||||
initmode="${initmode%%_*}"
|
|
||||||
[ -n "$displaymode" ] && displaymode="_$displaymode"
|
[ -n "$displaymode" ] && displaymode="_$displaymode"
|
||||||
cbfstool="elf/cbfstool/$tree/cbfstool"
|
cbfstool="elf/cbfstool/$tree/cbfstool"
|
||||||
|
|
||||||
[ -n "$uboot_config" ] || uboot_config="default"
|
|
||||||
[ "$payload_uboot" = "y" ] || payload_seabios="y"
|
|
||||||
[ "$payload_grub" = "y" ] && payload_seabios="y"
|
|
||||||
[ "$payload_seabios" = "y" ] && [ "$payload_uboot" = "y" ] && \
|
|
||||||
$dry $err "$target: U-Boot and SeaBIOS/GRUB are both enabled."
|
|
||||||
|
|
||||||
[ -z "$grub_scan_disk" ] && grub_scan_disk="nvme ahci ata"
|
[ -z "$grub_scan_disk" ] && grub_scan_disk="nvme ahci ata"
|
||||||
|
|
||||||
[ -n "$grubtree" ] || grubtree="default"
|
[ -n "$grubtree" ] || grubtree="default"
|
||||||
grubelf="elf/grub/$grubtree/payload/grub.elf"
|
grubelf="elf/grub/$grubtree/payload/grub.elf"
|
||||||
|
|
||||||
[ "$payload_memtest" = "y" ] || payload_memtest="n"
|
[ "$payload_memtest" = "y" ] || payload_memtest="n"
|
||||||
[ "$(uname -m)" = "x86_64" ] || payload_memtest="n"
|
[ "$(uname -m)" = "x86_64" ] || payload_memtest="n"
|
||||||
if grep "CONFIG_PAYLOAD_NONE=y" "$defconfig"; then
|
|
||||||
[ "$payload_seabios" = "y" ] && pname="seabios" && \
|
pname="custom" && grep "CONFIG_PAYLOAD_NONE=y" "$defconfig" && \
|
||||||
$dry add_seabios
|
pname="seabios"; $dry add_seabios
|
||||||
[ "$payload_uboot" = "y" ] && pname="uboot" && $dry add_uboot
|
|
||||||
else
|
|
||||||
pname="custom" # coreboot's build system added payloads
|
|
||||||
fi
|
|
||||||
newrom="bin/$target/${pname}_${target}_$initmode$displaymode.rom"
|
newrom="bin/$target/${pname}_${target}_$initmode$displaymode.rom"
|
||||||
$dry x_ mkdir -p "${newrom%/*}"; $dry x_ mv "$tmprom" "$newrom"
|
$dry x_ mkdir -p "${newrom%/*}"; $dry x_ mv "$tmprom" "$newrom"
|
||||||
|
|
||||||
[ "$XBMK_RELEASE" = "y" ] || return 0
|
|
||||||
$dry mksha512sum "$newrom" "vendorhashes"; $dry ./vendor inject \
|
|
||||||
-r "$newrom" -b "$target" -n nuke || $err "!nuke $newrom"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
add_seabios()
|
add_seabios()
|
||||||
|
@ -134,19 +95,3 @@ add_grub()
|
||||||
cbfs "$tmprom" "$TMPDIR/tmpcfg" scan.cfg raw
|
cbfs "$tmprom" "$TMPDIR/tmpcfg" scan.cfg raw
|
||||||
cbfs "$tmprom" "$grubdata/bootorder" bootorder raw
|
cbfs "$tmprom" "$grubdata/bootorder" bootorder raw
|
||||||
}
|
}
|
||||||
|
|
||||||
add_uboot()
|
|
||||||
{
|
|
||||||
ubdir="elf/u-boot/$target/$uboot_config"
|
|
||||||
ubootelf="$ubdir/u-boot.elf" && [ ! -f "$ubootelf" ] && \
|
|
||||||
ubootelf="$ubdir/u-boot"
|
|
||||||
[ -f "$ubootelf" ] || $err "cb/$target: Can't find u-boot"
|
|
||||||
|
|
||||||
cbfs "$tmprom" "$ubootelf" "fallback/payload"
|
|
||||||
}
|
|
||||||
|
|
||||||
mkcoreboottar()
|
|
||||||
{
|
|
||||||
[ "$target" = "$tree" ] && return 0; [ "$XBMK_RELEASE" = "y" ] && \
|
|
||||||
[ "$release" != "n" ] && $dry mkrom_tarball "bin/$target"; return 0
|
|
||||||
}
|
|
||||||
|
|
|
@ -7,21 +7,19 @@ e6400_unpack="$PWD/src/bios_extract/dell_inspiron_1100_unpacker.py"
|
||||||
me7updateparser="$PWD/util/me7_update_parser/me7_update_parser.py"
|
me7updateparser="$PWD/util/me7_update_parser/me7_update_parser.py"
|
||||||
pfs_extract="$PWD/src/biosutilities/Dell_PFS_Extract.py"
|
pfs_extract="$PWD/src/biosutilities/Dell_PFS_Extract.py"
|
||||||
uefiextract="$PWD/elf/uefitool/uefiextract"
|
uefiextract="$PWD/elf/uefitool/uefiextract"
|
||||||
vendir="vendorfiles"
|
appdir="vendorfiles/app"
|
||||||
appdir="$vendir/app"
|
|
||||||
cbcfgsdir="config/coreboot"
|
cbcfgsdir="config/coreboot"
|
||||||
|
|
||||||
eval `setvars "" EC_url_bkup EC_hash DL_hash DL_url_bkup MRC_refcode_gbe vcfg \
|
eval `setvars "" EC_url_bkup EC_hash DL_hash DL_url_bkup MRC_refcode_gbe vcfg \
|
||||||
E6400_VGA_DL_hash E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset \
|
E6400_VGA_DL_hash E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset \
|
||||||
E6400_VGA_romname CONFIG_HAVE_MRC SCH5545EC_DL_url_bkup SCH5545EC_DL_hash \
|
E6400_VGA_romname CONFIG_HAVE_MRC SCH5545EC_DL_url_bkup SCH5545EC_DL_hash \
|
||||||
mecleaner kbc1126_ec_dump MRC_refcode_cbtree new_mac _dl SCH5545EC_DL_url \
|
mecleaner kbc1126_ec_dump MRC_refcode_cbtree _dl SCH5545EC_DL_url _7ztest \
|
||||||
CONFIG_BOARD_DELL_E6400 CONFIG_HAVE_ME_BIN archive EC_url boarddir rom \
|
CONFIG_BOARD_DELL_E6400 CONFIG_HAVE_ME_BIN EC_url CONFIG_REFCODE_BLOB_FILE \
|
||||||
CONFIG_ME_BIN_PATH CONFIG_KBC1126_FIRMWARE _dest tree CONFIG_GBE_BIN_PATH \
|
CONFIG_ME_BIN_PATH CONFIG_KBC1126_FIRMWARE _dest tree CONFIG_GBE_BIN_PATH \
|
||||||
CONFIG_KBC1126_FW1_OFFSET CONFIG_KBC1126_FW2 CONFIG_KBC1126_FW2_OFFSET \
|
CONFIG_KBC1126_FW1_OFFSET CONFIG_KBC1126_FW2 CONFIG_KBC1126_FW2_OFFSET rom \
|
||||||
CONFIG_VGA_BIOS_FILE CONFIG_VGA_BIOS_ID CONFIG_KBC1126_FW1 cbdir DL_url \
|
CONFIG_VGA_BIOS_FILE CONFIG_VGA_BIOS_ID CONFIG_KBC1126_FW1 cbdir DL_url \
|
||||||
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW CONFIG_SMSC_SCH5545_EC_FW_FILE nukemode \
|
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW CONFIG_SMSC_SCH5545_EC_FW_FILE boarddir \
|
||||||
CONFIG_IFD_BIN_PATH CONFIG_MRC_FILE CONFIG_HAVE_REFCODE_BLOB cbfstoolref \
|
CONFIG_IFD_BIN_PATH CONFIG_MRC_FILE CONFIG_HAVE_REFCODE_BLOB cbfstoolref`
|
||||||
CONFIG_REFCODE_BLOB_FILE vrelease verify _7ztest`
|
|
||||||
|
|
||||||
vendor_download()
|
vendor_download()
|
||||||
{
|
{
|
||||||
|
@ -31,6 +29,20 @@ vendor_download()
|
||||||
board="$1" && readcfg && readkconfig && bootstrap && getfiles; return 0
|
board="$1" && readcfg && readkconfig && bootstrap && getfiles; return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
readcfg()
|
||||||
|
{
|
||||||
|
boarddir="$cbcfgsdir/$board"
|
||||||
|
eval `setcfg "$boarddir/target.cfg"`; chkvars vcfg tree
|
||||||
|
|
||||||
|
cbdir="src/coreboot/$tree"
|
||||||
|
cbfstool="elf/cbfstool/$tree/cbfstool"
|
||||||
|
mecleaner="$PWD/$cbdir/util/me_cleaner/me_cleaner.py"
|
||||||
|
kbc1126_ec_dump="$PWD/$cbdir/util/kbc1126/kbc1126_ec_dump"
|
||||||
|
cbfstool="elf/cbfstool/$tree/cbfstool"
|
||||||
|
|
||||||
|
x_ ./update trees -d coreboot $tree
|
||||||
|
}
|
||||||
|
|
||||||
readkconfig()
|
readkconfig()
|
||||||
{
|
{
|
||||||
check_defconfig "$boarddir" 1>"$TMPDIR/vendorcfg.list" && return 1
|
check_defconfig "$boarddir" 1>"$TMPDIR/vendorcfg.list" && return 1
|
||||||
|
@ -91,9 +103,7 @@ fetch()
|
||||||
extract_archive "$_dl" "$appdir" || [ "$dl_type" = "e6400vga" ] || \
|
extract_archive "$_dl" "$appdir" || [ "$dl_type" = "e6400vga" ] || \
|
||||||
$err "mkdirs $_dest $dl_type: !extract"
|
$err "mkdirs $_dest $dl_type: !extract"
|
||||||
|
|
||||||
eval "extract_$dl_type"
|
eval "extract_$dl_type"; set -u -e
|
||||||
set -u -e
|
|
||||||
|
|
||||||
e "$_dest" f missing && $err "!extract_$dl_type"; return 0
|
e "$_dest" f missing && $err "!extract_$dl_type"; return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,8 +117,7 @@ extract_intel_me()
|
||||||
|
|
||||||
e "$_me" f && return 0
|
e "$_me" f && return 0
|
||||||
|
|
||||||
sdir="$(mktemp -d)"
|
sdir="$(mktemp -d)"; [ -z "$sdir" ] && return 0
|
||||||
[ -z "$sdir" ] && return 0
|
|
||||||
mkdir -p "$sdir" || $err "extract_intel_me: !mkdir -p \"$sdir\""
|
mkdir -p "$sdir" || $err "extract_intel_me: !mkdir -p \"$sdir\""
|
||||||
|
|
||||||
set +u +e
|
set +u +e
|
||||||
|
@ -149,8 +158,7 @@ extract_kbc1126ec()
|
||||||
{
|
{
|
||||||
e "$kbc1126_ec_dump" f missing && $err "$cbdir: kbc1126 util missing"
|
e "$kbc1126_ec_dump" f missing && $err "$cbdir: kbc1126 util missing"
|
||||||
(
|
(
|
||||||
x_ cd "$appdir/"
|
x_ cd "$appdir/"; mv Rompaq/68*.BIN ec.bin || :
|
||||||
mv Rompaq/68*.BIN ec.bin || :
|
|
||||||
if [ ! -f "ec.bin" ]; then
|
if [ ! -f "ec.bin" ]; then
|
||||||
unar -D ROM.CAB Rom.bin || unar -D Rom.CAB Rom.bin || \
|
unar -D ROM.CAB Rom.bin || unar -D Rom.CAB Rom.bin || \
|
||||||
unar -D 68*.CAB Rom.bin || $err "can't extract Rom.bin"
|
unar -D 68*.CAB Rom.bin || $err "can't extract Rom.bin"
|
||||||
|
@ -168,16 +176,14 @@ extract_kbc1126ec()
|
||||||
|
|
||||||
extract_e6400vga()
|
extract_e6400vga()
|
||||||
{
|
{
|
||||||
set +u +e
|
set +u +e; chkvars E6400_VGA_offset E6400_VGA_romname
|
||||||
chkvars E6400_VGA_offset E6400_VGA_romname
|
|
||||||
tail -c +$E6400_VGA_offset "$_dl" | gunzip > "$appdir/bios.bin" || :
|
tail -c +$E6400_VGA_offset "$_dl" | gunzip > "$appdir/bios.bin" || :
|
||||||
(
|
(
|
||||||
x_ cd "$appdir"
|
x_ cd "$appdir"
|
||||||
[ -f "bios.bin" ] || $err "extract_e6400vga: can't extract bios.bin"
|
[ -f "bios.bin" ] || $err "extract_e6400vga: can't extract bios.bin"
|
||||||
"$e6400_unpack" bios.bin || printf "TODO: fix dell extract util\n"
|
"$e6400_unpack" bios.bin || printf "TODO: fix dell extract util\n"
|
||||||
) || $err "can't extract e6400 vga rom"
|
) || $err "can't extract e6400 vga rom"
|
||||||
cp "$appdir/$E6400_VGA_romname" "$_dest" || \
|
cp "$appdir/$E6400_VGA_romname" "$_dest" || $err "64 !cp $board $_dest"
|
||||||
$err "extract_e6400vga $board: can't copy vga rom to $_dest"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extract_sch5545ec()
|
extract_sch5545ec()
|
||||||
|
@ -192,184 +198,3 @@ extract_sch5545ec()
|
||||||
"$uefiextract" "$_bios" || $err "sch5545 !extract"
|
"$uefiextract" "$_bios" || $err "sch5545 !extract"
|
||||||
cp "$_sch5545ec_fw" "$_dest" || $err "$_dest: !sch5545 copy"
|
cp "$_sch5545ec_fw" "$_dest" || $err "$_dest: !sch5545 copy"
|
||||||
}
|
}
|
||||||
|
|
||||||
vendor_inject()
|
|
||||||
{
|
|
||||||
set +u +e
|
|
||||||
|
|
||||||
[ $# -lt 1 ] && $err "No options specified."
|
|
||||||
[ "$1" = "listboards" ] && eval "ls -1 config/coreboot || :; exit 0"
|
|
||||||
|
|
||||||
archive="$1"
|
|
||||||
|
|
||||||
while getopts n:r:b:m: option; do
|
|
||||||
case "$option" in
|
|
||||||
n) nukemode="$OPTARG" ;;
|
|
||||||
r) rom="$OPTARG" ;;
|
|
||||||
b) board="$OPTARG" ;;
|
|
||||||
m) new_mac="$OPTARG"; chkvars new_mac ;;
|
|
||||||
*) : ;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
check_board || return 0
|
|
||||||
[ "$nukemode" = "nuke" ] || x_ ./vendor download $board
|
|
||||||
[ "$vrelease" != "y" ] && patch_rom "$rom"
|
|
||||||
[ "$vrelease" = "y" ] && patch_release_roms
|
|
||||||
|
|
||||||
[ "$nukemode" = "nuke" ] && return 0
|
|
||||||
printf "Friendly reminder (this is *not* an error message):\n"
|
|
||||||
printf "Make sure the files were inserted. ALSO:\n%s\n" "$kbnotice"
|
|
||||||
}
|
|
||||||
|
|
||||||
check_board()
|
|
||||||
{
|
|
||||||
failcheck="y" && check_release "$archive" && failcheck="n"
|
|
||||||
if [ "$failcheck" = "y" ]; then
|
|
||||||
[ -f "$rom" ] || $err "check_board \"$rom\": invalid path"
|
|
||||||
[ -z "${rom+x}" ] && $err "check_board: no rom specified"
|
|
||||||
[ -n "${board+x}" ] || board="$(detect_board "$rom")"
|
|
||||||
else
|
|
||||||
vrelease="y"; board="$(detect_board "$archive")"
|
|
||||||
fi
|
|
||||||
readcfg || return 1; return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
check_release()
|
|
||||||
{
|
|
||||||
[ -f "$archive" ] || return 1
|
|
||||||
[ "${archive##*.}" = "xz" ] || return 1
|
|
||||||
printf "%s\n" "Release archive $archive detected"
|
|
||||||
}
|
|
||||||
|
|
||||||
# This function tries to determine the board from the filename of the rom.
|
|
||||||
# It will only succeed if the filename is not changed from the build/download
|
|
||||||
detect_board()
|
|
||||||
{
|
|
||||||
path="$1"
|
|
||||||
filename="$(basename "$path")"
|
|
||||||
case "$filename" in
|
|
||||||
grub_*|seagrub_*|custom_*)
|
|
||||||
board="$(echo "$filename" | cut -d '_' -f2-3)" ;;
|
|
||||||
seabios_withgrub_*)
|
|
||||||
board="$(echo "$filename" | cut -d '_' -f3-4)" ;;
|
|
||||||
*.tar.xz)
|
|
||||||
_stripped_prefix="${filename#*_}"
|
|
||||||
board="${_stripped_prefix%.tar.xz}" ;;
|
|
||||||
*) $err "detect_board $filename: could not detect board type"
|
|
||||||
esac; printf "%s\n" "$board"
|
|
||||||
}
|
|
||||||
|
|
||||||
readcfg()
|
|
||||||
{
|
|
||||||
if [ "$board" = "serprog_rp2040" ] || \
|
|
||||||
[ "$board" = "serprog_stm32" ]; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
boarddir="$cbcfgsdir/$board"
|
|
||||||
eval `setcfg "$boarddir/target.cfg"`
|
|
||||||
chkvars vcfg tree
|
|
||||||
|
|
||||||
cbdir="src/coreboot/$tree"
|
|
||||||
cbfstool="elf/cbfstool/$tree/cbfstool"
|
|
||||||
mecleaner="$PWD/$cbdir/util/me_cleaner/me_cleaner.py"
|
|
||||||
kbc1126_ec_dump="$PWD/$cbdir/util/kbc1126/kbc1126_ec_dump"
|
|
||||||
cbfstool="elf/cbfstool/$tree/cbfstool"
|
|
||||||
ifdtool="elf/ifdtool/$tree/ifdtool"
|
|
||||||
|
|
||||||
x_ ./update trees -d coreboot $tree
|
|
||||||
}
|
|
||||||
|
|
||||||
patch_release_roms()
|
|
||||||
{
|
|
||||||
remkdir "tmp/romdir"
|
|
||||||
tar -xf "$archive" -C "tmp/romdir" || \
|
|
||||||
$err "patch_release_roms: !tar -xf \"$archive\" -C \"tmp/romdir\""
|
|
||||||
|
|
||||||
for x in "tmp/romdir/bin/"*/*.rom ; do
|
|
||||||
patch_rom "$x"
|
|
||||||
done
|
|
||||||
|
|
||||||
(
|
|
||||||
cd "tmp/romdir/bin/"* || $err "patch roms: !cd tmp/romdir/bin/*"
|
|
||||||
|
|
||||||
# NOTE: For compatibility with older rom releases, defer to sha1
|
|
||||||
[ "$verify" != "y" ] || [ "$nukemode" = "nuke" ] || \
|
|
||||||
sha512sum --status -c vendorhashes || \
|
|
||||||
sha1sum --status -c vendorhashes || sha512sum --status -c \
|
|
||||||
blobhashes || sha1sum --status -c blobhashes || \
|
|
||||||
$err "patch_release_roms: ROMs did not match expected hashes"
|
|
||||||
) || $err "can't verify vendor hashes"
|
|
||||||
|
|
||||||
[ -n "$new_mac" ] && for x in "tmp/romdir/bin/"*/*.rom ; do
|
|
||||||
[ -f "$x" ] && modify_gbe "$x"
|
|
||||||
done
|
|
||||||
|
|
||||||
x_ mkdir -p bin/release
|
|
||||||
mv tmp/romdir/bin/* bin/release/ || $err "$board: !mv release roms"
|
|
||||||
}
|
|
||||||
|
|
||||||
patch_rom()
|
|
||||||
{
|
|
||||||
rom="$1"
|
|
||||||
|
|
||||||
. "$(check_defconfig "$boarddir")" 2>/dev/null || exit 0
|
|
||||||
|
|
||||||
[ "$CONFIG_HAVE_MRC" = "y" ] && inject "mrc.bin" "$CONFIG_MRC_FILE" \
|
|
||||||
"mrc" "0xfffa0000"
|
|
||||||
[ -n "$CONFIG_HAVE_REFCODE_BLOB" ] && inject "fallback/refcode" \
|
|
||||||
"$CONFIG_REFCODE_BLOB_FILE" "stage"
|
|
||||||
[ "$CONFIG_HAVE_ME_BIN" = "y" ] && inject IFD "$CONFIG_ME_BIN_PATH" me
|
|
||||||
[ "$CONFIG_KBC1126_FIRMWARE" = "y" ] && inject ecfw1.bin \
|
|
||||||
"$CONFIG_KBC1126_FW1" raw "$CONFIG_KBC1126_FW1_OFFSET" && inject \
|
|
||||||
ecfw2.bin "$CONFIG_KBC1126_FW2" raw "$CONFIG_KBC1126_FW2_OFFSET"
|
|
||||||
[ -n "$CONFIG_VGA_BIOS_FILE" ] && [ -n "$CONFIG_VGA_BIOS_ID" ] && \
|
|
||||||
inject "pci$CONFIG_VGA_BIOS_ID.rom" \
|
|
||||||
"$CONFIG_VGA_BIOS_FILE" "optionrom"
|
|
||||||
[ "$CONFIG_INCLUDE_SMSC_SCH5545_EC_FW" = "y" ] && \
|
|
||||||
[ -n "$CONFIG_SMSC_SCH5545_EC_FW_FILE" ] && \
|
|
||||||
inject sch5545_ecfw.bin "$CONFIG_SMSC_SCH5545_EC_FW_FILE" raw
|
|
||||||
[ -n "$new_mac" ] && [ "$vrelease" != "y" ] && modify_gbe "$rom"
|
|
||||||
|
|
||||||
printf "ROM image successfully patched: %s\n" "$rom"
|
|
||||||
}
|
|
||||||
|
|
||||||
inject()
|
|
||||||
{
|
|
||||||
[ $# -lt 3 ] && $err "$@, $rom: usage: inject name path type (offset)"
|
|
||||||
[ "$2" = "/dev/null" ] && return 0; verify="y"
|
|
||||||
|
|
||||||
eval `setvars "" cbfsname _dest _t _offset`
|
|
||||||
cbfsname="$1"; _dest="${2##*../}"; _t="$3"
|
|
||||||
|
|
||||||
[ $# -gt 3 ] && _offset="-b $4" && [ -z "$4" ] && \
|
|
||||||
$err "inject $@, $rom: offset passed, but empty (not defined)"
|
|
||||||
|
|
||||||
e "$_dest" f n && [ "$nukemode" != "nuke" ] && $err "!inject $dl_type"
|
|
||||||
|
|
||||||
if [ "$cbfsname" = "IFD" ]; then
|
|
||||||
[ "$nukemode" = "nuke" ] || "$ifdtool" -i $_t:$_dest "$rom" \
|
|
||||||
-O "$rom" || $err "failed: inject '$_t' '$_dest' on '$rom'"
|
|
||||||
[ "$nukemode" != "nuke" ] || "$ifdtool" --nuke $_t "$rom" \
|
|
||||||
-O "$rom" || $err "$rom: can't nuke $_t in IFD"; return 0
|
|
||||||
elif [ "$nukemode" = "nuke" ]; then
|
|
||||||
"$cbfstool" "$rom" remove -n "$cbfsname" || \
|
|
||||||
$err "inject $rom: can't remove $cbfsname"; return 0
|
|
||||||
fi
|
|
||||||
[ "$_t" != "stage" ] || "$cbfstool" "$rom" add-stage -f \
|
|
||||||
"$_dest" -n "$cbfsname" -t stage -c lzma || $err "$rom: !add ref"
|
|
||||||
[ "$_t" = "stage" ] || "$cbfstool" "$rom" add -f "$_dest" \
|
|
||||||
-n "$cbfsname" -t $_t $_offset || $err "$rom !add $_t ($_dest)"
|
|
||||||
}
|
|
||||||
|
|
||||||
modify_gbe()
|
|
||||||
{
|
|
||||||
chkvars CONFIG_GBE_BIN_PATH
|
|
||||||
|
|
||||||
e "${CONFIG_GBE_BIN_PATH##*../}" f n && $err "missing gbe file"
|
|
||||||
x_ make -C util/nvmutil
|
|
||||||
|
|
||||||
x_ cp "${CONFIG_GBE_BIN_PATH##*../}" "$TMPDIR/gbe"
|
|
||||||
x_ "util/nvmutil/nvm" "$TMPDIR/gbe" setmac $new_mac
|
|
||||||
x_ "$ifdtool" -i GbE:"$TMPDIR/gbe" "$1" -O "$1"
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
libreboot
|
|
|
@ -1 +0,0 @@
|
||||||
https://libreboot.org/
|
|
|
@ -90,7 +90,7 @@ handle_defconfig()
|
||||||
{
|
{
|
||||||
target_dir="$configdir/$target"
|
target_dir="$configdir/$target"
|
||||||
|
|
||||||
[ -f "CHANGELOG" ] || fetch_project "$project"
|
fetch_project "$project"
|
||||||
configure_project "$target_dir" || return 0
|
configure_project "$target_dir" || return 0
|
||||||
x_ mkdir -p "$elfdir/$target"
|
x_ mkdir -p "$elfdir/$target"
|
||||||
|
|
||||||
|
@ -136,7 +136,6 @@ configure_project()
|
||||||
&& break; _tcfg="${_tcfg%/*/target.cfg}/$tree/target.cfg"
|
&& break; _tcfg="${_tcfg%/*/target.cfg}/$tree/target.cfg"
|
||||||
done
|
done
|
||||||
|
|
||||||
[ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1
|
|
||||||
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1
|
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1
|
||||||
|
|
||||||
[ -z "$mode" ] && build_dependencies
|
[ -z "$mode" ] && build_dependencies
|
||||||
|
@ -144,12 +143,12 @@ configure_project()
|
||||||
mdir="$PWD/config/submodule/$project"
|
mdir="$PWD/config/submodule/$project"
|
||||||
[ -n "$tree" ] && mdir="$mdir/$tree"
|
[ -n "$tree" ] && mdir="$mdir/$tree"
|
||||||
|
|
||||||
[ -f "CHANGELOG" ] || check_project_hashes
|
check_project_hashes
|
||||||
|
|
||||||
[ "$mode" = "fetch" ] || x_ ./update trees -f "$project" $target
|
[ "$mode" = "fetch" ] || x_ ./update trees -f "$project" $target
|
||||||
[ "$mode" = "fetch" ] || return 0
|
[ "$mode" = "fetch" ] || return 0
|
||||||
|
|
||||||
[ -f "CHANGELOG" ] && return 1; fetch_${cmd#build_}; return 1
|
fetch_${cmd#build_}; return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
build_dependencies()
|
build_dependencies()
|
||||||
|
|
Loading…
Reference in New Issue