Creating custom DietPi image with preloaded scripts for Axon board

Hi Vicharak Team,

I want to create a custom DietPi-based OS image for my Vicharak Axon board.

My goal is to:

  • Use DietPi as the base OS
  • Include custom scripts and configurations
  • Automatically execute these scripts during first boot (or build time)
  • Generate a ready-to-flash image (including proper firmware/bootloader support)

Basically, I want a preconfigured DietPi image that I can directly flash, so the system is fully set up without manual steps after boot.

I’m relatively new to ARM-based architecture, but I have a good understanding and experience with x86 systems, so I can follow technical guidance if pointed in the right direction.

Could you please guide me on:

  1. The correct method to build/customize a DietPi image for Axon (RK3588)
  2. How to integrate custom scripts during build or first boot
  3. Any available tools/workflows from Vicharak for creating custom images
  4. Reference documentation or examples, if available

Thanks!

  1. You can take existing Radxa Rock 5B image, and replace uboot (extlinux) and kernel according to Axon board. ( That is not recommended for new user )
  2. dietpie rootfs already has boot folder and dietpi.txt using it, user can modify so many things.
  3. Not yet, but what we can do, is that make documentation to tinker around this board.
  4. Vicharak Doc See U-boot, Kernel section

Beta Image of Dietpi for Axon

Pre-requisites
Connect ethernet cable to Axon

As of now, We can provide one beta version of Axon Dietpi Image.

Note
As I mentioned it is beta, it may not support all functionality that full fledged dietpi image can support.

Flashing Guide

  1. Untar using tar -xvzf <image>
  2. Axon Image Flashing Guide | Vicharak
  3. You can attach hdmi cable, you will be shown tty console.

Default Login : root and Password : dietpi

I can provide you how you can proceed from this, and I highly recommended, someone that want to build custom image should have deep knowledge about boot loader of that device like, in Axon is Rockchip U-boot, otherwise it may break the system and so recommeded to having USB To UART TTY Module.

Reference Source :

2 Likes

Since it’s been answered. closing this thread.