0. 使用 alsamixer 设置默认声卡.
1. apt remove pulseaudio, 测试 aplay / svox play 均可用.
2. 去掉无用的后台服务, apt remove cpus, whoopsie, network-manager, indicator-sound, whoopsie-preferences,
3. 修改为字符界面
/etc/init/lightdm.conf,在12行附近,原”and runlevel [!06]” 改为”and runlevel [!026]”
/etc/default/flash-kernel
UBOOT_DEFAULTS="ro quiet splash" 改为 GRUB_CMDLINE_LINUX_DEFAULT=”text”
至此, 内存使用580MB. 原来图像界面下为 (1.4GB)
4. 修改 /boot/extlinux/jetson-tk1_extlinux.conf.emmc
console 部分去掉了 console=tty1, 只剩 APPEND console=ttyS0,115200n8, 保证了串口能正常的输出控制台.
5. 安装 sudo apt-get install sox libsox-fmt-all, 用 sudo play 命令播放mp3.
6. TK1 wlan0 不够稳定, 在SSH/SMB时经常处于忙状态.
禁用IPV6:
vim /etc/sysctl.conf 加入
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
执行 sudo sysctl -p
检查 cat /proc/sys/net/ipv6/conf/all/disable_ipv6 返回为 1
关闭网卡的power management
sudo iwconfig wlan0 power off
7. 设置TK1的CPU频率
参考
Maximizing CPU performance
To obtain full performance on the CPU (eg: for performance measurements or benchmarking or when you don't care about power draw), you can disable CPU scaling and force the 4 main CPU cores to always run at max performance until reboot: (using )
echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable
echo 1 > /sys/devices/system/cpu/cpu0/online
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
阅读(2165) | 评论(0) | 转发(0) |