商务网站的特点,ui软件界面设计,网站设计与网页制作公司,怎么做虚拟的网站MYD-Y6ULL开发 文章目录MYD-Y6ULL开发一、系统移植1. 核板说明2. 文件系统操作二、应用开发1. 应用自启动2. 应用编译3.系统应用4.网络5.系统参数一、系统移植
1. 核板说明 型号 MYIR-Y6UL Y2 V2-256N 256D-50I烧了固件命令 uuu.exe myd-y6ulx-y2-256n256d-core-base.auto2. 文…MYD-Y6ULL开发 文章目录MYD-Y6ULL开发一、系统移植1. 核板说明2. 文件系统操作二、应用开发1. 应用自启动2. 应用编译3.系统应用4.网络5.系统参数一、系统移植
1. 核板说明 型号 MYIR-Y6UL Y2 V2-256N 256D-50I烧了固件命令 uuu.exe myd-y6ulx-y2-256n256d-core-base.auto2. 文件系统操作 解压 tar -xjvf myir-image-core-myd-y6ull14x14.tar.bz2 -C ./myir-image-core-myd-y6ull14x14压缩 tar -jcvf myir-image-core-myd-y6ull14x14.tar.bz2 ./*二、应用开发
1. 应用自启动 myir_start_service.sh //启动脚本 启动脚本调用关系 grep -ir myir_start_service.sh /etc/ /etc/systemd/system/multi-user.target.wants 2. 应用编译 加载编译时环境变量 #source /opt/fsl-imx-core/5.4/environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi
#source /opt/fs-imx-core-new/environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi
source /opt/full/environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi交叉编译工具链 arm-poky-linux-gnueabi-gcc3.系统应用 配置系统时间 date 042615222022.30 //月日时分年.秒RTC时钟 hwclock -r rtc读到系统
hwclock -w 系统写到rtc
hwclock -s 同步查看内存 cat /proc/meminfo
free -m 看门狗 echo V /dev/watchdog04.网络 网络配置命令 ifconfig eth0 192.168.1.101 netmask 255.255.255.0route add default gw 192.168.1.1ping 192.168.1.7//设备动态ip
/sbin/udhcpc //设置设备mac
linux mac
ip link set dev eth0 down
ip link set dev eth0 address 4E:B1:3D:F1:A4:40
ip link set dev eth0 up//重启网卡
systemctl restart systemd-networkdip route show
主机路由
ip route add 1.1.1.1 via 172.18.0.1
网络路由
ip route add 1.1.1.0/24 via 172.18.0.1
.1.1.0/24 via 172.18.0.1 dev eth0
默认路由
ip route add default via 172.18.0.1
default via 172.18.0.1 dev eth0 网络配置文件 /etc/systemd/network/10-static-eth0.network 网络配置文件格式 双网卡只能对外配置一个路由 [Match]
Nameeth0[Network]
Address192.168.1.100/24
DNS8.8.8.8[Route]
Gateway192.168.1.1
Metric1005.系统参数 修改米尔核板的共享内存大小 vi /etc/sysctl.conf //修改路径kernel.shmmax 141762560 //共享内存
net.core.rmem_max12582912
net.core.wmem_max12582912
net.core.rmem_default12582912
net.core.wmem_default12582912