欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 教育 > 幼教 > Hi3519DV500 学习摘录

Hi3519DV500 学习摘录

2025/9/21 13:28:12 来源:https://blog.csdn.net/Liuqz2009/article/details/139492383  浏览:    关键词:Hi3519DV500 学习摘录

在这里插入图片描述


文章目录

  • 一、问题
    • 1、open-vm-tools 安装
    • 2、pushd: not found
    • 3、autoreconf
    • 4、编译util-linux源码时报错 ERROR: You must have autopoint installed to
  • 二、NFS
    • 1、服务器搭建
    • 2、u-boot常用命令
    • 3、配置
    • 4、问题
  • 三、补缺
    • 1、make


一、问题

1、open-vm-tools 安装

open-vm-tools 安装

# 用于安装和升级的命令是相同的。如果虚拟机具有 GUI(X11 等)
sudo apt-get install open-vm-tools-desktop# 不带 GUI
sudo apt-get install open-vm-tools

2、pushd: not found

编译错误: /bin/sh: 1: pushd: not found的问题
ubuntu | 编译时出现/bin/sh:1:pushd: not found

# 改成用脚本执行相关的命令
#!/bin/bash
make all# 重新链接 sh 到 bash
sudo dpkg-reconfigure dash
# 上面命令不生效,可以手动链接

3、autoreconf

automake version mismatch | AM_INIT_AUTOMAKE | 版本不匹配

autoreconf
./configure
make

4、编译util-linux源码时报错 ERROR: You must have autopoint installed to

编译util-linux源码时报错 ERROR: You must have autopoint

sudo apt install autopoint
sudo apt install bison

二、NFS

1、服务器搭建

tftp、nfs 服务器环境搭建

# 安装 tftp 服务器
sudo apt-get install tftpd-hpa
# tftp的配置文件路径:/etc/default/tftpd-hpa# 安装 nfs 服务器
sudo apt install nfs-kernel-server
# nfs 的配置文件路径:/etc/exports

2、u-boot常用命令

u-boot常用命令大全
Bootargs参数详解

3、配置

【系统移植】uboot 通过 NFS 加载根文件系统(一) —— 网络环境配置
【系统移植】uboot 通过 NFS 加载根文件系统(二) —— 修改环境变量 bootcmd、bootargs

10.设置uboot,通过tftp服务器加载内核与设备树,通过nfs挂载根文件系统

4、问题

VFS: Cannot open root device “nfs” or unknown-block(0,255)错误解决

三、补缺

1、make

怎么设定make的默认目标

如果未设置.DEFAULT_GOAL ,那么make的默认目标是不以点号’.’ 开头的第一个目标。

Makefile中-C和-f选项的区别 / make命令: -g、-o、-c、-C、-f 、-D、-Wall、-L、-nostdlib 含义

   
 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词