tUpdate droid4 kexec cmdline with the one we have in our kernel config. - arm-sdk - os build toolkit for various embedded devices
HTML git clone https://git.parazyd.org/arm-sdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit c1834d4ae92b862c9a8c5175229a4dd0489c6826
DIR parent fad02cba71e696c7403131c823810504ac43433b
HTML Author: parazyd <parazyd@dyne.org>
Date: Thu, 15 Feb 2018 20:31:21 +0100
Update droid4 kexec cmdline with the one we have in our kernel config.
Diffstat:
M boards/droid4.sh | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/boards/droid4.sh b/boards/droid4.sh
t@@ -115,6 +115,10 @@ build_kernel_${arch}() {
cp -v "$strapdir/boot/omap4-droid4-xt894.dtb" ../ddroid/system/etc/kexec/devtree
popd
pushd ddroid
+ # use the cmdline found in our kernel config
+ eval $(grep CONFIG_CMDLINE= $R/boards/kernel-configs/droid4.config)
+ sed -i system/etc/kexec/kexec \
+ -e "s/^CMDLINE=.*/CMDLINE=$CONFIG_CMDLINE/"
make zip || zerr
popd
mkdir -p "$R/dist"