gtoal / pitrex

Support for driving Vectrex display from Raspberry Pi Zero WH
29 stars 7 forks source link

Repeatable build of Pi OS with pitrex working 'out of the box' #1

Closed mikepea closed 3 years ago

mikepea commented 3 years ago

Customers are going to want a good 'out of the box' experience with Pitrex.

This means we need to be able to provide an image of Raspberry Pi OS (or the baremetal env?) that includes our customizations and any boot menu.

Requirements

Implementation ideas

mikepea commented 3 years ago

I don't think this needs wifi configuring at a first pass, as it's not needed to be up and running playing games. This would need user input, so out of scope for this base build. We can maybe add a menu system for this in a separate issue.

gtoal commented 3 years ago

we've had the same discussions; the sticking point is that we can't supply an image with pre-loaded roms. However since the roms go on the NTFS partition, adding them can be simplified so it can be done from Windows/MacOs without the need to interact with Linux. We've always planned to supply a rom image, if not actual uSD cards pre-built.

G

On Sun, Nov 8, 2020 at 8:56 AM Mike Pountney notifications@github.com wrote:

Customers are going to want a good 'out of the box' experience with Pitrex.

This means we need to be able to provide an image of Raspberry Pi OS (or the baremetal env?) that includes our customizations and any boot menu. Acceptance Criteria

  • Image available for download that gets a non-technical user up and running.
  • Instructions on how to burn this themselves

Implementation ideas

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gtoal/pitrex/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD4V5RU4J3YJH7VKAI6D63SO2WR3ANCNFSM4TOLWGGQ .

technobly commented 3 years ago

Providing a Raspian image that is the latest, with these updates done ahead of time would be so great!

Enable SSH (blank ssh file)
Add the template for setting up Wi-Fi (wpa_supplicant.conf)
$ sudo apt-get update

$ sudo apt dist-upgrade
$ sudo apt-get install -y gcc-arm-none-eabi git-core libsdl2-dev libsdl2-2.0 libsdl2-mixer-2.0-0 libsdl2-mixer-dev alsa-oss locate

$ mkdir ~/src

$ cd ~/src

$ git clone https://github.com/gtoal/pitrex.git

$ cd ~/src/pitrex

$ sudo cp pitrex-config.sh /boot/

$ make clean all -f Makefile.raspbian
$ sudo /boot/pitrex-config.sh
disable HDMI, and it should end shortly with

These take a long time on the PiZero... and are much faster on the Pi4 (although we cannot currently use the Pi4).

technobly commented 3 years ago

we've had the same discussions; the sticking point is that we can't supply an image with pre-loaded roms.

That's ok though... the base games/demos are enough to get a user interested, if they worked out of the box. Perhaps with a menu that comes up when you turn the PiTrex on.