Set top box and method and device for applying operating system in set top box
A technology of operating system and application method, applied in the field of computer software, can solve problems such as high price, difficult configuration of functions and kernel volume, closed source code, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 A specific flow of an operating system application method in a set-top box provided by an embodiment of the present invention is shown.
[0032] In step S101, a kernel image file is generated by compiling a minimal Linux kernel including external device drivers, file system support and network support.
[0033] In the embodiment of the present invention, all necessary components in the kernel are directly compiled into a minimal Linux kernel, while the kernel's support for modularization is retained to provide support for some special set-top box video decoding chips (such as EM84XX series Video decoding chip), made into a kernel image file bzimage. The necessary components include external device drivers, file system support, and network support.
[0034] The following example illustrates this step.
[0035] For example: using the Linux-2.4.18 version of the system kernel, first compile a minimized Linux kernel, the kernel can complete the initialization of...
Embodiment 2
[0055] In the embodiment of the present invention, the following method can be used to increase the boot speed after booting, image 3 Shows the detailed process of improving the boot speed.
[0056] In step S301, only one IDE interface (Integrated Drive Electronics, an external interface commonly used now, mainly connected to a hard disk and an optical drive) is detected when the kernel starts;
[0057] In step S302, after the GRUB boot menu is activated, the item specified by the default command is directly loaded;
[0058] In the embodiment of the present invention, after the GRUB boot menu starts and directly loads the items specified by the default command, the system only does some necessary initialization work and service startup, such as network.xfs, etc.;
[0059] In step S303, only one terminal is opened to realize automatic login;
[0060] In the embodiment of the present invention, only one terminal is opened to realize automatic login, and the application progra...
Embodiment 3
[0065] In the embodiment of the present invention, the startup screen can also be customized.
[0066] Figure 4 A flow chart of a method for customizing a startup screen provided by an embodiment of the present invention is shown.
[0067] In step S401, the character information in the startup process is hidden during the whole process of Linux startup;
[0068] In step S402, the display information of the GRUB boot program is hidden.
[0069] In the embodiment of the present invention, by downloading a Linux bootloader grub-0.92.tar.gz, modifying relevant files therein (such as the files char_io.c and stage2.c under the stage2 directory), shielding display of startup information item, then reconfigure, compile and install GRUB, and modify the configuration file menu.list of the GRUB boot menu, and add the hiddenmenu command to it to completely hide the information displayed by the GRUB boot program.
[0070] In step S403, a redirection technique is used to hide the boot c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 