UNCG-DAISY / Instagrain

A camera for measuring sediment grain sizes with edge ML
MIT License
20 stars 2 forks source link

New V2 RPi image #137

Closed ebgoldstein closed 2 years ago

ebgoldstein commented 2 years ago

Make a new RPi image for v2 camera, with new model.. might require a pip udpate and a new TF interpreter version

ebgoldstein commented 2 years ago

https://www.tomshardware.com/how-to/back-up-raspberry-pi-as-disk-image

https://magpi.raspberrypi.com/articles/back-up-raspberry-pi

ebgoldstein commented 2 years ago

this is done.. I used the workflow mentioned in magpi (link above)

on my linux machine, this was:

  1. open terminal
  2. df to get the name of the volume
  3. sudo dd bs=4M if=/dev/mmcblk0 of=Instagrain.img to make the image.. (the files were /dev/mmcblk0p1 and /dev/mmcblk0p2)

    still thinking about how to shrink it and serve it... i.e., #120

ebgoldstein commented 2 years ago

the image is 32 GB. the .tar.xz is 1.2GB.. the .zip is 1.6GB..

ebgoldstein commented 2 years ago

I tested writing the image on a 32GB SD card using the Rsaaspberry Pi imager. It worked (:tada: ). @jacobstasiewicz, i will send you a link to the image, and ask that you test it too..

ebgoldstein commented 2 years ago

ok, it seems to be working.. I need to put it on Zenodo and then close this issue...

WFarebrother commented 2 years ago

@ebgoldstein If possible, can I please get a copy of the image to test? Currently attempting to put a V2 device together. Thanks!

ebgoldstein commented 2 years ago

@WFarebrother - here is a google drive link for the v2 image: https://drive.google.com/file/d/1Vkpmd04zKXRPN8tuaD6aKBoAVZ30dl68/view?usp=sharing

please let me know how you get on! and feel free to reach out if you want to discuss further!

(I am going to close this issue for now, and wait for a full zenodo release until after some testing, etc.....)