Commit 8bc377c7 authored by Dmitriy Terekhin's avatar Dmitriy Terekhin Committed by Anton Midyukov

aarch64-dbm: added 93-grub2-param-dbm

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
parent 9bd0fcaf
ifeq (,$(filter-out aarch64,$(ARCH)))
use/aarch64-dbm: use/efi/grub
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)
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=bm-bfkm.dtb" >> "$cfgfile"
fi
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