armh-mcom02: initial features for ELVIS Salute board

This commit is contained in:
Anton Midyukov 2019-07-25 14:27:39 +07:00 committed by Michael Shigorin
parent 944c8cfc9a
commit e09d7bef57
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,2 @@
Фича предназначена для обеспечения поддержки процессорного модуля
"ЭЛВИС Салют ЭЛ24ПМ2". Подробнее: http://altlinux.org/mcom02

View File

@ -0,0 +1,7 @@
ifeq (,$(filter-out armh,$(ARCH)))
use/armh-mcom02: use/uboot use/tty/S0
@$(call add_feature)
@$(call set,KFLAVOURS,mcom02)
@$(call add,THE_PACKAGES,u-boot-mcom02-firmware-tools u-boot-mcom02)
endif

View File

@ -0,0 +1,15 @@
#!/bin/sh
# Rewrite extlinux.conf
mkdir -p /boot/extlinux
cat > /boot/extlinux/extlinux.conf << EOF
menu title ALT Boot Options
default linux
timeout 20
label linux
kernel /boot/vmlinuz
initrd /boot/initrd.img
append root=LABEL=ROOT ro console=ttyS0,115200 video=HDMI:1920x1080
EOF

View File

@ -0,0 +1,4 @@
#!/bin/sh
# Drop fdtdir PATH
sed -i '/fdtdir/d' /boot/extlinux/extlinux.conf