diff --git a/device/testing/device-samsung-milletwifi/APKBUILD b/device/testing/device-samsung-milletwifi/APKBUILD new file mode 100644 index 000000000..8834c8a6c --- /dev/null +++ b/device/testing/device-samsung-milletwifi/APKBUILD @@ -0,0 +1,32 @@ +# Reference: +pkgname=device-samsung-milletwifi +pkgdesc="Samsung Galaxy Tab 4 8.0 Wi-Fi" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="armv7" +options="!check !archcheck" +depends="linux-postmarketos-qcom-msm8226 mkbootimg postmarketos-base" +makedepends="devicepkg-dev" +source="deviceinfo modules-initfs" +subpackages="$pkgname-nonfree-firmware:nonfree_firmware" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +nonfree_firmware() { + pkgdesc="GPU/WiFi/BT/Modem/Video firmware" + depends="msm-firmware-loader" + mkdir "$subpkgdir" +} + +sha512sums=" +7f18715d199734594523319384ca5458a9ae54fff55db8337d6d74b1678695cd9db8a75666c22b41922a05e4af479d938ee53137d02fcd7fd5df3637527a8018 deviceinfo +566fbcbd958c465fa546068095c51678b6635a247dd7ef1d6c7f4c5fd527a21f41ed4daf8f63a1342433f150d3437b102e523bfa63d17ff64a0ebe48eb7b9ae6 modules-initfs +" diff --git a/device/testing/device-samsung-milletwifi/deviceinfo b/device/testing/device-samsung-milletwifi/deviceinfo new file mode 100644 index 000000000..3f96fe921 --- /dev/null +++ b/device/testing/device-samsung-milletwifi/deviceinfo @@ -0,0 +1,31 @@ +# Reference: +# Please use double quotes only. You can source this file in shell scripts. + +deviceinfo_format_version="0" +deviceinfo_name="Samsung Galaxy Tab 4 8.0 Wi-Fi" +deviceinfo_manufacturer="Samsung" +deviceinfo_codename="samsung-milletwifi" +deviceinfo_year="2014" +deviceinfo_dtb="qcom-apq8026-samsung-milletwifi" +deviceinfo_append_dtb="true" +deviceinfo_arch="armv7" + +# Device related +deviceinfo_chassis="tablet" +deviceinfo_keyboard="false" +deviceinfo_external_storage="true" +deviceinfo_screen_width="800" +deviceinfo_screen_height="1280" + +# Bootloader related +deviceinfo_flash_method="fastboot" +deviceinfo_kernel_cmdline="msm.allow_vram_carveout=1 clk_ignore_unused pd_ignore_unused" +deviceinfo_generate_bootimg="true" +deviceinfo_bootimg_mtk_mkimage="false" +deviceinfo_bootimg_dtb_second="false" +deviceinfo_flash_pagesize="2048" +deviceinfo_flash_offset_base="0x00000000" +deviceinfo_flash_offset_kernel="0x00008000" +deviceinfo_flash_offset_ramdisk="0x02000000" +deviceinfo_flash_offset_second="0x00000000" +deviceinfo_flash_offset_tags="0x01e00000" diff --git a/device/testing/device-samsung-milletwifi/modules-initfs b/device/testing/device-samsung-milletwifi/modules-initfs new file mode 100644 index 000000000..20ce930c0 --- /dev/null +++ b/device/testing/device-samsung-milletwifi/modules-initfs @@ -0,0 +1,2 @@ +mms114 +msm