亚行 Yocto 食谱 [英] ADB Yocto Recipe

查看:47
本文介绍了亚行 Yocto 食谱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有我可以添加到 yocto 构建以启用 Android 调试桥 (ADB) 的配方?我使用 yocto bitbake (pokey+meta-raspberry) 为 raspberry pi 4 构建了一个基本图像.我希望能够使用 USB 而不是以太网/ssh 与电路板进行通信.ADB 似乎是一个不错的选择(例如:adb push).回顾了一下meta-raspberry层,没看到有这样的功能可以添加,不知道有没有可以用的层.谢谢!

Is there a recipe I can add to a yocto build to enable Android Debug Bridge (ADB)? I built a basic image for a raspberry pi 4 using yocto bitbake (pokey+meta-raspberry). I want to be able to communicate with the board using USB instead of ethernet/ssh. ADB seems to be a good option (ex: adb push). I reviewed the meta-raspberry layer, and I didn't see such a feature to add, so I wonder if there is a layer I could use. Thx!

推荐答案

android-toolsmeta-openembedded/meta-oe 层是 Android 相关的封装配方工具,例如 fastbootadb.请参阅 https://layers.openembedded.org/layerindex/recipe/52988/.

android-tools in meta-openembedded/meta-oe layer is the package recipe for Android related tools, such as fastboot and adb. See https://layers.openembedded.org/layerindex/recipe/52988/.

因此,您可能想在您的图像中安装 android-tools 包,也可能想要安装 android-tools-adbd 包?

Therefore, you probably want to install android-tools package in your image and maybe android-tools-adbd too?

这篇关于亚行 Yocto 食谱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