In order to boot Armbian from JetHub H1 with pre-flashed OS on eMMC you need USB-USB cable and do:
- Download Amlogic Burning Tool
- Download latest burnable firmware (testing branch)
- Flash!
More instructions on https://wiki.jethome.ru/en/jethub_h1#controller_firmware
Now you can boot Armbian from eMMC.
In order to boot Armbian from JetHub D1/D1+ with pre-flashed OS on eMMC you need USB-USB cable and do:
- Download Amlogic Burning Tool
- Download latest burnable firmware (testing branch)
- Flash!
More instructions on https://docs.jethome.ru/controllers/linux/din_rail/index.html
Now you can boot Armbian from eMMC.
If you have a Radxa Zero with eMMC (any model with 2GB or 4GB of RAM), you’ll need to erase the eMMC before you can boot it from a microSD card and use Armbian. 1GB version is not supported.
Full instructions are available on the Radxa wiki, but here are some quick notes.
– Connect a USB cable to the Zero’s OTG port (the USB-C plug marked USB-PWR)
– Hold down the “USB BOOT” button on the Radxa Zero while connecting the USB cable to a USB port on the Linux host
– sudo pip3 install pyamlboot
on the host
– curl -O https://dl.armbian.com/radxa-zero/loader/radxa-zero-erase-emmc.bin
– sudo boot-g12.py radxa-zero-erase-emmc.bin
You may have to run the sudo boot-g12.py
command a second time to fully clear the eMMC. In case you encounter boot issues, try this hint and report there.
If you have variant with LCD display – here you can download driver.
Important: To be able to boot clean Armbian mainline based u-boot / kernel experiences, you need to remove incompatible Petitboot loader that is shipped with the board.
Try one of the following methods:
Bootloader Bypass Method
This is now the preferred method. It is easier, and be performed without a display via SSH
-
- Install an SD Card with a fresh Armbian image
- Flip device upside down
- With a tool, press and hold down the black button.
- Continue holding button and plug in power to device
- Login to console or SSH and perform follow normal setup procedures
- Verify system can access SPI FLASH device and Erase
- Reboot
odroidhc4:~:# ls -ltr /dev/mtd*
crw------- 1 root root 90, 0 Nov 6 21:38 /dev/mtd0
brw-rw---- 1 root disk 31, 0 Nov 6 21:38 /dev/mtdblock0
crw------- 1 root root 90, 1 Nov 6 21:38 /dev/mtd0ro
odroidhc4:~:# flash_erase /dev/mtd0 0 0
Erasing 4 Kibyte @ fff000 -- 100 % complete
odroidhc4:~:#
Petitboot Console Method
Attach the device to a display and keyboard. Power on. Petitboot will load
From the Petitboot menu, go for “Exit to shell” and these commands to remove the Petitboot:
# flash_eraseall /dev/mtd0
# flash_eraseall /dev/mtd1
# flash_eraseall /dev/mtd2
# flash_eraseall /dev/mtd3
This will make your SPI flash memory empty and would start from SD on next boot.
In case you want to put Petitboot back to the board, user those instructions.
FAN support
Create a file in /etc/fancontrol with the following content:
INTERVAL=10 DEVPATH=hwmon0=devices/virtual/thermal/thermal_zone0 hwmon2=devices/platform/pwm-fan DEVNAME=hwmon0=cpu_thermal hwmon2=pwmfan FCTEMPS=hwmon2/pwm1=hwmon0/temp1_input FCFANS= hwmon2/pwm1=hwmon2/fan1_input MINTEMP=hwmon2/pwm1=50 MAXTEMP=hwmon2/pwm1=60 MINSTART=hwmon2/pwm1=20 MINSTOP=hwmon2/pwm1=28 MINPWM=hwmon2/pwm1=0 MAXPWM=hwmon2/pwm1=255
followed by:
sudo systemctl restart fancontrol
With kernel 5.15.y -> you need to remove FCFANS=hwmon2/pwm1=hwmon2/fan1_input in /etc/fancontrol
Serial console:
Blue color line: Tool Pin TXD, orange color: Tool Pin RXD, black: Tool Pin GND
How to boot from SD card? After power on, quickly press the Function key 3 times in 2 seconds, then release the key. More at official manual.
To be able to boot Armbian SD card image and install Armbian to eMMC, use one of the methods to boot into upgrade mode. If you have most recent board revision (1.4 ->) then you only need to quickly press the function key (middle) 3 times in 2 seconds. Release and boot will proceed from SD card. Then use nand-sata-install utility to flash to eMMC.
Serial console:
Blue color line: Tool Pin TXD, orange color: Tool Pin RXD, black: Tool Pin GND
In case you are experiencing reboot troubles, make sure to update u-boot. How? Run this command as root:
armbian-install -> "Update bootloader"
SPI bootloader update:
- Download the firmware update file.
- Flash the file to a USB drive
- Eject the drive from your computer and plug it into La Frite.
- Power on La Frite and it will start updating the firmware.
- Do not power off La Frite until the firmware update is complete!
USB Mass Storage Flashing:
- Connect La Frite to the host PC with a USB A to USB A cable
- This is the USB connector closest to the IR sensor and 40 pin connector
- The other will not work
- Connect a USB keyboard to the remaining port on La Frite
- While booting, press the <Esc> key to get the boot menu on the device
- Select “eMMC USB Drive Mode”. La Frite will appear as a USB drive on the host PC
- On host PC, flash the desired image to the drive.
- Disconnect the USB A cable from La Frite (important), reboot