Update README.md

pull/5/head
Amt921 5 years ago committed by GitHub
parent 9b3f7e8322
commit 1727ab2e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,20 +28,99 @@ Here is a diagram of how you connect all of the pieces:
![Screenshot](image2.png)
The detailed process is to:
- Connect the Pi3 to the relay board using this method: http://youtu.be/oaf_zQcrg7g
- Connect the Pi0 to the Pi3 using this method: https://www.thepolyglotdeveloper.com/2017/02/connect-raspberry-pi-pi-zero-usb-ttl-serial-cable/. You do not need to supply power to the Pi0, it will get power via the GPIO pins.
- Plug the easycap device and the USB TTL device into the USB ports on the Pi3
- Connect the HDMI out of your computer into the HDMI to S-Video box, and connect it to the EasyCap device via an S-Video cable
- Connect the Pi0 to the server via a microUSB to USB male cable
## Quick Install
The quick method of installation is to simply run the install script on the Pi3 as the `pi` user:
```
wget https://raw.githubusercontent.com/Fmstrat/diy-ipmi/master/install.sh
chmod +x install.sh
./install.sh
git clone https://github.com/pi-kvm/pi-builder
make binfmt os BOARD=rpi3 STAGES="__init__ os watchdog ro __cleanup__"
cat .build/Dockerfile
find .build/stages
можешь запустить make shell
оно тебе даст поковыряться в армовом корне
CARD ?= /dev/sdb
CARD_BOOT ?= $(CARD)1
CARD_ROOT ?= $(CARD)2
попробуешь снова собрать?
git checkout .
git pull
<поправить путь к карточке в Makefile>
make binfmt os BOARD=rpi3 BUILD_OPTS=--no-cache STAGES="__init__ os watchdog ro sshkeygen __cleanup__"
make install
git clone https://github.com/pi-kvm/os
отредактируй мейкфайл
потом делай make v1-vga-rpi3
потом make install
в начале файла будет пачка переменных
.......................................................................................................
CARD ?= /dev/sdb
CARD_BOOT ?= $(CARD)1
CARD_ROOT ?= $(CARD)2
BOARD ?= rpi2
PLATFORM ?= v1-vga
STAGES ?= "__init__ os watchdog ro pikvm-common-init pikvm-$(PLATFORM) pikvm-common-final rootssh sshkeygen __cleanup__"
BUILD_OPTS ?=
HOSTNAME ?= pikvm
LOCALE ?= en_US.UTF-8
TIMEZONE ?= Europe/Moscow
REPO_URL ?= http://mirror.yandex.ru/archlinux-arm
WEBUI_ADMIN_PASSWD ?= admin
.......................................................................................................
заменяешь CARD, в STAGES убираешь rootssh, потом билдишь
make v1-vga-rpi3
make install
всё
пользователь в морду admin, пароль admin
mdevaevВчера в 17:36
если есть время - попробуй пересобрать квм
я там всякой мелочи прикольной допилил
только надо в os сделать make clean-all
и в самом репе сделать git pull
много перепилил
чекни урл /extras/webterm/gotty/
там консоль
1.
make clean-all
git checkout .
git pull
2.
nano Makefile
CARD ?= /dev/sdb
CARD_BOOT ?= $(CARD)1
CARD_ROOT ?= $(CARD)2
3.
make v1-vga-rpi3
make install
make clean-all
git pull --rebase
make v1-vga-rpi3
make install
make v1-vga-rpi3 install
```
Everything will be done on the Pi3 and Pi0 automatically with the video input defaulting to s-video.

Loading…
Cancel
Save