嵌入式产品:启动
boot启动命令 cat /proc/cmdline console=ttyAMA0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/sbin/init sysremd.show_status=false g_ether.host_addr=82:cf:ce:fa:44:18 initrd=0x49000000,0x400000 console=tty1 lcd=HDMI720p60 查看信息 cat /proc/cpuinfo # CPU df -h # 存储 free -m # 内存 配置网络 ifconfig eth0 up # 启动指定的网络设备 ifconfig eth0 192.168.0.100 netmask 255.255.255.0 # 配置网卡的IP地址 ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx # 配置网卡的MAC 地址(hw 代表hardware 硬件,ether 代表ethernet 以太网) route add default gw 192.168.0.1 # 添加默认网关 设置DNS域名服务 cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 114.114.114.11 校正网络时间