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

hw.device-type: Modify bluechiptechnology-tm3 #398

Merged
merged 1 commit into from
Oct 19, 2023
Merged

hw.device-type: Modify bluechiptechnology-tm3 #398

merged 1 commit into from
Oct 19, 2023

Conversation

chrisruk
Copy link
Contributor

Change-type: patch

I found https://github.com/balena-io/contracts/blob/master/contracts/hw.device-type/rockpi-4b-rk3399/contract.json and https://docs.balena.io/learn/getting-started/rockpi-4b-rk3399/nodejs/ which appear to have the same installation process

Which I've adapted below -

  • Wait for writing of balenaOS to complete.
  • Remove the SD card from the host machine.
  • Insert the freshly flashed SD card into the TM3
  • Warning! This will also completely erase internal storage medium, so please make a backup first.
  • Connect power to the TM3
  • Wait for the TM3 to finish flashing and shutdown. Please wait until screen and Ethernet green LED are off.
  • Remove the SD card from the TM3.
  • Remove and re-connect power to the TM3 to boot the device.

I wasn't quite sure how the 'partials' maps to the above text though.

Change-type: patch
Signed-off-by: Chris Richardson <[email protected]>
@chrisruk
Copy link
Contributor Author

chrisruk commented Oct 18, 2023

I'm just wondering also if I should change

    "storage": {
      "internal": true
    },
    "media": {
      "defaultBoot": "sdcard",
      "altBoot": ["internal"]
    },

To:

    "storage": {
      "internal": true
    },
    "media": {
      "defaultBoot": "internal",
      "altBoot": ["sdcard"]
    },

Originally I thought the first syntax was correct, as the TM3 boots from an SD card if one is inserted and otherwise boots from eMMC.

But now I'm thinking because we're using a 'flashing' image, we should use the latter syntax, as Balena will generally be run from eMMC?

@floion
Copy link
Contributor

floion commented Oct 19, 2023

I'm just wondering also if I should change

    "storage": {
      "internal": true
    },
    "media": {
      "defaultBoot": "sdcard",
      "altBoot": ["internal"]
    },

To:

    "storage": {
      "internal": true
    },
    "media": {
      "defaultBoot": "internal",
      "altBoot": ["sdcard"]
    },

Originally I thought the first syntax was correct, as the TM3 boots from an SD card if one is inserted and otherwise boots from eMMC.

But now I'm thinking because we're using a 'flashing' image, we should use the latter syntax, as Balena will generally be run from eMMC?

Hi, yes, please make that change also

@floion floion merged commit 90268b1 into balena-io:master Oct 19, 2023
46 checks passed
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

Successfully merging this pull request may close these issues.

2 participants