Skip to content

Commit

Permalink
package/dropbear: Update dropbear, enable OPENSSL and -Ofast
Browse files Browse the repository at this point in the history
This will fix the dropbear issue seen with microblaze systems
(which likely seems to be a compiler bug):

ssh_dispatch_run_fatal: Connection to 10.44.3.71 port 22: incorrect signature

and allow sshfs access.

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich authored and commodo committed Mar 3, 2020
1 parent d4686cb commit cfc2536
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 351 deletions.
3 changes: 3 additions & 0 deletions configs/microblaze_adi_defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
BR2_microblazeel=y
BR2_OPTIMIZE_FAST=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(BR2_ARCH)-xilinx-linux-gnu"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
Expand All @@ -12,6 +13,8 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://github.com/analogdevicesinc/linux"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="master"
BR2_LINUX_KERNEL_DEFCONFIG="adi_mb"
BR2_PACKAGE_LIBTOMCRYPT=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_LIBAIO=y
BR2_PACKAGE_LIBIIO=y
# BR2_PACKAGE_LIBIIO_USB_BACKEND is not set
Expand Down
5 changes: 4 additions & 1 deletion configs/microblaze_adi_rootfs_defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
BR2_microblazeel=y
BR2_OPTIMIZE_FAST=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(BR2_ARCH)-xilinx-linux-gnu"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
Expand All @@ -7,6 +8,8 @@ BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_SSP is not set
BR2_TARGET_GENERIC_ROOT_PASSWD="analog"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/analogdevicesinc/common/post-build.sh"
BR2_PACKAGE_LIBTOMCRYPT=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_LIBAIO=y
BR2_PACKAGE_LIBIIO=y
# BR2_PACKAGE_LIBIIO_USB_BACKEND is not set
Expand All @@ -18,7 +21,7 @@ BR2_PACKAGE_DROPBEAR_MOTD=y
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_MII_DIAG=y
BR2_PACKAGE_PHYTOOL=y
BR2_PACKAGE_JESD204B_STATUS=y
BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_GZIP=y
BR2_PACKAGE_HOST_DROPBEAR=y
BR2_PACKAGE_JESD204B_STATUS=y

This file was deleted.

236 changes: 0 additions & 236 deletions package/dropbear/0002-Wait-to-fail-invalid-usernames.patch

This file was deleted.

5 changes: 5 additions & 0 deletions package/dropbear/dropbear.hash
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# From https://matt.ucc.asn.au/dropbear/releases/SHA256SUM.asc
sha256 f2fb9167eca8cf93456a5fc1d4faf709902a3ab70dd44e352f3acbc3ffdaea65 dropbear-2018.76.tar.bz2
# From https://matt.ucc.asn.au/dropbear/releases/SHA256SUM.asc
sha256 525965971272270995364a0eb01f35180d793182e63dd0b0c3eb0292291644a4 dropbear-2019.78.tar.bz2

# License file, locally computed
sha256 cfa32d49e9022265375e533a4a5ef9e37d4aaa604119d612c46816aa1e59fe52 LICENSE
Loading

0 comments on commit cfc2536

Please sign in to comment.