Bananapi M5

  • powering with PD capable PSU is not possible. It has to be dumb 5V
  • To support M2P you need to add this to the /boot/armbianEnv.txt and reboot:
  • To change display resolution, add below to the /boot/armbianEnv.txt:
By Ricardo Pardini / General purposeNAS / 0 Comments

Odroid HC4

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

    1. Install an SD Card with a fresh Armbian image
    2. Flip device upside down
    3. With a tool, press and hold down the black button.
    4. Continue holding button and plug in power to device
    5. Login to console or SSH and perform follow normal setup procedures
    6. Verify system can access SPI FLASH device and Erase
    7. 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


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:

DEVPATH=hwmon0=devices/virtual/thermal/thermal_zone0 hwmon2=devices/platform/pwm-fan
DEVNAME=hwmon0=cpu_thermal hwmon2=pwmfan
FCFANS= hwmon2/pwm1=hwmon2/fan1_input

followed by:

sudo systemctl restart fancontrol

With kernel 5.15.y -> you need to remove FCFANS=hwmon2/pwm1=hwmon2/fan1_input in /etc/fancontrol

By technicavolous / DesktopGeneral purpose / 0 Comments

Odroid C4

In case you are experiencing reboot troubles, make sure to update u-boot. How? Run this command as root:

nand-sata-install -> "Update bootloader"