在Cloud Edge 100S G2上玩耍
1. 将(某物)拆分开
-
- CPU:Intel Atom® Processor C3558
- (2.20GHz,4C4T)
-
- メモリ:ADATA DDR4-2666 SO-DIMM 8GB
- (1スロット使用、空きなし)
-
- SSD:ADATA IM2S3168-064GD
- (SATA III,64GB,3D TLC)
NIC
Intel Corporation I211 Gigabit Network Connection (rev 03)
Intel Corporation I211 Gigabit Network Connection (rev 03)
Intel Corporation Ethernet Connection X553 Backplane (rev 11)
Intel Corporation Ethernet Connection X553 Backplane (rev 11)
拡張:mini PCIeが2つとPCIe x4が1つ
这个结构很奢华啊。
虽然使用需要改造机箱,但没想到居然需要PCIe x4。
插上Wi-Fi卡到mini PCIe应该很有趣。
另外,与Cloud Edge CE100不同的是,这个是x64的。
2. 嬉戏
那么让我们开始玩吧。
Cloud Edge CE100 G2没有视听端口,因此我们将通过串行控制台进行操作。
串行控制台配有RJ-45连接器,并可通过与Cisco兼容的电缆连接,速率为115200bps,数据位为8位,停止位为1位,无奇偶校验,无流控制。
启动后,您可以按下Del键进入BIOS。
BIOS的样子大概是这样的。
Aptio Setup Utility - Copyright (C) 2019 American Megatrends, Inc.
Main Advanced IntelRCSetup Security Boot Save & Exit
/----------------------------------------------------+-------------------------\
| BIOS Information |Set the Date. Use Tab |
| BIOS Vendor American Megatrends |to switch between Date |
| Core Version 5.13 0.36 x64 |elements. |
| Compliancy UEFI 2.6; PI 1.4 |Default Ranges: |
| BIOS Version FNCB1512Z00006V202 |Year: 2005-2099 |
| Build Date and Time 04/29/2019 14:33:39 |Months: 1-12 |
| Access Level Administrator |Days: dependent on month |
| | |
| System Date [Wed 06/21/2023] | |
| System Time [01:31:50] |-------------------------|
| |><: Select Screen |
| |^v: Select Item |
| |Enter: Select |
| |+/-: Change Opt. |
| |F1: General Help |
| |F2: Previous Values |
| |F3: Optimized Defaults |
| |F4: Save & Exit |
| |ESC: Exit |
\----------------------------------------------------+-------------------------/
Version 2.19.1266. Copyright (C) 2019 American Megatrends, Inc.
看了一下启动选项,发现了USB设备的字样。
似乎可以进行USB引导启动。
太好了!
Aptio Setup Utility - Copyright (C) 2019 American Megatrends, Inc.
Main Advanced IntelRCSetup Security Boot Save & Exit
/----------------------------------------------------+-------------------------\
| Boot Configuration |Number of seconds to |
| Setup Prompt Timeout 1 |wait for setup |
| Bootup NumLock State [On] |activation key. |
| Quiet Boot [Disabled] |65535(0xFFFF) means |
| |indefinite waiting. |
| Boot mode select [LEGACY] | |
| | |
| FIXED BOOT ORDER Priorities | |
| Boot Option #1 [USB Device] | |
| Boot Option #2 [Hard Disk] |-------------------------|
| Boot Option #3 [Hard Disk1: |><: Select Screen |
| ADATA_IM2S3168-064GD] |^v: Select Item |
| |Enter: Select |
|> Hard Disk Drive 1 BBS Priorities |+/-: Change Opt. |
| |F1: General Help |
| |F2: Previous Values |
| |F3: Optimized Defaults |
| |F4: Save & Exit |
| |ESC: Exit |
\----------------------------------------------------+-------------------------/
Version 2.19.1266. Copyright (C) 2019 American Megatrends, Inc.
既然知道可以使用USB引导,那我们立即来安装debian 6.1.0-9-amd64。
第一步,创建安装媒体。
第二步
将控制台电缆插入RS-232端口,将LAN电缆插入管理端口,将安装媒体插入USB端口。
第三步
启动。
**************************************************
* Debian GNU/Linux installer menu (BIOS mode) *
**************************************************
* Graphical install *
* Install *
* Advanced options > *
* Accessible dark contrast installer menu > *
* Help *
* Install with speech synthesis *
* *
* *
* *
* *
Press a key, otherwise speech synthesis will be started in 22 seconds...
Press ENTER to boot or TAB to edit a menu entry
当出现这个界面时,请选择“帮助”。然后,在“启动:”处输入
install console=ttyS0,115200n8
输入并按下Enter键。
虽然会显示错误和警告,但按下Enter键约3次后,您将能够使用串行控制台进行安装处理。
之后,您可以像通常安装一样继续进行。
3. 特典
root@debian:~# uname -a
Linux debian 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux
root@debian:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 791M 500K 790M 1% /run
/dev/mapper/debian--vg-root 57G 936M 54G 2% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 455M 59M 372M 14% /boot
tmpfs 791M 0 791M 0% /run/user/0
root@debian:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 59.6G 0 disk
tqsda1 8:1 0 487M 0 part /boot
tqsda2 8:2 0 1K 0 part
mqsda5 8:5 0 59.1G 0 part
tqdebian--vg-root 254:0 0 58.2G 0 lvm /
mqdebian--vg-swap_1 254:1 0 976M 0 lvm [SWAP]
root@debian:~# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor C3000 Series System Agent (rev 11)
00:04.0 Host bridge: Intel Corporation Atom Processor C3000 Series Error Registers (rev 11)
00:05.0 Generic system peripheral [0807]: Intel Corporation Atom Processor C3000 Series Root Complex Event Collector (rev 11)
00:06.0 PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated QAT Root Port (rev 11)
00:09.0 PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #0 (rev 11)
00:0b.0 PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #2 (rev 11)
00:0c.0 PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #3 (rev 11)
00:0e.0 PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #4 (rev 11)
00:0f.0 PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #5 (rev 11)
00:12.0 System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host (rev 11)
00:13.0 SATA controller: Intel Corporation Atom Processor C3000 Series SATA Controller 0 (rev 11)
00:15.0 USB controller: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI Controller (rev 11)
00:16.0 PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated LAN Root Port #0 (rev 11)
00:18.0 Communication controller: Intel Corporation Atom Processor C3000 Series ME HECI 1 (rev 11)
00:1c.0 SD Host controller: Intel Corporation Device 19db (rev 11)
00:1f.0 ISA bridge: Intel Corporation Atom Processor C3000 Series LPC or eSPI (rev 11)
00:1f.2 Memory controller: Intel Corporation Atom Processor C3000 Series Power Management Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Atom Processor C3000 Series SMBus controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Atom Processor C3000 Series SPI Controller (rev 11)
01:00.0 Co-processor: Intel Corporation Atom Processor C3000 Series QuickAssist Technology (rev 11)
05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
07:00.0 Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane (rev 11)
07:00.1 Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane (rev 11)
root@debian:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@debian:~# ip a | grep ^[0-9]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
2: enp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
3: enp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
4: enp7s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
5: enp7s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
root@debian:~# cat /proc/cpuinfo | less
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 95
model name : Intel(R) Atom(TM) CPU C3558 @ 2.20GHz
stepping : 1
microcode : 0x38
cpu MHz : 2201.156
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 21
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstoptherm arat pln pts md_clear arch_capabilities
apic_reg vid ple shadow_vmcs
bugs : spectre_v1 spectre_v2 spec_store_bypass
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 95
model name : Intel(R) Atom(TM) CPU C3558 @ 2.20GHz
stepping : 1
microcode : 0x38
cpu MHz : 2200.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 4
cpu cores : 4
apicid : 8
initial apicid : 8
fpu : yes
fpu_exception : yes
cpuid level : 21
wp : yes
therm arat pln pts md_clear arch_capabilities
apic_reg vid ple shadow_vmcs
bugs : spectre_v1 spectre_v2 spec_store_bypass
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 95
model name : Intel(R) Atom(TM) CPU C3558 @ 2.20GHz
stepping : 1
microcode : 0x38
cpu MHz : 2200.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 10
cpu cores : 4
apicid : 20
initial apicid : 20
fpu : yes
fpu_exception : yes
cpuid level : 21
wp : yes
therm arat pln pts md_clear arch_capabilities
apic_reg vid ple shadow_vmcs
bugs : spectre_v1 spectre_v2 spec_store_bypass
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 95
model name : Intel(R) Atom(TM) CPU C3558 @ 2.20GHz
stepping : 1
microcode : 0x38
cpu MHz : 2200.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 14
cpu cores : 4
apicid : 28
initial apicid : 28
fpu : yes
fpu_exception : yes
cpuid level : 21
wp : yes
therm arat pln pts md_clear arch_capabilities
apic_reg vid ple shadow_vmcs
bugs : spectre_v1 spectre_v2 spec_store_bypass
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management: