Replace nand-sata-install with armbian-install (#263)

* Replace nand-sata-install with armbian-install

* Update User-Guide_Getting-Started.md

* Update User-Guide_Getting-Started.md
This commit is contained in:
Igor Pečovnik
2022-10-26 10:30:04 +02:00
committed by GitHub
parent e1012099c9
commit 75a391b61e
5 changed files with 23 additions and 18 deletions

View File

@@ -23,7 +23,7 @@ Almost all features of the H3 SoC are supported on Armbian's _current_ branch. P
- An insufficient power supply **is the root cause of many weird symptoms/problems**. Never trust in ratings written on the PSU since they might be wrong, the PSU might be old/dying and cable/contact resistance adds to problems. In other words: Before you blame Armbian for strange behaviour please try at least one second power supply (this applies to both PSU and cable between PSU and board if this is separate -- especially USB cables really suck due to high resistance leading to severe voltage drops).
- In case you experience instabilities check your SD card using `armbianmonitor -c $HOME` and think about installing [RPi-Monitor for H3](https://www.cnx-software.com/2016/03/17/rpi-monitor-is-a-web-based-remote-monitor-for-arm-development-boards-such-as-raspberry-pi-and-orange-pi/) to get an idea whether you suffer from overheating (`sudo armbianmonitor -r` will install everything needed).
- Especially for desktop images the speed of your SD card matters. If possible try to use our _nand-sata-install_ script to move the rootfs away from SD card. The script also works with USB disks flawlessly ([some background information](https://forum.armbian.com/topic/793-moving-to-harddisk/)).
- Especially for desktop images the speed of your SD card matters. If possible try to use our _armbian-install_ script to move the rootfs away from SD card. The script also works with USB disks flawlessly ([some background information](https://forum.armbian.com/topic/793-moving-to-harddisk/)).
## Tips and tricks (H3 specific / lowering consumption) (outdated)

View File

@@ -300,7 +300,7 @@
* [AR-635](https://armbian.atlassian.net/browse/AR-635) - Add legacy kernel for Zero2
* [AR-537](https://armbian.atlassian.net/browse/AR-537) - Create Armbian “virtual” build target to run as VM
* [AR-519](https://armbian.atlassian.net/browse/AR-519) - Odroid N2 Mainline u-boot for edge kernel
* [AR-315](https://armbian.atlassian.net/browse/AR-315) - Add support for GPT table inside nand-sata-install
* [AR-315](https://armbian.atlassian.net/browse/AR-315) - Add support for GPT table inside armbian-install
## v21.05.6 (2021-06-21)
@@ -336,7 +336,7 @@ Solved Bugs
* [AR-730](https://armbian.atlassian.net/browse/AR-730) - Duplicate packages error when updating repository
* [AR-729](https://armbian.atlassian.net/browse/AR-729) - Fix Partition Alignment for resizes and nand-sata-install
* [AR-729](https://armbian.atlassian.net/browse/AR-729) - Fix Partition Alignment for resizes and armbian-install
* [AR-711](https://armbian.atlassian.net/browse/AR-711) - Network troubles on Nanopi K2 / Odroids
@@ -1377,7 +1377,7 @@ Infrastructure:
## v5.73 (2019-01-29)
* much faster nand-sata-install operations. Thanks to @dedalodaelus
* much faster armbian-install operations. Thanks to @dedalodaelus
* added support for @wireguard on all kernels higher than 3.10.y
* fixed drivers for popular DVB tuner S960 (all kernels)
* fixed bug in wireless drivers on Cubietruck, BananpiPRO, Bananapi+
@@ -1389,7 +1389,7 @@ Infrastructure:
* updated hostapd to 2.7
* fixed 1512MHz OPP on Renegade
* fixed DRM crashing for rockchip64
* mainline u-boot bumped to 2018.11 (update goes manually from nand-sata-install utility)
* mainline u-boot bumped to 2018.11 (update goes manually from armbian-install utility)
* added testing images for Orangepi RK3399 and Radxa Rockpi 4B
## v5.72 (2019-01-16)
@@ -1788,7 +1788,7 @@ Following boards are no longer receiving support and updates since this version:
## v5.25 (2017-02-02)
* nand-sata-install expanded functionality: you can partition destination and choose file-system type: ext2, ext3, ext4 and BTRFS (BTRFS requires kernel 4.4+)
* armbian-install expanded functionality: you can partition destination and choose file-system type: ext2, ext3, ext4 and BTRFS (BTRFS requires kernel 4.4+)
* added new boards: Clearfog Base, Lime2 eMMC, Lime A33, NanoPi M1+, OrangePi Zero, OrangePi PC2 (mainline only, experimental)
* new default kernel for Clearfog(s), changed kernel family to "mvebu" to avoid conflicts
* disabled wireless power management by default to improve performance with certain drivers
@@ -1819,7 +1819,7 @@ Following boards are no longer receiving support and updates since this version:
## v5.23 (2016-10-23)
* fixed bug in nand-sata-install
* fixed bug in armbian-install
* fixed u-boot update bug on Allwinner platform
Known problems:
@@ -1921,7 +1921,7 @@ Known problems:
* Finally got rid of (broken) board auto detection. We do not ship any more one image for several devices that tries to detect/fix things on 1st boot but provide one dedicated image per board (Plus and Plus 2 and both NanoPi M1 variants being handled as the same device since only size of DRAM/eMMC differs)
* Tried to improve user experience with better/unified led handling (light directly after boot, communicate booting states through blinking)
* Improve partitioning and filesystem resize on 1st boot making it easier to clone every installation media afterwards
* fully support installation on eMMC on all H3 devices (`u-boot` and `nand-sata-install.sh` fixes)
* fully support installation on eMMC on all H3 devices (`u-boot` and `armbian-install.sh` fixes)
* Improved performance/thermal/throttling behaviour on all H3 boards (especially newer Oranges)
* Prevent HDMI screen artefacts (disabling interfering TV Out by default)
* Enhanced 8189ETV driver for older Oranges
@@ -2116,7 +2116,7 @@ Known bugs:
* Legacy kernel for Allwinner based boards upgraded to 3.4.110
* added new board: Udoo Neo
* added USB printer, CAN, CMA, ZSWAP, USB video class, CDROM fs, sensor classs, … to Allwinner mainline kernel
* nand-sata-install scripts rewrite. Now its possible to install to any partition.
* armbian-install scripts rewrite. Now its possible to install to any partition.
* fixed nand install for Allwinner A10 based boards: Cubieboard 1 / Lime A10
* universal upgrade script bugfix / rewrite.
* 8 channel HDMI support for legacy Allwinner kernel

View File

@@ -193,7 +193,7 @@ First you need to update packages described in a previous "How to update" step.
[Use the Armbian configuration utility `armbian-config`](User-Guide_Armbian-Config.md)
## How to install to eMMC, NAND, SATA & USB?
## How to install to eMMC, NAND, SATA, NVME & USB?
![Installer](https://www.armbian.com/wp-content/uploads/2016/12/nandsata.png)
@@ -204,28 +204,33 @@ NAND:
* kernel 3.4.x and NAND storage
* pre-installed system on NAND (stock Android or other Linux)
eMMC/SATA/USB:
eMMC/SATA/USB/NVME:
* any kernel
* onboard eMMC storage
* attached SATA or USB storage
* attached SATA, NVME or USB storage
Start the install script:
nand-sata-install
armbian-install
and follow the guide. You can create up to three scenarios:
and follow the guide. Theose are all possible scenarios:
* boot from SD, system on SATA / USB
* boot from eMMC / NAND, system on eMMC/NAND
* boot from eMMC / NAND, system on SATA / USB
* boot from eMMC / NAND, system on SATA / USB / NVME
* Boot from SPI - system on SATA, USB or NVMe
* Install/Update the bootloader on SD/eMMC
* Install/Update the bootloader on special eMMC partition
* Install/Update the bootloader on SPI Flash
* Install system to UEFI disk
and you can choose the following file system options:
* ext2,3,4
* btrfs
On Allwinner devices after switching to boot from NAND or eMMC clearing the boot loader signature on the SD card is recommended: `dd if=/dev/zero of=/dev/mmcblkN bs=1024 seek=8 count=1` (replace `/dev/mmcblkN` with the correct device node -- in case you run this directly after `nand-sata-install` without a reboot in between then it's `/dev/mmcblk0`). When booting from eMMC to get SD cards auto-detected on Allwinner legacy images please consider changing `mmc0`'s `sdc_detmode` from 3 to 1 in the board's fex file (see [here](https://forum.armbian.com/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/?tab=comments#comment-13163) for details).
On Allwinner devices after switching to boot from NAND or eMMC clearing the boot loader signature on the SD card is recommended: `dd if=/dev/zero of=/dev/mmcblkN bs=1024 seek=8 count=1` (replace `/dev/mmcblkN` with the correct device node -- in case you run this directly after `armbian-install` without a reboot in between then it's `/dev/mmcblk0`). When booting from eMMC to get SD cards auto-detected on Allwinner legacy images please consider changing `mmc0`'s `sdc_detmode` from 3 to 1 in the board's fex file (see [here](https://forum.armbian.com/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/?tab=comments#comment-13163) for details).
## How to connect to wireless?

View File

@@ -43,7 +43,7 @@ If you still cannot find what you need here visit the [_Armbian forum_](https://
- Root password is `1234`. You are forced to change this password and (optional) create a normal user at first login
- Ethernet adapter with DHCP and SSH server ready on default port (22)
- Wireless adapter with DHCP ready (if present) but disabled. You can use `armbian-config` to connect to your router or create an access point
- NAND, SATA, eMMC and USB install script is included (`nand-sata-install`)
- NAND, SATA, eMMC and USB install script is included (`armbian-install`)
- Upgrades are done via standard `apt upgrade` method
- Login script shows: board name with large text, distribution base, kernel version, system load, uptime, memory usage, IP address, CPU and drive temperature, ambient temperature from Temper if exits, SD card usage, battery conditions and number of updates to install

View File

@@ -1 +1 @@
- eMMC install might be broken if you don't have recent uboot on your eMMC card - you must update it. Boot from SD card, run nand-sata-install and choose "Update bootloader on a special eMMC partition". After that, you can use eMMC as boot device. You only need to do this once.
- eMMC install might be broken if you don't have recent uboot on your eMMC card - you must update it. Boot from SD card, run armbian-install and choose "Update bootloader on a special eMMC partition". After that, you can use eMMC as boot device. You only need to do this once.