Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mikepea opened this issue Nov 8, 2020 · 4 comments
Closed

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

mikepea opened this issue Nov 8, 2020 · 4 comments

Comments

@mikepea
Copy link
Contributor

mikepea commented Nov 8, 2020

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

  • Image available for download that gets a non-technical user up and running.
  • Instructions on how to burn this to an SD Card
  • Image can be rebuilt easily (automatically, ideally)

Implementation ideas

@mikepea
Copy link
Contributor Author

mikepea commented Nov 8, 2020

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
Copy link
Owner

gtoal commented Nov 8, 2020 via email

@technobly
Copy link

technobly commented Nov 9, 2020

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
Copy link

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.

ComputerNerdKev added a commit that referenced this issue Nov 24, 2020
Fixes #1 -- Add Vagrant+Packer based automated Pi OS img build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants