BeagleBone Black在哪里配置了g_multi? [英] Where is g_multi configured in BeagleBone Black?

查看:123
本文介绍了BeagleBone Black在哪里配置了g_multi?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用BeableBone Black中的默认Debian安装,您可以通过USB作为不同的设备来访问它:大容量存储设备,虚拟以太网和虚拟串行uart.这是通过g_multi模块完成的.您可以通过/sys/module/g_multi/parameters/中的文件查看其配置.

With the default Debian installation in a BeableBone Black you can access it via USB as different devices: mass storage device, virtual ethernet and virtual serial uart. This is accomplished with the g_multi module. You can review its configuration via files in /sys/module/g_multi/parameters/ .

我试图将其仅用作大容量存储设备,但与其他磁盘/块设备一起使用,而不与引导块设备中​​的第二个分区一起使用.我已经检查了它始终是同一个分区,无论它是/dev/mmcblk1p2(当我在启动时插入microSD时)还是/dev/mmcblk0p2(没有它).我试过在启动后删除g_multi,并使用自己的配置对g_multi或g_mass_storage进行modprobing,效果很好.

I am trying to use it only as a mass storage device but with other disk/block device, not the second partition in the boot block device. I have checked that it is always the same partition not matter if it is /dev/mmcblk1p2 (when I have a microSD inserted on boot) or /dev/mmcblk0p2 (without it). I have tried removing g_multi after boot and modprobing g_multi or g_mass_storage with my own configuration, and it works OK.

但是我不想在启动时加载默认配置,所以我需要g_multi根本不加载或使用我自己的参数加载. 我在所有我能想到的地方搜索它的配置:/etc中的模块配置,systemd的配置,内核的uboot参数,反编译dtbs甚至使用编译的内核,我都搜索了启动g_multi显示的制造商.所有文件中的/sys/module/g_multi/parameters/iManufacturer.

But I don't want the default configuration to load on startup, so I need g_multi to not load at all, or to load with my own parameters. I search for its configuration in every place I could think of: configuration for modules in /etc, configuration for systemd, parameters of uboot for kernel, decompiling dtbs, and even with a compiled kernel I searched for the manufacturer that the startup g_multi shows in its /sys/module/g_multi/parameters/iManufacturer in all the files.

我什么都找不到.有人可以帮我吗?

I am not able to find anything. Could someone help me?

非常感谢您.

推荐答案

我终于找到了它. (从Debian的角度来看)它有点隐藏. 它在/opt/scripts/boot/am335x_evm.sh脚本中配置. 我忘记了Beagle平台的所有那些脚本和实用程序.我必须遵循引导过程的主要部分.

I have finally found it. It is a bit hidden (in a Debian perspective). It is configured in the /opt/scripts/boot/am335x_evm.sh script. I had forgotten all those scripts and utilities for the Beagle platforms. I had to follow the major part of the boot proccess.

这篇关于BeagleBone Black在哪里配置了g_multi?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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