armh-skit: Initial feature
This commit is contained in:
parent
ebd5ccc941
commit
bf9b26afc4
2
features.in/armh-skit/README
Normal file
2
features.in/armh-skit/README
Normal file
@ -0,0 +1,2 @@
|
||||
Фича предназначена для обеспечения поддержки планшетов "Скит".
|
||||
Основана на фиче armh-mcom02.
|
8
features.in/armh-skit/config.mk
Normal file
8
features.in/armh-skit/config.mk
Normal file
@ -0,0 +1,8 @@
|
||||
ifeq (,$(filter-out armh,$(ARCH)))
|
||||
use/armh-skit: use/bootloader/uboot use/tty/S0 use/no-sleep
|
||||
@$(call add_feature)
|
||||
@$(call set,KFLAVOURS,skit)
|
||||
@$(call add,THE_PACKAGES,extlinux-fdtdir-cleanup-filetrigger)
|
||||
@$(call add,THE_PACKAGES,xorg-drv-fbturbo)
|
||||
|
||||
endif
|
15
features.in/armh-skit/image-scripts.d/01-uboot-prepare
Executable file
15
features.in/armh-skit/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 50
|
||||
|
||||
label linux
|
||||
kernel /boot/vmlinuz
|
||||
initrd /boot/initrd.img
|
||||
append root=LABEL=ROOT ro
|
||||
EOF
|
6
features.in/armh-skit/image-scripts.d/50-alsa-set-initial-options-ports
Executable file
6
features.in/armh-skit/image-scripts.d/50-alsa-set-initial-options-ports
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh -efu
|
||||
|
||||
[ -f /etc/firsttime.d/alsa-set-initial-options ] &&
|
||||
sed -i '/snd-seq-midi/d' /etc/firsttime.d/alsa-set-initial-options
|
||||
|
||||
exit 0
|
13
features.in/armh-skit/image-scripts.d/90-fbturbo
Executable file
13
features.in/armh-skit/image-scripts.d/90-fbturbo
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
[ -d /etc/X11/xorg.conf.d ] || exit 0
|
||||
cat > /etc/X11/xorg.conf.d/10-monitor.conf << EOF
|
||||
Section "Monitor"
|
||||
Identifier "Monitor0"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Card0"
|
||||
Driver "fbturbo"
|
||||
EndSection
|
||||
EOF
|
4
features.in/armh-skit/image-scripts.d/99-extlinux-conf-fix
Executable file
4
features.in/armh-skit/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