<?xml version="1.0"?>
<rss version="2.0"><channel><title>Odroid C4 Latest Topics</title><link>https://testforum.armbian.com/forum/275-odroid-c4/</link><description>Odroid C4 Latest Topics</description><language>en</language><item><title>SPI NOR Flash on Odroid HC4</title><link>https://testforum.armbian.com/topic/60454-spi-nor-flash-on-odroid-hc4/</link><description><![CDATA[<p>
	How can we acces the SPI NOR Flash on Odroid HC4?
</p>

<p>
	 
</p>

<p>
	The usual error
</p>

<p>
	seems to be the driver, not a thing we can overlay device tree? Id for xt25f128b is implemented.
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Zitat
	</div>

	<div class="ipsQuote_contents">
		<p>
			 
		</p>

		<pre class="ipsCode">unrecognized JEDEC id 0</pre>

		<p>
			 
		</p>
	</div>
</blockquote>

<pre class="ipsCode">meson-spifc ffd14000.spi: registered host spi0
spi spi0.0: setup mode 0, 8 bits/w, 1000000 Hz max --&gt; 0
spi-nor spi0.0: supply vcc not found, using dummy regulator
spi-nor spi0.0: error -95 reading JEDEC ID
spi-nor spi0.0: probe with driver spi-nor failed with error -95
meson-spifc ffd14000.spi: registered child spi0.0</pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">60454</guid><pubDate>Mon, 22 Jun 2026 15:55:12 +0000</pubDate></item><item><title>ODROID-HC4 not usable with recent Armbian images (no SATA, no USB keyboard, Petitboot broken)</title><link>https://testforum.armbian.com/topic/54679-odroid-hc4-not-usable-with-recent-armbian-images-no-sata-no-usb-keyboard-petitboot-broken/</link><description><![CDATA[<p>
	Board: ODROID-HC4
</p>

<p>
	<br />
	Images tested:
</p>

<p>
	Armbian_25.5.1_Odroidhc4_bookworm_current_6.12.28_minimal.img
</p>

<p>
	Armbian_25.5.1_Odroidhc4_noble_current_6.12.28.img
</p>

<p>
	 
</p>

<p>
	Kernel versions tested: multiple (6.6.x, 6.7.x, 6.12.x) through armbian-config
</p>

<p>
	 
</p>

<p>
	Issues observed:
</p>

<p>
	1. No USB keyboard at boot
</p>

<p>
	I have tested with three different USB keyboards (all working fine on Debian/Ubuntu official images).
</p>

<p>
	 
</p>

<p>
	2. SATA not initialized → NAS functionality is broken
</p>

<p>
	Always get:
</p>

<p>
	ata1: SATA max UDMA/133 ata1: SATA link down (SStatus 0 SControl 300) ata2: SATA max UDMA/133 ata2: SATA link down (SStatus 0 SControl 300)
</p>

<p>
	Disks are never detected.
</p>

<p>
	This makes Armbian unusable on HC4 as a NAS (which is the main purpose of the board).
</p>

<p>
	<br />
	3. Petitboot incompatibility and restore procedure
</p>

<p>
	Armbian does not boot correctly with Petitboot (the default bootloader shipped by Hardkernel).
</p>

<p>
	The Armbian documentation recommends removing Petitboot, which prevents using other distributions afterwards.
</p>

<p>
	 
</p>

<p>
	The official Armbian forum threads redirect to Hardkernel forum.
</p>

<p>
	The tools to restore Petitboot are hosted on ppa.linuxfactory.or.kr, which has been offline for over a week !...
</p>

<p>
	This effectively leaves users stuck without a working bootloader or system.<br />
	<br />
	 
</p>

<p>
	Expected behavior
</p>

<p>
	SATA disks should be detected and initialized (as with Hardkernel’s Debian/Ubuntu 5.15 <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> images).
</p>

<p>
	USB keyboards should work at boot.
