device-linksys-shelby: new device (MR 5938)

This commit is contained in:
exkc 2024-12-22 17:24:41 +08:00 committed by Robert Eckelmann
parent a4b2fa217a
commit 58ffcc6bd1
No known key found for this signature in database
GPG key ID: 30C0D50BEF63BF54
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: exkc <exkc@exkc.moe>
pkgname=device-linksys-shelby
pkgdesc="Linksys WRT1900ACS/WRT1900ACS V2"
pkgver=0
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-marvell
postmarketos-base
u-boot-tools
"
makedepends="devicepkg-dev"
source="
deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
d6d1ca8cfe681c739e5511dd71fa1f12240712ab59d2bb2f52dc5737bfad315d04e01fdcc567092640a3b8f3f8f9e4140302bcaba5dfb646a6fa570ea043ca6f deviceinfo
"

View file

@ -0,0 +1,36 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Linksys WRT1900ACS/WRT1900ACS V2"
deviceinfo_manufacturer="Linksys"
deviceinfo_codename="linksys-shelby"
deviceinfo_year="2015"
deviceinfo_dtb="armada-385-linksys-shelby"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="embedded"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_no_framebuffer="true"
deviceinfo_gpu_accelerated="false"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_generate_legacy_uboot_initfs="true"
deviceinfo_legacy_uboot_load_address="00008000"
deviceinfo_initfs_compression="gzip"
deviceinfo_disable_dhcpd="true"
# a hack for the stock uboot (it dont like the mainline dtb for some reason)
deviceinfo_append_dtb="true"
# legacy uboot on this device cannot use gpt
deviceinfo_partition_type="msdos"
# serial support
deviceinfo_getty="ttyS0;115200"