From 25ffc9b69496832b291825d13e44f1448ef28477 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Thu, 24 Aug 2017 12:34:03 +1000 Subject: [PATCH] the kgdboc cmdline setting seems to have sometimes causing the rpi64 kernel to crash Signed-off-by: Sven Dowideit --- scripts/images/raspberry-pi-hypriot/scripts/build.sh | 2 +- scripts/images/raspberry-pi-hypriot64/scripts/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/images/raspberry-pi-hypriot/scripts/build.sh b/scripts/images/raspberry-pi-hypriot/scripts/build.sh index dfd7af49..6582afea 100755 --- a/scripts/images/raspberry-pi-hypriot/scripts/build.sh +++ b/scripts/images/raspberry-pi-hypriot/scripts/build.sh @@ -60,7 +60,7 @@ rm -fr build/basefs/lib/modules/{4.4.27+,4.4.27-hypriotos+} # populate kernel, bootloader and RancherOS rootfs cp -R build/basefs/* build/root tar -xf assets/rootfs_arm.tar.gz -C build/root -echo "+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup-enable=memory swapaccount=1 elevator=deadline rootwait console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty0 rancher.password=rancher rancher.autologin=ttyAMA0 rw init=/init" > build/root/boot/cmdline.txt +echo "+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup-enable=memory swapaccount=1 elevator=deadline rootwait console=ttyAMA0,115200 console=tty0 rancher.password=rancher rancher.autologin=ttyAMA0 rw init=/init" > build/root/boot/cmdline.txt # enable serial console mode for rpi3 echo "enable_uart=1" > build/root/boot/config.txt diff --git a/scripts/images/raspberry-pi-hypriot64/scripts/build.sh b/scripts/images/raspberry-pi-hypriot64/scripts/build.sh index 51814f6e..f1ecaa37 100755 --- a/scripts/images/raspberry-pi-hypriot64/scripts/build.sh +++ b/scripts/images/raspberry-pi-hypriot64/scripts/build.sh @@ -62,7 +62,7 @@ rm -fr build/basefs/lib/modules/{4.4.27+,4.4.27-hypriotos+} # populate kernel, bootloader and RancherOS rootfs cp -R build/basefs/* build/root tar -xf assets/rootfs_arm64.tar.gz -C build/root -echo "+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup-enable=memory swapaccount=1 elevator=deadline rootwait console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty0 rancher.password=rancher rancher.autologin=ttyAMA0 rw init=/init" > build/root/boot/cmdline.txt +echo "+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup-enable=memory swapaccount=1 elevator=deadline rootwait console=ttyAMA0,115200 console=tty0 rancher.password=rancher rancher.autologin=ttyAMA0 rw init=/init" > build/root/boot/cmdline.txt # enable serial console mode for rpi3 echo "enable_uart=1" > build/root/boot/config.txt