Part Number:PROCESSOR-SDK-AM335X
请问想做AM335X从uboot到linux启动完成一直保持LOGO不变,有相关文档帮助吗
Shine:
请看下面e2e论坛上的帖子。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/663860/linux-am3352-maintaining-splash-screen-through-kernel-boothttps://e2e.ti.com/support/processors-group/processors/f/processors-forum/313745/how-to-keep-u-boot-splash-display-during-kernel-booting
,
user5862824:
我按照6.1.7. Customizing the SDK Splash Screen — Processor SDK Linux for AM335X Documentation里面的步骤在我的根文件系统中替换了psplash文件,但是整个启动过程中LCD始终没有显示。请问还有其它的文档帮助吗
,
Shine:
没有其他文档了,您也可以到e2e论坛上用关键字搜索一下其他帖子。
另外,用的是哪个版本的SDK?新版本和老版本的SDK有些区别。
,
user5862824:
这个版本的SDK:ti-processor-sdk-linux-rt-am335x-evm-07.03.00.005-Linux-x86-Install.bin;
按着步骤做后LCD没有反应,登录终端后执行psplash报错如下:
rroot@am335x-evm:/# ./usr/bin/psplashwarning: FBIOPUT_VSCREENINFO failed, double buffering disabled
请问是我内核配置就使能Bootup logo这个选项,还有其它没有配置的原因吗
,
Shine:
user5862824 说:按着步骤做后LCD没有反应,登录终端后执行psplash报错如下:
请问修改前可以显示logo吗?具体是怎么修改的,能否列一下修改步骤?
,
user5862824:
1、使用tisdk_am335x-evm-rt.defconfig配置文件,在内核配置图形界面选中Bootup logo这个选项编译到内核后编译得到内核镜像和设备树;
2、交叉编译psplash得到psplash和psplash-write两个可执行文件到板子的/usr/bin/目录下;
3、在/etc/init.d/目录下编写自启动脚本psplash.sh启动psplash;脚本如下:
#!/bin/sh ### BEGIN INIT INFO# Provides: psplash# Required-Start:# Required-Stop:# Default-Start: S# Default-Stop:### END INIT INFO
read CMDLINE < /proc/cmdlinefor x in $CMDLINE; do case $x in psplash=false) echo "Boot splashscreen disabled" exit 0; ;; esacdone
export TMPDIR=/mnt/.psplashmount tmpfs -t tmpfs $TMPDIR -o,size=40k
rotation=0if [ -e /etc/rotation ]; then read rotation < /etc/rotationfi
/usr/bin/psplash –angle $rotation &
板子开机启动内核,但是LCD屏幕上没有反应,然后启动完成后再手动执行psplash.sh脚本或直接执行/usr/bin/psplash文件都报warning: FBIOPUT_VSCREENINFO failed, double buffering disabled。
,
Shine:
请问是自己的板子还是TI的EVM板?代码修改前可以显示logo吗?
,
user5862824:
自己的板子,设备树这些都配置好的,跑自己的程序显示这些没问题,就是想增加一个在应用程序启动前有一个logo.
,
user5862824:
您那边有相应的内核配置步骤吗,我不知道是不是我哪里配置得不对
,
Shine:
已咨询e2e产品线工程师,请关注下面帖子的回复。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1233515/am3358-how-to-keep-logo-from-uboot-from-linux-kernel
,
user5862824:
谢谢
,
Shine:
不客气~