</p>

<p>
	Armbian should either work with Petitboot, or provide a reliable documented way to restore it.
</p>

<p>
	<br />
	 
</p>

<p>
	At the moment, Armbian on ODROID-HC4 is unusable as a NAS due to SATA not working and Petitboot being broken.<br />
	The only working setup is using Hardkernel’s old Debian/Ubuntu images with kernel 5.15.<br />
	 
</p>

<p>
	Could you please clarify:
</p>

<p>
	Is HC4 still officially supported by Armbian? Do you test your releases ?
</p>

<p>
	<br />
	If yes, which kernel/branch should be used for stable SATA support?...
</p>

<p>
	Will there be fixes for USB keyboard and Petitboot compatibility?<br />
	<br />
	Thanks a lot !
</p>
]]></description><guid isPermaLink="false">54679</guid><pubDate>Thu, 21 Aug 2025 07:53:29 +0000</pubDate></item><item><title>SATA hard drives on Odroid-HC4 (OpenMediaVault works!)</title><link>https://testforum.armbian.com/topic/60442-sata-hard-drives-on-odroid-hc4-openmediavault-works/</link><description><![CDATA[<p>
	I have an Odroid HC4 I've used as a NAS. Back around 2021, it worked fine. I think I installed plain armbian back then and installed openmediavault on top of it. Then I did all kinds of updates to it. I believe it's now on a hybrid of Debian Bookworm and Debian Trixie - don't ask. The update mechanism is not super clear.
</p>

<p>
	 
</p>

<p>
	I wanted to run a fresh, plain Armbian and install dietpi. 
</p>

<p>
	 
</p>

<p>
	But there is a well documented flaw where Armbian cannot exit boot in some cases. In my case, it happens only when SATA drives are attached. I have two WD Red drives that it can't boot with those attached.
</p>

<p>
	 
</p>

<p>
	It seems like the bootloader code was changed over time, which let prior builds boot but not current builds.
</p>

<p>
	 
</p>

<p>
	Admittedly, these drives fail SMART, so they could be reporting bad data.
</p>

<p>
	Errors:
</p>

<p>
	<br>
	Scanning bus for devices...<br>
	[SATA stuff]<br>
	timeout exit!<br>
	fs_devread read error - block<br>
	[SATA stuff - size is off by about 10x - says 700 GB, actually 6 TB]<br>
	Device 0: [SATA stuff]<br>
	... is now current device<br>
	timeout exit!<br>
	timeout exit!<br>
	timeout exit!<br>
	[etc.]
</p>

<p>
	 
</p>

<p>
	I tried setting the code in /boot to only attempt to boot from emmc0 and emmc1.
</p>

<p>
	 
</p>

<p>
	The farthest I got was this, but I think updating to trixie via armbian-config again broke the boot code:
</p>

<p>
	 
</p>

<p>
	installed old armbian minimal
</p>

<p>
	apt install armbian-config
</p>

<p>
	 
</p>

<p>
	# the keys are old and fail with the sha1 ban recently implemented. this fixes that<br>
	wget <a href="https://apt.armbian.com/armbian.key" rel="external nofollow">https://apt.armbian.com/armbian.key</a><br>
	gpg --dearmor &lt; armbian.key | sudo tee /usr/share/keyrings/armbian.gpg &gt; /dev/null
</p>

<p>
	 
</p>

<p>
	armbian-config: disable firmware update (also disables kernel updates)
</p>

<p>
	distro full upgrade from armbian-config
</p>

<p>
	 
</p>

<p>
	got:
</p>

<p>
	Description:    Armbian 26.5.1 trixie<br>
	Release:        13
</p>

<p>
	<br>
	<a href="https://dietpi.com/docs/hardware/#make-your-own-distribution" rel="external nofollow">https://dietpi.com/docs/hardware/#make-your-own-distribution</a>
</p>

