Commit 447bd6b7 authored by Anton Midyukov's avatar Anton Midyukov

remove mipsel support

The mipsel repository is no longer being developed.
parent 974f45cb
......@@ -76,42 +76,4 @@ vm/regular-xfce-rpi: vm/.regular-gtk mixin/regular-xfce use/arm-rpi4/full; @:
endif
ifeq (,$(filter-out mipsel,$(ARCH)))
# Tavolga
vm/regular-jeos-systemd-tavolga: vm/.regular-jeos-systemd \
use/mipsel-mitx; @:
vm/regular-builder-tavolga: vm/regular-jeos-systemd-tavolga \
mixin/regular-builder; @:
vm/regular-lxqt-tavolga: vm/.regular-gtk mixin/regular-lxqt \
use/mipsel-mitx/x11; @:
vm/regular-mate-tavolga: vm/.regular-gtk mixin/regular-mate \
use/mipsel-mitx/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce-tavolga: vm/.regular-gtk mixin/regular-xfce \
use/mipsel-mitx/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
# bfk3
vm/regular-jeos-systemd-bfk3: vm/.regular-jeos-systemd \
use/mipsel-bfk3; @:
vm/regular-builder-bfk3: vm/regular-jeos-systemd-bfk3 \
mixin/regular-builder; @:
vm/regular-lxqt-bfk3: vm/.regular-gtk mixin/regular-lxqt \
use/mipsel-bfk3/x11; @:
vm/regular-mate-bfk3: vm/.regular-gtk mixin/regular-mate \
use/mipsel-bfk3/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce-bfk3: vm/.regular-gtk mixin/regular-xfce \
use/mipsel-bfk3/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
endif
endif
......@@ -26,9 +26,6 @@ VM_SIZE ?= 0
VM_GZIP_COMMAND ?= gzip -f
VM_XZ_COMMAND ?= xz -T0 -f
# tavolga
RECOVERY_LINE ?= Press ENTER to start
# tarball save
ifneq (,$(VM_SAVE_TARBALL))
ifeq (,$(filter-out img img.xz qcow2 qcow2c vdi vmdk vhd,$(IMAGE_TYPE)))
......@@ -98,16 +95,6 @@ convert-image/qcow2 convert-image/qcow2c convert-image/vmdk \
qemu-img convert $$VM_COMPRESS -O "$$VM_FORMAT" \
"$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"
# for tavolga
convert-image/recovery.tar:
build-recovery-tar \
--image-name $(IMAGE_NAME) \
--date $(DATE) \
--compress-command '$(VM_GZIP_COMMAND)' \
--rootfs "$(VM_TARBALL)" \
--output "$(IMAGE_OUTPATH)" \
--line '$(RECOVERY_LINE)'
post-convert:
@rm -f "$(VM_RAWDISK)"; \
if [ "0$(DEBUG)" -le 1 ]; then rm -f "$(VM_TARBALL)"; fi
......
=== features.in/mipsel-bfk3 ===
Фича предназначена для создания образа прошивки для отладочной платы BFK3.1.
https://www.altlinux.org/BFK3.1
use/mipsel-bfk3: use/kernel use/tty/S0 use/net-eth/dhcp/timeout/20
@$(call add_feature)
@$(call set,KFLAVOURS,bfk3-def)
@$(call set,DTB_NAME,baikal/baikal_bfk3.dtb)
@$(call xport,DTB_NAME)
@$(call set,VM_FSTYPE,ext2)
@$(call add,THE_PACKAGES,fbset-modes-sm750-bfk3)
@$(call add,THE_PACKAGES,alt-config-be-t)
use/mipsel-bfk3/x11: use/mipsel-bfk3 use/x11/radeon; @:
#!/bin/sh -efu
sed '/[[:space:]]\/[[:space:]]/d' /etc/fstab
printf "/dev/sda1\t/\t$GLOBAL_VM_FSTYPE\tdefaults\t1 1\n" >> /etc/fstab
#!/bin/sh -efu
mkdir -p /boot
vmlinuz="$(find /boot -type f -name 'vmlinuz-*')"
kversion="${vmlinuz##/boot/vmlinuz-}"
[ -n "$GLOBAL_DTB_NAME" ]
DTB_FILE="/lib/devicetree/$kversion/$GLOBAL_DTB_NAME"
DTB_NAME="$(basename "$DTB_FILE" .dtb)"
cp "$DTB_FILE" "/boot/$DTB_NAME-$kversion.dtb"
ln -s "$DTB_NAME-$kversion.dtb" "/boot/$DTB_NAME.dtb"
# various SDK version have various defaults
ln -s boot/vmlinuz /vmlinux.bin
ln -s boot/vmlinuz /bfk3.vmlinux.bin
ln -s boot/initrd.img /initramfs.gz
ln -s "boot/$DTB_NAME.dtb" /baikal.dtb
ln -s "boot/$DTB_NAME.dtb" /bfk3.dtb
exit 0
=== features.in/mipsel-mitx ===
Фича предназначена для создания прошивки для компьютера "Таволга Терминал".
https://www.altlinux.org/Ports/mipsel/Прошивка_образа_в_формате_recovery.tar_на_Таволга_Терминал
use/mipsel-mitx: use/kernel use/tty/S0 use/net-eth/dhcp/timeout/20
@$(call add_feature)
@$(call set,KFLAVOURS,mitx-xpa)
@$(call add,THE_PACKAGES,alt-config-be-t)
use/mipsel-mitx/x11: use/mipsel-mitx
@$(call add,THE_PACKAGES,xorg-conf-sm750-tavolga)
#!/bin/sh -efu
# remove rootfs entry
sed -i '/rootfs/d' /etc/fstab
echo "/dev/sda6 / ext4 relatime 1 1" >> /etc/fstab
echo "/dev/sda1 /boot ext4 defaults 1 2" >> /etc/fstab
#!/bin/sh -efu
mkdir -p /boot
vmlinuz="$(find /boot -type f -name 'vmlinuz-*')"
kversion="${vmlinuz##/boot/vmlinuz-}"
DTB_NAME=
# grep 'load-.*0xffffffff' arch/mips/baikal/Platform
KERNEL_LOAD_ADDR=
case "$kversion" in
3.19*)
DTB_NAME=tplatforms_mitx2
KERNEL_LOAD_ADDR=0x80004000
;;
4.4*)
DTB_NAME=tplatforms_mitx
KERNEL_LOAD_ADDR=0x80100000
;;
*)
# 4.9 and other experimential stuff
DTB_NAME=baikal_mitx
KERNEL_LOAD_ADDR=0x80100000
;;
esac
[ -n "$DTB_NAME" ]
[ -n "$KERNEL_LOAD_ADDR" ]
cp /lib/devicetree/"$kversion/$DTB_NAME".dtb /boot/"$DTB_NAME"-"$kversion".dtb
ln -s "$DTB_NAME"-"$kversion".dtb /boot/$DTB_NAME.dtb
cat > /boot/bootconf << EOF
default: bootconf0
bootconf0 vmlinuz $KERNEL_LOAD_ADDR $KERNEL_LOAD_ADDR $DTB_NAME.dtb initrd.img root=/dev/sda6 rw rootwait earlyprintk=uart8520,mmio32,0x1f04a000,115200 maxcpus=2 consoleblank=0 console=tty1 video=sm750fb:1920x1080-32@60 nohtw nocoherentio ieee754=relaxed
EOF
exit 0
#!/bin/sh
CONFIG=/etc/sysconfig/cpufreq-simple
[ -f "$CONFIG" ] || exit 0
. shell-config
shell_config_set "$CONFIG" GOVERNOR_AC_ON performance
shell_config_set "$CONFIG" GOVERNOR_AC_OFF performance
......@@ -65,8 +65,7 @@ VM_TARGETS := $(call targets,vm)
DISTROS := $(call addsuffices,$(DISTRO_EXTS),$(DISTRO_TARGETS))
VES := $(call addsuffices,$(VE_EXTS),$(VE_TARGETS))
VES_TAR := $(call addsuffices,.tar,$(VE_TARGETS))
VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS)) \
$(call addsuffices,$(VM_TAVOLGA_EXTS), $(filter vm/%-tavolga, $(VM_TARGETS)))
VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS))
VMS_IMG := $(call addsuffices,.img,$(VM_TARGETS))
IMAGES := $(DISTROS) $(VES) $(VMS)
......
......@@ -15,7 +15,5 @@ screen
strace
sudo
su
tavolga-image-tools@mipsel
tavolga-image-tools@X86
vim-console
zsh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment