一. 参考网址
2. 小苏打为什么能去污
3. Linux之init.d、rc.d文件夹说明(最后一段inittab介绍)
5. 如何修复NET::ERR_CERT_AUTHORITY_INVALID错误(chrome浏览器提示:您的连接不是私密连接)
二. 实践笔记
1. HAL全称:
Hardware Abstraction Layer硬件抽象层,是一个编程层,允许计算机操作系统在逻辑层而不是硬件层与硬件设备交互
2. MTD全称:
memory technology device 存储 技术设备,是用于访问 memory 设备( ROM 、 flash )的 Linux 的子系统
3. demo板上的 /etc/inittab文件内容:
# /etc/inittab # # Copyright (C) 2001 Erik Andersen <andersen@codepoet.org> # # Note: BusyBox init doesn't support runlevels. The runlevels field is # completely ignored by BusyBox init. If you want runlevels, use # sysvinit. # # Format for each entry: <id>:<runlevels>:<action>:<process> # # id == tty to run on, or empty for /dev/console # runlevels == ignored # action == one of sysinit, respawn, askfirst, wait, and once # process == program to run # Startup the system ::sysinit:/bin/mount -t proc proc /proc ::sysinit:/bin/mkdir -p /dev/pts ::sysinit:/bin/mkdir -p /dev/shm ::sysinit:/bin/mount -a ::sysinit:/bin/hostname -F /etc/hostname ::sysinit:/etc/preinit # now run any rc scripts ::sysinit:/etc/init.d/rcS # Put a getty on the serial port ttyAM0::respawn:/sbin/getty -L ttyAM0 0 vt100 # GENERIC_SERIAL # Stuff to do for the 3-finger salute #::ctrlaltdel:/sbin/reboot # Stuff to do before rebooting ::shutdown:/etc/init.d/rcK ::shutdown:/sbin/swapoff -a ::shutdown:/bin/umount -a -r
4. /etc/init.d/rcS文件内容:
#!/bin/sh # Start all init scripts in /etc/init.d # executing them in numerical order. # for i in /etc/init.d/S??* ;do # Ignore dangling symlinks (if any). [ ! -f "$i" ] && continue case "$i" in *.sh) # Source shell script for speed. ( trap - INT QUIT TSTP set start . $i ) ;; *) # No sh extension, so fork subprocess. $i start ;; esac done
5. 用google搜索时,提示“您的连接不是私密连接”
问题:主要是lantern(蓝灯)的安全证书有效期过期了导致的
截图如下:
解决办法:
1)关闭lantern, 更新lantern安全证书,参考网址:win10安全证书过期的有效解决方法
2) 删除和重新安装lantern,
3)断电重启电脑,win10会提示执行certimport.exe程序
6. 什么是PCM?
PCM全称Pulse-Code Modulation,即脉冲编码调制。简单来说就是一种用数字信号表示采样模拟信号的方法。
7. SDL(开放源代码的跨平台多媒体开发库)
SDL(Simple DirectMedia Layer)是一套开放源代码的跨平台多媒体开发库,使用C语言写成。SDL提供了数种控制图像、声音、输出入的函数,让开发者只要用相同或是相似的代码就可以开发出跨多个平台(Linux、Windows、Mac OS X等)的应用软件。