RT-IPC_camera/etc/sysenv.conf

23 lines
390 B
Bash

#!/bin/sh
RT_PATH=/rt
SENSOR_CONF=/etc/sensor.conf
SENSOR_CONF_DEFAULT=/etc/sensor.conf.default
SENSOR_SO=/mnt/config/usr/lib/libSensor.so
BOARD_CONF=/etc/board.conf
boardconffile=/etc/board.conf
sensorconffile=${SENSOR_CONF}
set_mediamem()
{
mediamem=${1}
env_args="mem=${mediamem} "`cat /proc/cmdline | awk '{for(i=2;i<=NF;++i)printf $i" ";}'`
fw_setenv bootargs ${env_args}
}