I am using the OK6410 development board, which comes with two kernels (2.6.32 and 3.0.1 have been tested)
First, let’s talk about how to make a logo:
Linux Logo Maker: LogoMaker.tgz 4.7MB
http://www.arm9.com.cn/downloads.htm
LogoMakers allows you to easily create Linux logo files, it is developed and used based on the Fedora 9 platform. Its usage is very simple, just open a graphic file (Jpeg, bmp or png format), and then click the convert button; it will fix the output file name: logo_linux_clut224.ppm, the file is generally located in the kernel source code directory kernel-src/drivers/video/logo, after replacing it, recompile the kernel and you can see your favorite Linux logo.
Or you can use software such as PS to make your own Logo, or save the existing .jpg image as xxx.png format through PS or Meitu Xiuxiu, and then copy xxx.png to a directory in the virtual machine Linux through samba, and then run the following commands in sequence:
[root@localhost home]# pngtopnm xxx.png > xxx.pnm
[root@localhost home]# pnmquant 224 xxx.pnm > xxx224.pnm
[root@localhost home]# pnmtoplainpnm xxx224.pnm > xxx224.ppm
If it is in .bmp format, use the following statement:
[root@localhost home]# bmptoppm xxx.bmp > xxx.ppm //Generate ppm
[root@localhost home]# ppmquant 224 xxx.ppm > xxxx.ppm //Convert to 224 color
[root@localhost home]# pnmnoraw xxxx.ppm > xxx224.ppm //Convert to ascii format
Then
[root@localhost home]# chmod 755 xxx224.ppm
[root@localhost home]# mv xxx224.ppm logo_linux_clut224.ppm (the red font may vary depending on the development board, you can check /drivers/video/logo/ in the kernel directory)
[root@localhost home]# cp logo_linux_clut224.ppm /kernel directory../drivers/video/logo/ and overwrite the original file
If the prompt prompts that the command is not found, install these tools first: pngtopnm, pnmquant, pnmtoplainpnm. The specific method is available on Baidu, so I will not repeat it here.
Now the logo has been created successfully. The next step is to compile the kernel to support the logo display:
Enter the kernel directory and make menuconfig:
Device Drivers -->
Graphics support -->
[*]Bootup logo
If the kernel version is earlier than 2.6.29, then:
Device Drivers -->
Graphics support -->
Logo configuration--->
[*] Bootup logo
Then make uImage ARCH=arm CROSS_COMPILE=arm-linux-
cp arch/arm/boot/uImage /tftpboot/
Restart the development board, mount the root file system through nfs, and you can see the logo you made!
Note: The .png image you make should not be too large, otherwise it will not be displayed. Generally, a dozen KB is enough. The following picture is my own logo (PS is not very good T_T):
Previous article:How to change the position and size of the video playback interface when porting mplayer to the ok6410 development board
Next article:Create a yaffs2 file system and port it to the ok6410 development board
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- Wireless communication, 5G, RF, antenna and several concepts and indicators
- Happy Lantern Festival! Guess the lantern riddles and have fun
- How to make an automatic switch when there are 3 5V input ports on a circuit board?
- "Operational Amplifier Parameter Analysis and LTspice Application Simulation" Reading Notes Part 3 - Noise
- 280 million yuan in subsidies returned! A Russian supercomputer company's self-developed CPU failed to meet the standards and was sued by the Ministry of Industry and Trade
- I have a question about the drive circuit.
- Oh my god! My air conditioner has become a spirit!
- Analysis of the problem that the program cannot run after F28004x online debugging reset
- Ask for 88X3310PA1-BUS4I000 product manual
- The problem of BIN generated by STM32F051 being filled with 0