<p>
	noticed this in the install script running, i'm worried it will wipe the good old firmware and replace with new bad:
</p>

<p>
	<br>
	0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>
	[  OK  ] DietPi-Installer | APT install linux-image-current-meson64 linux-u-boot-odroidhc4-current<br>
	[  OK  ] DietPi-Installer | rm -f /boot/uImage /boot/uInitrd /boot/uInitrd-6.18.34-current-meson64<br>
	[  OK  ] DietPi-Installer | rm /boot/.next<br>
	[  OK  ] DietPi-Installer | rm /boot/armbianEnv.txt<br>
	[  OK  ] DietPi-Installer | mkimage -C none -A arm64 -T script -d /boot/boot.cmd /boot/boot.scr<br>
	[ SUB1 ] DietPi-Set_hardware &gt; flash-u-boot-mmc (/dev/mmcblk0)<br>
	442+0 records in<br>
	442+0 records out<br>
	442 bytes copied, 0.00430629 s, 103 kB/s<br>
	2626+1 records in<br>
	2626+1 records out<br>
	1344880 bytes (1.3 MB, 1.3 MiB) copied, 0.162507 s, 8.3 MB/s<br>
	[  OK  ] flash-u-boot-mmc (/dev/mmcblk0) | Completed<br>
	[ INFO ] DietPi-Installer | Preventing needless kernel and initramfs symlink generation<br>
	[  OK  ] DietPi-Installer | eval echo 'do_symlinks=0' &gt; /etc/kernel-img.conf<br>
	[  OK  ] DietPi-Installer | rm -f /initrd.img /initrd.img.old /vmlinuz /vmlinuz.old<br>
	[ INFO ] DietPi-Installer | Generating list of minimal packages, required for DietPi installation<br>
	[  OK  ] DietPi-Installer | Marking required packages as manually installed<br>
	[  OK  ] DietPi-Installer | Unhold all packages<br>
	[ INFO ] DietPi-Installer | APT autopurge gawk original-awk, please wait...<br>
	Reading package lists...<br>
	 
</p>

<p>
	 
</p>

<p>
	Ideas:
</p>

<p>
	- try booting with just one SATA
</p>

<p>
	- try another SATA drive
</p>

<p>
	- try with petitboot (older / manufacturer boot code) instead of uboot
</p>

<p>
	- compare working /boot folder on working microsd with failed /boot folder (I did this, far too many differences to list). I did try copying key differences and recompiling the boot, didn't seem to fix it.
</p>

<p>
	- hotswap / hot install the drives after boot (apparently works)
</p>

<p>
	 
</p>

<p>
	related:
</p>

<p>
	<a href="https://dietpi.com/forum/t/error-on-updating-ombi/25096" rel="external nofollow">https://dietpi.com/forum/t/error-on-updating-ombi/25096</a>
</p>

<p>
	<a href="https://dietpi.com/forum/t/dietpi-os-apt-update-warnings/24923/31?page=2" rel="external nofollow">https://dietpi.com/forum/t/dietpi-os-apt-update-warnings/24923/31?page=2</a>
</p>

<p>
	<a href="https://forum.openmediavault.org/index.php?thread/43298-install-omv-on-odroid-hc4-some-questions-from-a-newbie/" rel="external nofollow">https://forum.openmediavault.org/index.php?thread/43298-install-omv-on-odroid-hc4-some-questions-from-a-newbie/</a>
</p>

<p>
	<a href="https://dietpi.com/forum/t/odroid-hc4-sata-drives-not-recognized/4795" rel="external nofollow">https://dietpi.com/forum/t/odroid-hc4-sata-drives-not-recognized/4795</a>
</p>

<p>
	<a href="https://dietpi.com/forum/t/odroid-c2-doesnt-boot-up/6489/14" rel="external nofollow">https://dietpi.com/forum/t/odroid-c2-doesnt-boot-up/6489/14</a>
</p>

