feat: multiple output modes and less logs at boot
This commit is contained in:
@@ -4,17 +4,40 @@
|
||||
|
||||
## Install
|
||||
|
||||
## 1. Prepare raspberry SD card
|
||||
|
||||
Use [raspi-imager](https://www.raspberrypi.com/software/) and select "Raspberry Pi OS Lite" (in other options)
|
||||
|
||||
## 2. Add project to rasp
|
||||
|
||||
Re-mount SD card (auto unmounted by raspi-imager)
|
||||
|
||||
```bash
|
||||
sudo apt update
|
||||
sudo apt install -y git
|
||||
sudo chmod a+rwx /opt
|
||||
cd /opt
|
||||
git clone --recursive https://git.klemek.fr/klemek/forge-invar
|
||||
cd forge-invar
|
||||
make install build
|
||||
echo 'make -C /opt/forge-invar start-weston' >> ~/.bashrc
|
||||
# host
|
||||
make -f Makefile.dev rasp-init
|
||||
```
|
||||
|
||||
## 3. Install dependencies in raspberry
|
||||
|
||||
Boot raspberry
|
||||
|
||||
```bash
|
||||
# raspberry
|
||||
cd /opt/forge-invar
|
||||
make install build
|
||||
```
|
||||
|
||||
## 4. Setup PAL output
|
||||
|
||||
Re-mount SD card
|
||||
|
||||
```bash
|
||||
# host
|
||||
make -f Makefile.dev rasp-install
|
||||
```
|
||||
|
||||
## 5. Enjoy
|
||||
|
||||
## Links
|
||||
|
||||
* https://www.raspberrypi.com/documentation/computers/config_txt.html
|
||||
@@ -34,20 +57,24 @@ echo 'make -C /opt/forge-invar start-weston' >> ~/.bashrc
|
||||
* https://electricalflux.com/mcu-raspberry/i2c-oled-display-raspberry-pi-5-wiring-code
|
||||
* https://www.raspberrypi.com/documentation/computers/configuration.html
|
||||
* https://int10h.org/oldschool-pc-fonts/fontlist/font?ibm_bios
|
||||
* https://raspberrypihq.com/use-a-push-button-with-raspberry-pi-gpio/
|
||||
|
||||
## TODO
|
||||
|
||||
Logical
|
||||
|
||||
* [x] Play on start
|
||||
* [ ] disable services for faster boot
|
||||
* [x] disable services for faster boot
|
||||
* [x] remove texts on boot
|
||||
* [ ] special texts in demo vs classic
|
||||
* [x] Save while running
|
||||
* [ ] I2C monitor screen write
|
||||
* [x] I2C monitor screen write
|
||||
* [ ] fix logs on machine
|
||||
|
||||
Physical
|
||||
|
||||
* [ ] PAL/NTSC switch
|
||||
* [ ] Sync in -> fake keyboard
|
||||
* [x] I2C screen
|
||||
* [ ] Sync in
|
||||
* [ ] buttons input (save/load states, random, reset, demo)
|
||||
* [ ] rasp compute
|
||||
* [ ] I2C screen
|
||||
* [ ] PAL/NTSC switch (hard)
|
||||
|
||||
Reference in New Issue
Block a user