Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Enabling New Space Missions: Commercial Space Screening Approach for Agile, High-Reliability Payloads

    As the Space market evolves and accelerates, mission designers need space-capable electronics that balance performance, reliability, and affordability...

    Places

    • ADI Academy
    • ADI Webinars
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Enabling New Space Missions: Commercial Space Screening Approach for Agile, High-Reliability Payloads
    • Understanding and Selecting RF Low Noise Amplifiers for Instrumentation, Phased Array and General Purpose Applications
    • Design Smarter with Compact, Low-Power Precision Current Source Signal Chains
    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    • A 16T/16R X-Band Direct Sampling Phased Array Subsystem using Apollo MxFE
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ296 about repairing an equation in a digital display

      1. Quote of this month: " When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: Mature, Not Old! The Longevity of 4 – 20 mA New...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Taming the AI Power Storm: Part 2 of 3

    Let’s peel back the curtain on how Analog Devices (ADI) is leading the charge, crafting power solutions that not only keep up with AI’s appetite but redefine...

     

    TIA Me Up, But Keep It Stable: Part 2 of 3

    Imagine trying to measure a current so tiny that it’s almost invisible. How is that even possible? How do we even convert that current signal into something...

    Latest Blogs

    • Celebrating Innovation: Top 3 EngineerZone Spotlight Blogs from 2025
    • Transforming Power: Transfer Techniques in SMPS: Part 3 of 4
    • Taming the Chaos: Correlated and Uncorrelated Sources in LTspice .NOISE Simulations: Part 3 of 3
    • ​​Where Errors Lurk in the GMSL Signal Chain​
    • Achieving Power Over Data with RS-485 Transceivers
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Sensor Interfaces
    • SmartMesh
EngineerZone
EngineerZone
Linux Distribution for Blackfin
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Linux Distribution for Blackfin
  • Processors & DSP
  • Software & Development Tools
  • Linux Distribution for Blackfin
  • Cancel
Linux Distribution for Blackfin
Documents How to get ssh server (dropbear) running on BF609 EZ BOARD using Blackfin ucLinux 2014R1-RC1
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • Cancel
  • +Documents
  • +2013R1 Linux release for Blackfin: FAQ
  • +2013R1: FAQ
  • +AD5700: FAQ
  • +ADI test script: FAQ
  • +bf537 SPI Bus: FAQ
  • +BF609: FAQ
  • +BF70x processor: FAQ
  • +bfin-elf-libstdc++-4.3: FAQ
  • +bfin-elf: FAQ
  • +bfin-uclinux-libstdc++-4.3: FAQ
  • +Blackfin Linux Projects: FAQ
  • -Blackinfin Linux: FAQ
    • Moving to a newer Blacinfin Linux release version
    • How to get ssh server (dropbear) running on BF609 EZ BOARD using Blackfin ucLinux 2014R1-RC1
    • Where can I get Linux Blackfin documents?
  • +build toolchain: FAQ
  • +CPLB fault or SIGABRT: FAQ
  • +DAS U-BOOT FOR BLACKFIN: FAQ
  • +Default ADI release: FAQ
  • +Flash the uImage into Flash: FAQ
  • +gas test: FAQ
  • +gcc-4.3 ICEs: FAQ
  • +gcc.c-torture/execute/memset-2.c: FAQ
  • +gcc.dg/trampoline-1.c test: FAQ
  • +gcc/g++ test: FAQ
  • +gcc/g++ testcase: FAQ
  • +GDB commands: FAQ
  • +gdb.base/sigall.exp: FAQ
  • +gdb.cp/userdef.exp: FAQ
  • +gdb.gdbtk/c_variable.exp: FAQ
  • +GDB: FAQ
  • +gdb: symbol: FAQ
  • +gdbproxy: FAQ
  • +GNU TOOLCHAIN: FAQ
  • +How to load Linux: FAQ
  • +ldr-utils: FAQ
  • +libstdc++-4.3 21_strings/basic_string/capacity/char/18654.cc test: FAQ
  • +LOOP: FAQ
  • +mcpu: FAQ
  • +Parent Document for U-Boot Bug Archive: FAQ
  • +Parent Document for U-Boot Bug Forum Archive: FAQ
  • +Parent for all content moved from GNU Archive: FAQ
  • +prepare_target_solibs: FAQ
  • +SDP-B: FAQ
  • +signal 11: FAQ
  • +sim binutils: FAQ
  • +SPI eeprom: FAQ
  • +svn head u-boot build: FAQ
  • +test libmudflap: FAQ
  • +toolchain-regtest -r: FAQ
  • +toolchain-regtest: FAQ
  • +trunk head gdbproxy: FAQ
  • +trunk toolchain: FAQ
  • +u-boot with UART: FAQ
  • +u-boot: FAQ
  • +uClinux kernel: FAQ
  • +uClinux: FAQ
  • +Upgrade from 3801 to 3852: FAQ
  • +VDSP: FAQ

