samsung-codina: switch to mainline (MR 3104)

[ci:skip-build] Already built successfuly on CI in MR
This commit is contained in:
André Apitzsch 2022-05-01 15:51:01 +02:00 committed by Newbyte
parent f33ade5ae6
commit a7e672fc05
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
2 changed files with 22 additions and 7 deletions

View file

@ -1,15 +1,20 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-codina pkgname=device-samsung-codina
pkgdesc="Samsung Galaxy Ace 2" pkgdesc="Samsung Galaxy Ace 2"
pkgver=1 pkgver=2
pkgrel=3 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armv7" arch="armv7"
options="!check !archcheck" options="!check !archcheck"
depends="mkbootimg postmarketos-base linux-samsung-codina mesa-dri-gallium" depends="mkbootimg postmarketos-base linux-postmarketos-stericsson mesa-dri-gallium"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo" subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
deviceinfo
"
build() { build() {
devicepkg_build $startdir $pkgname devicepkg_build $startdir $pkgname
@ -19,7 +24,13 @@ package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
} }
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="firmware-samsung-u8500"
mkdir "$subpkgdir"
}
sha512sums=" sha512sums="
5383fce4559f6de0a025ca00e3f42f5b3ccd2112e116cbbf812b876339a18eb0a18871967081aa7b6ac44cb066d95ff86d9e3638ca3975dcc20e5ae59c9917b5 deviceinfo ce13f2711ead5542253083a1eb4183aae0fa4aa206b578daf8771b7d8d1cf8d63d9f7e5971f939a1458769146a6e3d84cbfb8c45e7d25968994b7c1f11bdf2c1 deviceinfo
" "

View file

@ -6,18 +6,23 @@ deviceinfo_name="Samsung Galaxy Ace 2"
deviceinfo_manufacturer="Samsung" deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-codina" deviceinfo_codename="samsung-codina"
deviceinfo_year="2012" deviceinfo_year="2012"
deviceinfo_dtb="ste-ux500-samsung-codina"
deviceinfo_arch="armv7" deviceinfo_arch="armv7"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="handset" deviceinfo_chassis="handset"
deviceinfo_keyboard="false" deviceinfo_keyboard="false"
deviceinfo_external_storage="true" deviceinfo_external_storage="true"
deviceinfo_screen_width="480" deviceinfo_screen_width="480"
deviceinfo_screen_height="800" deviceinfo_screen_height="800"
deviceinfo_getty="ttyAMA2;115200"
deviceinfo_kernel_cmdline="console=ttyAMA2,115200 PMOS_NO_OUTPUT_REDIRECT"
# Bootloader related # Bootloader related
deviceinfo_flash_method="fastboot" deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true" deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_dtb_second_mainline="true" deviceinfo_bootimg_dtb_second="true"
deviceinfo_flash_offset_base="0x00000000" deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000" deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000" deviceinfo_flash_offset_ramdisk="0x01000000"
@ -25,4 +30,3 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100" deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048" deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true" deviceinfo_flash_sparse="true"