<p>
	<a href="https://dietpi.com/forum/t/orange-pi-5-boot-from-sata-m-2-ssd/17884/51?page=2" rel="external nofollow">https://dietpi.com/forum/t/orange-pi-5-boot-from-sata-m-2-ssd/17884/51?page=2</a>
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="206426" data-embedcontent="" data-embedid="embed8497999675" src="https://testforum.armbian.com/topic/26712-nanopi-r1-boot-stuck-in-starting-kernel/?do=embed" style="height:213px;max-width:502px;" loading="lazy"></iframe>

<p>
	<a href="https://github.com/MichaIng/DietPi/issues/7601" rel="external nofollow">https://github.com/MichaIng/DietPi/issues/7601</a>
</p>
]]></description><guid isPermaLink="false">60442</guid><pubDate>Sun, 21 Jun 2026 23:09:35 +0000</pubDate></item><item><title>USB not working, debounce issue on 6.12.56-current-meson64</title><link>https://testforum.armbian.com/topic/56227-usb-not-working-debounce-issue-on-61256-current-meson64/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I currently have the issue of a non working usb port on my odroidhc4. 
</p>

<p>
	dmesg output:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[  133.464610] usb usb1-port2: connect-debounce failed</span></pre>

<p>
	The port does not show up when lsusb is entered.
</p>

<p>
	 
</p>

<p>
	uname -a:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Linux odroidhc4 6.12.56-current-meson64 #1 SMP PREEMPT Wed Oct 29 13:09:02 UTC 2025 aarch64 GNU/Linux</span></pre>

<p>
	 
</p>

<p>
	I solved this temporairly a while ago by booting an older kernel (linux-image-6.12.43+deb12-arm64) like mentioned here: 
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="217673" data-embedcontent="" data-embedid="embed7061896439" src="https://testforum.armbian.com/topic/50580-usb-error-after-kernel-update-on-odroid-hc4/?do=embed&amp;comment=226149&amp;embedComment=226149&amp;embedDo=findComment#findComment-226149" style="height:254px;max-width:500px;" loading="lazy"></iframe>

<p>
	 
</p>

<p>
	Are there any progresses on how to fix this reliably? Because I think still running kernel 6.6.63 is not save.
</p>

<p>
	 
</p>

<p>
	Thanks for your answer in advance, if you need more information I am happy to deliver.
</p>
]]></description><guid isPermaLink="false">56227</guid><pubDate>Sat, 15 Nov 2025 10:59:45 +0000</pubDate></item><item><title>Fan pwm stopped working on Odroid HC4</title><link>https://testforum.armbian.com/topic/59136-fan-pwm-stopped-working-on-odroid-hc4/</link><description><![CDATA[<p>
	I have three identical Odroid HC 4 which has been running the same software and using the kernel 6.12.32-current-meson64. Their are configured as NAS where the data is split across all three devices and therefore their are running constantly. A couple of weeks ago began the fan on one of the machines behavior different. It would either be running a full speed or no running, it was no longer possible to control via PWM. Now last week did another one start with the same behavior.
</p>

<p>
	 
</p>

<p>
	I was do the following to test and validate the issue:
</p>

<ul>
	<li>
		I have disable the fancontrol service and manually written to hwmon2/pwm1 to set the PWM. Which was possible on the healthy HC4, but on the unhealthy HC4 would it only be full speed or no speed.
	</li>
	<li>
		I have tried the latest version of Armbian Noble and Trixie the hwmon2/pwm1 is exposed but doesn't allow me to modify the speed of the fan.
	</li>
	<li>
		I have tried the official os image from Hardkernel and here does the fan work as expected.
	</li>
</ul>
]]></description><guid isPermaLink="false">59136</guid><pubDate>Wed, 15 Apr 2026 04:45:45 +0000</pubDate></item><item><title>Missing headers for 6.18 kernel</title><link>https://testforum.armbian.com/topic/57601-missing-headers-for-618-kernel/</link><description><![CDATA[<p>
	Hi
