Compare commits

...

6 Commits
1.0 ... 1.2

Author SHA1 Message Date
openoms
858648fc48 add Nvidia Jetson Nano image link 2019-06-12 19:07:31 +01:00
openoms
f281489a36 mklabel msdos if there is no partition 2019-06-12 18:46:09 +01:00
bluecell296
cc7094d2a0 Merge pull request #50 from bavarianledger/patch-1
added "special prepare when Nvidia Jetson Nano"
2019-06-08 18:33:01 +02:00
bavarianledger
53b73ea62e Merge pull request #4 from bavarianledger/patch-1.1
Introduce a variable to identify the Nvidia
2019-06-07 11:04:44 +02:00
bavarianledger
8f37c51b81 Introduce a variable to identify the Nvidia
based on a suggestion from @openoms
2019-06-07 11:02:50 +02:00
bavarianledger
4b47a9eef6 added "special prepare when Nvidia Jetson Nano"
Disables GUI/X11 login to make sure that you can login after rebooting.
2019-05-19 16:25:47 +02:00
3 changed files with 11 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ Specifications of the tested hardware: [hw_comparison.md](hw_comparison.md)
All testers are welcome. Open an issue for your specific board to collaborate and share your experience.
---
## Armbian
## Armbian Stretch
Many SBC-s are supported:
https://www.armbian.com/download/
@@ -40,12 +40,13 @@ Continue with building the SDcard: https://github.com/rootzoll/raspiblitz#build-
---
## Ubuntu
## Ubuntu Bionic
A common distro to be supplied by the manufacturer for various boards.
Tested on:
* Odroid XU4 with ubuntu-18.04.1-4.14-minimal image from https://de.eu.odroid.in/ubuntu_18.04lts/XU3_XU4_MC1_HC1_HC2
* Nvidia Jetson Nano with Ubuntu Bionic image from https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write
Burn the image to the SDCard with [Etcher](https://www.balena.io/etcher/).

View File

@@ -62,6 +62,7 @@ isDietPi=$(uname -n | grep -c 'DietPi')
isRaspbian=$(cat /etc/os-release 2>/dev/null | grep -c 'Raspbian')
isArmbian=$(cat /etc/os-release 2>/dev/null | grep -c 'Debian')
isUbuntu=$(cat /etc/os-release 2>/dev/null | grep -c 'Ubuntu')
isNvidia=$(uname -a | grep -c 'tegra')
if [ ${isRaspbian} -gt 0 ]; then
baseImage="raspbian"
fi
@@ -148,6 +149,12 @@ if [ "${baseImage}" = "ubuntu" ] || [ "${baseImage}" = "armbian" ]; then
sudo adduser pi sudo
fi
# special prepare when Nvidia Jetson Nano
if [ ${isNvidia} -eq 1 ] ; then
# disable GUI on boot
sudo systemctl set-default multi-user.target
fi
echo ""
echo "*** CONFIG ***"
# based on https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_20_pi.md#raspi-config

View File

@@ -20,6 +20,7 @@ if [ ${hddExists} -eq 0 ]; then
echo "Press ENTER to create a Partition - or CTRL+C to abort"
read key
echo "Creating Partition ..."
sudo parted -s /dev/sda mklabel msdos
sudo parted -s /dev/sda unit s mkpart primary `sudo parted /dev/sda unit s print free | grep 'Free Space' | tail -n 1`
echo "DONE."
sleep 3