├── main.sh ├── packages ├── extras-buildpkgs │ ├── a10disp │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── rules │ │ │ ├── patches │ │ │ ├── series │ │ │ └── fix-makefile.patch │ │ │ ├── changelog │ │ │ ├── control │ │ │ └── copyright │ ├── hostapd │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── hostapd.manpages │ │ │ ├── hostapd.install │ │ │ ├── hostapd.links │ │ │ ├── hostapd.examples │ │ │ ├── hostapd.lintian-overrides │ │ │ ├── patches │ │ │ ├── session-ticket.patch │ │ │ └── series │ │ │ ├── hostapd.preinst │ │ │ ├── NEWS │ │ │ ├── hostapd.default │ │ │ └── config │ │ │ └── hostapd.conf │ ├── libDRI2 │ │ └── debian │ │ │ ├── compat │ │ │ ├── dri2-utils.install │ │ │ ├── source │ │ │ └── format │ │ │ ├── dri2-utils.manpages │ │ │ ├── libdri2-1.install │ │ │ ├── libdri2-dev.install │ │ │ ├── libdri2-1.symbols │ │ │ ├── changelog │ │ │ ├── rules │ │ │ └── dri2test.1 │ ├── libUMP │ │ └── debian │ │ │ ├── compat │ │ │ ├── ump.conf │ │ │ ├── libump.udev │ │ │ ├── libump.install │ │ │ ├── libump-dev.install │ │ │ ├── libump.postinst │ │ │ ├── rules │ │ │ ├── changelog │ │ │ ├── copyright │ │ │ └── control │ ├── guvcview │ │ └── debian │ │ │ ├── compat │ │ │ ├── dirs │ │ │ ├── source │ │ │ └── format │ │ │ ├── guvcview.install │ │ │ ├── patches │ │ │ ├── series │ │ │ └── ffmpeg_2.9.patch │ │ │ ├── libguvcview-1.1-1.install │ │ │ ├── libguvcview-dev.install │ │ │ ├── menu │ │ │ ├── README.source │ │ │ ├── README.Debian │ │ │ └── rules │ ├── libcedrus │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── libcedrus1.install │ │ │ ├── libcedrus1-dev.install │ │ │ ├── libcedrus1.udev │ │ │ ├── changelog │ │ │ ├── rules │ │ │ ├── libcedrus1.postinst │ │ │ └── control │ ├── libglshim │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── patches │ │ │ └── series │ │ │ ├── changelog │ │ │ ├── rules │ │ │ ├── control │ │ │ └── copyright │ ├── libvdpau │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── clean │ │ │ ├── libvdpau-dev.install │ │ │ ├── libvdpau1.install │ │ │ ├── patches │ │ │ ├── series │ │ │ ├── default-driver-sunxi.patch │ │ │ ├── doxygen-no-timestamps.patch │ │ │ └── link-with-libx11.patch │ │ │ ├── libvdpau-dev.README.Debian │ │ │ ├── bug-script │ │ │ ├── README.source │ │ │ └── rules │ ├── mmc-utils │ │ └── debian │ │ │ ├── compat │ │ │ ├── manpages │ │ │ ├── source │ │ │ └── format │ │ │ ├── rules │ │ │ └── changelog │ ├── sunxi-tools │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ ├── format │ │ │ └── patch-header │ │ │ ├── sunxi-tools.docs │ │ │ ├── sunxi-tools.dirs │ │ │ ├── sunxi-tools.udev │ │ │ ├── sunxi-tools.postinst │ │ │ ├── rules │ │ │ ├── changelog │ │ │ └── control │ ├── fswebcam-gc2035 │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── patches │ │ │ └── series │ │ │ ├── rules │ │ │ ├── changelog │ │ │ └── control │ ├── hostapd-realtek │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ ├── format │ │ │ └── options │ │ │ ├── hostapd-realtek.manpages │ │ │ ├── patches │ │ │ ├── series │ │ │ └── session-ticket.patch │ │ │ ├── hostapd-realtek.install │ │ │ ├── hostapd-realtek.links │ │ │ ├── hostapd-realtek.examples │ │ │ ├── hostapd-realtek.preinst │ │ │ ├── NEWS │ │ │ ├── hostapd-realtek.default │ │ │ └── config │ │ │ └── hostapd.conf │ ├── libvdpau-sunxi │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── patches │ │ │ └── series │ │ │ ├── profile.d │ │ │ └── 99-vdpau.sh │ │ │ ├── libvdpau-sunxi1.udev │ │ │ ├── rules │ │ │ ├── libvdpau-sunxi1.postinst │ │ │ ├── changelog │ │ │ └── control │ ├── xf86-video-armsoc │ │ └── debian │ │ │ ├── compat │ │ │ ├── source │ │ │ └── format │ │ │ ├── patches │ │ │ ├── series │ │ │ └── 0002-Fix-UMP_LOCK-status-logging.patch │ │ │ ├── xserver-xorg-video-armsoc-sun4i.install │ │ │ ├── 80-armsoc-sun4i.conf │ │ │ ├── xserver-xorg-video-armsoc-sun4i.udev │ │ │ └── rules │ ├── libmali-sunxi-r3p0.old │ │ └── debian │ │ │ ├── compat │ │ │ ├── docs │ │ │ ├── sunxi-mali.conf │ │ │ ├── mali-sunxi-utils.install │ │ │ ├── source │ │ │ └── format │ │ │ ├── libmali-sunxi-dev.install │ │ │ ├── libmali-sunxi-r3p0.udev │ │ │ ├── patches │ │ │ └── series │ │ │ ├── libmali-sunxi-r3p0.install.in │ │ │ ├── changelog │ │ │ ├── libmali-sunxi-r3p0.shlibs │ │ │ ├── copyright │ │ │ ├── libmali-sunxi-r3p0.prerm.in │ │ │ ├── libmali-sunxi-r3p0.postinst.in │ │ │ ├── libmali-sunxi-r3p0.postrm.in │ │ │ └── libmali-sunxi-r3p0.preinst.in │ ├── libmali-sunxi-r3p0 │ │ └── debian │ │ │ ├── compat │ │ │ ├── docs │ │ │ ├── sunxi-mali.conf │ │ │ ├── mali-sunxi-utils.install │ │ │ ├── source │ │ │ └── format │ │ │ ├── libmali-sunxi-dev.install │ │ │ ├── libmali-sunxi-r3p0.udev │ │ │ ├── patches │ │ │ └── series │ │ │ ├── libmali-sunxi-r3p0.install.in │ │ │ ├── changelog │ │ │ ├── libmali-sunxi-r3p0.shlibs │ │ │ ├── copyright │ │ │ ├── libmali-sunxi-r3p0.prerm.in │ │ │ ├── libmali-sunxi-r3p0.postinst.in │ │ │ ├── libmali-sunxi-r3p0.postrm.in │ │ │ ├── libmali-sunxi-r3p0.preinst.in │ │ │ └── control │ ├── xf86-video-fbturbo │ │ └── debian │ │ │ ├── compat │ │ │ ├── docs │ │ │ ├── source │ │ │ └── format │ │ │ ├── changelog │ │ │ ├── rules │ │ │ ├── control │ │ │ └── copyright │ ├── swconfig │ │ └── debian │ │ │ └── patches │ │ │ └── series │ ├── buildpkg.gpg │ ├── buildpkg-public.gpg │ ├── 90-mmc-utils.conf │ ├── 90-sunxi-tools.conf │ ├── 90-hostapd.conf │ ├── 90-a10disp.conf │ ├── 90-fswebcam-gc2035.conf.disabled │ ├── 90-libglshim.conf │ ├── 90-hostapd-realtek.conf │ ├── 90-swconfig.conf │ ├── 05-libump.conf │ ├── 06-libcedrus.conf │ ├── 00-libdri2.conf │ ├── 90-guvcview.conf.disabled │ ├── 90-libmali-sunxi-r3p0.conf │ ├── 90-libvdpau-sunxi.conf │ ├── 90-libmali-sunxi-r3p0.conf.old │ ├── 04-libvdpau.conf │ ├── 07-xf86-video-armsoc.conf │ ├── 06-xf86-video-fbturbo.conf │ ├── SOURCES │ └── README.md ├── blobs │ ├── desktop │ │ ├── skel │ │ │ ├── .local │ │ │ │ └── share │ │ │ │ │ ├── applications │ │ │ │ │ ├── xfce4-about.desktop │ │ │ │ │ ├── armbian-donate.desktop │ │ │ │ │ ├── armbian-support.desktop │ │ │ │ │ └── armbian-config.desktop │ │ │ │ │ └── keyrings │ │ │ │ │ ├── default │ │ │ │ │ └── Default_keyring.keyring │ │ │ └── .config │ │ │ │ ├── xfce4 │ │ │ │ ├── xfconf │ │ │ │ │ └── xfce-perchannel-xml │ │ │ │ │ │ ├── thunar.xml │ │ │ │ │ │ ├── xfce4-notifyd.xml │ │ │ │ │ │ └── xfce4-power-manager.xml │ │ │ │ └── terminal │ │ │ │ │ └── terminalrc │ │ │ │ └── autostart │ │ │ │ └── pasystray.desktop │ │ ├── icons │ │ │ ├── debian.png │ │ │ ├── ubuntu.png │ │ │ └── armbian.png │ │ ├── wallpapers │ │ │ ├── armbian01-old.jpg │ │ │ ├── armbian02-old.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 │ │ │ └── armbian03-Dre0x-Minum-dark-3840x2160.jpg │ │ ├── numix-icon-theme_0.3+922~201711061547~ubuntu16.04.1_all.deb │ │ ├── numix-gtk-theme_2.6.7+670~201710270712~ubuntu17.10.1_all.deb │ │ ├── lightdm │ │ │ ├── lightdm.conf.d │ │ │ │ └── 11-armbian.conf │ │ │ └── lightdm-gtk-greeter.conf │ │ ├── desktop-splash │ │ │ ├── desktop-splash.service │ │ │ └── LICENSE.desktop-splash │ │ ├── xorg.conf.cubox │ │ ├── chromium.conf │ │ ├── firefox.conf │ │ └── chromium │ │ │ └── master_preferences │ ├── splash │ │ ├── udoo.bmp │ │ ├── armbian-desktop.png │ │ ├── armbian-u-boot.bmp │ │ ├── armbian-u-boot-24.bmp │ │ └── armbian-universal.bmp │ ├── udoo │ │ ├── m4clean.fw │ │ ├── m4startup.fw │ │ └── udooneo-bluetooth_1.2-1_armhf.deb │ └── usb-redirector │ │ └── usb-redirector-old.tgz └── bsp │ ├── 10-no-new-privileges.conf │ ├── common │ ├── etc │ │ ├── apt │ │ │ └── apt.conf.d │ │ │ │ ├── no-languages │ │ │ │ ├── 71-no-recommends │ │ │ │ ├── 02-compress-indexes │ │ │ │ └── 02-periodic │ │ ├── modprobe.d │ │ │ └── r8723bs.conf │ │ ├── cron.daily │ │ │ └── log2ram │ │ ├── cron.d │ │ │ └── armbian-updates │ │ ├── default │ │ │ ├── armbian-motd.dpkg-dist │ │ │ └── log2ram.dpkg-dist │ │ ├── profile.d │ │ │ ├── ssh-title.sh │ │ │ ├── check_first_login_reboot.sh │ │ │ └── activate_psd_user.sh │ │ ├── X11 │ │ │ └── xorg.conf.d │ │ │ │ └── 01-armbian-defaults.conf │ │ ├── initramfs │ │ │ └── post-update.d │ │ │ │ └── 99-uboot │ │ ├── update-motd.d │ │ │ ├── 98-autoreboot-warn │ │ │ ├── 99-point-to-faq │ │ │ ├── 35-tips │ │ │ ├── 40-updates │ │ │ ├── 41-armbian-config │ │ │ └── 10-header │ │ ├── network │ │ │ └── interfaces.default │ │ └── kernel │ │ │ └── preinst.d │ │ │ └── initramfs-cleanup │ ├── lib │ │ ├── systemd │ │ │ └── system │ │ │ │ ├── getty@tty1.service.d │ │ │ │ └── 10-noclear.conf │ │ │ │ ├── serial-getty@.service.d │ │ │ │ └── 10-term.conf │ │ │ │ ├── systemd-modules-load.service.d │ │ │ │ └── 10-timeout.conf │ │ │ │ ├── firstrun.service │ │ │ │ ├── resize2fs.service │ │ │ │ ├── log2ram.service │ │ │ │ └── firstrun-config.service │ │ └── udev │ │ │ └── rules.d │ │ │ └── 71-axp-power-button.rules │ ├── var │ │ └── lib │ │ │ └── polkit-1 │ │ │ └── localauthority │ │ │ └── 50-local.d │ │ │ ├── backlight.pkla │ │ │ ├── printing.pkla │ │ │ ├── networkmanager.pkla │ │ │ ├── plugdev.pkla │ │ │ └── power.pkla │ └── usr │ │ └── share │ │ └── log2ram │ │ └── LICENSE │ ├── 10-override-random-mac.conf │ ├── zz-override-wifi-powersave-off.conf │ ├── mpv │ └── mpv_mainline.conf │ └── 99disable-power-management ├── scripts └── amlogic │ ├── mali-aml-8xx │ └── usr │ │ ├── lib │ │ ├── libEGL.so │ │ ├── libEGL.so.1 │ │ ├── libEGL.so.1.4 │ │ ├── libGLESv2.so │ │ ├── libGLESv2.so.2.0 │ │ ├── libGLESv1_CM.so.1.1 │ │ ├── libGLESv2.so.2 │ │ ├── libamcodec.so │ │ ├── libamplayer.so │ │ ├── libGLESv1_CM.so │ │ ├── libGLESv1_CM.so.1 │ │ ├── libMali.so │ │ ├── libamadec.so │ │ ├── libamavutils.so │ │ ├── libamcodec.so.0.0 │ │ └── udev │ │ │ └── rules.d │ │ │ └── 99-amlogic.rules │ │ └── include │ │ ├── codec.h │ │ ├── amcodec │ │ ├── codec.h │ │ ├── audio_priv.h │ │ ├── codec_msg.h │ │ └── codec_error.h │ │ ├── amavutils │ │ ├── Amavutils.h │ │ ├── amaudioutils.h │ │ ├── amutils_common.h │ │ ├── Amdisplayutils.h │ │ ├── Amsysfsutils.h │ │ ├── amlog.h │ │ ├── Amsyswrite.h │ │ ├── amconfigutils.h │ │ └── Amvideoutils.h │ │ ├── amadec │ │ ├── dts_enc.h │ │ ├── dts_transenc_api.h │ │ ├── feeder.h │ │ ├── audiodsp_update_format.h │ │ ├── alsa-out.h │ │ ├── log-print.h │ │ ├── adec-macros.h │ │ ├── pcmenc_api.h │ │ ├── adec_write.h │ │ ├── audio-out.h │ │ ├── spdif_api.h │ │ └── adec-types.h │ │ ├── audio_priv.h │ │ ├── codec_msg.h │ │ ├── ppmgr │ │ └── ppmgr.h │ │ ├── cutils │ │ ├── log.h │ │ └── properties.h │ │ └── codec_error.h │ ├── 905_dtb.img │ ├── 905_uInitrd │ ├── mkbootimg │ ├── 805_fw_setenv │ ├── 905_fw_setenv │ ├── 805_fw_printenv │ ├── 905_fw_printenv │ ├── 805_aml_autoscript │ ├── 905_aml_autoscript │ ├── 805_aml_autoscript.zip │ ├── 905_aml_autoscript.zip │ ├── 905_uEnv.ini │ ├── 905_am_uEnv.ini │ ├── 805_fstab │ ├── 905_fstab │ ├── uEnv-volumio.ini │ ├── 805_hdmi │ ├── 812_hdmi │ ├── 905_hdmi │ ├── ddbr_backup_nand │ ├── ddbr_restore_nand │ ├── ddbr_backup_nand_full │ ├── 805_hdmi_init.sh │ ├── 805_hdmi.sh │ ├── 812_hdmi.sh │ ├── 812_hdmi_init.sh │ ├── qca9377.sh │ ├── 805_fw_env.config │ ├── 905_fw_env.config │ ├── 905_hdmi_init.sh │ ├── 812_hdmi_init_4x.sh │ ├── 905_hdmi_init_4x.sh │ ├── 812_hdmi_4x.sh │ ├── 905_hdmi_4x.sh │ ├── mali-8xx.sh │ ├── aml-mali7.sh │ └── aml-kodi-905.sh ├── .dockerignore ├── patch ├── kernel │ ├── vegas95-default │ │ └── fbtft_drivers.patch │ ├── amlogics905x-next │ │ ├── off_error_text_offset.patch │ │ └── text_offset.patch │ ├── amlogics905x-dev │ │ └── local_version_dev.patch │ └── compiler.patch ├── misc │ └── bananafbtft.patch └── u-boot │ ├── u-boot-vegas805 │ └── ext4-boot-improvements.patch │ └── u-boot-vegas812 │ └── ext4-boot-improvements.patch ├── .gitignore ├── config ├── aptly-temp.conf ├── aptly.conf ├── templates │ ├── fel-boot.cmd.template │ └── fel-hooks.sh.example ├── boards │ ├── vegas805.conf │ ├── vegas812.conf │ ├── aml-s905.conf │ └── amlogic-s905x.conf └── bootscripts │ ├── boot-vegas95_1080.cmd │ └── boot-vegas95_720.cmd ├── .github └── PULL_REQUEST_TEMPLATE.md ├── config-vagrant.conf └── Dockerfile /main.sh: -------------------------------------------------------------------------------- 1 | lib/upgrade.sh -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/dirs: -------------------------------------------------------------------------------- 1 | usr/bin 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/ump.conf: -------------------------------------------------------------------------------- 1 | ump 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libEGL.so: -------------------------------------------------------------------------------- 1 | libEGL.so.1 -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/compat: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libEGL.so.1: -------------------------------------------------------------------------------- 1 | libEGL.so.1.4 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libEGL.so.1.4: -------------------------------------------------------------------------------- 1 | libMali.so -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libGLESv2.so: -------------------------------------------------------------------------------- 1 | libGLESv2.so.2 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libGLESv2.so.2.0: -------------------------------------------------------------------------------- 1 | libMali.so -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/manpages: -------------------------------------------------------------------------------- 1 | man/mmc.1 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libGLESv1_CM.so.1.1: -------------------------------------------------------------------------------- 1 | libMali.so -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libGLESv2.so.2: -------------------------------------------------------------------------------- 1 | libGLESv2.so.2.0 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libamcodec.so: -------------------------------------------------------------------------------- 1 | libamcodec.so.0.0 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libamplayer.so: -------------------------------------------------------------------------------- 1 | libamcodec.so -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | ### output directories 2 | .tmp/ 3 | output/ 4 | cache/ 5 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/applications/xfce4-about.desktop: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/dri2-utils.install: -------------------------------------------------------------------------------- 1 | usr/bin/* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/mmc-utils/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libGLESv1_CM.so: -------------------------------------------------------------------------------- 1 | libGLESv1_CM.so.1 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libGLESv1_CM.so.1: -------------------------------------------------------------------------------- 1 | libGLESv1_CM.so.1.1 -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.local/share/keyrings/default: -------------------------------------------------------------------------------- 1 | Default_keyring 2 | -------------------------------------------------------------------------------- /packages/bsp/10-no-new-privileges.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | NoNewPrivileges=false 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/no-languages: -------------------------------------------------------------------------------- 1 | Acquire::Languages "none"; -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/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/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/clean: -------------------------------------------------------------------------------- 1 | doc/doxygen_sqlite3.db 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/sunxi-tools.docs: -------------------------------------------------------------------------------- 1 | README.md 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/dri2-utils.manpages: -------------------------------------------------------------------------------- 1 | debian/dri2test.1 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/sunxi-mali.conf: -------------------------------------------------------------------------------- 1 | mali 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/mali-sunxi-utils.install: -------------------------------------------------------------------------------- 1 | usr/bin -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/swconfig/debian/patches/series: -------------------------------------------------------------------------------- 1 | add-switch-h.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-fbturbo/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/bsp/10-override-random-mac.conf: -------------------------------------------------------------------------------- 1 | [device] 2 | wifi.scan-rand-mac-address=no 3 | -------------------------------------------------------------------------------- /packages/bsp/zz-override-wifi-powersave-off.conf: -------------------------------------------------------------------------------- 1 | [connection] 2 | wifi.powersave = 2 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/libdri2-1.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libdri2.so.* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/patches/series: -------------------------------------------------------------------------------- 1 | add-install-target.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/mali-sunxi-utils.install: -------------------------------------------------------------------------------- 1 | usr/bin -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | %: 4 | dh $@ 5 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libcedrus.so.* 2 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/modprobe.d/r8723bs.conf: -------------------------------------------------------------------------------- 1 | options r8723bs rtw_power_mgnt=0 rtw_enusbss=0 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/fswebcam-gc2035/debian/patches/series: -------------------------------------------------------------------------------- 1 | 01-Use-kernel-headers.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/guvcview.install: -------------------------------------------------------------------------------- 1 | usr/bin/guvcview 2 | usr/share/* 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/patches/series: -------------------------------------------------------------------------------- 1 | update-manpage 2 | ffmpeg_2.9.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/libump.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="ump", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/patches/series: -------------------------------------------------------------------------------- 1 | redo-csc-calculations.patch 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/patches/series: -------------------------------------------------------------------------------- 1 | add-header.patch 2 | fix-makefile.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/libguvcview-1.1-1.install: -------------------------------------------------------------------------------- 1 | debian/tmp/usr/lib/*/lib*.so.* 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau-sunxi/debian/profile.d/99-vdpau.sh: -------------------------------------------------------------------------------- 1 | export VDPAU_DRIVER=sunxi 2 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/sunxi-tools/debian/sunxi-tools.dirs: -------------------------------------------------------------------------------- 1 | usr/bin 2 | usr/share/sunxi-tools 3 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/cron.daily/log2ram: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | /usr/sbin/log2ram write >/dev/null 2>&1 4 | -------------------------------------------------------------------------------- /packages/bsp/mpv/mpv_mainline.conf: -------------------------------------------------------------------------------- 1 | # HW acceleration is not supported on this platform yet 2 | vo=x11 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.manpages: -------------------------------------------------------------------------------- 1 | hostapd/hostapd.8 2 | hostapd/hostapd_cli.1 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/libump.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libUMP.so.* 2 | etc/modules-load.d/* 3 | -------------------------------------------------------------------------------- /scripts/amlogic/905_dtb.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/905_dtb.img -------------------------------------------------------------------------------- /scripts/amlogic/905_uInitrd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/905_uInitrd -------------------------------------------------------------------------------- /scripts/amlogic/mkbootimg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mkbootimg -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/getty@tty1.service.d/10-noclear.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | TTYVTDisallocate=no 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/source/options: -------------------------------------------------------------------------------- 1 | compression = "xz" 2 | compression-level = 6 3 | -------------------------------------------------------------------------------- /scripts/amlogic/805_fw_setenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/805_fw_setenv -------------------------------------------------------------------------------- /scripts/amlogic/905_fw_setenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/905_fw_setenv -------------------------------------------------------------------------------- /packages/blobs/splash/udoo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/splash/udoo.bmp -------------------------------------------------------------------------------- /packages/blobs/udoo/m4clean.fw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/udoo/m4clean.fw -------------------------------------------------------------------------------- /packages/blobs/udoo/m4startup.fw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/udoo/m4startup.fw -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/serial-getty@.service.d/10-term.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | Environment=TERM=linux 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1-dev.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libcedrus.so 2 | usr/include/cedrus 3 | -------------------------------------------------------------------------------- /scripts/amlogic/805_fw_printenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/805_fw_printenv -------------------------------------------------------------------------------- /scripts/amlogic/905_fw_printenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/905_fw_printenv -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/71-no-recommends: -------------------------------------------------------------------------------- 1 | APT::Install-Recommends "0"; 2 | APT::Install-Suggests "0"; 3 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/systemd-modules-load.service.d/10-timeout.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | TimeoutStopSec=10 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.manpages: -------------------------------------------------------------------------------- 1 | hostapd/hostapd.8 2 | hostapd/hostapd_cli.1 3 | -------------------------------------------------------------------------------- /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.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="mali", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /scripts/amlogic/805_aml_autoscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/805_aml_autoscript -------------------------------------------------------------------------------- /scripts/amlogic/905_aml_autoscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/905_aml_autoscript -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/patches/series: -------------------------------------------------------------------------------- 1 | session-ticket.patch 2 | 300-noscan.patch 3 | realtek.patch 4 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd/debian/hostapd.install: -------------------------------------------------------------------------------- 1 | hostapd/hostapd usr/sbin/ 2 | hostapd/hostapd_cli usr/sbin/ 3 | -------------------------------------------------------------------------------- /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.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="mali", MODE="0660", GROUP="video" 2 | -------------------------------------------------------------------------------- /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/debian/patches/series: -------------------------------------------------------------------------------- 1 | fix-makefiles.patch 2 | fix-makefiles-submodule.patch 3 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libvdpau/debian/libvdpau-dev.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libvdpau.so 2 | usr/lib/*/pkgconfig 3 | usr/include 4 | -------------------------------------------------------------------------------- /packages/blobs/desktop/icons/debian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/icons/debian.png -------------------------------------------------------------------------------- /packages/blobs/desktop/icons/ubuntu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/icons/ubuntu.png -------------------------------------------------------------------------------- /packages/bsp/common/etc/apt/apt.conf.d/02-compress-indexes: -------------------------------------------------------------------------------- 1 | Acquire::GzipIndexes "true"; 2 | Acquire::CompressionTypes::Order:: "gz"; -------------------------------------------------------------------------------- /packages/extras-buildpkgs/buildpkg.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/extras-buildpkgs/buildpkg.gpg -------------------------------------------------------------------------------- /scripts/amlogic/805_aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/805_aml_autoscript.zip -------------------------------------------------------------------------------- /scripts/amlogic/905_aml_autoscript.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/905_aml_autoscript.zip -------------------------------------------------------------------------------- /packages/blobs/desktop/icons/armbian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/icons/armbian.png -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/splash/armbian-desktop.png -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-u-boot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/splash/armbian-u-boot.bmp -------------------------------------------------------------------------------- /packages/bsp/common/etc/cron.d/armbian-updates: -------------------------------------------------------------------------------- 1 | @reboot root /usr/lib/armbian/apt-updates 2 | @daily root /usr/lib/armbian/apt-updates 3 | -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-u-boot-24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/splash/armbian-u-boot-24.bmp -------------------------------------------------------------------------------- /packages/blobs/splash/armbian-universal.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/splash/armbian-universal.bmp -------------------------------------------------------------------------------- /packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.install: -------------------------------------------------------------------------------- 1 | hostapd/hostapd usr/sbin/ 2 | hostapd/hostapd_cli usr/sbin/ 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/buildpkg-public.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/extras-buildpkgs/buildpkg-public.gpg -------------------------------------------------------------------------------- /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/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/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/xserver-xorg-video-armsoc-sun4i.install: -------------------------------------------------------------------------------- 1 | debian/80-armsoc-sun4i.conf /etc/X11/xorg.conf.d/ 2 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libMali.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mali-aml-8xx/usr/lib/libMali.so -------------------------------------------------------------------------------- /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/sunxi-tools/debian/sunxi-tools.udev: -------------------------------------------------------------------------------- 1 | SUBSYSTEMS=="usb", ATTR{idVendor}=="1f3a", ATTR{idProduct}=="efe8", GROUP="sunxi-fel" 2 | -------------------------------------------------------------------------------- /patch/kernel/vegas95-default/fbtft_drivers.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/patch/kernel/vegas95-default/fbtft_drivers.patch -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mali-aml-8xx/usr/include/codec.h -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libamadec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mali-aml-8xx/usr/lib/libamadec.so -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian01-old.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian01-old.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian02-old.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian02-old.jpg -------------------------------------------------------------------------------- /packages/blobs/usb-redirector/usb-redirector-old.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/usb-redirector/usb-redirector-old.tgz -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/libcedrus1.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="cedar_dev", MODE="0660", GROUP="video" 2 | KERNEL=="ion", MODE="0660", GROUP="video" 3 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libamavutils.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mali-aml-8xx/usr/lib/libamavutils.so -------------------------------------------------------------------------------- /packages/blobs/udoo/udooneo-bluetooth_1.2-1_armhf.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/udoo/udooneo-bluetooth_1.2-1_armhf.deb -------------------------------------------------------------------------------- /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/libvdpau-sunxi/debian/libvdpau-sunxi1.udev: -------------------------------------------------------------------------------- 1 | KERNEL=="disp", MODE="0660", GROUP="video" 2 | KERNEL=="g2d", MODE="0660", GROUP="video" 3 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/libamcodec.so.0.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mali-aml-8xx/usr/lib/libamcodec.so.0.0 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amcodec/codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/scripts/amlogic/mali-aml-8xx/usr/include/amcodec/codec.h -------------------------------------------------------------------------------- /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/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/blobs/desktop/wallpapers/armbian04-chzbacon-Micro-SD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian04-chzbacon-Micro-SD.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian05-chzbacon-Linen-Dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian05-chzbacon-Linen-Dark.jpg -------------------------------------------------------------------------------- /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/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/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/wallpapers/armbian06-1430-very-dark-1280x1024.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1280x1024.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1440x1080.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1440x1080.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1650x1050.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-1650x1050.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-3840x2160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian06-1430-very-dark-3840x2160.jpg -------------------------------------------------------------------------------- /packages/blobs/desktop/wallpapers/armbian07-username-dark-3840x2160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian07-username-dark-3840x2160.jpg -------------------------------------------------------------------------------- /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/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/blobs/desktop/wallpapers/armbian03-Dre0x-Minum-dark-3840x2160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/wallpapers/armbian03-Dre0x-Minum-dark-3840x2160.jpg -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/905_uEnv.ini: -------------------------------------------------------------------------------- 1 | bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=${mac} 2 | -------------------------------------------------------------------------------- /packages/blobs/desktop/numix-icon-theme_0.3+922~201711061547~ubuntu16.04.1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/numix-icon-theme_0.3+922~201711061547~ubuntu16.04.1_all.deb -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/905_am_uEnv.ini: -------------------------------------------------------------------------------- 1 | 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 mac=${mac} 2 | -------------------------------------------------------------------------------- /packages/blobs/desktop/numix-gtk-theme_2.6.7+670~201710270712~ubuntu17.10.1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/build/amlogic/packages/blobs/desktop/numix-gtk-theme_2.6.7+670~201710270712~ubuntu17.10.1_all.deb -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/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/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/blobs/desktop/lightdm/lightdm.conf.d/11-armbian.conf: -------------------------------------------------------------------------------- 1 | [SeatDefaults] 2 | #autologin-user= 3 | #autologin-user-timeout=15 4 | user-session=ubuntu 5 | greeter-show-manual-login=true 6 | greeter-hide-users=false 7 | allow-guest=false 8 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/profile.d/ssh-title.sh: -------------------------------------------------------------------------------- 1 | if [ -n "$PS1" ] && ( [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] ); then 2 | tput tsl > /dev/null 3 | if [ "$?" -eq 0 ]; then 4 | echo `tput tsl` `whoami`@`hostname` `tput fsl` 5 | fi 6 | fi -------------------------------------------------------------------------------- /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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/Amavutils.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef AMAV_UTILS_H 3 | #define AMAV_UTILS_H 4 | 5 | #include "Amsysfsutils.h" 6 | #include "Amdisplayutils.h" 7 | #include "Amvideoutils.h" 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /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/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/blobs/desktop/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/805_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 | -------------------------------------------------------------------------------- /scripts/amlogic/905_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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/dts_enc.h: -------------------------------------------------------------------------------- 1 | #ifndef DTS_ENC_H 2 | #define DTS_ENC_H 3 | int dtsenc_init(); 4 | int dtsenc_start(); 5 | int dtsenc_pause(); 6 | int dtsenc_resume(); 7 | int dtsenc_stop(); 8 | int dtsenc_release(); 9 | 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/amaudioutils.h: -------------------------------------------------------------------------------- 1 | #ifndef AMAUDIO_UTILS_H 2 | #define AMAUDIO_UTILS_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | 9 | #ifdef __cplusplus 10 | } 11 | #endif 12 | 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/uEnv-volumio.ini: -------------------------------------------------------------------------------- 1 | bootargs=imgpart=LABEL=volumio imgfile=/volumio_current.sqsh bootpart=LABEL=BOOT datapart=LABEL=volumio_data rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=${mac} bootdelay=10 2 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/profile.d/check_first_login_reboot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # only do this for interactive shells 4 | if [ "$-" != "${-#*i}" ]; then 5 | printf "\n" 6 | if [ -f "/var/run/.reboot_required" ]; then 7 | printf "[\e[0;91m Kernel was updated, please reboot\x1B[0m ]\n\n" 8 | fi 9 | fi -------------------------------------------------------------------------------- /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 7 | screensaver-timeout = 0 8 | font-name = Sans 11 9 | user-background = false -------------------------------------------------------------------------------- /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/.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/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/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/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/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.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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/blobs/desktop/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/amutils_common.h: -------------------------------------------------------------------------------- 1 | #ifndef AMUTILS_COMMON_H 2 | #define AMUTILS_COMMON_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | int set_sys_int(const char *path,int val); 9 | int get_sysfs_int(const char *path); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /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/bsp/common/etc/default/log2ram.dpkg-dist: -------------------------------------------------------------------------------- 1 | # configuration values for the log2ram service 2 | # 3 | # enable the log2ram service? 4 | ENABLED=true 5 | # 6 | # size of the tmpfs mount 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 | # 14 | -------------------------------------------------------------------------------- /scripts/amlogic/805_hdmi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | PREREQ="" 6 | 7 | prereqs() 8 | { 9 | echo "${PREREQ}" 10 | } 11 | 12 | case "${1}" in 13 | prereqs) 14 | prereqs 15 | exit 0 16 | ;; 17 | esac 18 | 19 | . /usr/share/initramfs-tools/hook-functions 20 | 21 | if [ -x /bin/fbset ] 22 | then 23 | copy_exec /bin/fbset /bin 24 | copy_exec /bin/hdmi_init.sh /bin 25 | fi 26 | -------------------------------------------------------------------------------- /scripts/amlogic/812_hdmi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | PREREQ="" 6 | 7 | prereqs() 8 | { 9 | echo "${PREREQ}" 10 | } 11 | 12 | case "${1}" in 13 | prereqs) 14 | prereqs 15 | exit 0 16 | ;; 17 | esac 18 | 19 | . /usr/share/initramfs-tools/hook-functions 20 | 21 | if [ -x /bin/fbset ] 22 | then 23 | copy_exec /bin/fbset /bin 24 | copy_exec /bin/hdmi_init.sh /bin 25 | fi 26 | -------------------------------------------------------------------------------- /scripts/amlogic/905_hdmi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | PREREQ="" 6 | 7 | prereqs() 8 | { 9 | echo "${PREREQ}" 10 | } 11 | 12 | case "${1}" in 13 | prereqs) 14 | prereqs 15 | exit 0 16 | ;; 17 | esac 18 | 19 | . /usr/share/initramfs-tools/hook-functions 20 | 21 | if [ -x /bin/fbset ] 22 | then 23 | copy_exec /bin/fbset /bin 24 | copy_exec /bin/hdmi_init.sh /bin 25 | fi 26 | -------------------------------------------------------------------------------- /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/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/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 | ln -sf $(basename $tempname) /boot/uInitrd > /dev/null 2>&1 || mv $tempname /boot/uInitrd 9 | exit 0 10 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/98-autoreboot-warn: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # DO NOT EDIT THIS FILE 4 | # any changes will be lost on board support package update 5 | 6 | if [[ -f /var/run/resize2fs-reboot ]]; then 7 | printf "\e[0;91mWarning: a reboot is needed to finish resizing the filesystem \x1B[0m \n" 8 | printf "\e[0;91mPlease reboot the system as soon as possible \x1B[0m \n" 9 | fi 10 | -------------------------------------------------------------------------------- /patch/kernel/amlogics905x-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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/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 | -------------------------------------------------------------------------------- /scripts/amlogic/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /.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 | 20 | ### General annoyances ### 21 | .DS_Store 22 | -------------------------------------------------------------------------------- /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 | # needs to be added to the repository first 16 | false 17 | } 18 | -------------------------------------------------------------------------------- /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/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/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/bsp/common/lib/systemd/system/firstrun.service: -------------------------------------------------------------------------------- 1 | # Armbian firstrun service 2 | # Creates the swap file, regenerates the SSH keys, 3 | # performs additional first run tweaks 4 | # This service will run in parallel with other services 5 | 6 | [Unit] 7 | Description=Armbian first run tasks 8 | Before=getty.target system-getty.slice 9 | 10 | [Service] 11 | Type=simple 12 | RemainAfterExit=yes 13 | ExecStart=/bin/bash /etc/init.d/firstrun start 14 | 15 | [Install] 16 | WantedBy=multi-user.target 17 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/Amdisplayutils.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef AMDISPLAY_UTILS_H 3 | #define AMDISPLAY_UTILS_H 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | int amdisplay_utils_get_size(int *width, int *height); 9 | int amdisplay_utils_get_size_fb2(int *width, int *height); 10 | 11 | /*scale osd mode ,only support x1 x2*/ 12 | int amdisplay_utils_set_scale_mode(int scale_wx, int scale_hx); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/audio_priv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file audio_priv.h 3 | * @brief Funtion prototypes of audio lib 4 | * @author Zhang Chen 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | #ifndef CODEC_PRIV_H_ 13 | #define CODEC_PRIV_H_ 14 | void audio_start(void **priv, codec_para_t *pcodec); 15 | void audio_stop(void **priv); 16 | void audio_pause(void *priv); 17 | void audio_resume(void *priv); 18 | #endif 19 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amcodec/audio_priv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file audio_priv.h 3 | * @brief Funtion prototypes of audio lib 4 | * @author Zhang Chen 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | #ifndef CODEC_PRIV_H_ 13 | #define CODEC_PRIV_H_ 14 | void audio_start(void **priv, codec_para_t *pcodec); 15 | void audio_stop(void **priv); 16 | void audio_pause(void *priv); 17 | void audio_resume(void *priv); 18 | #endif 19 | -------------------------------------------------------------------------------- /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 | "downloadSourcePackages": false, 13 | "ppaDistributorID": "ubuntu", 14 | "ppaCodename": "", 15 | "S3PublishEndpoints": {}, 16 | "SwiftPublishEndpoints": {} 17 | } -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/99-point-to-faq: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # DO NOT EDIT THIS FILE 4 | # any changes will be lost on board support package update 5 | 6 | THIS_SCRIPT="point-to-faq" 7 | MOTD_DISABLE="" 8 | 9 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 10 | 11 | for f in $MOTD_DISABLE; do 12 | [[ $f == $THIS_SCRIPT ]] && exit 0 13 | done 14 | 15 | . /etc/armbian-release 16 | 17 | printf "New to Armbian? Check the documentation first: \e[0;92mhttps://docs.armbian.com\x1B[0m\n" 18 | 19 | (sleep 1 && rm "$0") & 20 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/resize2fs.service: -------------------------------------------------------------------------------- 1 | # Armbian resize2fs service 2 | # Resizes partition and filesystem on first/second boot 3 | # This service may block the boot process for up to 5 minutes 4 | 5 | [Unit] 6 | Description=Armbian filesystem resize service 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=/bin/bash /etc/init.d/resize2fs start 15 | TimeoutStartSec=5min 16 | 17 | [Install] 18 | WantedBy=basic.target 19 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/codec_msg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file codec_msg.h 3 | * @brief Function prototype of codec error 4 | * @author Zhang Chen 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | #ifndef CODEC_MSG_H 13 | #define CODEC_MSG_H 14 | 15 | const char * codec_error_msg(int error); 16 | int system_error_to_codec_error(int error); 17 | void print_error_msg(int error, int syserr, char *func, int line); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amcodec/codec_msg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file codec_msg.h 3 | * @brief Function prototype of codec error 4 | * @author Zhang Chen 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | #ifndef CODEC_MSG_H 13 | #define CODEC_MSG_H 14 | 15 | const char * codec_error_msg(int error); 16 | int system_error_to_codec_error(int error); 17 | void print_error_msg(int error, int syserr, char *func, int line); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/bsp/common/lib/systemd/system/log2ram.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Armbian enhanced Log2Ram 3 | DefaultDependencies=no 4 | Before=rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target 5 | After=local-fs.target 6 | Conflicts=shutdown.target 7 | RequiresMountsFor=/var/log /var/log.hdd 8 | IgnoreOnIsolate=yes 9 | 10 | [Service] 11 | Type=oneshot 12 | ExecStart=/usr/sbin/log2ram start 13 | ExecStop=/usr/sbin/log2ram stop 14 | ExecReload=/usr/sbin/log2ram write 15 | RemainAfterExit=yes 16 | 17 | [Install] 18 | WantedBy=sysinit.target 19 | -------------------------------------------------------------------------------- /packages/bsp/common/lib/systemd/system/firstrun-config.service: -------------------------------------------------------------------------------- 1 | # Armbian firstrun config 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=/bin/bash /usr/lib/armbian/firstrun-config.sh 15 | 16 | [Install] 17 | WantedBy=multi-user.target 18 | -------------------------------------------------------------------------------- /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/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_6" 5 | local package_upstream_version="2:2.6-4" 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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/dts_transenc_api.h: -------------------------------------------------------------------------------- 1 | // $Id: DTSTranscode1m5.h,v 1.14 2007-08-09 01:41:03 dyee Exp $ 2 | #ifndef DTSTRANSCODE1M5_H_INCLUDED 3 | #define DTSTRANSCODE1M5_H_INCLUDED 4 | 5 | /*typedef struct pcm51_encoded_info_s 6 | { 7 | unsigned int InfoValidFlag; 8 | unsigned int SampFs; 9 | unsigned int NumCh; 10 | unsigned int AcMode; 11 | unsigned int LFEFlag; 12 | unsigned int BitsPerSamp; 13 | }pcm51_encoded_info_t;*/ 14 | 15 | int dts_transenc_init(); 16 | int dts_transenc_process_frame(); 17 | int dts_transenc_deinit(); 18 | 19 | #endif // DTSTRANSCODE1M5_H_INCLUDED 20 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.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 | - 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, 6 | - patch file names don't contain spaces and have less than 40 characters (not counting the `.patch` extension), 7 | - changes are properly described - what was done exactly and why. 8 | 9 | Thanks for contributing! Please remove the text above before opening a pull request. 10 | -------------------------------------------------------------------------------- /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/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/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.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 | -------------------------------------------------------------------------------- /scripts/amlogic/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/common/etc/update-motd.d/35-tips: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # DO NOT EDIT THIS FILE 4 | # any changes will be lost on board support package update 5 | 6 | THIS_SCRIPT="tips" 7 | MOTD_DISABLE="" 8 | 9 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 10 | 11 | for f in $MOTD_DISABLE; do 12 | [[ $f == $THIS_SCRIPT ]] && exit 0 13 | done 14 | 15 | quotes="/etc/update-motd.d/quotes.txt" 16 | if [[ -f $quotes ]]; then 17 | random_line=$(shuf -i 1-$(wc -l < $quotes) -n 1) 18 | quote=$(sed -n -e "$random_line"p $quotes) 19 | [[ -n $quote ]] && echo -e "\e[93mTip of the day:\e[39m $quote\n" 20 | fi 21 | -------------------------------------------------------------------------------- /config/boards/vegas805.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S805 2 | BOARD_NAME="S805" 3 | BOARDFAMILY=vegas805 4 | BOOTCONFIG_DEFAULT=odroidc_config 5 | # 6 | MODULES="bonding aml_nftl_dev" 7 | MODULES_NEXT="" 8 | # 9 | KERNEL_TARGET="default,next,dev" 10 | CLI_TARGET="stretch,xenial:default,next" 11 | DESKTOP_TARGET="xenial:default,next" 12 | SERIALCON=ttyS0 13 | # 14 | CLI_BETA_TARGET="xenial:dev" 15 | DESKTOP_BETA_TARGET="xenial:dev" 16 | # 17 | RECOMMENDED="Ubuntu_xenial_default_desktop:90,Debian_jessie_default:90" 18 | # 19 | BOARDRATING="" 20 | HARDWARE="http://docs.armbian.com/board_details/odroidc2/" 21 | FORUMS="http://forum.armbian.com/index.php/forum/16-amlogic/" 22 | -------------------------------------------------------------------------------- /config/boards/vegas812.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S812 2 | BOARD_NAME="S812" 3 | BOARDFAMILY=vegas812 4 | BOOTCONFIG_DEFAULT=odroidc_config 5 | # 6 | MODULES="bonding aml_nftl_dev" 7 | MODULES_NEXT="" 8 | # 9 | KERNEL_TARGET="default,next,dev" 10 | CLI_TARGET="stretch,xenial:default,next" 11 | DESKTOP_TARGET="xenial:default,next" 12 | SERIALCON=ttyS0 13 | # 14 | CLI_BETA_TARGET="xenial:dev" 15 | DESKTOP_BETA_TARGET="xenial:dev" 16 | # 17 | RECOMMENDED="Ubuntu_xenial_default_desktop:90,Debian_jessie_default:90" 18 | # 19 | BOARDRATING="" 20 | HARDWARE="http://docs.armbian.com/board_details/odroidc2/" 21 | FORUMS="http://forum.armbian.com/index.php/forum/16-amlogic/" 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 | -------------------------------------------------------------------------------- /patch/kernel/amlogics905x-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 | @@ -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 | -------------------------------------------------------------------------------- /scripts/amlogic/805_hdmi_init.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo 0 > /sys/class/ppmgr/ppscaler 4 | echo 0 > /sys/class/graphics/fb0/free_scale 5 | echo 1 > /sys/class/graphics/fb0/freescale_mode 6 | echo 0 > /sys/class/graphics/fb1/free_scale 7 | 8 | echo "720p" > /sys/class/display/mode 9 | fbset -fb /dev/fb0 -g 1280 720 1280 1440 24 10 | echo 0 > /sys/class/graphics/fb0/blank 11 | echo 1 > /sys/class/graphics/fb1/blank 12 | 13 | echo "1080p" > /sys/class/display/mode 14 | fbset -fb /dev/fb0 -g 1920 1080 1920 2160 24 15 | echo 0 > /sys/class/graphics/fb0/blank 16 | echo 1 > /sys/class/graphics/fb1/blank 17 | 18 | #echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink 19 | -------------------------------------------------------------------------------- /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/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/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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/Amsysfsutils.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef AMSYSFS_UTILS_H 3 | #define AMSYSFS_UTILS_H 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | int amsysfs_set_sysfs_str(const char *path, const char *val); 9 | int amsysfs_get_sysfs_str(const char *path, char *valstr, int size); 10 | int amsysfs_set_sysfs_int(const char *path, int val); 11 | int amsysfs_get_sysfs_int(const char *path); 12 | int amsysfs_set_sysfs_int16(const char *path, int val); 13 | int amsysfs_get_sysfs_int16(const char *path); 14 | unsigned long amsysfs_get_sysfs_ulong(const char *path); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /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/bsp/common/etc/apt/apt.conf.d/02-periodic: -------------------------------------------------------------------------------- 1 | // Enable the update/upgrade script (0=disable) 2 | APT::Periodic::Enable "1"; 3 | 4 | // Do "apt-get update" automatically every n-days (0=disable) 5 | APT::Periodic::Update-Package-Lists "7"; 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 "1"; 15 | 16 | // Do "apt-get autoclean" every n-days (0=disable) 17 | APT::Periodic::AutocleanInterval "21"; 18 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/40-updates: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # DO NOT EDIT THIS FILE 4 | # any changes will be lost on board support package update 5 | 6 | THIS_SCRIPT="updates" 7 | MOTD_DISABLE="" 8 | 9 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 10 | 11 | for f in $MOTD_DISABLE; do 12 | [[ $f == $THIS_SCRIPT ]] && exit 0 13 | done 14 | 15 | NUM_UPDATES=0 16 | 17 | [[ -f /var/cache/apt/archives/updates.number ]] && . /var/cache/apt/archives/updates.number 18 | 19 | if [[ $NUM_UPDATES -gt 0 ]]; then 20 | echo -e "[\e[31m $NUM_SECURITY_UPDATES security updates available, $NUM_UPDATES updates total\e[0m: \e[1mapt upgrade\e[0m ]" 21 | echo -e "Last check: \e[92m$DATE\e[0m" 22 | echo 23 | fi 24 | -------------------------------------------------------------------------------- /config/boards/aml-s905.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S905 2 | BOARD_NAME="S905" 3 | BOARDFAMILY="aml-s905" 4 | BOOTCONFIG_DEFAULT="kvim_config" 5 | BOOTCONFIG_NEXT="kvim_config" 6 | BOOTCONFIG_DEV="kvim_config" 7 | # 8 | MODULES="aml_nftl_dev" 9 | MODULES_NEXT="aml_nftl_dev" 10 | # 11 | KERNEL_TARGET="default,next,dev" 12 | CLI_TARGET="stretch,xenial:default,next,dev" 13 | DESKTOP_TARGET="xenial:default,next,dev" 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/board_details/odroidc2/" 23 | FORUMS="http://forum.armbian.com/index.php/forum/16-amlogic/" 24 | -------------------------------------------------------------------------------- /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"); -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/feeder.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file feeder.h 3 | * \brief Some Macros for Feeder 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef FEEDER_H 12 | #define FEEDER_H 13 | 14 | #include 15 | 16 | ADEC_BEGIN_DECLS 17 | 18 | #define FORMAT_PATH "/sys/class/astream/format" 19 | #define CHANNUM_PATH "/sys/class/astream/channum" 20 | #define SAMPLE_RATE_PATH "/sys/class/astream/samplerate" 21 | #define DATAWIDTH_PATH "/sys/class/astream/datawidth" 22 | #define AUDIOPTS_PATH "/sys/class/astream/pts" 23 | 24 | ADEC_END_DECLS 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /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 ]] 14 | } 15 | 16 | package_checkinstall() 17 | { 18 | [[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]] 19 | } 20 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/amlog.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file log-print.h 3 | * \brief Definitiond Of Print Functions 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef AM_LOG_H 12 | #define AM_LOG_H 13 | #include 14 | #ifndef LOGD 15 | #ifdef ANDROID 16 | #include 17 | #define LOGV ALOGV 18 | #define LOGD ALOGD 19 | #define LOGI ALOGI 20 | #define LOGW ALOGW 21 | #define LOGE ALOGE 22 | #else 23 | #define LOGV printf 24 | #define LOGD printf 25 | #define LOGI printf 26 | #define LOGW printf 27 | #define LOGE printf 28 | #endif 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /config/boards/amlogic-s905x.conf: -------------------------------------------------------------------------------- 1 | # Amlogic S9xxx 2 | BOARD_NAME="S9xxx" 3 | BOARDFAMILY="amlogics905x" 4 | BOOTCONFIG_DEFAULT="kvim2_config" 5 | BOOTCONFIG_NEXT="kvim2_config" 6 | BOOTCONFIG_DEV="kvim2_config" 7 | # 8 | MODULES="aml_nftl_dev" 9 | MODULES_NEXT="aml_nftl_dev" 10 | # 11 | KERNEL_TARGET="default,next,dev" 12 | CLI_TARGET="stretch,xenial:default,next" 13 | DESKTOP_TARGET="xenial:default,next" 14 | SERIALCON=ttyAML0 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/board_details/odroidc2/" 23 | FORUMS="http://forum.armbian.com/index.php/forum/16-amlogic/" 24 | -------------------------------------------------------------------------------- /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.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/hostapd/debian/patches/series: -------------------------------------------------------------------------------- 1 | session-ticket.patch 2 | 0002-Check-for-NULL-qsort-base-pointers.patch 3 | 0005-nl80211-Update-channel-information-after-channel-swi.patch 4 | 0006-Extend-ieee80211_freq_to_channel_ext-to-cover-channe.patch 5 | 300-noscan.patch 6 | 2017-1/0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch 7 | 2017-1/0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch 8 | 2017-1/0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch 9 | 2017-1/0005-Prevent-installation-of-an-all-zero-TK.patch 10 | 2017-1/0006-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch 11 | 2017-1/0007-TDLS-Reject-TPK-TK-reconfiguration.patch 12 | 2017-1/0011-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch 13 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/update-motd.d/41-armbian-config: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # DO NOT EDIT THIS FILE 4 | # any changes will be lost on board support package update 5 | 6 | THIS_SCRIPT="armbian-config" 7 | MOTD_DISABLE="" 8 | 9 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 10 | 11 | for f in $MOTD_DISABLE; do 12 | [[ $f == $THIS_SCRIPT ]] && exit 0 13 | done 14 | 15 | if [[ $(( $RANDOM % 2 )) == 0 ]]; then 16 | if [[ -f /usr/sbin/armbian-config ]]; then 17 | echo -e "[\e[31m General system configuration (beta)\e[0m: \e[1marmbian-config\e[0m ]\n" 18 | else 19 | echo -e "[\e[31m Menu-driven system configuration (beta)\e[0m: \e[1msudo apt update && sudo apt install armbian-config\e[0m ]\n" 20 | fi 21 | fi 22 | 23 | exit 0 24 | 25 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/audiodsp_update_format.h: -------------------------------------------------------------------------------- 1 | #ifndef __AUDIODSP_UPDATE_FORMAT_H__ 2 | #define __AUDIODSP_UPDATE_FORMAT_H__ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | 18 | void adec_reset_track_enable(int enable_flag); 19 | void adec_reset_track(aml_audio_dec_t *audec); 20 | int audiodsp_format_update(aml_audio_dec_t *audec); 21 | void audiodsp_set_format_changed_flag( int val); 22 | 23 | int audiodsp_get_pcm_left_len(); 24 | 25 | #endif -------------------------------------------------------------------------------- /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/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="2: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-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/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/bsp/common/etc/update-motd.d/10-header: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # DO NOT EDIT THIS FILE 4 | # any changes will be lost on board support package update 5 | 6 | THIS_SCRIPT="header" 7 | MOTD_DISABLE="" 8 | 9 | [[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd 10 | 11 | for f in $MOTD_DISABLE; do 12 | [[ $f == $THIS_SCRIPT ]] && exit 0 13 | done 14 | 15 | . /etc/os-release 16 | . /etc/armbian-release 17 | 18 | KERNELID=$(uname -r) 19 | 20 | if [ $(echo $BOARD_NAME | wc -c) -ge 18 ]; then 21 | TERM=linux toilet -f standard -F metal $(echo $BOARD_NAME | sed 's/Orange Pi/OPi/') 22 | else 23 | TERM=linux toilet -f standard -F metal $BOARD_NAME 24 | fi 25 | 26 | printf '\nWelcome to \e[0;91mARMBIAN\x1B[0m %s %s %s %s\n' "$VERSION $IMAGE_TYPE $PRETTY_NAME $KERNELID" 27 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/alsa-out.h: -------------------------------------------------------------------------------- 1 | #ifndef ALSA_OUT_H 2 | #define ALSA_OUT_H 3 | 4 | #define PCM_DEVICE_DEFAULT "default" 5 | #define OUTPUT_BUFFER_SIZE (8*1024) 6 | 7 | typedef struct { 8 | pthread_t playback_tid; 9 | pthread_mutex_t playback_mutex; 10 | pthread_cond_t playback_cond; 11 | snd_pcm_t *handle; 12 | snd_pcm_format_t format; 13 | size_t bits_per_sample; 14 | size_t bits_per_frame; 15 | int buffer_size; 16 | unsigned int channelcount; 17 | unsigned int rate; 18 | int oversample; 19 | int realchanl; 20 | int flag; 21 | int stop_flag; 22 | int pause_flag; 23 | int wait_flag; 24 | } alsa_param_t; 25 | int dummy_alsa_control(char * id_string , long vol, int rw, long * value); 26 | #endif 27 | -------------------------------------------------------------------------------- /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 ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ $LINUXFAMILY == sun*i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/ppmgr/ppmgr.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file ppmgr.h 3 | * @brief Porting from ppmgr driver for codec ioctl commands 4 | * @author Tim Yao 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | 13 | #ifndef PPMGR_H 14 | #define PPMGR_H 15 | 16 | #define PPMGR_IOC_MAGIC 'P' 17 | //#define PPMGR_IOC_2OSD0 _IOW(PPMGR_IOC_MAGIC, 0x00, unsigned int) 18 | //#define PPMGR_IOC_ENABLE_PP _IOW(PPMGR_IOC_MAGIC,0X01,unsigned int) 19 | //#define PPMGR_IOC_CONFIG_FRAME _IOW(PPMGR_IOC_MAGIC,0X02,unsigned int) 20 | #define PPMGR_IOC_GET_ANGLE _IOR(PPMGR_IOC_MAGIC,0X03,unsigned long) 21 | #define PPMGR_IOC_SET_ANGLE _IOW(PPMGR_IOC_MAGIC,0X04,unsigned long) 22 | 23 | #endif /* PPMGR_H */ 24 | 25 | -------------------------------------------------------------------------------- /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 ]] 16 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == default && $BUILD_DESKTOP == yes ]] 21 | } 22 | -------------------------------------------------------------------------------- /patch/u-boot/u-boot-vegas805/ext4-boot-improvements.patch: -------------------------------------------------------------------------------- 1 | diff --git a/board/hardkernel/odroidc/cfgload.c b/board/hardkernel/odroidc/cfgload.c 2 | index cbe1871..36c06e3 100644 3 | --- a/board/hardkernel/odroidc/cfgload.c 4 | +++ b/board/hardkernel/odroidc/cfgload.c 5 | @@ -33,8 +33,8 @@ static char *load_cmd = 6 | " then echo Loading boot.ini from mmc0:1 (vfat);" 7 | " else if ext4load mmc 0:1 $loadaddr /boot/boot.ini;" 8 | " then echo Loading boot.ini from mmc0:1 (ext4);" 9 | - " else if ext4load mmc 0:2 $loadaddr /boot/boot.ini;" 10 | - " then echo Loading boot.init from mmc0:2 (ext4);" 11 | + " else if ext4load mmc 0:1 $loadaddr boot.ini;" 12 | + " then echo Loading boot.ini from mmc0:1 (ext4);" 13 | " fi;fi;fi"; 14 | 15 | int do_fat_cfgload(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) 16 | -------------------------------------------------------------------------------- /patch/u-boot/u-boot-vegas812/ext4-boot-improvements.patch: -------------------------------------------------------------------------------- 1 | diff --git a/board/hardkernel/odroidc/cfgload.c b/board/hardkernel/odroidc/cfgload.c 2 | index cbe1871..36c06e3 100644 3 | --- a/board/hardkernel/odroidc/cfgload.c 4 | +++ b/board/hardkernel/odroidc/cfgload.c 5 | @@ -33,8 +33,8 @@ static char *load_cmd = 6 | " then echo Loading boot.ini from mmc0:1 (vfat);" 7 | " else if ext4load mmc 0:1 $loadaddr /boot/boot.ini;" 8 | " then echo Loading boot.ini from mmc0:1 (ext4);" 9 | - " else if ext4load mmc 0:2 $loadaddr /boot/boot.ini;" 10 | - " then echo Loading boot.init from mmc0:2 (ext4);" 11 | + " else if ext4load mmc 0:1 $loadaddr boot.ini;" 12 | + " then echo Loading boot.ini from mmc0:1 (ext4);" 13 | " fi;fi;fi"; 14 | 15 | int do_fat_cfgload(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) 16 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/profile.d/activate_psd_user.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -f "${HOME}/.activate_psd" ]; then 4 | rm -f ${HOME}/.activate_psd 5 | /usr/bin/psd >/dev/null 2>&1 6 | config_file="${HOME}/.config/psd/psd.conf" 7 | if [ -f "${config_file}" ]; then 8 | # test for overlayfs 9 | # TODO: don't enable on btrfs 10 | sed -i 's/#USE_OVERLAYFS=.*/USE_OVERLAYFS="yes"/' "${config_file}" 11 | case $(/usr/bin/psd p 2>/dev/null | grep Overlayfs) in 12 | *active*) 13 | echo -e "\nConfigured profile sync daemon with overlayfs." 14 | ;; 15 | *) 16 | echo -e "\nConfigured profile sync daemon." 17 | sed -i 's/USE_OVERLAYFS="yes"/#USE_OVERLAYFS="no"/' "${config_file}" 18 | ;; 19 | esac 20 | fi 21 | systemctl --user enable psd.service >/dev/null 2>&1 22 | systemctl --user start psd.service >/dev/null 2>&1 23 | fi 24 | -------------------------------------------------------------------------------- /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/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-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 ]] 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/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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/lib/udev/rules.d/99-amlogic.rules: -------------------------------------------------------------------------------- 1 | # Fix permissions for /dev/am* files 2 | KERNEL=="amaudio_ctl", MODE="0666" 3 | KERNEL=="amaudio_in", MODE="0666" 4 | KERNEL=="amaudio_out", MODE="0666" 5 | KERNEL=="amaudio_utils", MODE="0666" 6 | KERNEL=="amhdmitx0", MODE="0666" 7 | KERNEL=="amremote", MODE="0666" 8 | KERNEL=="amstream_abuf", MODE="0666" 9 | KERNEL=="amstream_hevc", MODE="0666" 10 | KERNEL=="amstream_mpps", MODE="0666" 11 | KERNEL=="amstream_mpts", MODE="0666" 12 | KERNEL=="amstream_rm", MODE="0666" 13 | KERNEL=="amstream_sub", MODE="0666" 14 | KERNEL=="amstream_sub_read", MODE="0666" 15 | KERNEL=="amstream_userdata", MODE="0666" 16 | KERNEL=="amstream_vbuf", MODE="0666" 17 | KERNEL=="amsubtitle", MODE="0666" 18 | KERNEL=="amvideo", MODE="0666" 19 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/log-print.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file log-print.h 3 | * \brief Definitiond Of Print Functions 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef LOG_PRINT_H 12 | #define LOG_PRINT_H 13 | 14 | #ifdef ANDROID 15 | #include 16 | #include 17 | #include 18 | #include 19 | #define LOG_TAG "amadec" 20 | #define adec_print(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__) 21 | #else 22 | #define LOG_DEFAULT 0 23 | char *level; 24 | #define adec_print(f,s...) do{level=getenv("LOG_LEVEL"); \ 25 | if(level&&atoi(level)>LOG_DEFAULT) \ 26 | fprintf(stderr,f,##s);\ 27 | else; }while(0); 28 | #endif 29 | 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /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 ]] 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-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/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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/cutils/log.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file log-print.h 3 | * \brief Definitiond Of Print Functions 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef AM_LOG_H 12 | #define AM_LOG_H 13 | #include 14 | #ifndef LOGD 15 | #ifdef ANDROID 16 | #include 17 | #define LOGV ALOGV 18 | #define LOGD ALOGD 19 | #define LOGI ALOGI 20 | #define LOGW ALOGW 21 | #define LOGE ALOGE 22 | #else 23 | #define LOGV printf 24 | #define LOGD printf 25 | #define LOGI printf 26 | #define LOGW printf 27 | #define LOGE printf 28 | 29 | #define ALOGV printf 30 | #define ALOGD printf 31 | #define ALOGI printf 32 | #define ALOGW printf 33 | #define ALOGE printf 34 | #endif 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /patch/kernel/amlogics905x-dev/local_version_dev.patch: -------------------------------------------------------------------------------- 1 | --- ./scripts/package/builddeb 2 | +++ ./scripts/package/builddeb 3 | @@ -119,11 +119,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-dev"$LOCAL_VERSION" 13 | +fwpackagename=linux-firmware-image-dev"$LOCAL_VERSION" 14 | +kernel_headers_packagename=linux-headers-dev"$LOCAL_VERSION" 15 | +dtb_packagename=linux-dtb-dev"$LOCAL_VERSION" 16 | +libc_headers_packagename=linux-libc-dev-dev"$LOCAL_VERSION" 17 | dbg_packagename=$packagename-dbg 18 | debarch= 19 | forcearch= 20 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/adec-macros.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file adec-macros.h 3 | * \brief Some Macros for Audio Dec 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef ADEC_MACROS_H 12 | #define ADEC_MACROS_H 13 | 14 | 15 | #ifdef __cplusplus 16 | #define ADEC_BEGIN_DECLS extern "C" { 17 | #define ADEC_END_DECLS } 18 | #else 19 | #define ADEC_BEGIN_DECLS 20 | #define ADEC_END_DECLS 21 | #endif 22 | 23 | 24 | #ifndef TRUE 25 | #define TRUE 1 26 | #endif 27 | 28 | #ifndef FALSE 29 | #define FALSE 0 30 | #endif 31 | 32 | typedef unsigned int adec_bool_t; 33 | 34 | #ifndef ARRAY_SIZE 35 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 36 | #endif 37 | 38 | #define MAX(X, Y) ((X) > (Y)) ? (X) : (Y) 39 | #define MIN(X, Y) ((X) < (Y)) ? (X) : (Y) 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/Amsyswrite.h: -------------------------------------------------------------------------------- 1 | #ifndef AMSYSWRITE_UTILS_H 2 | #define AMSYSWRITE_UTILS_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | int amSystemWriteGetProperty(const char* key, char* value); 8 | int amSystemWriteGetPropertyStr(const char* key, char* def, char* value); 9 | int amSystemWriteGetPropertyInt(const char* key, int def); 10 | long amSystemWriteGetPropertyLong(const char* key, long def); 11 | int amSystemWriteGetPropertyBool(const char* key, int def); 12 | void amSystemWriteSetProperty(const char* key, const char* value); 13 | int amSystemWriteReadSysfs(const char* path, char* value); 14 | int amSystemWriteReadNumSysfs(const char* path, char* value, int size); 15 | int amSystemWriteWriteSysfs(const char* path, char* value); 16 | 17 | 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/amconfigutils.h: -------------------------------------------------------------------------------- 1 | #ifndef FF_CONFIGS_H__ 2 | #define FF_CONFIGS_H__ 3 | 4 | #define MAX_CONFIG 128 5 | #define CONFIG_PATH_MAX 32 6 | #define CONFIG_VALUE_MAX 92 7 | #define CONFIG_VALUE_OFF (CONFIG_PATH_MAX+4) 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | int am_config_init(void); 13 | int am_getconfig(const char * path, char *val, const char * def); 14 | int am_setconfig(const char * path, const char *val); 15 | int am_setconfig_float(const char * path, float value); 16 | int am_getconfig_float(const char * path, float *value); 17 | int am_dumpallconfigs(void); 18 | int am_getconfig_bool(const char * path); 19 | int am_getconfig_bool_def(const char * path,int def); 20 | float am_getconfig_float_def(const char * path,float defvalue); 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/amlogic/805_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 | -------------------------------------------------------------------------------- /scripts/amlogic/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 | -------------------------------------------------------------------------------- /scripts/amlogic/812_hdmi_init.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/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/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 ]] 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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /config/bootscripts/boot-vegas95_1080.cmd: -------------------------------------------------------------------------------- 1 | setenv cec "cecf" 2 | setenv m "1080p60hz" 3 | setenv m_bpp "24" 4 | setenv kernel_loadaddr "0x11000000" 5 | setenv initrd_loadaddr "0x13000000" 6 | setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0" 7 | setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw ${condev} hdmimode=${m} m_bpp=${m_bpp} fsck.repair=yes net.ifnames=0 mac=${mac}" 8 | setenv boot_start booti ${kernel_loadaddr} ${initrd_loadaddr} ${dtb_mem_addr} 9 | if fatload usb 0 ${initrd_loadaddr} uInitrd; then if fatload usb 0 ${kernel_loadaddr} zImage; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then run boot_start; else store dtb read ${dtb_mem_addr}; run boot_start;fi;fi;fi; 10 | if fatload mmc 0 ${initrd_loadaddr} uInitrd; then if fatload mmc 0 ${kernel_loadaddr} zImage; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then run boot_start; else store dtb read ${dtb_mem_addr}; run boot_start;fi;fi;fi; 11 | -------------------------------------------------------------------------------- /config/bootscripts/boot-vegas95_720.cmd: -------------------------------------------------------------------------------- 1 | setenv cec "cecf" 2 | setenv m "720p60hz" 3 | setenv m_bpp "24" 4 | setenv kernel_loadaddr "0x11000000" 5 | setenv initrd_loadaddr "0x13000000" 6 | setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0" 7 | setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw ${condev} hdmimode=${m} m_bpp=${m_bpp} fsck.repair=yes net.ifnames=0 mac=${mac}" 8 | setenv boot_start booti ${kernel_loadaddr} ${initrd_loadaddr} ${dtb_mem_addr} 9 | if fatload usb 0 ${initrd_loadaddr} uInitrd; then if fatload usb 0 ${kernel_loadaddr} zImage; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then run boot_start; else store dtb read ${dtb_mem_addr}; run boot_start;fi;fi;fi; 10 | if fatload mmc 0 ${initrd_loadaddr} uInitrd; then if fatload mmc 0 ${kernel_loadaddr} zImage; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then run boot_start; else store dtb read ${dtb_mem_addr}; run boot_start;fi;fi;fi; 11 | -------------------------------------------------------------------------------- /scripts/amlogic/qca9377.sh: -------------------------------------------------------------------------------- 1 | 2 | install_modules() 3 | { 4 | display_alert "Make qca9377" "@host" "info" 5 | local plugin_repo="https://github.com/150balbes/pkg-aml" 6 | local plugin_dir="qca9377" 7 | # [[ -d "$SOURCES/$plugin_dir" && -n "$SOURCES$plugin_dir" ]] && rm -rf $SOURCES/$plugin_dir 8 | fetch_from_repo "$plugin_repo" "$plugin_dir" "branch:qca9377" 9 | 10 | cd $SOURCES/$plugin_dir 11 | 12 | make -s ARCH=$ARCHITECTURE CROSS_COMPILE="$CCACHE $KERNEL_COMPILER" clean >> $DEST/debug/compilation.log 2>&1 13 | KERNEL_SRC=$SOURCES/$LINUXSOURCEDIR/ CONFIG_CLD_HL_SDIO_CORE=y make -s -j4 ARCH=$ARCHITECTURE CROSS_COMPILE="$CCACHE $KERNEL_COMPILER" >> $DEST/debug/compilation.log 2>&1 14 | cp qca9377.ko $SDCARD/lib/modules/$LOCAL_KERNEL_VERSION/kernel/drivers/amlogic/wifi/ 15 | depmod -b $SDCARD/ $LOCAL_KERNEL_VERSION 16 | # make -s clean >/dev/null 17 | 18 | } 19 | 20 | display_alert "Installing module" "qca9377" "info" 21 | install_modules 22 | -------------------------------------------------------------------------------- /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/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 | } 17 | 18 | package_checkinstall() 19 | { 20 | [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes && $BRANCH == default ]] 21 | } 22 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/pcmenc_api.h: -------------------------------------------------------------------------------- 1 | #ifndef __PCMENC_API_H 2 | #define __PCMENC_API_H 3 | 4 | typedef struct pcm51_encoded_info_s 5 | { 6 | unsigned int InfoValidFlag; 7 | unsigned int SampFs; 8 | unsigned int NumCh; 9 | unsigned int AcMode; 10 | unsigned int LFEFlag; 11 | unsigned int BitsPerSamp; 12 | }pcm51_encoded_info_t; 13 | 14 | 15 | #define AUDIODSP_PCMENC_GET_RING_BUF_SIZE _IOR('l', 0x01, unsigned long) 16 | #define AUDIODSP_PCMENC_GET_RING_BUF_CONTENT _IOR('l', 0x02, unsigned long) 17 | #define AUDIODSP_PCMENC_GET_RING_BUF_SPACE _IOR('l', 0x03, unsigned long) 18 | #define AUDIODSP_PCMENC_SET_RING_BUF_RPTR _IOW('l', 0x04, unsigned long) 19 | #define AUDIODSP_PCMENC_GET_PCMINFO _IOR('l', 0x05, unsigned long) 20 | 21 | 22 | extern int pcmenc_init(); 23 | extern int pcmenc_read_pcm(char *inputbuf,int size); 24 | extern int pcmenc_deinit(); 25 | extern int pcmenc_get_pcm_info(pcm51_encoded_info_t *info); 26 | #endif -------------------------------------------------------------------------------- /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 | # or create a config file named "config-vagrant-guest.conf" based on config-example.conf 5 | 6 | # remove "vagrant" from the command line since "vagrant-guest" will be passed instead 7 | shift 8 | 9 | # check and install vagrant-disksize 10 | if ! grep -q '^vagrant-disksize' <(vagrant plugin list); then 11 | display_alert "Trying to install vargant-disksize plugin" 12 | vagrant plugin install vagrant-disksize 13 | fi 14 | 15 | display_alert "Building and running the Vagrant box" 16 | vagrant up 17 | 18 | display_alert "SSH config for the Vagrant box" 19 | vagrant ssh-config 20 | 21 | display_alert "Trying to connect using SSH" 22 | 23 | IFS=' ' vagrant ssh -c "cd armbian; sudo ./compile.sh vagrant-guest $*" 24 | 25 | display_alert "Press to halt the Vagrant box" 26 | read 27 | vagrant halt 28 | 29 | # don't need to proceed further on the host 30 | exit 0 31 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/adec_write.h: -------------------------------------------------------------------------------- 1 | #ifndef __ADEC_WRITE_H__ 2 | #define __ADEC_WRITE_H__ 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | #define DEFAULT_BUFFER_SIZE 1024*1024 9 | #define MIN(a,b) (a>b)?b:a 10 | 11 | typedef struct buffer_stream_st{ 12 | int buf_length; 13 | int buf_level; 14 | unsigned char * data; 15 | unsigned char * rd_ptr; 16 | unsigned char * wr_ptr; 17 | int bInited; 18 | int nMutex; 19 | int data_width; 20 | int channels; 21 | int samplerate; 22 | int format; 23 | }buffer_stream_t; 24 | 25 | int init_buff(buffer_stream_t *bs,int length); 26 | int reset_buffer(buffer_stream_t *bs); 27 | int release_buffer(buffer_stream_t *bs); 28 | 29 | int is_buffer_empty(buffer_stream_t *bs); 30 | 31 | int is_buffer_full(buffer_stream_t *bs); 32 | int get_buffer_length(buffer_stream_t *bs); 33 | int read_pcm_buffer(char * out, buffer_stream_t *bs, int size); 34 | int write_pcm_buffer(char * in, buffer_stream_t *bs, int size); 35 | #endif 36 | -------------------------------------------------------------------------------- /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-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 -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amavutils/Amvideoutils.h: -------------------------------------------------------------------------------- 1 | #ifndef AMVIDEO_UTILS_H 2 | #define AMVIDEO_UTILS_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define HDMI_HDCP_PASS (1) 9 | #define HDMI_HDCP_FAILED (0) 10 | #define HDMI_NOCONNECT (-1) 11 | 12 | int amvideo_utils_get_freescale_enable(void); 13 | int amvideo_utils_get_global_offset(); 14 | int amvideo_utils_set_position(int32_t x, int32_t y, int32_t w, int32_t h, int rotation); 15 | int amvideo_utils_set_virtual_position(int32_t x, int32_t y, int32_t w, int32_t h, int rotation); 16 | int amvideo_utils_set_absolute_position(int32_t x, int32_t y, int32_t w, int32_t h, int rotation); 17 | int amvideo_utils_get_position(int32_t *x, int32_t *y, int32_t *w, int32_t *h); 18 | int amvideo_utils_get_screen_mode(int *mode); 19 | int amvideo_utils_set_screen_mode(int mode); 20 | int amvideo_utils_get_video_angle(int *angle); 21 | int amvideo_utils_get_hdmi_authenticate(void); 22 | 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/audio-out.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file audio-out.h 3 | * \brief Definitiond Of Audio Out Structures 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef AUDIO_OUT_H 12 | #define AUDIO_OUT_H 13 | 14 | #include 15 | 16 | ADEC_BEGIN_DECLS 17 | 18 | struct aml_audio_dec; 19 | 20 | typedef struct { 21 | void *private_data; 22 | void *private_data_raw; 23 | int (*init)(struct aml_audio_dec *); 24 | int (*start)(struct aml_audio_dec *); 25 | int (*pause)(struct aml_audio_dec *); 26 | int (*resume)(struct aml_audio_dec *); 27 | int (*stop)(struct aml_audio_dec *); 28 | unsigned long(*latency)(struct aml_audio_dec *); /* get latency in ms */ 29 | int (*mute)(struct aml_audio_dec *, adec_bool_t); /* 1: enable mute ; 0: disable mute */ 30 | int (*set_volume)(struct aml_audio_dec *, float); 31 | int (*set_lrvolume)(struct aml_audio_dec *, float,float); 32 | } audio_out_operations_t; 33 | 34 | ADEC_END_DECLS 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/SOURCES: -------------------------------------------------------------------------------- 1 | Origin of "debianization" archives/overlays: 2 | guvcview: http://packages.ubuntu.com/xenial/guvcview / http://archive.ubuntu.com/ubuntu/pool/universe/g/guvcview/ 3 | hostapd: http://packages.ubuntu.com/xenial/hostapd / http://archive.ubuntu.com/ubuntu/pool/main/w/wpa/ 4 | libcedrus: http://ppa.launchpad.net/longsleep/ubuntu-pine64-flavour-makers/ubuntu/pool/main/libc/libcedrus/ 5 | libcsptr-dev: http://ppa.launchpad.net/snaipewastaken/ppa/ubuntu/pool/main/libc/libcsptr-dev/ 6 | libdri2-1: http://packages.ubuntu.com/xenial/libdri2-1 / http://archive.ubuntu.com/ubuntu/pool/universe/libd/libdri2/ 7 | libump: https://github.com/rellla/libump (http://ppa.launchpad.net/longsleep/ubuntu-pine64-flavour-makers/ubuntu/pool/main/libu/libump/ can be used too) 8 | libvdpau-sunxi: http://ppa.launchpad.net/longsleep/ubuntu-pine64-flavour-makers/ubuntu/pool/main/libv/libvdpau-sunxi/ 9 | sunxi-tools: http://packages.ubuntu.com/ru/xenial/sunxi-tools / http://archive.ubuntu.com/ubuntu/pool/universe/s/sunxi-tools/ 10 | swconfig: https://github.com/jekader/swconfig 11 | xf86-video-fbturbo: https://github.com/igorpecovnik/lib/pull/384 12 | -------------------------------------------------------------------------------- /scripts/amlogic/805_fw_env.config: -------------------------------------------------------------------------------- 1 | # Configuration file for fw_(printenv/setenv) utility. 2 | # Up to two entries are valid, in this case the redundant 3 | # environment sector is assumed present. 4 | # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. 5 | # Futhermore, if the Flash sector size is ommitted, this value is assumed to 6 | # be the same as the Environment size, which is valid for NOR and SPI-dataflash 7 | 8 | # NOR example 9 | # MTD device name Device offset Env. size Flash sector size Number of sectors 10 | #/dev/mtd1 0x0000 0x4000 0x4000 11 | #/dev/mtd2 0x0000 0x4000 0x4000 12 | 13 | # MTD SPI-dataflash example 14 | # MTD device name Device offset Env. size Flash sector size Number of sectors 15 | #/dev/mtd5 0x4200 0x4200 16 | #/dev/mtd6 0x4200 0x4200 17 | 18 | # NAND example 19 | #/dev/mtd0 0x4000 0x4000 0x20000 2 20 | 21 | # Block device example 22 | #/dev/mmcblk0 0xc0000 0x20000 23 | 24 | # VFAT example 25 | #/boot/uboot.env 0x0000 0x4000 26 | 27 | # Amlogic NAND 28 | /dev/nand_env 0x000000 0x10000 0x10000 29 | 30 | # Amlogic eMMC 31 | /dev/env 0x000000 0x10000 0x10000 32 | -------------------------------------------------------------------------------- /scripts/amlogic/905_fw_env.config: -------------------------------------------------------------------------------- 1 | # Configuration file for fw_(printenv/setenv) utility. 2 | # Up to two entries are valid, in this case the redundant 3 | # environment sector is assumed present. 4 | # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. 5 | # Futhermore, if the Flash sector size is ommitted, this value is assumed to 6 | # be the same as the Environment size, which is valid for NOR and SPI-dataflash 7 | 8 | # NOR example 9 | # MTD device name Device offset Env. size Flash sector size Number of sectors 10 | #/dev/mtd1 0x0000 0x4000 0x4000 11 | #/dev/mtd2 0x0000 0x4000 0x4000 12 | 13 | # MTD SPI-dataflash example 14 | # MTD device name Device offset Env. size Flash sector size Number of sectors 15 | #/dev/mtd5 0x4200 0x4200 16 | #/dev/mtd6 0x4200 0x4200 17 | 18 | # NAND example 19 | #/dev/mtd0 0x4000 0x4000 0x20000 2 20 | 21 | # Block device example 22 | #/dev/mmcblk0 0xc0000 0x20000 23 | 24 | # VFAT example 25 | #/boot/uboot.env 0x0000 0x4000 26 | 27 | # Amlogic NAND 28 | /dev/nand_env 0x000000 0x10000 0x10000 29 | 30 | # Amlogic eMMC 31 | /dev/env 0x000000 0x10000 0x10000 32 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libcedrus/debian/control: -------------------------------------------------------------------------------- 1 | Source: libcedrus 2 | Section: devel 3 | Priority: optional 4 | Maintainer: Simon Eisenmann 5 | Build-Depends: 6 | debhelper (>= 9), 7 | Standards-Version: 3.9.7 8 | Vcs-Git: https://github.com/linux-sunxi/libcedrus 9 | Vcs-Browser: https://github.com/linux-sunxi/libcedrus 10 | 11 | Package: libcedrus1 12 | Section: libs 13 | Architecture: any 14 | Depends: 15 | ${shlibs:Depends}, 16 | ${misc:Depends}, 17 | Pre-Depends: ${misc:Pre-Depends} 18 | Multi-Arch: same 19 | Description: Low-level acces to video enginge ofr Allwinner sunxi SoCs 20 | The Cedrus library is need for video engine access of Allwinner sunxi 21 | SOCS. The vdpau sunxi driver depends on it. 22 | 23 | Package: libcedrus1-dev 24 | Section: libdevel 25 | Architecture: any 26 | Depends: 27 | libcedrus1 (= ${binary:Version}), 28 | ${misc:Depends}, 29 | Multi-Arch: same 30 | Description: Low-level acces to video enginge ofr Allwinner sunxi SoCs (development files) 31 | The Cedrus library is need for video engine access of Allwinner sunxi 32 | SOCS. This package is needed to build programs which link against libcedrus. 33 | -------------------------------------------------------------------------------- /packages/bsp/common/usr/share/log2ram/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/xf86-video-armsoc/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | DRMMODES = sun4i 4 | COMMON_CONFIGURE_FLAGS = $(shell dpkg-buildflags --export=configure) 5 | 6 | %: 7 | dh $@ --with autoreconf,xsf 8 | 9 | # create m4 directory before running autoreconf 10 | override_dh_autoreconf: 11 | mkdir -p m4 12 | NOCONFIGURE=1 dh_autoreconf ./autogen.sh 13 | 14 | # remove m4 directory after autoreconf cleanup 15 | override_dh_autoreconf_clean: 16 | dh_autoreconf_clean 17 | rm -rf m4 18 | 19 | override_dh_auto_configure: $(DRMMODES:%=doconfigure-%) 20 | 21 | doconfigure-%: 22 | DH_VERBOSE=1 dh_auto_configure --builddirectory=build/$* -- $(COMMON_CONFIGURE_FLAGS) --with-drmmode=$* 23 | 24 | override_dh_auto_build: $(DRMMODES:%=dobuild-%) 25 | 26 | dobuild-%: 27 | dh_auto_build --builddirectory=build/$* 28 | 29 | override_dh_auto_install: $(DRMMODES:%=doinstall-%) 30 | 31 | doinstall-%: 32 | dh_auto_install --builddirectory=build/$* --destdir=debian/xserver-xorg-video-armsoc-$* 33 | find debian/xserver-xorg-video-armsoc-$* -name "*.la" -delete 34 | 35 | # use appropriate warning level for a plugin 36 | override_dh_shlibdeps: 37 | dh_shlibdeps -- --warnings=6 38 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | RUN dpkg --add-architecture i386 3 | RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade && \ 4 | DEBIAN_FRONTEND=noninteractive apt-get install -y git dialog lsb-release binutils wget ca-certificates device-tree-compiler \ 5 | pv bc lzop zip binfmt-support build-essential ccache debootstrap ntpdate gawk gcc-arm-linux-gnueabihf \ 6 | qemu-user-static u-boot-tools uuid-dev zlib1g-dev unzip libusb-1.0-0-dev ntpdate parted pkg-config libncurses5-dev whiptail \ 7 | debian-keyring debian-archive-keyring f2fs-tools libfile-fcntllock-perl rsync libssl-dev nfs-kernel-server btrfs-tools \ 8 | ncurses-term p7zip-full kmod dosfstools libc6-dev-armhf-cross fakeroot \ 9 | curl patchutils python liblz4-tool libpython2.7-dev linux-base swig libpython-dev \ 10 | systemd-container udev distcc g++-5-arm-linux-gnueabihf lib32stdc++6 \ 11 | libc6-i386 lib32ncurses5 lib32tinfo5 locales ncurses-base zlib1g:i386 aptly pixz 12 | RUN locale-gen en_US.UTF-8 13 | ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' TERM=screen 14 | WORKDIR /root/armbian 15 | COPY . /root/armbian 16 | ENTRYPOINT [ "/bin/bash", "/root/armbian/compile.sh" ] 17 | -------------------------------------------------------------------------------- /scripts/amlogic/905_hdmi_init.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #bpp=32 4 | bpp=24 5 | 6 | #mode=1080p60hz 7 | mode=720p60hz 8 | 9 | case $mode in 10 | 1080*) 11 | fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp 12 | fbset -fb /dev/fb1 -g 32 32 32 32 32 13 | echo $mode > /sys/class/display/mode 14 | echo 0 > /sys/class/graphics/fb0/free_scale 15 | echo 1 > /sys/class/graphics/fb0/freescale_mode 16 | echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis 17 | echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis 18 | echo 0 > /sys/class/graphics/fb1/free_scale 19 | ;; 20 | *) 21 | fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp 22 | fbset -fb /dev/fb1 -g 32 32 32 32 32 23 | echo $mode > /sys/class/display/mode 24 | echo 0 > /sys/class/graphics/fb0/free_scale 25 | echo 1 > /sys/class/graphics/fb0/freescale_mode 26 | echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis 27 | echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis 28 | echo 0 > /sys/class/graphics/fb1/free_scale 29 | ;; 30 | esac 31 | 32 | # Enable framebuffer device 33 | echo 0 > /sys/class/graphics/fb0/blank 34 | 35 | # Blank fb1 to prevent static noise 36 | echo 1 > /sys/class/graphics/fb1/blank 37 | -------------------------------------------------------------------------------- /packages/blobs/desktop/desktop-splash/LICENSE.desktop-splash: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/README.md: -------------------------------------------------------------------------------- 1 | # Requirements 2 | 3 | * Xenial build host 4 | 5 | * Extra 5GB of disk space 6 | 7 | # Limitations 8 | 9 | * Packages are built only for Jessie, Xenial and Stretch targets, installing on older distributions may be done manually if dependencies can be satisfied 10 | 11 | # TODO 12 | 13 | ### Process 14 | 15 | * Switch from qemu & distcc to multiarch cross-compiling if possible 16 | 17 | ### Package-specific: 18 | 19 | * libvdpau-sunxi: select branch (master or dev) 20 | 21 | ## Notes 22 | 23 | libcedrus compiled without USE_UMP=1 requires access to /dev/ion 24 | 25 | libcedrus compiled with USE_UMP=1 caused segfault last time I tested video playback with mpv 26 | 27 | libmali-sunxi-r3p0 contains *.so symlinks (instead of libmali-sunxi-dev) to help searching libraries by SONAME for libMali.so 28 | 29 | libmali-sunxi-r3p0 is packaged differently for [Debian](https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html) and [Ubuntu](https://wiki.ubuntu.com/X/EGLDriverPackagingHOWTO) 30 | 31 | libglshim1 is installed to private directory (`/usr/lib/arm-linux-gnueabihf/glshim`) and can be activated by using LD_LIBRARY_PATH 32 | -------------------------------------------------------------------------------- /packages/blobs/desktop/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | #export DH_VERBOSE=1 4 | 5 | deb_source := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') 6 | deb_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') 7 | upstream_version := $(shell echo '$(deb_version)' | sed 's/.*://; s/-[^-]*$$//') 8 | git_rev := $(shell echo '$(upstream_version)' | sed 's/.*+//') 9 | 10 | get-orig-source: 11 | rm -rf $(deb_source)-$(upstream_version) 12 | rm -f $(deb_source)-$(upstream_version).orig.tar.gz 13 | git clone https://github.com/robclark/libdri2.git $(deb_source)-$(upstream_version) 14 | cd $(deb_source)-$(upstream_version) && git archive \ 15 | --format=tar \ 16 | --prefix=$(deb_source)-$(upstream_version)/ \ 17 | $(git_rev) \ 18 | | gzip >../$(deb_source)_$(upstream_version).orig.tar.gz 19 | rm -rf $(deb_source)-$(upstream_version) 20 | 21 | override_dh_auto_configure: 22 | dh_auto_configure -- --enable-test 23 | 24 | override_dh_auto_install: 25 | dh_auto_install --destdir=debian/tmp 26 | 27 | override_dh_install: 28 | find debian/tmp -name '*.la' -delete 29 | dh_install --fail-missing 30 | 31 | %: 32 | dh $@ --with autoreconf --builddirectory=build/ 33 | 34 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libUMP/debian/control: -------------------------------------------------------------------------------- 1 | Source: libump 2 | Section: devel 3 | Priority: optional 4 | Maintainer: Luc Verhaegen 5 | Uploaders: Luc Verhaegen 6 | Build-Depends: 7 | debhelper (>= 9), 8 | dh-autoreconf, 9 | pkg-config, 10 | Standards-Version: 3.9.2 11 | Vcs-Git: https://github.com/libv/libump 12 | Vcs-Browser: https://github.com/libv/libump 13 | 14 | Package: libump 15 | Section: libs 16 | Architecture: any 17 | Depends: 18 | ${shlibs:Depends}, 19 | ${misc:Depends}, 20 | Pre-Depends: ${misc:Pre-Depends} 21 | Multi-Arch: same 22 | Description: ARM Unified Memory Provider library 23 | The ARM Unified Memory Provider is needed for certain ARM SoCs with 24 | an ARM Mali GPU. The binary Mali driver for X11 depends on it. 25 | 26 | Package: libump-dev 27 | Section: libdevel 28 | Architecture: any 29 | Depends: 30 | libump (= ${binary:Version}), 31 | ${misc:Depends}, 32 | Description: ARM Unified Memory Provider library (development files) 33 | The ARM Unified Memory Provider is needed for certain ARM SoCs with 34 | an ARM Mali GPU. The binary Mali driver for X11 depends on it. This 35 | package is needed to build programs which link against libUMP. 36 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/network/interfaces.default: -------------------------------------------------------------------------------- 1 | source /etc/network/interfaces.d/* 2 | 3 | # Wired adapter #1 4 | allow-hotplug eth0 5 | #no-auto-down eth0 6 | iface eth0 inet dhcp 7 | #address 192.168.0.100 8 | #netmask 255.255.255.0 9 | #gateway 192.168.0.1 10 | #dns-nameservers 8.8.8.8 8.8.4.4 11 | # hwaddress ether # if you want to set MAC manually 12 | # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 13 | 14 | 15 | # Wireless adapter #1 16 | # Armbian ships with network-manager installed by default. To save you time 17 | # and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings 18 | # manually. The below lines are only meant as an example how configuration could 19 | # be done in an anachronistic way: 20 | # 21 | #allow-hotplug wlan0 22 | #iface wlan0 inet dhcp 23 | #address 192.168.0.100 24 | #netmask 255.255.255.0 25 | #gateway 192.168.0.1 26 | #dns-nameservers 8.8.8.8 8.8.4.4 27 | # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf 28 | # Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi) 29 | #wireless-mode Managed 30 | #wireless-power off 31 | 32 | # Local loopback 33 | auto lo 34 | iface lo inet loopback 35 | -------------------------------------------------------------------------------- /scripts/amlogic/812_hdmi_init_4x.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #bpp=32 4 | #bpp=24 5 | 6 | #mode=1080p60hz 7 | #mode=720p60hz 8 | 9 | #case $mode in 10 | # 1080*) 11 | # fbset -fb /dev/fb0 -g 1920 1080 1920 1080 $bpp 12 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 13 | # echo $mode > /sys/class/display/mode 14 | # echo 0 > /sys/class/graphics/fb0/free_scale 15 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 16 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis 17 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis 18 | # echo 0 > /sys/class/graphics/fb1/free_scale 19 | # ;; 20 | # *) 21 | # fbset -fb /dev/fb0 -g 1280 720 1280 720 $bpp 22 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 23 | # echo $mode > /sys/class/display/mode 24 | # echo 0 > /sys/class/graphics/fb0/free_scale 25 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 26 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis 27 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis 28 | # echo 0 > /sys/class/graphics/fb1/free_scale 29 | # ;; 30 | #esac 31 | 32 | # Enable framebuffer device 33 | #echo 0 > /sys/class/graphics/fb0/blank 34 | 35 | # Blank fb1 to prevent static noise 36 | #echo 1 > /sys/class/graphics/fb1/blank 37 | -------------------------------------------------------------------------------- /scripts/amlogic/905_hdmi_init_4x.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #bpp=32 4 | #bpp=24 5 | 6 | #mode=1080p60hz 7 | #mode=720p60hz 8 | 9 | #case $mode in 10 | # 1080*) 11 | # fbset -fb /dev/fb0 -g 1920 1080 1920 1080 $bpp 12 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 13 | # echo $mode > /sys/class/display/mode 14 | # echo 0 > /sys/class/graphics/fb0/free_scale 15 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 16 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis 17 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis 18 | # echo 0 > /sys/class/graphics/fb1/free_scale 19 | # ;; 20 | # *) 21 | # fbset -fb /dev/fb0 -g 1280 720 1280 720 $bpp 22 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 23 | # echo $mode > /sys/class/display/mode 24 | # echo 0 > /sys/class/graphics/fb0/free_scale 25 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 26 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis 27 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis 28 | # echo 0 > /sys/class/graphics/fb1/free_scale 29 | # ;; 30 | #esac 31 | 32 | # Enable framebuffer device 33 | #echo 0 > /sys/class/graphics/fb0/blank 34 | 35 | # Blank fb1 to prevent static noise 36 | #echo 1 > /sys/class/graphics/fb1/blank 37 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/spdif_api.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPDIF_API_H__ 2 | #define __SPDIF_API_H__ 3 | 4 | enum{ 5 | STREAM_AC3 = 0, 6 | STREAM_DTS, 7 | STREAM_PCM, 8 | }; 9 | 10 | #define AUDIO_SPDIF_GET_958_BUF_SIZE _IOR('s', 0x01, unsigned long) 11 | #define AUDIO_SPDIF_GET_958_BUF_CONTENT _IOR('s', 0x02, unsigned long) 12 | #define AUDIO_SPDIF_GET_958_BUF_SPACE _IOR('s', 0x03, unsigned long) 13 | #define AUDIO_SPDIF_GET_958_BUF_RD_OFFSET _IOR('s', 0x04, unsigned long) 14 | #define AUDIO_SPDIF_GET_958_ENABLE_STATUS _IOR('s', 0x05, unsigned long) 15 | #define AUDIO_SPDIF_GET_I2S_ENABLE_STATUS _IOR('s', 0x06, unsigned long) 16 | #define AUDIO_SPDIF_SET_958_ENABLE _IOW('s', 0x07, unsigned long) 17 | #define AUDIO_SPDIF_SET_958_INIT_PREPARE _IOW('s', 0x08, unsigned long) 18 | #define AUDIO_SPDIF_SET_958_WR_OFFSET _IOW('s', 0x09, unsigned long) 19 | 20 | extern int iec958_init(); 21 | extern int iec958_pack_frame(char *buf,int frame_size); 22 | extern int iec958_packed_frame_write_958buf(char *buf,int frame_size); 23 | extern int iec958_deinit(); 24 | extern int iec958_check_958buf_level(); 25 | extern int iec958buf_fill_zero(); 26 | #endif 27 | -------------------------------------------------------------------------------- /packages/bsp/common/etc/kernel/preinst.d/initramfs-cleanup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | version="$1" 4 | 5 | [ -x /usr/sbin/update-initramfs ] || exit 0 6 | 7 | # passing the kernel version is required 8 | if [ -z "$version" ]; then 9 | echo >&2 "W: initramfs-tools: ${DPKG_MAINTSCRIPT_PACKAGE:-kernel package} did not pass a version number" 10 | exit 0 11 | fi 12 | 13 | # avoid running multiple times 14 | if [ -n "$DEB_MAINT_PARAMS" ]; then 15 | eval set -- "$DEB_MAINT_PARAMS" 16 | if [ -z "$1" ] || [ "$1" != "upgrade" ]; then 17 | exit 0 18 | fi 19 | fi 20 | 21 | STATEDIR=/var/lib/initramfs-tools 22 | 23 | version_list="$(ls -1 "$STATEDIR" | linux-version sort --reverse)" 24 | 25 | for v in $version_list; do 26 | if ! linux-version compare $v eq $version; then 27 | # try to delete delete old initrd images via update-initramfs 28 | INITRAMFS_TOOLS_KERNEL_HOOK=y update-initramfs -d -k $v 2>/dev/null 29 | # delete unused state files 30 | find $STATEDIR -type f ! -name "$version" -printf "Removing obsolete file %f\n" -delete 31 | # delete unused initrd images 32 | find /boot -name "initrd.img*" -o -name "uInitrd-*" ! -name "*$version" -printf "Removing obsolete file %f\n" -delete 33 | fi 34 | done 35 | 36 | exit 0 37 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/codec_error.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file codec_error.h 3 | * @brief Codec error type definitions 4 | * @author Zhang Chen 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | 13 | #ifndef CODEC_ERROR_H_ 14 | #define CODEC_ERROR_H_ 15 | 16 | #define C_PAE (0x01000000) 17 | 18 | #define CODEC_ERROR_NONE ( 0) 19 | #define CODEC_ERROR_INVAL (C_PAE | 1) 20 | #define CODEC_ERROR_NOMEM (C_PAE | 2) 21 | #define CODEC_ERROR_BUSY (C_PAE | 3) 22 | #define CODEC_ERROR_IO (C_PAE | 4) 23 | #define CODEC_ERROR_PARAMETER (C_PAE | 5) 24 | #define CODEC_ERROR_AUDIO_TYPE_UNKNOW (C_PAE | 6) 25 | #define CODEC_ERROR_VIDEO_TYPE_UNKNOW (C_PAE | 7) 26 | #define CODEC_ERROR_STREAM_TYPE_UNKNOW (C_PAE | 8) 27 | #define CODEC_ERROR_VDEC_TYPE_UNKNOW (C_PAE | 9) 28 | 29 | #define CODEC_ERROR_INIT_FAILED (C_PAE | 10) 30 | #define CODEC_ERROR_SET_BUFSIZE_FAILED (C_PAE | 11) 31 | #define CODEC_OPEN_HANDLE_FAILED (C_PAE | 12) 32 | 33 | 34 | 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amcodec/codec_error.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file codec_error.h 3 | * @brief Codec error type definitions 4 | * @author Zhang Chen 5 | * @version 1.0.0 6 | * @date 2011-02-24 7 | */ 8 | /* Copyright (C) 2007-2011, Amlogic Inc. 9 | * All right reserved 10 | * 11 | */ 12 | 13 | #ifndef CODEC_ERROR_H_ 14 | #define CODEC_ERROR_H_ 15 | 16 | #define C_PAE (0x01000000) 17 | 18 | #define CODEC_ERROR_NONE ( 0) 19 | #define CODEC_ERROR_INVAL (C_PAE | 1) 20 | #define CODEC_ERROR_NOMEM (C_PAE | 2) 21 | #define CODEC_ERROR_BUSY (C_PAE | 3) 22 | #define CODEC_ERROR_IO (C_PAE | 4) 23 | #define CODEC_ERROR_PARAMETER (C_PAE | 5) 24 | #define CODEC_ERROR_AUDIO_TYPE_UNKNOW (C_PAE | 6) 25 | #define CODEC_ERROR_VIDEO_TYPE_UNKNOW (C_PAE | 7) 26 | #define CODEC_ERROR_STREAM_TYPE_UNKNOW (C_PAE | 8) 27 | #define CODEC_ERROR_VDEC_TYPE_UNKNOW (C_PAE | 9) 28 | 29 | #define CODEC_ERROR_INIT_FAILED (C_PAE | 10) 30 | #define CODEC_ERROR_SET_BUFSIZE_FAILED (C_PAE | 11) 31 | #define CODEC_OPEN_HANDLE_FAILED (C_PAE | 12) 32 | 33 | 34 | 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.preinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BRANCH="" 4 | LINUXFAMILY="" 5 | 6 | [ -f "/etc/armbian-release" ] && . /etc/armbian-release 7 | 8 | case "$1" in 9 | install) 10 | if [ -z "$BRANCH" ] || [ "$BRANCH" != "default" ]; then 11 | echo "Mali binary driver can be used only with legacy kernel" 1>&2 12 | exit 1 13 | fi 14 | if [ -z "$LINUXFAMILY" ] || ! ( [ "$LINUXFAMILY" = "sun4i" ] || [ "$LINUXFAMILY" = "sun5i" ] || [ "$LINUXFAMILY" = "sun7i" ] || [ "$LINUXFAMILY" = "sun8i" ] ); then 15 | echo "Mali binary driver can be used only on sunxi hardware" 1>&2 16 | exit 1 17 | fi 18 | ;; 19 | esac 20 | 21 | DISTRIBUTION="${distribution}" 22 | 23 | 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 \ 24 | libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0" 25 | 26 | if [ "Debian" = "$DISTRIBUTION" ]; then 27 | mkdir -p /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert 28 | for f in $DIVERT_TARGETS; do 29 | dpkg-divert --package libmali-sunxi-r3p0 --add --rename \ 30 | --divert /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert/${f} /usr/lib/${DEB_HOST_MULTIARCH}/${f} 31 | done 32 | LDCONFIG_NOTRIGGER=y ldconfig 33 | fi 34 | 35 | #DEBHELPER# 36 | 37 | exit 0 38 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.preinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BRANCH="" 4 | LINUXFAMILY="" 5 | 6 | [ -f "/etc/armbian-release" ] && . /etc/armbian-release 7 | 8 | case "$1" in 9 | install) 10 | if [ -z "$BRANCH" ] || [ "$BRANCH" != "default" ]; then 11 | echo "Mali binary driver can be used only with legacy kernel" 1>&2 12 | exit 1 13 | fi 14 | if [ -z "$LINUXFAMILY" ] || ! ( [ "$LINUXFAMILY" = "sun4i" ] || [ "$LINUXFAMILY" = "sun5i" ] || [ "$LINUXFAMILY" = "sun7i" ] || [ "$LINUXFAMILY" = "sun8i" ] ); then 15 | echo "Mali binary driver can be used only on sunxi hardware" 1>&2 16 | exit 1 17 | fi 18 | ;; 19 | esac 20 | 21 | DISTRIBUTION="${distribution}" 22 | 23 | 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 \ 24 | libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0" 25 | 26 | if [ "Debian" = "$DISTRIBUTION" ]; then 27 | mkdir -p /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert 28 | for f in $DIVERT_TARGETS; do 29 | dpkg-divert --package libmali-sunxi-r3p0 --add --rename \ 30 | --divert /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert/${f} /usr/lib/${DEB_HOST_MULTIARCH}/${f} 31 | done 32 | LDCONFIG_NOTRIGGER=y ldconfig 33 | fi 34 | 35 | #DEBHELPER# 36 | 37 | exit 0 38 | -------------------------------------------------------------------------------- /patch/kernel/compiler.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm/kernel/asm-offsets.c 2 | +++ b/arch/arm/kernel/asm-offsets.c 3 | @@ -10,6 +10,7 @@ 4 | * it under the terms of the GNU General Public License version 2 as 5 | * published by the Free Software Foundation. 6 | */ 7 | +#include 8 | #include 9 | #include 10 | #include 11 | @@ -39,10 +40,19 @@ 12 | * GCC 3.2.x: miscompiles NEW_AUX_ENT in fs/binfmt_elf.c 13 | * (http://gcc.gnu.org/PR8896) and incorrect structure 14 | * initialisation in fs/jffs2/erase.c 15 | + * GCC 4.8.0-4.8.2: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 16 | + * miscompiles find_get_entry(), and can result in EXT3 and EXT4 17 | + * filesystem corruption (possibly other FS too). 18 | */ 19 | +#ifdef __GNUC__ 20 | #if (__GNUC__ == 3 && __GNUC_MINOR__ < 3) 21 | #error Your compiler is too buggy; it is known to miscompile kernels. 22 | -#error Known good compilers: 3.3 23 | +#error Known good compilers: 3.3, 4.x 24 | +#endif 25 | +#if GCC_VERSION >= 40800 && GCC_VERSION < 40803 26 | +#error Your compiler is too buggy; it is known to miscompile kernels 27 | +#error and result in filesystem corruption and oopses. 28 | +#endif 29 | #endif 30 | 31 | int main(void) 32 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libDRI2/debian/dri2test.1: -------------------------------------------------------------------------------- 1 | .TH DRI2TEST 1 "August 23, 2012" 2 | .\" Please adjust this date whenever revising the manpage. 3 | .\" 4 | .\" Some roff macros, for reference: 5 | .\" .nh disable hyphenation 6 | .\" .hy enable hyphenation 7 | .\" .ad l left justify 8 | .\" .ad b justify to both left and right margins 9 | .\" .nf disable filling 10 | .\" .fi enable filling 11 | .\" .br insert line break 12 | .\" .sp insert n+1 empty lines 13 | .\" for manpage-specific macros, see man(7) 14 | .SH NAME 15 | dri2test \- simple program to test the dri2 support 16 | .SH SYNOPSIS 17 | .B dri2test 18 | .SH DESCRIPTION 19 | .PP 20 | .\" TeX users may be more comfortable with the \fB\fP and 21 | .\" \fI\fP escape sequences to invode bold face and italics, 22 | .\" respectively. 23 | \fBdri2test\fP is a simple program to test the dri2 support by creating a X11 window, 24 | connecting to the dri2 interface, and calling a set of basic functions to validate the 25 | dri2 support at the system. 26 | .SH AUTHOR 27 | dri2test was written by Rob Clark . 28 | .PP 29 | This manual page was written by Ricardo Salveti de Araujo , 30 | for the Debian project (and may be used by others). 31 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/libglshim/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: © 2013 Ryan Hileman 5 | License: other 6 | 7 | Copyright (c) 2013 Ryan Hileman 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy 10 | of this software and associated documentation files (the "Software"), to deal 11 | in the Software without restriction, including without limitation the rights 12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | copies of the Software, and to permit persons to whom the Software is 14 | furnished to do so, subject to the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /scripts/amlogic/812_hdmi_4x.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #bpp=32 4 | #bpp=24 5 | 6 | #mode=1080p60hz 7 | #mode=720p60hz 8 | 9 | #case $mode in 10 | # 1080*) 11 | # fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp 12 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 13 | # echo $mode > /sys/class/display/mode 14 | # echo 0 > /sys/class/graphics/fb0/free_scale 15 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 16 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis 17 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis 18 | # echo 0 > /sys/class/graphics/fb1/free_scale 19 | # ;; 20 | # *) 21 | # fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp 22 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 23 | # echo $mode > /sys/class/display/mode 24 | # echo 0 > /sys/class/graphics/fb0/free_scale 25 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 26 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis 27 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis 28 | # echo 0 > /sys/class/graphics/fb1/free_scale 29 | # ;; 30 | #esac 31 | 32 | # Enable framebuffer device 33 | #echo 0 > /sys/class/graphics/fb0/blank 34 | 35 | # Blank fb1 to prevent static noise 36 | #echo 1 > /sys/class/graphics/fb1/blank 37 | 38 | #echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink 39 | 40 | #/etc/webmin/start & 41 | 42 | #su -c 'hciattach /dev/ttyS1 any' 43 | -------------------------------------------------------------------------------- /scripts/amlogic/905_hdmi_4x.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #bpp=32 4 | #bpp=24 5 | 6 | #mode=1080p60hz 7 | #mode=720p60hz 8 | 9 | #case $mode in 10 | # 1080*) 11 | # fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp 12 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 13 | # echo $mode > /sys/class/display/mode 14 | # echo 0 > /sys/class/graphics/fb0/free_scale 15 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 16 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis 17 | # echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis 18 | # echo 0 > /sys/class/graphics/fb1/free_scale 19 | # ;; 20 | # *) 21 | # fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp 22 | # fbset -fb /dev/fb1 -g 32 32 32 32 32 23 | # echo $mode > /sys/class/display/mode 24 | # echo 0 > /sys/class/graphics/fb0/free_scale 25 | # echo 1 > /sys/class/graphics/fb0/freescale_mode 26 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis 27 | # echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis 28 | # echo 0 > /sys/class/graphics/fb1/free_scale 29 | # ;; 30 | #esac 31 | 32 | # Enable framebuffer device 33 | #echo 0 > /sys/class/graphics/fb0/blank 34 | 35 | # Blank fb1 to prevent static noise 36 | #echo 1 > /sys/class/graphics/fb1/blank 37 | 38 | #echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink 39 | 40 | #/etc/webmin/start & 41 | 42 | #su -c 'hciattach /dev/ttyS1 any' 43 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/cutils/properties.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2006 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef __CUTILS_PROPERTIES_H 18 | #define __CUTILS_PROPERTIES_H 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | /* System properties are *small* name value pairs managed by the 25 | ** property service. If your data doesn't fit in the provided 26 | ** space it is not appropriate for a system property. 27 | ** 28 | ** WARNING: system/bionic/include/sys/system_properties.h also defines 29 | ** these, but with different names. (TODO: fix that) 30 | */ 31 | #define PROPERTY_KEY_MAX 32 32 | #define PROPERTY_VALUE_MAX 124 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/a10disp/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: libcedrus 3 | Source: https://github.com/linux-sunxi/libcedrus 4 | 5 | Files: * 6 | Copyright: Copyright 2013 Harm Hanemaaijer 7 | License: Other 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy 10 | of this software and associated documentation files (the "Software"), to deal 11 | in the Software without restriction, including without limitation the rights 12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | copies of the Software, and to permit persons to whom the Software is 14 | furnished to do so, subject to the following conditions: 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. -------------------------------------------------------------------------------- /scripts/amlogic/mali-8xx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | build_mali_aml() 4 | { 5 | display_alert "Build mali-aml-8xx" "@host" "info" 6 | 7 | local plugin_dir="mali-aml-8xx" 8 | [[ -d "$SOURCES/$plugin_dir" && -n "$SOURCES/$plugin_dir" ]] && rm -rf $SOURCES/$plugin_dir 9 | 10 | mkdir -p $SOURCES/$plugin_dir/ 11 | cp -R $SRC/scripts/amlogic/mali-aml-8xx/* $SOURCES/$plugin_dir/ 12 | 13 | cd $SOURCES/$plugin_dir 14 | 15 | # set up control file 16 | mkdir -p DEBIAN 17 | cat <<-END > DEBIAN/control 18 | Package: mali-aml-8xx 19 | Version: $REVISION 20 | Architecture: $ARCH 21 | Maintainer: $MAINTAINER <$MAINTAINERMAIL> 22 | Installed-Size: 1 23 | Provides: mali-aml-8xx 24 | Conflicts: mali-aml-8xx 25 | Section: kernel 26 | Priority: optional 27 | Description: lib mali 28 | END 29 | 30 | cd $SOURCES 31 | # pack 32 | mv mali-aml-8xx mali-aml-8xx_${REVISION}_${ARCH} 33 | dpkg -b mali-aml-8xx_${REVISION}_${ARCH} >> $DEST/debug/install.log 2>&1 34 | mv mali-aml-8xx_${REVISION}_${ARCH} mali-aml-8xx 35 | mv mali-aml-8xx_${REVISION}_${ARCH}.deb $DEST/debs/ || display_alert "Failed moving mali-aml-8xx package" "" "wrn" 36 | } 37 | 38 | [[ ! -f $DEST/debs/mali-aml-8xx_${REVISION}_${ARCH}.deb ]] && build_mali_aml 39 | 40 | # install mali by default 41 | display_alert "Installing mali-aml-8xx" "$REVISION" "info" 42 | install_deb_chroot "$DEST/debs/mali-aml-8xx_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 43 | -------------------------------------------------------------------------------- /packages/extras-buildpkgs/guvcview/debian/patches/ffmpeg_2.9.patch: -------------------------------------------------------------------------------- 1 | Description: Replace deprecated FFmpeg API 2 | Author: Andreas Cadhalpun 3 | Last-Update: <2015-11-02> 4 | 5 | --- a/gview_encoder/encoder.c 6 | +++ b/gview_encoder/encoder.c 7 | @@ -1434,7 +1434,7 @@ 8 | /*convert default yuyv to y420p (libav input format)*/ 9 | switch(video_codec_data->codec_context->pix_fmt) 10 | { 11 | - case PIX_FMT_YUVJ420P: 12 | + case AV_PIX_FMT_YUVJ420P: 13 | yuv422to420p(encoder_ctx, input_frame); 14 | break; 15 | default: 16 | --- a/gview_v4l2core/jpeg_decoder.c 17 | +++ b/gview_v4l2core/jpeg_decoder.c 18 | @@ -1436,7 +1436,7 @@ 19 | exit(-1); 20 | } 21 | 22 | - codec_data->context->pix_fmt = PIX_FMT_YUV422P; 23 | + codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P; 24 | codec_data->context->width = width; 25 | codec_data->context->height = height; 26 | //jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE); 27 | --- a/gview_v4l2core/uvc_h264.c 28 | +++ b/gview_v4l2core/uvc_h264.c 29 | @@ -970,7 +970,7 @@ 30 | } 31 | 32 | h264_ctx->context->flags2 |= CODEC_FLAG2_FAST; 33 | - h264_ctx->context->pix_fmt = PIX_FMT_YUV420P; 34 | + h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P; 35 | h264_ctx->context->width = width; 36 | h264_ctx->context->height = height; 37 | //h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE); 38 | -------------------------------------------------------------------------------- /scripts/amlogic/mali-aml-8xx/usr/include/amadec/adec-types.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file adec-types.h 3 | * \brief Definitiond Of Audio Dec Types 4 | * \version 1.0.0 5 | * \date 2011-03-08 6 | */ 7 | /* Copyright (C) 2007-2011, Amlogic Inc. 8 | * All right reserved 9 | * 10 | */ 11 | #ifndef ADEC_TYPES_H 12 | #define ADEC_TYPES_H 13 | 14 | typedef enum { 15 | ADEC_AUDIO_FORMAT_UNKNOWN = 0, 16 | ADEC_AUDIO_FORMAT_MPEG, 17 | ADEC_AUDIO_FORMAT_PCM_S16LE, 18 | ADEC_AUDIO_FORMAT_AAC, 19 | ADEC_AUDIO_FORMAT_AC3, 20 | ADEC_AUDIO_FORMAT_ALAW, 21 | ADEC_AUDIO_FORMAT_MULAW, 22 | ADEC_AUDIO_FORMAT_DTS, 23 | ADEC_AUDIO_FORMAT_PCM_S16BE, 24 | ADEC_AUDIO_FORMAT_FLAC, 25 | ADEC_AUDIO_FORMAT_COOK, 26 | ADEC_AUDIO_FORMAT_PCM_U8, 27 | ADEC_AUDIO_FORMAT_ADPCM, 28 | ADEC_AUDIO_FORMAT_AMR, 29 | ADEC_AUDIO_FORMAT_RAAC, 30 | ADEC_AUDIO_FORMAT_WMA, 31 | ADEC_AUDIO_FORMAT_WMAPRO, 32 | ADEC_AUDIO_AFORMAT_PCM_BLURAY, 33 | ADEC_AUDIO_AFORMAT_ALAC, 34 | ADEC_AUDIO_AFORMAT_VORBIS, 35 | ADEC_AUDIO_FORMAT_AAC_LATM, 36 | ADEC_AUDIO_FORMAT_APE, 37 | ADEC_AUDIO_FORMAT_EAC3, 38 | ADEC_AUDIO_FORMAT_PCM_WIFIDISPLAY, 39 | ADEC_AUDIO_FORMAT_MAX, 40 | } adec_audio_format_t; 41 | 42 | #define VALID_FMT(f) ((f>ADEC_AUDIO_FORMAT_UNKNOWN)&& (f 4 | Build-Depends: 5 | debhelper (>= 9), 6 | xutils-dev, 7 | libdrm-dev, 8 | libdri2-dev, 9 | libxfixes-dev, 10 | Standards-Version: 3.9.5 11 | Section: libs 12 | Homepage: https://github.com/linux-sunxi/sunxi-mali/ 13 | 14 | Package: libmali-sunxi-r3p0 15 | Architecture: any 16 | Pre-Depends: 17 | armbian-bsp, 18 | ${misc:Pre-Depends} 19 | Depends: 20 | ${shlibs:Depends}, 21 | ${misc:Depends} 22 | Replaces: 23 | libegl1-mesa, 24 | libgles1-mesa, 25 | libgles2-mesa, 26 | libegl1-mesa-dev, 27 | libgles1-mesa-dev, 28 | libgles2-mesa-dev, 29 | Provides: sunxi-mali 30 | Multi-Arch: same 31 | Description: Mali userspace binary driver version r3p0 32 | This package contains a complete set of Mali userspace drivers, 33 | including proprietary OpenGLESv2/EGL binaries. 34 | 35 | Package: libmali-sunxi-dev 36 | Section: libdevel 37 | Architecture: any 38 | Depends: 39 | libmali-sunxi-r3p0 (= ${binary:Version}), 40 | ${misc:Depends}, 41 | Replaces: 42 | libegl1-mesa-dev, 43 | libgles1-mesa-dev, 44 | libgles2-mesa-dev, 45 | Provides: sunxi-mali-dev 46 | Description: Mali userspace binary driver version r3p0 47 | This package contains a complete set of Mali userspace drivers, 48 | including proprietary OpenGLESv2/EGL binaries. 49 | This package contains OpenGLESv2/EGL development headers 50 | from Mali OpenGL ES SDK. 51 | -------------------------------------------------------------------------------- /scripts/amlogic/aml-mali7.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | build_aml_mali() 4 | { 5 | display_alert "Build aml-mali7" "@host" "info" 6 | 7 | local plugin_dir="aml-mali6" 8 | local plugin_repo="https://github.com/150balbes/pkg-aml" 9 | local plugin_dir="aml-mali7" 10 | [[ -d "$SOURCES/$plugin_dir" && -n "$SOURCES$plugin_dir" ]] && rm -rf $SOURCES/$plugin_dir 11 | fetch_from_repo "$plugin_repo" "$plugin_dir" "branch:aml-mali7" 12 | rm -R $SOURCES/$plugin_dir/.git 13 | # cd $SOURCES/$plugin_dir 14 | 15 | # set up control file 16 | # mkdir -p DEBIAN 17 | # cat <<-END > DEBIAN/control 18 | # Package: aml-mali6 19 | # Version: $REVISION 20 | # Architecture: $ARCH 21 | # Maintainer: $MAINTAINER <$MAINTAINERMAIL> 22 | # Installed-Size: 1 23 | # Provides: aml-mali6 24 | # Conflicts: aml-mali6 25 | # Section: kernel 26 | # Priority: optional 27 | # Description: lib mali6 28 | # END 29 | 30 | cd $SOURCES 31 | # pack 32 | mv aml-mali7 aml-mali7_${REVISION}_${ARCH} 33 | dpkg -b aml-mali7_${REVISION}_${ARCH} >> $DEST/debug/install.log 2>&1 34 | mv aml-mali7_${REVISION}_${ARCH} aml-mali6 35 | mv aml-mali7_${REVISION}_${ARCH}.deb $DEST/debs/ || display_alert "Failed moving aml-mali7 package" "" "wrn" 36 | } 37 | 38 | [[ ! -f $DEST/debs/aml-mali7_${REVISION}_${ARCH}.deb ]] && build_aml_mali 39 | 40 | # install mali by default 41 | display_alert "Installing aml-mali7" "$REVISION" "info" 42 | install_deb_chroot "$DEST/debs/aml-mali7_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 43 | -------------------------------------------------------------------------------- /scripts/amlogic/aml-kodi-905.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | build_kodi_aml() 4 | { 5 | display_alert "Build aml-kodi-905" "@host" "info" 6 | 7 | local plugin_repo="https://github.com/150balbes/pkg-aml" 8 | local plugin_dir="aml-kodi-905" 9 | [[ -d "$SOURCES/$plugin_dir" && -n "$SOURCES$plugin_dir" ]] && rm -rf $SOURCES/$plugin_dir 10 | fetch_from_repo "$plugin_repo" "$plugin_dir" "branch:aml-kodi-905" 11 | rm -R $SOURCES/$plugin_dir/.git 12 | cd $SOURCES/$plugin_dir 13 | 14 | # set up control file 15 | mkdir -p DEBIAN 16 | cat <<-END > DEBIAN/control 17 | Package: aml-kodi-905 18 | Version: $REVISION 19 | Architecture: $ARCH 20 | Maintainer: $MAINTAINER <$MAINTAINERMAIL> 21 | Installed-Size: 1 22 | Provides: aml-kodi-905 23 | Conflicts: aml-kodi-905 24 | Depends: 25 | Section: utils 26 | Priority: optional 27 | Description: aml-kodi-905 28 | END 29 | 30 | cd $SOURCES 31 | # pack 32 | mv aml-kodi-905 aml-kodi-905_${REVISION}_${ARCH} 33 | dpkg -b aml-kodi-905_${REVISION}_${ARCH} >> $DEST/debug/install.log 2>&1 34 | mv aml-kodi-905_${REVISION}_${ARCH} aml-kodi-905 35 | mv aml-kodi-905_${REVISION}_${ARCH}.deb $DEST/debs/ || display_alert "Failed moving aml-kodi-905 package" "" "wrn" 36 | } 37 | 38 | [[ ! -f $DEST/debs/aml-kodi-905_${REVISION}_${ARCH}.deb ]] && build_kodi_aml 39 | 40 | # install 41 | display_alert "Installing aml-kodi-905" "$REVISION" "info" 42 | install_deb_chroot "$DEST/debs/aml-kodi-905_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 43 | --------------------------------------------------------------------------------