当前位置:网站首页>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
- Jenkins learning (II) -- setting up Chinese
- Navicat, MySQL export Er graph, er graph
- Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)
- CATIA automation object architecture - detailed explanation of application objects (III) systemservice
- 【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
- Derivation of Fourier transform
- Windows安装Redis详细步骤
- MySQL installation and configuration (command line version)
- How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?
猜你喜欢

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

What are the stages of traditional enterprise digital transformation?

CSDN markdown editor help document

Flink学习笔记(八)多流转换

Beego learning - Tencent cloud upload pictures

Solve POM in idea Comment top line problem in XML file

Go language - Reflection
![[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions](/img/a3/b442508af9b059d279cffb34dee9bf.png)
[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions

Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)

Jenkins learning (I) -- Jenkins installation
随机推荐
[point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion
WARNING: You are using pip ; however. Later, upgrade PIP failed, modulenotfounderror: no module named 'pip‘
2022-2-13 learning the imitation Niuke project - home page of the development community
[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?
MySQL installation and configuration (command line version)
[point cloud processing paper crazy reading classic version 10] - pointcnn: revolution on x-transformed points
Filter comments to filter out uncommented and default values
Flask+supervisor installation realizes background process resident
Just graduate student reading thesis
【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds
Apply for domain name binding IP to open port 80 record
LeetCode每日一题(968. Binary Tree Cameras)
[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs
2022-2-14 learning the imitation Niuke project - send email
Navicat, MySQL export Er graph, er graph
CATIA automation object architecture - detailed explanation of application objects (III) systemservice
【Kotlin学习】高阶函数的控制流——lambda的返回语句和匿名函数
Overview of image restoration methods -- paper notes
Beego learning - Tencent cloud upload pictures