How to get ssh server (dropbear) running on BF609 EZ BOARD using Blackfin ucLinux 2014R1-RC1

How to get ssh server (dropbear) running on BF609 EZ BOARD using Blackfin ucLinux 2014R1-RC1 by WillMoore

If you follow https://blackfin.uclinux.org/doku.php?id=uclinux-dist:dropbear and are using a BF609 EZ BOARD and the latest Blackfin ucLinux release 2014RC-RC1 you will find problems.  So here is my how to, I hope it helps.  It assumes you have a working 2014R1-RC1 build booting on your BF609 EZ BOARD and that you are familiar enough with rebuilding this and updating your booting image.  Since there are a number of ways this can be done I will not cover that here.

Select dropbear in Buildroot:

vm@ubuntu:~/blackfin-buildroot$ make menuconfig

configuration written to /home/vm/blackfin-buildroot/.config

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

Unfortunately when you try to make the dropbear package you will find a problem:

vm@ubuntu:~/blackfin-buildroot$ make

--snip--

>>> dropbear 2013.58 Patching package//dropbear

before patching /home/vm/blackfin-buildroot/output/build/dropbear-2013.58 /home/vm/blackfin-buildroot/output/build/dropbear-2013.58

Applying dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch using patch:

patching file includes.h

Applying dropbear-vfork.patch using patch:

can't find file to patch at input line 3

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|--- svr-main_orig.c    2013-06-03 18:11:58.526322318 +0800

|+++ svr-main.c    2013-06-03 18:13:09.730322623 +0800

--------------------------

No file to patch.  Skipping patch.

1 out of 1 hunk ignored

Patch failed!  Please fix dropbear-vfork.patch!

make: *** [/home/vm/blackfin-buildroot/output/build/dropbear-2013.58/.stamp_patched] Error 1

The problem is the dropbear-vfork,patch shipped as a part of 2014R1-RC1 is broken, (it is not generated to run from the  directory that Buildroot expects) I attach a fixed version, copy this over the package/dropbear/dropbear-vfork,patch and try again:

vm@ubuntu:~/blackfin-buildroot$ make

--snip--

cp support/misc/target-dir-warning.txt /home/vm/blackfin-buildroot/output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM

Now it builds.  The default is to build to run from inetd.  So we need to adjust inetd.conf.  We will also need to have a password set on the root user.  This requires that we adjust the default busybox configuration that ships with 2014R1-RC1.  We will also need to generate dropbear keys.  Then we will need a way to ensure that the inetd.conf, password, and dropbear keys are all built into the ucLinux on your BF609.  One way to do this is to add them as a rootfs overlay in Buildroot so that each time Buildroot builds the target rootfs it will overlay these files.  To configure a rootfs overlay, set up a rootfs-overlay directory to add files to:

vm@ubuntu:~/blackfin-buildroot$ mkdir ./board/AnalogDevices/blackfin/bf609-ezboard

vm@ubuntu:~/blackfin-buildroot$ mkdir ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay

vm@ubuntu:~/blackfin-buildroot$ mkdir ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc

vm@ubuntu:~/blackfin-buildroot$ mkdir ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/dropbear

vm@ubuntu:~/blackfin-buildroot$ cp ./board/AnalogDevices/blackfin/target_skeleton/etc/inetd.conf ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/

Now edit the /board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/inetd.conf to add a line:

ssh stream tcp nowait root /usr/sbin/dropbear dropbear -i

I also attach my inetd.conf file which could just be copied into /board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/.

Configure Buildroot to use this rootfs overlay:

vm@ubuntu:~/blackfin-buildroot$ make menuconfig

configuration written to /home/vm/blackfin-buildroot/.config

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

Now we have a rootfs overlay it is easier to add files to the build, just add them to the /board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/ directory.

Before we make Buildroot again, adjust the busybox configuration to add the passwd functionality:

vm@ubuntu:~/blackfin-buildroot$ make busybox-menuconfig

--snip--

*** End of configuration.

*** Execute 'make' to build the project or try 'make help'.

