Michael Burmeister-Brown inovato

Updated March 21st, 2024.  The inovato Quadra seems fully supported by Armbian so no extra patches are needed or helpful.  I tested Debian Bookworm and current kernel 6.6, both console and desktop (XFCE).  All devices worked including the Bluetooth / WiFi USB adapter, internal Ethernet and WiFi, and HDMI audio.  Chromium is now included with browsers if selected.

 

Just select "Show CSC..." then select inovato-quadra from the list.  I haven't tested other kernels, Debian other than Bookworm, or other desktops other than XFCE.  I put the images I tested on https://inovato.net/Armbian along with other Armbian images.

 

So please ignore all notes below as they are obsolete.

 

-------------------

 

Updated December 3rd 2023.  Armbian announced that they closed the project for Inovato Quadra implying that it builds (at least that is how I read it).  However, I am unable to get it to build, getting this error:

 

[💲|🌿] Allocated loop device [ LOOP=/dev/loop0 ]
[💲|🔨] Error: Partition(s) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64 on /dev/loop0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
[💲|💥] Cleaning up [ please wait for cleanups to finish ]

 

No images are built.  Reboot did not help.  I am attempting this on a Windows machine running WSL where I have always been successful before.  If anyone can get this to build, please let me know.  In the meantime, you'll probably need to use our existing patches.  Hopefully they still work. 

 

Updated August 14, 2023.  Legacy (Kernel 5.15) and Current (Kernel 6.1) should build.  Debian 11 Bullseye is still recommended, but Debian Bookworm (Debian 12) appears to build and run fine.   We have done significant testing only with Kernel 5.15 (Legacy) and Debian Bullseye.

 

Note you probably don't need to build from source!  We have put several popular combinations of kernel (legacy or Current), Debian (11 or 12) or Ubuntu Jammy, and console or XFCE desktop images at https://www.inovato.net/Armbian

 

Let us know if you are looking for something you don't see there.

 

Notes:

  • On first boot when using Debian, it may not automatically run the first-boot script.  If this happens, when you see the Desktop login screen, press CTRL-ALT-F1 and it will appear.  Complete it, and when done press ALT-F7 to return to the login screen and login with the new user you just created.  
  • If your login doesn't work, when at the login screen, press CTRL-ALT-F1 and run these two commands:
    chown -R quadra /home/quadra
    and
    chgrp -R quadra /home/quadra
    Then press ALT-F7 to return to the login screen and try again.  It should now work.
  • Not all combinations of distro/desktop/kernel have been tested.  We only test and support Kernel 5.15 + Debian Bullseye + XFCE currently.  Kernel 6.1 also seems to work, except expect some compatibility issues such as with ARDOP, for example.

----------- 

 

To build your own firmware from sources, you'll need access to a Linux computer (or VM) running Ubuntu Jammy with at least 10G free space. For Quadra users, there is no need to build your own images. This article is for those technical folks that want to have more control over their firmware. If you just need to reinstall the firmware, see the post in "Getting Started" titled "Doing a factory restore".


The Quadra firmware starts with a base of Armbian to which we add several programs, install the WhiteSur Gtk theme, create a dock, etc. This article explains how to build the base Armbian firmware that we build on. If you just want to flash a pre-built Armbian image built using the steps below, you can find it at https://www.inovato.net/Armbian. You would flash this to a SD card using Balena Etcher or your favorite flash utility.


IMPORTANT NOTE:
If you have any questions or problems with this process, by all means use the Armbian Forums to search for information, but please DO NOT ask questions if you can't find your answer.  They don't support the Quadra firmware: We do. So please use the Support category on this forum.


To build Armbian yourself:


Note these are the standard steps to build Armbian EXCEPT that we add the Quadra board and apply some patches for the WiFi and Ethernet hardware on the Quadra.  We also checkout a specific tested commit which is updated from time to time.  Failure to do this step will likely result in patch errors.


First, login to your Linux computer, open a terminal window (ctrl-alt-t) and enter:

 
sudo apt-get -y install git
mkdir quadra
cd quadra
git clone --branch=main https://github.com/armbian/build
cd build
git checkout 90c05ba


Next, get the Quadra board patches by typing:

 
wget https://www.inovato.net/build/quadra.patch 
git apply quadra.patch

(Note you can ignore the various whitespace messages.)

 

Then start the build with:

./compile.sh 

 

Enter your password and go through the various screens as follows:

 

Kernel Configuration: Just hit enter to keep the existing configuration. The patches applied earlier have already made these changes


Select the target board
: You need to get to the "CSC" board list. Press the right arrow and hit enter. Then press the left arrow and hit enter again. Scroll down and select "Inovato Quadra".


Select the target kernel branch
: Hit enter to select the "Legacy" (5.15) or "current" (6.1) branch.


Select the target OS release package base
: You can choose "bullseye", "bookworm", or "jammy". We have tested this with bullseye.


