forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'armbian:main' into main
- Loading branch information
Showing
235 changed files
with
53,143 additions
and
39,501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Amlogic S905X3 quad core 4GB RAM SoC eMMC GBE USB2 SPI | ||
BOARD_NAME="JetHub D2 family" | ||
BOARDFAMILY="jethub" | ||
BOARD_MAINTAINER="adeepn" | ||
BOOTCONFIG="jethub_j200_defconfig" | ||
KERNEL_TARGET="current,edge" | ||
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost | ||
FULL_DESKTOP="yes" | ||
SERIALCON="ttyAML0" | ||
#BOOT_LOGO="desktop" | ||
|
||
BOOTBRANCH_BOARD="tag:v2024.01" | ||
BOOTPATCHDIR="v2024.01" | ||
|
||
BOOT_FDT_FILE="amlogic/meson-sm1-jethome-jethub-j200.dtb" | ||
|
||
# To enable the SPI NOR the -spi .dtb is required, because eMMC shares a pin with SPI on the D2. To use it: | ||
# fdtfile=amlogic/meson-sm1-jethome-jethub-j200-spinor.dtb # in armbianEnv.txt and reboot, then run armbian-install | ||
# After deploying to SPI-NOR/MTD, return back to the normal DTB, otherwise eMMC speed is impaired. | ||
#UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin.sd.bin:u-boot.bin u-boot-dtb.img u-boot.bin:u-boot-spi.bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Rockchip RK3588S octa core 8GB RAM SoC eMMC 1x NVMe 1x USB3 1x USB2 1x 2.5GbE 1x GbE | ||
BOARD_NAME="NanoPi R6C" | ||
BOARDFAMILY="rockchip-rk3588" | ||
BOARD_MAINTAINER="ColorfulRhino" | ||
BOOTCONFIG="nanopi-r6c-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate | ||
BOOT_SOC="rk3588" | ||
KERNEL_TARGET="vendor,current,edge" | ||
FULL_DESKTOP="yes" | ||
BOOT_LOGO="desktop" | ||
IMAGE_PARTITION_TABLE="gpt" | ||
BOOT_FDT_FILE="rockchip/rk3588s-nanopi-r6c.dtb" | ||
BOOT_SCENARIO="spl-blobs" | ||
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin' | ||
BL31_BLOB='rk35/rk3588_bl31_v1.45.elf' | ||
|
||
function post_family_tweaks__nanopi_r6c_naming_audios() { | ||
display_alert "$BOARD" "Renaming NanoPi R6C HDMI audio interface to human-readable form" "info" | ||
|
||
mkdir -p $SDCARD/etc/udev/rules.d/ | ||
cat <<- EOF > $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' | ||
EOF | ||
} | ||
|
||
function post_family_tweaks__nanopi_r6c_naming_udev_network_interfaces() { | ||
display_alert "$BOARD" "Renaming NanoPi R6C network interfaces to 'wan' and 'lan'" "info" | ||
|
||
mkdir -p $SDCARD/etc/udev/rules.d/ | ||
cat <<- EOF > "${SDCARD}/etc/udev/rules.d/70-persistent-net.rules" | ||
SUBSYSTEM=="net", ACTION=="add", KERNELS=="fe1c0000.ethernet", NAME:="wan" | ||
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0003:31:00.0", NAME:="lan" | ||
EOF | ||
} | ||
|
||
# Mainline U-Boot | ||
function post_family_config__nanopi_r6c_use_mainline_uboot() { | ||
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info" | ||
|
||
declare -g BOOTCONFIG="generic-rk3588_defconfig" # Use generic defconfig which should boot all RK3588 boards | ||
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc | ||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot | ||
declare -g BOOTBRANCH="tag:v2024.07-rc4" | ||
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}" | ||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency | ||
|
||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin" | ||
|
||
# Disable stuff from rockchip64_common; we're using binman here which does all the work already | ||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd | ||
|
||
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go | ||
function write_uboot_platform() { | ||
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
chromium-browser | ||
firefox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
eos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
armhf, arm64, amd64, riscv64 |
14 changes: 14 additions & 0 deletions
14
config/desktop/noble/environments/i3-wm/armbian/create_desktop_package.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# install lightdm greeter | ||
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian | ||
|
||
# install default desktop settings | ||
mkdir -p "${destination}"/etc/skel | ||
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel | ||
|
||
# install logo for login screen | ||
mkdir -p "${destination}"/usr/share/pixmaps/armbian | ||
cp "${SRC}"/packages/blobs/desktop/icons/armbian.png "${destination}"/usr/share/pixmaps/armbian | ||
|
||
# install wallpapers | ||
mkdir -p "${destination}"/usr/share/backgrounds/armbian/ | ||
cp "${SRC}"/packages/blobs/desktop/desktop-wallpapers/armbian*.jpg "${destination}"/usr/share/backgrounds/armbian/ |
Oops, something went wrong.