Unlock instant, AI-driven research and patent intelligence for your innovation.

Linux embedded device and the method for switching between user mode and engineering mode

An embedded device, engineering mode technology, applied in the direction of program startup/switching, multi-programming device, etc., can solve the problems of not easy super-authority interface, inconvenient use, etc., to achieve simple and feasible operation, increase equipment cost, and easy to use Effect

Active Publication Date: 2016-01-06
深圳市九思泰达技术有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a Linux embedded device and a method for switching between a user mode and an engineering mode thereof in order to solve the technical problem that it is not easy to enter the super authority interface of an embedded device using the Linux operating system and inconvenient to use in the prior art

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
  • Linux embedded device and the method for switching between user mode and engineering mode
  • Linux embedded device and the method for switching between user mode and engineering mode
  • Linux embedded device and the method for switching between user mode and engineering mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] See figure 1 . The startup sequence of Linux embedded equipment of the present invention is:

[0025] 1. Power on the CPU;

[0026] 2. The first-order bootloader solidified inside the CPU starts;

[0027] 3. The U-BOOT unit starts;

[0028] 4. The Linux kernel unit starts;

[0029] 5. Start the application specified by the script.

[0030] Because the external interfaces of Linux embedded devices are simple, there are generally only limited input and output interfaces such as display, keys, and USB interfaces. The invention detects whether a specific key is pressed when the system is started to enter different system operation modes. Enter engineering mode if a specific key is pressed. Enter user mode if the specified key is not pressed. As for which specific key is the key, you can define it yourself.

[0031] See figure 2 . The method for switching between user mode and engineering mode of Linux embedded equipment of the present invention comprises the fol...

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 Linux embedded equipment and a switching method between a user mode and an engineering mode, aiming to provide a method capable of quite conveniently entering the engineering mode. The Linux embedded equipment comprises keys. The method comprises the steps of: starting a U-BOOT unit, detecting whether a specific key set to be capable of entering the engineering mode is pressed, if so, invoking an environment variable setting function and setting a flag variable to be 1, otherwise, invoking the environment variable setting function, setting a flag variable to be 0, and storing the flag variable in an independent subregion of FLASH; and starting a Linux kernel unit, and reading the flag variable stored in the independent subregion; and if the flag variable is 0, setting to be an ordinary permission and entering the user mode, and if the flag variable is 1, setting to be a super permission and entering the engineering mode. The invention also discloses the Linux embedded equipment. The method can be applied to various kinds of Linux embedded equipment.

Description

technical field [0001] The invention relates to an embedded device using a Linux operating system, in particular to a method for switching between a user mode and an engineering mode of a Linux embedded device. Background technique [0002] With the increasingly powerful chip functions and the decline in the price of electronic components, more and more embedded devices have adopted the Linux operating system. The external interfaces of embedded devices are simple, and generally only limited input and output interfaces such as display, keys, and USB interfaces interact with users. The users of embedded devices are divided into two categories: one is the user function user, who enters the user function interface by default after the device is turned on, and the authority is limited, and can only run the functions provided under this interface; the other is the engineering user. Maintenance personnel, after the device is turned on, can have super operation authority to run al...

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
IPC IPC(8): G06F9/48
Inventor 黄超崔若起
Owner 深圳市九思泰达技术有限公司