</p>

<p>
	I installed Armbian_community_26.2.0-trunk.151_Odroidhc4_trixie_current_6.18.2_minimal.img
</p>

<p>
	Trying to build zfs-dkms I discovered that I was missing the linux-headers for this kernel version<br />
	and there is no package containing it. At least apt-cache didn't find anything.
</p>

<p>
	Any idea where to find it?
</p>

<p>
	Thanks,<br />
	Chris
</p>
]]></description><guid isPermaLink="false">57601</guid><pubDate>Fri, 23 Jan 2026 18:11:58 +0000</pubDate></item><item><title>Fix for C4/HC4 double-power-cycle during boot.</title><link>https://testforum.armbian.com/topic/57518-fix-for-c4hc4-double-power-cycle-during-boot/</link><description><![CDATA[<p>
	Armbian recently merged and will be releasing (and backporting) a patched devicetree file for the Odroid C4 and HC4 that eliminates the second power-cycle "glitch" during boot.
</p>

<p>
	Hopefully this will fix at least one issue people have been reporting, where some HDDs (or other devices) do not react well to rapid power double-tap during boot.
</p>

<p>
	<a href="https://github.com/armbian/build/blob/main/patch/kernel/archive/meson64-6.19/board-odroid-sm1-regulators-boot-on.patch" rel="external nofollow">https://github.com/armbian/build/blob/main/patch/kernel/archive/meson64-6.19/board-odroid-sm1-regulators-boot-on.patch</a>
</p>

<p>
	 
</p>

<p>
	It will also be released (and likely backported) upstream in next Linux kernel release and/or fixes.
</p>

<p>
	 
</p>

<p>
	Also, something else people have been reporting is the HC4 struggling to spin up two large HDDs at the same time.  If you have an HDD with a "Power Up In Standby" (PUIS) setting, such as the Seagate IronWolf, then you can configure all non-system (non-boot) drives in this manner, and then mount and access them sequentially after the system has booted.  Depending on how much power the HDDs use in regular operation, this <u>might</u> work to get both spun up and running.  Theoretically, you could also access just one drive at a time and then place it back in standby before using the other drive. YMMV.
</p>
]]></description><guid isPermaLink="false">57518</guid><pubDate>Wed, 21 Jan 2026 04:33:27 +0000</pubDate></item><item><title>Critical dpkg usr-merge warning on ODROID HC4 - Production NAS affected (RAID1+LUKS)</title><link>https://testforum.armbian.com/topic/57425-critical-dpkg-usr-merge-warning-on-odroid-hc4-production-nas-affected-raid1luks/</link><description><![CDATA[<p>
	<strong>System Overview</strong><br>
	Hardware: ODROID HC4
</p>

<p>
	OS: Armbian (current version)
</p>

<p>
	Kernel: 6.12.44-current-meson64
</p>

<p>
	Use case: Production NAS with critical data<br>
	<br>
	<strong>Problem Description</strong><br>
	During apt upgrade, the following critical warnings appear:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">dpkg: warning: This system uses merged-usr-via-aliased-dirs, going behind dpkg's
dpkg: warning: back, breaking its core assumptions. This can cause silent file
dpkg: warning: overwrites and disappearances</span></pre>

<p>
	 
</p>

<p>
	<strong>System state analysis reveals:</strong>
</p>

