当前位置:网站首页>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的内核。
边栏推荐
- Digital management medium + low code, jnpf opens a new engine for enterprise digital transformation
- Trial of the combination of RDS and crawler
- Hudi integrated spark data analysis example (including code flow and test results)
- LeetCode每日一题(2109. Adding Spaces to a String)
- WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available. Prompt to upgrade pip
- 307. Range Sum Query - Mutable
- LeetCode每日一题(2212. Maximum Points in an Archery Competition)
- Matlab dichotomy to find the optimal solution
- Spark 概述
- Simple use of MATLAB
猜你喜欢

Hudi integrated spark data analysis example (including code flow and test results)

Navicat, MySQL export Er graph, er graph

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

2022-1-6 Niuke net brush sword finger offer
![[point cloud processing paper crazy reading cutting-edge version 12] - adaptive graph revolution for point cloud analysis](/img/c6/5f723d9021cf684dcfb662ed3acaec.png)
[point cloud processing paper crazy reading cutting-edge version 12] - adaptive graph revolution for point cloud analysis

LeetCode每日一题(1162. As Far from Land as Possible)

全球KYC服务商ADVANCE.AI 活体检测产品通过ISO国际安全认证 产品能力再上一新台阶

Utilisation de hudi dans idea
![[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis](/img/fa/36d28b754a9f380bfd86d4562268c3.png)
[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
随机推荐
[point cloud processing paper crazy reading classic version 11] - mining point cloud local structures by kernel correlation and graph pooling
Go language - Reflection
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
Beego learning - Tencent cloud upload pictures
Using Hudi in idea
Integrated use of interlij idea and sonarqube
[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs
Apply for domain name binding IP to open port 80 record
The idea of compiling VBA Encyclopedia
【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
State compression DP acwing 291 Mondrian's dream
[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
Hudi 数据管理和存储概述
2022-2-13 learning xiangniuke project - version control
Build a solo blog from scratch
制作jetson nano最基本的根文件系统、服务器挂载NFS文件系统
Flink-CDC实践(含实操步骤与截图)
Word segmentation in full-text indexing
[kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
[point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds