e2k: initial implementation
Elbrus 2000 only takes us a few lines to get up and running ;-)
This commit is contained in:
parent
db1d0ee592
commit
78ac727d7b
1
features.in/e2k/README
Normal file
1
features.in/e2k/README
Normal file
@ -0,0 +1 @@
|
||||
Эта фича содержит необходимое для поддержки систем архитектуры "Эльбрус".
|
3
features.in/e2k/config.mk
Normal file
3
features.in/e2k/config.mk
Normal file
@ -0,0 +1,3 @@
|
||||
use/e2k:
|
||||
@$(call add_feature)
|
||||
@$(call set,KFLAVOURS,mcst-def)
|
7
features.in/e2k/rootfs/files/boot/boot.conf
Normal file
7
features.in/e2k/rootfs/files/boot/boot.conf
Normal file
@ -0,0 +1,7 @@
|
||||
default=auto
|
||||
|
||||
label=auto
|
||||
partition=0
|
||||
image=/image-@KVER@
|
||||
initrd=/initrd-@KVER@.img
|
||||
cmdline=console=tty0 consoleblank=0 hardreset root=UUID=@ROOTUUID@
|
9
features.in/e2k/rootfs/image-scripts.d/50-e2k-serial
Executable file
9
features.in/e2k/rootfs/image-scripts.d/50-e2k-serial
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
CFG="/boot/boot.conf"
|
||||
|
||||
[ -f "$CFG" ] || exit 1
|
||||
[ -n "$GLOBAL_TTY_DEV" -a -n "$GLOBAL_TTY_RATE" ] || exit 0
|
||||
|
||||
# tty0 first
|
||||
sed -i "s/console=tty0 /console=$GLOBAL_TTY_DEV,$GLOBAL_TTY_RATE &/" "$CFG"
|
Loading…
Reference in New Issue
Block a user