Skip to content

Commit 4ef8995

Browse files
jaytclinmshych
authored andcommitted
1. Add UfiSpace machines:
=== 1. ufispace_s6301_56st Switch ASIC: Broadcom BCM56277 (48x 10/100/1000M Base-T ports and 8x 10G SFP+ ports) CPU: Intel Denverton-NS C3508 4-Core @ 1.6GHz 2. ufispace_s6301_56stp Switch ASIC: Broadcom BCM56277 (48x 10/100/1000M Base-T ports and 8x 10G SFP+ ports; PoE supported) CPU: Intel Denverton-NS C3508 4-Core @ 1.6GHz 3. ufispace_s9110_32x Switch ASIC: Broadcom BCM56870 (32x 100G QSFP28 ports and 1x 10G SFP+ ports) CPU: Intel Denverton-NS C3508 4-Core @ 1.6GHz BMC: ASPEED AST2620 4. ufispace_s9311_64d Switch ASIC: Broadcom TH4 BCM56990 (64x 400G ports) CPU: Intel IceLake-D LCC Series BMC: ASPEED AST2620 5. ufispace_s9321_64e Switch ASIC: Broadcom TH5 BCM78900 (64x QSFPDD 800G ports) CPU: Intel Icelake-D D-2712T with 4-core @ 1.9GHz BMC: ASPEED AST2620 6. ufispace_s9511_20ct Switch ASIC: Broadcom BCM88290 (4x 1GE Combo ports, 8x 10GE SFP+ ports, and 8x 25GE SFP28 ports) CPU: Intel Denverton-NS C3508 4-Core @ 1.6GHz 7. ufispace_s9600_28dx Switch ASIC: Broadcom BCM88820 (24x 100G QSFP28 ports and 4x 400G QSFP-DD ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 8. ufispace_s9600_30dx Switch ASIC: Broadcom Jericho2 Broadcom BCM88690 (16x 100GbE QSFP28 ports, 8x 100GbE QSFPDD ports with OpenZR+ ports, and 6x 400GbE QSFPDD ports with OpenZR+ ports) CPU: Intel Skylake-D D-2145NT with 8-core @ 1.9GHz BMC: ASPEED AST2620 9. ufispace_s9600_56dx Switch ASIC: Broadcom BCM88820 (48x 100G QSFP28 ports and 8x 400G QSFP-DD ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 10. ufispace_s9600_102xc Switch ASIC: Broadcom Q2C BCM88820 (96x 25GbE SFP28 NIF ports and 6x 100GbE QSFP28 NIF ports) CPU: Intel Skylake-D D-2145NT with 8-core @ 1.9GHz BMC: ASPEED AST2620 11. ufispace_s9600_104bc Switch ASIC: Broadcom BCM88820 (96x 25GbE SFP28 ports, 4x 100GbE QSFP28 ports, and 4x 200GbE/100GbE QSFP56 ports) CPU: Intel Denverton-NS C3708 8-Core @ 1.7GHz BMC: ASPEED AST2620 12. ufispace_s9601_102xc Switch ASIC: Broadcom Q2C BCM88820 (96x 25GbE SFP28 NIF ports and 6x 100GbE QSFP28 NIF ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 13. ufispace_s9601_104bc Switch ASIC: Broadcom BCM88820 (96x 25GbE SFP28 ports, 4x 100GbE QSFP28 ports, and 4x 200GbE/100GbE QSFP56 ports) CPU: Intel IceLake-D LCC Series BMC: ASPEED AST2620 14. ufispace_s9610_36d Switch ASIC: Broadcom Jericho2C+ BCM88850 (36x 400GbE QSFPDD NIF ports) CPU: Intel Skylake-D D-2145NT with 8-core @ 1.9GHz BMC: ASPEED AST2620 15. ufispace_s9610_46dx Switch ASIC: Broadcom BCM88840 (40x 100G QSFP28 ports and 6x 400G QSFPDD ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 16. ufispace_s9610_48dx Switch ASIC: Broadcom BCM88840 (40x 100G QSFP28 ports and 8x 400G QSFPDD ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 17. ufispace_s9720_56ed Switch ASIC: Broadcom Jericho3 BCM88860 (56x QSFPDD ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 18. ufispace_s9725_64e Switch ASIC: Broadcom Ramon3 BCM88920 (64x QSFPDD 800G ports) CPU: Intel Icelake-D D-2733NT/ 8-core @ 2.1GHz (up to 20 core selection) BMC: ASPEED AST2620 === 2. Add some machines for integration: ufispace_dvtn_s9501series ufispace_dvtn_s9502series ufispace_dvtn_td3_x5_series ufispace_icl_emux_series ufispace_icl_s9321series ufispace_skl_ncplite_series ufispace_skl_nighthawk_series ufispace_skl_s9300series 3. Update existing UfiSpace projects Signed-off-by: jaytclin <[email protected]> Signed-off-by: Michael Shych <[email protected]>
1 parent 6f325ed commit 4ef8995

File tree

491 files changed

+1467610
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

491 files changed

+1467610
-138
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
================================================================================
2+
Installing ONIE on UfiSpace S9501 Series w/ Intel Denverton CPU Module
3+
================================================================================
4+
5+
Cross-Compiling ONIE
6+
====================
7+
8+
To compile ONIE first change directories to ``build-config`` and then
9+
type ``"make MACHINEROOT=../machine/UfiSpace MACHINE=ufiSpace_dvtn_s9501series all"``. For example::
10+
11+
$ cd build-config
12+
$ make MACHINEROOT=../machine/UfiSpace MACHINE=ufiSpace_dvtn_s9501series all
13+
14+
When complete, the ONIE binaries are located in
15+
``build/images``::
16+
17+
-rw-r--r-- 1 ufispace ufispace 6132992 Mar 21 16:21 ufiSpace_dvtn_s9501series-r0.initrd
18+
-rw-r--r-- 1 ufispace ufispace 3545776 Mar 21 16:21 ufiSpace_dvtn_s9501series-r0.vmlinuz
19+
-rw-r--r-- 1 ufispace ufispace 22020096 Mar 21 16:21 onie-recovery-x86_64-ufiSpace_dvtn_s9501series-r0.iso
20+
-rw-r--r-- 1 ufispace ufispace 9729911 Mar 21 16:21 onie-updater-x86_64-ufiSpace_dvtn_s9501series-r0
21+
22+
ufiSpace_dvtn_s9501series-r0.vmlinuz -- This is the ONIE kernel image
23+
24+
ufiSpace_dvtn_s9501series-r0.initrd -- This is the ONIE initramfs (filesystem)
25+
26+
onie-updater-x86_64-ufiSpace_dvtn_s9501series-r0 -- This is the ONIE self-update image.
27+
This image is a self-extracting archive used for installing ONIE.
28+
29+
onie-recovery-x86_64-ufiSpace_dvtn_s9501series-r0.iso -- This is iso image containing ONIE kernel + ONIE initramfs with ONIE self-update image already included inside.
30+
This might be very useful as it can be easily placed on USB/CD and one can boot from this to install/reinstall/repair ONIE
31+
32+
33+
Installing ONIE on a Blank Machine
34+
==================================
35+
36+
To install ONIE on a new machine use one of the onie-recovery images.
37+
38+
Overview
39+
--------
40+
41+
An "ONIE recovery image" is used for:
42+
43+
1. installing ONIE on a blank machine, i.e. what manufacturing would
44+
use.
45+
46+
2. recovering a destroyed ONIE system.
47+
48+
The recovery image is:
49+
50+
. <machine>.iso -- a hybrid ISO image.
51+
52+
ISO Recovery Image
53+
------------------
54+
55+
The .iso image is used to create the usb recovery disk.
56+
57+
You can use the .iso image to create a bootable USB memory stick.
58+
Use ``dd`` to copy the .iso image to a USB stick and boot from that::
59+
60+
dd if=<machine>.iso of=/dev/sdX bs=10M
61+
62+
For can find the correct ``/dev/sdX`` by inspecing the ``dmesg``
63+
output after inserting the USB stick into your work station.
64+
65+
To enable booting from USB in BIOS:
66+
67+
1. Insert the USB stick
68+
69+
2. Power on the UfiSpace Switch
70+
71+
3. Press ECS to get into the BIOS and set USB as boot device
72+
73+
4. Wait for scanning USB disk grub.cfg
74+
75+
GNU GRUB version 2.02~beta2-4b8b913+
76+
77+
+----------------------------------------------------------------------------+
78+
|*ONIE: Rescue |
79+
| ONIE: Embed ONIE |
80+
| |
81+
| |
82+
| |
83+
| |
84+
| |
85+
| |
86+
| |
87+
| |
88+
| |
89+
+----------------------------------------------------------------------------+
90+
91+
Use the ^ and v keys to select which entry is highlighted.
92+
Press enter to boot the selected OS, `e' to edit the commands
93+
before booting or `c' for a command-line. ESC to return
94+
previous menu.
95+
96+
5. Choose ``ONIE: Embed ONIE``, then ONIE will be ready after reboot.
97+
98+
6. ``ONIE: Rescue`` for ONIE rescue mode on USB disk shall also provide
99+
an debugging environment.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CONFIG_STATIC=y
2+
CONFIG_SYS_EEPROM=y
3+
CONFIG_SYS_EEPROM_DEVICE_I2C=y
4+
CONFIG_SYS_EEPROM_I2C_DEVICE="/dev/i2c-1"
5+
CONFIG_SYS_EEPROM_I2C_ADDR=0x57
6+
CONFIG_SYS_EEPROM_I2C_MEM_ADDR_BITS=16
7+
CONFIG_SYS_EEPROM_I2C_WRITE_1B_DELAY=4000
8+
CONFIG_SYS_EEPROM_I2C_WRITE_2B_DELAY=4000
9+
CONFIG_SYS_EEPROM_I2C_WRITE_3B_DELAY=4000
10+
CONFIG_SYS_EEPROM_OFFSET=0
11+
CONFIG_SYS_EEPROM_SIZE=512
12+
CONFIG_SYS_EEPROM_MAX_SIZE=512
13+
CONFIG_NTPD=y
14+
CONFIG_FEATURE_WGET_OPENSSL=y
15+
CONFIG_FEATURE_WGET_SSL_HELPER=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# s9501 series specific info
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Foxconn S9501 Series
2+
# CPU Module: Intel Denverton-NS
3+
4+
5+
description="Ufispace S9501 Series"
6+
7+
# Default ONIE block device
8+
install_device_platform()
9+
{
10+
# find ata device on the systme, return the 1st one.
11+
12+
##
13+
# find the sata dom
14+
##
15+
16+
for _device in /sys/block/sd*/device; do
17+
18+
# Intel Denverton-NS SATA Controller 1 Registers (D20:F0)
19+
if echo $(readlink -f $_device)|egrep -q "pci0000:00\/0000:00:14.0"; then
20+
_disk=`echo $_device | cut -f4 -d/`
21+
echo /dev/$_disk
22+
return 0
23+
fi
24+
done
25+
26+
for _device in /sys/block/mmc*/device; do
27+
# Intel Denverton-NS PCI Controller 1 Registers (D28:F0)
28+
if echo $(readlink -f $_device)|egrep -q "pci0000:00\/0000:00:1c.0"; then
29+
_disk=`echo $_device | cut -f4 -d/`
30+
echo /dev/$_disk
31+
return 0
32+
fi
33+
done
34+
35+
# nothing found, just return /dev/sda
36+
echo /dev/sda
37+
return 1
38+
}
39+
40+
# Local Variables:
41+
# mode: shell-script
42+
# eval: (sh-set-shell "/bin/sh" t nil)
43+
# End:
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
CONFIG_IGB=y
2+
3+
CONFIG_I2C_I801=y
4+
CONFIG_I2C_SMBUS =y
5+
CONFIG_I2C_ISMT=y
6+
CONFIG_I2C_ALGOBIT=n
7+
CONFIG_I2C_ALGOPCF=n
8+
CONFIG_I2C_ALGOPCA=n
9+
CONFIG_I2C_HELPER_AUTO=n
10+
CONFIG_USB_XHCI_PLATFORM=y
11+
CONFIG_USB_XHCI_HCD=y
12+
CONFIG_USB_XHCI_PCI=y
13+
14+
CONFIG_IPMI_HANDLER=y
15+
CONFIG_IPMI_DEVICE_INTERFACE=y
16+
CONFIG_IPMI_SI=y
17+
18+
CONFIG_USB_USBNET=y
19+
CONFIG_USB_NET_CDCETHER=y
20+
21+
CONFIG_IO_DELAY_0XED=y
22+
CONFIG_DEFAULT_IO_DELAY_TYPE=1
23+
# CONFIG_IO_DELAY_0X80 is not set
24+
25+
CONFIG_X86_X2APIC=y
26+
CONFIG_PCI_MMCONFIG=y
27+
CONFIG_MMC=y
28+
CONFIG_MMC_SDHCI=y
29+
CONFIG_MMC_SDHCI_PCI=y
30+
CONFIG_MMC_RICOH_MMC=y
31+
CONFIG_MMC_SDHCI_ACPI=y
32+
CONFIG_MMC_SDHCI_PLTFM=y
33+
CONFIG_MMC_BLOCK=y
34+
CONFIG_MMC_BLOCK_MINORS=8
35+
CONFIG_MMC_BLOCK_BOUNCE=y
36+
CONFIG_MMC_USHC=y
37+
CONFIG_MMC_TOSHIBA_PCI=y
38+
39+
# CONFIG_ACPI_IPMI is not set
40+
# CONFIG_IPMI_PANIC_EVENT is not set
41+
# CONFIG_IPMI_SI_PROBE_DEFAULTS is not set
42+
# CONFIG_IPMI_SSIF is not set
43+
# CONFIG_IPMI_WATCHDOG is not set
44+
# CONFIG_IPMI_POWEROFF is not set
45+
# CONFIG_SENSORS_IBMAEM is not set
46+
# CONFIG_SENSORS_IBMPEX is not set
47+
48+
# CONFIG_USB_NET_AX8817X is not set
49+
# CONFIG_USB_NET_AX88179_178A is not set
50+
# CONFIG_USB_NET_CDC_EEM is not set
51+
# CONFIG_USB_NET_CDC_NCM is not set
52+
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
53+
# CONFIG_USB_NET_CDC_MBIM is not set
54+
# CONFIG_USB_NET_DM9601 is not set
55+
# CONFIG_USB_NET_SR9700 is not set
56+
# CONFIG_USB_NET_SR9800 is not set
57+
# CONFIG_USB_NET_SMSC75XX is not set
58+
# CONFIG_USB_NET_SMSC95XX is not set
59+
# CONFIG_USB_NET_GL620A is not set
60+
# CONFIG_USB_NET_NET1080 is not set
61+
# CONFIG_USB_NET_PLUSB is not set
62+
# CONFIG_USB_NET_MCS7830 is not set
63+
# CONFIG_USB_NET_RNDIS_HOST is not set
64+
# CONFIG_USB_NET_CDC_SUBSET is not set
65+
# CONFIG_USB_NET_ZAURUS is not set
66+
# CONFIG_USB_NET_CX82310_ETH is not set
67+
# CONFIG_USB_NET_KALMIA is not set
68+
# CONFIG_USB_NET_QMI_WWAN is not set
69+
# CONFIG_USB_NET_INT51X1 is not set
70+
# CONFIG_USB_IPHETH is not set
71+
# CONFIG_USB_SIERRA_NET is not set
72+
# CONFIG_USB_VL600 is not set
73+
# CONFIG_USB_NET_CH9200 is not set

machine/ufispace/ufispace_dvtn_s9501series/kernel/series

Whitespace-only changes.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Foxconn S9501 Series
2+
# CPU Module: Intel Denvertion-NS
3+
4+
ONIE_ARCH ?= x86_64
5+
SWITCH_ASIC_VENDOR = bcm
6+
7+
VENDOR_REV ?= 0
8+
9+
# Translate hardware revision to ONIE hardware revision
10+
ifeq ($(VENDOR_REV),0)
11+
MACHINE_REV = 0
12+
else
13+
$(warning Unknown VENDOR_REV '$(VENDOR_REV)' for MACHINE '$(MACHINE)')
14+
$(error Unknown VENDOR_REV)
15+
endif
16+
17+
# The VENDOR_VERSION string is appended to the overal ONIE version
18+
# string. HW vendors can use this to appended their own versioning
19+
# information to the base ONIE version string.
20+
# ONIE Version = onie-release version + VENDOR_VERSION
21+
VENDOR_VERSION = v06
22+
23+
# Enable UEFI support
24+
UEFI_ENABLE = yes
25+
26+
# This platform requires the PXE_EFI64 installer
27+
PXE_EFI64_ENABLE = yes
28+
29+
# Vendor ID -- IANA Private Enterprise Number:
30+
# http://www.iana.org/assignments/enterprise-numbers
31+
# Open Compute Project IANA number
32+
VENDOR_ID = 51242
33+
34+
# Enable the i2ctools
35+
I2CTOOLS_ENABLE = yes
36+
IPMITOOL_ENABLE = yes
37+
38+
# Enable ioget/ioset tools
39+
IOACCESS_ENABLE = yes
40+
41+
EXTRA_CMDLINE_LINUX = earlycon=uart8250,io,0x3f8 acpi_osi="Linux"
42+
# Enable OpenSSL
43+
OPENSSL_ENABLE = yes
44+
45+
#
46+
# Console parameters can be defined here (default values are in
47+
# build-config/arch/x86_64.make).
48+
#
49+
CONSOLE_SPEED = 115200
50+
CONSOLE_DEV = 0
51+
52+
# Set Linux kernel version
53+
LINUX_VERSION = 4.9
54+
LINUX_MINOR_VERSION = 95
55+
56+
# Older GCC required for older 3.2 kernel
57+
GCC_VERSION = 4.9.2
58+
59+
#-------------------------------------------------------------------------------
60+
#
61+
# Local Variables:
62+
# mode: makefile-gmake
63+
# End
Binary file not shown.

0 commit comments

Comments
 (0)