Part Number: AM3354
Tool/software: Linux
Dear TI Team,
We would like to display RGB patterns on LCD screen. To do that, we pushed our PNG and index.php under /usr/share/matrix-gui-2.0, but after the first pattern is displayed, even if we change the pattern by pushing a new file with the same file name under /usr/share/matrix-gui-2.0, we have seen that it is not updated after reboot. So Can you pls. suggest that there is any other method that we can follow to display patterns on the screen properly?
Note: we also checked the update procedure depicted in http://processors.wiki.ti.com/index.php/Matrix_Users_Guide, but it cannot solve the issue.
The commands to push the file into /usr/share/matrix-gui-2.0
cp /run/media/sda1/EVC.png /usr/share/matrix-gui-2.0
cp /run/media/sda1/index.php /usr/share/matrix-gui-2.0
reboot
-------------------------------------------------------------------------------------------
index.php
<?php
$supportedResolutions = null;
if(file_exists("supported_resolutions.txt")==true)
{
$supportedResolutions = file ("supported_resolutions.txt",FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
}
if($supportedResolutions == null || count($supportedResolutions) == 0)
{
echo "supported_resolutions.txt doesn't exist or is empty";
exit;
}
$client_is_host = $_SERVER['SERVER_NAME']==$_SERVER['REMOTE_ADDR']||$_SERVER['SERVER_NAME'] == "localhost";
?>
<html>
<head>
<title>Matrix Application Launcher</title>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
</head>
<style>
body {
background-image: url("EVC.png");
background-repeat:no-repeat;
background-size:cover;
}
</style>
<body class="unselectable" >
</body>
</html>
Regards,
Zafer Çalışkan