Method for booting a device having an embedded Multimedia Card (eMMC)

By putting the eMMC in fast boot mode and loading the operating system with DMA, the problem of too long device startup time is solved, and faster startup efficiency and earlier response capabilities are achieved.

CN114556293BActive Publication Date: 2024-11-15CONTINENTAL AUTOMOTIVE TECHNOLOGIES GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080067357.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-27
Filing Date
2020-09-25
Publication Date
2024-11-15
Estimated Expiration
2040-09-25

AI Technical Summary

Technical Problem

Existing devices have a longer boot time before loading and starting the operating system, especially in navigation and infotainment devices, which may exceed the allowed or desired time.

Method used

By putting the embedded multimedia card (eMMC) in fast boot mode, read the boot loader into RAM and load the operating system into RAM using DMA without using the CPU, and then the hardware is initialized by the boot loader and Start the operating system.

Benefits of technology

This significantly reduces the startup time of the device, allowing the operating system to respond to external events faster, and improves the startup efficiency of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114556293B_ABST
    Figure CN114556293B_ABST
Patent Text Reader

Abstract

A method for booting a device having an embedded multimedia card (eMMC) is provided, the method comprising the following steps: (1) supplying power to the device; (2) placing the eMMC in a fast boot mode; (3) reading a boot loader into RAM; (4) starting the boot loader; (5) terminating the fast boot mode, 6) resetting the eMMC; (7) placing the eMMC in the fast boot mode; (8) initializing hardware by the boot loader while reading an operating system into RAM using DMA; and (9) starting the operating system from the RAM by the boot loader. Because the operating system is loaded in the fast boot mode while initializing the hardware, the method for booting the eMMC according to the present invention is faster than methods known in the art.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Many vehicles are equipped with devices such as navigation units or infotainment units, which include a central processing unit (CPU) and a memory. Before these devices can be used, an operating system needs to be loaded and started, and the hardware parts of the devices need to be initialized.

[0002] Many of these devices include an embedded Multimedia Card (eMMC), which is a flash memory and controller in an integrated circuit for use as an embedded non-volatile memory system in the device's circuit board. The card is permanently attached to the circuit board and cannot be removed by the user. If a problem occurs, the entire printed circuit board needs to be replaced.

[0003] The JEDEC standard describes the functionality of the eMMC. Among other things, the standard describes the possibility of reducing the boot time of a device that includes an eMMC by using the so-called Fast Boot Mode, in which the boot loader is quickly loaded into the memory of the device. The Fast Boot Mode then ends and the operating system is loaded into the memory at a slower speed by the normal standard boot program.

[0004] However, it takes some time before the device's operating system is loaded and started. In some applications such as navigation and / or infotainment devices, this time may exceed the allowed or expected startup time.

[0005] Therefore, an object of the present invention is to provide a method for booting a device having an embedded multimedia card with a reduced boot time, and to provide a device including an eMMC with a reduced boot time. Summary of the invention

[0006] A method for booting a device having an embedded multimedia card (eMMC) is provided, the method comprising the following steps:

[0007] (1) Provide power to the equipment;

[0008] (2) placing the eMMC in fast boot mode;

[0009] (3) reading the boot loader from the eMMC into the random access memory (RAM) of the device;

[0010] (4) starting the boot loader in the CPU of the device; and

[0011] (5) Terminate the fast boot mode,

[0012] Characterized in that the method further comprises the following steps:

[0013] (6) Reset the eMMC;

[0014] (7) placing the eMMC in the fast boot mode;

[0015] (8) The boot loader initializes the hardware and reads the operating system into RAM using direct memory access (DMA); and

[0016] (9) The boot loader starts the operating system from the RAM.

[0017] The device having the eMMC may be a navigation device or an infotainment device installed in a vehicle.

[0018] The flash memory of eMMC may include two boot areas and one main data area. The boot area may be read faster than the main data area. The main data area may include an operating system.

[0019] In the method, the step of providing power to the device may include switching on a power source of the device.

[0020] The procedure known in the art for starting a device with an eMMC includes: first supplying power to the device and starting the device in a fast boot mode, then reading a boot loader into RAM, starting the boot loader in the CPU of the device, and terminating the fast boot mode. The boot loader then initializes the hardware and further reads the operating system from the main data area in the RAM of the device. After the operating system is loaded into the RAM, the boot loader starts executing the operating system.

[0021] According to the present invention, after the fast boot mode has been terminated, the eMMC is set to be in the fast boot mode again. In this fast boot mode, the operating system is loaded into RAM using direct memory access (DMA), and the hardware is initialized by the boot loader. Because the operating system is loaded using DMA, the CPU is not involved, but can be used for other tasks (e.g., initializing hardware). After the operating system is loaded into RAM, the boot loader starts executing the operating system.

[0022] Because the operating system is loaded in a fast boot mode without using the device's CPU while the hardware is initialized by the boot loader (which uses the device's CPU), the method for booting a device with an eMMC according to the present invention is faster than methods known in the art.

[0023] Since the operating system will start faster, it can therefore respond faster or earlier to external events, such as CAN messages (CAN=Controller Area Network, a network standard known in the automotive industry).

[0024] Steps (1), (2), (3), (4) and / or (5) may be performed by ROM code that is executed after the device is turned on. Steps (6) and / or (7) may be performed by a boot loader. In step (8), the boot loader may instruct the eMMC controller to read the operating system into RAM using DMA.