make[1]: Leaving directory `/home/vm/blackfin-buildroot/output/build/busybox-1.21.1'

rm -f /home/vm/blackfin-buildroot/output/build/busybox-1.21.1/.stamp_built

rm -f /home/vm/blackfin-buildroot/output/build/busybox-1.21.1/.stamp_target_installed

 

Now we can make Buildroot:

vm@ubuntu:~/blackfin-buildroot$ make

>>> busybox 1.21.1 Building

--snip--

cp support/misc/target-dir-warning.txt /home/vm/blackfin-buildroot/output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM

Transfer this new ucLinux image to your target and boot it.  On the target, ensure your network is set up as per https://blackfin.uclinux.org/doku.php?id=setting_up_the_network.

Set up a password:

root:/> passwd

You can copy the password back to your rootfs-overlay by rcp (assuming your target is configured as IP 192.168.1.2!), on your development host:

vm@ubuntu:~/blackfin-buildroot$ rcp root@192.168.1.2:/etc/passwd ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/

Next time you make Buildroot this will be added to the rootfs so the system will boot with a this root password.

Set up dropbear keys on the target:

root:/> dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key

Will output 1024 bit dss secret key to '/etc/dropbear/dropbear_dss_host_key'

Generating key, this may take a while...

Public key portion is:

ssh-dss AAAAB3NzaC1kc3MAAACBAIP5s/vfCy0UOXmcWQwpkalgsfi/8QtviFGfAX7EBPEtNQCGyUH1ZrQ+sDAXQhGaS4sgalHKi7a9Cf4pVenyGYiafpHm7vRlPKVIJZIgzHMO5Kojs1QIxnYgaXHfTRjHAbBAD1cOlFUR0J4gwETfrNfzn73VUhbLQX4qKhzK04frAAAAFQDPx8A/N0alvNDLQV2ccDgA1Z6tQQAAAIBkiVJcWfzQX8VcXY4t78K3iVZckHLlFLvdGeI0oS30ssaTZP4P+QKuEOhHySQgfvthS5j2doeCUVtn4hKOcphXI5fkKGiXGmKnh1dbj8mlBNIYV23lsd2KC3YMsZ6gNqPw/Ple/Xejn+22F9qmYry92SX+dCD+6SaMTVpOPqYkKQAAAIAX6IBEUYdc7JBsCmgVeJDwCEDiN4EufclJlLAu9Eiqk5b2UxPkOOBquRkg5X12+iRL3CFTHucWYMKT6CG52h60TBXgKXBsBaIeS9zj5hxqIZJR7rIM5UsyrbuwUEc9I2HkzoU58Fr1pA4+cwCvllB8T/OswkBjJ/4xh7yLSicQGw== root@buildroot

Fingerprint: md5 1b:9b:dc:be:8b:89:40:9f:d5:a0:36:26:7c:78:0e:71

root:/> dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key

Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'

Generating key, this may take a while...

Public key portion is:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwChTXC4jaLN60gzUpTiWKPP9ye5CdtFnC31dEIPGgyIp2rXitb6V6dUjHAEXGFK4ZqQADJzBCZPnykf4X2s/EG0pG7UfCx24U0sKWIOWEGOy2DYgGhwnYU6V8LQWWnFZa1hnoADH8YV+ShsQFoeMl2hr1A9+WPxw0VPRHTLIJNIu0Q7 root@buildroot

Fingerprint: md5 d6:4b:fb:8f:28:07:ac:7e:cb:b8:a3:7f:69:94:28:0f

root:/>

You can copy the dropbear keys back to your rootfs-overlay by rcp (assuming your target is configured as IP 192.168.1.2!):

vm@ubuntu:~/blackfin-buildroot$ rcp root@192.168.1.2:/etc/dropbear/dropbear_dss_host_key ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/dropbear

vm@ubuntu:~/blackfin-buildroot$ rcp root@192.168.1.2:/etc/dropbear/dropbear_rsa_host_key ./board/AnalogDevices/blackfin/bf609-ezboard/rootfs-overlay/etc/dropbear

It should be noted that it is bad form from a security point of view to do this sort of thing with passwords and ssh keys and this should not be used for production, but for development to get ssh up and running it is fine :-)

You should now be able to ssh into your target, unless I missed something ...

attachments.zip

RE: How to get ssh server (dropbear) running on BF609 EZ BOARD using Blackfin ucLinux 2014R1-RC1 by ADIApproved:

Will, Thanks for sharing! This will help a lot lot of people.

Tags: BF609 EZ BOARD Blackfin ucLinux 2014R1-RC1 dropbear
  • Share
  • History
  • More
  • Cancel
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved