当前位置:网站首页>Jestson Nano 从tftp服务器下载更新kernel和dtb
Jestson Nano 从tftp服务器下载更新kernel和dtb
2022-07-03 09:03:00 【蒙蒂锅巴】
我们做内核裁剪的时候可能会频繁的下载内核,但是jetson nano的下载工具太慢,所以我们可以将内核放到tftp服务器,通过uboot更新内核,就会十分方便。
一、前期准备
首先搭建一个tftp服务器,步骤参考tftp服务器搭建
,不同的是,安装Nvidia论坛的说法,将tftp服务器的目录建立在/var/lib/tftpboot/目录,根目录下是否可行我没有做测试,有兴趣的可以试下。
在tftpboot目录下新建目录pxelinux.cfg,新建文件01-48-b0-2d-3d-2d-8c,注意这个文件名字会根据板子不同而不同,具体参照自己的板子。
文件内容如下:
PROMPT 0
TIMEOUT 30
DEFAULT primary
MENU TITLE PXELinux boot options
LABEL primary
MENU LABEL primary kernel on TFTP
LINUX Image
FDT tegra210-p3448-0000-p3449-0000-b00.dtb
APPEND ${cbootargs}
主要是说明了启动选项,以及镜像文件、设备树以及APPEND参数(传递给内核,可以修改重定向输出流即内核log,或者添加quiet控制内核日志输出);
因此tftpboot目录下还需要放置一个Image镜像,一个dtb的设备树文件。对于Jetson Nano 4GB的板子来说,设备树文件叫做“tegra210-p3448-0000-p3449-0000-b00.dtb”。
二、uboot配置
重启开发板,按任意键进入uboot;
1、使能网卡
命令:
pci enu
2、设置网络参数
setenv gatewayip 192.168.10.254
setenv ipaddr 192.168.10.77
setenv netmask 255.255.255.0
setenv serverip 192.168.1.204
saveenv
3、下载内核和设备树
run bootcmd_pxe
之后即可运行tftp的内核。
边栏推荐
- [set theory] order relation (eight special elements in partial order relation | ① maximum element | ② minimum element | ③ maximum element | ④ minimum element | ⑤ upper bound | ⑥ lower bound | ⑦ minimu
- [kotlin learning] classes, objects and interfaces - define class inheritance structure
- Spark 集群安装与部署
- We have a common name, XX Gong
- 【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
- Go language - Reflection
- Temper cattle ranking problem
- Solve POM in idea Comment top line problem in XML file
- Run flash demo on ECS
- Filter comments to filter out uncommented and default values
猜你喜欢

2022-2-14 learning xiangniuke project - generate verification code
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说

CATIA automation object architecture - detailed explanation of application objects (III) systemservice

【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?

Beego learning - Tencent cloud upload pictures

【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs

【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds

CSDN markdown editor help document

【点云处理之论文狂读前沿版9】—Advanced Feature Learning on Point Clouds using Multi-resolution Features and Learni
![[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks](/img/ea/2c4336ee929c26c16627e5c0955704.png)
[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
随机推荐
State compression DP acwing 291 Mondrian's dream
Tag paste operator (#)
Serializer rewrite: update and create methods
[set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
State compression DP acwing 91 Shortest Hamilton path
Linxu learning (4) -- Yum and apt commands
Alibaba cloud notes for the first time
制作jetson nano最基本的根文件系统、服务器挂载NFS文件系统
Usage of pandas to obtain MySQL data
Spark overview
Apply for domain name binding IP to open port 80 record
Hudi学习笔记(三) 核心概念剖析
Beego learning - JWT realizes user login and registration
用Redis实现分布式锁
LeetCode每日一题(2090. K Radius Subarray Averages)
Computing level network notes
Run flash demo on ECS
How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?
CSDN markdown editor help document
Construction of simple database learning environment