Louie NRT Story

[Raspberry Pi] Change booting image and remove log 본문

에너지

[Raspberry Pi] Change booting image and remove log

hyeok0724.kim@gmail.com 2019. 10. 23. 16:01
반응형

Writed on 23 OCT 2019
Device: Raspberry Pi 3
Raspbian Version: 2019-09-26-raspbian-buster-full.zip

1. Remove Rainbow Picture

 - Add commend last line in the file OR use sh that is add commend automatically

 

 

 2. Remove kernal boot log

 - Edit pix.script file and cmdline.txt OR use sed that replace text automatically

 

 
file=/usr/share/plymouth/themes/pix/pix.script
sudo sed -"s/message_sprite = Sprite();/#message_sprite = Sprite();/g" $file
sudo sed -"s/message_sprite.SetPosition/#message_sprite.SetPosition/g" $file
sudo sed -"s/my_image /#my_image /g" $file
sudo sed -"s/message_sprite.SetImage(my_image);/#message_sprite.SetImage(my_image);/g" $file
sudo sed -"s/console=tty1/console=tty3/g" /boot/cmdline.txt
 

 3. Delete strawbarry Image that come out of booting

 - Edit cmdline.txt file OR use sh to add text automatically

 

1
2
3
4
5
src1=$( cat /boot/cmdline.txt )
sudo mv /boot/cmdline.txt /boot/cmdline.txt.bak
sudo sh -" echo \"$src1 $src2\" > /boot/cmdline.txt"
 
 

4. Change Booting Image

 - Named splash.png you want image copies on this directory

 

 

Reference

- http://blog.naver.com/PostView.nhn?blogId=asdf2017&logNo=221312591395&categoryNo=0&parentCategoryNo=0&viewDate=¤tPage=1&postListTopCurrentPage=1&from=postView

반응형
Comments