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
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
pkgname=firmware-samsung-kiran
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
_commit="f2e766aad4bf57439ba343395d458a3d95f06c8b"
|
|
pkgdesc="Samsung Z1 Firmware"
|
|
url="https://github.com/peremen/firmware-samsung-kiran"
|
|
arch="armv7"
|
|
license="proprietary"
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/peremen/firmware-samsung-kiran/archive/$_commit.tar.gz"
|
|
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
|
|
builddir="$srcdir/firmware-samsung-kiran-$_commit"
|
|
|
|
package() {
|
|
# Wi-Fi
|
|
install -Dm644 wifi/nvram_mfg_bcm4343s_cob.txt \
|
|
"$pkgdir"/lib/firmware/postmarketos/nvram_mfg_bcm4343s.txt
|
|
install -Dm644 wifi/nvram_net_bcm4343s_cob.txt \
|
|
"$pkgdir"/lib/firmware/postmarketos/nvram_net_bcm4343s.txt
|
|
install -Dm644 wifi/wlan_apsta_bcm4343s.bin \
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan_apsta_bcm4343s.bin
|
|
install -Dm644 wifi/wlan_mfg_bcm4343s.bin \
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan_mfg_bcm4343s.bin
|
|
install -Dm644 wifi/wlan_net_bcm4343s.bin \
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan_net_bcm4343s.bin
|
|
}
|
|
sha512sums="
|
|
ea3d0ff9c8d87df70b602225008e589c8057868467e76ebddd8395a5347eaa7ff4873326bce96ec463db167c7e9d3305753b9e10519616a6d0b84298fdef097b firmware-samsung-kiran-f2e766aad4bf57439ba343395d458a3d95f06c8b.tar.gz
|
|
"
|