完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
有没有办法在Beagle启动后列出当前加载的叠加层?
我正在禁用/boot/uEnv.txt中的视频覆盖,并希望在之前看到一个。 大多数打印出来,从其他postes,似乎与调试端口,但好奇有一种方法知道它启动后。 我正在研究Beaglebone Black,这是version.sh的输出: $ sudo /opt/scripts/tools/version.sh GIT中:/选择/脚本/:[ea6ea9fca05f36f5044398884375b0231348d6e2] EEPROM:[A335BNLT00C05014BBBK0DE2] 模型:[ti_AM335x_BeagleBone_Black] dogtag:[BeagleBoard.org Debian Image 2018-01-28] bootloader:[microSD-(按钮)]:[/ dev / mmcblk0]:[U-Boot 2018.01-00002-g9aa111a004] bootloader:[eMMC-(默认)]:[/ dev / mmcblk1]:[U-Boot 2017.03-00002-gd12b1519b4] 内核:[78年9月4日-TI-R94] 的NodeJS:[v6.14.1] uboot_overlay_options:[enable_uboot_overlays = 1] uboot_overlay_options:[disable_uboot_overlay_video = 1] uboot_overlay_options:[enable_uboot_cape_universal = 1] PKG:[BB-斗篷叠加]:[4.4.20180423.0-0rcnee0〜拉伸+ 20180423] PKG:[BB-wl18xx固件]:[1.20180328-0rcnee2〜拉伸+ 20180328] PKG:[固件-TI-连通]:[20170823-1rcnee1〜拉伸+ 20180328] 团体:'debian':没有这样的用户 基团:[] dmesg | grep pinctrl-single [1.459364] pinctrl-single 44e10800.pinmux:142针脚,f9e10800尺寸568 结束 以上来自于谷歌翻译 以下为原文 Is there a way to list currently loaded overlays after the Beagle has boot up? I’m disabling the video overlay in /boot/uEnv.txt and would like to see a before an after. Most of the print out, from other postes, seem to be with the debug port but curious of there is a way to know after it has boot up. I’m working on Beaglebone Black and this is the output of version.sh: $ sudo /opt/scripts/tools/version.sh git:/opt/scripts/:[ea6ea9fca05f36f5044398884375b0231348d6e2] eeprom:[A335BNLT00C05014BBBK0DE2] model:[TI_AM335x_BeagleBone_Black] dogtag:[BeagleBoard.org Debian Image 2018-01-28] bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-00002-g9aa111a004] bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2017.03-00002-gd12b1519b4] kernel:[4.9.78-ti-r94] nodejs:[v6.14.1] uboot_overlay_options:[enable_uboot_overlays=1] uboot_overlay_options:[disable_uboot_overlay_video=1] uboot_overlay_options:[enable_uboot_cape_universal=1] pkg:[bb-cape-overlays]:[4.4.20180423.0-0rcnee0~stretch+20180423] pkg:[bb-wl18xx-firmware]:[1.20180328-0rcnee2~stretch+20180328] pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328] groups: ‘debian’: no such user groups:[] dmesg | grep pinctrl-single [ 1.459364] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 END |
|
相关推荐
4个回答
|
|
您在eMMC上的u-boot版本太旧,从而阻止了新的u-boot覆盖功能。
只需保存您的需求并清除eMMC中的MBR ...... sudo dd if = / dev / zero of = / dev / mmcblk1 bs = 1M count = 10 问候, 以上来自于谷歌翻译 以下为原文 Your version of u-boot on the eMMC is too old thus blocking the new u-boot overlays feature. Just save what your need and clear out the MBR in the eMMC… sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10Regards, |
|
|
|
谢谢,虽然确实升级了eMMC中的引导加载程序但我仍然很好奇,如果有办法知道加载了哪些叠加,我曾经:cat / sys / devices / platform / bone_capemgr / slots但是该文件不再存在
。 我知道它是移动到uBoot叠加只是好奇如果有一种方法加载什么而不看uEnv.tx. 以上来自于谷歌翻译 以下为原文 Thanks, although that did upgrade the bootloader in the eMMC I’m still curious if there is a way to know which overlays are loaded, I used to: cat /sys/devices/platform/bone_capemgr/slots but that file does not exist anymore. I’m aware it was move to uBoot overlays just curious if there is a way to what is loaded without looking at uEnv.tx. |
|
|
|
@hoffiz对不起,只有eeprom可检测/加载的capes会显示在转储到/ proc / cmdline的列表中,任何刚刚加载到/boot/uEnv.txt的内容都不会在/boot/uEnv.txt之外的任何地方报告
你可以看到DLPDLCR2000斗篷的一个例子,因为我们需要在启动时发出2个i2c命令来切换它的显示配置: github.com RobertCNelson /启动脚本/ BLOB /主/启动/ am335x_evm.sh#L50-L59 unset detected_capes detected_capes = $(cat / proc / cmdline | sed's / / n / g'| grep uboot_detected_capes = || true) 如果[! “x $ {detected_capes}”=“x”]; 然后 got_DLPDLCR2000 = $(echo $ {detected_capes} | grep DLPDLCR2000 || true) 如果[! “x $ {got_DLPDLCR2000}”=“x”]; 然后 echo“$ {log} found:DLPDLCR2000 init display” i2cset -y 2 0x1b 0x0b 0x00 0x00 0x00 0x00 i || 真正 i2cset -y 2 0x1b 0x0c 0x00 0x00 0x00 0x1b i || 真正 科幻 科幻 问候, 以上来自于谷歌翻译 以下为原文 @hoffiz sorry no, only eeprom detectable/loaded capes will show up in list dumped to /proc/cmdline, anything that’s just loaded thru /boot/uEnv.txt will not be reported anywhere outside /boot/uEnv.txt You can see one example of that with the DLPDLCR2000 cape, as we need to issue 2 i2c commands to switch it’s display configuration on bootup: github.com RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L50-L59
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
3448 浏览 3 评论
471浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 15:35 , Processed in 0.814527 second(s), Total 84, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号