1.使用直接安装的qemu模拟启动会报错:

一开始使用直接apt install安装的qemu模拟启动openBMC镜像,最后停到

qemu-system-arm: warning: I/O thread spun for 1000 iterations

然后卸载,命令:

sudo apt-get remove --auto-remove qemu*

sudo apt-get purge --auto-remove qemu*

2.git下载openBMC官网维护的qemu

再使用git命令clone官网维护的qemu….,会报错:

git clone https://github.com/openbmc/qemu.git

Cloning into 'qemu'...

fatal: unable to access 'https://github.com/openbmc/qemu.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

为解决以上错误,设置了git本地代理,命令如下:

git config --global http.proxy http://127.0.0.1:1080

git config --global https.proxy http://127.0.0.1:1080

git config --global --unset http.proxy

git config --global --unset https.proxy

然后继续:git clone https://github.com/openbmc/qemu.git

还是会报错。

Cloning into 'qemu'...

remote: Enumerating objects: 667302, done.

error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

具体原因不详,但使用如下命令就可以下载OK了

git clone git://github.com/openbmc/qemu.git

Cloning into 'qemu'...

remote: Enumerating objects: 667302, done.

remote: Total 667302 (delta 0), reused 0 (delta 0), pack-reused 667302

Receiving objects: 100% (667302/667302), 362.74 MiB | 1.01 MiB/s, done.

Resolving deltas: 100% (539042/539042), done.

3.安装openBMC维护的qemu

cd qemu/

sudo git submodule update --init dtc

sudo mkdir build

cd build/

执行sudo ../configure --target-list=arm-softmmu时会报错:

ERROR: Cannot find Ninja

然后安装nin-ja:sudo apt install ninja-build

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

ninja-build

0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.

Need to get 93.3 kB of archives.

After this operation, 296 kB of additional disk space will be used.

Get:1 http://mirrors.163.com/ubuntu bionic/universe amd64 ninja-build amd64 1.8.2-1 [93.3 kB]

Fetched 93.3 kB in 0s (473 kB/s)

Selecting previously unselected package ninja-build.

(Reading database ... 180131 files and directories currently installed.)

Preparing to unpack .../ninja-build_1.8.2-1_amd64.deb ...

Unpacking ninja-build (1.8.2-1) ...

Setting up ninja-build (1.8.2-1) ...

Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

再继续执行:sudo ../configure --target-list=arm-softmmu

还是会报错:

The Meson build system

Version: 0.55.3

Source dir: /home/laok/qemu

Build dir: /home/laok/qemu/build

Build type: native build

Project name: qemu

Project version: 6.1.0

C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")

C linker for the host machine: cc ld.bfd 2.30

Host machine cpu family: x86_64

Host machine cpu: x86_64

../meson.build:10: WARNING: Module unstable-keyval has no backwards or forwards compatibility and might not exist in future releases.

Program sh found: YES

Program python3 found: YES (/usr/bin/python3)

Program bzip2 found: YES

C++ compiler for the host machine: c++ (gcc 7.5.0 "c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")

C++ linker for the host machine: c++ ld.bfd 2.30

Program cgcc found: NO

Library m found: YES

Run-time dependency threads found: YES

Library util found: YES

Run-time dependency appleframeworks found: NO (tried framework)

Found pkg-config: /usr/bin/pkg-config (0.29.1)

Run-time dependency pixman-1 found: NO (tried pkgconfig)

../meson.build:328:2: ERROR: Dependency "pixman-1" not found, tried pkgconfig

A full log can be found at /home/laok/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

需要安装如下依赖包:

sudo apt-get install build-essential zlib1g-dev pkg-config libglib2.0-dev

sudo apt-get install binutils-dev libboost-all-dev autoconf libtool libssl-dev

sudo apt-get install libpixman-1-dev libpython-dev python-pip python-capstone virtualenv

安装完后再次执行

sudo ../configure –target-list=arm-softmmu

最后成功,然后sudo make install

4.使用qemu模拟启动openbmc镜像

sudo qemu-system-arm -m 256 -M ast2600-evb -nographic -drive file=./tmp/deploy/images/obmcProject/obmc-phosphor-image-obmcProject.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu

qemu-system-arm: warning: nic ftgmac100.0 has no peer
qemu-system-arm: warning: nic ftgmac100.2 has no peer
qemu-system-arm: warning: nic ftgmac100.3 has no peer

