├── .dockerignore ├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── VERSION ├── compile.sh ├── config ├── aptly-beta.conf ├── aptly-temp.conf ├── aptly.conf ├── armbian.key ├── boards │ ├── aml-g12.conf │ ├── aml-s805.conf │ ├── aml-s812.conf │ ├── jetson-nano.conf │ ├── rk3328-tv.conf │ └── rk3399-tv.conf ├── bootenv │ ├── clearfog-default.txt │ ├── cubox-default.txt │ ├── helios4-default.txt │ ├── imx7d-default.txt │ ├── meson64-next.txt │ ├── mt7623-default.txt │ ├── odroidc2-next.txt │ ├── odroidxu4-default.txt │ ├── pine64-default.txt │ ├── rockchip-default.txt │ ├── s5p6818-default.txt │ ├── sun50iw1-next.txt │ ├── sun50iw2-next.txt │ ├── sun8i-default.txt │ ├── sunxi-default.txt │ ├── udoo-default.txt │ └── udoo-neo-default.txt ├── bootscripts │ ├── boot-aml-s805_EMMC.cmd │ ├── boot-aml-s805_ENV.cmd │ ├── boot-aml-s812_EMMC.cmd │ ├── boot-aml-s812_ENV.cmd │ ├── boot-aml-s905_EMMC.cmd │ ├── boot-aml-s905_ENV.cmd │ ├── boot-aml-s912_EMMC.cmd │ ├── boot-aml-s912_ENV.cmd │ ├── boot-odroid-n2-mainline.ini │ └── boot-odroid-n2-next.ini ├── kernel │ ├── linux-aml-g12-default.config │ ├── linux-aml-g12-dev.config │ ├── linux-aml-g12-next.config │ ├── linux-aml-s805-default.config │ ├── linux-aml-s805-dev.config │ ├── linux-aml-s805-next.config │ ├── linux-aml-s812-default.config │ ├── linux-aml-s812-dev.config │ ├── linux-aml-s812-dev.config_20181119 │ ├── linux-aml-s812-next.config │ ├── linux-aml-s812-next.config_20181119 │ ├── linux-aml-s905-default.config │ ├── linux-aml-s905-dev.config │ ├── linux-aml-s905-next.config │ ├── linux-aml-s912-default.config │ ├── linux-aml-s912-dev.config │ ├── linux-aml-s912-next.config │ ├── linux-rk3328-tv-default.config │ ├── linux-rk3328-tv-dev.config │ ├── linux-rk3328-tv-dev.config_20181019 │ ├── linux-rk3328-tv-next.config │ ├── linux-rk3399-tv-default.config │ ├── linux-rk3399-tv-dev.config │ └── linux-rk3399-tv-next.config ├── sources │ ├── aml-g12.conf │ ├── aml-s805.conf │ ├── aml-s812.conf │ ├── aml-s905.conf │ ├── aml-s912.conf │ ├── jetson-nano.conf │ ├── rk3328-tv.conf │ └── rk3399-tv.conf ├── targets.conf └── templates │ ├── Dockerfile │ ├── Vagrantfile │ ├── config-docker.conf │ ├── config-example.conf │ ├── config-vagrant.conf │ ├── customize-image.sh.template │ ├── example.deb │ ├── fel-boot.cmd.template │ ├── fel-hooks.sh.example │ └── nfs-boot.cmd.template ├── lib ├── build-all-ng.sh ├── chroot-buildpackages.sh ├── compilation-prepare.sh ├── compilation.sh ├── configuration.sh ├── debootstrap.sh ├── desktop.sh ├── distributions.sh ├── fel-load.sh ├── general.sh ├── image-helpers.sh ├── main.sh └── makeboarddeb.sh ├── packages ├── blobs │ ├── asound.state │ │ ├── asound.state.pine64-default │ │ ├── asound.state.pinebook-next │ │ ├── asound.state.pinebooka64-default │ │ ├── asound.state.sun50iw2-dev │ │ ├── asound.state.sun8i-default │ │ ├── asound.state.sun8i-dev │ │ └── asound.state.sunxi-next │ ├── desktop │ │ ├── chromium.conf │ │ ├── chromium │ │ │ ├── initial_bookmarks.html │ │ │ └── master_preferences │ │ ├── desktop-splash │ │ │ ├── LICENSE.desktop-splash │ │ │ └── desktop-splash.service │ │ ├── firefox.conf │ │ ├── icons │ │ │ ├── armbian.png │ │ │ ├── debian.png │ │ │ └── ubuntu.png │ │ ├── lightdm │ │ │ ├── lightdm-gtk-greeter.conf │ │ │ └── lightdm.conf.d │ │ │ │ └── 11-armbian.conf │ │ ├── numix-gtk-theme_2.6.7+670~201710270712~ubuntu17.10.1_all.deb │ │ ├── numix-icon-theme_0.3+922~201711061547~ubuntu16.04.1_all.deb │ │ ├── skel │ │ │ ├── .config │ │ │ │ ├── autostart │ │ │ │ │ └── pasystray.desktop │ │ │ │ └── xfce4 │ │ │ │ │ ├── terminal │ │ │ │ │ └── terminalrc │ │ │ │ │ └── xfconf │ │ │ │ │ └── xfce-perchannel-xml │ │ │ │ │ ├── thunar.xml │ │ │ │ │ ├── xfce4-desktop.xml │ │ │ │ │ ├── xfce4-keyboard-shortcuts.xml │ │ │ │ │ ├── xfce4-notifyd.xml │ │ │ │ │ ├── xfce4-panel.xml │ │ │ │ │ ├── xfce4-power-manager.xml │ │ │ │ │ ├── xfce4-session.xml │ │ │ │ │ ├── xfwm4.xml │ │ │ │ │ └── xsettings.xml │ │ │ ├── .local │ │ │ │ └── share │ │ │ │ │ ├── applications │ │ │ │ │ ├── armbian-config.desktop │ │ │ │ │ ├── armbian-donate.desktop │ │ │ │ │ ├── armbian-support.desktop │ │ │ │ │ └── xfce4-about.desktop │ │ │ │ │ └── keyrings │ │ │ │ │ ├── Default_keyring.keyring │ │ │ │ │ └── default │ │ │ └── .xscreensaver │ │ ├── wallpapers │ │ │ ├── armbian01-old.jpg │ │ │ ├── armbian02-old.jpg │ │ │ ├── armbian03-Dre0x-Minum-dark-3840x2160.jpg │ │ │ ├── armbian04-chzbacon-Micro-SD.jpg │ │ │ ├── armbian05-chzbacon-Linen-Dark.jpg │ │ │ ├── armbian06-1430-very-dark-1280x1024.jpg │ │ │ ├── armbian06-1430-very-dark-1440x1080.jpg │ │ │ ├── armbian06-1430-very-dark-1650x1050.jpg │ │ │ ├── armbian06-1430-very-dark-3840x2160.jpg │ │ │ └── armbian07-username-dark-3840x2160.jpg │ │ └── xorg.conf.cubox │ ├── rockchip │ │ └── rk3288_boot.bin │ ├── splash │ │ ├── armbian-desktop.png │ │ ├── armbian-u-boot-24.bmp │ │ ├── armbian-u-boot.bmp │ │ ├── armbian-universal.bmp │ │ └── udoo.bmp │ └── usb-redirector │ │ └── usb-redirector-old.tgz ├── bsp │ ├── 10-no-new-privileges.conf │ ├── 10-override-random-mac.conf │ ├── 99disable-power-management │ ├── aml-g12 │ │ ├── aml_autoscript.src │ │ ├── aml_autoscript.zip │ │ ├── ddbr │ │ ├── dev-extlinux.conf │ │ ├── dev-uEnv.ini │ │ ├── extlinux.conf │ │ ├── fstab │ │ ├── g12_sound.sh │ │ ├── install.sh │ │ ├── next-extlinux.conf │ │ └── uEnv.ini │ ├── aml-s805 │ │ ├── 4uEnv.ini │ │ ├── 805_fw_env.config │ │ ├── 805_fw_printenv │ │ ├── 805_fw_setenv │ │ ├── 805_hdmi.sh │ │ ├── aml_autoscript.src │ │ ├── aml_autoscript.zip │ │ ├── ddbr │ │ ├── ddbr_backup_nand │ │ ├── ddbr_backup_nand_full │ │ ├── ddbr_restore_nand │ │ ├── firmware-aml-s805.sh │ │ ├── fstab │ │ ├── hdmi.sh │ │ └── uEnv.ini │ ├── aml-s812 │ │ ├── 4uEnv.ini │ │ ├── 805_fw_env.config │ │ ├── 805_fw_printenv │ │ ├── 805_fw_setenv │ │ ├── 812_hdmi.sh │ │ ├── aml_autoscript.src │ │ ├── aml_autoscript.zip │ │ ├── ddbr │ │ ├── ddbr_backup_nand │ │ ├── ddbr_backup_nand_full │ │ ├── ddbr_restore_nand │ │ ├── firmware-aml-s812.sh │ │ ├── fstab │ │ └── uEnv.ini │ ├── aml-s905 │ │ ├── aml_autoscript.src │ │ ├── aml_autoscript.zip │ │ ├── ddbr │ │ ├── ddbr_backup_nand │ │ ├── ddbr_backup_nand_full │ │ ├── ddbr_restore_nand │ │ ├── dev_uEnv.ini │ │ ├── extlinux.conf │ │ ├── fstab │ │ ├── install-2018.sh │ │ ├── install.sh │ │ ├── kvim-full │ │ ├── kvim-update │ │ ├── mali.ko │ │ ├── s905x-uboot.img │ │ └── uEnv.ini │ ├── aml-s912 │ │ ├── aml_autoscript.src │ │ ├── aml_autoscript.zip │ │ ├── ddbr │ │ ├── ddbr_backup_nand │ │ ├── ddbr_backup_nand_full │ │ ├── ddbr_restore_nand │ │ ├── extlinux.conf │ │ ├── fstab │ │ ├── install-2018.sh │ │ ├── install.sh │ │ ├── kvim2-full │ │ ├── kvim2-update │ │ ├── s912-uboot.img │ │ └── uEnv.ini │ ├── armbian_first_run.txt.template │ ├── armbianmonitor │ │ ├── armbianmonitor-daemon │ │ └── templates │ │ │ ├── pine64_default.conf │ │ │ ├── s500_default.conf │ │ │ ├── sun7i_next.conf │ │ │ ├── sun8i-a83t_default.conf │ │ │ ├── sun8i_default.conf │ │ │ └── sun8i_dev.conf │ ├── common │ │ ├── etc │ │ │ ├── X11 │ │ │ │ └── xorg.conf.d │ │ │ │ │ └── 01-armbian-defaults.conf │ │ │ ├── apt │ │ │ │ └── apt.conf.d │ │ │ │ │ ├── 02-armbian-compress-indexes │ │ │ │ │ ├── 02-armbian-periodic │ │ │ │ │ ├── 71-armbian-no-recommends │ │ │ │ │ └── 81-armbian-no-languages │ │ │ ├── cron.d │ │ │ │ ├── armbian-truncate-logs │ │ │ │ └── armbian-updates │ │ │ ├── cron.daily │ │ │ │ └── armbian-ram-logging │ │ │ ├── default │ │ │ │ ├── armbian-motd.dpkg-dist │ │ │ │ ├── armbian-ramlog.dpkg-dist │ │ │ │ └── armbian-zram-config.dpkg-dist │ │ │ ├── initramfs │ │ │ │ └── post-update.d │ │ │ │ │ └── 99-uboot │ │ │ ├── kernel │ │ │ │ └── preinst.d │ │ │ │ │ └── initramfs-cleanup │ │ │ ├── modprobe.d │ │ │ │ └── r8723bs.conf │ │ │ ├── network │ │ │ │ └── interfaces.default │ │ │ ├── profile.d │ │ │ │ ├── armbian-activate-profile-sync-daemon.sh │ │ │ │ ├── armbian-check-first-login-reboot.sh │ │ │ │ ├── armbian-check-first-login.sh │ │ │ │ └── armbian-ssh-title.sh │ │ │ ├── skel │ │ │ │ └── .config │ │ │ │ │ └── htop │ │ │ │ │ └── htoprc │ │ │ ├── systemd │ │ │ │ └── system │ │ │ │ │ └── logrotate.service │ │ │ ├── udev │ │ │ │ └── rules.d │ │ │ │ │ └── 10-wifi-disable-powermanagement.rules │ │ │ └── update-motd.d │ │ │ │ ├── 10-armbian-header │ │ │ │ ├── 30-armbian-sysinfo │ │ │ │ ├── 35-armbian-tips │ │ │ │ ├── 40-armbian-updates │ │ │ │ ├── 41-armbian-config │ │ │ │ ├── 98-armbian-autoreboot-warn │ │ │ │ └── 99-armbian-point-to-faq │ │ ├── lib │ │ │ ├── systemd │ │ │ │ └── system │ │ │ │ │ ├── armbian-firstrun-config.service │ │ │ │ │ ├── armbian-firstrun.service │ │ │ │ │ ├── armbian-hardware-monitor.service │ │ │ │ │ ├── armbian-hardware-optimize.service │ │ │ │ │ ├── armbian-ramlog.service │ │ │ │ │ ├── armbian-resize-filesystem.service │ │ │ │ │ ├── armbian-zram-config.service │ │ │ │ │ ├── getty@tty1.service.d │ │ │ │ │ └── 10-noclear.conf │ │ │ │ │ ├── serial-getty@.service.d │ │ │ │ │ └── 10-term.conf │ │ │ │ │ └── systemd-modules-load.service.d │ │ │ │ │ └── 10-timeout.conf │ │ │ └── udev │ │ │ │ └── rules.d │ │ │ │ └── 71-axp-power-button.rules │ │ ├── usr │ │ │ ├── bin │ │ │ │ ├── armbianmonitor │ │ │ │ └── lsb_release │ │ │ ├── lib │ │ │ │ ├── armbian │ │ │ │ │ ├── armbian-apt-updates │ │ │ │ │ ├── armbian-common │ │ │ │ │ ├── armbian-firstrun │ │ │ │ │ ├── armbian-firstrun-config │ │ │ │ │ ├── armbian-hardware-monitor │ │ │ │ │ ├── armbian-hardware-optimization │ │ │ │ │ ├── armbian-ramlog │ │ │ │ │ ├── armbian-resize-filesystem │ │ │ │ │ ├── armbian-truncate-logs │ │ │ │ │ └── armbian-zram-config │ │ │ │ └── chromium-browser │ │ │ │ │ └── master_preferences │ │ │ └── sbin │ │ │ │ └── armbian-add-overlay │ │ └── var │ │ │ └── lib │ │ │ └── polkit-1 │ │ │ └── localauthority │ │ │ └── 50-local.d │ │ │ ├── backlight.pkla │ │ │ ├── networkmanager.pkla │ │ │ ├── plugdev.pkla │ │ │ ├── power.pkla │ │ │ └── printing.pkla │ ├── h3consumption │ ├── h3disp │ ├── jetson-nano │ │ ├── Image │ │ ├── asound.conf.tegrahda │ │ ├── asound.conf.tegrasndt210ref │ │ ├── ddbr │ │ ├── extlinux.conf │ │ ├── tegra-hda.conf │ │ ├── tegra-snd-t210r.conf │ │ ├── tegra21x_xusb_firmware │ │ └── u-boot-jetson-nano.img │ ├── mpv │ │ ├── mpv_mainline.conf │ │ └── mpv_sunxi.conf │ ├── rk3328-tv │ │ ├── 99-mali.rules │ │ ├── bionic_mpv.conf │ │ ├── ddbr │ │ ├── dev_extlinux.conf │ │ ├── extlinux.conf │ │ ├── fstab │ │ ├── install.sh │ │ └── next_extlinux.conf │ ├── rk3399-tv │ │ ├── aml_autoscript.src │ │ ├── aml_autoscript.zip │ │ ├── boot.ini │ │ ├── ddbr │ │ ├── dev_extlinux.conf │ │ ├── extlinux.conf │ │ ├── firmware-edge-20190716.sh │ │ ├── fstab │ │ ├── g12_sound.sh │ │ ├── install.sh │ │ ├── next_extlinux.conf │ │ └── uEnv.ini │ ├── rockchip │ │ ├── 50-hevc.rules │ │ ├── 50-mali.rules │ │ ├── 50-vpu.rules │ │ ├── 60-media.rules │ │ ├── 70-gpio.rules │ │ ├── 71-i2c.rules │ │ ├── 89-pulseaudio-usb.rules │ │ ├── ap6330-bluetooth.service │ │ ├── asound.conf │ │ ├── hdmi-hotplug │ │ ├── hdmi.rules │ │ ├── pulseaudio.txt │ │ ├── rtk_hciattach │ │ ├── start_bt.sh │ │ └── tinker-bluetooth.service │ └── zz-override-wifi-powersave-off.conf └── extras-buildpkgs │ ├── 00-libdri2.conf │ ├── 04-libvdpau.conf │ ├── 05-libump.conf │ ├── 06-libcedrus.conf │ ├── 06-xf86-video-fbturbo.conf │ ├── 07-xf86-video-armsoc.conf │ ├── 90-a10disp.conf │ ├── 90-fswebcam-gc2035.conf.disabled │ ├── 90-guvcview.conf.disabled │ ├── 90-hostapd-realtek.conf │ ├── 90-hostapd.conf │ ├── 90-htop.conf │ ├── 90-libglshim.conf │ ├── 90-libmali-sunxi-r3p0.conf │ ├── 90-libmali-sunxi-r3p0.conf.old │ ├── 90-libvdpau-sunxi.conf │ ├── 90-mmc-utils.conf │ ├── 90-sunxi-tools.conf │ ├── 90-swconfig.conf │ ├── README.md │ ├── SOURCES │ ├── a10disp │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── patches │ │ ├── add-header.patch │ │ ├── fix-makefile.patch │ │ └── series │ │ ├── rules │ │ └── source │ │ └── format │ ├── buildpkg-public.gpg │ ├── buildpkg.gpg │ ├── buildpkg.key │ ├── fswebcam-gc2035 │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── patches │ │ ├── 01-Use-kernel-headers.patch │ │ └── series │ │ ├── rules │ │ └── source │ │ └── format │ ├── guvcview │ └── debian │ │ ├── README.Debian │ │ ├── README.source │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── dirs │ │ ├── guvcview.install │ │ ├── libguvcview-1.1-1.install │ │ ├── libguvcview-dev.install │ │ ├── menu │ │ ├── patches │ │ ├── ffmpeg_2.9.patch │ │ ├── series │ │ └── update-manpage │ │ ├── rules │ │ └── source │ │ └── format │ ├── hostapd-realtek │ └── debian │ │ ├── NEWS │ │ ├── README.source │ │ ├── changelog │ │ ├── changelog.hostapd │ │ ├── compat │ │ ├── config │ │ ├── config_realtek │ │ └── hostapd.conf │ │ ├── control │ │ ├── copyright │ │ ├── hostapd-realtek.README.Debian │ │ ├── hostapd-realtek.default │ │ ├── hostapd-realtek.examples │ │ ├── hostapd-realtek.init │ │ ├── hostapd-realtek.install │ │ ├── hostapd-realtek.links │ │ ├── hostapd-realtek.manpages │ │ ├── hostapd-realtek.preinst │ │ ├── ifupdown │ │ └── hostapd.sh │ │ ├── patches │ │ ├── 300-noscan.patch │ │ ├── realtek.patch │ │ ├── series │ │ └── session-ticket.patch │ │ ├── rules │ │ └── source │ │ ├── format │ │ └── options │ ├── hostapd │ └── debian │ │ ├── NEWS │ │ ├── README.source │ │ ├── changelog │ │ ├── changelog.hostapd │ │ ├── compat │ │ ├── config │ │ ├── config_default │ │ └── hostapd.conf │ │ ├── control │ │ ├── copyright │ │ ├── hostapd.README.Debian │ │ ├── hostapd.default │ │ ├── hostapd.examples │ │ ├── hostapd.init │ │ ├── hostapd.install │ │ ├── hostapd.links │ │ ├── hostapd.lintian-overrides │ │ ├── hostapd.manpages │ │ ├── hostapd.preinst │ │ ├── ifupdown │ │ └── hostapd.sh │ │ ├── patches │ │ ├── 0006-Extend-ieee80211_freq_to_channel_ext-to-cover-channe.patch │ │ ├── 300-noscan.patch │ │ ├── series │ │ └── session-ticket.patch │ │ ├── rules │ │ └── source │ │ └── format │ ├── htop │ └── debian │ │ ├── changelog │ │ ├── clean │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── docs │ │ ├── install │ │ ├── patches │ │ ├── 780-fix-option-string.patch │ │ ├── avafinger-cpu-monitor.patch │ │ ├── cpu-temperatute-from-hwmon.patch │ │ ├── fix-linux-process.patch │ │ └── series │ │ ├── rules │ │ ├── source │ │ └── format │ │ ├── upstream │ │ └── signing-key.asc │ │ └── watch │ ├── libDRI2 │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── dri2-utils.install │ │ ├── dri2-utils.manpages │ │ ├── dri2test.1 │ │ ├── libdri2-1.install │ │ ├── libdri2-1.symbols │ │ ├── libdri2-dev.install │ │ ├── rules │ │ └── source │ │ └── format │ ├── libUMP │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── libump-dev.install │ │ ├── libump.install │ │ ├── libump.postinst │ │ ├── libump.udev │ │ ├── rules │ │ └── ump.conf │ ├── libcedrus │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── libcedrus1-dev.install │ │ ├── libcedrus1.install │ │ ├── libcedrus1.postinst │ │ ├── libcedrus1.udev │ │ ├── rules │ │ └── source │ │ └── format │ ├── libglshim │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── patches │ │ ├── add-gles2-includes.patch │ │ ├── add-install-target.patch │ │ └── series │ │ ├── rules │ │ └── source │ │ └── format │ ├── libmali-sunxi-r3p0.old │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── docs │ │ ├── libmali-sunxi-dev.install │ │ ├── libmali-sunxi-r3p0.install.in │ │ ├── libmali-sunxi-r3p0.postinst.in │ │ ├── libmali-sunxi-r3p0.postrm.in │ │ ├── libmali-sunxi-r3p0.preinst.in │ │ ├── libmali-sunxi-r3p0.prerm.in │ │ ├── libmali-sunxi-r3p0.shlibs │ │ ├── libmali-sunxi-r3p0.udev │ │ ├── mali-sunxi-utils.install │ │ ├── patches │ │ ├── fix-makefiles-submodule.patch │ │ ├── fix-makefiles.patch │ │ └── series │ │ ├── rules │ │ ├── source │ │ └── format │ │ └── sunxi-mali.conf │ ├── libmali-sunxi-r3p0 │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── docs │ │ ├── libmali-sunxi-dev.install │ │ ├── libmali-sunxi-r3p0.install.in │ │ ├── libmali-sunxi-r3p0.postinst.in │ │ ├── libmali-sunxi-r3p0.postrm.in │ │ ├── libmali-sunxi-r3p0.preinst.in │ │ ├── libmali-sunxi-r3p0.prerm.in │ │ ├── libmali-sunxi-r3p0.shlibs │ │ ├── libmali-sunxi-r3p0.udev │ │ ├── mali-sunxi-utils.install │ │ ├── patches │ │ ├── fix-makefiles-submodule.patch │ │ ├── fix-makefiles.patch │ │ └── series │ │ ├── rules │ │ ├── source │ │ └── format │ │ └── sunxi-mali.conf │ ├── libvdpau-sunxi │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── libvdpau-sunxi1.postinst │ │ ├── libvdpau-sunxi1.udev │ │ ├── patches │ │ ├── redo-csc-calculations.patch │ │ └── series │ │ ├── profile.d │ │ └── 99-vdpau.sh │ │ ├── rules │ │ └── source │ │ └── format │ ├── libvdpau │ └── debian │ │ ├── README.source │ │ ├── bug-script │ │ ├── changelog │ │ ├── clean │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── libvdpau-dev.README.Debian │ │ ├── libvdpau-dev.install │ │ ├── libvdpau1.install │ │ ├── patches │ │ ├── default-driver-sunxi.patch │ │ ├── doxygen-no-timestamps.patch │ │ ├── link-with-libx11.patch │ │ ├── series │ │ ├── simplify-dlopen-path-length-error-handling.patch │ │ └── vdpau-module-searchpath.patch │ │ ├── rules │ │ └── source │ │ └── format │ ├── mmc-utils │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── manpages │ │ ├── rules │ │ └── source │ │ └── format │ ├── sunxi-tools │ └── debian │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── rules │ │ ├── source │ │ ├── format │ │ └── patch-header │ │ ├── sunxi-tools.dirs │ │ ├── sunxi-tools.docs │ │ ├── sunxi-tools.postinst │ │ └── sunxi-tools.udev │ ├── swconfig │ └── debian │ │ └── patches │ │ ├── add-switch-h.patch │ │ └── series │ ├── xf86-video-armsoc │ └── debian │ │ ├── 80-armsoc-sun4i.conf │ │ ├── changelog │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── patches │ │ ├── 0001-Add-sun4i-drmmode-driver.patch │ │ ├── 0002-Fix-UMP_LOCK-status-logging.patch │ │ └── series │ │ ├── rules │ │ ├── source │ │ └── format │ │ ├── xserver-xorg-video-armsoc-sun4i.install │ │ └── xserver-xorg-video-armsoc-sun4i.udev │ └── xf86-video-fbturbo │ └── debian │ ├── README.source │ ├── changelog │ ├── compat │ ├── control │ ├── copyright │ ├── docs │ ├── rules │ └── source │ └── format └── patch ├── atf ├── atf-rk3328-tv │ └── add-trust-ini.patch ├── atf-rk3399-tv │ └── add-trust-ini.patch ├── atf-rk3399 │ └── add-trust-ini.patch ├── atf-rockchip64 │ ├── add-trust-ini.patch │ ├── board_rockpi-4a │ │ └── add-trust-ini.patch │ ├── board_rockpi-4b │ │ └── add-trust-ini.patch │ └── board_rockpro64 │ │ └── add-trust-ini.patch └── atf-sunxi64 │ ├── 0001-Fix-reset-issue-on-H6-by-using-R_WDOG.patch │ ├── add-SRAM-mapping-for-SCPI.patch.disabled │ ├── board_pine64so │ └── set-lpddr3-dram-voltage.patch │ ├── board_pinebook-a64 │ └── set-lpddr3-dram-voltage.patch.disable │ ├── enable-a53-errata-workaround.patch.disabled │ ├── enable-additional-regulators.patch.disabled │ └── set-rsb-to-nonsec.patch.disabled ├── kernel ├── aml-g12-default │ ├── 0010-fix-btbcm.patch │ ├── 0020-remove-eee-broken-1000t.patch │ ├── 0021-fix-high-load-on-phicomm-n1.patch │ └── packaging-default.patch ├── aml-g12-dev │ ├── packages-dev.patch │ └── text-offset.patch ├── aml-g12-next │ ├── packages-next.patch │ └── text-offset.patch ├── aml-s805-default │ └── 001.patch ├── aml-s805-dev │ └── 001.patch ├── aml-s805-next │ └── packaging-4.x-NEXT-with-postinstall-script.patch ├── aml-s812-dev │ └── packaging-4.x-DEV-with-postinstall-script.patch ├── aml-s812-next │ └── packaging-4.x-NEXT-with-postinstall-script.patch ├── aml-s905-default │ └── packaging-4.x-NEXT-with-postinstall-script.patch ├── aml-s905-dev │ ├── off_error_text_offset.patch │ ├── packaging-4.x-NEXT-with-postinstall-script.patch │ └── text_offset.patch ├── aml-s905-next │ ├── 01.patch │ ├── off_error_text_offset.patch │ ├── packaging-4.x-NEXT-with-postinstall-script.patch │ └── text_offset.patch ├── aml-s912-default │ ├── 1b719a5e9d83731e7fe9f614c621e3acd3b7dda2.patch │ ├── 8d34b29b400f980181d6bd04db333ca1b09dae28.patch │ ├── ad97ec50c0d6ec9bd6b93a773b99c68200b919b0.patch │ ├── packaging-4.x-NEXT-with-postinstall-script.patch │ └── z-0001.patch ├── aml-s912-dev │ ├── off_error_text_offset.patch │ ├── packaging-4.x-NEXT-with-postinstall-script.patch │ └── text_offset.patch ├── aml-s912-next │ ├── 001.patch │ ├── off_error_text_offset.patch │ ├── packaging-4.x-NEXT-with-postinstall-script.patch │ ├── reboot_s912.patch │ └── text_offset.patch ├── compiler.patch ├── rk3328-tv-default │ └── packaging-4.x-with-postinstall-scripts.patch ├── rk3328-tv-dev │ └── packages-dev.patch ├── rk3328-tv-next │ └── packages-next.patch ├── rk3399-tv-default │ └── packaging-4.x-with-postinstall-scripts.patch ├── rk3399-tv-dev │ └── packages-dev.patch └── rk3399-tv-next │ ├── RK808-use-syscore-for-poweroff.patch │ ├── packages-next.patch │ └── text-offset.patch ├── misc ├── bananafbtft.patch └── headers-debian-byteshift.patch └── u-boot ├── u-boot-rk3328-tv ├── boot_targets_usb.patch ├── ddr4.patch └── rk3328-rock64.patch └── u-boot-rk3399-tv ├── ddr4.patch ├── rk3328-rock64.patch └── usb-start.patch /.dockerignore: -------------------------------------------------------------------------------- 1 | ### output directories 2 | .tmp/ 3 | output/ 4 | cache/ 5 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | charset = utf-8 8 | end_of_line = lf 9 | indent_style = tab 10 | indent_size = 8 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | 14 | [*.md] 15 | indent_style = space 16 | indent_size = 4 17 | trim_trailing_whitespace = false 18 | insert_final_newline = false 19 | 20 | # C coding style based on Linux kernel. 21 | # https://www.kernel.org/doc/html/v5.0/process/coding-style.html 22 | 23 | [*.sh] 24 | indent_style = tab 25 | indent_size = 4 26 | 27 | [*.c] 28 | indent_style = tab 29 | indent_size = 8 30 | 31 | [*.h] 32 | indent_style = tab 33 | indent_size = 8 34 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | custom: https://www.armbian.com/donate 4 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Please use the "Preview" tab above to view this message if you are seeing this in the new pull request text box. 2 | 3 | Please make sure that: 4 | 5 | - pull request is opened to the `master` branch unless you are working on a specfic feature which is developed in a separate branch 6 | - any changes to kernel configuration files were made by Kconfig menu (build script option `KERNEL_CONFIGURE=yes`) and not by editing configuration files by hand, 7 | - patch file names don't contain spaces and have less than 40 characters (not counting the `.patch` extension), 8 | - changes are properly described - what was done exactly and why. 9 | 10 | Thanks for contributing! Please remove the text above before opening a pull request. 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### Specific to building Armbian ### 2 | /.vagrant/ 3 | ubuntu-*-cloudimg-console.log 4 | 5 | ### to ignore changes in a working copy 6 | .ignore_changes 7 | 8 | ### compile configurations added by users 9 | /config-*.conf 10 | ### but not default (supplied) files 11 | !/config-docker.conf 12 | !/config-vagrant.conf 13 | 14 | ### output directories 15 | /.tmp/ 16 | /output/ 17 | /cache/ 18 | /*userpatches*/ 19 | /userpatches 20 | 21 | ### General annoyances ### 22 | .DS_Store 23 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 5.99 2 | -------------------------------------------------------------------------------- /config/aptly-beta.conf: -------------------------------------------------------------------------------- 1 | { 2 | "rootDir": "output/repository-beta", 3 | "downloadConcurrency": 4, 4 | "downloadSpeedLimit": 0, 5 | "architectures": [], 6 | "dependencyFollowSuggests": false, 7 | "dependencyFollowRecommends": false, 8 | "dependencyFollowAllVariants": false, 9 | "dependencyFollowSource": false, 10 | "gpgDisableSign": false, 11 | "gpgDisableVerify": false, 12 | "gpgProvider": "gpg2", 13 | "downloadSourcePackages": false, 14 | "ppaDistributorID": "ubuntu", 15 | "ppaCodename": "", 16 | "S3PublishEndpoints": {}, 17 | "SwiftPublishEndpoints": {} 18 | } 19 | -------------------------------------------------------------------------------- /config/aptly-temp.conf: -------------------------------------------------------------------------------- 1 | { 2 | "rootDir": "/tmp/aptly-temp/", 3 | "downloadConcurrency": 4, 4 | "downloadSpeedLimit": 0, 5 | "architectures": [], 6 | "dependencyFollowSuggests": false, 7 | "dependencyFollowRecommends": false, 8 | "dependencyFollowAllVariants": false, 9 | "dependencyFollowSource": false, 10 | "gpgDisableSign": false, 11 | "gpgDisableVerify": false, 12 | "downloadSourcePackages": false, 13 | "ppaDistributorID": "ubuntu", 14 | "ppaCodename": "", 15 | "S3PublishEndpoints": {}, 16 | "SwiftPublishEndpoints": {} 17 | } 18 | -------------------------------------------------------------------------------- /config/aptly.conf: -------------------------------------------------------------------------------- 1 | { 2 | "rootDir": "output/repository", 3 | "downloadConcurrency": 4, 4 | "downloadSpeedLimit": 0, 5 | "architectures": [], 6 | "dependencyFollowSuggests": false, 7 | "dependencyFollowRecommends": false, 8 | "dependencyFollowAllVariants": false, 9 | "dependencyFollowSource": false, 10 | "gpgDisableSign": false, 11 | "gpgDisableVerify": false, 12 | "gpgProvider": "gpg2", 13 | "downloadSourcePackages": false, 14 | "ppaDistributorID": "ubuntu", 15 | "ppaCodename": "", 16 | "S3PublishEndpoints": {}, 17 | "SwiftPublishEndpoints": {} 18 | } 19 | -------------------------------------------------------------------------------- /config/boards/aml-g12.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S9xxx 2 | BOARD_NAME="AML" 3 | BOARDFAMILY="aml-g12" 4 | BOOTCONFIG="odroid-n2_defconfig" 5 | BOARD_DIR=packages/bsp/aml-g12 6 | ADD_UBOOT="yes" 7 | # 8 | MODULES="" 9 | MODULES_NEXT="" 10 | # 11 | KERNEL_TARGET="default,next,dev" 12 | CLI_TARGET="buster,bionic:default,next,dev" 13 | DESKTOP_TARGET="buster,bionic:default,next,dev" 14 | # 15 | CLI_BETA_TARGET="" 16 | DESKTOP_BETA_TARGET="" 17 | -------------------------------------------------------------------------------- /config/boards/aml-s805.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S805 2 | BOARD_NAME="S805" 3 | BOARDFAMILY=aml-s805 4 | BOOTCONFIG_DEFAULT=odroidc_config 5 | BOARD_DIR=packages/bsp/aml-s805 6 | ADD_UBOOT="no" 7 | # 8 | MODULES="bonding aml_nftl_dev" 9 | MODULES_NEXT="" 10 | # 11 | KERNEL_TARGET="default,next,dev" 12 | CLI_TARGET="stretch,xenial:default,next" 13 | DESKTOP_TARGET="xenial:default,next" 14 | SERIALCON=ttyS0 15 | # 16 | CLI_BETA_TARGET="xenial:dev" 17 | DESKTOP_BETA_TARGET="xenial:dev" 18 | # 19 | RECOMMENDED="Ubuntu_xenial_default_desktop:90,Debian_jessie_default:90" 20 | # 21 | BOARDRATING="" 22 | HARDWARE="http://docs.armbian.com/" 23 | FORUMS="https://forum.armbian.com/forum/24-tv-boxes/" 24 | -------------------------------------------------------------------------------- /config/boards/aml-s812.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S812 2 | BOARD_NAME="S812" 3 | BOARDFAMILY=aml-s812 4 | BOOTCONFIG_DEFAULT=odroidc_config 5 | BOARD_DIR=packages/bsp/aml-s812 6 | ADD_UBOOT="no" 7 | # 8 | MODULES="bonding aml_nftl_dev" 9 | MODULES_NEXT="" 10 | # 11 | KERNEL_TARGET="default,next,dev" 12 | CLI_TARGET="stretch,xenial:default,next" 13 | DESKTOP_TARGET="xenial:default,next" 14 | SERIALCON=ttyS0 15 | # 16 | CLI_BETA_TARGET="xenial:dev" 17 | DESKTOP_BETA_TARGET="xenial:dev" 18 | # 19 | RECOMMENDED="Ubuntu_xenial_default_desktop:90,Debian_jessie_default:90" 20 | # 21 | BOARDRATING="" 22 | HARDWARE="http://docs.armbian.com/" 23 | FORUMS="https://forum.armbian.com/forum/24-tv-boxes/" 24 | -------------------------------------------------------------------------------- /config/boards/jetson-nano.conf: -------------------------------------------------------------------------------- 1 | # Jetson NANO 2 | BOARD_NAME="Jetson Nano" 3 | BOARDFAMILY="jetson-nano" 4 | BOOTCONFIG="odroid-n2_defconfig" 5 | BOARD_DIR=packages/bsp/jetson-nano 6 | ADD_UBOOT="yes" 7 | # 8 | KERNEL_TARGET="default,next,dev" 9 | CLI_TARGET="stretch,xenial:default,next" 10 | DESKTOP_TARGET="xenial:default,next" 11 | SERIALCON=ttyS0 12 | # 13 | CLI_BETA_TARGET="xenial:dev" 14 | DESKTOP_BETA_TARGET="xenial:dev" 15 | # 16 | RECOMMENDED="Ubuntu_xenial_default_desktop:90,Debian_jessie_default:90" 17 | # 18 | BOARDRATING="" 19 | HARDWARE="http://docs.armbian.com/" 20 | FORUMS="https://forum.armbian.com/forum/24-tv-boxes/" 21 | -------------------------------------------------------------------------------- /config/boards/rk3328-tv.conf: -------------------------------------------------------------------------------- 1 | # Rockchip RK3328 2 | BOARD_NAME="RK3328-TV" 3 | BOARDFAMILY="rk3328-tv" 4 | #BOOTCONFIG="evb-rk3328_defconfig" 5 | BOOTCONFIG="rock64-rk3328_defconfig" 6 | BOARD_DIR=packages/bsp/rk3328-tv 7 | ADD_UBOOT="yes" 8 | # 9 | MODULES="" 10 | MODULES_NEXT="" 11 | # 12 | KERNEL_TARGET="default,dev,next" 13 | CLI_TARGET="buster,bionic:default,next" 14 | DESKTOP_TARGET="bionic:default,next" 15 | # 16 | CLI_BETA_TARGET="" 17 | DESKTOP_BETA_TARGET="" 18 | -------------------------------------------------------------------------------- /config/boards/rk3399-tv.conf: -------------------------------------------------------------------------------- 1 | # Rockchip RK3399 2 | BOARD_NAME="RK3399-TV" 3 | BOOTCONFIG="khadas-edge-v-rk3399_defconfig" 4 | #BOOTCONFIG="evb-rk3399_defconfig" 5 | BOARDFAMILY="rk3399-tv" 6 | BOARD_DIR=packages/bsp/rk3399-tv 7 | ADD_UBOOT="yes" 8 | # 9 | MODULES="" 10 | MODULES_NEXT="" 11 | # 12 | KERNEL_TARGET="default,dev,next" 13 | CLI_TARGET="stretch,xenial:default,next" 14 | DESKTOP_TARGET="bionic:default,next" 15 | # 16 | CLI_BETA_TARGET="xenial:dev" 17 | DESKTOP_BETA_TARGET="xenial:dev" 18 | -------------------------------------------------------------------------------- /config/bootenv/clearfog-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | emmc_fix=off 3 | spi_workaround=off 4 | eth1addr=00:50:43:25:fb:84 5 | eth2addr=00:50:43:84:25:2f 6 | eth3addr=00:50:43:0d:19:18 7 | -------------------------------------------------------------------------------- /config/bootenv/cubox-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | -------------------------------------------------------------------------------- /config/bootenv/helios4-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | eth1addr=00:50:43:25:fb:84 3 | spi_workaround=off 4 | -------------------------------------------------------------------------------- /config/bootenv/imx7d-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | 3 | 4 | -------------------------------------------------------------------------------- /config/bootenv/meson64-next.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | logo=disabled 3 | console=both 4 | ethaddr=00:50:43:84:fb:2f 5 | 6 | 7 | -------------------------------------------------------------------------------- /config/bootenv/mt7623-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | -------------------------------------------------------------------------------- /config/bootenv/odroidc2-next.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | -------------------------------------------------------------------------------- /config/bootenv/odroidxu4-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | console=both 3 | -------------------------------------------------------------------------------- /config/bootenv/pine64-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | console=both 3 | disp_mode=720p60 4 | camera_type=none 5 | pine64_lcd=off 6 | -------------------------------------------------------------------------------- /config/bootenv/rockchip-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | -------------------------------------------------------------------------------- /config/bootenv/s5p6818-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | console=both 3 | -------------------------------------------------------------------------------- /config/bootenv/sun50iw1-next.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | -------------------------------------------------------------------------------- /config/bootenv/sun50iw2-next.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | console=both 3 | -------------------------------------------------------------------------------- /config/bootenv/sun8i-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | console=both 3 | -------------------------------------------------------------------------------- /config/bootenv/sunxi-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | logo=disabled 3 | console=both 4 | disp_mode=1920x1080p60 5 | -------------------------------------------------------------------------------- /config/bootenv/udoo-default.txt: -------------------------------------------------------------------------------- 1 | verbosity=1 2 | -------------------------------------------------------------------------------- /config/bootscripts/boot-aml-s805_EMMC.cmd: -------------------------------------------------------------------------------- 1 | setenv env_addr "0x11400000" 2 | setenv kernel_addr "0x14000000" 3 | setenv initrd_addr "0x15000000" 4 | setenv dtb_addr "0x11800000" 5 | setenv boot_start bootm ${kernel_addr} ${initrd_addr} ${dtb_addr} 6 | if fatload mmc 0 ${kernel_addr} uImage; then if fatload mmc 0 ${initrd_addr} uInitrd; then if fatload mmc 0 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize};fi; if fatload mmc 0 ${dtb_addr} ${dtb_name}; then run boot_start;fi;fi;fi; 7 | if fatload mmc 1 ${kernel_addr} uImage; then if fatload mmc 1 ${initrd_addr} uInitrd; then if fatload mmc 1 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize};fi; if fatload mmc 1 ${dtb_addr} ${dtb_name}; then run boot_start;fi;fi;fi; 8 | -------------------------------------------------------------------------------- /config/bootscripts/boot-aml-s812_EMMC.cmd: -------------------------------------------------------------------------------- 1 | setenv env_addr "0x11400000" 2 | setenv kernel_addr "0x14000000" 3 | setenv initrd_addr "0x15000000" 4 | setenv dtb_addr "0x11800000" 5 | setenv boot_start bootm ${kernel_addr} ${initrd_addr} ${dtb_addr} 6 | if fatload mmc 0 ${kernel_addr} uImage; then if fatload mmc 0 ${initrd_addr} uInitrd; then if fatload mmc 0 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize};fi; if fatload mmc 0 ${dtb_addr} ${dtb_name}; then run boot_start;fi;fi;fi; 7 | if fatload mmc 1 ${kernel_addr} uImage; then if fatload mmc 1 ${initrd_addr} uInitrd; then if fatload mmc 1 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize};fi; if fatload mmc 1 ${dtb_addr} ${dtb_name}; then run boot_start;fi;fi;fi; 8 | -------------------------------------------------------------------------------- /config/bootscripts/boot-aml-s905_EMMC.cmd: -------------------------------------------------------------------------------- 1 | setenv env_addr 0x10400000 2 | setenv kernel_addr 0x11000000 3 | setenv initrd_addr 0x13000000 4 | setenv dtb_mem_addr 0x1000000 5 | setenv boot_start booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr} 6 | setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi' 7 | if fatload mmc 1 ${kernel_addr} zImage; then if fatload mmc 1 ${initrd_addr} uInitrd; then if fatload mmc 1 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize}; run addmac; fi; if fatload mmc 1 ${dtb_mem_addr} ${dtb_name}; then run boot_start;fi;fi;fi; 8 | 9 | -------------------------------------------------------------------------------- /config/bootscripts/boot-aml-s905_ENV.cmd: -------------------------------------------------------------------------------- 1 | if fatload mmc 0 0x11000000 boot_android; then if test ${ab} = 0; then setenv ab 1; saveenv; exit; else setenv ab 0; saveenv; fi; fi; 2 | if fatload usb 0 0x11000000 boot_android; then if test ${ab} = 0; then setenv ab 1; saveenv; exit; else setenv ab 0; saveenv; fi; fi; 3 | setenv env_addr 0x10400000 4 | setenv kernel_addr 0x11000000 5 | setenv initrd_addr 0x13000000 6 | setenv boot_start booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr} 7 | setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi' 8 | setenv try_boot_start 'if fatload ${devtype} ${devnum} ${kernel_addr} zImage; then if fatload ${devtype} ${devnum} ${initrd_addr} uInitrd; then fatload ${devtype} ${devnum} ${env_addr} uEnv.ini && env import -t ${env_addr} ${filesize} && run addmac; fatload ${devtype} ${devnum} ${dtb_mem_addr} ${dtb_name} && run boot_start; fi; fi;' 9 | setenv devtype mmc 10 | setenv devnum 0 11 | run try_boot_start 12 | setenv devtype usb 13 | for devnum in 0 1 2 3 ; do run try_boot_start ; done 14 | 15 | -------------------------------------------------------------------------------- /config/bootscripts/boot-aml-s912_EMMC.cmd: -------------------------------------------------------------------------------- 1 | setenv env_addr 0x10400000 2 | setenv kernel_addr 0x11000000 3 | setenv initrd_addr 0x13000000 4 | setenv dtb_mem_addr 0x1000000 5 | setenv boot_start booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr} 6 | setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi' 7 | if fatload mmc 1 ${kernel_addr} zImage; then if fatload mmc 1 ${initrd_addr} uInitrd; then if fatload mmc 1 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize}; run addmac; fi; if fatload mmc 1 ${dtb_mem_addr} ${dtb_name}; then run boot_start;fi;fi;fi; 8 | 9 | -------------------------------------------------------------------------------- /config/bootscripts/boot-aml-s912_ENV.cmd: -------------------------------------------------------------------------------- 1 | if fatload mmc 0 0x11000000 boot_android; then if test ${ab} = 0; then setenv ab 1; saveenv; exit; else setenv ab 0; saveenv; fi; fi; 2 | if fatload usb 0 0x11000000 boot_android; then if test ${ab} = 0; then setenv ab 1; saveenv; exit; else setenv ab 0; saveenv; fi; fi; 3 | setenv env_addr 0x10400000 4 | setenv kernel_addr 0x11000000 5 | setenv initrd_addr 0x13000000 6 | setenv boot_start booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr} 7 | setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi' 8 | setenv try_boot_start 'if fatload ${devtype} ${devnum} ${kernel_addr} zImage; then if fatload ${devtype} ${devnum} ${initrd_addr} uInitrd; then fatload ${devtype} ${devnum} ${env_addr} uEnv.ini && env import -t ${env_addr} ${filesize} && run addmac; fatload ${devtype} ${devnum} ${dtb_mem_addr} ${dtb_name} && run boot_start; fi; fi;' 9 | setenv devtype mmc 10 | setenv devnum 0 11 | run try_boot_start 12 | setenv devtype usb 13 | for devnum in 0 1 2 3 ; do run try_boot_start ; done 14 | 15 | -------------------------------------------------------------------------------- /config/bootscripts/boot-odroid-n2-mainline.ini: -------------------------------------------------------------------------------- 1 | ODROIDN2-UBOOT-CONFIG 2 | 3 | setenv dtb_name "/dtb/amlogic/meson-g12b-odroid-n2.dtb" 4 | setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0" 5 | 6 | # Set load addresses 7 | setenv dtb_loadaddr "0x1000000" 8 | setenv k_addr "0x1100000" 9 | setenv loadaddr "0x1B00000" 10 | setenv initrd_loadaddr "0x3700000" 11 | 12 | if test "${devtype}" = ""; then setenv devtype "mmc"; fi 13 | 14 | # Load kernel, dtb 15 | load ${devtype} ${devno}:1 ${k_addr} zImage 16 | load ${devtype} ${devno}:1 ${initrd_loadaddr} uInitrd 17 | load ${devtype} ${devno}:1 ${dtb_loadaddr} ${dtb_name} 18 | fdt addr ${dtb_loadaddr} 19 | 20 | # boot 21 | booti ${k_addr} ${initrd_loadaddr} ${dtb_loadaddr} 22 | 23 | -------------------------------------------------------------------------------- /config/bootscripts/boot-odroid-n2-next.ini: -------------------------------------------------------------------------------- 1 | ODROIDN2-UBOOT-CONFIG 2 | 3 | setenv dtb_name "/dtb/amlogic/meson-g12b-odroid-n2.dtb" 4 | setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0" 5 | 6 | # Set load addresses 7 | setenv dtb_loadaddr "0x1000000" 8 | setenv k_addr "0x1100000" 9 | setenv loadaddr "0x1B00000" 10 | setenv initrd_loadaddr "0x3700000" 11 | 12 | if test "${devtype}" = ""; then setenv devtype "mmc"; fi 13 | 14 | # Load kernel, dtb 15 | load ${devtype} ${devno}:1 ${k_addr} zImage 16 | load ${devtype} ${devno}:1 ${initrd_loadaddr} uInitrd 17 | load ${devtype} ${devno}:1 ${dtb_loadaddr} ${dtb_name} 18 | fdt addr ${dtb_loadaddr} 19 | 20 | # boot 21 | booti ${k_addr} ${initrd_loadaddr} ${dtb_loadaddr} 22 | 23 | -------------------------------------------------------------------------------- /config/templates/config-vagrant.conf: -------------------------------------------------------------------------------- 1 | # DO NOT EDIT THIS FILE 2 | # 3 | # This is a Vagrant launcher file. To set up the configuration, use command line arguments to compile.sh 4 | 5 | # remove "vagrant" from the command line 6 | shift 7 | 8 | # second argument can be a build parameter or a config file 9 | unset VAGRANT_CONF 10 | [[ $1 != *=* ]] && VAGRANT_CONF=$1 11 | 12 | display_alert "Building and running the Vagrant box" 13 | VAGRANT_INSTALL_LOCAL_PLUGINS=1 vagrant up || vagrant up 14 | 15 | display_alert "SSH config for the Vagrant box" 16 | vagrant ssh-config 17 | 18 | display_alert "Trying to connect using SSH" 19 | 20 | IFS=' ' vagrant ssh -c "cd armbian; sudo ./compile.sh $VAGRANT_CONF $*" 21 | 22 | display_alert "Press to halt the Vagrant box" 23 | read 24 | vagrant halt 25 | 26 | # don't need to proceed further on the host 27 | exit 0 28 | -------------------------------------------------------------------------------- /config/templates/example.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/config/templates/example.deb -------------------------------------------------------------------------------- /config/templates/fel-boot.cmd.template: -------------------------------------------------------------------------------- 1 | setenv nfs_ip FEL_LOCAL_IP 2 | setenv nfs_root FEL_ROOTFS 3 | setenv branch BRANCH 4 | setenv bootargs "console=tty1 console=ttyS0,115200 root=/dev/nfs nfsroot=${nfs_ip}:${nfs_root} ip=dhcp rw panic=10 consoleblank=0 enforcing=0 loglevel=6 rootflags=noatime,nodiratime" 5 | # uncomment to disable initrd 6 | # setenv ramdisk_addr_r "-" 7 | if test ${branch} != default; then 8 | setenv fdt_high ffffffff 9 | bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} 10 | else 11 | bootz ${kernel_addr_r} ${ramdisk_addr_r} 12 | fi 13 | -------------------------------------------------------------------------------- /config/templates/fel-hooks.sh.example: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # fel-hooks.sh.example -- this file is an example how 4 | # userpatches/fel-hooks.sh could be implemented. 5 | # 6 | # The following example assumes you use a Gembird power switch connected 7 | # through USB to be able to power cycle the board you want to fel boot. You 8 | # need the sispmctl package and use 'sispmctl -s' to get the ID of your 9 | # power switch. 10 | 11 | fel_pre_load() { 12 | # power cycle socket 1 of Gembird power switch 13 | sispmctl -D01:01:51:23:cb -q -f1 14 | # 5 seconds delay since PSUs don't like be being power cycled too fast 15 | sleep 5 16 | sispmctl -D01:01:51:23:cb -q -o1 17 | # 3 seconds delay since the SoC has to initialise 18 | sleep 3 19 | } # fel_pre_load 20 | 21 | fel_post_prepare() { 22 | # currently empty - sun8i-default tweaks were converted into u-boot patches 23 | echo "calling fel_post_prepare()" 24 | } # fel_post_prepare 25 | -------------------------------------------------------------------------------- /packages/blobs/desktop/chromium.conf: -------------------------------------------------------------------------------- 1 | # Default settings for chromium-browser. This file is sourced by /bin/sh from 2 | # /usr/bin/chromium-browser 3 | 4 | # Options to pass to chromium-browser 5 | CHROMIUM_FLAGS="--disable-smooth-scrolling \ 6 | --disable-low-res-tiling \ 7 | --enable-low-end-device-mode \ 8 | --num-raster-threads=$(grep -c processor /proc/cpuinfo) \ 9 | --profiler-timing=0 \ 10 | --disable-composited-antialiasing \ 11 | --disk-cache-dir=/tmp/${USER}-cache \ 12 | --disk-cache-size=$(findmnt --target /tmp -n -o AVAIL -b | awk '{printf ("%0.0f",$1*0.3); }') \ 13 | --no-sandbox \ 14 | --test-type" 15 | -------------------------------------------------------------------------------- /packages/blobs/desktop/chromium/master_preferences: -------------------------------------------------------------------------------- 1 | { 2 | "distribution": { 3 | "import_bookmarks": false, 4 | "import_bookmarks_from_file": "/usr/share/chromium/initial_bookmarks.html", 5 | "skip_first_run_ui": true, 6 | "show_welcome_page": false, 7 | "suppress_first_run_default_browser_prompt": true, 8 | "suppress_first_run_bubble": true, 9 | "make_chrome_default": false, 10 | "make_chrome_default_for_user": false, 11 | "create_all_shortcuts": true, 12 | "show_welcome_page": false 13 | }, 14 | "first_run_tabs": [ 15 | "https://www.armbian.com" 16 | ], 17 | "browser": { 18 | "show_home_button": true, 19 | "check_default_browser" : false 20 | }, 21 | "bookmark_bar": { 22 | "show_on_all_tabs": true 23 | }, 24 | "safebrowsing": { 25 | "enabled": false 26 | }, 27 | "alternate_error_pages": { 28 | "enabled": false 29 | }, 30 | "homepage": "https://www.armbian.com", 31 | "AudioCaptureAllowed" : false 32 | } 33 | -------------------------------------------------------------------------------- /packages/blobs/desktop/desktop-splash/desktop-splash.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Armbian desktop loading splash 3 | DefaultDependencies=no 4 | Before=rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target 5 | After=local-fs.target 6 | 7 | [Service] 8 | Type=oneshot 9 | ExecStart=/usr/bin/fbi -vt 1 -noverbose -d /dev/fb0 /boot/boot-desktop.png 10 | RemainAfterExit=yes 11 | 12 | [Install] 13 | WantedBy=sysinit.target 14 | -------------------------------------------------------------------------------- /packages/blobs/desktop/firefox.conf: -------------------------------------------------------------------------------- 1 | // 2 | // set default home page 3 | pref("browser.startup.homepage","https://www.armbian.com"); 4 | pref("browser.shell.checkDefaultBrowser", false); 5 | pref("browser.startup.homepage_override.mstone", "ignore"); 6 | // disables the 'know your rights' button from displaying on first run 7 | pref("browser.rights.3.shown", true); 8 | // disables the request to send performance data from displaying 9 | pref("toolkit.telemetry.prompted", 2); 10 | pref("toolkit.telemetry.rejected", true); 11 | // speed optimisations 12 | pref("reader.parse-on-load.enabled", false); 13 | pref("browser.cache.disk.enable", false); 14 | pref("browser.cache.memory.enable", true); 15 | pref("browser.cache.memory.capacity", "-1"); -------------------------------------------------------------------------------- /packages/blobs/desktop/icons/armbian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/icons/armbian.png -------------------------------------------------------------------------------- /packages/blobs/desktop/icons/debian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/icons/debian.png -------------------------------------------------------------------------------- /packages/blobs/desktop/icons/ubuntu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/icons/ubuntu.png -------------------------------------------------------------------------------- /packages/blobs/desktop/lightdm/lightdm-gtk-greeter.conf: -------------------------------------------------------------------------------- 1 | [greeter] 2 | background = #888a85 3 | theme-name = Numix 4 | icon-theme-name = Numix 5 | default-user-image=/usr/share/pixmaps/armbian.png 6 | indicators = ~language;~power;~a11y 7 | screensaver-timeout = 0 8 | font-name = Sans 11 9 | user-background = false 10 | keyboard = onboard --theme=ModelM 11 | -------------------------------------------------------------------------------- /packages/blobs/desktop/lightdm/lightdm.conf.d/11-armbian.conf: -------------------------------------------------------------------------------- 1 | [SeatDefaults] 2 | user-session=ubuntu 3 | greeter-show-manual-login=false 4 | greeter-hide-users=false 5 | allow-guest=false 6 | -------------------------------------------------------------------------------- /packages/blobs/desktop/numix-gtk-theme_2.6.7+670~201710270712~ubuntu17.10.1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/numix-gtk-theme_2.6.7+670~201710270712~ubuntu17.10.1_all.deb -------------------------------------------------------------------------------- /packages/blobs/desktop/numix-icon-theme_0.3+922~201711061547~ubuntu16.04.1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/numix-icon-theme_0.3+922~201711061547~ubuntu16.04.1_all.deb -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.config/autostart/pasystray.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Encoding=UTF-8 3 | Version=0.9.4 4 | Type=Application 5 | Name=Pulse audio pasystray 6 | Comment=pasystray 7 | Exec=pasystray 8 | OnlyShowIn=XFCE; 9 | StartupNotify=false 10 | Terminal=false 11 | Hidden=false 12 | 13 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.config/xfce4/terminal/terminalrc: -------------------------------------------------------------------------------- 1 | [Configuration] 2 | BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT 3 | MiscAlwaysShowTabs=FALSE 4 | MiscBell=FALSE 5 | MiscBordersDefault=TRUE 6 | MiscCursorBlinks=FALSE 7 | MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK 8 | MiscDefaultGeometry=80x24 9 | MiscInheritGeometry=FALSE 10 | MiscMenubarDefault=TRUE 11 | MiscMouseAutohide=FALSE 12 | MiscToolbarDefault=FALSE 13 | MiscConfirmClose=TRUE 14 | MiscCycleTabs=TRUE 15 | MiscTabCloseButtons=TRUE 16 | MiscTabCloseMiddleClick=TRUE 17 | MiscTabPosition=GTK_POS_TOP 18 | MiscHighlightUrls=TRUE 19 | MiscScrollAlternateScreen=TRUE 20 | BackgroundDarkness=0.940000 21 | FontName=Monospace 10 22 | ColorForeground=#5f5fffff0000 23 | TitleInitial=Armbian 24 | ScrollingBar=TERMINAL_SCROLLBAR_NONE 25 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/applications/armbian-config.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Type=Application 4 | Name=Armbian config 5 | Comment=Basic system settings 6 | Exec=sudo armbian-config 7 | Icon=preferences-system 8 | Path= 9 | Terminal=true 10 | StartupNotify=false 11 | Categories=GTK;GNOME;Settings;HardwareSettings; -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/applications/armbian-donate.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Type=Link 4 | Name=Donate 5 | Comment=Support making 6 | Icon=application-community 7 | URL=https://www.armbian.com/donate 8 | GenericName=Support development 9 | Categories=GTK;GNOME;X-Xfce-Toplevel; -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/applications/armbian-support.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Type=Link 4 | Name=Help 5 | Comment=Community forums 6 | URL=http://forum.armbian.com 7 | Icon=help-about 8 | StartupNotify=false 9 | Terminal=false 10 | Categories=GTK;GNOME;X-Xfce-Toplevel; 11 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/applications/xfce4-about.desktop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/skel/.local/share/applications/xfce4-about.desktop -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/keyrings/Default_keyring.keyring: -------------------------------------------------------------------------------- 1 | [keyring] 2 | display-name=Default keyring 3 | ctime=1473189692 4 | mtime=0 5 | lock-on-idle=false 6 | lock-after=false 7 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/keyrings/default: -------------------------------------------------------------------------------- 1 | Default_keyring 2 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.xscreensaver: -------------------------------------------------------------------------------- 1 | mode: off 2 | -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian01-old.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian01-old.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian02-old.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian02-old.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian03-Dre0x-Minum-dark-3840x2160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian03-Dre0x-Minum-dark-3840x2160.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian04-chzbacon-Micro-SD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian04-chzbacon-Micro-SD.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian05-chzbacon-Linen-Dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian05-chzbacon-Linen-Dark.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1280x1024.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1280x1024.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1440x1080.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1440x1080.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1650x1050.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1650x1050.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-3840x2160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-3840x2160.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian07-username-dark-3840x2160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/desktop/wallpapers/armbian07-username-dark-3840x2160.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/xorg.conf.cubox: -------------------------------------------------------------------------------- 1 | Section "Device" 2 | Identifier "i.MX Accelerated Framebuffer Device" 3 | Driver "vivante" 4 | Option "fbdev" "/dev/fb0" 5 | Option "vivante_fbdev" "/dev/fb0" 6 | Option "HWcursor" "false" 7 | EndSection 8 | 9 | Section "ServerFlags" 10 | Option "BlankTime" "0" 11 | Option "StandbyTime" "0" 12 | Option "SuspendTime" "0" 13 | Option "OffTime" "0" 14 | EndSection -------------------------------------------------------------------------------- /packages/blobs/rockchip/rk3288_boot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/rockchip/rk3288_boot.bin -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/splash/armbian-desktop.png -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-u-boot-24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/splash/armbian-u-boot-24.bmp -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-u-boot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/splash/armbian-u-boot.bmp -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-universal.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/splash/armbian-universal.bmp -------------------------------------------------------------------------------- /packages/blobs/splash/udoo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/splash/udoo.bmp -------------------------------------------------------------------------------- /packages/blobs/usb-redirector/usb-redirector-old.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/blobs/usb-redirector/usb-redirector-old.tgz -------------------------------------------------------------------------------- /packages/bsp/10-no-new-privileges.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | NoNewPrivileges=false 3 | -------------------------------------------------------------------------------- /packages/bsp/10-override-random-mac.conf: -------------------------------------------------------------------------------- 1 | [device] 2 | wifi.scan-rand-mac-address=no 3 | -------------------------------------------------------------------------------- /packages/bsp/99disable-power-management: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | case "$2" in 3 | up) /sbin/iwconfig $1 power off || true ;; 4 | down) /sbin/iwconfig $1 power on || true ;; 5 | esac 6 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/aml_autoscript.src: -------------------------------------------------------------------------------- 1 | defenv 2 | setenv bootcmd 'run start_autoscript; run storeboot' 3 | setenv start_autoscript 'if mmcinfo; then run start_mmc_autoscript; fi; if usb start; then run start_usb_autoscript; fi; run start_emmc_autoscript' 4 | setenv start_emmc_autoscript 'if fatload mmc 1 1020000 emmc_autoscript; then autoscr 1020000; fi;' 5 | setenv start_mmc_autoscript 'if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;' 6 | setenv start_usb_autoscript 'for usbdev in 0 1 2 3; do if fatload usb ${usbdev} 1020000 s905_autoscript; then autoscr 1020000; fi; done' 7 | setenv upgrade_step 2 8 | saveenv 9 | sleep 1 10 | reboot 11 | 12 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-g12/aml_autoscript.zip -------------------------------------------------------------------------------- /packages/bsp/aml-g12/dev-extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | # FDTDIR /dtb 5 | FDT /dtb/amlogic/meson-g12b-odroid-n2.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | 8 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/dev-uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/amlogic/meson-g12b-ugoos-am6.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | # FDTDIR /dtb 5 | #amlogic 6 | FDT /dtb/amlogic/meson-g12b-odroid-n2.dtb 7 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 8 | #rk3399 9 | # FDT /dtb/rockchip/rk3399-rock-pi-4.dtb 10 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 11 | #rk3328 12 | # FDT /dtb/rockchip/rk3328-box.dtb 13 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 14 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/g12_sound.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mixer() { 4 | parm=${4:-on} 5 | amixer -c "$1" sset "$2" "$3" $parm >/dev/null 2>&1 6 | amixer -c "$1" sset "$2" $parm >/dev/null 2>&1 7 | } 8 | 9 | card=AMLG12 10 | echo $card 11 | 12 | # Amlogic G12 HDMI to PCM0 13 | mixer $card 'FRDDR_A SINK 1 SEL' 'OUT 1' 14 | mixer $card 'FRDDR_A SRC 1 EN' on 15 | mixer $card 'TDMOUT_B SRC SEL' 'IN 0' 16 | mixer $card 'TOHDMITX I2S SRC' 'I2S B' 17 | mixer $card 'TOHDMITX' on 18 | 19 | # Amlogic G12 S/PDIF to PCM1 20 | mixer $card 'FRDDR_B SINK 1 SEL' 'OUT 3' 21 | mixer $card 'FRDDR_B SRC 1 EN' on 22 | mixer $card 'SPDIFOUT SRC SEL' 'IN 1' 23 | mixer $card 'SPDIFOUT Playback' on 24 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/next-extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | # FDTDIR /dtb 5 | FDT /dtb/amlogic/meson-g12b-odroid-n2.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | -------------------------------------------------------------------------------- /packages/bsp/aml-g12/uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/amlogic/meson-gxl-s905d-phicomm-n1.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/4uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/meson8b-ec100.dtb 2 | bootargs=root=LABEL=ROOTFS rootfstype=ext4 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd1,loaded,0x7900000,${hdmimode},full 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/805_fw_printenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s805/805_fw_printenv -------------------------------------------------------------------------------- /packages/bsp/aml-s805/805_fw_setenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s805/805_fw_setenv -------------------------------------------------------------------------------- /packages/bsp/aml-s805/aml_autoscript.src: -------------------------------------------------------------------------------- 1 | defenv 2 | setenv bootcmd 'run start_autoscript; run storeboot;' 3 | setenv start_autoscript 'if usb start; then run start_usb_autoscript; fi; if mmcinfo; then run start_mmc_autoscript; fi; run start_emmc_autoscript;' 4 | setenv start_emmc_autoscript 'if fatload mmc 0 11000000 emmc_autoscript; then autoscr 11000000; fi; if ext4load mmc 0:${system_part} 11000000 emmc_autoscript; then autoscr 11000000; fi; if fatload mmc 1 11000000 emmc_autoscript; then autoscr 11000000; fi; if ext4load mmc 1:${system_part} 11000000 emmc_autoscript; then autoscr 11000000; fi;' 5 | setenv start_mmc_autoscript 'if fatload mmc 0 11000000 s805_autoscript; then autoscr 11000000; fi;' 6 | setenv start_usb_autoscript 'if fatload usb 0 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 1 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 2 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 3 11000000 s805_autoscript; then autoscr 11000000; fi;' 7 | setenv system_part "b" 8 | setenv reboot_mode normal 9 | saveenv 10 | reset 11 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s805/aml_autoscript.zip -------------------------------------------------------------------------------- /packages/bsp/aml-s805/ddbr_backup_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | #dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 12 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/ddbr_backup_nand_full: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | dd if=/dev/recovery of=/ddbr/recovery.img conv=fsync 12 | dd if=/dev/bootloader of=/ddbr/bootloader.img conv=fsync 13 | dd if=/dev/logo of=/ddbr/logo.img conv=fsync 14 | dd if=/dev/misc of=/ddbr/misc.img conv=fsync 15 | dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 16 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 17 | 18 | sync 19 | 20 | echo "STOP ddBR NAND" 21 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/ddbr_restore_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | #dd if=/ddbr/dtb.img of=/dev/dtb conv=fsync 10 | dd if=/ddbr/boot.img of=/dev/boot conv=fsync 11 | #dd if=/ddbr/system.img of=/dev/system bs=32M conv=fsync 12 | dd if=/ddbr/data.img of=/dev/data bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/aml-s805/uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/meson8b_m201_1G.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,${hdmimode},full cvbsmode=576cvbs 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/4uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/meson8m2-mxiii-plus.dtb 2 | bootargs=root=LABEL=ROOTFS rootfstype=ext4 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd1,loaded,0x7900000,${hdmimode},full 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/805_fw_printenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s812/805_fw_printenv -------------------------------------------------------------------------------- /packages/bsp/aml-s812/805_fw_setenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s812/805_fw_setenv -------------------------------------------------------------------------------- /packages/bsp/aml-s812/812_hdmi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #bpp=32 4 | bpp=24 5 | 6 | mode=1080p 7 | #mode=720p 8 | 9 | echo "$mode" > /sys/class/display/mode 10 | 11 | # Disable framebuffer scaling 12 | echo 0 > /sys/class/ppmgr/ppscaler 13 | echo 0 > /sys/class/graphics/fb0/free_scale 14 | echo 1 > /sys/class/graphics/fb0/freescale_mode 15 | echo 0 > /sys/class/graphics/fb1/free_scale 16 | 17 | # Set framebuffer geometry to match the resolution 18 | case $mode in 19 | 720*) 20 | fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp 21 | ;; 22 | 1080*) 23 | fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp 24 | ;; 25 | esac 26 | 27 | # Enable framebuffer device 28 | echo 0 > /sys/class/graphics/fb0/blank 29 | 30 | # Blank fb1 to prevent static noise 31 | echo 1 > /sys/class/graphics/fb1/blank 32 | 33 | #echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink 34 | 35 | #su -c 'hciattach /dev/ttyS1 any' 36 | 37 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/aml_autoscript.src: -------------------------------------------------------------------------------- 1 | defenv 2 | setenv bootcmd 'run start_autoscript; run storeboot;' 3 | setenv start_autoscript 'if usb start; then run start_usb_autoscript; fi; if mmcinfo; then run start_mmc_autoscript; fi; run start_emmc_autoscript;' 4 | setenv start_emmc_autoscript 'if fatload mmc 0 11000000 emmc_autoscript; then autoscr 11000000; fi; if ext4load mmc 0:${system_part} 11000000 emmc_autoscript; then autoscr 11000000; fi; if fatload mmc 1 11000000 emmc_autoscript; then autoscr 11000000; fi; if ext4load mmc 1:${system_part} 11000000 emmc_autoscript; then autoscr 11000000; fi;' 5 | setenv start_mmc_autoscript 'if fatload mmc 0 11000000 s805_autoscript; then autoscr 11000000; fi;' 6 | setenv start_usb_autoscript 'if fatload usb 0 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 1 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 2 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 3 11000000 s805_autoscript; then autoscr 11000000; fi;' 7 | setenv system_part "b" 8 | setenv reboot_mode normal 9 | saveenv 10 | reset 11 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s812/aml_autoscript.zip -------------------------------------------------------------------------------- /packages/bsp/aml-s812/ddbr_backup_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | #dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 12 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/ddbr_backup_nand_full: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | dd if=/dev/recovery of=/ddbr/recovery.img conv=fsync 12 | dd if=/dev/bootloader of=/ddbr/bootloader.img conv=fsync 13 | dd if=/dev/logo of=/ddbr/logo.img conv=fsync 14 | dd if=/dev/misc of=/ddbr/misc.img conv=fsync 15 | dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 16 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 17 | 18 | sync 19 | 20 | echo "STOP ddBR NAND" 21 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/ddbr_restore_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | #dd if=/ddbr/dtb.img of=/dev/dtb conv=fsync 10 | dd if=/ddbr/boot.img of=/dev/boot conv=fsync 11 | #dd if=/ddbr/system.img of=/dev/system bs=32M conv=fsync 12 | dd if=/ddbr/data.img of=/dev/data bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/aml-s812/uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/meson8m2_n200_2G_MXIIIPlus.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,${hdmimode},full cvbsmode=576cvbs 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/aml_autoscript.src: -------------------------------------------------------------------------------- 1 | defenv 2 | setenv bootcmd 'run start_autoscript; run storeboot' 3 | setenv start_autoscript 'if mmcinfo; then run start_mmc_autoscript; fi; if usb start; then run start_usb_autoscript; fi; run start_emmc_autoscript' 4 | setenv start_emmc_autoscript 'if fatload mmc 1 1020000 emmc_autoscript; then autoscr 1020000; fi;' 5 | setenv start_mmc_autoscript 'if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;' 6 | setenv start_usb_autoscript 'for usbdev in 0 1 2 3; do if fatload usb ${usbdev} 1020000 s905_autoscript; then autoscr 1020000; fi; done' 7 | setenv upgrade_step 2 8 | saveenv 9 | sleep 1 10 | reboot 11 | 12 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s905/aml_autoscript.zip -------------------------------------------------------------------------------- /packages/bsp/aml-s905/ddbr_backup_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | #dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 12 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/ddbr_backup_nand_full: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | dd if=/dev/recovery of=/ddbr/recovery.img conv=fsync 12 | dd if=/dev/bootloader of=/ddbr/bootloader.img conv=fsync 13 | dd if=/dev/logo of=/ddbr/logo.img conv=fsync 14 | dd if=/dev/misc of=/ddbr/misc.img conv=fsync 15 | dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 16 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 17 | 18 | sync 19 | 20 | echo "STOP ddBR NAND" 21 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/ddbr_restore_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | #dd if=/ddbr/dtb.img of=/dev/dtb conv=fsync 10 | dd if=/ddbr/boot.img of=/dev/boot conv=fsync 11 | #dd if=/ddbr/system.img of=/dev/system bs=32M conv=fsync 12 | dd if=/ddbr/data.img of=/dev/data bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/dev_uEnv.ini: -------------------------------------------------------------------------------- 1 | #dtb_name=/dtb/meson-g12a-x96-max.dtb 2 | dtb_name=/dtb/meson-gxl-s905x-khadas-vim.dtb 3 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 4 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | FDTDIR /dtb 5 | # FDT /dtb/meson-gxl-s905x-khadas-vim.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/aml-s905/mali.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s905/mali.ko -------------------------------------------------------------------------------- /packages/bsp/aml-s905/s905x-uboot.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s905/s905x-uboot.img -------------------------------------------------------------------------------- /packages/bsp/aml-s905/uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/meson-gxl-s905x-khadas-vim.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 3 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/aml_autoscript.src: -------------------------------------------------------------------------------- 1 | defenv 2 | setenv bootcmd 'run start_autoscript; run storeboot' 3 | setenv start_autoscript 'if mmcinfo; then run start_mmc_autoscript; fi; if usb start; then run start_usb_autoscript; fi; run start_emmc_autoscript' 4 | setenv start_emmc_autoscript 'if fatload mmc 1 1020000 emmc_autoscript; then autoscr 1020000; fi;' 5 | setenv start_mmc_autoscript 'if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;' 6 | setenv start_usb_autoscript 'for usbdev in 0 1 2 3; do if fatload usb ${usbdev} 1020000 s905_autoscript; then autoscr 1020000; fi; done' 7 | setenv upgrade_step 2 8 | saveenv 9 | sleep 1 10 | reboot 11 | 12 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s912/aml_autoscript.zip -------------------------------------------------------------------------------- /packages/bsp/aml-s912/ddbr_backup_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | #dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 12 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/ddbr_backup_nand_full: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | dd if=/dev/dtb of=/ddbr/dtb.img conv=fsync 10 | dd if=/dev/boot of=/ddbr/boot.img conv=fsync 11 | dd if=/dev/recovery of=/ddbr/recovery.img conv=fsync 12 | dd if=/dev/bootloader of=/ddbr/bootloader.img conv=fsync 13 | dd if=/dev/logo of=/ddbr/logo.img conv=fsync 14 | dd if=/dev/misc of=/ddbr/misc.img conv=fsync 15 | dd if=/dev/system of=/ddbr/system.img bs=32M conv=fsync 16 | dd if=/dev/data of=/ddbr/data.img bs=32M conv=fsync 17 | 18 | sync 19 | 20 | echo "STOP ddBR NAND" 21 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/ddbr_restore_nand: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "START ddBR NAND" 4 | 5 | if [ ! -d /ddbr ] ; then 6 | mkdir /ddbr;chmod 777 /ddbr 7 | fi 8 | 9 | #dd if=/ddbr/dtb.img of=/dev/dtb conv=fsync 10 | dd if=/ddbr/boot.img of=/dev/boot conv=fsync 11 | #dd if=/ddbr/system.img of=/dev/system bs=32M conv=fsync 12 | dd if=/ddbr/data.img of=/dev/data bs=32M conv=fsync 13 | 14 | sync 15 | 16 | echo "STOP ddBR NAND" 17 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | FDTDIR /dtb 5 | # FDT /dtb/meson-gxm-khadas-vim2.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/aml-s912/s912-uboot.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/aml-s912/s912-uboot.img -------------------------------------------------------------------------------- /packages/bsp/aml-s912/uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/meson-gxm-khadas-vim2.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/X11/xorg.conf.d/01-armbian-defaults.conf: -------------------------------------------------------------------------------- 1 | Section "Monitor" 2 | Identifier "Monitor0" 3 | Option "DPMS" "false" 4 | EndSection 5 | Section "ServerFlags" 6 | Option "BlankTime" "0" 7 | Option "StandbyTime" "0" 8 | Option "SuspendTime" "0" 9 | Option "OffTime" "0" 10 | EndSection 11 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/02-armbian-compress-indexes: -------------------------------------------------------------------------------- 1 | #Acquire::GzipIndexes "true"; 2 | #Acquire::CompressionTypes::Order:: "gz"; 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/02-armbian-periodic: -------------------------------------------------------------------------------- 1 | // Enable the update/upgrade script (0=disable) 2 | APT::Periodic::Enable "0"; 3 | 4 | // Do "apt-get update" automatically every n-days (0=disable) 5 | APT::Periodic::Update-Package-Lists "21"; 6 | 7 | // Do "apt-get upgrade --download-only" every n-days (0=disable) 8 | APT::Periodic::Download-Upgradeable-Packages "0"; 9 | 10 | // Run the "unattended-upgrade" security upgrade script 11 | // every n-days (0=disabled) 12 | // Requires the package "unattended-upgrades" and will write 13 | // a log in /var/log/unattended-upgrades 14 | APT::Periodic::Unattended-Upgrade "7"; 15 | 16 | // Do "apt-get autoclean" every n-days (0=disable) 17 | APT::Periodic::AutocleanInterval "120"; 18 | 19 | // Define basic patterns 20 | Unattended-Upgrade::Origins-Pattern { 21 | "origin=${distro_id},codename=${distro_codename}"; 22 | "origin=Armbian"; 23 | }; 24 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/71-armbian-no-recommends: -------------------------------------------------------------------------------- 1 | APT::Install-Recommends "0"; 2 | APT::Install-Suggests "0"; 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/81-armbian-no-languages: -------------------------------------------------------------------------------- 1 | #Acquire::Languages "none"; 2 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/cron.d/armbian-truncate-logs: -------------------------------------------------------------------------------- 1 | PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 2 | 3 | */15 * * * * root /usr/lib/armbian/armbian-truncate-logs 4 | 5 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/cron.d/armbian-updates: -------------------------------------------------------------------------------- 1 | @reboot root /usr/lib/armbian/armbian-apt-updates 2 | @daily root /usr/lib/armbian/armbian-apt-updates 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/cron.daily/armbian-ram-logging: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /usr/lib/armbian/armbian-ramlog write >/dev/null 2>&1 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/default/armbian-motd.dpkg-dist: -------------------------------------------------------------------------------- 1 | # add space-separated list of MOTD script names (without number) to exclude them from MOTD 2 | # Example: 3 | # MOTD_DISABLE="header tips updates" 4 | 5 | MOTD_DISABLE="" 6 | ONE_WIRE="" # yes = show 1-wire temperature sensor if attached 7 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/default/armbian-ramlog.dpkg-dist: -------------------------------------------------------------------------------- 1 | # configuration values for the armbian-ram-logging service 2 | # 3 | # enable the armbian-ram-logging service? 4 | ENABLED=true 5 | # 6 | # size of the tmpfs mount -- please keep in mind to adjust /etc/default/armbian-zram-config too when increasing 7 | SIZE=50M 8 | # 9 | # use rsync instead of cp -r 10 | # requires rsync installed, may provide better performance 11 | # due to copying only new and changed files 12 | USE_RSYNC=true 13 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/initramfs/post-update.d/99-uboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . /etc/armbian-release 4 | 5 | echo "update-initramfs: Converting to u-boot format" >&2 6 | tempname="/boot/uInitrd-$1" 7 | mkimage -A $INITRD_ARCH -O linux -T ramdisk -C gzip -n uInitrd -d $2 $tempname > /dev/null 8 | # odroid exception 9 | if [ "$BOARD" = odroidc1 ] && [ "$BRANCH" = default ]; then 10 | odroidtemp="/boot/odroid" 11 | mkimage -A $INITRD_ARCH -O linux -T ramdisk -C none -a 0 -e 0 -n uInitrd -d $tempname $odroidtemp 12 | mv $odroidtemp $tempname 13 | echo "Odroid C1 default uInitrd" 14 | fi 15 | ln -sf $(basename $tempname) /boot/uInitrd > /dev/null 2>&1 || mv $tempname /boot/uInitrd 16 | exit 0 17 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/modprobe.d/r8723bs.conf: -------------------------------------------------------------------------------- 1 | options r8723bs rtw_power_mgnt=0 rtw_enusbss=0 2 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/profile.d/armbian-check-first-login-reboot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # only do this for interactive shells 10 | if [ "$-" != "${-#*i}" ]; then 11 | printf "\n" 12 | if [ -f "/var/run/.reboot_required" ]; then 13 | printf "[\e[0;91m Kernel was updated, please reboot\x1B[0m ]\n\n" 14 | fi 15 | fi -------------------------------------------------------------------------------- /packages/bsp/common/etc/profile.d/armbian-ssh-title.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | if [ -n "$PS1" ] && ( [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] ); then 10 | tput tsl > /dev/null 11 | if [ "$?" -eq 0 ]; then 12 | echo `tput tsl` `whoami`@`hostname` `tput fsl` 13 | fi 14 | fi -------------------------------------------------------------------------------- /packages/bsp/common/etc/skel/.config/htop/htoprc: -------------------------------------------------------------------------------- 1 | # Beware! This file is rewritten by htop when settings are changed in the interface. 2 | # The parser is also very primitive, and not human-friendly. 3 | fields=0 48 17 18 38 39 40 2 46 47 49 1 4 | sort_key=46 5 | sort_direction=1 6 | hide_threads=0 7 | hide_kernel_threads=1 8 | hide_userland_threads=0 9 | shadow_other_users=0 10 | show_thread_names=0 11 | show_program_path=1 12 | highlight_base_name=0 13 | highlight_megabytes=1 14 | highlight_threads=1 15 | tree_view=0 16 | header_margin=1 17 | detailed_cpu_time=0 18 | cpu_count_from_zero=0 19 | update_process_names=0 20 | account_guest_in_cpu_meter=0 21 | color_scheme=0 22 | delay=15 23 | left_meters=LeftCPUs Memory Swap CpuTemp 24 | left_meter_modes=1 1 1 2 25 | right_meters=RightCPUs Tasks LoadAverage Uptime 26 | right_meter_modes=1 2 2 2 27 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/systemd/system/logrotate.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Rotate log files 3 | Documentation=man:logrotate(8) man:logrotate.conf(5) 4 | ConditionACPower=true 5 | 6 | [Service] 7 | Type=oneshot 8 | ExecStartPre=/usr/lib/armbian/armbian-ramlog write 9 | ExecStart=/usr/sbin/logrotate /etc/logrotate.conf 10 | ExecStartPost=/usr/lib/armbian/armbian-ramlog postrotate 11 | 12 | # performance options 13 | Nice=19 14 | IOSchedulingClass=best-effort 15 | IOSchedulingPriority=7 16 | 17 | # hardening options 18 | # details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html 19 | # no ProtectHome for userdir logs 20 | # no PrivateNetwork for mail deliviery 21 | # no ProtectKernelTunables for working SELinux with systemd older than 235 22 | # no MemoryDenyWriteExecute for gzip on i686 23 | PrivateDevices=true 24 | PrivateTmp=true 25 | ProtectControlGroups=true 26 | ProtectKernelModules=true 27 | ProtectSystem=full 28 | RestrictRealtime=true 29 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/udev/rules.d/10-wifi-disable-powermanagement.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power off" 2 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/10-armbian-header: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # DO NOT EDIT THIS FILE but add config options to /etc/default/armbian-motd 10 | # any changes will be lost on board support package update 11 | 12 | THIS_SCRIPT="header" 13 | MOTD_DISABLE="" 14 | 15 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 16 | 17 | for f in $MOTD_DISABLE; do 18 | [[ $f == $THIS_SCRIPT ]] && exit 0 19 | done 20 | 21 | . /etc/os-release 22 | . /etc/armbian-release 23 | 24 | KERNELID=$(uname -r) 25 | TERM=linux toilet -f standard -F metal $(echo $BOARD_NAME | sed 's/Orange Pi/OPi/' | sed 's/NanoPi/NPi/' | sed 's/Banana Pi/BPi/') 26 | echo -e "Welcome to $(echo $NAME | cut -d' ' -f1) $(if [[ $ID == debian ]]; then echo ${PRETTY_NAME##*\(} | rev | cut -c2- | rev | sed 's/.*/\u&/'; else echo -n ${VERSION_CODENAME^};fi) with \e[0;91mArmbian Linux\x1B[0m $KERNELID" 27 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/35-armbian-tips: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # DO NOT EDIT THIS FILE but add config options to /etc/default/armbian-motd 10 | # any changes will be lost on board support package update 11 | 12 | THIS_SCRIPT="tips" 13 | MOTD_DISABLE="" 14 | 15 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 16 | 17 | for f in $MOTD_DISABLE; do 18 | [[ $f == $THIS_SCRIPT ]] && exit 0 19 | done 20 | 21 | quotes="/etc/update-motd.d/quotes.txt" 22 | if [[ -f $quotes ]]; then 23 | random_line=$(shuf -i 1-$(wc -l < $quotes) -n 1) 24 | quote=$(sed -n -e "$random_line"p $quotes) 25 | [[ -n $quote ]] && echo -e "\e[93mTip of the day:\e[39m $quote\n" 26 | fi 27 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/40-armbian-updates: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # DO NOT EDIT THIS FILE but add config options to /etc/default/armbian-motd 10 | # any changes will be lost on board support package update 11 | 12 | THIS_SCRIPT="updates" 13 | MOTD_DISABLE="" 14 | 15 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 16 | 17 | for f in $MOTD_DISABLE; do 18 | [[ $f == $THIS_SCRIPT ]] && exit 0 19 | done 20 | 21 | NUM_UPDATES=0 22 | 23 | [[ -f /var/cache/apt/archives/updates.number ]] && . /var/cache/apt/archives/updates.number 24 | 25 | if [[ $NUM_UPDATES -gt 0 ]]; then 26 | echo -e "[\e[31m $NUM_SECURITY_UPDATES security updates available, $NUM_UPDATES updates total\e[0m: \e[1mapt upgrade\e[0m ]" 27 | echo -e "Last check: \e[92m$DATE\e[0m" 28 | echo 29 | fi 30 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/41-armbian-config: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # DO NOT EDIT THIS FILE but add config options to /etc/default/armbian-motd 10 | # any changes will be lost on board support package update 11 | 12 | THIS_SCRIPT="armbian-config" 13 | MOTD_DISABLE="" 14 | 15 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 16 | 17 | for f in $MOTD_DISABLE; do 18 | [[ $f == $THIS_SCRIPT ]] && exit 0 19 | done 20 | 21 | if [[ $(( $RANDOM % 2 )) == 0 ]]; then 22 | if [[ -f /usr/sbin/armbian-config ]]; then 23 | echo -e "[\e[31m General system configuration (beta)\e[0m: \e[1marmbian-config\e[0m ]\n" 24 | else 25 | echo -e "[\e[31m Menu-driven system configuration (beta)\e[0m: \e[1msudo apt update && sudo apt install armbian-config\e[0m ]\n" 26 | fi 27 | fi 28 | 29 | exit 0 30 | 31 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/98-armbian-autoreboot-warn: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # DO NOT EDIT THIS FILE 10 | # any changes will be lost on board support package update 11 | 12 | if [[ -f /var/run/resize2fs-reboot ]]; then 13 | printf "\e[0;91mWarning: a reboot is needed to finish resizing the filesystem \x1B[0m \n" 14 | printf "\e[0;91mPlease reboot the system as soon as possible \x1B[0m \n" 15 | fi 16 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/99-armbian-point-to-faq: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) Authors: http://www.armbian.com/authors 4 | # 5 | # This file is licensed under the terms of the GNU General Public 6 | # License version 2. This program is licensed "as is" without any 7 | # warranty of any kind, whether express or implied. 8 | 9 | # DO NOT EDIT THIS FILE but add config options to /etc/default/armbian-motd 10 | # any changes will be lost on board support package update 11 | 12 | THIS_SCRIPT="point-to-faq" 13 | MOTD_DISABLE="" 14 | 15 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 16 | 17 | for f in $MOTD_DISABLE; do 18 | [[ $f == $THIS_SCRIPT ]] && exit 0 19 | done 20 | 21 | . /etc/armbian-release 22 | 23 | printf "New to Armbian? Check the documentation first: \e[0;92mhttps://docs.armbian.com\x1B[0m\n" 24 | 25 | (sleep 1 && rm "$0") & 26 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-firstrun-config.service: -------------------------------------------------------------------------------- 1 | # Armbian firstrun configuration service 2 | # This service will run in parallel with other services 3 | 4 | [Unit] 5 | Description=Armbian first run optional user configuration 6 | Wants=network-online.target 7 | After=network.target network-online.target 8 | ConditionPathExists=/boot/armbian_first_run.txt 9 | ConditionPathExists=/root/.not_logged_in_yet 10 | 11 | [Service] 12 | Type=oneshot 13 | RemainAfterExit=yes 14 | ExecStart=/usr/lib/armbian/armbian-firstrun-config 15 | TimeoutStartSec=2min 16 | 17 | [Install] 18 | WantedBy=multi-user.target 19 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-firstrun.service: -------------------------------------------------------------------------------- 1 | # Armbian firstrun service 2 | # Regenerates the SSH keys and performs additional first run tweaks 3 | # This service will run in parallel with other services 4 | 5 | [Unit] 6 | Description=Armbian first run tasks 7 | Before=getty.target system-getty.slice 8 | 9 | [Service] 10 | Type=simple 11 | RemainAfterExit=yes 12 | ExecStart=/usr/lib/armbian/armbian-firstrun start 13 | TimeoutStartSec=2min 14 | 15 | [Install] 16 | WantedBy=multi-user.target 17 | 18 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-hardware-monitor.service: -------------------------------------------------------------------------------- 1 | # Armbian hardware monitor service 2 | # Detects and sets various features on boot 3 | # This service may block the boot process for up to 2 minutes 4 | 5 | [Unit] 6 | Description=Armbian hardware monitoring 7 | Before=basic.target 8 | After=sysinit.target local-fs.target 9 | DefaultDependencies=no 10 | 11 | [Service] 12 | Type=oneshot 13 | ExecStart=/usr/lib/armbian/armbian-hardware-monitor start 14 | ExecStop=/usr/lib/armbian/armbian-hardware-monitor stop 15 | RemainAfterExit=yes 16 | TimeoutStartSec=2min 17 | 18 | [Install] 19 | WantedBy=basic.target 20 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-hardware-optimize.service: -------------------------------------------------------------------------------- 1 | # Armbian hardware optimization service 2 | # Apply optimisations 3 | # This service may block the boot process for up to 2 minutes 4 | 5 | [Unit] 6 | Description=Armbian hardware optimization 7 | Before=basic.target 8 | After=sysinit.target local-fs.target armbian-hardware-monitor.target 9 | DefaultDependencies=no 10 | 11 | [Service] 12 | Type=oneshot 13 | ExecStart=/usr/lib/armbian/armbian-hardware-optimization start 14 | ExecStop=/usr/lib/armbian/armbian-hardware-optimization stop 15 | RemainAfterExit=yes 16 | TimeoutStartSec=2min 17 | 18 | [Install] 19 | WantedBy=basic.target 20 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-ramlog.service: -------------------------------------------------------------------------------- 1 | # Armbian ramlog service 2 | # Stores logs in (compressed) memory 3 | # This service may block the boot process for up to 30 sec 4 | 5 | [Unit] 6 | Description=Armbian memory supported logging 7 | DefaultDependencies=no 8 | Before=rsyslog.service sysinit.target syslog.target 9 | After=armbian-zram-config.service 10 | Conflicts=shutdown.target 11 | RequiresMountsFor=/var/log /var/log.hdd 12 | IgnoreOnIsolate=yes 13 | 14 | [Service] 15 | Type=oneshot 16 | ExecStart=/usr/lib/armbian/armbian-ramlog start 17 | ExecStop=/usr/lib/armbian/armbian-ramlog stop 18 | ExecReload=/usr/lib/armbian/armbian-ramlog write 19 | RemainAfterExit=yes 20 | TimeoutStartSec=30sec 21 | 22 | [Install] 23 | WantedBy=sysinit.target 24 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-resize-filesystem.service: -------------------------------------------------------------------------------- 1 | # Armbian resize filesystem service 2 | # Resizes partition and filesystem on first/second boot 3 | # This service may block the boot process for up to 3 minutes 4 | 5 | [Unit] 6 | Description=Armbian filesystem resize 7 | Before=basic.target 8 | After=sysinit.target local-fs.target 9 | DefaultDependencies=no 10 | 11 | [Service] 12 | Type=oneshot 13 | RemainAfterExit=yes 14 | ExecStart=/usr/lib/armbian/armbian-resize-filesystem start 15 | TimeoutStartSec=6min 16 | 17 | [Install] 18 | WantedBy=basic.target 19 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/armbian-zram-config.service: -------------------------------------------------------------------------------- 1 | # Armbian ZRAM configuration service 2 | # Create 1 + number of cores compressed block devices 3 | # This service may block the boot process for up to 30 sec 4 | 5 | [Unit] 6 | Description=Armbian ZRAM config 7 | DefaultDependencies=no 8 | After=local-fs.target 9 | Before=armbian-ramlog.target 10 | Conflicts=shutdown.target 11 | 12 | [Service] 13 | Type=oneshot 14 | ExecStart=/usr/lib/armbian/armbian-zram-config start 15 | ExecStop=/usr/lib/armbian/armbian-zram-config stop 16 | RemainAfterExit=yes 17 | TimeoutStartSec=30sec 18 | 19 | [Install] 20 | WantedBy=sysinit.target 21 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/getty@tty1.service.d/10-noclear.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | TTYVTDisallocate=no 3 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/serial-getty@.service.d/10-term.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | Environment=TERM=linux 3 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/systemd-modules-load.service.d/10-timeout.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | TimeoutStopSec=10 3 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/udev/rules.d/71-axp-power-button.rules: -------------------------------------------------------------------------------- 1 | # Handle AXP power button with systemd 2 | ACTION=="remove", GOTO="power_switch_end" 3 | SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="axp20x-pek", TAG+="power-switch" 4 | SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="axp[12][890]-supplyer", TAG+="power-switch" 5 | LABEL="power_switch_end" 6 | -------------------------------------------------------------------------------- /packages/bsp/common/usr/lib/chromium-browser/master_preferences: -------------------------------------------------------------------------------- 1 | ../../share/chromium/master_preferences -------------------------------------------------------------------------------- /packages/bsp/common/var/lib/polkit-1/localauthority/50-local.d/backlight.pkla: -------------------------------------------------------------------------------- 1 | [Allow setting brightness] 2 | Identity=unix-group:sudo 3 | Action=org.xfce.power.backlight-helper 4 | ResultAny=yes 5 | ResultInactive=yes 6 | ResultActive=yes 7 | -------------------------------------------------------------------------------- /packages/bsp/common/var/lib/polkit-1/localauthority/50-local.d/networkmanager.pkla: -------------------------------------------------------------------------------- 1 | [nm-applet] 2 | Identity=unix-group:netdev;unix-group:sudo 3 | Action=org.freedesktop.NetworkManager.* 4 | ResultAny=yes 5 | ResultInactive=no 6 | ResultActive=yes 7 | -------------------------------------------------------------------------------- /packages/bsp/common/var/lib/polkit-1/localauthority/50-local.d/plugdev.pkla: -------------------------------------------------------------------------------- 1 | [Allow Automount] 2 | Identity=unix-group:plugdev 3 | Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.udisks2.filesystem-mount-other-seat;org.freedesktop.udisks2.filesystem-unmount-others;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.eject-media-system;org.freedesktop.udisks2.power-off-drive* 4 | ResultAny=yes 5 | ResultInactive=yes 6 | ResultActive=yes 7 | -------------------------------------------------------------------------------- /packages/bsp/common/var/lib/polkit-1/localauthority/50-local.d/power.pkla: -------------------------------------------------------------------------------- 1 | [Allow Desktopstuff] 2 | Identity=unix-group:sudo 3 | Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-session;org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions 4 | ResultAny=yes 5 | ResultInactive=yes 6 | ResultActive=yes 7 | -------------------------------------------------------------------------------- /packages/bsp/common/var/lib/polkit-1/localauthority/50-local.d/printing.pkla: -------------------------------------------------------------------------------- 1 | [printing] 2 | Identity=unix-group:netdev;unix-group:sudo 3 | Action=org.opensuse.cupspkhelper.mechanism.* 4 | ResultAny=yes 5 | ResultInactive=no 6 | ResultActive=yes 7 | -------------------------------------------------------------------------------- /packages/bsp/jetson-nano/Image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/jetson-nano/Image -------------------------------------------------------------------------------- /packages/bsp/jetson-nano/extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /boot/Image 3 | INITRD /boot/uInitrd 4 | # FDTDIR /dtb 5 | # FDT /boot/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb 6 | APPEND root=LABEL=ROOTFS rw rootwait tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 tegra_fbmem=0x800000@0x92cb6000 is_hdmi_initialised=1 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 7 | -------------------------------------------------------------------------------- /packages/bsp/jetson-nano/tegra-hda.conf: -------------------------------------------------------------------------------- 1 | # Configuration for the Tegra HD audio 2 | 3 | 4 | 5 | tegra-hda.pcm.hdmi.0 { 6 | @args [ CARD AES0 AES1 AES2 AES3 ] 7 | @args.CARD { type string } 8 | @args.AES0 { type integer } 9 | @args.AES1 { type integer } 10 | @args.AES2 { type integer } 11 | @args.AES3 { type integer } 12 | type hooks 13 | slave.pcm { 14 | type hw 15 | card $CARD 16 | device 3 17 | } 18 | hint.device 3 19 | } 20 | -------------------------------------------------------------------------------- /packages/bsp/jetson-nano/tegra-snd-t210r.conf: -------------------------------------------------------------------------------- 1 | # 2 | # ALSA configuration for the Tegra210 APE soundcard 3 | # 4 | # Copyright (c) 2018 NVIDIA Corporation. All Rights Reserved. 5 | # 6 | # NVIDIA Corporation and its licensors retain all intellectual property and 7 | # proprietary rights in and to this software and related documentation. Any 8 | # use, reproduction, disclosure or distribution of this software and related 9 | # documentation without an express license agreement from NVIDIA Corporation 10 | # is strictly prohibited. 11 | # 12 | 13 | 14 | 15 | tegra-snd-t210r.pcm.front.0 { 16 | @args [ CARD ] 17 | @args.CARD { 18 | type string 19 | } 20 | type hw 21 | card $CARD 22 | } 23 | -------------------------------------------------------------------------------- /packages/bsp/jetson-nano/tegra21x_xusb_firmware: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/jetson-nano/tegra21x_xusb_firmware -------------------------------------------------------------------------------- /packages/bsp/jetson-nano/u-boot-jetson-nano.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/jetson-nano/u-boot-jetson-nano.img -------------------------------------------------------------------------------- /packages/bsp/mpv/mpv_mainline.conf: -------------------------------------------------------------------------------- 1 | # HW acceleration is not supported on this platform yet 2 | vo=x11 3 | sws-scaler=fast-bilinear 4 | -------------------------------------------------------------------------------- /packages/bsp/rk3328-tv/99-mali.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="mali*", MODE="0666", GROUP="video" 2 | KERNEL=="drm*", MODE="0666", GROUP="video" 3 | -------------------------------------------------------------------------------- /packages/bsp/rk3328-tv/bionic_mpv.conf: -------------------------------------------------------------------------------- 1 | # HW acceleration is not supported on this platform yet 2 | #vo=x11 3 | #sws-scaler=fast-bilinear 4 | vo=gpu 5 | gpu-context=drm 6 | hwdec=rkmpp 7 | -------------------------------------------------------------------------------- /packages/bsp/rk3328-tv/dev_extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | #rk3399 5 | # FDT /dtb/rockchip/rk3399-rock-pi-4.dtb 6 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | #rk3328 8 | FDT /dtb/rockchip/rk3328-box.dtb 9 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 10 | 11 | -------------------------------------------------------------------------------- /packages/bsp/rk3328-tv/extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /Image 3 | INITRD /uInitrd 4 | FDT /dtb/rockchip/rk3328-mx10-fast.dtb 5 | # FDT /dtb/rockchip/rk3328-a5x.dtb 6 | # FDT /dtb/rockchip/rk3328-box-trn9.dtb 7 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 8 | -------------------------------------------------------------------------------- /packages/bsp/rk3328-tv/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/rk3328-tv/next_extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | FDT /dtb/rockchip/rk3328-rock64.dtb 5 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 6 | 7 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/aml_autoscript.src: -------------------------------------------------------------------------------- 1 | defenv 2 | setenv bootcmd 'run start_autoscript; run storeboot' 3 | setenv start_autoscript 'if mmcinfo; then run start_mmc_autoscript; fi; if usb start; then run start_usb_autoscript; fi; run start_emmc_autoscript' 4 | setenv start_emmc_autoscript 'if fatload mmc 1 1020000 emmc_autoscript; then autoscr 1020000; fi;' 5 | setenv start_mmc_autoscript 'if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;' 6 | setenv start_usb_autoscript 'for usbdev in 0 1 2 3; do if fatload usb ${usbdev} 1020000 s905_autoscript; then autoscr 1020000; fi; done' 7 | setenv upgrade_step 2 8 | saveenv 9 | sleep 1 10 | reboot 11 | 12 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/rk3399-tv/aml_autoscript.zip -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/boot.ini: -------------------------------------------------------------------------------- 1 | ODROIDN2-UBOOT-CONFIG 2 | 3 | setenv dtb_name "/dtb/amlogic/meson-g12b-odroid-n2.dtb" 4 | setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0" 5 | 6 | # Set load addresses 7 | setenv dtb_loadaddr "0x1000000" 8 | setenv k_addr "0x1100000" 9 | setenv loadaddr "0x1B00000" 10 | setenv initrd_loadaddr "0x3700000" 11 | 12 | if test "${devtype}" = ""; then setenv devtype "mmc"; fi 13 | 14 | # Load kernel, dtb 15 | load ${devtype} ${devno}:1 ${k_addr} zImage 16 | load ${devtype} ${devno}:1 ${initrd_loadaddr} uInitrd 17 | load ${devtype} ${devno}:1 ${dtb_loadaddr} ${dtb_name} 18 | fdt addr ${dtb_loadaddr} 19 | 20 | # boot 21 | booti ${k_addr} ${initrd_loadaddr} ${dtb_loadaddr} 22 | 23 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/dev_extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | #rk3399 5 | FDT /dtb/rockchip/rk3399-rock-pi-4.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | #rk3328 8 | # FDT /dtb/rockchip/rk3328-box.dtb 9 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 10 | #amlogic 11 | # FDT /dtb/amlogic/meson-g12b-odroid-n2.dtb 12 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 13 | 14 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /Image 3 | INITRD /uInitrd 4 | #rk3399 5 | FDT /dtb/rockchip/rk3399-khadas-edge-v.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | #rk3328 8 | # FDT /dtb/rockchip/rk3328-mx10-fast.dtb 9 | # FDT /dtb/rockchip/rk3328-a5x.dtb 10 | # FDT /dtb/rockchip/rk3328-box-trn9.dtb 11 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 12 | 13 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/fstab: -------------------------------------------------------------------------------- 1 | #/var/swap none swap sw 0 0 2 | #/dev/root / auto noatime,errors=remount-ro 0 1 3 | #proc /proc proc defaults 0 0 4 | 5 | /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 6 | tmpfs /tmp tmpfs defaults,nosuid 0 0 7 | LABEL=BOOT_EMMC /boot vfat defaults 0 2 8 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/g12_sound.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mixer() { 4 | parm=${4:-on} 5 | amixer -c "$1" sset "$2" "$3" $parm >/dev/null 2>&1 6 | amixer -c "$1" sset "$2" $parm >/dev/null 2>&1 7 | } 8 | 9 | card=AMLG12 10 | echo $card 11 | 12 | # Amlogic G12 HDMI to PCM0 13 | mixer $card 'FRDDR_A SINK 1 SEL' 'OUT 1' 14 | mixer $card 'FRDDR_A SRC 1 EN' on 15 | mixer $card 'TDMOUT_B SRC SEL' 'IN 0' 16 | mixer $card 'TOHDMITX I2S SRC' 'I2S B' 17 | mixer $card 'TOHDMITX' on 18 | 19 | # Amlogic G12 S/PDIF to PCM1 20 | mixer $card 'FRDDR_B SINK 1 SEL' 'OUT 3' 21 | mixer $card 'FRDDR_B SRC 1 EN' on 22 | mixer $card 'SPDIFOUT SRC SEL' 'IN 1' 23 | mixer $card 'SPDIFOUT Playback' on 24 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/next_extlinux.conf: -------------------------------------------------------------------------------- 1 | LABEL Armbian 2 | LINUX /zImage 3 | INITRD /uInitrd 4 | #rk3399 5 | FDT /dtb/rockchip/rk3399-rock-pi-4.dtb 6 | APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 7 | #rk3328 8 | # FDT /dtb/rockchip/rk3328-rock64.dtb 9 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 10 | #amlogic 11 | # FDT /dtb/amlogic/meson-g12b-odroid-n2.dtb 12 | # APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 13 | 14 | -------------------------------------------------------------------------------- /packages/bsp/rk3399-tv/uEnv.ini: -------------------------------------------------------------------------------- 1 | dtb_name=/dtb/amlogic/meson-g12b-ugoos-am6.dtb 2 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 3 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/50-hevc.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="hevc-service", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/50-mali.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="mali0", MODE="0660", GROUP="video" -------------------------------------------------------------------------------- /packages/bsp/rockchip/50-vpu.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="vpu-service", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/60-media.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="media*", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/70-gpio.rules: -------------------------------------------------------------------------------- 1 | # Allow group gpio to access gpiomem device 2 | SUBSYSTEM=="rk3288-gpiomem", GROUP="gpio", MODE="0660" 3 | 4 | # To allow additional features like edge detection 5 | SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ 6 | chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio;\ 7 | chown -R root:gpio /sys/devices/virtual/gpio && chmod -R 770 /sys/devices/virtual/gpio;\ 8 | chown -R root:gpio /sys$devpath && chmod -R 770 /sys$devpath\ 9 | '" 10 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/71-i2c.rules: -------------------------------------------------------------------------------- 1 | # Allow i2c group to access i2c devices 2 | SUBSYSTEM=="i2c-dev", GROUP="i2c", MODE="0660" 3 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/89-pulseaudio-usb.rules: -------------------------------------------------------------------------------- 1 | ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="481a", ENV{PULSE_IGNORE}="1" -------------------------------------------------------------------------------- /packages/bsp/rockchip/ap6330-bluetooth.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=AP6330 bluetooth support 3 | Before=bluetooth.service 4 | 5 | [Service] 6 | Type=forking 7 | RemainAfterExit=Yes 8 | ExecStart=/usr/bin/hciattach /dev/ttyS0 bcm43xx 1500000 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/hdmi-hotplug: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | USER="$(who | grep :0\) | cut -f 1 -d ' ')" 3 | export XAUTHORITY=/home/$USER/.Xauthority 4 | export DISPLAY=:0 5 | HDMI_STATUS="$(cat /sys/class/drm/card0-HDMI-A-1/status)" 6 | 7 | # Check to see if HDMI connected or not and toggle if change 8 | if [ "${HDMI_STATUS}" = connected ]; then 9 | xrandr 10 | xrandr --output HDMI-1 --auto 11 | else 12 | xrandr --output HDMI-1 --off 13 | fi 14 | 15 | exit 0 -------------------------------------------------------------------------------- /packages/bsp/rockchip/hdmi.rules: -------------------------------------------------------------------------------- 1 | SUBSYSTEM=="drm", ACTION=="change", RUN+="/usr/local/bin/hdmi-hotplug" -------------------------------------------------------------------------------- /packages/bsp/rockchip/pulseaudio.txt: -------------------------------------------------------------------------------- 1 | #load-module module-alsa-sink 2 | load-module module-alsa-sink device=OnBoard_D0 sink_properties=device.description="BT_VOIP-Output" 3 | load-module module-alsa-sink device=OnBoard_D1 sink_properties=device.description="SPDIF-Output" 4 | load-module module-alsa-sink device=OnBoard_D2 sink_properties=device.description="Headset-Output" 5 | #load-module module-alsa-source device=hw:1,0 6 | load-module module-alsa-source device=OnBoard_D0 source_properties=device.description="BT_VOIP-Input" 7 | load-module module-alsa-source device=OnBoard_D1 source_properties=device.description="Headset-Input" 8 | 9 | -------------------------------------------------------------------------------- /packages/bsp/rockchip/rtk_hciattach: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/bsp/rockchip/rtk_hciattach -------------------------------------------------------------------------------- /packages/bsp/rockchip/tinker-bluetooth.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Realtek H5 bluetooth support 3 | Before=bluetooth.service 4 | 5 | [Service] 6 | ExecStartPre=/usr/sbin/rfkill unblock all 7 | ExecStart=/bin/bash /usr/local/bin/start_bt.sh 8 | Restart=on-failure 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /packages/bsp/zz-override-wifi-powersave-off.conf: -------------------------------------------------------------------------------- 1 | [connection] 2 | wifi.powersave = 2 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/00-libdri2.conf: -------------------------------------------------------------------------------- 1 | # libDRI2 2 | # needed only on Debian 3 | # required for xf86-video-fbturbo and libmali-sunxi-r3p0 4 | local package_name="libDRI2" 5 | local package_repo="https://github.com/robclark/libdri2.git" 6 | local package_ref="branch:master" 7 | local package_upstream_version="1.0.1" 8 | local package_builddeps="xutils-dev x11proto-xext-dev x11proto-dri2-dev pkg-config libxfixes-dev libxext-dev libdrm-dev dh-autoreconf" 9 | local package_install_chroot="libdri2-1 libdri2-dev" 10 | local package_install_target="libdri2-1" 11 | local package_component="${release}-desktop" 12 | 13 | package_checkbuild() 14 | { 15 | [[ $release == jessie ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $BRANCH == default && $RELEASE == jessie && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/04-libvdpau.conf: -------------------------------------------------------------------------------- 1 | # libvdpau 2 | # required for libvdpau-sunxi 3 | local package_name="libvdpau" 4 | local package_repo="https://anongit.freedesktop.org/git/vdpau/libvdpau.git" 5 | local package_ref="branch:master" 6 | local package_builddeps="graphviz ghostscript doxygen-latex x11proto-dri2-dev pkg-config libxext-dev libx11-dev dh-autoreconf" 7 | local package_upstream_version="1.1.1-10" 8 | local package_install_chroot="libvdpau1 libvdpau-dev" 9 | local package_install_target="libvdpau1" 10 | local package_component="${release}-desktop" 11 | 12 | package_checkbuild() 13 | { 14 | # we don't support running kernels < 3.13 on Stretch or Bionic 15 | [[ $release != stretch && $release != bionic && $release != disco && $release != buster ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/05-libump.conf: -------------------------------------------------------------------------------- 1 | # libUMP 2 | # required for libmali-sunxi-r3p0 3 | # may be required for libcedrus 4 | local package_name="libUMP" 5 | local package_repo="https://github.com/rellla/libump.git" 6 | local package_ref="branch:ump" 7 | local package_builddeps="dh-autoreconf pkg-config" 8 | local package_install_chroot="libump libump-dev" 9 | local package_install_target="libump" 10 | local package_component="${release}-desktop" 11 | 12 | package_checkbuild() 13 | { 14 | # we don't support running kernels < 3.13 on Stretch or Bionic 15 | [[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ $LINUXFAMILY == sun*i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/06-libcedrus.conf: -------------------------------------------------------------------------------- 1 | # libcedrus 2 | # required for libvdpau-sunxi 3 | # may depend on libump 4 | local package_name="libcedrus" 5 | local package_repo="https://github.com/linux-sunxi/libcedrus.git" 6 | local package_ref="branch:master" 7 | local package_upstream_version="1.0.1" 8 | local package_install_chroot="libcedrus1 libcedrus1-dev" 9 | local package_install_target="libcedrus1" 10 | local package_component="${release}-desktop" 11 | 12 | package_checkbuild() 13 | { 14 | # we don't support running kernels < 3.13 on Stretch or Bionic 15 | [[ $release != stretch && $release != bionic && $release != buster && $release != disco ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == default && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/06-xf86-video-fbturbo.conf: -------------------------------------------------------------------------------- 1 | # xf86-video-fbturbo 2 | # depends on libUMP 3 | # depends on libDRI on Jessie 4 | local package_name="xf86-video-fbturbo" 5 | local package_repo="https://github.com/ssvb/xf86-video-fbturbo.git" 6 | local package_ref="branch:master" 7 | local package_builddeps="dh-autoreconf pkg-config xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev xutils-dev" 8 | local package_builddeps_xenial="libdri2-dev" 9 | local package_install_target="xserver-xorg-video-fbturbo" 10 | local package_component="${release}-desktop" 11 | 12 | package_checkbuild() 13 | { 14 | # we don't support running kernels < 3.13 on Stretch or Bionic 15 | [[ $release != stretch && $release != bionic ]] 16 | [[ $release != stretch && $release != bionic && $release != buster && $release != disco ]] 17 | } 18 | 19 | package_checkinstall() 20 | { 21 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes && $BRANCH == default ]] 22 | } 23 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/07-xf86-video-armsoc.conf: -------------------------------------------------------------------------------- 1 | # xf86-video-armsoc 2 | local package_name="xf86-video-armsoc" 3 | local package_repo="https://anongit.freedesktop.org/git/xorg/driver/xf86-video-armsoc.git" 4 | local package_ref="tag:1.4.1" 5 | local package_upstream_version="1.4.1" 6 | local package_builddeps="dh-autoreconf libdrm-dev libudev-dev libxext-dev pkg-config x11proto-core-dev x11proto-fonts-dev x11proto-gl-dev x11proto-xf86dri-dev xutils-dev xserver-xorg-dev" 7 | local package_install_target="xserver-xorg-video-armsoc-sun4i" 8 | local package_component="${release}-desktop" 9 | 10 | package_checkbuild() 11 | { 12 | # until we have access to properly licensed arm64 mali binary drivers 13 | [[ $arch == armhf ]] 14 | } 15 | 16 | package_checkinstall() 17 | { 18 | # TODO: enable installing this after testing and updating the repository 19 | #[[ ( $LINUXFAMILY == sunxi || $LINUXFAMILY == sunxi64 ) && $BUILD_DESKTOP == yes && $BRANCH != default ]] 20 | false 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-a10disp.conf: -------------------------------------------------------------------------------- 1 | # a10disp 2 | local package_name="a10disp" 3 | local package_repo="https://github.com/hglm/a10disp.git" 4 | local package_ref="branch:master" 5 | local package_builddeps="linux-headers-armmp" 6 | local package_install_target="a10disp" 7 | local package_component="${release}-utils" 8 | 9 | package_checkbuild() 10 | { 11 | # we don't support running kernels < 3.13 on Stretch or Bionic 12 | [[ $arch == armhf && $release == jessie ]] 13 | } 14 | 15 | package_checkinstall() 16 | { 17 | [[ ( $LINUXFAMILY == sun4i || $LINUXFAMILY == sun7i ) && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == default ]] 18 | } 19 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-fswebcam-gc2035.conf.disabled: -------------------------------------------------------------------------------- 1 | # fswebcam-gc2035 2 | local package_name="fswebcam-gc2035" 3 | local package_repo="https://github.com/avafinger/fswebcam.git" 4 | local package_ref="branch:master" 5 | local package_builddeps="libgd2-xpm-dev libgd2-noxpm-dev libjpeg-dev libpng-dev libfreetype6-dev libv4l-dev" 6 | local package_install_target="fswebcam-gc2035" 7 | local package_arch="armhf" 8 | local package_component="${release}-desktop" 9 | 10 | package_checkbuild() 11 | { 12 | # we don't support running kernels < 3.13 on Stretch or Bionic 13 | [[ $arch == armhf && $release != stretch && $release != bionic ]] 14 | } 15 | 16 | package_checkinstall() 17 | { 18 | false 19 | } 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-guvcview.conf.disabled: -------------------------------------------------------------------------------- 1 | # guvcview 2 | # depends on FFmpeg 3 | local package_name="guvcview" 4 | local package_repo="https://github.com/avafinger/guvcview.git" 5 | local package_ref="branch:master" 6 | local package_upstream_version="2.0.2.1" 7 | local package_builddeps="intltool dh-autoreconf autotools-dev libavcodec-dev libavutil-dev libsdl1.2-dev libgtk-3-dev portaudio19-dev libpng12-dev libudev-dev libusb-1.0-0-dev libpulse-dev libgsl0-dev libv4l-dev libv4l2rds0 libsdl2-dev" 8 | local package_install_target="libguvcview-1.1-1 guvcview" 9 | local package_component="${release}-desktop" 10 | 11 | package_checkbuild() 12 | { 13 | # we don't support running kernels < 3.13 on Stretch or Bionic 14 | [[ $arch == armhf && $release != stretch && $release != bionic ]] 15 | } 16 | 17 | package_checkinstall() 18 | { 19 | false 20 | } 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-hostapd-realtek.conf: -------------------------------------------------------------------------------- 1 | # hostapd-realtek 2 | local package_name="hostapd-realtek" 3 | local package_repo="http://w1.fi/hostap.git" 4 | local package_ref="tag:hostap_2_5" 5 | local package_upstream_version="3:2.5-1" 6 | local package_builddeps="pkg-config libreadline-dev libpcsclite-dev libnl-route-3-dev libnl-genl-3-dev libnl-3-dev libncurses5-dev libdbus-1-dev docbook-utils docbook-to-man" 7 | local package_builddeps_jessie="libssl-dev" 8 | local package_builddeps_xenial="libssl-dev" 9 | local package_builddeps_stretch="libssl1.0-dev" 10 | local package_install_target="hostapd-realtek" 11 | local package_component="${release}-utils" 12 | 13 | package_checkbuild() 14 | { 15 | true 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | false 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-hostapd.conf: -------------------------------------------------------------------------------- 1 | # hostapd 2 | local package_name="hostapd" 3 | local package_repo="http://w1.fi/hostap.git" 4 | local package_ref="tag:hostap_2_7" 5 | local package_upstream_version="3:2.7-99" 6 | local package_builddeps="pkg-config libssl-dev libreadline-dev libpcsclite-dev libnl-route-3-dev libnl-genl-3-dev libnl-3-dev libncurses5-dev libdbus-1-dev docbook-utils docbook-to-man" 7 | local package_install_target="hostapd" 8 | local package_component="${release}-utils" 9 | 10 | package_checkbuild() 11 | { 12 | true 13 | } 14 | 15 | package_checkinstall() 16 | { 17 | true 18 | } 19 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-htop.conf: -------------------------------------------------------------------------------- 1 | # hostapd 2 | local package_name="htop" 3 | local package_repo="https://github.com/hishamhm/htop" 4 | local package_ref="tag:2.2.0" 5 | 6 | local package_upstream_version="2.2.0-3" 7 | local package_builddeps="debhelper dpkg-dev libhwloc-dev libncurses5-dev libncursesw5-dev pkg-config python-minimal:native" 8 | local package_install_target="htop" 9 | local package_component="${release}-utils" 10 | 11 | package_checkbuild() 12 | { 13 | [[ $release != stretch && $release != bionic && $release != jessie ]] 14 | } 15 | 16 | package_checkinstall() 17 | { 18 | true 19 | } 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-libglshim.conf: -------------------------------------------------------------------------------- 1 | # glshim 2 | local package_name="libglshim" 3 | local package_repo="https://github.com/ptitSeb/gl4es.git" 4 | local package_ref="tag:v0.9.2" 5 | local package_upstream_version="1:0.9.2" 6 | local package_builddeps="cmake libx11-dev libsdl1.2-dev" 7 | local package_install_target="libglshim" 8 | local package_component="${release}-desktop" 9 | 10 | package_checkbuild() 11 | { 12 | # we don't support running kernels < 3.13 on Stretch or Bionic 13 | [[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco ]] 14 | } 15 | 16 | package_checkinstall() 17 | { 18 | [[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]] 19 | } 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-libmali-sunxi-r3p0.conf: -------------------------------------------------------------------------------- 1 | # libmali-sunxi-r3p0 2 | # depends on libUMP 3 | # depends on libdri2 on Jessie 4 | local package_name="libmali-sunxi-r3p0" 5 | local package_repo="https://github.com/linux-sunxi/sunxi-mali.git" 6 | local package_ref="branch:master" 7 | local package_builddeps="xutils-dev libdrm-dev libxfixes-dev" 8 | local package_builddeps_xenial="libdri2-dev" 9 | local package_install_target="libmali-sunxi-r3p0" 10 | local package_component="${release}-desktop" 11 | 12 | package_checkbuild() 13 | { 14 | # we don't support running kernels < 3.13 on Stretch or Bionic 15 | [[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-libmali-sunxi-r3p0.conf.old: -------------------------------------------------------------------------------- 1 | # libmali-sunxi-r3p0 2 | # depends on libUMP 3 | # depends on libdri2 on Jessie 4 | local package_name="libmali-sunxi-r3p0" 5 | local package_repo="https://github.com/linux-sunxi/sunxi-mali.git" 6 | local package_ref="branch:master" 7 | local package_builddeps="xutils-dev libdrm-dev libxfixes-dev libegl1-mesa-dev libgles1-mesa-dev libgles2-mesa-dev" 8 | local package_builddeps_xenial="libdri2-dev" 9 | local package_install_target="libmali-sunxi-r3p0 mali-sunxi-utils" 10 | local package_component="${release}-desktop" 11 | 12 | package_checkbuild() 13 | { 14 | # we don't support running kernels < 3.13 on Stretch 15 | [[ $arch == armhf && $release != stretch ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-libvdpau-sunxi.conf: -------------------------------------------------------------------------------- 1 | # libvdpau-sunxi 2 | # depends on libcedrus 3 | # depends on libvdpau 4 | # dev branch depends on libcsptr-dev 5 | local package_name="libvdpau-sunxi" 6 | local package_repo="https://github.com/linux-sunxi/libvdpau-sunxi.git" 7 | local package_ref="branch:master" 8 | local package_upstream_version="0.5.1" 9 | local package_builddeps="libpixman-1-dev pkg-config" 10 | local package_install_target="libvdpau-sunxi1" 11 | local package_component="${release}-desktop" 12 | 13 | package_checkbuild() 14 | { 15 | # we don't support running kernels < 3.13 on Stretch or Bionic 16 | [[ $release != stretch && $release != bionic && $release != buster && $release != disco ]] 17 | } 18 | 19 | package_checkinstall() 20 | { 21 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == default && $BUILD_DESKTOP == yes ]] 22 | } 23 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-mmc-utils.conf: -------------------------------------------------------------------------------- 1 | # mmc-utils 2 | local package_name="mmc-utils" 3 | local package_repo="https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git" 4 | local package_ref="branch:master" 5 | local package_install_target="mmc-utils" 6 | local package_component="${release}-utils" 7 | 8 | package_checkbuild() 9 | { 10 | true 11 | } 12 | 13 | package_checkinstall() 14 | { 15 | true 16 | } 17 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-sunxi-tools.conf: -------------------------------------------------------------------------------- 1 | # sunxi-tools 2 | local package_name="sunxi-tools" 3 | local package_repo="https://github.com/linux-sunxi/sunxi-tools.git" 4 | local package_ref="branch:master" 5 | local package_upstream_version="1.4.2-2" 6 | local package_builddeps="libusb-1.0-0-dev ruby binutils-arm-none-eabi pkg-config u-boot-tools zlib1g-dev" 7 | local package_install_target="sunxi-tools" 8 | local package_component="${release}-utils" 9 | 10 | package_checkbuild() 11 | { 12 | true 13 | } 14 | 15 | package_checkinstall() 16 | { 17 | true 18 | } 19 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/90-swconfig.conf: -------------------------------------------------------------------------------- 1 | # swconfig 2 | local package_name="swconfig" 3 | local package_repo="https://github.com/jekader/swconfig.git" 4 | local package_ref="branch:master" 5 | local package_builddeps="linux-headers-armmp libnl-3-dev libnl-genl-3-dev" 6 | local package_upstream_version="15.04-2" 7 | local package_install_target="swconfig" 8 | local package_component="${release}-utils" 9 | 10 | package_checkbuild() 11 | { 12 | # we don't support running kernels < 3.13 on Stretch or Bionic 13 | # matching kernel headers on Xenial is complicated and R1 is not supported anymore anyway 14 | [[ $arch == armhf && $release == jessie ]] 15 | } 16 | 17 | package_checkinstall() 18 | { 19 | [[ $BOARD == lamobo-r1 && $RELEASE == jessie && $BRANCH == default ]] 20 | } 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/changelog: -------------------------------------------------------------------------------- 1 | a10disp (1.0-1) xenial; urgency=low 2 | 3 | * Initial release. 4 | 5 | -- Unknown Sat, 24 Sep 2016 18:04:39 +0400 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/control: -------------------------------------------------------------------------------- 1 | Source: a10disp 2 | Section: utils 3 | Priority: optional 4 | Maintainer: root 5 | Build-Depends: 6 | debhelper (>= 9), 7 | linux-headers-armmp 8 | Standards-Version: 3.9.7 9 | 10 | 11 | Package: a10disp 12 | Section: utils 13 | Architecture: any 14 | Depends: 15 | fbset, 16 | ${shlibs:Depends}, 17 | ${misc:Depends}, 18 | Multi-Arch: same 19 | Description: Program to the change the display mode of Allwinner devices 20 | running linux-sunxi. 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/patches/fix-makefile.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Makefile b/Makefile 2 | index 0b621e7..6ea3cfa 100644 3 | --- a/Makefile 4 | +++ b/Makefile 5 | @@ -1,9 +1,9 @@ 6 | -PREFIX ?=/usr/local 7 | +PREFIX ?=/usr 8 | CC ?= gcc 9 | all : a10disp 10 | 11 | install : a10disp 12 | - install -m 0755 a10disp $(PREFIX)/bin 13 | + install -D -m 0755 a10disp $(DESTDIR)/$(PREFIX)/bin/a10disp 14 | 15 | uninstall : $(PREFIX)/bin/a10disp 16 | rm -f $(PREFIX)/bin/a10disp 17 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/patches/series: -------------------------------------------------------------------------------- 1 | add-header.patch 2 | fix-makefile.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | %: 4 | dh $@ 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/buildpkg-public.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/extras-buildpkgs/buildpkg-public.gpg -------------------------------------------------------------------------------- /packages/extras-buildpkgs/buildpkg.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kuoruan/Build-Armbian/bdc8b65602241f65d2425ecbd7962503d2c93326/packages/extras-buildpkgs/buildpkg.gpg -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/changelog: -------------------------------------------------------------------------------- 1 | fswebcam-gc2035 (20140113-1) unstable; urgency=low 2 | 3 | * Update debian/watch 4 | * Import Upstream version 20140113 5 | * Bump Standards-Version to 3.9.5 (no changes needed) 6 | * Move to debhelper 9 7 | * Import CPPFLAGS during build 8 | * Move packaging to git 9 | 10 | -- Luca Niccoli Tue, 21 Jan 2014 00:02:55 +0100 11 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/control: -------------------------------------------------------------------------------- 1 | Source: fswebcam-gc2035 2 | Section: graphics 3 | Priority: optional 4 | Maintainer: Luca Niccoli 5 | Build-Depends: debhelper (>= 9.20120417), libgd2-noxpm-dev | libgd2-xpm-dev, libv4l-dev 6 | Standards-Version: 3.9.5 7 | Homepage: https://github.com/avafinger/fswebcam 8 | 9 | Package: fswebcam-gc2035 10 | Architecture: linux-any 11 | Depends: ${shlibs:Depends}, ${misc:Depends} 12 | Replaces: fswebcam 13 | Conflicts: fswebcam 14 | Description: Tiny and flexible webcam program 15 | Fswebcam is a tiny and flexible webcam command-line program for capturing 16 | images from a V4L1/V4L2 device. It accepts a number of formats, can skip 17 | the first (possibly bad) frames before performing the actual capture, and 18 | can perform simple manipulation on the captured image, such as resizing, 19 | averaging multiple frames or overlaying a caption or an image. 20 | . 21 | This is the version for Orange Pi boards with gc2035 camera 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/patches/series: -------------------------------------------------------------------------------- 1 | 01-Use-kernel-headers.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | override_dh_auto_configure: 4 | dh_auto_configure -- --prefix=/usr --disable-v4l1 --enable-32bit-buffer 5 | 6 | %: 7 | dh $@ 8 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/README.Debian: -------------------------------------------------------------------------------- 1 | guvcview for Debian 2 | ------------------- 3 | 4 | - Check Linux kernel version 5 | -- 2.6.26 6 | -- UVC module in 2.6.26 debian package 7 | 8 | - Check UVC cam 9 | -- Quickcam netbook 10 | -- Macbook iSight (1st) 11 | 12 | -- Nobuhiro Iwamatsu Sun, 14 Sep 2008 22:18:16 +0900 13 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/README.source: -------------------------------------------------------------------------------- 1 | README.source 2 | 3 | Remove symlink of m4/intltool.m4 and copy /usr/share/aclocal/intltool.m4 4 | to m4/intltool.m4. 5 | 6 | -- Nobuhiro Iwamatsu Fri, 24 Oct 2014 00:43:19 +0900 7 | 8 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/dirs: -------------------------------------------------------------------------------- 1 | usr/bin 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/guvcview.install: -------------------------------------------------------------------------------- 1 | usr/bin/guvcview 2 | usr/share/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/libguvcview-1.1-1.install: -------------------------------------------------------------------------------- 1 | debian/tmp/usr/lib/*/lib*.so.* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/libguvcview-dev.install: -------------------------------------------------------------------------------- 1 | debian/tmp/usr/include/* 2 | debian/tmp/usr/lib/*/*.a 3 | debian/tmp/usr/lib/*/*.so 4 | debian/tmp/usr/lib/*/pkgconfig/* 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/menu: -------------------------------------------------------------------------------- 1 | ?package(guvcview):\ 2 | needs="X11"\ 3 | section="Applications/Video"\ 4 | title="guvcview"\ 5 | longtitle="GTK UVC Viewer - uvc video viewer and capturer"\ 6 | command="/usr/bin/guvcview" 7 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/patches/series: -------------------------------------------------------------------------------- 1 | update-manpage 2 | ffmpeg_2.9.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | %: 3 | dh $@ --with autoreconf 4 | 5 | override_dh_auto_configure: 6 | dh_auto_configure -- \ 7 | --disable-silent-rules \ 8 | --enable-yuyv \ 9 | --disable-sdl2 \ 10 | --prefix=/usr \ 11 | --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ 12 | GVIEWENCODER_CFLAGS="-D_FILE_OFFSET_BITS=64" 13 | 14 | override_dh_install: 15 | rm -rf debian/tmp/usr/share/doc/guvcview/NEWS \ 16 | debian/tmp/usr/share/doc/guvcview/COPYING \ 17 | debian/tmp/usr/share/doc/guvcview/INSTALL \ 18 | debian/tmp/usr/share/doc/guvcview/ChangeLog 19 | 20 | dh_install 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/NEWS: -------------------------------------------------------------------------------- 1 | wpasupplicant (0.6.2-1) unstable; urgency=low 2 | 3 | The -w (wait for network interface to exist) command line option no longer 4 | exists. If you have scripts that require this option, it is time to change 5 | them, or use one of the two supported modes of operation explained at 6 | /usr/share/doc/wpasupplicant/README.modes.gz. 7 | 8 | ifupdown supports hot-plugged network devices via the "allow-hotplug" class 9 | of operation. An example /etc/network/interfaces configuration stanza would 10 | look like: 11 | 12 | allow-hotplug wlan0 13 | iface wlan0 inet dhcp 14 | wpa-ssid myssid 15 | wpa-psk mysecretpassphrase 16 | 17 | network-manager is also able to handle hot-plugged network devices. 18 | 19 | -- Kel Modderman Mon, 14 Jan 2008 18:02:17 +1000 20 | 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf: -------------------------------------------------------------------------------- 1 | # 2 | # armbian hostapd configuration example 3 | # 4 | # realtek mode 5 | # 6 | 7 | ssid=ARMBIAN 8 | interface=wlan0 9 | hw_mode=g 10 | channel=5 11 | bridge=br0 12 | driver=rtl871xdrv 13 | 14 | logger_syslog=0 15 | logger_syslog_level=0 16 | wmm_enabled=1 17 | wpa=2 18 | preamble=1 19 | 20 | wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27 21 | wpa_passphrase=12345678 22 | wpa_key_mgmt=WPA-PSK 23 | wpa_pairwise=TKIP 24 | rsn_pairwise=CCMP 25 | auth_algs=1 26 | macaddr_acl=0 27 | 28 | noscan=1 29 | 30 | ### IEEE 802.11n 31 | #ieee80211n=1 32 | #ht_capab= 33 | #country_code=US 34 | #ieee80211d=1 35 | ### IEEE 802.11n 36 | 37 | ### IEEE 802.11a 38 | #hw_mode=a 39 | ### IEEE 802.11a 40 | 41 | ### IEEE 802.11ac 42 | #ieee80211ac=1 43 | #vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3] 44 | #vht_oper_chwidth=1 45 | #vht_oper_centr_freq_seg0_idx=42 46 | ### IEEE 802.11ac 47 | 48 | # controlling enabled 49 | ctrl_interface=/var/run/hostapd 50 | ctrl_interface_group=0 -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.default: -------------------------------------------------------------------------------- 1 | # Defaults for hostapd initscript 2 | # 3 | # See /usr/share/doc/hostapd/README.Debian for information about alternative 4 | # methods of managing hostapd. 5 | # 6 | # Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration 7 | # file and hostapd will be started during system boot. An example configuration 8 | # file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz 9 | # 10 | #DAEMON_CONF="/etc/hostapd.conf" 11 | 12 | # Additional daemon options to be appended to hostapd command:- 13 | # -d show more debug messages (-dd for even more) 14 | # -K include key data in debug messages 15 | # -t include timestamps in some debug messages 16 | # 17 | # Note that -B (daemon mode) and -P (pidfile) options are automatically 18 | # configured by the init.d script and must not be added to DAEMON_OPTS. 19 | # 20 | #DAEMON_OPTS="" 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.examples: -------------------------------------------------------------------------------- 1 | hostapd/hostapd.accept 2 | hostapd/hostapd.conf 3 | hostapd/hostapd.deny 4 | hostapd/hostapd.eap_user 5 | hostapd/hostapd.radius_clients 6 | hostapd/hostapd.wpa_psk 7 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.install: -------------------------------------------------------------------------------- 1 | hostapd/hostapd usr/sbin/ 2 | hostapd/hostapd_cli usr/sbin/ 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.links: -------------------------------------------------------------------------------- 1 | etc/hostapd/ifupdown.sh /etc/network/if-pre-up.d/hostapd 2 | etc/hostapd/ifupdown.sh /etc/network/if-post-down.d/hostapd 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.manpages: -------------------------------------------------------------------------------- 1 | hostapd/hostapd.8 2 | hostapd/hostapd_cli.1 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.preinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | rm_conffile() { 6 | local PKGNAME="$1" 7 | local CONFFILE="$2" 8 | 9 | [ -e "$CONFFILE" ] || return 0 10 | 11 | local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" 12 | local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ 13 | sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" 14 | if [ "$md5sum" = "$old_md5sum" ]; then 15 | echo "Removing obsolete conffile $CONFFILE ..." 16 | rm -f "$CONFFILE" 17 | fi 18 | } 19 | 20 | case "$1" in 21 | install|upgrade) 22 | if dpkg --compare-versions "$2" le "1:0.6.9-3"; then 23 | rm_conffile hostapd /etc/hostapd/hostapd.conf 24 | fi 25 | ;; 26 | esac 27 | 28 | #DEBHELPER# 29 | 30 | exit 0 31 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/patches/series: -------------------------------------------------------------------------------- 1 | session-ticket.patch 2 | 300-noscan.patch 3 | realtek.patch 4 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/patches/session-ticket.patch: -------------------------------------------------------------------------------- 1 | From: Jeremy Nickurak 2 | Subject: Disable the session ticket TLS extension. 3 | Bug-ubuntu: https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/969343 4 | Bug: http://w1.fi/bugz/show_bug.cgi?id=447 5 | 6 | --- 7 | src/crypto/tls_openssl.c | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | Index: b/src/crypto/tls_openssl.c 11 | =================================================================== 12 | --- a/src/crypto/tls_openssl.c 13 | +++ b/src/crypto/tls_openssl.c 14 | @@ -1060,6 +1060,7 @@ struct tls_connection * tls_connection_i 15 | #ifdef SSL_OP_NO_COMPRESSION 16 | options |= SSL_OP_NO_COMPRESSION; 17 | #endif /* SSL_OP_NO_COMPRESSION */ 18 | + options |= SSL_OP_NO_TICKET; 19 | SSL_set_options(conn->ssl, options); 20 | 21 | conn->ssl_in = BIO_new(BIO_s_mem()); 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/source/options: -------------------------------------------------------------------------------- 1 | compression = "xz" 2 | compression-level = 6 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/NEWS: -------------------------------------------------------------------------------- 1 | wpasupplicant (0.6.2-1) unstable; urgency=low 2 | 3 | The -w (wait for network interface to exist) command line option no longer 4 | exists. If you have scripts that require this option, it is time to change 5 | them, or use one of the two supported modes of operation explained at 6 | /usr/share/doc/wpasupplicant/README.modes.gz. 7 | 8 | ifupdown supports hot-plugged network devices via the "allow-hotplug" class 9 | of operation. An example /etc/network/interfaces configuration stanza would 10 | look like: 11 | 12 | allow-hotplug wlan0 13 | iface wlan0 inet dhcp 14 | wpa-ssid myssid 15 | wpa-psk mysecretpassphrase 16 | 17 | network-manager is also able to handle hot-plugged network devices. 18 | 19 | -- Kel Modderman Mon, 14 Jan 2008 18:02:17 +1000 20 | 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/config/hostapd.conf: -------------------------------------------------------------------------------- 1 | # 2 | # armbian hostapd configuration example 3 | # 4 | # nl80211 mode 5 | # 6 | 7 | ssid=ARMBIAN 8 | interface=wlan0 9 | hw_mode=g 10 | channel=5 11 | bridge=br0 12 | driver=nl80211 13 | 14 | logger_syslog=0 15 | logger_syslog_level=0 16 | wmm_enabled=1 17 | wpa=2 18 | preamble=1 19 | 20 | wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27 21 | wpa_passphrase=12345678 22 | wpa_key_mgmt=WPA-PSK 23 | wpa_pairwise=TKIP 24 | rsn_pairwise=CCMP 25 | auth_algs=1 26 | macaddr_acl=0 27 | 28 | noscan=1 29 | 30 | ### IEEE 802.11n 31 | #ieee80211n=1 32 | #ht_capab= 33 | #country_code=US 34 | #ieee80211d=1 35 | ### IEEE 802.11n 36 | 37 | ### IEEE 802.11a 38 | #hw_mode=a 39 | ### IEEE 802.11a 40 | 41 | ### IEEE 802.11ac 42 | #ieee80211ac=1 43 | #vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3] 44 | #vht_oper_chwidth=1 45 | #vht_oper_centr_freq_seg0_idx=42 46 | ### IEEE 802.11ac 47 | 48 | # controlling enabled 49 | ctrl_interface=/var/run/hostapd 50 | ctrl_interface_group=0 -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.default: -------------------------------------------------------------------------------- 1 | # Defaults for hostapd initscript 2 | # 3 | # See /usr/share/doc/hostapd/README.Debian for information about alternative 4 | # methods of managing hostapd. 5 | # 6 | # Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration 7 | # file and hostapd will be started during system boot. An example configuration 8 | # file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz 9 | # 10 | #DAEMON_CONF="/etc/hostapd.conf" 11 | 12 | # Additional daemon options to be appended to hostapd command:- 13 | # -d show more debug messages (-dd for even more) 14 | # -K include key data in debug messages 15 | # -t include timestamps in some debug messages 16 | # 17 | # Note that -B (daemon mode) and -P (pidfile) options are automatically 18 | # configured by the init.d script and must not be added to DAEMON_OPTS. 19 | # 20 | #DAEMON_OPTS="" 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.examples: -------------------------------------------------------------------------------- 1 | hostapd/hostapd.accept 2 | hostapd/hostapd.conf 3 | hostapd/hostapd.deny 4 | hostapd/hostapd.eap_user 5 | hostapd/hostapd.radius_clients 6 | hostapd/hostapd.wpa_psk 7 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.install: -------------------------------------------------------------------------------- 1 | hostapd/hostapd usr/sbin/ 2 | hostapd/hostapd_cli usr/sbin/ 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.links: -------------------------------------------------------------------------------- 1 | etc/hostapd/ifupdown.sh /etc/network/if-pre-up.d/hostapd 2 | etc/hostapd/ifupdown.sh /etc/network/if-post-down.d/hostapd 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.lintian-overrides: -------------------------------------------------------------------------------- 1 | # We distribute the package under the terms of the BSD license due to the 2 | # openssl issue, tell lintian to not complain: 3 | hostapd binary: possible-gpl-code-linked-with-openssl 4 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.manpages: -------------------------------------------------------------------------------- 1 | hostapd/hostapd.8 2 | hostapd/hostapd_cli.1 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.preinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | rm_conffile() { 6 | local PKGNAME="$1" 7 | local CONFFILE="$2" 8 | 9 | [ -e "$CONFFILE" ] || return 0 10 | 11 | local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" 12 | local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ 13 | sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" 14 | if [ "$md5sum" = "$old_md5sum" ]; then 15 | echo "Removing obsolete conffile $CONFFILE ..." 16 | rm -f "$CONFFILE" 17 | fi 18 | } 19 | 20 | case "$1" in 21 | install|upgrade) 22 | if dpkg --compare-versions "$2" le "1:0.6.9-3"; then 23 | rm_conffile hostapd /etc/hostapd/hostapd.conf 24 | fi 25 | ;; 26 | esac 27 | 28 | #DEBHELPER# 29 | 30 | exit 0 31 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/patches/series: -------------------------------------------------------------------------------- 1 | session-ticket.patch 2 | 300-noscan.patch 3 | 0006-Extend-ieee80211_freq_to_channel_ext-to-cover-channe.patch 4 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/patches/session-ticket.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c 2 | index 23ac64b48..cc8d159e0 100644 3 | --- a/src/crypto/tls_openssl.c 4 | +++ b/src/crypto/tls_openssl.c 5 | @@ -1354,6 +1354,7 @@ struct tls_connection * tls_connection_init(void *ssl_ctx) 6 | #ifdef SSL_OP_NO_COMPRESSION 7 | options |= SSL_OP_NO_COMPRESSION; 8 | #endif /* SSL_OP_NO_COMPRESSION */ 9 | + options |= SSL_OP_NO_TICKET; 10 | SSL_set_options(conn->ssl, options); 11 | 12 | conn->ssl_in = BIO_new(BIO_s_mem()); 13 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/clean: -------------------------------------------------------------------------------- 1 | *.h 2 | */*.h 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/docs: -------------------------------------------------------------------------------- 1 | AUTHORS 2 | README 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/install: -------------------------------------------------------------------------------- 1 | htop usr/bin 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/patches/780-fix-option-string.patch: -------------------------------------------------------------------------------- 1 | From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001 2 | From: Christian Hesse 3 | Date: Tue, 10 Apr 2018 16:21:46 +0200 4 | Subject: [PATCH] fix option string 5 | 6 | This broke with commit db05ba61065f64b59d0014518be0786b5439e54c. 7 | --- 8 | htop.c | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/htop.c b/htop.c 12 | index 6db81dd7..678a3b8a 100644 13 | --- a/htop.c 14 | +++ b/htop.c 15 | @@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) { 16 | 17 | int opt, opti=0; 18 | /* Parse arguments */ 19 | - while ((opt = getopt_long(argc, argv, "hvCst::d:u:p:i", long_opts, &opti))) { 20 | + while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:i", long_opts, &opti))) { 21 | if (opt == EOF) break; 22 | switch (opt) { 23 | case 'h': 24 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/patches/cpu-temperatute-from-hwmon.patch: -------------------------------------------------------------------------------- 1 | diff --git a/linux/Platform.c b/linux/Platform.c 2 | index bde3e3b..e7e2010 100644 3 | --- a/linux/Platform.c 4 | +++ b/linux/Platform.c 5 | @@ -175,6 +175,9 @@ int Platform_getCpuTemp() { 6 | if (!fd) { 7 | fd = fopen("/sys/devices/virtual/thermal/thermal_zone0/temp", "r"); 8 | } 9 | + if (!fd) { 10 | + fd = fopen("/sys/class/hwmon/hwmon0/temp1_input", "r"); 11 | + } 12 | if (fd) { 13 | int n = fscanf(fd, "%d", &Temp); 14 | fclose(fd); 15 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/patches/fix-linux-process.patch: -------------------------------------------------------------------------------- 1 | Make sure the auto-regenerated headers (after scripts/MakeHeader.py) actually compile. 2 | 3 | --- a/linux/LinuxProcess.c 2018-04-26 18:17:31.349248819 +0200 4 | +++ b/linux/LinuxProcess.c 2018-04-11 02:58:46.994360617 +0200 5 | @@ -143,7 +143,7 @@ 6 | } LinuxProcess; 7 | 8 | #ifndef Process_isKernelThread 9 | -#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread) 10 | +#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread) 11 | #endif 12 | 13 | #ifndef Process_isUserlandThread 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/patches/series: -------------------------------------------------------------------------------- 1 | 780-fix-option-string.patch 2 | fix-linux-process.patch 3 | avafinger-cpu-monitor.patch 4 | cpu-temperatute-from-hwmon.patch 5 | 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all 4 | DPKG_EXPORT_BUILDFLAGS = 1 5 | include /usr/share/dpkg/buildflags.mk 6 | 7 | ifeq (linux,$(DEB_HOST_ARCH_OS)) 8 | ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-linux-affinity 9 | else 10 | ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-hwloc 11 | endif 12 | 13 | %: 14 | dh $@ 15 | 16 | override_dh_auto_configure: 17 | dh_auto_configure -- \ 18 | --enable-taskstats \ 19 | --enable-openvz \ 20 | --enable-vserver \ 21 | --enable-cgroup \ 22 | --enable-unicode \ 23 | $(ARCH_DEPENDENT_CONFIGURE_PARAMS) 24 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/htop/debian/watch: -------------------------------------------------------------------------------- 1 | version=4 2 | opts=dversionmangle=s/\+svn(.*)//,\ 3 | pgpsigurlmangle=s/$/.asc/ \ 4 | https://hisham.hm/htop/releases/([\d\.]+)/htop-([\d\.]+)\.tar\.gz 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/changelog: -------------------------------------------------------------------------------- 1 | libdri2 (1.0.0~git20120510+26fee2e-0ubuntu2) raring; urgency=low 2 | 3 | * Enable dri2-utils package on armhf only. The test utility is 4 | incompatible with the new libdrm_nouveau API, hence currently can only 5 | be built on armhf with libdrm_omap. 6 | 7 | -- Dmitrijs Ledkovs Sat, 24 Nov 2012 01:36:44 +0000 8 | 9 | libdri2 (1.0.0~git20120510+26fee2e-0ubuntu1) quantal; urgency=low 10 | 11 | * Initial release (LP: #1040611) 12 | * debian/patches/force-dependency-nouveau1.patch: 13 | - Force dependency with the older libdrm_nouveau1 lib 14 | * debian/patches/moving-libdri2test-to-static.patch: 15 | - Avoid installing libdrm2_test as a shared library, as it's needed only 16 | by dri2test 17 | * debian/patches/names-pitches-array-multiplanar-yuv.patch 18 | - Change DRI2Buffer to make names/pitches into an array to deal with 19 | multiplanar yuv (needed by the PVR SGX OMAP4 driver). 20 | 21 | -- Ricardo Salveti de Araujo Thu, 23 Aug 2012 04:43:40 -0300 22 | 23 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/dri2-utils.install: -------------------------------------------------------------------------------- 1 | usr/bin/* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/dri2-utils.manpages: -------------------------------------------------------------------------------- 1 | debian/dri2test.1 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/libdri2-1.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libdri2.so.* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/libdri2-1.symbols: -------------------------------------------------------------------------------- 1 | libdri2.so.1 libdri2-1 #MINVER# 2 | DRI2Authenticate@Base 1.0.0~git20120510+26fee2e 3 | DRI2Connect@Base 1.0.0~git20120510+26fee2e 4 | DRI2CopyRegion@Base 1.0.0~git20120510+26fee2e 5 | DRI2CreateDrawable@Base 1.0.0~git20120510+26fee2e 6 | DRI2DestroyDrawable@Base 1.0.0~git20120510+26fee2e 7 | DRI2GetBuffers@Base 1.0.0~git20120510+26fee2e 8 | DRI2GetBuffersWithFormat@Base 1.0.0~git20120510+26fee2e 9 | DRI2GetMSC@Base 1.0.0~git20120510+26fee2e 10 | DRI2InitDisplay@Base 1.0.0~git20120510+26fee2e 11 | DRI2QueryExtension@Base 1.0.0~git20120510+26fee2e 12 | DRI2QueryVersion@Base 1.0.0~git20120510+26fee2e 13 | DRI2SwapBuffers@Base 1.0.0~git20120510+26fee2e 14 | DRI2SwapInterval@Base 1.0.0~git20120510+26fee2e 15 | DRI2WaitMSC@Base 1.0.0~git20120510+26fee2e 16 | DRI2WaitSBC@Base 1.0.0~git20120510+26fee2e 17 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/libdri2-dev.install: -------------------------------------------------------------------------------- 1 | usr/include/* 2 | usr/lib/*/lib*.a 3 | usr/lib/*/lib*.so 4 | usr/lib/*/pkgconfig/* 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/changelog: -------------------------------------------------------------------------------- 1 | libump (3.0-0sunxi1) any; urgency=low 2 | 3 | * add udev file. 4 | 5 | -- Luc Verhaegen Tue, 22 Oct 2013 17:31:32 +0200 6 | 7 | libump (3.0-0sunxi) any; urgency=low 8 | 9 | * package up libump. 10 | 11 | -- Luc Verhaegen Sun, 20 Oct 2013 16:34:34 +0200 12 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/copyright: -------------------------------------------------------------------------------- 1 | Copyright (C) 2010-2012 ARM Limited. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/libump-dev.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libUMP.so 2 | usr/lib/*/libUMP.a 3 | usr/lib/*/pkgconfig/libump.pc 4 | usr/include/ump 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/libump.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libUMP.so.* 2 | etc/modules-load.d/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/libump.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | install) 5 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=ump || true 6 | modprobe -q ump || true 7 | ;; 8 | esac 9 | 10 | #DEBHELPER# 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/libump.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="ump", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | PACKAGE = libump 4 | 5 | override_dh_auto_install: 6 | dh_auto_install 7 | mkdir -p debian/tmp/etc/modules-load.d/ 8 | install -m0644 debian/ump.conf debian/tmp/etc/modules-load.d/ump.conf 9 | 10 | %: 11 | dh $@ --with autoreconf 12 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/ump.conf: -------------------------------------------------------------------------------- 1 | ump 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/changelog: -------------------------------------------------------------------------------- 1 | libcedrus (1~git.20160229.e129e79-0~xenial1.0) xenial; urgency=low 2 | 3 | * package up libcedrus.2016 4 | 5 | -- Simon Eisenmann Sun, 1 May 2016 18:04:39 +0200 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1-dev.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libcedrus.so 2 | usr/include/cedrus 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libcedrus.so.* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | install) 5 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=cedar_dev || true 6 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=ion || true 7 | ;; 8 | esac 9 | 10 | #DEBHELPER# 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="cedar_dev", MODE="0660", GROUP="video" 2 | KERNEL=="ion", MODE="0660", GROUP="video" 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | PACKAGE = libcedrus 4 | 5 | #override_dh_auto_build: 6 | # dh_auto_build -- USE_UMP=1 7 | 8 | override_dh_auto_install: 9 | dh_auto_install -- prefix=/usr libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 10 | 11 | %: 12 | dh $@ 13 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/changelog: -------------------------------------------------------------------------------- 1 | glshim (1.0-1) unstable; urgency=low 2 | 3 | * Initial release. 4 | 5 | -- Unknown Sun, 24 Jul 2016 19:30:00 -0800 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/control: -------------------------------------------------------------------------------- 1 | Source: glshim 2 | Section: libs 3 | Priority: optional 4 | Maintainer: Armbian maintainers 5 | Build-Depends: 6 | debhelper (>= 9), 7 | cmake, 8 | pkg-config, 9 | libx11-dev, 10 | libsdl1.2-dev, 11 | Standards-Version: 3.9.6 12 | 13 | Package: libglshim 14 | Architecture: any 15 | Multi-Arch: same 16 | Pre-Depends: ${misc:Pre-Depends} 17 | Depends: ${shlibs:Depends}, ${misc:Depends} 18 | Replaces: 19 | libgl1-mesa-glx, 20 | libgl1-mesa-dev, 21 | Description: OpenGL 1.x shim to to OpenGL ES 22 | This is a shim providing OpenGL 1.x functionality to OpenGL ES accelerated cards. 23 | . 24 | This package contains GL shared library 25 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/patches/series: -------------------------------------------------------------------------------- 1 | add-install-target.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | #export DH_VERBOSE=1 4 | 5 | # Get the architecture triplet: 6 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) 7 | 8 | export DEB_BUILD_MAINT_OPTIONS=hardening=-all,+format,+stackprotector,+pie 9 | 10 | 11 | private_dir = glshim 12 | 13 | override_dh_auto_configure: 14 | dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=OFF -DPRIVATEDIR=$(private_dir) 15 | 16 | override_dh_auto_build: 17 | dh_auto_build -- GL 18 | 19 | override_dh_install: 20 | dh_install 21 | 22 | override_dh_strip: 23 | 24 | %: 25 | dh $@ 26 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/changelog: -------------------------------------------------------------------------------- 1 | libmali-sunxi-r3p0 (1.0-1) unstable; urgency=low 2 | 3 | * Initial release 4 | 5 | -- root Mon, 11 Jul 2016 17:02:30 +0300 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: sunxi-mali 3 | Source: 4 | 5 | Files: lib/mali 6 | Copyright: Copyright (C) Allwinner Technology Co., Ltd. 7 | License: Proprietary 8 | 9 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-dev.install: -------------------------------------------------------------------------------- 1 | usr/include/* 2 | usr/lib/*/pkgconfig/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.install.in: -------------------------------------------------------------------------------- 1 | usr/lib/*/${private_dir}/lib* 2 | etc/modules-load.d/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DISTRIBUTION="${distribution}" 4 | 5 | case "$1" in 6 | install) 7 | modprobe -q mali || true 8 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=mali || true 9 | ;; 10 | 11 | configure) 12 | [ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --force --install /etc/ld.so.conf.d/${DEB_HOST_MULTIARCH}_EGL.conf \ 13 | ${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf 600 14 | LDCONFIG_NOTRIGGER=y ldconfig 15 | esac 16 | 17 | #DEBHELPER# 18 | 19 | exit 0 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.postrm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DISTRIBUTION="${distribution}" 4 | 5 | DIVERT_TARGETS="libEGL.so libEGL.so.1 libEGL.so.1.0.0 libGLESv1_CM.so libGLESv1_CM.so.1 libGLESv1_CM.so.1.1.0 \ 6 | libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0" 7 | 8 | if [ remove = "$1" -o abort-install = "$1" ] && [ "Debian" = "$DISTRIBUTION" ]; then 9 | for f in $DIVERT_TARGETS; do 10 | dpkg-divert --package libmali-sunxi-r3p0 --remove --rename \ 11 | --divert /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert/${f} /usr/lib/${DEB_HOST_MULTIARCH}/${f} 12 | done 13 | rm -rf /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert 14 | LDCONFIG_NOTRIGGER=y ldconfig 15 | fi 16 | 17 | #DEBHELPER# 18 | 19 | exit 0 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DISTRIBUTION="${distribution}" 4 | 5 | case "$1" in 6 | remove) 7 | [ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --remove ${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf 8 | LDCONFIG_NOTRIGGER=y ldconfig 9 | esac 10 | 11 | #DEBHELPER# 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.shlibs: -------------------------------------------------------------------------------- 1 | libMali 1 sunxi-mali-r3p0 (>=1.0-1) 2 | libEGL 1 sunxi-mali-r3p0 (>=1.0-1) 3 | libGLESv1_CM 1 sunxi-mali-r3p0 (>=1.0-1) 4 | libGLESv2 2 sunxi-mali-r3p0 (>=1.0-1) 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="mali", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/mali-sunxi-utils.install: -------------------------------------------------------------------------------- 1 | usr/bin -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/patches/series: -------------------------------------------------------------------------------- 1 | fix-makefiles.patch 2 | fix-makefiles-submodule.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/sunxi-mali.conf: -------------------------------------------------------------------------------- 1 | mali 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/changelog: -------------------------------------------------------------------------------- 1 | libmali-sunxi-r3p0 (1.0-1) unstable; urgency=low 2 | 3 | * Initial release 4 | 5 | -- root Mon, 11 Jul 2016 17:02:30 +0300 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: sunxi-mali 3 | Source: 4 | 5 | Files: lib/mali 6 | Copyright: Copyright (C) Allwinner Technology Co., Ltd. 7 | License: Proprietary 8 | 9 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-dev.install: -------------------------------------------------------------------------------- 1 | usr/include/* 2 | usr/lib/*/pkgconfig/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.install.in: -------------------------------------------------------------------------------- 1 | usr/lib/*/${private_dir}/lib* 2 | etc/modules-load.d/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DISTRIBUTION="${distribution}" 4 | 5 | case "$1" in 6 | install) 7 | modprobe -q mali || true 8 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=mali || true 9 | ;; 10 | 11 | configure) 12 | [ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --force --install /etc/ld.so.conf.d/${DEB_HOST_MULTIARCH}_EGL.conf \ 13 | ${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf 600 14 | LDCONFIG_NOTRIGGER=y ldconfig 15 | esac 16 | 17 | #DEBHELPER# 18 | 19 | exit 0 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.postrm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DISTRIBUTION="${distribution}" 4 | 5 | DIVERT_TARGETS="libEGL.so libEGL.so.1 libEGL.so.1.0.0 libGLESv1_CM.so libGLESv1_CM.so.1 libGLESv1_CM.so.1.1.0 \ 6 | libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0" 7 | 8 | if [ remove = "$1" -o abort-install = "$1" ] && [ "Debian" = "$DISTRIBUTION" ]; then 9 | for f in $DIVERT_TARGETS; do 10 | dpkg-divert --package libmali-sunxi-r3p0 --remove --rename \ 11 | --divert /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert/${f} /usr/lib/${DEB_HOST_MULTIARCH}/${f} 12 | done 13 | rm -rf /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert 14 | LDCONFIG_NOTRIGGER=y ldconfig 15 | fi 16 | 17 | #DEBHELPER# 18 | 19 | exit 0 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DISTRIBUTION="${distribution}" 4 | 5 | case "$1" in 6 | remove) 7 | [ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --remove ${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf 8 | LDCONFIG_NOTRIGGER=y ldconfig 9 | esac 10 | 11 | #DEBHELPER# 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.shlibs: -------------------------------------------------------------------------------- 1 | libMali 1 sunxi-mali-r3p0 (>=1.0-1) 2 | libEGL 1 sunxi-mali-r3p0 (>=1.0-1) 3 | libGLESv1_CM 1 sunxi-mali-r3p0 (>=1.0-1) 4 | libGLESv2 2 sunxi-mali-r3p0 (>=1.0-1) 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="mali", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/mali-sunxi-utils.install: -------------------------------------------------------------------------------- 1 | usr/bin -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/patches/series: -------------------------------------------------------------------------------- 1 | fix-makefiles.patch 2 | fix-makefiles-submodule.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/sunxi-mali.conf: -------------------------------------------------------------------------------- 1 | mali 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/changelog: -------------------------------------------------------------------------------- 1 | libvdpau-sunxi (0.5~git.20160309.c2fb693-3~xenial1.0) xenial; urgency=medium 2 | 3 | * Remove dev package, fix install. 4 | 5 | -- Simon Eisenmann Sun, 01 May 2016 21:38:36 +0200 6 | 7 | libvdpau-sunxi (0.5~git.20160309.c2fb693-0~xenial1.0) xenial; urgency=low 8 | 9 | * package up libvdpau-sunxi. 10 | 11 | -- Simon Eisenmann Sun, 1 May 2016 21:14:57 +0200 12 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/control: -------------------------------------------------------------------------------- 1 | Source: libvdpau-sunxi 2 | Section: devel 3 | Priority: optional 4 | Maintainer: Simon Eisenmann 5 | Build-Depends: 6 | debhelper (>= 9), 7 | pkg-config, 8 | libcedrus1-dev, 9 | libpixman-1-dev, 10 | libvdpau-dev, 11 | Standards-Version: 3.9.7 12 | Vcs-Git: https://github.com/linux-sunxi/libvdpau-sunxi 13 | Vcs-Browser: https://github.com/linux-sunxi/libvdpau-sunxi 14 | 15 | Package: libvdpau-sunxi1 16 | Section: libs 17 | Architecture: any 18 | Depends: 19 | ${shlibs:Depends}, 20 | ${misc:Depends}, 21 | Pre-Depends: ${misc:Pre-Depends} 22 | Enhances: libvdpau1 23 | Provides: vdpau-driver 24 | Multi-Arch: same 25 | Description: VDPAU implementation for sunxi SoCs 26 | It supports decoding of MPEG1 and MPEG2, some limited MPEG4 types, 27 | H.264 and on H3/A64 it also decodes H.265. 28 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/libvdpau-sunxi1.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | install) 5 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=disp || true 6 | which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=g2d || true 7 | ;; 8 | esac 9 | 10 | #DEBHELPER# 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/libvdpau-sunxi1.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="disp", MODE="0660", GROUP="video" 2 | KERNEL=="g2d", MODE="0660", GROUP="video" 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/patches/series: -------------------------------------------------------------------------------- 1 | redo-csc-calculations.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/profile.d/99-vdpau.sh: -------------------------------------------------------------------------------- 1 | export VDPAU_DRIVER=sunxi 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | PACKAGE = libvdpau-sunxi1 4 | 5 | export DEB_CFLAGS_MAINT_APPEND = -Wall -std=gnu99 6 | 7 | override_dh_auto_install: 8 | dh_auto_install 9 | install -m0644 -D debian/profile.d/99-vdpau.sh \ 10 | debian/libvdpau-sunxi1/etc/profile.d/99-vdpau.sh 11 | 12 | %: 13 | dh $@ 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/README.source: -------------------------------------------------------------------------------- 1 | The upstream repository: 2 | 3 | git remote add libvdpau git://people.freedesktop.org/~aplattner/libvdpau 4 | git fetch --all --prune 5 | 6 | Importing a new upstream tarball: 7 | 8 | The tarball contains all the autotools generated files that we don't need 9 | in the master branch thanks to dh_autoreconf. 10 | 11 | VER=0.7 12 | git-import-orig --upstream-vcs-tag libvdpau-$VER libvdpau-$VER.tar.bz2 13 | 14 | Merge the new upstream release: 15 | 16 | git checkout upstream 17 | git merge --ff-only libvdpau-$VER^{commit} 18 | git tag -m "Upstream version $VER" upstream/$VER libvdpau-$VER^{commit} 19 | 20 | git checkout master 21 | git merge upstream/$VER 22 | 23 | Pushing to origin: 24 | 25 | git push origin libvdpau-$VER tarball pristine-tar tarball/$VER upstream upstream/$VER master 26 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/bug-script: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec >&3 4 | 5 | if [ -z "$VDPAU_DRIVER" ]; then 6 | echo "VDPAU_DRIVER is not set" 7 | else 8 | echo "VDPAU_DRIVER is set to '$VDPAU_DRIVER'" 9 | fi 10 | if [ -z "$VDPAU_DRIVER_PATH" ]; then 11 | echo "VDPAU_DRIVER_PATH is not set" 12 | else 13 | echo "VDPAU_DRIVER_PATH is set to '$VDPAU_DRIVER_PATH'" 14 | fi 15 | echo 16 | 17 | if [ -x /usr/bin/vdpauinfo ]; then 18 | echo "vdpauinfo:" 19 | /usr/bin/vdpauinfo 2>&1 20 | else 21 | echo "vdpauinfo is not installed" 22 | fi 23 | echo 24 | 25 | echo "available drivers:" 26 | ls -la /usr/lib*/vdpau/libvdpau_* /usr/lib/*/vdpau/libvdpau_* "$VDPAU_DRIVER_PATH"/libvdpau_* 2>/dev/null 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/clean: -------------------------------------------------------------------------------- 1 | doc/doxygen_sqlite3.db 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/libvdpau-dev.README.Debian: -------------------------------------------------------------------------------- 1 | Packaging a VDPAU driver 2 | ======================== 3 | 4 | If you package a VDPAU driver, i.e. some library that is to be loaded by 5 | libvdpau.so.1, your package must include the following three relationships: 6 | 7 | Depends: libvdpau1 (may be versioned) 8 | Enhances: libvdpau1 9 | Provides: vdpau-driver 10 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/libvdpau-dev.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libvdpau.so 2 | usr/lib/*/pkgconfig 3 | usr/include 4 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/libvdpau1.install: -------------------------------------------------------------------------------- 1 | etc/vdpau_wrapper.cfg 2 | usr/lib/*/libvdpau.so.* 3 | usr/lib/*/vdpau/libvdpau_trace.so.* 4 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/patches/default-driver-sunxi.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vdpau_wrapper.c b/src/vdpau_wrapper.c 2 | index 722576e..66969f8 100644 3 | --- a/src/vdpau_wrapper.c 4 | +++ b/src/vdpau_wrapper.c 5 | @@ -137,7 +137,7 @@ static VdpStatus _vdp_open_driver( 6 | _vdp_get_driver_name_from_dri2(display, screen); 7 | } 8 | if (!vdpau_driver) { 9 | - vdpau_driver = "nvidia"; 10 | + vdpau_driver = "sunxi"; 11 | } 12 | 13 | _vdp_driver_dll = NULL; 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/patches/doxygen-no-timestamps.patch: -------------------------------------------------------------------------------- 1 | Author: Andreas Beckmann 2 | Description: disable timestamps in documentation for reproducible builds 3 | 4 | --- a/doc/Doxyfile 5 | +++ b/doc/Doxyfile 6 | @@ -10,6 +10,8 @@ 7 | # TAG += value [value, ...] 8 | # Values that contain spaces should be placed between quotes (" ") 9 | 10 | +HTML_TIMESTAMP = NO 11 | + 12 | #--------------------------------------------------------------------------- 13 | # Project related configuration options 14 | #--------------------------------------------------------------------------- 15 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/patches/link-with-libx11.patch: -------------------------------------------------------------------------------- 1 | Subject: Link libvdpao with libX11 since it uses symbols from it 2 | Author: Russ Allbery 3 | Forwarded: no 4 | 5 | libvdpau uses the symbols: 6 | 7 | _XEatData 8 | _XReply 9 | _XFlush 10 | _XReadPad 11 | XFree 12 | 13 | which are provided by libX11, but wasn't linking with it directly, resulting 14 | in warnings during the package build (and possibly errors later with better 15 | linkers). 16 | 17 | --- a/src/Makefile.am 18 | +++ b/src/Makefile.am 19 | @@ -22,7 +22,8 @@ endif 20 | libvdpau_la_LIBADD = \ 21 | $(DLOPEN_LIBS) \ 22 | $(PTHREAD_LIBS) \ 23 | - $(XEXT_LIBS) 24 | + $(XEXT_LIBS) \ 25 | + $(X11_LIBS) 26 | 27 | libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined 28 | 29 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/patches/series: -------------------------------------------------------------------------------- 1 | link-with-libx11.patch 2 | simplify-dlopen-path-length-error-handling.patch 3 | vdpau-module-searchpath.patch 4 | doxygen-no-timestamps.patch 5 | default-driver-sunxi.patch 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | #export DH_VERBOSE=1 4 | 5 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) 6 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) 7 | 8 | CONFIGURE_OPTIONS ?= --disable-documentation \ 9 | --enable-dri2 10 | 11 | %: 12 | dh $@ --with autoreconf 13 | 14 | binary: binary-indep binary-arch ; 15 | 16 | override_dh_autoreconf: 17 | dh_autoreconf --as-needed 18 | 19 | override_dh_auto_configure: 20 | dh_testdir 21 | LDFLAGS="-Wl,--as-needed $$(dpkg-buildflags --get LDFLAGS)" ./configure \ 22 | --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ 23 | $(CONFIGURE_OPTIONS) 24 | 25 | override_dh_bugfiles: 26 | dh_bugfiles -A 27 | 28 | # ignore the plugin 29 | override_dh_makeshlibs: 30 | dh_makeshlibs -Xvdpau/libvdpau_trace.so.1 31 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/changelog: -------------------------------------------------------------------------------- 1 | mmc-utils (0~gita3d3331-3) unstable; urgency=medium 2 | 3 | * Update patches/fix_build_ppc64el.patch. 4 | Updated to the correct patch. 5 | 6 | -- Nobuhiro Iwamatsu Sat, 17 Sep 2016 17:46:33 +0900 7 | 8 | mmc-utils (0~gita3d3331-2) unstable; urgency=medium 9 | 10 | * Fix build on ppc64*, alpha and mipsel64. (Closes: #834787) 11 | 12 | -- Nobuhiro Iwamatsu Tue, 23 Aug 2016 03:23:23 +0900 13 | 14 | mmc-utils (0~gita3d3331-1) unstable; urgency=low 15 | 16 | * Initial release. (Closes: #833633) 17 | 18 | -- Nobuhiro Iwamatsu Fri, 05 Aug 2016 00:23:56 +0900 19 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/manpages: -------------------------------------------------------------------------------- 1 | man/mmc.1 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all 4 | DPKG_EXPORT_BUILDFLAGS = 1 5 | include /usr/share/dpkg/buildflags.mk 6 | 7 | %: 8 | dh $@ 9 | 10 | override_dh_auto_install: 11 | dh_auto_install -- prefix=/usr 12 | 13 | 14 | override_dh_auto_clean: 15 | dh_auto_clean 16 | rm -rf .mmc.o.d .mmc_cmds.o.d 17 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/changelog: -------------------------------------------------------------------------------- 1 | sunxi-tools (1.3-1) unstable; urgency=medium 2 | 3 | * New upstream release. 4 | - Support for new "spl" sub command to the fel tool. 5 | - Various bug fixes. 6 | * Update Vcs-* to point to anonscm. 7 | * Recommend split u-boot-sunxi package only. 8 | 9 | -- Ian Campbell Tue, 24 Nov 2015 20:27:33 +0000 10 | 11 | sunxi-tools (1.2-2) unstable; urgency=medium 12 | 13 | * Create a "sunxi-fel" group and add udev rules to make the FEL mode USB 14 | device available to members of that group. 15 | * Include upstream README in the package (Closes: #757642) 16 | 17 | -- Ian Campbell Mon, 25 Aug 2014 21:40:38 +0100 18 | 19 | sunxi-tools (1.2-1) unstable; urgency=medium 20 | 21 | * Initial release (Closes: #750104). 22 | 23 | -- Ian Campbell Sat, 12 Jul 2014 20:51:56 +0100 24 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/control: -------------------------------------------------------------------------------- 1 | Source: sunxi-tools 2 | Section: utils 3 | Priority: optional 4 | Maintainer: Ian Campbell 5 | Build-Depends: debhelper (>= 9), pkg-config, libusb-1.0-0-dev, u-boot-tools, 6 | ruby, binutils-arm-none-eabi, zlib1g-dev 7 | Standards-Version: 3.9.5 8 | Vcs-Git: git://anonscm.debian.org/collab-maint/sunxi-tools.git 9 | Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/sunxi-tools.git 10 | Homepage: http://linux-sunxi.org/Sunxi-tools 11 | 12 | Package: sunxi-tools 13 | Architecture: any 14 | Depends: ${shlibs:Depends}, ${misc:Depends} 15 | Description: tools for working with Allwinner (sunxi) ARM processors 16 | This package contains various tools for working with devices based around the 17 | Allwinner sunxi processors (A10/A13/A20/A31 etc). Utilities include tools to: 18 | . 19 | - interact with the processors' lowlevel bootrom (AKA FEL mode). 20 | - boot over the USB OTG port. 21 | - compile and decompile the Allwinner binary hardware descriptions (FEX 22 | files). 23 | - display information about sunxi boot headers. 24 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # -*- makefile -*- 3 | 4 | include /usr/share/dpkg/architecture.mk 5 | 6 | # Uncomment this to turn on verbose mode. 7 | #export DH_VERBOSE=1 8 | 9 | %: 10 | dh $@ 11 | 12 | override_dh_auto_clean: 13 | dh_auto_clean 14 | rm -f bin/fel-pio.* bin/*.sunxi 15 | 16 | override_dh_auto_build: 17 | $(MAKE) EXTRA_CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" tools 18 | 19 | override_dh_auto_install: PKG := debian/sunxi-tools 20 | override_dh_auto_install: 21 | $(MAKE) install-tools DESTDIR=$(CURDIR)/$(PKG) PREFIX=/usr 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/source/patch-header: -------------------------------------------------------------------------------- 1 | This patch contains the complete set of Debian changes. 2 | 3 | See http://git.debian.org/?p=collab-maint/sunxi-tools.git for individual patches 4 | and history. 5 | 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/sunxi-tools.dirs: -------------------------------------------------------------------------------- 1 | usr/bin 2 | usr/share/sunxi-tools 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/sunxi-tools.docs: -------------------------------------------------------------------------------- 1 | README.md 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/sunxi-tools.postinst: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | set -e 4 | 5 | case "$1" in 6 | configure) 7 | 8 | addgroup --system --quiet sunxi-fel 9 | 10 | ;; 11 | 12 | abort-upgrade|abort-remove|abort-deconfigure) 13 | 14 | ;; 15 | 16 | *) 17 | 18 | echo "postinst called with unknown argument \`$1'" >&2 19 | exit 0 20 | 21 | ;; 22 | esac 23 | 24 | #DEBHELPER# 25 | 26 | exit 0 27 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/sunxi-tools.udev: -------------------------------------------------------------------------------- 1 | SUBSYSTEMS=="usb", ATTR{idVendor}=="1f3a", ATTR{idProduct}=="efe8", GROUP="sunxi-fel" 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/swconfig/debian/patches/series: -------------------------------------------------------------------------------- 1 | add-switch-h.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/80-armsoc-sun4i.conf: -------------------------------------------------------------------------------- 1 | Section "Device" 2 | Identifier "ARMSOC DRM driver" 3 | Driver "armsoc" 4 | Option "DRI2" "true" 5 | # Option "fbdev" "/dev/fb0" 6 | # Option "Debug" "true" 7 | # Option "UMP_LOCK" "false" 8 | EndSection 9 | 10 | Section "Screen" 11 | Identifier "DefaultScreen" 12 | Device "ARMSOC DRM driver" 13 | DefaultDepth 24 14 | EndSection 15 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/compat: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/patches/0002-Fix-UMP_LOCK-status-logging.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/armsoc_driver.c b/src/armsoc_driver.c 2 | index 83e74a7..5c988ec 100644 3 | --- a/src/armsoc_driver.c 4 | +++ b/src/armsoc_driver.c 5 | @@ -892,7 +892,7 @@ ARMSOCPreInit(ScrnInfoPtr pScrn, int flags) 6 | pARMSOC->useUmplock = xf86ReturnOptValBool(pARMSOC->pOptionInfo, 7 | OPTION_UMP_LOCK, FALSE); 8 | INFO_MSG("umplock is %s", 9 | - pARMSOC->useUmplock ? "Disabled" : "Enabled"); 10 | + pARMSOC->useUmplock ? "Enabled" : "Disabled"); 11 | 12 | /* 13 | * Select the video modes: 14 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/patches/series: -------------------------------------------------------------------------------- 1 | 0001-Add-sun4i-drmmode-driver.patch 2 | 0002-Fix-UMP_LOCK-status-logging.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/xserver-xorg-video-armsoc-sun4i.install: -------------------------------------------------------------------------------- 1 | debian/80-armsoc-sun4i.conf /etc/X11/xorg.conf.d/ 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/xserver-xorg-video-armsoc-sun4i.udev: -------------------------------------------------------------------------------- 1 | # Do not edit this file, it will be overwritten on update 2 | # 3 | # Set the right permissions to the devices provided by the 4 | # armsoc driver 5 | ENV{ACL_MANAGE}=="0", GOTO="mali_gpu_end" 6 | ACTION!="add|change", GOTO="mali_gpu_end" 7 | 8 | # graphics devices 9 | ACTION=="add|change", KERNEL=="mali*", TAG+="udev-acl" 10 | 11 | LABEL="mali_gpu_end" 12 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/changelog: -------------------------------------------------------------------------------- 1 | xserver-xorg-video-fbturbo (1:0.4.4) unstable; urgency=medium 2 | 3 | * Initial release. 4 | 5 | -- Vincent LAMAR Wed, 15 june 2014 09:51:13 -0400 6 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/control: -------------------------------------------------------------------------------- 1 | Source: xserver-xorg-video-fbturbo 2 | Section: x11 3 | Priority: optional 4 | Maintainer: Vincent LAMAR 5 | Build-Depends: 6 | debhelper (>= 8), 7 | dh-autoreconf, 8 | pkg-config, 9 | xserver-xorg-dev (>= 2:1.11.99.901), 10 | x11proto-core-dev, 11 | x11proto-fonts-dev, 12 | x11proto-randr-dev, 13 | x11proto-render-dev, 14 | x11proto-video-dev, 15 | xutils-dev (>= 1:7.5+1), 16 | Standards-Version: 3.9.4 17 | 18 | Package: xserver-xorg-video-fbturbo 19 | Architecture: any 20 | Depends: 21 | ${shlibs:Depends}, 22 | ${misc:Depends}, 23 | ${xviddriver:Depends}, 24 | Provides: 25 | ${xviddriver:Provides} 26 | Description: fbdev display driver optimized for Allwinner SoC 27 | This package provides the driver for the Linux framebuffer 28 | primarily optimized for the devices powered by the Allwinner SoC 29 | It can use some of the 2D/3D hardware 30 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # -*- makefile -*- 3 | 4 | # Uncomment this to turn on verbose mode. 5 | #export DH_VERBOSE=1 6 | 7 | override_dh_auto_configure: 8 | dh_auto_configure -- --prefix=/usr --with-xorg-module-dir="/usr/lib/xorg/modules" 9 | 10 | override_dh_auto_install: 11 | dh_auto_install 12 | mkdir -p debian/xserver-xorg-video-fbturbo/etc/X11/xorg.conf.d/ 13 | install -m0644 xorg.conf debian/xserver-xorg-video-fbturbo/etc/X11/xorg.conf.d/50-fbturbo.conf 14 | 15 | # That's a plugin, use appropriate warning level: 16 | override_dh_shlibdeps: 17 | dh_shlibdeps -- --warnings=6 18 | 19 | %: 20 | dh $@ --with autoreconf,xsf 21 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /patch/atf/atf-rk3328-tv/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=2 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk322xh/debug/bl31/bl31.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-rk3399-tv/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=0 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk3399/debug/bl31/rk3399_bl31_v1.25.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-rk3399/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=0 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk3399/debug/bl31/bl31.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-rockchip64/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=2 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk322xh/debug/bl31/bl31.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-rockchip64/board_rockpi-4a/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=0 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk3399/debug/bl31/bl31.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-rockchip64/board_rockpi-4b/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=0 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk3399/debug/bl31/bl31.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-rockchip64/board_rockpro64/add-trust-ini.patch: -------------------------------------------------------------------------------- 1 | diff --git a/trust.ini b/trust.ini 2 | new file mode 100644 3 | index 0000000..4af021a 4 | --- /dev/null 5 | +++ b/trust.ini 6 | @@ -0,0 +1,15 @@ 7 | +[VERSION] 8 | +MAJOR=1 9 | +MINOR=0 10 | +[BL30_OPTION] 11 | +SEC=0 12 | +[BL31_OPTION] 13 | +SEC=1 14 | +PATH=./build/rk3399/debug/bl31/bl31.elf 15 | +ADDR=0x10000 16 | +[BL32_OPTION] 17 | +SEC=0 18 | +[BL33_OPTION] 19 | +SEC=0 20 | +[OUTPUT] 21 | +PATH=trust.bin 22 | -------------------------------------------------------------------------------- /patch/atf/atf-sunxi64/0001-Fix-reset-issue-on-H6-by-using-R_WDOG.patch: -------------------------------------------------------------------------------- 1 | From 82fa50eadf11f01e6315f5e2c2a29845e2a516b8 Mon Sep 17 00:00:00 2001 2 | From: Ondrej Jirman 3 | Date: Mon, 8 Apr 2019 03:49:26 +0200 4 | Subject: [PATCH] Fix reset issue on H6 by using R_WDOG 5 | 6 | Inspired by froezuses patch here: 7 | 8 | https://forum.armbian.com/topic/9833-h6-famous-reboot-problem/?page=3 9 | 10 | Signed-off-by: Ondrej Jirman 11 | --- 12 | plat/allwinner/sun50i_h6/include/sunxi_mmap.h | 3 +++ 13 | 1 file changed, 3 insertions(+) 14 | 15 | diff --git a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h 16 | index f36491a8..f01745a4 100644 17 | --- a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h 18 | +++ b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h 19 | @@ -58,4 +58,7 @@ 20 | #define SUNXI_R_UART_BASE 0x07080000 21 | #define SUNXI_R_PIO_BASE 0x07022000 22 | 23 | +#undef SUNXI_WDOG_BASE 24 | +#define SUNXI_WDOG_BASE SUNXI_R_WDOG_BASE 25 | + 26 | #endif /* SUNXI_MMAP_H */ 27 | -- 28 | 2.21.0 29 | 30 | -------------------------------------------------------------------------------- /patch/atf/atf-sunxi64/board_pine64so/set-lpddr3-dram-voltage.patch: -------------------------------------------------------------------------------- 1 | diff --git a/plat/sun50iw1p1/sunxi_power.c b/plat/sun50iw1p1/sunxi_power.c 2 | index 71ccafa3..e592c029 100644 3 | --- a/plat/sun50iw1p1/sunxi_power.c 4 | +++ b/plat/sun50iw1p1/sunxi_power.c 5 | @@ -252,6 +252,16 @@ static int pmic_setup(const char *dt_name) 6 | ret = 0x2c; 7 | } 8 | } 9 | + 10 | + /** Ditto for sopine64 */ 11 | + if (!strcmp(dt_name, "sun50i-a64-sopine-baseboard")) { 12 | + if (ret == 0x26) { /* check for 1.24V value */ 13 | + NOTICE("PMIC: fixing DRAM voltage from 1.24V to 1.20V\n"); 14 | + sunxi_pmic_write(0x24, 0x25); 15 | + ret = 0x25; 16 | + } 17 | + } 18 | + 19 | /* reg 24h: DCDC5: 0.80-1.12V: 10mv/step, 1.14-1.84V: 20mv/step */ 20 | if (ret > 0x20) 21 | ret = ((ret - 0x20) * 2) + 112; 22 | -------------------------------------------------------------------------------- /patch/atf/atf-sunxi64/board_pinebook-a64/set-lpddr3-dram-voltage.patch.disable: -------------------------------------------------------------------------------- 1 | diff --git a/plat/sun50iw1p1/sunxi_power.c b/plat/sun50iw1p1/sunxi_power.c 2 | index db79047..fb1b108 100644 3 | --- a/plat/sun50iw1p1/sunxi_power.c 4 | +++ b/plat/sun50iw1p1/sunxi_power.c 5 | @@ -261,12 +261,8 @@ static int pmic_setup(void) 6 | * changes. This should be further confined once we are able to 7 | * reliably detect a Pine64 board. 8 | */ 9 | - ret = sunxi_pmic_read(0x24); /* read DCDC5 register */ 10 | - if ((ret & 0x7f) == 0x26) { /* check for 1.24V value */ 11 | - NOTICE("PMIC: fixing DRAM voltage from 1.24V to 1.36V\n"); 12 | - sunxi_pmic_write(0x24, 0x2c); 13 | - } 14 | - 15 | + sunxi_pmic_write(0x24, 0x25); 16 | + 17 | sunxi_pmic_write(0x15, 0x1a); /* DLDO1 = VCC3V3_HDMI voltage = 3.3V */ 18 | 19 | sunxi_pmic_write(0x16, 0x12); /* DLDO2 = VCC2V5_EDP voltage = 2.5V */ 20 | -------------------------------------------------------------------------------- /patch/atf/atf-sunxi64/set-rsb-to-nonsec.patch.disabled: -------------------------------------------------------------------------------- 1 | diff --git a/plat/sun50iw1p1/sunxi_security.c b/plat/sun50iw1p1/sunxi_security.c 2 | index c0036c12..76d296bd 100644 3 | --- a/plat/sun50iw1p1/sunxi_security.c 4 | +++ b/plat/sun50iw1p1/sunxi_security.c 5 | @@ -58,8 +58,9 @@ void sunxi_security_setup(void) 6 | for (i = 0; i < 6; i++) 7 | mmio_write_32(SPC_DECPORT_SET_REG(i), 0xff); 8 | 9 | - /* switch RSB to secure */ 10 | + /* switch RSB to secure 11 | mmio_write_32(SPC_DECPORT_CLR_REG(3), 0x08); 12 | + */ 13 | 14 | /* set CCMU mbus_sec, bus_sec, pll_sec to non-secure */ 15 | mmio_write_32(0x01c20000+0x2f0, 0x7); 16 | -------------------------------------------------------------------------------- /patch/kernel/aml-g12-default/0010-fix-btbcm.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/bluetooth/btbcm.c 2 | +++ b/drivers/bluetooth/btbcm.c 3 | @@ -330,7 +330,7 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = { 4 | { 0x6109, "BCM4335C0" }, /* 003.001.009 */ 5 | { 0x610c, "BCM4354" }, /* 003.001.012 */ 6 | { 0x2122, "BCM4343A0" }, /* 001.001.034 */ 7 | - { 0x2209, "BCM43430A1" }, /* 001.002.009 */ 8 | + { 0x2209, "BCM43438A1" }, /* 001.002.009 */ 9 | { 0x6119, "BCM4345C0" }, /* 003.001.025 */ 10 | { 0x230f, "BCM4356A2" }, /* 001.003.015 */ 11 | { 0x220e, "BCM20702A1" }, /* 001.002.014 */ 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-g12-default/0020-remove-eee-broken-1000t.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts 2 | +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts 3 | @@ -87,7 +87,6 @@ 4 | 5 | interrupt-parent = <&gpio_intc>; 6 | interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 7 | - eee-broken-1000t; 8 | }; 9 | }; 10 | 11 | -------------------------------------------------------------------------------- /patch/kernel/aml-g12-default/0021-fix-high-load-on-phicomm-n1.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts 2 | +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts 3 | @@ -84,9 +84,6 @@ 4 | reset-assert-us = <10000>; 5 | reset-deassert-us = <30000>; 6 | reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; 7 | - 8 | - interrupt-parent = <&gpio_intc>; 9 | - interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 10 | }; 11 | }; 12 | 13 | -------------------------------------------------------------------------------- /patch/kernel/aml-g12-dev/text-offset.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/kernel/head.S 2 | +++ b/arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | --- a/arch/arm64/Makefile 13 | +++ b/arch/arm64/Makefile 14 | @@ -79,7 +79,7 @@ 15 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 16 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 17 | else 18 | -TEXT_OFFSET := 0x00080000 19 | +TEXT_OFFSET := 0x01080000 20 | endif 21 | 22 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 23 | -------------------------------------------------------------------------------- /patch/kernel/aml-g12-next/text-offset.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/kernel/head.S 2 | +++ b/arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | --- a/arch/arm64/Makefile 13 | +++ b/arch/arm64/Makefile 14 | @@ -79,7 +79,7 @@ 15 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 16 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 17 | else 18 | -TEXT_OFFSET := 0x00080000 19 | +TEXT_OFFSET := 0x01080000 20 | endif 21 | 22 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 23 | -------------------------------------------------------------------------------- /patch/kernel/aml-s805-default/001.patch: -------------------------------------------------------------------------------- 1 | --- a/scripts/package/builddeb 2 | +++ b/scripts/package/builddeb 3 | @@ -104,11 +104,11 @@ 4 | libc_headers_dir="$objtree/debian/headertmp" 5 | dtb_dir="$objtree/debian/dtbtmp" 6 | dbg_dir="$objtree/debian/dbgtmp" 7 | -packagename=linux-image"$LOCAL_VERSION" 8 | -fwpackagename=linux-firmware-image"$LOCAL_VERSION" 9 | -kernel_headers_packagename=linux-headers"$LOCAL_VERSION" 10 | -dtb_packagename=linux-dtb"$LOCAL_VERSION" 11 | -libc_headers_packagename=linux-libc-dev"$LOCAL_VERSION" 12 | +packagename=linux-image"$LOCALVERSION" 13 | +fwpackagename=linux-firmware-image"$LOCALVERSION" 14 | +kernel_headers_packagename=linux-headers"$LOCALVERSION" 15 | +dtb_packagename=linux-dtb"$LOCALVERSION" 16 | +libc_headers_packagename=linux-libc-dev"$LOCALVERSION" 17 | dbg_packagename=$packagename-dbg 18 | 19 | if [ "$ARCH" = "um" ] ; then 20 | 21 | -------------------------------------------------------------------------------- /patch/kernel/aml-s905-dev/off_error_text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/kernel/head.S 2 | +++ ./arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s905-dev/text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/Makefile 2 | +++ ./arch/arm64/Makefile 3 | @@ -79,7 +79,7 @@ 4 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 5 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 6 | else 7 | -TEXT_OFFSET := 0x00080000 8 | +TEXT_OFFSET := 0x01080000 9 | endif 10 | 11 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s905-next/01.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/boot/dts/Makefile 2 | +++ b/arch/arm64/boot/dts/Makefile 3 | @@ -1,30 +1,2 @@ 4 | # SPDX-License-Identifier: GPL-2.0 5 | -subdir-y += actions 6 | -subdir-y += al 7 | -subdir-y += allwinner 8 | -subdir-y += altera 9 | -subdir-y += amd 10 | subdir-y += amlogic 11 | -subdir-y += apm 12 | -subdir-y += arm 13 | -subdir-y += bitmain 14 | -subdir-y += broadcom 15 | -subdir-y += cavium 16 | -subdir-y += exynos 17 | -subdir-y += freescale 18 | -subdir-y += hisilicon 19 | -subdir-y += intel 20 | -subdir-y += lg 21 | -subdir-y += marvell 22 | -subdir-y += mediatek 23 | -subdir-y += nvidia 24 | -subdir-y += qcom 25 | -subdir-y += realtek 26 | -subdir-y += renesas 27 | -subdir-y += rockchip 28 | -subdir-y += socionext 29 | -subdir-y += sprd 30 | -subdir-y += synaptics 31 | -subdir-y += ti 32 | -subdir-y += xilinx 33 | -subdir-y += zte 34 | 35 | -------------------------------------------------------------------------------- /patch/kernel/aml-s905-next/off_error_text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/kernel/head.S 2 | +++ ./arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s905-next/text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/Makefile 2 | +++ ./arch/arm64/Makefile 3 | @@ -79,7 +79,7 @@ 4 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 5 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 6 | else 7 | -TEXT_OFFSET := 0x00080000 8 | +TEXT_OFFSET := 0x01080000 9 | endif 10 | 11 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-default/z-0001.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/wireless/bcmdhd/wl_iw.c 2 | +++ b/drivers/net/wireless/bcmdhd/wl_iw.c 3 | @@ -47,6 +47,11 @@ 4 | #include 5 | #ifdef WL_ESCAN 6 | #include 7 | + 8 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)) 9 | + #define get_ds() (KERNEL_DS) 10 | +#endif 11 | + 12 | #endif 13 | #include 14 | 15 | 16 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-dev/off_error_text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/kernel/head.S 2 | +++ ./arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-dev/text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/Makefile 2 | +++ ./arch/arm64/Makefile 3 | @@ -79,7 +79,7 @@ 4 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 5 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 6 | else 7 | -TEXT_OFFSET := 0x00080000 8 | +TEXT_OFFSET := 0x01080000 9 | endif 10 | 11 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 12 | @@ -117,7 +117,7 @@ 13 | $(Q)$(MAKE) $(build)=$(boot) $@ 14 | 15 | %.dtb: scripts 16 | - $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ 17 | + $(Q)$(MAKE) $(build)=$(boot)/dts/amlogic $(boot)/dts/amlogic/$@ 18 | 19 | PHONY += dtbs dtbs_install 20 | 21 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-next/001.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/boot/dts/Makefile 2 | +++ b/arch/arm64/boot/dts/Makefile 3 | @@ -1,30 +1,2 @@ 4 | # SPDX-License-Identifier: GPL-2.0 5 | -subdir-y += actions 6 | -subdir-y += al 7 | -subdir-y += allwinner 8 | -subdir-y += altera 9 | -subdir-y += amd 10 | subdir-y += amlogic 11 | -subdir-y += apm 12 | -subdir-y += arm 13 | -subdir-y += bitmain 14 | -subdir-y += broadcom 15 | -subdir-y += cavium 16 | -subdir-y += exynos 17 | -subdir-y += freescale 18 | -subdir-y += hisilicon 19 | -subdir-y += intel 20 | -subdir-y += lg 21 | -subdir-y += marvell 22 | -subdir-y += mediatek 23 | -subdir-y += nvidia 24 | -subdir-y += qcom 25 | -subdir-y += realtek 26 | -subdir-y += renesas 27 | -subdir-y += rockchip 28 | -subdir-y += socionext 29 | -subdir-y += sprd 30 | -subdir-y += synaptics 31 | -subdir-y += ti 32 | -subdir-y += xilinx 33 | -subdir-y += zte 34 | 35 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-next/off_error_text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/kernel/head.S 2 | +++ ./arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-next/reboot_s912.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/clk/meson/gxbb.c 2 | +++ b/drivers/clk/meson/gxbb.c 3 | @@ -522,6 +522,7 @@ 4 | .ops = &clk_regmap_gate_ops, 5 | .parent_names = (const char *[]){ "fclk_div3_div" }, 6 | .num_parents = 1, 7 | + .flags = CLK_IS_CRITICAL, 8 | }, 9 | }; 10 | 11 | 12 | -------------------------------------------------------------------------------- /patch/kernel/aml-s912-next/text_offset.patch: -------------------------------------------------------------------------------- 1 | --- ./arch/arm64/Makefile 2 | +++ ./arch/arm64/Makefile 3 | @@ -79,7 +79,7 @@ 4 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 5 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 6 | else 7 | -TEXT_OFFSET := 0x00080000 8 | +TEXT_OFFSET := 0x01080000 9 | endif 10 | 11 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 12 | -------------------------------------------------------------------------------- /patch/kernel/rk3399-tv-next/text-offset.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm64/kernel/head.S 2 | +++ b/arch/arm64/kernel/head.S 3 | @@ -49,7 +49,7 @@ 4 | #elif (PAGE_OFFSET & 0x1fffff) != 0 5 | #error PAGE_OFFSET must be at least 2MB aligned 6 | #elif TEXT_OFFSET > 0x1fffff 7 | -#error TEXT_OFFSET must be less than 2MB 8 | +//#error TEXT_OFFSET must be less than 2MB 9 | #endif 10 | 11 | /* 12 | --- a/arch/arm64/Makefile 13 | +++ b/arch/arm64/Makefile 14 | @@ -79,7 +79,7 @@ 15 | int(2 * 1024 * 1024 / (2 ^ $(CONFIG_ARM64_PAGE_SHIFT)) * \ 16 | rand()) * (2 ^ $(CONFIG_ARM64_PAGE_SHIFT))}") 17 | else 18 | -TEXT_OFFSET := 0x00080000 19 | +TEXT_OFFSET := 0x01080000 20 | endif 21 | 22 | # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - 3)) - (1 << 61) 23 | -------------------------------------------------------------------------------- /patch/misc/bananafbtft.patch: -------------------------------------------------------------------------------- 1 | --- a/fbtft-core.c 2 | +++ b/fbtft-core.c 3 | @@ -52,7 +52,7 @@ 4 | module_param(debug, ulong , 0); 5 | MODULE_PARM_DESC(debug, "override device debug level"); 6 | 7 | -static bool dma = true; 8 | +static bool dma = false; 9 | module_param(dma, bool, 0); 10 | MODULE_PARM_DESC(dma, "Use DMA buffer"); 11 | -------------------------------------------------------------------------------- /patch/u-boot/u-boot-rk3328-tv/boot_targets_usb.patch: -------------------------------------------------------------------------------- 1 | --- a/include/configs/rockchip-common.h 2 | +++ b/include/configs/rockchip-common.h 3 | @@ -14,8 +14,8 @@ 4 | /* First try to boot from SD (index 0), then eMMC (index 1) */ 5 | #if CONFIG_IS_ENABLED(CMD_MMC) 6 | #define BOOT_TARGET_MMC(func) \ 7 | - func(MMC, mmc, 0) \ 8 | - func(MMC, mmc, 1) 9 | + func(MMC, mmc, 1) \ 10 | + func(MMC, mmc, 0) 11 | #else 12 | #define BOOT_TARGET_MMC(func) 13 | #endif 14 | @@ -39,8 +39,8 @@ 15 | #endif 16 | 17 | #define BOOT_TARGET_DEVICES(func) \ 18 | + BOOT_TARGET_USB(func) \ 19 | BOOT_TARGET_MMC(func) \ 20 | - BOOT_TARGET_USB(func) \ 21 | BOOT_TARGET_PXE(func) \ 22 | BOOT_TARGET_DHCP(func) 23 | 24 | 25 | -------------------------------------------------------------------------------- /patch/u-boot/u-boot-rk3399-tv/usb-start.patch: -------------------------------------------------------------------------------- 1 | --- a/include/configs/rockchip-common.h 2 | +++ b/include/configs/rockchip-common.h 3 | @@ -14,8 +14,8 @@ 4 | /* First try to boot from SD (index 0), then eMMC (index 1) */ 5 | #if CONFIG_IS_ENABLED(CMD_MMC) 6 | #define BOOT_TARGET_MMC(func) \ 7 | - func(MMC, mmc, 0) \ 8 | - func(MMC, mmc, 1) 9 | + func(MMC, mmc, 1) \ 10 | + func(MMC, mmc, 0) 11 | #else 12 | #define BOOT_TARGET_MMC(func) 13 | #endif 14 | @@ -39,8 +39,8 @@ 15 | #endif 16 | 17 | #define BOOT_TARGET_DEVICES(func) \ 18 | + BOOT_TARGET_USB(func) \ 19 | BOOT_TARGET_MMC(func) \ 20 | - BOOT_TARGET_USB(func) \ 21 | BOOT_TARGET_PXE(func) \ 22 | BOOT_TARGET_DHCP(func) 23 | 24 | 25 | --------------------------------------------------------------------------------