当前位置:网站首页>Jetson nano custom boot icon kernel logo CBOOT logo
Jetson nano custom boot icon kernel logo CBOOT logo
2022-07-03 09:29:00 【Monty Fried Bun】
Jetson Nano The startup icon of is divided into two parts , An icon is located in cboot Inside , Notice that it's not uboot logo; One is in the file system after the kernel starts .
One 、 cboot logo Replace
Jetson Nano Of cboot logo Need a special format of image file ;
Before production , Need to download NVIDIA BSP Driver package and source package ( In the previous );
1、 Enter the tool Directory
cd /Linux_for_Tegra/tools/bmp-splash
2、 edit config
edit config_file.example file , And rename to config_file, What's in it :
nvidia480.bmp nvidia 480;
nvidia720.bmp nvidia 720;
nvidia1080.bmp nvidia 1080
Change to your own file name , for example
12.bmp nvidia 480;
12.bmp nvidia 720;
12.bmp nvidia 1080
If you want to rewrite it yourself , You need to add a semicolon after each line , Except for the last line .
Will customize the picture ( Must be 24BPP Of BMP picture ) Put it in the current folder ;
Can be in linux Next use file Instruction view file format ;
3、 Generate
Operation instruction :
OUT=$PWD ./genbmpblob_L4T.sh t210 ./config_file ./BMP_generator_L4T.py /usr/bin/lz4c my-bmp.blob
Note that you need to install a compression kit :
sudo apt-get install liblz4-tool
4、 Replace
rename my-bmp.blob, Replace the original Linux_for_Tegra/bootloader/bmp.blob file
5、 burn
Burn separately :
sudo ./flash.sh -r -k BMP
The official tool contains the above tips , But if you use the above command, there will be errors as follows :
*** Error: missing BMP image. Use option --image to specify the image to be flashed.
therefore , Correct instructions need to be specified image The location of , as follows :
nano For the :
sudo ./flash.sh -r -k BMP --image bootloader/bmp.blob jetson-nano-qspi-sd mmcblk0p1
Two 、 Kernel settings
1、 Kernel log output
Jetson Nano The kernel log of will be output from serial port and screen by default , If you want to disable output from the screen, you can set cbootargs To redirect the output stream , Two way :
①:nano After the start , Enter the board /boot/extlinux/ Catalog , edit extlinux.conf file
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
take console=tty0 Delete .
② The above changes may not work , Then you can try to modify the device tree
stay bsp In the driver package ,
cd /Linux_for_Tegra
Then edit p3448-0000.conf.common file
find
CMDLINE_ADD="console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0";
take console=tty0 Delete , Recompile the device tree or kernel , Burning system ;
2、 Fix the kernel boot blank
After the above steps , You can show your logo Picture. , And the screen is gone log Output , But in boot After getting up, there will be a black blank in the middle of another image when the kernel boots , We need to fill this gap , The kernel configuration needs to be modified
Refer to the kernel clipping in the previous article
take .config In the document
CONFIG_FRAMEBUFFER_CONSOLE=y
Set to n;
Recompile the kernel , And upload the kernel nano Of the board boot Under the table of contents , Cover Image file .
3、 Modify the kernel boot logo
nano When the kernel of is started, it will call the kernel located in /usr/share/backgrouds/ In the catalog png Picture as boot logo
, There are many documents here , Some are black , Transparent icon , If we only modify the displayed part , You can just NVIDIA_Login_Logo.png.png This picture replaces . Restart the machine to see the new icon ;
4、 Disable boot logo
command :
sudo systemctl set-default multi-user.target
边栏推荐
- npm install安装依赖包报错解决方法
- Spark structured stream writing Hudi practice
- 【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
- Build a solo blog from scratch
- Common software open source protocols
- Spark 集群安装与部署
- Matlab dichotomy to find the optimal solution
- 小王叔叔的博客目录【持续更新中】
- Crawler career from scratch (I): crawl the photos of my little sister ① (the website has been disabled)
- PolyWorks script development learning notes (II) -treeview basic operations
猜你喜欢

Principles of computer composition - cache, connection mapping, learning experience

About the configuration of vs2008+rade CATIA v5r22

Alibaba cloud notes for the first time

Computing level network notes

Hudi学习笔记(三) 核心概念剖析

LeetCode每日一题(2212. Maximum Points in an Archery Competition)

Solve the problem of disordered code in vscode development, output Chinese and open source code
![[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

Install third-party libraries such as Jieba under Anaconda pytorch

There is no open in default browser option in the right click of the vscade editor
随机推荐
LeetCode每日一题(2305. Fair Distribution of Cookies)
Using Hudi in idea
QT sub window is blocked, and the main window cannot be clicked after the sub window pops up
Flink学习笔记(八)多流转换
LeetCode每日一题(516. Longest Palindromic Subsequence)
Esp32 at command does not respond
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
LeetCode每日一题(2232. Minimize Result by Adding Parentheses to Expression)
Jetson Nano 自定义启动图标kernel Logo cboot logo
2022-2-13 learn the imitation Niuke project - Project debugging skills
2022-2-13 learning xiangniuke project - version control
Powerdesign reverse wizard such as SQL and generates name and comment
【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?
Linxu learning (4) -- Yum and apt commands
2022-1-6 Niuke net brush sword finger offer
Navicat, MySQL export Er graph, er graph
Principles of computer composition - cache, connection mapping, learning experience
LeetCode每日一题(745. Prefix and Suffix Search)
Explanation of the answers to the three questions
Flink学习笔记(十)Flink容错机制