Skip to content
Snippets Groups Projects
Commit 5fa5228a authored by Mikhail Vanyulin's avatar Mikhail Vanyulin
Browse files

install:prepare:gf-prepare-xml2dto.sh: add handling for new gfxml2dto argument


gfxml2dto was updated to handle FSL based imx6 dts, which set up LVDS related
nodes differently compared to vanila kernel.

Signed-off-by: default avatarMikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
parent 4420f4fa
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,17 @@ mount_bootpartition BOOTFILES_DIR
# Change into boot directory
cd "$BOOTFILES_DIR" || exit 1
FSL=""
DEVICETREE_FILE="$( head -n 1 "$BOOTFILES_DIR"/devicetree )"
cat $DEVICETREE_FILE | grep -i mxcfb 1>/dev/null
if [[ $? == 0 ]]
then
FSL="-f"
fi
# Create overlay form SECO Northern Europe XML
if [ -x "/usr/bin/gfxml2dto" ]; then
if gfxml2dto -o "$GFXML_OVERLAY_NAME"
if gfxml2dto $FSL -o "$GFXML_OVERLAY_NAME"
then
append_overlay "${GFXML_OVERLAY_NAME}"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment