Everything posted by Meestor_X
-
armbian-install not detecting devices on RockPi-S correctly
Is there a github repo for armbian-install? On the RockPi-S with both eMMC and SD cards installed, it's showing the devices backwards or un-named in the menu. I'd like to open an issue report to see if it can be fixed.
-
Overlays do not apply even when selected in armbian-config and then rebooting
Coming back to this... I'm not having any luck getting overlays to work, but I'll need to get out my serial logger to see what's wrong I guess. I'm trying to get the USB-C into host mode on my RockPi-S. I can do it by editing the rk3308-rock-pi-s.dtb file directly, but not using an overlay file. Here's the overlay file I've tried (usbc-host.dts): /dts-v1/; / { fragment@0 { target-path = "/usb@ff400000"; __overlay__ { dr_mode = "host"; }; }; }; and /dts-v1/; /plugin/; / { fragment@0 { target-path = "/usb@ff400000"; __overlay__ { dr_mode = "host"; }; }; }; Tried using: armbian-add-overlay usbc-host.dts as well as compiling the overlay to a .dtbo and adding the line directly into armbianEnv.txt No joy either way... Also, does anyone know why some .dtbo files also have the line /plugin/; below /dts-v1/; ?
-
Audio no longer works after updating to Armbian 24.8.2
Ok, this is weird (or maybe expected, I'm a newbie to all of this)... I installed fresh 25.2.3/6.12.22, and audio didn't work. Came here and posted. Then I used armbian-config to roll back the kernel to 24.11.3/6.12.11. After that, audio worked again. Then, I ran apt update && apt upgrade and still audio kept working. I'm right back to 25.2.3/6.12.22 it seems? cat /run/motd.dynamic _ _ _ /_\ _ _ _ __ | |__(_)__ _ _ _ / _ \| '_| ' \| '_ \ / _` | ' \ /_/ \_\_| |_|_|_|_.__/_\__,_|_||_| v25.2.3 for Rockpi S running Armbian Linux 6.12.22-current-rockchip64 Packages: Debian stable (bookworm) IP addresses: (LAN) IPv4: 192.168.1.35, 10.42.0.1 IPv6: 2001:56a:7490:ce00:8dd8:6d59:ca7a:fe87 (WAN) xxx.xxx.xxx.xxx Performance: Load: 47% Up time: 0 min Memory usage: 31% of 466M CPU temp: 46°C Usage of /: 10% of 59G Commands: Configuration : armbian-config Monitoring : htop uname -a shows: uname -a Linux rp-satellite-xx 6.12.22-current-rockchip64 #1 SMP PREEMPT Mon Apr 7 08:08:37 UTC 2025 aarch64 GNU/Linux aplay -l shows: aplay -l **** List of PLAYBACK Hardware Devices **** card 0: pcm5102a [pcm5102a], device 0: ff300000.i2s-pcm5102a-hifi pcm5102a-hifi-0 [ff300000.i2s-pcm5102a-hifi pcm5102a-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: analog [analog], device 0: ff320000.i2s-rk3308-hifi ff560000.codec-0 [ff320000.i2s-rk3308-hifi ff560000.codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 So, I'm running 6.12.22, and audio is working, but had to do it via apt-upgrade. Any idea why that worked?
- No Audio on Kernel: 6.12.15 and Armbian 25.2.2 Bookworm Minimal
-
Audio no longer works after updating to Armbian 24.8.2
Is there a fix for 6.12.22? uname -a Linux rp-satellite-xx 6.12.22-current-rockchip64 #1 SMP PREEMPT Mon Apr 7 08:08:37 UTC 2025 aarch64 GNU/Linux cat /sys/class/gpio/export cat: /sys/class/gpio/export: Permission denied ls /dev/snd/ seq timer aplay -l aplay: device_list:274: no soundcards found...
-
How does Armbian self-expand?
Armbian is written to a µSD card as a small file (a gig or two if I recall). If the card is 64gigs, the image is still just a few gigs written to that card. When booted on the device, though, it automatically expands the file system to the full size of the card. How exactly does it do that? And... How do I do the reverse? Take the file system from a working armbian install and create a small image that when written to a µSD card, will stay small, but then auto-expand when booted on a device?
- How to change ethernet MAC address on image?
-
Rock Pi S - Audio Support
arecord -f dat -D plughw:analog Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: set_params:1416: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 125000 PERIOD_SIZE: 6000 PERIOD_BYTES: 24000 PERIODS: 4 BUFFER_TIME: 500000 BUFFER_SIZE: 24000 BUFFER_BYTES: 96000 TICK_TIME: 0
-
Rock Pi S - Audio Support
Did you ever figure out how to get this working? Is the headphone jack on the PoE HAT actually a TRRRS with a mic input connection like on a computer? I know to activate the headphone jack you have to enable a GPIO, maybe there's also one for the mic? I have settings matching the capabilities, but no joy. I always get "set_params:1416: Unable to install hw params:"
-
Copying an image file to emmc on RockPi-S
NM. Stupid user error. Gotta uncompress the image first! xz -d Armbian_25.2.2_Rockpi-s_bookworm_current_6.12.15_minimal.img.xz then dd if=/media/images/Armbian_25.2.2_Rockpi-s_bookworm_current_6.12.15_minimal.img of=/dev/mmcblk0 bs=4M status=progress Works as expected, but as you say, you do need to make sure you have a new UUID, and change /boot/armbianEnv.txt (and maybe /etc/fstab too)?
-
Clone any Armbian emmc|microSD with dd using Linux
Can I not just dd a downloaded armbian image file directly to the emmc? i.e. put the image file in a folder on the µSD card or on an external flash drive and dd it to the emmc? I tried that but it doesn't seem to work. I don't end up with a bootable emmc. -EDIT- NM. Stupid user error. I didn't decompress the image file before copying. Works fine once I do that.
-
Copying an image file to emmc on RockPi-S
The usual way to get the a headless linux box up and running is to flash a disk image to a µSD card and then insert that card into the linux box, boot, answer some questions and it's done. Can I not do the same thing with an image file that I put on the µSD card (in addition to the µSD card having a complete linux OS that the box can boot from) and copy that to the emmc? Then pull the card and boot from the emmc? Does the image file used for a µSD card differ from the image file that should be written to the emmc? e.g. I have an armbian image, say "Armbian_25.2.2_Rockpi-s_bookworm_current_6.12.15_minimal.img.xz", on my µSD card at /media/images The emmc is at /dev/mmcblk0 Can I not just go: dd if=/media/images/Armbian_25.2.2_Rockpi-s_bookworm_current_6.12.15_minimal.img.xz of=/dev/mmcblk0 bs=4M status=progress I tried this, but it did not create a bootable image on the emmc.
- USB OTG Networking
-
USB OTG Networking
I haven't been able to find a step-by-step for enabling a USB OTG Network on the RockPi-S. Anyone have a link to the steps? I'm referring to the ability to connect a USB cable between the RockPi-S and a computer and be able to ssh or network to it. My usb port is in peripheral mode and I'm using Network Manager on Armbian Bookworm.
-
Cloning SD card to eMMC and then changing boot device
Would these be the correct commands? dd if=/usr/lib/linux-u-boot-current-rockpi-s/idbloader.bin of=/dev/mmcblk0 seek=64 conv=notrunc status=none dd if=/usr/lib/linux-u-boot-current-rockpi-s/uboot.img of=/dev/mmcblk0 seek=16384 conv=notrunc status=none dd if=/usr/lib/linux-u-boot-current-rockpi-s/trust.bin of=/dev/mmcblk0 seek=24576 conv=notrunc status=none Are the "seek" numbers always the same or do they need to be calculated?
- Cloning SD card to eMMC and then changing boot device
- Cloning SD card to eMMC and then changing boot device
-
SPI on rock s0
Understood. I'm still on 24.x.x so I don't know if the later ones are better. I tried for a while without, but honestly, you gotta get yourself a TTL -> USB that works so you can follow the log. Once you do that, you'll see the errors clear as day as to why the overlays aren't being loaded. Not sure what country you're in, but in NA they're quite inexpensive. This is the one I got: https://www.amazon.com/Serial-Adapter-Signal-Prolific-Windows/dp/B08BLKBK1K
- SPI on rock s0
- Cloning SD card to eMMC and then changing boot device
- Cloning SD card to eMMC and then changing boot device
-
Cloning SD card to eMMC and then changing boot device
So, looking to create a CLI version of armbian-install. Only has to work with the rockpi-s and from the SD card to the eMMC. Looking at this script: If it works to clone the SD to eMMC (with some changes?) then I need to tell armbian to boot from the eMMC when the SD card isn't inserted, same way that armbian-install does. Do I simply change the UUID line in /boot/armbianEnv.txt to the UUID of the eMMC, or do I need to edit /etc/fstab or ??
- Rockpi-S no longer boots with latest Armbian > 24.11.1
-
Apt Upgrade causes Rock Pi S not to boot [Armbian 24.11.1]
Ok, I'll try again, perhaps I did something incorrectly. My fault. After the install it decided to change IP addresses. Rookie move. Now both the eMMC and SD card seem to be booting. Even upgraded to trixie and all still seems to be ok. TY for your help! Is this fixable so that these extra steps are not needed?
- Apt Upgrade causes Rock Pi S not to boot [Armbian 24.11.1]