当前位置:网站首页>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
边栏推荐
- Serializer rewrite: update and create methods
- Flink学习笔记(九)状态编程
- LeetCode每日一题(2232. Minimize Result by Adding Parentheses to Expression)
- Apply for domain name binding IP to open port 80 record
- LeetCode每日一题(1362. Closest Divisors)
- Principles of computer composition - cache, connection mapping, learning experience
- Overview of database system
- Beego learning - JWT realizes user login and registration
- 软件测试工程师是做什么的 通过技术测试软件程序中是否有漏洞
- Crawler career from scratch (II): crawl the photos of my little sister ② (the website has been disabled)
猜你喜欢
Please tell me how to set vscode
Modify idea code
Jenkins learning (I) -- Jenkins installation
LeetCode每日一题(2090. K Radius Subarray Averages)
2022-1-6 Niuke net brush sword finger offer
Alibaba cloud notes for the first time
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
Vscode编辑器右键没有Open In Default Browser选项
【Kotlin学习】类、对象和接口——定义类继承结构
Install third-party libraries such as Jieba under Anaconda pytorch
随机推荐
LeetCode每日一题(2212. Maximum Points in an Archery Competition)
ERROR: certificate common name “www.mysql.com” doesn’t match requested host name “137.254.60.11”.
Apply for domain name binding IP to open port 80 record
Jenkins learning (I) -- Jenkins installation
Principles of computer composition - cache, connection mapping, learning experience
npm install安装依赖包报错解决方法
Install database -linux-5.7
LeetCode每日一题(1024. Video Stitching)
Jetson Nano 自定义启动图标kernel Logo cboot logo
IDEA 中使用 Hudi
用Redis实现分布式锁
Learning C language from scratch -- installation and configuration of 01 MinGW
Overview of database system
Database execution error: SQL_ mode only_ full_ group_ by:
Move anaconda, pycharm and jupyter notebook to mobile hard disk
Serializer rewrite: update and create methods
The idea of compiling VBA Encyclopedia
Jestson Nano自定义根文件系统创建(支持NVIDIA图形库的最小根文件系统)
LeetCode每日一题(968. Binary Tree Cameras)
Django operates Excel files through openpyxl to import data into the database in batches.