Select the target image type
: Select either "image with console interface" for a server build, or "image with desktop environment" for desktop.


Select the default desktop environment to bundle with this image
: We have only tested with XFCE.


Select the configuration for this environment
: Hit enter to select the only option "base configuration".


Select which kind of software you'd like to add to your build
: Generally, we just select "browsers" (scroll down and hit the space bar to select) which will add Firefox. Everything else you can add later.


When you click "OK" your build will start. It can take up to 2 hours the first time depending on the speed of your computer. When it is done, you see something similar to:

[💲|🌿] Done building image [ inovato-quadra ]
[💲|🌱] Runtime [ 12:31 min ]
[💲|✨] Repeat Build Options [ ./ compile.sh build BOARD=inovato-quadra BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED=browsers DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no RELEASE=jammy ]
[💲|🌱] Cleaning up [ please wait for cleanups to finish ]
[💲|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-d5015b6d-1f6e-403f-9ff6-37cdbc569462.log.ans ]
[💲|🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-d5015b6d-1f6e-403f-9ff6-37cdbc569462.log.ans https://paste.next.armbian.com/log ]

 

At this point, your image is in output/images. You can flash this to a micro SD card with your favorite flash tool, such as Balena Etcher. Then you insert this SD card into the Quadra (it is a small, almost invisible slot in front of the USB 3.0 connector on the side), and plug it in. After a minute or so, it will prompt you for the root password, ask you which shell you'd like to use, prompt for a username and password, and go through some steps to set the current locale. These steps are done just once.  (See notes at the top of this post if this doesn't happen automatically.)

 

If anything should fail, please let us know at support@inovato.com. Don't contact Armbian folks for support. Contact us and we'll try to help. As Armbian is always evolving, it is likely that we will need to update our patches/instructions from time to time.

‍

dee

Just wanted to say how much I appreciate you posting this.

I am looking to use the T95mini for a project and could not get the latest Aw-h6-tv_bullseye build from balbes150 to write to the emmc. I checked to make sure I had an emmc chip and it was there; it just seems like something had changed in the build and it was no longer recognizing the emmc chip or it dropped support to do so.

I followed your guide and was able to compile the latest Armbian build and create my image - 

Armbian_23.02.0-trunk_Aw-h6-tv_bullseye_current_5.15.91.img

It took over 4hrs to build (was using a debian VM) and is 2GB is size, so I can't host it anywhere. I was able to boot from an SD card and write to the emmc chip. I'm going to assume it was one of the patches that fixed the emmc not detected issue.

But I wanted to say my appreciation for this post, when so many in this community are gatekeepers / just tired of helping people.

Thank you once again.

Going to keep testing it to see if I encounter any issues.

 

 

Reply 2 0
dee
Hi
I tried to build from source using the latest patch, but it is failing in the  customize-image.sh that is in the patch, 
@@ -570,9 +570,10 @@
 #### Needs to be redone
 -  patches.armbian/net-phy-Support-yt8531c.patch
 ####
-  patches.armbian/allwinner-h6-Support-ac200-audio-codec.patch
+  patches.armbian/0001-add-ac200-ethernet-and-xr819.patch
+#  patches.armbian/allwinner-h6-Support-ac200-audio-codec.patch
   patches.armbian/nvmem-sunxi_sid-add-sunxi_get_soc_chipid-sunxi_get_serial.patch
-  patches.armbian/add-initial-support-for-orangepi3-lts.patch
+#  patches.armbian/add-initial-support-for-orangepi3-lts.patch
   patches.armbian/mmc-host-sunxi-mmc-Fix-H6-emmc.patch
   patches.armbian/arm64-dts-allwinner-sun50i-h6-Fix-H6-emmc.patch
+#  patches.armbian/Rollback-r_rsb-to-r_i2c.patch
 
I also edited out the customize-image.sh script to not do anything except the wget command
Main() {
         wget  https://www.inovato.net/Armbian/armbian-to-quadra-lite.zip
} # Main

Main "$@"
and the build finally finished with no errors. I am not sure why the unzip command was failing, maybe it needs to be downloaded first before running if doing a minimal build.
 
I no expert at patches, but I feel the official one needs to be updated.

This was my build config if that helps...

./ compile.sh BOARD=inovato-quadra BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=bookworm
 


Reply 0 0
Michael Burmeister-Brown inovato
I have a couple edits to do for bookworm, anyway.  Can you try bullseye for now?  If you really need bookworm ASAP, I can try to up the priority of that. 
Reply 0 0
dee
Michael wrote:
I have a couple edits to do for bookworm, anyway.  Can you try bullseye for now?  If you really need bookworm ASAP, I can try to up the priority of that. 
Thanks It is not a priority.

I was just working on a new bookworm build and encountered this issues - so I thought I'd share it here in case someone else had the same problem. Look forward to the updates, but I am in no rush
 
