p550: Set DTB information for grub
The vendor firmware for P550 doesn't know how to pick up the DTB automatically from /boot, and we've been having trouble getting that combination to work correctly anyway. While we work on a more standard solution, get things to boot by telling grub where the DTB is so that it will automatically add a "devicetree" command to all boot entries. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
c48b33d164
commit
5a65b12210
@ -43,6 +43,10 @@ if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]];
|
|||||||
echo "GRUB_DISABLE_RECOVERY=true" >> /etc/default/grub
|
echo "GRUB_DISABLE_RECOVERY=true" >> /etc/default/grub
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$kiwi_profiles" == *"P550"* ]]; then
|
||||||
|
echo 'GRUB_DEFAULT_DTB="dtb/eswin/eic7700-hifive-premier-p550.dtb"' >> /etc/default/grub
|
||||||
|
fi
|
||||||
|
|
||||||
#======================================
|
#======================================
|
||||||
# Resize root partition on first boot
|
# Resize root partition on first boot
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user