activate_compressed_tmp has a guard clause preventing zram tmpfs creation when a manually created `tmpfs /tmp` exists.
Extend this behaviour to include *any* `/tmp` mount in /etc/fstab.
Add ES8388 codec support via ES8323 driver on I2C7 with:
- Headphones on LOUT2/ROUT2 with jack detection
- Speaker via CS8120 amplifier on LOUT1/ROUT1
- Onboard microphone and microphone jack inputs
- MCLK routed through I2S0_8CH_MCLKOUT_TO_IO gate clock
- Default mixer state via asound.state
- Board config: add current kernel target, update description
- Change Pin from origin domain to release origin for more reliable pinning
- Improve comments to clarify priority behavior (1001 prevents downgrades)
- Add explanatory comments for Ubuntu repository deprioritization
- Fix typo in upstream comment
This ensures Firefox and Thunderbird are consistently installed from the
Armbian repository with proper pinning rules.
Requires hciattach_opi_arm64_upstream blob
Drops dependency on Add sunxi-addr driver - Used to fix uwe5622
bluetooth MAC addresses patch
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
Replace verbose "1 day, 6 hours, 17 minutes" format with compact
"1d 6h" style for better readability. Fix alignment with Load
and Local users fields. Reads uptime directly from /proc/uptime.
The paste -sd', ' - command treats each character as a separate
delimiter to alternate between, resulting in inconsistent spacing.
Fix by using single comma delimiter then adding spaces with sed.
- Simplify printf format string and fix invalid %-0s specifier
- Use underscore for intentionally unused sudo variable
- Add proper color formatting to commands
- Improve alignment of command output
- Replace unquoted variable parsing with IFS+read for proper splitting
- Quote all variables to prevent word splitting and globbing
- Use proper [[ test ]] instead of [ test ] for consistency
- Fix printf format string to use proper argument passing
- Add short-circuit evaluation for "true" conditions to avoid eval
- Maintain same functionality with improved security
Fixes "printf: : invalid number" error when ambient temperature or board
temperature values are empty on systems without temperature sensors.
Adds error suppression and fallback to "0" for temperature formatting
to prevent script errors on systems without these sensors.
Add asound.state configuration for NanoPC T6 and T6 LTS to properly
configure audio devices and mixer settings.
- Set ASOUND_STATE variable in board config
- Add asound.state.nanopct6 blob with preconfigured mixer settings
This ensures audio devices are properly initialized on first boot.
Add OUT1 and OUT2 switch controls to enable headphone output from the es8323 codec when using the vendor kernel. These switches are required for audio to be routed to the headphone jack on the vendor kernel, while the mainline kernel does not require these additional controls.
* First login: create docker group and add normal user to it
* Update packages/bsp/common/usr/lib/armbian/armbian-firstlogin
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* armbian-install: set `rootfstype` when installing with MTD flash boot
* armbian-install: add check for btrfs-progs
* Ensure `rootfstype` is set in the MTD boot scenario
* Change exit code to 12 when the user denies installing btrfs-progs
* Check for `mkfs.btrfs` instead of `btrfs`
* run debian noninteractive
* Check for mkfs.btrfs even after running the apt-get commands
Currently, WLAN DHCP is only enabled when the value of
PRESET_NET_USE_STATIC is explicitly set to 0. It is not enabled when
this configuration is uncommented or omitted. This change adjusts the
behavior so that DHCP is enabled by default unless a static network
configuration is used.
Signed-off-by: Marcello Sylvester Bauer <marcello.bauer@9elements.com>
* rockchip: Add NanoPi M5 board support to edge kernel
* rockchip64: enable Rockchip ASoC drivers and codecs in kernel config
* config: Fix audio Kconfig tristate hierarchy
Set CONFIG_SOUND, CONFIG_SND, and CONFIG_SND_SOC to built-in (y)
to allow Rockchip audio drivers to be built-in instead of being
silently downgraded to modules by olddefconfig.
* nanopi-m5: Add asound.state for audio configuration
* nanopi-m5: Fix SAI2 clock output