EDIT: It could also be because I chose BUILD_MINIMAL=yes so it would be missing uzip in the final image.
Reply 0 0
Michael Burmeister-Brown inovato
I have updated the build scripts to fix a new error that cropped up with a couple Armbian default patches (not related to the Quadra).  Bookworm now seems to run well, but obviously not as tested as bullseye.
 
Yes, BUILD_MINIMAL=yes probably excludes a lot, including unzip.  I would avoid that.  If that is essential for what you are doing, let me know.
 
You may not need to build images yourself as I have built several different options and put them on https://www.inovato.net/Armbian
 
See the READ_ME_FIRST.txt file for more info.
 
Hope this helps!
Reply 1 0
dee
I have updated the build scripts to fix a new error that cropped up with a couple Armbian default patches (not related to the Quadra).  Bookworm now seems to run well, but obviously not as tested as bullseye.
 
Yes, BUILD_MINIMAL=yes probably excludes a lot, including unzip.  I would avoid that.  If that is essential for what you are doing, let me know.
 
You may not need to build images yourself as I have built several different options and put them on https://www.inovato.net/Armbian
 
See the READ_ME_FIRST.txt file for more info.
 
Hope this helps!
Appreciate all the hard work and will check the builds out.
Reply 0 0
mrmazak
I am trying to build from source again. And the directions now say to choose the board "inovato quadra".  But it is not showing up. Is there a certain branch from the armbian repo to clone, instead of main?
Reply 0 0
Michael Burmeister-Brown inovato
I updated the instructions just now to checkout the specific commit we tested as I noticed later changes broke one of our patches.  We update this from time to time, but for now, you need to checkout the listed commit.  You also have to remove the "--depth=1" option when cloning Armbian.
Reply 1 0
Michael Burmeister-Brown inovato
We have several Armbian variations pre-built with this commit on https://inovato.net/Armbian.  So you may not need to build.  Bullseye builds are the most stable.  
Reply 0 0
mrmazak
I do not know if this was intentional, or not. But on the new kernel, new build the front blue led is now on.
Reply 0 0
Michael Burmeister-Brown inovato
Armbian had disabled sysfs GPIO which the Quadra uses for the LEDs.  They re-enabled it for 6.1+ kernels, but did not do so for 5.15, which is why you saw it worked for the new 6.1 kernel.  So I added it back in our patches for the legacy 5.15 kernel.
 
If you clone, checkout, and patch again per our build instructions, it should work.
Reply 0 0
darkhorse
Hi Michael,
Good news! Looks like the build error you were getting on Dec 3rd 2023 in WSL has been resolved.... it is related to using the default WSL 5.15 kernel.  After upgrading my WSL kernel to 6.1.x, I just successfully built quadra debian bookworm console server using the steps listed in your first post on this thread.
 
At the time of writing this post, I did have issues with 3 wireless patches. To get around these, I simply removed them from the build by doing:
 
cd build/patch/misc
rm wireless-rtl8189es-Fix-uninitialized-cfg80211-chan-def.patch
touch wireless-rtl8189es-Fix-uninitialized-cfg80211-chan-def.patch
rm wireless-rtl8189fs-fix-p2p-go-advertising.patch
touch wireless-rtl8189fs-fix-p2p-go-advertising.patch
rm wireless-rtl8189fs-fix-and-enable-secondary-iface.patch
touch wireless-rtl8189fs-fix-and-enable-secondary-iface.patch
 
and then running the ./ compile.sh script again.
 
 
Instructions to install the new WSL 6.1.x kernel can be found here:
 
 
Regards, Darkhorse
Reply 0 0
Michael Burmeister-Brown inovato
Yes, see update at the top of this thread.  No patches are needed and everything works now, although I didn't test again on WSL.
Reply 0 0
NA7Q
I'm trying to build this on a linux box I have. Running into this issue here. Trying to compile a minimal server of bullseye


[🔨] 2024-03-30 13:58:34 (13.4 MB/s) - ‘armbian-to-quadra-lite.zip’ saved [945422/945422]
[🔨]
[🔨] /tmp/customize-image.sh: line 22: unzip: command not found
[🔨] chmod: cannot access '/usr/sbin/flash-quadra': No such file or directory
[🔨] chmod: cannot access '/usr/bin/redon': No such file or directory
[🔨] chmod: cannot access '/usr/bin/blueon': No such file or directory
[🔨] chmod: cannot access '/usr/bin/gpio': No such file or directory
[🔨] chmod: cannot access '/usr/share/lightdm/lightdmxrandr.py': No such file or directory
[🔨] Failed to enable unit, unit flash-quadra.service does not exist.
Reply 0 0
Michael Burmeister-Brown inovato
It looks like you are building the old way. Armbian now builds without patches.   See my post right before yours.  
Reply 0 0
Reply