U-Boot 2019.04 (Oct 08 2021 - 00:31:50 +0000)

SOC: AST2600-A1
eSPI Mode: SIO:Enable : SuperIO-2e
Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII
Model: Inspur server board with AST2600 as the BMC
DRAM:  240 MiB (capacity:256 MiB, VGA:64 MiB), ECC off
PCIE-0: Link down
MMC:   emmc_slot0@100: 0
Loading Environment from SPI Flash... SF: Detected w25q512jv with page size 256 Bytes, erase size 64 KiB, total 64 MiB
*** Warning - bad CRC, using default environment

In:    serial@1e784000
Out:   serial@1e784000
Err:   serial@1e784000
Model: Inspur server board with AST2600 as the BMC
Net:   failed to get eeprom i2c device for bmc MAC!

Warning: ftgmac@1e680000 (eth1) using random MAC address - 4e:32:35:b8:f2:62
eth1: ftgmac@1e680000
Hit any key to stop autoboot:  0
## Loading kernel from FIT Image at 20100000 ...
   Using 'conf-aspeed-bmc-inspur-nf5280m7.dtb' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x20100128
     Data Size:    3724664 Bytes = 3.6 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80001000
     Entry Point:  0x80001000
     Hash algo:    sha256
     Hash value:   bc23a75076c488fae49df560f9a16b53b0d602027569ef7053327248bee55990
   Verifying Hash Integrity ... sha256+ OK
