Re: [isar-cip-core][RFC PATCH] customizations: Add FW and tools required for wifi testing


Jan Kiszka
 

On 22.11.21 12:19, Lad Prabhakar wrote:
Add firmware and tools required for testing wifin on hihope-rzg2m.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Hi All,

Sending an RFC as I am not sure if this is the right place to add
this. I wanted to add the debian package depends in machine.conf
file but didnt find any variables.
IMAGE_INSTALL_append would work there, see eg.
https://github.com/siemens/jailhouse-images/blob/master/conf/machine/rpi4.conf.

Whether we want to "hard-code" the installation wireless firmware in the
machine conf here is a different question. Maybe customizations is not
that a bad place.


Is this the right place for adding this, if not could you please point
me to the right direction.

** Do not merge this patch **

Cheers,
Prabhakar
---
recipes-core/customizations/customizations.bb | 3 +++
1 file changed, 3 insertions(+)

diff --git a/recipes-core/customizations/customizations.bb b/recipes-core/customizations/customizations.bb
index 932b11c..c508fd4 100644
--- a/recipes-core/customizations/customizations.bb
+++ b/recipes-core/customizations/customizations.bb
@@ -23,6 +23,9 @@ DEPENDS += "sshd-regen-keys"
DEBIAN_DEPENDS = " \
ifupdown, isc-dhcp-client, net-tools, iputils-ping, ssh, sshd-regen-keys"

+DEBIAN_DEPENDS_hihope-rzg2m += " \
+ ,firmware-ti-connectivity, iw, wireless-regdb, wireless-tools"
+
Let's already prepare for other targets requesting the generic wireless
tools as well: Put them into a reusable variable and then add that
variable here.

Jan

do_install() {
install -v -d ${D}/etc/network/interfaces.d
install -v -m 644 ${WORKDIR}/ethernet ${D}/etc/network/interfaces.d/
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Join cip-dev@lists.cip-project.org to automatically receive all group messages.