[0025] Furthermore, a device is provided comprising an embedded MultiMediaCard (eMMC), the device storing a set of controller executable codes which, when executed by the device, perform the steps of the method as described herein. Furthermore, a vehicle is provided having such a device. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] For a more complete understanding of the present invention, reference will be made to the following description taken in conjunction with the accompanying drawings, in which:

[0027] Figure 1 A schematic overview of a method for booting a device having an embedded multimedia card (eMMC) according to an embodiment of the present invention is shown;

[0028] Figure 2 A schematic overview of a device with an embedded MultiMediaCard (eMMC) according to an embodiment of the present invention is shown; and

[0029] Figure 3 A vehicle including a device having an embedded MultiMediaCard (eMMC) according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0030] Figure 1 A schematic overview of a method 100 for booting a device having an embedded multimedia card (eMMC) is shown, and Figure 2 2 shows a schematic overview of such a device 200, which may include an eMMC 240 and a host 210. The eMMC is embedded in the host 210, Figure 2 The arrows in indicate the communication between the eMMC 240 and the host 210.

[0031] exist Figure 2 In the embodiment, only the features related to the boot procedure of the device using eMMC are depicted. Other features (e.g., GPS for determining the position of the vehicle and / or a display for displaying information about the position) are omitted for reasons of clarity.

[0032] The eMMC 240 may include a first boot area 270, a second boot area 280, and / or a main data area 290. In addition, the eMMC may include an eMMC controller 250. The host 210 may include a central processing unit (CPU) 220 and a RAM 230.

[0033] When the device is powered on, power is provided to the device 200 in step 110. In step 120, the eMMC is placed in fast boot mode, preferably according to the JEDEC standard of version 4.51. This may be instructed by the device's ROM code executed by the CPU 220 of the device 200.

[0034] In step 130, the boot loader is entered from the eMMC (e.g., from the first boot area 270) into the random access memory (RAM) 230 of the device 200. This may also be indicated by the ROM code. In step 140, the boot loader is started in the CPU 220 of the device 200, which is preferably indicated by the ROM code. Then, in step 150, the fast boot mode of the eMMC is terminated, which is preferably indicated by the ROM code.

[0035] In step 160, the eMMC is reset, which is preferably indicated by the ROM Code. And, in step 170, the eMMC is put into fast boot mode again, which is preferably indicated by the boot loader.

[0036] At this stage, steps 180 and 185 are performed at least partially simultaneously. In step 180, the hardware of the device is initialized by a boot loader in CPU 220, and in step 185, the operating system is read into RAM 230 using direct memory access (DMA). Reading this data into RAM using DMA may not involve CPU 220.

[0037] It is possible that the boot loader instructs the eMMC controller 250 to transfer data (operating system) from the eMMC (preferably from the second boot area 280 and / or the main data area 290) to the RAM 230 using DMA.

[0038] When the operating system is loaded into RAM and the hardware has been at least partially initialized, the operating system may be started in step 190, preferably as directed by a boot loader.

[0039] Figure 3 A vehicle 300 is shown with the device 200. The vehicle 300 may be a car, truck, bus, or any other means of transportation with the device 200 on board.

[0040] Although the present invention has been described and illustrated in conjunction with a number of specific embodiments, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the present invention as illustrated, described and claimed herein. The described embodiments are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is therefore indicated by the appended claims rather than by the foregoing description. All variations within the equivalent meaning and scope of the claims are intended to be included within their scope.

[0041] Reference numerals

[0042] 100 Method for booting a device with eMMC

[0043] 110 Provides power to the device

[0044] 120Put eMMC in fastboot mode

[0045] 130 reads the boot loader into RAM;

[0046] 140 Start the boot loader

[0047] 150 Terminate Fastboot mode

[0048] 160Reset eMMC

[0049] 170Put eMMC in fastboot mode

[0050] 180 The boot loader initializes the hardware

[0051] 185 Using DMA to read the operating system into RAM

[0052] 190 Start the operating system

[0053] 200 systems including eMMC

[0054] 210 Host

[0055] 220CPU

[0056] 230RAM

[0057] 240eMMC

[0058] 250eMMC controller

[0059] 270 First Boot Zone

[0060] 280 Second startup area

[0061] 290 Master Data Area

[0062] 300 vehicles

Claims

1. A method for booting a device having an embedded multimedia card (eMMC), the method comprising the following steps: (1) Provide power to the equipment; (2) placing the eMMC in fast boot mode; (3) reading the boot loader from the eMMC into the random access memory (RAM) of the device; (4) starting the boot loader in the CPU of the device; as well as (5) Terminate the fast boot mode, Characterized in that the method further comprises the following steps: (6) Reset the eMMC; (7) placing the eMMC in the fast boot mode; (8) The boot loader initializes the hardware and reads the operating system into RAM using direct memory access (DMA); and (9) The boot loader starts the operating system from the RAM.

2. The method according to claim 1, wherein: Steps (1), (2), (3), (4) and / or (5) are performed by ROM code.

3. The method according to claim 1 or 2, wherein: Steps (6) and / or (7) are performed by the boot loader.

4. The method according to claim 1 or 2, wherein: In step (8), the boot loader instructs the eMMC controller to use DMA to read the operating system into the RAM.

5. A device comprising an embedded MultiMediaCard (eMMC), the device being arranged to perform a method according to any one of claims 1 to 4.

6. The device according to claim 5, wherein: The device is a navigation device or an infotainment device.

7. A vehicle comprising an apparatus according to claim 5 or 6.