mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
Tioga Pass support, with the Broadcom BCM57302
This commit is contained in:
parent
b0fa91a6cf
commit
e62362ddcc
49
boards/tioga/tioga.config
Normal file
49
boards/tioga/tioga.config
Normal file
@ -0,0 +1,49 @@
|
||||
# Configuration for a Tioga Pass (Wiwynn) OCP node
|
||||
# and it uses LinuxBoot, not coreboot.
|
||||
CONFIG_LINUXBOOT=y
|
||||
CONFIG_LINUXBOOT_ROM=blobs/tioga.rom
|
||||
CONFIG_LINUX_CONFIG=config/linux-linuxboot.config
|
||||
|
||||
# If you want to build with the go-based u-root instead of Heads
|
||||
CONFIG_UROOT ?= n
|
||||
|
||||
ifeq "$(CONFIG_UROOT)" "y"
|
||||
# The busybox will likely be redundant and can be trimmed for space.
|
||||
CONFIG_BUSYBOX=n
|
||||
CONFIG_ZLIB=n
|
||||
CONFIG_MUSL=n
|
||||
else
|
||||
# These don't fit if u-root is turned on
|
||||
#CONFIG_CRYPTSETUP=y
|
||||
#CONFIG_FLASHROM=y
|
||||
CONFIG_FLASHTOOLS=y
|
||||
#CONFIG_GPG=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_UTIL_LINUX=y
|
||||
#CONFIG_LVM2=y
|
||||
CONFIG_MBEDTLS=y
|
||||
CONFIG_PCIUTILS=y
|
||||
CONFIG_POPT=y
|
||||
CONFIG_QRENCODE=y
|
||||
CONFIG_TPMTOTP=y
|
||||
CONFIG_DROPBEAR=y
|
||||
endif
|
||||
|
||||
# Linux modules will still be linked into the u-root tree
|
||||
CONFIG_LINUX_USB=y
|
||||
#CONFIG_LINUX_MLX4=y
|
||||
#CONFIG_LINUX_ATA=y
|
||||
#CONFIG_LINUX_AHCI=y
|
||||
#CONFIG_LINUX_E1000E=y
|
||||
CONFIG_LINUX_NVME=y
|
||||
CONFIG_LINUX_BCM=y
|
||||
|
||||
export CONFIG_BOOTSCRIPT=/bin/generic-init
|
||||
export CONFIG_TPM=n
|
||||
export CONFIG_BOOT_REQ_HASH=n
|
||||
export CONFIG_BOOT_REQ_ROLLBACK=n
|
||||
export CONFIG_BOOT_DEV="/dev/sda1"
|
||||
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
||||
|
||||
$(build)/$(BOARD)/linuxboot.rom: linuxboot.intermediate
|
||||
|
@ -486,7 +486,7 @@ CONFIG_PHYSICAL_ALIGN=0x1000000
|
||||
CONFIG_LEGACY_VSYSCALL_EMULATE=y
|
||||
# CONFIG_LEGACY_VSYSCALL_NONE is not set
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="earlyprintk=serial,ttyS0,115200 console=ttyS0,115200n8 nosmp debug"
|
||||
CONFIG_CMDLINE="earlyprintk=serial,ttyS0,57600 console=ttyS0,57600 nosmp"
|
||||
# CONFIG_CMDLINE_OVERRIDE is not set
|
||||
# CONFIG_MODIFY_LDT_SYSCALL is not set
|
||||
CONFIG_HAVE_LIVEPATCH=y
|
||||
@ -1076,6 +1076,7 @@ CONFIG_NET_CORE=y
|
||||
# Distributed Switch Architecture drivers
|
||||
#
|
||||
CONFIG_ETHERNET=y
|
||||
CONFIG_MDIO=m
|
||||
# CONFIG_NET_VENDOR_3COM is not set
|
||||
# CONFIG_NET_VENDOR_ADAPTEC is not set
|
||||
# CONFIG_NET_VENDOR_AGERE is not set
|
||||
@ -1087,7 +1088,16 @@ CONFIG_ETHERNET=y
|
||||
# CONFIG_NET_VENDOR_ATHEROS is not set
|
||||
# CONFIG_NET_VENDOR_AURORA is not set
|
||||
# CONFIG_NET_CADENCE is not set
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
CONFIG_NET_VENDOR_BROADCOM=y
|
||||
# CONFIG_B44 is not set
|
||||
# CONFIG_BCMGENET is not set
|
||||
# CONFIG_BNX2 is not set
|
||||
# CONFIG_CNIC is not set
|
||||
# CONFIG_TIGON3 is not set
|
||||
CONFIG_BNX2X=m
|
||||
CONFIG_BNX2X_SRIOV=y
|
||||
CONFIG_BNXT=m
|
||||
CONFIG_BNXT_SRIOV=y
|
||||
# CONFIG_NET_VENDOR_BROCADE is not set
|
||||
# CONFIG_NET_VENDOR_CAVIUM is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
|
@ -62,6 +62,9 @@ linux_modules-$(CONFIG_LINUX_SFC) += drivers/net/mdio.ko
|
||||
linux_modules-$(CONFIG_LINUX_MLX4) += drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
|
||||
linux_modules-$(CONFIG_LINUX_MLX4) += drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
|
||||
|
||||
# Broadcom 57302 (25g) for Tioga Pass
|
||||
linux_modules-$(CONFIG_LINUX_BCM) += drivers/net/ethernet/broadcom/bnxt/bnxt_en.ko
|
||||
|
||||
# USB modules for both types of controllers
|
||||
# older boards also need ohci and uhci
|
||||
linux_modules-$(CONFIG_LINUX_USB_COMPANION_CONTROLLER) += drivers/usb/host/uhci-hcd.ko
|
||||
|
Loading…
Reference in New Issue
Block a user