balena-io / contracts

Balena.io Base Contracts
Apache License 2.0
16 stars 28 forks source link

hw.device-type: Add bluechiptechnology-tm3 #395

Closed chrisruk closed 10 months ago

chrisruk commented 10 months ago

Change-type: patch

vipulgupta2048 commented 10 months ago

Hey @floion @chrisruk @acostach Can we get instruction partials added for this device? All builds in docs will fail if devices are added without instruction partials (We haven't implemented an ignore list for devices as of yet). Without instruction partials, the docs can't generate Getting Started guides either here: https://docs.balena.io/learn/getting-started/raspberrypi3/nodejs/

Since this uses an SD card, RPI3 and this will have the same instruction partials: https://github.com/balena-io/contracts/blob/master/contracts/hw.device-type/raspberrypi3/contract.json

chrisruk commented 10 months ago

Hi @vipulgupta2048 , currently the coffee file in https://github.com/balena-os/balena-tm3/blob/master/tm3.coffee creates an SD card image that flashes Balena OS to the eMMC, when the SD card is inserted into the SBC and it is powered on.

The SBC then shuts itself down. You then need to remove the SD card and power cycle the SBC, so that it boots from the eMMC.

Would I therefore need to base the partials on a different SBC?

vipulgupta2048 commented 10 months ago

That's completely fine. I should have mentioned that I was guessing above @chrisruk Feel free to reference several device-type contracts available to define the correct set of instruction partials for this device. The same partials will then be used to generate the Getting Started guides.