Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Implementation method of uboot dynamic guide menu based on domestic platform

A technology for implementing methods and menus, applied in the direction of boot programs, program loading/starting, instruments, etc., can solve problems such as lack of flexibility, lack of flexibility, inconvenience, etc., achieve strong flexibility and adaptability, and modify boot options simply , Improve the effect of debugging efficiency

Pending Publication Date: 2022-05-20
锋微固件(深圳)有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method requires a professional knowledge background, the operation is cumbersome, obscure, lacks flexibility, and it is difficult for non-professionals to modify it successfully
[0003] 1. The existing method to modify the boot device is cumbersome, because the uboot firmware stage does not support display, the user must first enter the uboot command line terminal through the debugging serial port, and then enter the uboot command to modify the boot device
This method is very inconvenient, especially in the remote unattended application environment
[0004] 2. The existing method does not support modification in the operating system. Operating system users are more accustomed to modifying the boot configuration file under the operating system to change boot options or increase kernel boot parameters due to application needs, similar to the grub configuration file
[0005] 3. The existing method requires professional knowledge background and detailed modification operation documents
[0006] 4. The existing method lacks flexibility and does not support users to temporarily switch the boot sequence, such as debugging needs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method of uboot dynamic guide menu based on domestic platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] The invention relates to the realization of the domestic platform uboot dynamic guide menu, which can be applied to the development of the domestic Feiteng platform uboot. The user can modify the configuration file in the operating system to realize the switching of the boot options, which is similar to the grub configuration file method familiar to the user, without the need for professionals , to switch boot options or devices by modifying the cumbersome and obscure uboot startup environment variables.

[0032] Such as figure 1 As shown, a method for implementing a dynamic boot menu based on the domestic platform uboot includes the following steps:

[0033] a. Uboot power-on self-test;

[0034] b. Find the configuration file uboot.cfg in the disk;

[0035] If the configuration file uboot.cfg exists, build a boot option list according to the configuration file, and then sort the boot options;

[0036] If the configuration file uboot.cfg does not exist, a default boo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an implementation method for a uboot dynamic guide menu based on a domestic platform. The implementation method comprises the following steps: carrying out power-on self-test on Uboot; a configuration file uboot.cfg in the disk is searched for; if the configuration file uboot.cfg exists, establishing a guide option chain table according to the configuration file, and then sorting guide options; if the configuration file uboot.cfg does not exist, generating a default boot option chain table; creating a guide menu according to the guide selected item chain table; starting an operating system; and ending. The invention relates to realization of a domestic platform uboot dynamic guide menu, which can be applied to domestic Feiteng platform uboot development, a user can modify a configuration file in an operating system to realize switching of guide options, and the method is similar to a grub configuration file mode familiar to the user without professional personnel. Guiding options or devices are switched by modifying tedious and obscure uboot startup environment variables.

Description

technical field [0001] The invention relates to the realization of a domestic platform uboot dynamic guide menu, in particular to a realization method based on the domestic platform uboot dynamic guide menu. Background technique [0002] The uboot firmware stage of the domestic Feiteng platform does not support the display and boot menu configuration functions, and the boot device can be changed by modifying the startup parameter environment variable under the uboot command line. This method requires a professional knowledge background, the operation is cumbersome, obscure, and lacks flexibility, making it difficult for non-professionals to modify it successfully. [0003] 1. The existing method to modify the boot device is cumbersome, because the uboot firmware stage does not support display, the user must first enter the uboot command line terminal through the debugging serial port, and then enter the uboot command to modify the boot device. This method is very inconvenie...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/4401G06F9/445
CPCG06F9/4406G06F9/44505
Inventor 吴昌
Owner 锋微固件(深圳)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products