## Loading ramdisk from FIT Image at 20100000 ...
   Using 'conf-aspeed-bmc-inspur-nf5280m7.dtb' configuration
   Trying 'ramdisk-1' ramdisk subimage
     Description:  obmc-phosphor-initramfs
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x20497498
     Data Size:    1056752 Bytes = 1 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha256
     Hash value:   016c75f5ae06e91768e87c9318494c32e7cb4ff39e92c5c35404e5e93922a947
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 20100000 ...
   Using 'conf-aspeed-bmc-inspur-obmcProject.dtb' configuration
   Trying 'fdt-aspeed-bmc-inspur-obmcProject.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x2048d7bc
     Data Size:    39950 Bytes = 39 KiB
     Architecture: ARM
     Hash algo:    sha256
     Hash value:   a4bc1a9dc456aac75a752271d85e11534f87f089798337020a8e707a652d056e
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x2048d7bc
   Loading Kernel Image ... OK
   Loading Ramdisk to 8ce7b000, end 8cf7cff0 ... OK
   Loading Device Tree to 8ce6e000, end 8ce7ac0d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 5.15.24-de0980e-dirty-2973bb6 (oe-user@oe-host) (arm-openbmc-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Mon Mar 7 05:49:59 UTC 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: AST2600 EVB
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x8e000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008effffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000008effffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008effffff]
[    0.000000] percpu: Embedded 14 pages/cpu s35340 r0 d22004 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 60960
[    0.000000] Kernel command line: console=ttyS4,115200n8 root=/dev/ram rw
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 212616K/245760K available (9216K kernel code, 782K rwdata, 1812K rodata, 1024K init, 185K bss, 16760K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x30/0x498 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 27924 entries in 55 pages
[    0.000000] ftrace: allocated 55 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]     Rude variant of Tasks RCU enabled.
[    0.000000]     Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 1200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x114c1bbbeec, max_idle_ns: 440795229572 ns
[    0.000143] sched_clock: 56 bits at 1200MHz, resolution 0ns, wraps every 2199023255551ns
[    0.000345] Switching to timer-based delay loop, resolution 0ns
[    0.004560] Calibrating delay loop (skipped), value calculated using timer frequency.. 2400.00 BogoMIPS (lpj=12000000)
[    0.004889] pid_max: default: 32768 minimum: 301
[    0.006522] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.006590] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.028747] CPU: Testing write buffer coherency: ok
[    0.052833] Setting up static identity map for 0x80100000 - 0x80100060
[    0.053911] rcu: Hierarchical SRCU implementation.
[    0.057667] ASPEED AST2600 rev A1 (05010303)
[    0.060755] smp: Bringing up secondary CPUs ...
[    0.070663] smp: Brought up 1 node, 2 CPUs
[    0.070777] SMP: Total of 2 processors activated (4800.00 BogoMIPS).
[    0.070856] CPU: All CPU(s) started in SVC mode.
[    0.086062] devtmpfs: initialized
[    0.110602] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.131476] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.132274] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.137336] pinctrl core: initialized pinctrl subsystem
[    0.161369] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.185357] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.195991] hw-breakpoint: CPU 0 debug is powered down!
[    0.321889] AST2600 secure boot disabled
[    0.323846] usbcore: registered new interface driver usbfs
[    0.324187] usbcore: registered new interface driver hub
[    0.324377] usbcore: registered new device driver usb
[    0.325153] mc: Linux media interface: v0.10
[    0.325290] videodev: Linux video capture interface: v2.00
[    0.325448] pps_core: LinuxPPS API ver. 1 registered
[    0.325476] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.325584] PTP clock support registered
[    0.325744] EDAC MC: Ver: 3.0.0
[    0.354646] clocksource: Switched to clocksource arch_sys_counter
[    0.406506] NET: Registered PF_INET protocol family
[    0.408049] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.415434] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.415579] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.415753] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.415905] TCP: Hash tables configured (established 2048 bind 2048)
[    0.417182] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.417409] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.419051] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.425746] Unpacking initramfs...
[    0.434635] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.446971] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.447078] jffs2: version 2.2. (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.448847] NET: Registered PF_ALG protocol family
[    0.479005] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.490015] printk: console [ttyS4] disabled
[    0.516556] 1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 44, base_baud = 1500000) is a 16550A
[    0.545169] printk: console [ttyS4] enabled
[    0.554968] timeriomem_rng 1e6e2524.hwrng: 32bits from 0x(ptrval) @ 1us
[    0.605397] loop: module loaded
[    0.612333] random: fast init done
[    0.660757] aspeed-smc 1e620000.spi: Using 50 MHz SPI frequency
[    0.668988] aspeed-smc 1e620000.spi: w25q512jv (65536 Kbytes)
[    0.669751] aspeed-smc 1e620000.spi: CE0 window [ 0x20000000 - 0x24000000 ] 64MB
[    0.670674] aspeed-smc 1e620000.spi: CE1 window [ 0x24000000 - 0x30000000 ] 192MB
[    0.671388] aspeed-smc 1e620000.spi: read control register: 203c0041
[    0.675024] random: crng init done
[    0.822866] 5 fixed-partitions partitions found on MTD device bmc
[    0.823124] Creating 5 MTD partitions on "bmc":
[    0.823496] 0x000000000000-0x0000000e0000 : "u-boot"
[    0.829027] 0x0000000e0000-0x000000100000 : "u-boot-env"
[    0.838705] 0x000000100000-0x000000a00000 : "kernel"
[    0.849743] 0x000000a00000-0x000002a00000 : "rofs"
[    0.857572] 0x000002a00000-0x000004000000 : "rwfs"
[    0.881403] aspeed-smc 1e630000.spi: Using 100 MHz SPI frequency
[    0.882665] aspeed-smc 1e630000.spi: mx25u51245g (65536 Kbytes)
[    0.884405] aspeed-smc 1e630000.spi: CE0 window [ 0x30000000 - 0x34000000 ] 64MB
[    0.885115] aspeed-smc 1e630000.spi: CE1 window [ 0x34000000 - 0x34000000 ] 0MB (disabled)
[    0.885596] aspeed-smc 1e630000.spi: read control register: 203c0045
[    0.889832] aspeed-smc 1e630000.spi: Calibration area too uniform, using low speed
[    0.924556] ftgmac100 1e660000.ftgmac: Read MAC address 52:54:00:12:34:57 from chip
[    0.927656] RTL8211E Gigabit Ethernet 1e650000.mdio-1:00: attached PHY driver (mii_bus:phy_addr=1e650000.mdio-1:00, irq=POLL)
[    0.942739] ftgmac100 1e660000.ftgmac eth0: irq 33, mapped at ff3173b9
[    0.945035] ftgmac100 1e680000.ftgmac: Read MAC address 4e:32:35:b8:f2:62 from chip
[    0.945802] RTL8211E Gigabit Ethernet 1e650010.mdio-1:00: attached PHY driver (mii_bus:phy_addr=1e650010.mdio-1:00, irq=POLL)
[    0.948026] ftgmac100 1e680000.ftgmac eth1: irq 34, mapped at f87b4dcc
[    0.948912] ftgmac100 1e670000.ftgmac: Read MAC address 52:54:00:12:34:58 from chip
[    0.949357] RTL8211E Gigabit Ethernet 1e650008.mdio-1:00: attached PHY driver (mii_bus:phy_addr=1e650008.mdio-1:00, irq=POLL)
[    0.961406] ftgmac100 1e670000.ftgmac eth2: irq 35, mapped at 35ff49f5
[    0.962485] ftgmac100 1e690000.ftgmac: Read MAC address 52:54:00:12:34:59 from chip
[    0.962930] RTL8211E Gigabit Ethernet 1e650018.mdio-1:00: attached PHY driver (mii_bus:phy_addr=1e650018.mdio-1:00, irq=POLL)
[    0.974781] ftgmac100 1e690000.ftgmac eth3: irq 36, mapped at 27ff91fc
[    0.975457] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.975908] ehci-platform: EHCI generic platform driver
[    0.988844] ehci-platform 1e6a1000.usb: EHCI Host Controller
[    0.989719] ehci-platform 1e6a1000.usb: new USB bus registered, assigned bus number 1
[    1.006535] ehci-platform 1e6a1000.usb: irq 37, io mem 0x1e6a1000
[    1.044129] ehci-platform 1e6a1000.usb: USB 2.0 started, EHCI 1.00
[    1.051495] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.051794] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.052108] usb usb1: Product: EHCI Host Controller
[    1.052382] usb usb1: Manufacturer: Linux 5.15.24-de0980e-dirty-2973bb6 ehci_hcd
[    1.052710] usb usb1: SerialNumber: 1e6a1000.usb
[    1.059367] hub 1-0:1.0: USB hub found
[    1.061536] hub 1-0:1.0: 6 ports detected
[    1.084110] ehci-platform 1e6a3000.usb: EHCI Host Controller
[    1.084491] ehci-platform 1e6a3000.usb: new USB bus registered, assigned bus number 2
[    1.101231] ehci-platform 1e6a3000.usb: irq 38, io mem 0x1e6a3000
[    1.124545] ehci-platform 1e6a3000.usb: USB 2.0 started, EHCI 1.00
[    1.125911] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.126290] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.126631] usb usb2: Product: EHCI Host Controller
[    1.126864] usb usb2: Manufacturer: Linux 5.15.24-de0980e-dirty-2973bb6 ehci_hcd
[    1.127181] usb usb2: SerialNumber: 1e6a3000.usb
[    1.128605] hub 2-0:1.0: USB hub found
[    1.128866] hub 2-0:1.0: 6 ports detected
[    1.136730] aspeed-rtc 1e781000.rtc: registered as rtc0
[    1.137074] aspeed-rtc 1e781000.rtc: hctosys: unable to read the hardware clock
[    1.138089] i2c_dev: i2c /dev entries driver
[    1.145409] aspeed-i2c-bus 1e78a080.i2c-bus: i2c bus 0 registered, irq 45
[    1.149735] aspeed-i2c-bus 1e78a100.i2c-bus: i2c bus 1 registered, irq 46
[    1.152046] aspeed-i2c-bus 1e78a180.i2c-bus: i2c bus 2 registered, irq 47
[    1.155544] aspeed-i2c-bus 1e78a200.i2c-bus: i2c bus 3 registered, irq 48
[    1.157131] aspeed-i2c-bus 1e78a280.i2c-bus: i2c bus 4 registered, irq 49
[    1.158409] aspeed-i2c-bus 1e78a300.i2c-bus: i2c bus 5 registered, irq 50
[    1.161564] aspeed-i2c-bus 1e78a380.i2c-bus: i2c bus 6 registered, irq 51
[    1.165540] aspeed-i2c-bus 1e78a400.i2c-bus: i2c bus 7 registered, irq 52
[    1.168075] aspeed-i2c-bus 1e78a480.i2c-bus: i2c bus 8 registered, irq 53
[    1.170134] aspeed-i2c-bus 1e78a500.i2c-bus: i2c bus 9 registered, irq 54
[    1.171902] aspeed-i2c-bus 1e78a680.i2c-bus: i2c bus 12 registered, irq 55
[    1.175856] aspeed-i2c-bus 1e78a700.i2c-bus: i2c bus 13 registered, irq 56
[    1.180750] aspeed-i2c-bus 1e78a780.i2c-bus: i2c bus 14 registered, irq 57
[    1.185733] aspeed-i2c-bus 1e78a800.i2c-bus: i2c bus 15 registered, irq 58
[    1.187581] Driver for 1-wire Dallas network protocol.
[    1.196002] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    1.198963] sdhci: Secure Digital Host Controller Interface driver
[    1.199464] sdhci: Copyright(c) Pierre Ossman
[    1.199791] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.206032] aspeed-g6-pinctrl 1e6e2000.syscon:pinctrl: pin D26 already requested by 1e690000.ftgmac; cannot claim for 1e780000.gpio:848
[    1.206698] aspeed-g6-pinctrl 1e6e2000.syscon:pinctrl: pin-32 (1e780000.gpio:848) status -22
[    1.207501] leds-gpio: probe of leds failed with error -22
[    1.210543] usbcore: registered new interface driver usbhid
[    1.210872] usbhid: USB HID core driver
[    1.212638] SPI driver bmp280 has no spi_device_id for bosch,bmp085
[    1.235025] sdhci-aspeed 1e750100.sdhci: Configured for slot 0
[    1.237609] fsi-master-aspeed 1e79b000.fsi: hub version e0050101 (1 links)
[    1.238523] fsi-master-aspeed 1e79b000.fsi: mmode set to 70040110 (divisor 1)
[    1.290773] NET: Registered PF_INET6 protocol family
[    1.319494] mmc0: SDHCI controller on 1e750100.sdhci [1e750100.sdhci] using ADMA
[    1.322385] Segment Routing with IPv6
[    1.322959] In-situ OAM (IOAM) with IPv6
[    1.326961] NET: Registered PF_PACKET protocol family
[    1.328411] 8021q: 802.1Q VLAN Support v1.8
[    1.330312] Registering SWP/SWPB emulation handler
[    1.365596] sdhci-aspeed 1e740100.sdhci: Configured for slot 0
[    1.365977] sdhci-aspeed 1e740200.sdhci: Configured for slot 1
[    1.370916] printk: console [netcon0] enabled
[    1.371775] netconsole: network logging started
[    1.404743] mmc1: SDHCI controller on 1e740100.sdhci [1e740100.sdhci] using ADMA
[    1.418859] mmc2: SDHCI controller on 1e740200.sdhci [1e740200.sdhci] using ADMA
[    1.628796] Freeing initrd memory: 1032K
[    1.680516] Freeing unused kernel image (initmem) memory: 1024K
[    1.742785] Checked W+X mappings: passed, no W+X pages found
[    1.744503] Run /init as init process
rofs = mtd4 squashfs rwfs = mtd5 jffs2
[    4.149536] jffs2: notice: (113) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (12 unchecked, 1 orphan) and 27 of xref (1 dead, 0 orphan) found.
[    4.374296] overlayfs: upper fs does not support tmpfile.
[    7.055698] systemd[1]: Failed to look up module alias 'autofs4': Function not implemented
[    7.248062] systemd[1]: systemd 250.3+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON -UTMP +SYSVINIT default-hierarchy=hybrid)
[    7.256052] systemd[1]: Detected architecture arm.

