Jump to: navigation, search

The ROC-RK3328-CC (Renegade) by Libre Computer and Firefly is a single-board computer.

Technical data

  • Rockchip RK3328 SoC
    • 4x ARM Cortex-A53 CPU
    • ARM Mali-450 GPU
  • 1/2/4 GB DDR4 RAM
  • 2xUSB2 + 1xUSB3
  • eMMC interface
  • 40-pin GPIO connector (Raspberry Pi compatible)

NOTE: the serial console uses a baud rate of 1500000! So a specific USB adapter might be needed (it works well with a CH340 chip).

Manual installation

U-Boot installation

LibreTech ROC-RK3328-CC board is supported in official U-Boot since version v2021.07.

Please follow the official README available here to generate the U-Boot's SPL, ATF and U-Boot firmware (the full firmware stack is Open Source on that board!).

GRUB2 works with the EFI boot stack available in U-Boot.

openSUSE Tumbleweed installation using standard DVD

NOTE: you need at least 2GB of RAM to be able to install from the ISO!

With TW and with the EFI boot protocol implemented in U-Boot, it is possible to directly install from DVD image.

Note this guide assumes:

  • that you already have a Leap/Tumbleweed OS installed on your PC
  • that you are familiar with the openSUSE installation procedure

To boot the DVD there are multiple ways:

  • burning the ISO on a USB key
  • booting the ISO through the network boot (PXE)

For each cases, it is still needed to use a SD card or USB key to load U-Boot (SD card is the preferred way).

The USB key installation method will be used here (with U-Boot on the SD card).

It is recommended to use textmode ssh installation if possible, in that case no need to connect screen/keyboard/mouse on your board.

  1. Download the Tumbleweed ISO and "burn" it on the USB key - WARNING all previous data on the device will be lost!
    # dd if=[image].iso of=/dev/<usb_key> bs=4M iflag=direct,fullblock oflag=direct
  2. Insert the SD card and USB key into your board
  3. Connect the board to your PC via serial port (recommended; USB-TTL serial cable needed)
  4. Connect the board to your monitor (via DVI/HDMI, optional if you use the serial port)
  5. Power on the board
  6. Stop the U-boot procedure by pressing a key
  7. Force boot on the USB key
    Hit any key to stop autoboot:  0
    => run usb_boot
  8. Some parameters need to be set for installation, so you have to edit the boot option on GRUB and add the following options:
    console=ttyS2,1500000 ssh=1 sshpassword=linux
  9. Some optional parameters are also useful:
    splash=verbose               # can be useful to have all systemd messages on the console
  10. Your board is now booting the installation DVD!
  11. Connect to the board throught SSH and execute the installer (DISPLAY= is here to force textmode for YaST):
    # DISPLAY= yast.ssh

Note: after installation the serial console is by default reset to ttyAMA0, so you need to set it to ttyS0 again in /etc/defaut/grub (don't forget to re-generate grub.cfg file after!).

See also