Commit ab2758a0 authored by Anton Midyukov's avatar Anton Midyukov

aarch64-dbm, regular-vm.mk: drop aarch64-dbm feature

This feature has long lost its relevance, as intended for the first samples of boards Baikal M with very raw UEFI firmware.
parent e7ae83e5
......@@ -131,10 +131,6 @@ vm/regular-mate-tegra: vm/.regular-gtk mixin/regular-mate use/aarch64-tegra; @:
vm/regular-xfce-tegra: vm/.regular-gtk mixin/regular-xfce use/aarch64-tegra; @:
# DBM BE-M1000
vm/regular-xfce-dbm: vm/.regular-gtk mixin/regular-xfce use/aarch64-dbm; @:
vm/regular-gnome3-dbm: vm/.regular-gtk mixin/regular-gnome3 use/aarch64-dbm; @:
endif
ifeq (,$(filter-out armh,$(ARCH)))
......
Настраивает систему для загрузки на плате DBM с SoC BE-M1000 (aarch64).
ifeq (,$(filter-out aarch64,$(ARCH)))
use/aarch64-dbm: use/efi/grub use/tty/S0
@$(call add_feature)
@$(call set,KFLAVOURS,bfkm)
@$(call add,BASE_BOOTARGS,video=HDMI-A-1:D fbcon=map:0)
@$(call try,DBM_DTB,bm-bfkm)
@$(call xport,DBM_DTB)
use/aarch64-dbm/mini-itx: use/aarch64-dbm
@$(call set,DBM_DTB,bm-bfkm)
endif
#!/bin/sh -efu
# To load a Linux kernel onto a DBM board using GRUB2,
# you need specific parameters on the kernel command line
# and an explicit definition the dtb file to load.
# This script creates the required settings in the file
# /etc/sysconfig/grub2
cfgfile="/etc/sysconfig/grub2"
if [ -f "$cfgfile" ]
then
echo "# Configure GRUB2 Special Settings for DBM board" >> "$cfgfile"
echo "GRUB_FDT_LINUX=$GLOBAL_DBM_DTB.dtb" >> "$cfgfile"
fi
#!/bin/sh
# The tar2fs script writes the contents of the /boot/efi directory
# to a disk image partition for EFI.
# Place the scripts executed by EFI Shell in /boot/efi
mkdir -p /boot/efi
# Script startup.nsh to boot with GRUB2 by default
cat > /boot/efi/startup.nsh << EOF
\EFI\BOOT\BOOTAA64.EFI
EOF
# The efidrvext.nsh script can be run manually from the EFI Shell
# to boot using the ext2, ext3, ext4 driver for EFI
cat > /boot/efi/efidrvext.nsh << EOF
load fs0:\efi\drivers\ext2_aa64.efi
map -r
FS1:\boot\vmlinuz root=/dev/sda2 ro console=ttyS0,115200 video=HDMI-A-1:D fbcon=map:0 initrd=/boot/initrd.img dtb=/boot/dtb/bm-bfkm.dtb
EOF
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