Adding additional packages to your Android build is independent of the
kernel that you use. So, whether you use a 3.2, 3.8, 3.14+ kernel on your
BBB with Android, it is still the same. After you clone the Android source
repos and you have the complete Android source on your machine, look inside
the "device" directory of the Android source and locate the directory for
your device. In my Android builds, this is the device/ti/beagleboneblack
directory. Open the device.mk file in this directory and look at it. A
variety of packages will be added to your device-specific build using lines
like this:
PRODUCT_PACKAGES += \
librs_jni \
com.android.future.usb.accessory
You just need to add the following at the end of your file, but before any
$(call ...) lines at the end of the file:
PRODUCT_PACKAGES += dropbear
Now that you've added the dropbear package to the build, you need to add
the source code for dropbear. All of the extra external packages like
dropbear are in the "external" directory of the Android source tree. If
you don't have an "external/dropbear" directory there, you can fetch the
dropbear git repo from AOSP. When the dropbear package has been added and
you've modified device.mk to include the dropbear package, run your lunch
command again and rebuild the system. It will now include the dropbear
binaries. Make sure that an Android.mk file exists in your
external/dropbear directory, since this is the makefile used by the Android
build system to build each Android component. If you don't have an
Android.mk file, you downloaded dropbear from somewhere on the internet,
rather than pulling it from AOSP.
You'll need to create your SSL keys, copy all of the dropbear files over to
your Android system, and modify the init.rc file to launch the dropbear
daemon at the appropriate time. Just google a bit and you'll see many
people that are installing dropbear to their rooted Android systems. I am
not going to walk you through these steps because it varies from Android
system to system and there are plenty of examples out there to help you.
Andrew
On Wednesday, November 19, 2014 1:43:25 AM UTC-5, [email protected] wrote:
>
> Hi Andrew.
>
> Could you please tell me how can i add dropbear support for android 4.4
> running on linux 3.2 kernel.
>
> Looking for a quick response from your end..
>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.