khadas-vim3
By Nico Andy Dekerf / General purpose / 0 Comments

Khadas VIM3

In order to boot Armbian from VIM3 with pre-flashed OS on eMMC you need to:

  1. Download Khadas Rescue tool for VIM3 and flash it to a spare SD card
  2. Insert SD card, attach USB keyboard + monitor or a serial console and boot into Khadas Rescue Tool
  3. Choose: Advanced -> eMMC -> Fast erase and Advanced -> Erase SPI Flash (Yes). Go back and select "power off"

Now you can boot Armbian from SD card and install to eMMC the standard way.

odroidhc4.png
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
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

By Igor Pečovnik / General purpose / 0 Comments

Khadas VIM2

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.

khadas-vim1
By Igor Pečovnik / General purpose / 0 Comments

Khadas VIM1

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

rockpie
By krachlatte krachlatte / General purposeNetworking / 0 Comments

Radxa Rockpi E

Debian Bookworm 24.8.1 minimal testing:

  • Boot ok (sdcard)
  • eMMC add-on module ok
  • USB3 ports are ok
  • Gigabit Ethernet ok
  • Fast Ethernet ok
  • Wireless ok, throughput in the expected range
  • Analog audio codec is ok
  • Reboot and shutdown work as intended
  • HDMI is Not Applicable (no HDMI connector)
By jock jock / DesktopGeneral purpose / 0 Comments

RK322X

Support for generic RK3228A, RK3228B and RK3229 TV boxes, with various commercial names and manufacturers (MXQ 4k, MXQ Pro 4k, V88 Mars, A8, Model X, etc…)

Due to the really large hardware variety, there is the rare chance that the images proposed here may not boot. If a bad image is burned in eMMC, the box may not boot anymore forcing you to follow the unbrick section at the bottom of this post.

Forum thread with guides, suggestions, support, hardware acceleration multimedia support: https://forum.armbian.com/topic/12656-wip-armbian-for-rk322x-devices/

Quick installation instructions on eMMC:

  • Build or download your preferred Armbian image and a copy of the Multitool;
  • Burn the Multitool on an SD card; once done, place the Armbian image in images folder of the SD card FAT partition;
  • Plug the SD card in the TV box and plug in the power cord. After some seconds the blue led starts blinking and the Multitool appears;
  • OPTIONAL: you can do a backup of the existing firmware with “Backup flash” menu option;
  • Choose “Burn image to flash” from the menu, then select the destination device (usually mmcblk2) and the image to burn;
  • Wait for the process to complete, then choose “Shutdown” from main menu;
  • Unplug the power cord and the SD card, then replug the power cord;
  • Wait for 10 seconds, then the led should start blinking and HDMI will turn on. The first time the boot process will take a couple of minutes or more because the filesystem is going to be resized, so be patient and wait for the login prompt.
  • On first boot you will be asked for entering a password for root user of your choice and the name and password for a regular user
  • Run sudo rk322x-config and select your board characteristics to enable leds, wifi chips, high-speed eMMC, etc…
  • Run armbian-config to configure timezone, locales and other personal options
  • Congratulations, Armbian is now installed!

Quick installation instructions on NAND:

  • Build or download your preferred Armbian image and a copy of the Multitool;
  • Burn the Multitool on an SD card; once done, place the Armbian legacy kernel image in images folder of the SD card FAT partition;
  • Plug the SD card in the TV box and plug in the power cord. After some seconds the blue led starts blinking and the Multitool appears;
  • OPTIONAL: you can do a backup of the existing firmware with “Backup flash” menu option;
  • Choose “Burn Armbian image via steP-nand” from the menu, then select the destination device (usually rknand0) and the image to burn;
  • Wait for the process to complete, then choose “Shutdown” from main menu;
  • Unplug the power cord and the SD card, then replug the power cord;
  • Wait for 10 seconds, then the led should start blinking and HDMI will turn on. The first time the boot process will take a couple of minutes or more because the filesystem is going to be resized, so be patient and wait for the login prompt.
  • On first boot you will be asked for entering a password for root user of your choice and the name and password for a regular user
  • Run sudo rk322x-config and select your board characteristics to enable leds, wifi chips, etc…
  • Run armbian-config to configure timezone, locales and other personal options
  • Congratulations, Armbian is now installed!

Quick installation instructions to boot from SD Card:

  • If you are already running Armbian from eMMC, skip to the next step. Instead if you are running the original firmware you need to first erase the internal eMMC; to do so download the Multitool, burn it on an SD Card, plug the SD Card and power the TV Box. Use “Backup flash” if you want to do a backup of the existing firmware, then choose “Erase flash” menu option.
  • Build or download your preferred Armbian image;
  • Uncompress and burn the Armbian image on the SD Card;
  • Plug the SD Card in the TV Box and power it on;
  • Wait for 10 seconds, then the led should start blinking and HDMI will turn on. The first time the boot process will take a couple of minutes or more because the filesystem is going to be resized, so be patient and wait for the login prompt;
  • On first boot you will be asked for entering a password for root user of your choice and the name and password for a regular user
  • Run sudo rk322x-config and select your board characteristics to enable leds, wifi chips, high-speed eMMC or NAND, etc…
  • Run armbian-config to configure timezone, locales and other personal options, or also to transfer the SD Card installation to internal eMMC;
  • Congratulations, Armbian is running from SD Card!

Boot device order:

With Armbian also comes mainline U-boot. If you install Armbian or just the bootloader in the eMMC or the Jump Start on internal NAND, the bootloader will look for valid bootable images in this order:

  • External SD Card
  • External USB Stick in OTG Port
  • Internal eMMC

Unbrick:

Rockchip devices cannot be bricked. If the internal flash does not contain a bootable system, they will always boot from the sdcard. If, for a reason, the bootable system on the internal flash is corrupted or is unable to boot correctly, you can always force the maskrom mode shorting the eMMC clock pin on the PCB. Here there is the procedure, but you can also google around if you get stuck on a faulty bootloader, the technique is pretty simple and requires a simple screwdriver.