Skip to content
Permalink
Browse files

add EXTRA_CMDLINE option to add kernel command line arguments

Allow configuring extra kernel command line arguments by using the
EXTRA_CMDLINE variable. The patch handles EXTRA_CMDLINE only for the
bcm2835 boot loaders.
  • Loading branch information
haggaie authored and sraue committed May 25, 2015
1 parent a09ae66 commit e3203be00ea0a055f51da8760a37bcd2bcc17a7a
Showing with 2 additions and 1 deletion.
  1. +1 −0 scripts/image
  2. +1 −1 scripts/mkimage
@@ -333,6 +333,7 @@ fi
UUID_SYSTEM="$(uuidgen)" \
UUID_STORAGE="$(uuidgen)" \
UBOOT_SYSTEM="$UBOOT_SYSTEM" \
EXTRA_CMDLINE="$EXTRA_CMDLINE" \
$SCRIPTS/mkimage
fi

@@ -148,7 +148,7 @@ elif [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
# create bootloader configuration
echo "image: creating bootloader configuration..."
cat << EOF > "$OE_TMP"/cmdline.txt
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet $EXTRA_CMDLINE
EOF

# copy files

0 comments on commit e3203be

Please sign in to comment.
You can’t perform that action at this time.