Welcome to Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) None!

[    7.436509] systemd[1]: Hostname set to <nf5180m7>.
[    8.878293] systemd[124]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[   11.283998] systemd[1]: /lib/systemd/system/phosphor-ipmi-net@.socket:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device
[   11.434580] systemd[1]: Queued start job for default target Multi-User System.
[   11.481729] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   11.499951] systemd[1]: Created slice Slice /system/hostlogger.
[  OK  ] Created slice Slice /system/hostlogger.
[   11.512248] systemd[1]: Created slice Slice /system/mapper-wait.
[  OK  ] Created slice Slice /system/mapper-wait.
[   11.528233] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   11.539496] systemd[1]: Created slice Slice /system/obmc-console.
[  OK  ] Created slice Slice /system/obmc-console.
[   11.552738] systemd[1]: Created slice Slice /system/obmc-led-group-start.
[  OK  ] Created slice Slice /system/obmc-led-group-start.
[   11.563391] systemd[1]: Created slice Slice /system/phosphor-certificate-manager.
[  OK  ] Created slice Slice /system/phosphor-certificate-manager.
[   11.576114] systemd[1]: Created slice Slice /system/phosphor-ipmi-kcs.
[  OK  ] Created slice Slice /system/phosphor-ipmi-kcs.
[   11.587977] systemd[1]: Created slice Slice /system/phosphor-ipmi-net.
[  OK  ] Created slice Slice /system/phosphor-ipmi-net.
[   11.602995] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   11.613564] systemd[1]: Created slice Slice /system/xyz.openbmc_project.Chassis.Control.Power.
[  OK  ] Created slice Slice /syste…project.Chassis.Control.Power.
[   11.628566] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   11.634764] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   11.638981] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   11.644595] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   11.649714] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   11.653970] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   11.679575] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   11.728435] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[   11.734294] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   11.745492] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[   11.756601] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   11.781504] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   11.798390] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   11.822512] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   11.831573] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   11.846328] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[   11.852084] systemd[1]: POSIX Message Queue File System was skipped because of a failed condition check (ConditionPathExists=/proc/sys/fs/mqueue).
[   11.896238] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   11.942210] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   12.038500] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[   12.055461] systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/5.15.24-de0980e-dirty-2973bb6/modules.devname).
[   12.155945] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   12.203316] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   12.217125] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[   12.341632] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   12.402882] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
[   12.444813] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network …ts from Kernel command line...
[   12.523188] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   12.623477] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   12.728581] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   13.372017] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   13.423105] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   13.735432] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   13.782394] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   13.814756] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   13.841117] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   13.869895] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   13.887262] systemd[1]: Finished Generate network units from Kernel command line.
[  OK  ] Finished Generate network units from Kernel command line.
[   13.902851] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[   13.916391] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[   13.933118] systemd[1]: Reached target Preparation for Network.
[  OK  ] Reached target Preparation for Network.
[   13.950193] systemd[1]: FUSE Control File System was skipped because of a failed condition check (ConditionPathExists=/sys/fs/fuse/connections).
[   13.977547] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   14.035345] systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
[   14.037642] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   14.041905] systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
[   14.099674] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   14.302297] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[   15.021383] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Static Device Nodes in /dev.
[   15.057413] systemd[1]: Reached target Preparation for Local File Systems.
[  OK  ] Reached target Preparation for Local File Systems.
[   15.204396] systemd[1]: Mounting /var/volatile...
         Mounting /var/volatile...
[   15.303541] systemd[1]: Starting Rule-based Manager for Device Events and Files...
         Starting Rule-based Manage…for Device Events and Files...
[   15.612428] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted /var/volatile.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
[  OK  ] Finished Load/Save Random Seed.
[   16.260524] systemd-journald[138]: Received client request to flush runtime journal.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting Network Configuration...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
[  OK  ] Started Network Configuration.
         Starting Wait for Network to be Configured...
         Starting Network Name Resolution...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[  OK  ] Finished Coldplug All udev Devices.
         Starting Wait for udev To …plete Device Initialization...
[   22.451734] ftgmac100 1e680000.ftgmac eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[   22.456113] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   22.657299] ftgmac100 1e670000.ftgmac eth2: Link is Up - 100Mbps/Full - flow control rx/tx
[   22.657795] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[   23.018095] ftgmac100 1e660000.ftgmac eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   23.018598] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[*     ] (1 of 3) A start job is running for… Initialization (905ms / 2min 59s)
[   23.444859] ftgmac100 1e690000.ftgmac eth3: Link is Up - 100Mbps/Full - flow control rx/tx
[  OK  ] Created slice Slice /syste…penbmc_project.led.controller.
         Starting Load Kernel Module fuse...
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Finished Wait for udev To Complete Device Initialization.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on BMC Webserver socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on Phosphor Host…ole SSH Per-Connection socket.
[  OK  ] Listening on phosphor-ipmi-net@eth0.socket.
[  OK  ] Reached target Socket Units.
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Start bmcweb server.
         Starting Clear one time boot overrides...
         Starting SSH Key Generation...
