armh-mcom02: initial features for ELVIS Salute board
This commit is contained in:
parent
944c8cfc9a
commit
e09d7bef57
2
features.in/armh-mcom02/README
Normal file
2
features.in/armh-mcom02/README
Normal file
@ -0,0 +1,2 @@
|
||||
Фича предназначена для обеспечения поддержки процессорного модуля
|
||||
"ЭЛВИС Салют ЭЛ24ПМ2". Подробнее: http://altlinux.org/mcom02
|
7
features.in/armh-mcom02/config.mk
Normal file
7
features.in/armh-mcom02/config.mk
Normal 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
|
15
features.in/armh-mcom02/image-scripts.d/01-uboot-prepare
Executable file
15
features.in/armh-mcom02/image-scripts.d/01-uboot-prepare
Executable 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
|
4
features.in/armh-mcom02/image-scripts.d/99-extlinux-conf-fix
Executable file
4
features.in/armh-mcom02/image-scripts.d/99-extlinux-conf-fix
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Drop fdtdir PATH
|
||||
sed -i '/fdtdir/d' /boot/extlinux/extlinux.conf
|
Loading…
x
Reference in New Issue
Block a user