Skip to content
Snippets Groups Projects
Verified Commit c7cdb2da authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

initramfs-tools/scripts/reform: run 'dmesg -n 7' in the initramfs on ls1028 as...

initramfs-tools/scripts/reform: run 'dmesg -n 7' in the initramfs on ls1028 as workaround for dwc3 unreliability

reform/reform-debian-packages#5
parent 46c5b1a9
No related branches found
No related tags found
1 merge request!72reform-tools 1.44
......@@ -22,6 +22,8 @@ case $MACHINE in
"MNT Reform 2 with LS1028A Module")
[ "${verbose}" = "y" ] && echo "Adding firmware ls1028a-mhdpfw.bin"
copy_file firmware /boot/ls1028a-mhdpfw.bin /lib/firmware
[ "${verbose}" = "y" ] && echo "Adding /usr/bin/dmesg"
copy_exec /usr/bin/dmesg
;;
"MNT Reform 2 with RCORE RK3588 Module") : ;;
"MNT Pocket Reform with i.MX8MP Module") : ;;
......
......@@ -11,4 +11,9 @@ elif [ -e /proc/device-tree/model ]; then
MACHINE=$(cat /proc/device-tree/model)
fi
# nothing to do
case $MACHINE in
"MNT Reform 2 with LS1028A Module")
# https://source.mnt.re/reform/reform-debian-packages/-/issues/5
dmesg -n 7 || echo "E: failed to set kernel loglevel" >&2
;;
esac
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