pinebookpro
By TRS-80 / Desktop / 0 Comments

Pinebook Pro

    • Some eMMC modules might not work well.
    • Recent batch (since mid-2022) seem to have shipped with a different bootloader configuration, some times preventing booting from SD card and/or eMMC. Until a proper fix can be implemented, the recommended workaround is to install a bootloader to SPI. Further details and instructions can be found in this forum thread.
nanopim4v2
By Test Test / DesktopGeneral purposeNAS / 0 Comments

Nanopi M4 V2

  • UART is accessible on a standard connector but with unusual speed: 1500000
  • If you don’t have USB Type-C PSU, you can power the board via pins 4 (5V) and 6 (GND) of the 40-pin GPIO1 header
  • Powering related troubles are possible since USB Type-C is not PD-compliant. In fact you have to use dumb 5V PSU or device won’t boot up.
rockpi-s
By Roman Brent / IOTNetworking / 0 Comments

Radxa Rockpi S

  • If your RockPi-S is equipped a large enough SDNAND, you may flash an OS image directly to this internal flash as follows:
    • Build Linux x86 binary rkdeveloptool (sources) on host
    • Remove any SDcard
    • Plug the USB-C port into your computer
    • Hold down MASKROM button while you…
    • Power on or press the RESET button to enter flash mode
    • Release the MASKROM button after 2 seconds
      800px-Keys
      Next, run these host commands to flash the internal SDnand:

       

  • Holding the MASKROM button during reset prevents booting from internal the SDNAND.
  • But, the board will always boot from the SD Card, if it finds a valid image there.
  • Kernel serial console is on UART0.  [some older images have their console on UART2]
  • The serial console operates at 1.5Mbaud with 8 data, 1 stop, and no parity bits.
  • Black(left)=GND, White(center)=TxD, Green(right)=RxD

If you have a board with the -B version of the SOC, you may add the following line to your /boot/armbianEnv.txt file to allow operation at 1.3ghz:

overlays=b@1.3ghz

If you have a board with the BS version of the SOC, you should add the following line to your /boot/armbianEnv.txt file to tune for the newer “BS” silicon and run at 1.3ghz:

overlays=bs bs@1.3ghz

Note that the B version SOC is more common. I have never seen one.  The BS version supposedly will be labeled RK3308B-S.

Refer to /boot/dtb/rockchip/overlay/README.rockchip-overlays for more information.

orangepi-rk3399
By Igor Pečovnik / NASDesktopGeneral purpose / 0 Comments

Orange Pi RK3399

  • UART has unusual speed: 1500000
  • boot from SD card is possible by shorting TP50265 to the ground and powering the board. After Armbian boots up, you can overwrite eMMC. You need to do this procedure only once or in case you totally brick your system.
  • once you have Armbian booting from eMMC, you can boot SD card in more simple manner: stop booting from UART console and execute those commands: setenv devnum 1 followed by run mmc_boot
  • you need to use EXPERT="yes" to build kernel or images.
rockpro64
By Joe Khoobyar / General purposeNASDesktop / 0 Comments

RockPro64

  • UART is accessible on pin 6 (GND),8 (TX) and 10 (RX) and with unusual speed: 1500000
  • flash the 128M SPI memory to also boot from USB or PXE (it if goes wrong, follow these instructions)
  • short-pressing (~1s) the power button turns the board on, long-pressing it (~3s) turns it off. If it gets stuck while halting, press the reset button. If it does not boot (ie the white led does not come up), reset, then power on.
  • if you experience USB3 storage lack of reliability (error messages followed by filesystem corruption), check your power supply, usb cable and connectors and disk/ssd. All these factors can lead to undervoltage issues (some ssd could produce power consumption spikes triggering undervoltage).
xt-q8l-v10
By jock jock / Desktop / 0 Comments

XT-Q8L-V10

Supported TV Box variants: Chiptrip Q8, Vsmart Q8, ENY 3288 Q8, etc…
Known signatures on the electrical boards are xt-q8l-v10 and eny-q8p-v10

Installation on eMMC:

  • Download your preferred Armbian image 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 sd card, then push the power button for 1 second (the led will turn blue)
  • After 10 seconds HDMI will turn on and you will get logging messages;
  • 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 armbian-config to configure timezone, locales and other personal options
  • Congratulations, Armbian is now installed!

Boot from SD Card/USB stick (with Armbian already installed in eMMC, empty eMMC or no eMMC):

  • Download your preferred Armbian image;
  • Burn the image on your SD card/USB stick;
  • Plug the SD card/USB stick in the device;
  • Push the power button for 1 second (the led will turn blue);
  • After 10 seconds HDMI will turn on and you will get logging messages;
  • 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 armbian-config to configure timezone, locales and other personal options
  • Congratulations, Armbian is now installed!

Boot from SD Card/USB stick (with original firmware or other firmware):

In case your box has the original firmware installed, use the Multitool to erase the internal flash.

Don’t worry, you will not brick your box: once the eMMC is emptied, the box will automatically boot from SD Card. This is called Maskrom mode and is common to all Rockchip devices.

After erasing the internal eMMC, just follow the “Boot from SD Card” procedure above and then you are fine.

EXPERTS ONLY: erasing flash with USB Cable and rkdeveloptool

This guide describes how to erase the internal eMMC memory to force the box boot from sdcard. This is an experts guide and is mostly here for reference and not for end-user guidance. If you are an end-user and don’t bother with technicalities, the Multitool is a much friendler way to accomplish the task.
The tool used here is rkdeveloptool, which is opensource and is available cloning or downloading the official rockchip-linux rkbin github repository.

  • Rockusb mode: getting into rockusb mode is essential to do anything else
    1. plug the power cord inside the device
    2. push the Reset button (it’s at the back of the case, use a paper clip to reach the button) and keep it pushed while plugging the USB cable into the OTG port
    3. check if the device is connected, use lsusb:
      # lsusb
      Bus 001 Device 005: ID 058f:6377 Alcor Micro Corp. AU6375 4-LUN card reader
      Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
      Bus 001 Device 029: ID 2207:320a
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
      Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
      Bus 002 Device 002: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
      Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    you should be able to see a device with ID 2207:320a. If so, you are in rockusb mode and can jump to Backup, Restore or erase eMMC paragraphs below

  • Erase the eMMC:To completely erase the eMMC card just run:
    # ./rkdeveloptool ef

    it will take around a minute, then the flash memory will be completely erased and your box will boot from the sdcard.

  • Backup:First we determine the size of the eMMC, and then we do the backup – it will take less than five minutes and will create backup.data file:
    # ./rkdeveloptool rfi
    Flash Info:
    	Manufacturer: SAMSUNG, value=00
    	Flash Size: 7393 MB
    	Block Size: 512 KB
    	Page Size: 2 KB
    	ECC Bits: 0
    	Access Time: 40
    	Flash CS: Flash
    
    # ./rkdeveloptool rl 0x0 $((7393 * 2048)) backup.data
  • Restore the original firmware:
    First we have to restore the original bootloader, then restore the original firmware.
    Running these commands will accomplish both the jobs:

    ./rkdeveloptool db ../rk32/rk3288_ubootloader_v1.01.06.bin
    Downloading bootloader succeeded.
    
    ./rkdeveloptool ul ../rk32/rk3288_ubootloader_v1.01.06.bin
    Upgrading loader succeeded.
    
    ./rkdeveloptool wl 0x0 backup.data
    Write LBA from file (100%)

For further details or support check the community forum thread Armbian for RK3288 TV Box boards (Q8)