[  OK  ] Started i2c set Cpld info for nf5180m7 tx motherboard.
[  OK  ] Started LPC Snoop Daemon.
         Starting Name Service Cache Daemon...
         Starting LDAP daemon...
[  OK  ] Started ttyVUART0 Console Server.
[  OK  ] Started Host logger for ttyVUART0.
[  OK  ] Started Phosphor Dump core monitor..
[  OK  ] Started Phosphor certificate manager for authority.
[  OK  ] Started Phosphor certificate manager for bmcweb.
[  OK  ] Started Phosphor certificate manager for nslcd.
         Starting BMC health monitoring...
[  OK  ] Started phosphor systemd target monitor.
[  OK  ] Started Lightweight SLP Server.
         Starting OpenBMC ipKVM daemon...
         Starting Permit User Sessions...
         Starting Enable Linux trace events in the boot loader...
         Starting Intel Power Control for the Host 0...
         Starting Phosphor Dump Manager...
         Starting Entity Manager...
[  OK  ] Started Fru Device.
         Starting Phosphor LDAP privilege mapper...
[  OK  ] Started IPMI SEL Logging Service.
         Starting Phosphor Log Manager...
         Starting Phosphor DBus Service Discovery Manager...
         Starting Phosphor Settings Daemon...
         Starting Phosphor Download Manager...
         Starting Post code manager...
         Starting Rsyslog config updater...
         Starting Telemetry...
         Starting Phosphor User Manager...
