{device,petitboot}-motorola-smi: move to archived
This device does not build and builds both the kernel and bootloader in one package. The last submitter/maintainer update to this package was in 2023. [ci:skip-vercheck] Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7712>
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-motorola-smi
|
||||
pkgdesc="Motorola RAZR i"
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="x86"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-intel-medfield
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
watchdog-kick
|
||||
petitboot-motorola-smi
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-phosh
|
||||
"
|
||||
source="
|
||||
deviceinfo
|
||||
gsk-renderer-cairo.sh
|
||||
phoc.ini
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
install -Dm755 "$srcdir"/gsk-renderer-cairo.sh -t \
|
||||
"$pkgdir"/etc/profile.d/
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Wifi firmware"
|
||||
depends="linux-firmware-ti-connectivity"
|
||||
replaces="linux-firmware-ti-connectivity"
|
||||
|
||||
mkdir -p "$subpkgdir"/lib/firmware/ti-connectivity
|
||||
ln -s wl128x-nvs.bin "$subpkgdir"/lib/firmware/ti-connectivity/wl127x-nvs.bin
|
||||
}
|
||||
|
||||
phosh() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
||||
|
||||
install -Dm644 "$srcdir"/phoc.ini \
|
||||
"$subpkgdir"/etc/phosh/phoc.ini
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
d6760304ad8e7f13ba3f83ff6b648d8c09caf1983f3075a74353196111d98e45aef30d647d5ace034c1df67229259edb9f606d49a5155cf8dc07f0b334b8648d deviceinfo
|
||||
3f1422115c9a12f94b6fb7cc4e987f25ea331a9c7cbc34649470bc5557dfc85b79cbc4369e48f12f284ed1e20af6194d8bbb3c5e37227a7d9bc3e6670cd41aa9 gsk-renderer-cairo.sh
|
||||
9263024be649673b4c94094fb0807fd2597cfe9b7042902df71b843eb507912ef8df9fd476811db275b11ec2b1a9c6b45eb90cb6a85d699f45666e0cee8d6553 phoc.ini
|
||||
"
|
||||
@@ -1,28 +0,0 @@
|
||||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Motorola RAZR i"
|
||||
deviceinfo_manufacturer="Motorola"
|
||||
deviceinfo_codename="motorola-smi"
|
||||
deviceinfo_year="2012"
|
||||
deviceinfo_arch="x86"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="540"
|
||||
deviceinfo_screen_height="960"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_dtb="motorola-smi"
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_generate_grub_config="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
deviceinfo_flash_offset_base="0x00000400"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
export GSK_RENDERER=cairo
|
||||
@@ -1,2 +0,0 @@
|
||||
[output:LVDS-1]
|
||||
scale = 1
|
||||
@@ -1,81 +0,0 @@
|
||||
pkgname=petitboot-motorola-smi
|
||||
pkgver=1.13
|
||||
pkgrel=1
|
||||
_commit="c6e874098175b03deb6829c340fccad7bfb5a258"
|
||||
pkgdesc="Petitboot based bootloader for motorola-smi"
|
||||
url="https://github.com/open-power/petitboot"
|
||||
arch="x86"
|
||||
_carch="x86"
|
||||
_config="config-$pkgname.$arch"
|
||||
license="GPL-2.0-only"
|
||||
makedepends="
|
||||
bash
|
||||
bison
|
||||
findutils
|
||||
flex
|
||||
linux-headers
|
||||
openssl-dev
|
||||
perl
|
||||
postmarketos-installkernel
|
||||
xz
|
||||
petitboot
|
||||
kexec-tools
|
||||
udev
|
||||
busybox
|
||||
kbd
|
||||
abootimg
|
||||
"
|
||||
options="!check"
|
||||
source="
|
||||
inittab
|
||||
fstab
|
||||
keymap.map
|
||||
https://gitlab.com/julianwi/linux-intel-medfield/-/archive/$_commit/linux-$_commit.tar.gz
|
||||
$_config
|
||||
"
|
||||
builddir=$srcdir
|
||||
|
||||
build() {
|
||||
# build initramfs
|
||||
mkdir -p initramfs/dev initramfs/mnt initramfs/proc initramfs/sys initramfs/etc initramfs/tmp initramfs/run
|
||||
for binary in /usr/sbin/kexec /usr/sbin/pb-discover /usr/sbin/petitboot-nc /bin/busybox /sbin/udevd /bin/udevadm
|
||||
do
|
||||
cp --parents "$binary" initramfs
|
||||
for library in $(ldd "$binary" | cut -d '>' -f 2 | awk '{print $1}')
|
||||
do
|
||||
cp --parents "$library" initramfs
|
||||
done
|
||||
done
|
||||
/bin/busybox --install -s initramfs/bin
|
||||
cp inittab fstab initramfs/etc/
|
||||
cp --parents /etc/terminfo/l/linux initramfs
|
||||
cp --parents /etc/terminfo/v/vt102 initramfs
|
||||
ln -s /bin/init initramfs/init
|
||||
cp --parents -r /etc/udev/rules.d initramfs
|
||||
cp --parents -r /usr/lib/udev/rules.d initramfs
|
||||
loadkeys -b keymap.map > initramfs/etc/keymap.bmap
|
||||
cd initramfs; find . ! -name '*.*~' | cpio -o -H newc | gzip > $srcdir/initramfs.cpio.gz
|
||||
|
||||
# build kernel
|
||||
cd $srcdir/linux-intel-medfield-$_commit
|
||||
cp "$srcdir/$_config" .config
|
||||
unset LDFLAGS
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1))-$_flavor" bzImage
|
||||
|
||||
# pack bootimg
|
||||
cd $builddir
|
||||
abootimg --create boot.img -k $srcdir/linux-intel-medfield-$_commit/arch/x86/boot/bzImage -r $srcdir/initramfs.cpio.gz -c "cmdline = loglevel=0 console=null"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -D boot.img \
|
||||
"$pkgdir"/boot/boot.img
|
||||
}
|
||||
sha512sums="
|
||||
c1ab96aec680b48cd88cc8c4f667dfa28463cf54fd45a9c62c1e37a8c4d7dbe0a64d7e3a2625f2cf72fc6842f002552ff4132cc66e742e2fc63b06dd3829c15d inittab
|
||||
77898e390d1cac7eef2981072e81e3bbb085e5211a04b88522767ea798b6d28dcb77d48182655eafa4f5a60743234978639ceeb3aa52f81f5678df2a710dcd84 fstab
|
||||
ff6113a9dc620cefd7a9d84f20177315d8b1be90c76ae9628a84f0e5601f6ed46b1fd7531076352b70902445475fc117c1ed4c856b08dd97ce650af6f462401b keymap.map
|
||||
8a4e1113e07ed968c82d882fa2b1fcc94017a4dc236b856cb78a32f42480bff9987c0cdd1586a293d78f5d4dd4366c08c534d13a77115bfcac4bf2d1ce416cb4 linux-c6e874098175b03deb6829c340fccad7bfb5a258.tar.gz
|
||||
770d8cc4a39142f61c4e250cd673dfd97344025c91e2ba84788b3c072934f615745adf85fdd8184a6fa101827e869ab543538fe6023d3f79b2cd3be866b8898b config-petitboot-motorola-smi.x86
|
||||
"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +0,0 @@
|
||||
# <file system> <mount pt> <type> <options> <dump> <pass>
|
||||
devtmpfs /dev devtmpfs defaults 0 0
|
||||
proc /proc proc defaults 0 0
|
||||
sysfs /sys sysfs defaults 0 0
|
||||
@@ -1,21 +0,0 @@
|
||||
# /etc/inittab
|
||||
|
||||
::sysinit:/bin/mount -a
|
||||
::sysinit:/bin/loadkmap < /etc/keymap.bmap
|
||||
|
||||
::once:/sbin/udevd
|
||||
::once:/bin/udevadm trigger --type=devices --action=add
|
||||
::once:/bin/udevadm settle
|
||||
::respawn:/usr/sbin/pb-discover
|
||||
|
||||
# Set up getty on framebuffer console
|
||||
tty1::respawn:/bin/getty -nl /usr/sbin/petitboot-nc 38400 tty1
|
||||
|
||||
# Put a getty on the USB serial port
|
||||
ttyGS0::respawn:/bin/getty -nl /usr/sbin/petitboot-nc 115200 ttyGS0
|
||||
|
||||
# Stuff to do for the 3-finger salute
|
||||
::ctrlaltdel:/bin/reboot
|
||||
|
||||
# Stuff to do before rebooting
|
||||
::shutdown:/bin/umount -a
|
||||
@@ -1,6 +0,0 @@
|
||||
# KEY_VOLUMEUP
|
||||
keycode 115 = Up
|
||||
# KEY_VOLUMEDOWN
|
||||
keycode 114 = Down
|
||||
# KEY_POWER
|
||||
keycode 116 = Return
|
||||
Reference in New Issue
Block a user