1a57242213
The kernel is based on Samsung's downstream kernel for the device. Some configuration changes are required to make the kernel to work: * Tizen kernel uses SLP USB gadget, changed to Android USB gadget. * sprdfb patches and modification on the devicetree files are required to use the framebuffer. * Other required pmOS kernel settings were enabled. * Tizen does not use initramfs, use RAMDISK partition to store initramfs of pmOS (like heimdall-isorec configuration). As far as I know, no alternative OS exists for this device so this is the very first usage. * Flash the root file system to USER, as ROOTFS is < 1 GB in size and USER is about 2.7 GB. samsung-kiran: Update device and firmware packages * Changed kernel configuration for firmware path to follow postmarketOS. * Post install script to mount CSA partition CSA partition [1] contains non-volatile data for Tizen devices. As Samsung Z1 uses this partition to store Wi-Fi and Bluetooth information, mount this partition to use within postmarketOS. [1] https://docs.tizen.org/platform/porting/kernel/ linux-samsung-kiran: Use lzop to decompress initramfs This synchronizes behavior with other heimdall-isorec devices. [ci:skip-build] Already built successfuly on CI in MR
39 lines
830 B
Text
39 lines
830 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-kiran
|
|
pkgdesc="Samsung Z1"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-samsung-kiran
|
|
mesa-dri-gallium
|
|
postmarketos-base
|
|
alsa-utils
|
|
alsa-ucm-conf
|
|
soc-sprd-audio-sc8830
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
install="$pkgname.post-install"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Firmware for Wi-Fi"
|
|
depends="firmware-samsung-kiran"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
0df41c94df913a4280cda14bba98e2b343f422152691924d883afac8c8e73e1958df19e2d218130cd26ab952cda5e17bed7f488fca0c2fe0909728bd5dfbd9dd deviceinfo
|
|
"
|