<p>
	/bin, /sbin, /lib are correct symlinks to /usr/*
</p>

<p>
	BUT: Files exist in duplicate (/bin/bash and /usr/bin/bash identical)
</p>

<p>
	DKMS cannot build kernel modules (missing headers)
</p>

<p>
	systemd cannot set journal flags (symlink to SD card)
</p>

<p>
	<br>
	<strong>NAS Configuration (Critical Infrastructure)</strong><br>
	Storage Setup:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">RAID1 with mdadm (two HDDs) + LUKS encryption
/var/log relocated to SD card</span></pre>

<p>
	<br>
	<strong>Filesystem:</strong><br>
	/dev/mmcblk0p1: LABEL="armbi_root" TYPE="ext4"<br>
	/dev/sda: TYPE="crypto_LUKS"<br>
	/dev/sdb: TYPE="crypto_LUKS"<br>
	/dev/mapper/sda_luks: TYPE="linux_raid_member"<br>
	/dev/mapper/sdb_luks: TYPE="linux_raid_member"<br>
	/dev/md0: TYPE="ext4"
</p>

<p>
	<br>
	<strong>Reproduction</strong>
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ ls -la /bin /sbin /lib
lrwxrwxrwx 1 root root 7 Apr 22  2024 /bin -&gt; usr/bin
lrwxrwxrwx 1 root root 7 Apr 22  2024 /lib -&gt; usr/lib
lrwxrwxrwx 1 root root 8 Apr 22  2024 /sbin -&gt; usr/sbin

$ ls -la /usr/bin/bash /bin/bash
-rwxr-xr-x 1 root root 1543048 Mar 31  2024 /bin/bash
-rwxr-xr-x 1 root root 1543048 Mar 31  2024 /usr/bin/bash  # DUPLICATE!</span></pre>

<p>
	 
</p>

<p>
	<strong>Urgent Questions</strong><br>
	1. Root Cause Analysis<br>
	Has anyone experienced this specific issue with Armbian on ODROID HC4?
</p>

<p>
	Is this a known upgrade problem with a particular Armbian version?
</p>

<p>
	 
</p>

<p>
	2. Solution Paths<br>
	Which approach do you recommend for a production NAS?
</p>

<p>
	A) System repair tool (is there an Armbian-specific one?)
</p>

<p>
	<img alt="B)" data-emoticon="" src="https://testforum.armbian.com/uploads/emoticons/default_cool.png" title="B)" loading="lazy"> Manual cleanup - any experiences with this?
</p>

<p>
	C) Migration to new image - best method with LUKS+RAID?
</p>

<p>
	D) Install kernel headers first despite warnings?<br>
	<br>
	3. Migration Strategy with LUKS<br>
	How to safely migrate:
</p>

<p>
	LUKS configuration (keys, passphrases)
</p>

<p>
	mdadm RAID1 setup
</p>

<p>
	Samba/NFS shares and ACLs
</p>

<p>
	WireGuard configuration
</p>

<p>
	Risk Assessment
</p>

<p>
	<br>
	Current risk:
</p>

<p>
	Silent data corruption possible
</p>

<p>
	Kernel updates may break filesystem modules
</p>

<p>
	System might not boot after next reboot
</p>

<p>
	<br>
	Time pressure:<br>
	NAS must remain available, but security is top priority.<br>
	<br>
	System Details
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln"># dpkg --version
Debian 'dpkg' package management program version 1.22.6 (arm64).

# uname -a
Linux odroidhc4 6.12.44-current-meson64 #3 SMP PREEMPT Thu Aug 28 14:31:16 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

# cat /etc/armbian-image-release
BOARD=odroidhc4
BOARD_NAME="Odroid HC4"
VERSION=25.2.1
REVISION=25.2.1
IMAGE_UUID=54c1127b-9e70-4d3f-bedd-3faf1f5e58fa
BUILD_REPOSITORY_COMMIT=1f6972065</span></pre>

<p>
	 
</p>

<p>
	Request for assistance with:<br>
	Immediate actions to stabilize the system
</p>

<p>
	Proven migration method for Armbian+ODROID+LUKS
</p>

<p>
	Experiences with this specific bug
</p>
]]></description><guid isPermaLink="false">57425</guid><pubDate>Fri, 16 Jan 2026 18:06:07 +0000</pubDate></item><item><title>Clone any Armbian emmc|microSD with dd using Linux</title><link>https://testforum.armbian.com/topic/49266-clone-any-armbian-emmcmicrosd-with-dd-using-linux/</link><description><![CDATA[<p>
	I can not reiterate enough just how easy it is to "clone" your modified <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr>, or microSD card OS, ... into an image file that you can easily restore with (balena)Ethcher afterwards, and all withiin Linux.
</p>

<p>
	 
</p>

<p>
	1:/ you'll need a USB-card-reader-adapter.
</p>

<p>
	2:/ no matter how your USB-reader card reader sees your <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr>, microSD card, ..., it'll most likely be mounted on a /dev/sda1 partition.
</p>

<p>
	3:/ sudo dd bs=4M if=/dev/sda of=~/tmp/armbian_odroidc4_11_01_2025.img<br />
	(you don't dd the partition, you dd the drive).
</p>

<p>
	4:/ (optionally) sudo xz -v armbian_odroidc4_11_01_2025.img  <br />
	(this will take some time).
</p>

<p>
	 
</p>

<p>
	...and that's it, ... and you know the rest.
</p>
]]></description><guid isPermaLink="false">49266</guid><pubDate>Sun, 12 Jan 2025 06:31:27 +0000</pubDate></item><item><title>ODROID C4 - run from usb sata using petitboot?</title><link>https://testforum.armbian.com/topic/50541-odroid-c4-run-from-usb-sata-using-petitboot/</link><description><![CDATA[<p>
	(Sorry this tagged as C2 since C4 tag not available) - Not trying to ruffle any feathers mentioning dietpi.
</p>

<p>
	 
</p>

<p>
	I have an Odroid C4 with petitboot on sd for booting os's.  I have a couple usb3&gt;sata cases with 120g ssd's installed.  Blazing fast and about $25usd <span class="ipsEmoji">🙂</span>
</p>

<p>
	I can then download images and write them to the drives.  Dietpi 9.11 and using the netboot function builtin to petiboot a few different flavors of other os's including debian 12.
</p>

<p>
	 
</p>

<p>
	I have Armbian on SD as well.  My problem is that it is incredibly slow running from sd on my c4.   It runs VERY WELL though and detects audio properly on my tv through hdmi (shows as unknown display).
</p>

<p>
	Where Debian 12 and Dietpi DONT. I get NO SOUND from them.  I just shutdown, swap usb and each boots nicely from petitboot.
</p>

<p>
	 
</p>

<p>
	Is there a way to make Armbian like dietpi where its disk format is recognized by petitiboot?  Then you would no longer have to do any u-boot configuration.
</p>

<p>
	 
</p>

<p>
	I searched the forums and saw a post about using armbian-config to install to usb and did that.  But petitboot does not see the drive so will not boot from it. I booted from the armbian sd and it appears to be using the usb drive but upon upgrade (of 37 pkgs) from 12.9&gt;12.10 It fails with many file size/hash sum mismatch.  It mentions mirror-sync in progress so I will try again later.
</p>

<p>
	 
</p>

<p>
	And now that I am using usb storage on Armbian there is NO SOUND.  So it appears that my sound problem on the C4 is usb related.
</p>

<p>
	I unplugged the usb and thought it would launch Armbian from sd but apparently uboot was changed so that fails.
</p>

<p>
	 
</p>

<p>
	I will start hunting for odroid usb/sata sound issues and see if i have any luck.
</p>

<p>
	 
</p>

<p>
	Just wondered if you have any ideas on this?  Thanks.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">50541</guid><pubDate>Sun, 16 Mar 2025 16:04:11 +0000</pubDate></item><item><title>Overlay for C4 SPI available</title><link>https://testforum.armbian.com/topic/45258-overlay-for-c4-spi-available/</link><description><![CDATA[<p>
	Hi there,
</p>

<p>
	I have an overlay available for Odroid C4 (Kernel 6.6.51), which needs some testing in the field.
</p>

<p>
	It supports 12MHz operation max on the pins 19, 21, 23 and 24 on the <abbr title="General purpose input/output"><abbr title="General purpose input/output">GPIO</abbr></abbr> header.
</p>

<p>
	In case you have a test case for that, let me know, and I can provide things to you.
</p>

<p>
	Michael
</p>
]]></description><guid isPermaLink="false">45258</guid><pubDate>Mon, 16 Sep 2024 15:27:16 +0000</pubDate></item><item><title><![CDATA[Odroid C4 & SPI - anyone successful?]]></title><link>https://testforum.armbian.com/topic/36077-odroid-c4-spi-anyone-successful/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	after a long time I started up my C4 and tried both the standard download kernel as well as a home compiled one.
</p>

<p>
	I need SPI on the C4, so I changed the device tree to meson-sm1-odroid-c4-spidev.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>, and see spidev kernel modul loaded, but no driver, and I don't get any signals on the corresponding pins.
</p>

<p>
	Any help is appreciated - would be great to have SPI working again...
</p>

<p>
	See you, Michael
</p>
]]></description><guid isPermaLink="false">36077</guid><pubDate>Tue, 12 Mar 2024 19:17:23 +0000</pubDate></item><item><title>C4 and opencl</title><link>https://testforum.armbian.com/topic/24376-c4-and-opencl/</link><description><![CDATA[<p>
	Is there some instructions on how to get opencl with <abbr title="Graphic processing unit (3D acceleration)">gpu</abbr> working on the C4 with armbian ?
</p>

<p>
	 
</p>

<p>
	I found <a href="https://wiki.odroid.com/odroid-c4/os_images/ubuntu/minimal/20200526#opencl_configuration" rel="external nofollow">https://wiki.odroid.com/odroid-c4/os_images/ubuntu/minimal/20200526#opencl_configuration</a> but the package mali-fbdev isn't available on armbian.
</p>

<p>
	 
</p>

<p>
	Closest I've got is :
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ curl -L http://deb.odroid.in/c4/pool/main/m/mali-midgard-driver/mali-fbdev_0.1-2ubuntu4_arm64.deb -o mali-fbdev_0.1-2ubuntu4_arm64.deb
$ ar -xv mali-fbdev_*
$ tar --use-compress-program=unzstd -xvf data.tar.zst
$ sudo cp -r usr/* /usr/
$ mkdir -p /etc/OpenCL/vendors/
$ echo /usr/share/mali-odroid-c4/libmali.so | sudo tee /etc/OpenCL/vendors/mali.icd</span></pre>

<p>
	 
</p>

<p>
	But then clinfo fails with :
</p>

<p>
	<br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ clinfo
Number of platforms                               1
  Platform Name                                   ARM Platform
  Platform Vendor                                 ARM
  Platform Version                                OpenCL 2.0 git.c8adbf9.ad00b04c1b60847de257177231dc1a53
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp16 cl_khr_icd cl_khr_egl_image cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_create_command_queue cl_arm_core_id cl_arm_printf cl_arm_thread_limit_hint cl_arm_non_uniform_work_group_size cl_arm_import_memory cl_arm_shared_virtual_memory
  Platform Extensions function suffix             ARM

  Platform Name                                   ARM Platform
Number of devices                                 1
Failed creating base context during opening of kernel driver.</span></pre>

<p>
	 
</p>

<p>
	So, presumably, there is a kernel module to be installed as well.
</p>

<p>
	 
</p>

<p>
	I also found https://developer.arm.com/downloads/-/mali-drivers/user-space ... but doesn't indicate support for the C4.
</p>

<p>
	 
</p>

<p>
	Any hints to get further ?  Thanks.
</p>
]]></description><guid isPermaLink="false">24376</guid><pubDate>Fri, 11 Nov 2022 18:34:57 +0000</pubDate></item></channel></rss>
