WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Zero USB booting and remastering  (Read 383 times)

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 293
Zero USB booting and remastering
« on: September 09, 2017, 05:48:08 AM »
Got a Clusterhat months ago and been playing with USB booting Zeros with no SD card.

Mostly been using baremetal to make a kernel.img, it's quicker

Ultibo will make small kernels but I cannot do camera stuff with it yet.
The Pi camera does work on piCore :P

I did get picore usb booting but I don' t get the tce folder stuff to work.
Looking at the files I noticed 9.0.3.gz.

Trying to figure this out I remembered something about remastering.
Ch 11 page 63 of the corebook covers remastering,  making mods to the *.gz file.
I followed the steps and made a simple change to the bootsync file changing the box name.
it worked 8)

It will take me some time to master a new image but a Zero usb booting usb camera system with 4 Zero's and one B+ is possible.
One advantage is the Zero's usb boot from the B+, so they don't need SDcards.
With no files on the sdcards it also means easier mods done remotely.

I guess the best way to do it is do a standard SD card install, add all the camera stuff and usb comms.
Then make a master of the working SDcard and pack it into a new 9.0.3.gz.

What would be the steps to doing that?