[  OK  ] Started Phosphor sysfs LED controller.
[  OK  ] Started Phosphor sysfs LED controller.
[  OK  ] Started Phosphor sysfs LED controller.
[  OK  ] Finished SSH Key Generation.
[  OK  ] Started Name Service Cache Daemon.
[  OK  ] Started OpenBMC ipKVM daemon.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Finished Enable Linux trace events in the boot loader.
[  OK  ] Finished Clear one time boot overrides.
[  OK  ] Started LDAP daemon.
[  OK  ] Started Phosphor DBus Service Discovery Manager.
[  OK  ] Started BMC health monitoring.
[  OK  ] Started Telemetry.
[  OK  ] Started Intel Power Control for the Host 0.
[  OK  ] Started Phosphor LDAP privilege mapper.
[  OK  ] Started Post code manager.
[  OK  ] Started Phosphor Log Manager.
[  OK  ] Started Phosphor Download Manager.
[  OK  ] Started Phosphor Settings Daemon.
[  OK  ] Started Rsyslog config updater.
[  OK  ] Started Phosphor Dump Manager.
[  OK  ] Started Entity Manager.
[  OK  ] Reached target Phosphor Object Mapper.
         Stopping Host logger for ttyVUART0...
[  OK  ] Stopped LPC Snoop Daemon.
[  OK  ] Started LPC Snoop Daemon.
         Starting Wait for /xyz/ope…control/host0/boot/one_time...
         Starting Wait for /xyz/ope…_project/control/host0/boot...
         Starting Wait for /xyz/ope…/host0/power_restore_policy...
         Starting Wait for /xyz/ope…trol/host0/restriction_mode...
         Starting Wait for /xyz/ope…oject/led/groups/bmc_booted...
         Starting Wait for /xyz/ope…mc_project/time/sync_method...
[  OK  ] Started Phosphor DBus Monitor.
         Starting Ramoops monitor....
[  OK  ] Started Serial Getty on ttyS4.
[  OK  ] Reached target Login Prompts.
         Starting Hostname Service...
         Starting Phosphor LED Group Management Daemon...
         Starting Phosphor Ldap config updater...
         Starting Phosphor SNMP conf Manager...
         Starting Phosphor Network Manager...
         Starting OpenBMC Software Update Manager...
         Starting Phosphor BMC State Manager...
[  OK  ] Started Adc Sensor.
[  OK  ] Started CPU Sensor.
[  OK  ] Started Exit Air Temp Sensor.
[  OK  ] Started External Sensor.
[  OK  ] Started Fan Sensor.
[  OK  ] Started Phosphor-Pid-Contr…rgin-based Fan Control Daemon.
[  OK  ] Started Hwmon Temp Sensor.
[  OK  ] Started Intrusion Sensor.
[  OK  ] Started IPMB Sensor.
[  OK  ] Started MCU Temp Sensor.
[  OK  ] Started PSU Sensor.
[  OK  ] Finished Wait for Network to be Configured.

Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) nodistro.0 obmcProject ttyS4

obmcProject login: [  OK  ] Stopped Host logger for ttyVUART0.

登录openbmc的web

登录web使用本地ip地址https://localhost:2443/

安装和使用openBMC官网维护的qemu相关推荐

  1. 炉石传说服务器维护有补偿吗,炉石传说官网维护补偿什么时候到 未到原因说明...

    炉石传说官网维护补偿什么时候到 未到原因说明 来源:www.18183.com作者:雾里看海时间:2017-01-23 炉石传说官网维护补偿发放已经有一段时间了,为什么有的玩家补偿还没收到,可能有如下 ...

  2. 怎么下载并安装python_怎么下载官网python并安装

    怎么下载官网python并安装? 百度搜索Python官网. 看到上图显示官网的没,点击进入. 把鼠标移到downloads上,然后看到下拉选项,点击Windows. 然后看到如下界面. 这么多的安装 ...

  3. gitlab安装教程、gitlab官网、英文文档

    gitlab官网 https://about.gitlab.com/ gitlab安装和官网英文文档 https://about.gitlab.com/downloads/ 清华大学tuna镜像源 G ...

  4. 安装Rstudio-server,使用官网的程序下载安装不合理?其对应的安装包是Ubuntu14,而我的系统是Ubuntu18.

    Rstudio-server网站下载的显示: Debian 8 / Ubuntu To download and install RStudio Server open a terminal wind ...

  5. 黑苹果详细安装教程-基于OpenCore官网指导-UPUPMO(macOS Monterey)

    文章大纲 01. 必备知识 02. 作者当前硬件说明 03. 主板 BIOS 版本升级 04. 确定声卡.网卡信息 05. 配置 EFI 驱动 06. 配置 ACPI(SSDTs) 07. 配置 co ...

  6. java安装教程(解决官网下载的安装包为什么没有jre?)

    官网下载的安装包为什么没有jre? 如果进入的是这个网站:https://www.java.com/zh-CN/download/ 那下载下来的不是jdk而就是jre 而我们想要的是jdk,那么就进入 ...

  7. VMware Workstation下载与安装(适用于在官网注册好账号的朋友,许可证秘钥请自行网上搜索获取)

    一.VMware Workstation下载 第一步:点击下方"Resources"链接,进入Vmware官网(本教程适用于已经在官网注册好账号并已经进行登陆的朋友): Resou ...

  8. kali Linux 安装火狐浏览器(从官网下载安装包)

    下载 从官网直接下载安装包, 下载好后是这样一个文件: 解压 tar -xvf Firefox-latest-x86_64.tar.bz2 移动 mv firefox /usr/lib 权限不够加su ...

  9. maven安装_如何从官网下载Maven与安装Maven

    1 打开浏览器,输入http://maven.apache.org/ 2 点击左侧的Download 3 向下滚动页面,点击apache-maven-3.6.0-bin.zip,下载最新的压缩包 4 ...

  10. FreeBSD 图解安装--转自panabit官网

    本文档是标准的FreeBSD 8.0安装过程,如果没有时间下载600M多的FreeBSD 8.0安装光盘和编译内核等,仅希望少量下载,不愿意编译内核,则可以下载18M的Panabit Live CD光 ...

最新文章

  1. Android -- TouchDelegate
  2. ajax制作表格,Ajax实现表格实时编辑(示例代码)
  3. VBox虚拟机仅主机模式时,出现connetct:Network is unreachable,解决方法
  4. Java中的与、或、非以及异或( | ~ ^)运算符的运算原理
  5. grub2的配置文件grub.cfg详解
  6. 深入了解这些Java框架,看看哪个更适合你?
  7. Linux 编译 mysql
  8. Linux 命令之 hostnamectl -- 查看/修改当前主机的信息
  9. 鉴定5分钟,准确率95.64% | 微生物所付钰组实现了微生物单细胞水平的快速准确鉴定...
  10. Android中的savedInstanceState
  11. Address already in use: bind JVM端口被占用解决方法
  12. jsf标签,jsp标签与jstl标签
  13. st.getParameter() 和request.getAttribute() 区别 https://terryjs.iteye.com/blog/1317610
  14. rms 公式 有效值_真有效值RMS定义及推导
  15. 2017年美亚杯资格赛 个人赛 writeup
  16. 泰勒级数定义及相关展开式
  17. 忧郁的蓝色手机专业论坛
  18. 秋叶PPT高效训练营笔记 —— Day 1素材
  19. 判断平面图的库拉托夫斯基定理
  20. 多图上传以及多图排序的方法及流程详解

热门文章

  1. html的url中写什么意思,html中url指的是什么意思
  2. 网站不收录的原因和提高网站收录量的方法
  3. 80004005 mysql_数据库报错80004005
  4. 2022Android高级面试题汇总解答,2022-2022阿里巴巴安卓面试真题解析
  5. 前馈神经网络(Feedforward neural network)
  6. 硅谷的精神火种——多元化和天马行空(三)
  7. Rayson API 框架分析系列之2:API服务开发
  8. deficit记忆_背单词:不要让“捷径”欺骗你的记忆
  9. 服务器自建云存储,如何搭建私有云?私有云储存服务器NAS搭建方法(轻松搞定)...
  10. 基于单片机波形发生器设计(c语言),基于51单片机的波形发生器的设计