The ROCK 4 SE is capable of running several different Linux based operating systems. In this Getting Started we show how to download and install Debian Bullseye (64-bit) onto an SD card and perform the basic system setup. This will give you a highly functional KDE desktop with GUI administration tools and a configuration for general use on your ROCK 4SE, from which you can add further Open Source applications to your liking.
Time: 30 mins
Parts Needed to Get Started with ROCK 4 SE
ROCK 4 SE Single-Board Computer
OKdo Multihead USB Quick Charge PSU
- The ROCK 4 SE single-board computer
- OKdo Multihead Dual Port USB Quick Charge Power Supply (PSU) 36W
- 32 GB MicroSDHC Card Class 10
- Host computer Windows/Mac/Linux
- HDMI monitor
- USB keyboard
- USB mouse
- HDMI cable – Full size
- Cat 5 Ethernet cable
- Internet connection and router
1: Download OS
Download a copy of the Debian desktop OS for the ROCK 4 SE. You can do this using either a Windows, Mac or Linux host PC or laptop. Save the image file to somewhere convenient on your storage.
- Visit the OKdo Software & Downloads hub and click the Debian Bullseye link for the ROCK 4 Model SE;
- Allow the image file to download – it is about 1.3GB in size
- The filename will be similar to this depending on the version: rock-4se_debian_bullseye_kde_b33.img.xz
- There is no need to expand the compressed file
2: Imaging software
An OS image cannot be copied directly to an SD card as you would a normal file or directory. You need special purpose imaging software to flash the image to the SD card. We recommend the Open Source balenaEtcher, which is available on either Windows, Mac or Linux. It also performs some validation check on the flashed image:
- Visit the download page at balenaEtcher and install the version for your host operating system https://www.balena.io/etcher
3: Flash SD card
Now everything is ready to flash the OS image onto the microSD card. Use a good quality, branded 32GB card. We use SanDisk Ultra cards which are fast, durable and reliable.
- Insert the SD card into a card reader on your host PC;
- Open balenaEtcher and select the OS image you downloaded in Step 1;
- Select the SD card to flash – be careful to choose the correct one;
- Click the Flash button;
- Wait for the imaging and validation process to complete, then eject the SD card and remove it from your host PC.
Tip: If your system asks you to format the card at any time, just click cancel.
4: Connect Cables
Now that your SD card is prepared, connect up your ROCK 4 SE:
- Connect a keyboard and mouse to the USB 2.0 (Black) sockets;
- Attach a full-size HDMI cable to the HDMI output and you monitor;
- Connect a CAT5 Ethernet cable to the Ethernet port and your internet Router / Switch;
- Carefully insert the SD card into the card socket with the gold pins on the card facing upwards;
- Connect the power supply to the USB-C socket but do not plug it in yet.
Tip: We recommend fitting stand-offs to the board mounting holes to lift the board off the bench and to improve cooling.
Check that everything is prepared as in the steps above, turn on your monitor and plug in the power supply to boot the ROCK 4SE.
The green power LED will turn on and the blue activity LED should start blinking after a few seconds.
First boot takes only a few seconds and the monitor will scroll the boot messages then the KDE Desktop will appear with the login dialogue box.
Login with the Radxa user:
- username: radxa
- password: radxa
6: Change Password
Click the System Settings icon in the bottom left of the taskbar and select Users. You can now change the passwords for the Radxa user to a more secure version.
7: Update System
The OS and installed software is constantly being updated so you can pull in these changes with KDE Update Manager. This will show up in the bottom right hand side of the taskbar when updates are available.
Click the Updates icon and select Update All to bring your system up to date. This might take a few minutes the first time.
Once all the updates have finished click the KDE icon on the bottom left of the taskbar and choose Restart to let all the changes take effect.
8: Set Display (Optional)
Your HDMI display settings should be recognised automatically. If they need adjusting, you can set them using the Display Manager from the System Settings icon in the bottom left hand side of the toolbar.
- Click Hardware -> Display and Monitor, adjust them to your liking, then click Apply
9: Set Keyboard (Optional)
The default keyboard setting is US English. This can be changed using the Systems Settings icon.
Choose Hardware -> Input Devices -> Keyboard and use the Add button to add any keyboards you require.
Move your default keyboard to the top of the list using the Move Up / Down buttons
10: Set Timezone (Optional)
The default language is American English and the default time setting is Universal Time (UTC). If you want to change these they can be set using the System Settings icon.
Choose Regional Settings and set your preferred Language and Date & Time
Now that everything is configured, reboot the system.
Click the KDE icon in the bottom left corner of the taskbar and choose Leave -> Restart
Let the system reboot, log back in and you are ready to go!
12: Configure Wi-Fi
Wi-Fi can be configured from the System Settings icon. Click Connections and press the Add button to create a new Wi-Fi connection.
Enter your SSID in the Wi-Fi tab and your password in the Wi-Fi Security tab and press Save.
When the KDE Wallet pops-up choose the Blowfish option and click Finish. It will ask for a password so use a secure one as this stores passwords used by applications that need them.
You can now remove the Ethernet connection and the ROCK 4SE will switch over to using Wi-Fi networking.
13: Software Centre
The Debian package repository (Debian Repo) contains over 50K Open Source software applications called Packages, most of which will work with the ROCK 4SE.
- Click the Software Centre icon in the bottom left taskbar and enter a search term. The Software Centre will present a list of free Open Source applications that you can install with one click.
Linux systems need shutting down properly before removing the power supply, this avoids corrupting the SD card.
Click the KDE icon in the bottom left corner of the taskbar and select Leave -> Shutdown. The shutdown screen will appear and you can click OK or just wait for it to occur.
Shutdown is complete when the blue heartbeat LED stops blinking. The green power LED stays on.
If you have followed all the steps in this guide, you will have a nicely configured Debian desktop system for your ROCK 4 SE, all set up for general use.
There are now thousands of Open Source software applications at your fingertips which can be added to your system, from programming environments, audio and video editing, office applications, scientific software and gaming, so start exploring!
Excited to discover what other ROCK single-board computers, compute modules and accessories are coming next into our range? View more in our ROCK Shop, and find the perfect Raspberry Pi alternative. You no longer need to hunt for stock!
Looking for something else? Learn how to use a ROCK 4 board and install Ubuntu Server 20.04 (Focal) onto the SD card.
Are you interested to buy ROCK in bulk? Do you want to learn more about ROCK or find out how we can help you? Talk to us about your problem, get in touch with our Sales team to learn more.