diff --git a/device/testing/device-dell-ariel/APKBUILD b/device/testing/device-dell-ariel/APKBUILD new file mode 100644 index 000000000..3078f535d --- /dev/null +++ b/device/testing/device-dell-ariel/APKBUILD @@ -0,0 +1,37 @@ +# Reference: +maintainer="Robert Eckelmann " +pkgname=device-dell-ariel +pkgdesc="Device package for the Dell Wyse 3020 thin-client" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="armv7" +options="!check !archcheck" +# todo: # switch back to pmOS-mainline kernel once that is merged and dell-ariel.dts has been upstreamed +depends=" + linux-postmarketos-marvell + postmarketos-base + u-boot-tools +" +makedepends="devicepkg-dev" +source=" + deviceinfo + modules-initfs + wloader.cfg +" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname + install -Dm755 "$srcdir"/wloader.cfg "$pkgdir"/boot/wloader.cfg +} + +sha512sums=" +52bac2542b084fed1e35fe8305e4dd6df12771ad559ee374e25ff6d2b3fc4cb89b3efdf6bde3cc90d06c9019479b2d72de1cc636b71236b98e5db8639994decf deviceinfo +9a3a57169361cdfbf5c629a4fa543d70b684084ab67b25c85af06a73af585f0fb6dfd260b14cb8fd20e4de3b1204fdc2cbaf0925cdf089ab141a2223e5275d13 modules-initfs +3c9ad67819ab66b47408d1e8dbb2b0c30b7f5ae99c7da1f80bb928db819ac60d6dbbcfc4a3e606e2c0a37a5db7a8c078f2b3512fac1a0ea7995f9346baee7e32 wloader.cfg +" diff --git a/device/testing/device-dell-ariel/deviceinfo b/device/testing/device-dell-ariel/deviceinfo new file mode 100644 index 000000000..fc0113923 --- /dev/null +++ b/device/testing/device-dell-ariel/deviceinfo @@ -0,0 +1,27 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="dell Dell Wyse 3020" +deviceinfo_manufacturer="dell" +deviceinfo_codename="dell-ariel" +deviceinfo_year="2015" +deviceinfo_dtb="mmp3-dell-ariel" +deviceinfo_arch="armv7" + +# Device related +deviceinfo_chassis="embedded" +deviceinfo_external_storage="true" +deviceinfo_drm="true" + +# Bootloader related +deviceinfo_generate_extlinux_config="true" +deviceinfo_generate_legacy_uboot_initfs="true" +deviceinfo_initfs_compression="gzip" +deviceinfo_append_dtb="true" + +# legacy BL on this device cannot use gpt: +deviceinfo_partition_type="msdos" +deviceinfo_boot_filesystem="fat32" + diff --git a/device/testing/device-dell-ariel/modules-initfs b/device/testing/device-dell-ariel/modules-initfs new file mode 100644 index 000000000..c9ab1a496 --- /dev/null +++ b/device/testing/device-dell-ariel/modules-initfs @@ -0,0 +1,18 @@ +# This file shall contain a list of modules to be included in the initramfs, +# so that they are available in early boot stages. In general, it should +# include modules to support unlocking FDE (touchscreen, panel, etc), +# USB networking, and telnet in the debug-shell. +# The format is one module name per line. Lines starting with the character +# '#', and empty lines are ignored. If there are multiple kernel variants +# with different initramfs module requirements, one modules-initfs.$variant +# file should be created for each of them. +ehci-mv +phy-mmp3-usb +uas +onboard_usb_dev +smsc75xx +i2c-pxa +etnaviv +mmpfb +chrontel-ch7033 +leds-ariel diff --git a/device/testing/device-dell-ariel/wloader.cfg b/device/testing/device-dell-ariel/wloader.cfg new file mode 100644 index 000000000..996e65ac8 --- /dev/null +++ b/device/testing/device-dell-ariel/wloader.cfg @@ -0,0 +1,5 @@ + +kernel=uImage +initrd=uInitrd +param="rootdelay=5 root=LABEL=pmOS_root console=ttyS2,115200 cma=64M" +