Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Self-build minimal image for RockPI-S too big

Featured Replies

Hi,

trying to get a bit deeper into Armbian, I tried to create my own minimal Trixie-based image for the RockPI-S. I'm using a Ubuntu Noble VM and I managed to run a successfull build following the quick start guide.

However, creating an image using

./compile.sh build BOARD=rockpi-s BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie 

leads to an image with a size around 1.5GB. Compared to the downloadable minimal images, which have 200MB-300MB, this is quite large.

 

Does anyone has any hints on how to proceed in order to self-build images comparable to the ones offered for download?

 

Cheers,

2 hours ago, dg4gg8cb9s said:

However, creating an image using

./compile.sh build BOARD=rockpi-s BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie 

leads to an image with a size around 1.5GB. Compared to the downloadable minimal images, which have 200MB-300MB, this is quite large.

 

 

adding COMPRESS_OUTPUTIMAGE to your call will compress your image.

 

$ ./compile.sh build BOARD=rockpi-s BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie COMPRESS_OUTPUTIMAGE=xz
[...]
$ ls -lh output/images/*.xz
-rw-rw-r-- 1 user root 342M Aug 15 01:03 output/images/Armbian-unofficial_25.11.0-trunk_Rockpi-s_trixie_current_6.12.41_minimal.img.xz

 

  • Author

Hi,

 

many thanks for your hints @brentr and @laibsch! 😀

 

Using 

COMPRESS_OUTPUTIMAGE=xz

did the trick and the image size is now more in an expected range.

 

However, using the paramters and commandline above gives me an image with a size of 342MB whereas the current rolling Trixie image is 273MB.

I don't think it is a big deal, but I still would like to understand the difference 😊

 

Cheers

You can also build from the release version, though I'm not sure it's fully that version for everything since the build process downloads updates from the internet.

https://github.com/armbian/build/releases/tag/v25.8.1

 

At the top of that page, you can see how many commits have been added to main since the release of v25.8.1.

 

You can download the source code at the bottom where it says Assets.

 

Edited by The Tall Man

  • Author

Thank you all, I appreciate your patience! 🙏

 

I'm not sure on how deep I should go here. I started to learn about the process to address the problem that 10mpbs ethernet not is not working on my Rockpi S and I now know enough to deal with this problem. So my feeling is to not go further but focus on the functional problem to solve it 😉

 

Thanks again!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.