]> git.baikalelectronics.ru Git - uboot.git/commitdiff
colibri_vf: disable undefined instruction events in user debug
authorStefan Agner <stefan.agner@toradex.com>
Mon, 25 Mar 2019 16:25:07 +0000 (17:25 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
It turns out that OpenSSL calls undefined instructions to detect
ARM capabilities at runtime (via SIGILL handler). This leads to
stack traces e.g. when logging in using SSH:
  [  877.464442] sshd (613): undefined instruction: pc=76ee2da8
  ...

Disable undefined instruction events since it is used as an
autodetecion mechanism.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
include/configs/colibri_vf.h

index 030281bb671e5c53b87de2076383e325bdee6908..b2f27c1977c8f0140793868ba02f03e53594349f 100644 (file)
        SD_BOOTCMD \
        UBI_BOOTCMD \
        "console=ttyLP0\0" \
-       "defargs=user_debug=31\0" \
+       "defargs=user_debug=30\0" \
        "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
        "fdt_board=eval-v3\0" \
        "fdt_fixup=;\0" \