当前位置:网站首页>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的内核。
边栏推荐
- Overview of database system
- Beego learning - JWT realizes user login and registration
- Solve POM in idea Comment top line problem in XML file
- Data mining 2021-4-27 class notes
- 【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
- [point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds
- LeetCode每日一题(2109. Adding Spaces to a String)
- CSDN markdown editor help document
- [point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
- Spark 概述
猜你喜欢
[graduation season | advanced technology Er] another graduation season, I change my career as soon as I graduate, from animal science to programmer. Programmers have something to say in 10 years
2022-2-13 learn the imitation Niuke project - Project debugging skills
Vscode编辑器右键没有Open In Default Browser选项
Crawler career from scratch (II): crawl the photos of my little sister ② (the website has been disabled)
Go language - JSON processing
[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature
[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
Using Hudi in idea
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
[point cloud processing paper crazy reading classic version 10] - pointcnn: revolution on x-transformed points
随机推荐
LeetCode每日一题(1162. As Far from Land as Possible)
Excel is not as good as jnpf form for 3 minutes in an hour. Leaders must praise it when making reports like this!
Liteide is easy to use
LeetCode每日一题(745. Prefix and Suffix Search)
On February 14, 2022, learn the imitation Niuke project - develop the registration function
[point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
Just graduate student reading thesis
[kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
【点云处理之论文狂读经典版13】—— Adaptive Graph Convolutional Neural Networks
Instant messaging IM is the countercurrent of the progress of the times? See what jnpf says
State compression DP acwing 291 Mondrian's dream
Detailed steps of windows installation redis
LeetCode每日一题(1024. Video Stitching)
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
Derivation of Fourier transform
Install database -linux-5.7
IDEA 中使用 Hudi
Django operates Excel files through openpyxl to import data into the database in batches.
Simple use of MATLAB
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks