Method for starting a software program of a motor vehicle computing unit, motor vehicle computing unit and computing system for a motor vehicle

By using a validation module to verify and boot a partitioning software component (PSC) as a new trust core, the method accelerates the startup of motor vehicle computing units' software programs while maintaining security, addressing the challenge of time constraints and potential breaches in existing systems.

DE102023106985A1Pending Publication Date: 2024-09-26VALEO SCHALTER & SENSOREN GMBH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE102023106985
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing boot systems for motor vehicle computing units face challenges in starting software programs within predefined time limits while maintaining security, particularly with large image files and complex verification algorithms, leading to potential breaches if the HSM determines validity after the software has already been started.

Method used

Implement a validation module that uses an initial trust kernel to verify a partitioning software component (PSC) as a new core of trust, initiating verification and booting of a minimally functional software component (MVSC) first, followed by other components, ensuring each is validated before starting, and employing the HSM for robust verification.

Benefits of technology

This approach reduces the time required to start the software program without compromising security, adhering to time restrictions and preventing the execution of unverified components, thus ensuring rapid and secure boot-up.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000010_0000
    Figure 00000010_0000
  • Figure 00000011_0000
    Figure 00000011_0000
  • Figure 00000012_0000
    Figure 00000012_0000
Patent Text Reader

Abstract

To start a software program of a motor vehicle computer (3), wherein the software program comprises a minimum functional software component, MVSC, (9) and at least one further software component (10a, 10b), a partitioning software component, PSC, (8) is verified by a validation module (7) of the motor vehicle computer (3), and the verified PSC (8) is started by the validation module (7). A verification of the MVSC (9) is initiated by the PSC (8), and the verified MVSC (9) is started by the PSC (8). After the verified MVSC (9) has been started by the PSC (8), a verification of the at least one further software component (10a, 10b) is initiated by the PSC (8), and the verified at least one further software component (10a, 10b) is started by the PSC (8).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention is directed to a method for starting a software program of a motor vehicle computing unit, to a corresponding motor vehicle computing unit and to a computing system for a motor vehicle with such a motor vehicle computing unit.

[0002] Boot systems for starting operating systems or other software programs of motor vehicles Computing units are known. Such systems can include a hardware security module, HSM (English: hardware security module) to verify a software image before executing the first line of code. One goal of the Verification is to ensure that the software image to be started is a secure image and not a has been tampered with or modified by a system hacker or attacker.

[0003] On the one hand, an operating mode of the HSM can be used, which is called secure foreground boot mode where each software component is verified and started individually and execution is blocked until the Verification is complete. Once a software component is verified, it can be started, and then This software component starts the verification of the next software component. The order of execution The software components can be described as a chain of trust. The chain of trust begins with an initial trustworthy component, which is called the core of trust or Root of trust, which in this case is the HSM.

[0004] On the other hand, an operating mode of the HSM can be used which is called secure background boot mode where the individual software components are already started while the HSM is still verifying them. If the HSM determines that the software component is valid, the system will proceed with its execution. However, if the HSM determines that the software component is not valid, its execution is stopped immediately.

[0005] For computer systems of motor vehicles, such as electronic control units, ECUs (English: electronic control units), and in particular zone control units, ZCUs (zone control units), body control units, BCUs ( body control units), domain control units, DCUs (domain control units) or gateway units, it is desirable, a software program of a motor vehicle computing unit, which for example a Microcontroller unit, MCU (microcontroller unit) or a single-chip system, SoC (system-on-a-chip), There may be time constraints that require a start within a predefined time require, for example, on the order of 100 ms or less. Modern MCUs and HSM components support this from a hardware perspective. From a system perspective, especially when the software is However, the hardware is integrated, known systems may not be able to implement such Restrictions must be observed.

[0006] For example, the time required for the HSM to verify a software program is a function of the size the corresponding image file stored on the read-only memory (ROM). If The image file requires a lot of storage space, which is particularly important for AUTOSAR architectures (automotive open system architecture), the HSM may take a relatively long time to load the software program verify, especially if a complex verification algorithm is used. If the secure Foreground boot mode is used, this can affect the boot time and the time restrictions mentioned can be missed. On the other hand, in secure background boot mode, a long verification time can cause that the HSM only determines that the software program is invalid after it has already been started and may have caused the undesirable effects.

[0007] An object of the present invention is to provide an improved concept for starting a software program a motor vehicle computing unit including verification of the software program that Reduces the time required for the software program to start, especially without the to reduce the level of security.

[0008] This object is achieved by the respective subject matter of the independent claims. Further embodiments and preferred embodiments are subject of the dependent claims.

[0009] The improved concept is based on the idea of ​​using a validation module of the motor vehicle computing unit as to use an initial trust core to verify a partitioning software component and the verified partitioning software component as a new core of trust for verification and starting first a minimally functional software component of the software program and then at least one further software component of the software program.

[0010] According to one aspect of the invention, a method for starting a software program of a motor vehicle The software program has a minimally functional software component, MVSC (English: minimal viable software component), and at least one other software component. Partitioning software component (PSC) is validated by a validation module the vehicle computing unit and the verified PSC is started by the validation module. Verification of the MVSC is initiated by the PSC, especially after the PSC has been verified and started. The verified MVSC is started by the PSC. After the verified MVSC has been started by the PSC, a Verification of at least one further software component initiated by the PSC and the verified at least one Another software component is started by the PSC.

[0011] It is noted that the described steps of the method represent a scenario in which the result the verification of the PSC as well as the result of the verification of the MVSC and the results of the respective verifications at least one other software component is all positive or in other words these components are The result of the respective verifications is deemed valid. If one of the respective verifications is negative delivers a result or in other words, as a result of the respective verification it is determined that the respective Component is not valid, it may be that the respective invalid component is not started and the For example, the following procedural steps cannot be carried out and / or further security measures can The security measures may include, for example, preventing the software program from starting is aborted and / or an error or security message is generated.

[0012] In particular, if the result of the verification of the PSC is negative, the PSC will not be Validation module is started and consequently the MVSC and at least one other software component cannot verified or started by the PSC. Furthermore, if the PSC verification is positive and the verification If the MVSC is negative, the MVSC will not be started by the PSC. In particular, at least one further In this case, the software component cannot be verified or started.

[0013] If the verification of the PSC and the verification of the MVSC are both positive, but the result of the verification one of the at least one other software component is negative, the respective invalid of the at least one other software component is not started. If the at least one other software component has more than one further software component, the PSC can, depending on the specific design, be responsible for the verification and, provided the verification result is positive, with the start of the remaining software components In alternative executions, the software program startup is aborted and none of the remaining other software components are verified or started.

[0014] The at least one further software component may consist of a single further software component and the verification of the only other software component is carried out by the PSC after the verified MVSC has been started. Alternatively, the at least one further software component can have two or more further The two or more additional software components may comprise a one after the other by the PSC after the verified MVSC has been started. Alternatively, depending on the design of the PSC, it may also be possible to verify the two or more additional to start software components or a part of them in parallel or to carry out the verification in a staggered manner so that the individual verification processes may partially overlap. In any case, the Verification of each of the two or more additional software components only after the verified MVSC has been started has been.

[0015] The motor vehicle computing unit is a computing unit that is suitable for use in a motor vehicle, for example in an electronic control unit, ECU, in particular a zone control unit, ZCU, a body control unit, BCU, or a domain control unit, DCU, or a gateway unit.

[0016] A computing unit can be designed in particular as a data processing device which has processing circuits, The computing unit can therefore, in particular, process data to perform arithmetic operations. This can also include operations to perform indexed access to a data structure, for example a look-up table, LUT, include.

[0017] The computing unit may in particular comprise one or more computers, one or more microcontrollers and / or one or more integrated circuits, for example one or more application-specific integrated Circuits, ASIC (application-specific integrated circuit), one or more field-programmable Gate Arrays, FPGA, and / or one or more single-chip systems, SoC (English: ´´system on a chip´´). Computing unit can also comprise one or more processors, for example one or more microprocessors, one or several central processing units, CPU (English: ´´central processing unit´´), one or more Graphics processing units, GPU (graphics processing unit) and / or one or more signal processors, in particular one or more digital signal processors, DSP. The computing unit may also contain a physical or virtual network of computers or other of the aforementioned units.

[0018] In various embodiments, the computing unit includes one or more hardware and / or Software interfaces and / or one or more storage units.

[0019] A memory unit can be a volatile data memory, for example a dynamic memory with random access Access, DRAM (dynamic random access memory) or static random access memory, SRAM (English: ´´static random access memory´´), or as non-volatile data storage, for example as read-only memory, ROM (read-only memory), as programmable read-only memory, PROM (programmable read-only memory´´), as erasable read-only memory, EPROM (English: ´´erasable read-only memory´´), as electrically erasable Read-only memory, EEPROM (electrically erasable read-only memory), as flash memory or flash EEPROM, as ferroelectric random access memory, FRAM (English: ´´ferroelectric random access memory´´), as magnetoresistive random access memory, MRAM (magnetoresistive random access memory) or Phase-change random access memory, PCRAM (English: ´´phase-change random access memory´´), be designed.

[0020] The MVSC is, for example, adapted to perform one or more functions of the highest priority, also known as Minimum Functions. These minimum functions can be implemented as a single standalone software in The MVSC can be considered encapsulated. It depends on the specific design how the individual functions of the entire software program between the MVSC and at least one other software component. The at least one further software component implements respective functions which, compared to the highest Priority of minimum functions have a lower priority.

[0021] The PSC can be understood as a partitioning software component in the sense that it is used adapted to the available resources, such as physical or virtual processors and / or physical or virtual Memory units, the motor vehicle computing unit and to assign them to the MVSC on the one hand and to at least one another software component on the other hand.

[0022] The validation module can be viewed, for example, as an initial trust core. The initial Trust core can be a hardware and / or software component, preferably it is implemented as a hardware Trust core implemented. The initial trust core is, for example, inherently trustworthy and is, for example, secure by design, such as a hardware security module (HSM). The initial trust core can also be a Hardware and / or software component which is already available before the method according to the invention is carried out, Example: has been verified as secure by an HSM.

[0023] According to the method according to the invention, the PSC is first verified and started by the validation module and can therefore be considered as a new core of trust for the remaining steps.

[0024] That the PSC initiates the respective verification of the MVSC and the at least one other software component, can be understood in such a way that, for example, the PSC itself carries out the respective verification or the PSC uses another calls a module of the vehicle computing unit, for example the validation module, to perform the verification.

[0025] The software program may be operating system software. However, this is not mandatory. In particular the software program can also be an application software program.

[0026] By means of the method according to the invention, the MVSC and the at least one further software component all are only started after successful verification of the respective component. Consequently, the security when starting the software program must be kept very high, for example as in the case of secure foreground boot operation. In particular, the PSC acts as a new trust core capable of verifying the different components in a predefined order, so that the MVSC is first is verified and can therefore be started before at least one other software component is verified or has even been launched.

[0027] Therefore, the time until the MVSC is started and consequently the minimum functions are actually performed can, due to the partition Treatment of the MVSC verification and the verification of at least one other software component reduced.

[0028] According to some embodiments of the method, the validation module is configured as an HSM of the motor vehicle computing unit implemented.

[0029] In this way, a highly reliable verification of the PSC and in some embodiments of the MVSC and / or at least one further software component after initiation of the PSC by implementing powerful known verification algorithms are used and the fact that the HSM is a Hardware component that is safe by design.

[0030] According to some embodiments, the verification of the MVSC initiated by the PSC is performed by the validation module, in corresponding versions, in particular the HSM.

[0031] For example, the PSC may initiate the verification of the MVSC by issuing a respective command to start the The validation module then performs the verification in response to this Command through.

[0032] Consequently, the respective verification algorithm used to verify the MVSC does not need to be included in the PSC This reduces the size, especially the memory requirements, of the PSC and the time to Verification of the PSC by the validation module and consequently the time until the MVSC can be verified and started. Furthermore, the validation module must be able to verify the PSC by Verification algorithms are used. Thus, the verification algorithms do not have to be implemented twice become.

[0033] According to some embodiments, the verification of the at least one further PSC-initiated Software component is carried out by the validation module, in particular the HSM in the respective versions.

[0034] Consequently, the respective verification algorithm used to verify the at least one further software component does not need to be implemented in the PSC itself. This reduces the size, especially the storage requirements of the PSC and reduces the time required to verify the PSC by the validation module and consequently the Time until the MVSC can be verified and started.

[0035] According to some embodiments, an interrupt is generated by the verified MVSC when the verification of the MVSC is completed, and the interrupt is transferred by the MVSC to the PSC. The verified MVSC is Response to the transmitted interrupt started by the PSC.

[0036] In some embodiments, the PSC is a bootloader software module of the motor vehicle computing unit.

[0037] This has the advantage, for example, that the vehicle computing unit uses the bootloader software module as the new trust core, among other tasks performed by the bootloader software module and which are not part of the method according to the invention. The bootloader software module is capable of verifying initiate and components of the software program in a time-defined manner as for the above method As a result, the bootloader software module is inherently capable of acting as a partitioning software component.

[0038] According to some embodiments, the PSC is the bootloader software module and the interrupt is implemented as a timer interrupt or as a software interrupt.

[0039] According to at least one further embodiment, the PSC is a hypervisor software module.

[0040] In this case, the hypervisor software module can set up respective virtual software machines and the Verification and starting of the MVSC and at least one other software component can be based on the respective virtual software machines.

[0041] This has the advantage, for example, that the vehicle computing unit uses the hypervisor software module as the new trust core, among other tasks performed by the hypervisor software module and are not part of the method according to the invention. Due to its design, the hypervisor software module is inherently capable of acting as a partitioning software component. The use of the hypervisor software module than the PSC also has the advantage of using the hardware resources and processor cores of the automotive control unit can be optimized.

[0042] According to some embodiments, the PSC is the hypervisor software module and the interrupt is considered a hypervisor Software interrupt generated.

[0043] According to some embodiments, the at least one further software component has a first further software component and a second additional software component.

[0044] According to some embodiments, a verification of the first further software component and a Verification of the second additional software component is initiated in parallel by the PSC after the verified MVSC has been the PSC has been launched.

[0045] In other words, the PSC waits to initiate the verification of the second additional software component not until the verification of the first additional software component is completed, or vice versa. Consequently, the time until the first and second additional software components can be started is further reduced.

[0046] For example, the PSC may verify all other software components of the at least one other Initiate software components in parallel.

[0047] According to some embodiments, the verification of the first further software component is initiated by the PSC, after the verified MVSC has been started by the PSC. If the verification of the first further Once the software component is completed, the verified first additional software component is started by the PSC. After the verified first additional software component has been started by the PSC, a verification of the second additional software component initiated by the PSC.

[0048] In particular, when the verification of the second additional software component is completed, the verified second additional software component launched by the PSC.

[0049] For example, an instruction, such as another interrupt, can be executed by the first additional software component generated when it has been started and transferred to the PSC, and the PSC initiates the verification the second additional software component in response to this command or further interrupt.

[0050] In this way, it can be achieved that the second additional software component is only verified if the verification of the first additional software component is successful. This can be applied to all other software components at least one other software component, so that one after the other can only be verified is released when the previous additional software component has been successfully verified. Furthermore, This way, PSCs can also be used that are not able to initiate more than one verification at a time or to handle.

[0051] According to some embodiments, the verification of the MVSC and / or the verification of the at least one further software component, for example the first and / or second further software component, using a cipher-based message authentication code algorithm, CMAC algorithm (English: cipher-based message authentication code algorithm) is carried out, for example, by the validation module, in particular the HSM.

[0052] In this way, a high level of security and reliability of verification can be achieved.

[0053] For applications or application situations that may occur with this method and which are not described here explicitly described, it may be provided that according to the procedures an error message and / or a note for a user feedback is given and / or a default setting and / or a predetermined initial state is set.

[0054] According to a further aspect of the invention, a motor vehicle computing unit is provided. The motor vehicle Computing unit has at least one storage device which stores a software program, wherein the Software program a minimally functional software component, MVSC, and at least one further software component, and wherein the at least one storage device comprises a partitioning software component, PSC. The motor vehicle computing unit has a validation module which is designed to and start the verified PSC. The PSC is adapted to initiate a verification of the MVSC and to start the verified MVSC. The PSC is adapted to verify at least one further software component after the verified MVSC has been started by the PSC, and the verified to start at least one other software component.

[0055] According to some embodiments, the motor vehicle computing unit is designed as a microcontroller, also referred to as Microcontroller processing unit, MCU, implemented.

[0056] According to some embodiments of the motor vehicle computing unit, the validation module is a hardware Security module, HSM.

[0057] According to some embodiments, the at least one storage device comprises a non-volatile storage device, in particular a read-only memory, ROM, which stores the software program. a storage device has another storage device, in particular a volatile storage device, for example a Flash memory. The PSC is adapted to transfer the verified MVSC from the non-volatile storage device to the further storage device to start the verified MVSC.

[0058] Further embodiments of the motor vehicle computing unit according to the invention result directly from the different embodiments of the method according to the invention and vice versa. In particular, individual features and corresponding explanations as well as advantages concerning the different versions of the The method according to the invention can be applied analogously to corresponding embodiments of the motor vehicle In particular, the motor vehicle computing unit according to the invention is designed or programmed to carry out the method according to the invention. In particular, the motor vehicle according to the invention Computing unit carries out the method according to the invention.

[0059] According to a further aspect of the invention, a computing system for a motor vehicle is provided, wherein the Computing system comprises a motor vehicle computing unit according to the invention. The computing system is an ECU or a BCU or a ZCU or a DCU or a gateway unit.

[0060] Further features of the invention emerge from the claims, the figures and the description of the figures. features and combinations of features mentioned above in the description as well as those listed below in the Features and combinations of features mentioned in the description of the figures and / or shown in the figures may The invention may be encompassed not only in the combination specified but also in other combinations. In particular, the invention may also encompass embodiments and combinations of features that do not cover all of the features of an originally formulated claim. In addition, embodiments and Combinations of features may be encompassed by the invention which go beyond those set out in the back references of the claims. combinations of features or deviate from them.

[0061] In the following, the invention will be explained with reference to specific exemplary embodiments and respective schematic Drawings are explained in detail. In the drawings, identical and functionally equivalent elements can be identified with the same The description of identical or functionally equivalent elements is given with reference to different figures are not necessarily repeated.

[0062] The figures show: Fig. 1 schematically shows a motor vehicle with an exemplary embodiment of an inventive computing system for a motor vehicle; Fig. 2 schematically shows a flow diagram of an exemplary embodiment of a method according to the invention for Starting a software program of a motor vehicle computing unit; and Fig. 3 schematically shows a flow chart for another exemplary embodiment of a method for starting a software program of a motor vehicle computing unit.

[0063] Fig. 1 shows schematically a motor vehicle 1 with an exemplary embodiment of a computing system 2 according to the Invention. The computing system 2 can be designed, for example, as an ECU, a BCU, a ZCU, a DCU or a gateway unit be implemented. The computing system 2 can, for example, control one or more sensors 5 of the vehicle 1 and / or other components 6 of the vehicle 1.

[0064] The computing system 2 comprises an exemplary embodiment of a motor vehicle computing unit 3 according to the invention The motor vehicle computing unit 3 can be implemented, for example, as an MCU or a SoC. The computing system 2 can optionally accommodate further electronic devices 4, such as storage devices, interfaces, peripherals, further MCUs or SoCs etc.

[0065] A motor vehicle computing unit 3 according to the invention, for example a motor vehicle computing unit 3 as shown in a computing system 2 as shown in Fig. 1, has at least one storage device (not shown), which stores a software program. In particular, the software program can be stored using a inventive method for starting a software program.

[0066] A schematic flow diagram of an exemplary embodiment of such a method is shown in Fig. 2.

[0067] The software program comprises a minimally functional software component, MVSC, 9 and at least one further software component. In the non-limiting example of Fig. 2, the at least one further Software component a first further software component 10a and a second further software component 10b. The at least one storage device stores a Partitioning software component, PSC, 8. Furthermore, the motor vehicle computing unit 3 has a validation module 7, for example a hardware security module, HSM.

[0068] In a step 200 of the method, the validation module 7 is started or woken up and in step 210 The start of the validation module 7 is completed and the validation module 7 is ready. In step 220, the Validation module 7 the PSC 8 and the verified PSC 8 is started by the validation module 7 in step 230. If If the result of the verification of the PSC 8 in step 220 is negative, the start process can be aborted, for example. Otherwise, the PSC 8 initiates a verification of the MVSC 9 in step 240.

[0069] If the verification of the MVSC 9 is successful, the PSC 8 starts the MVSC 9 in step 250. Otherwise, the For example, the start-up process can be aborted and in particular neither the MVSC 9 nor at least one further Software components 10a, 10b are started.

[0070] If the MVSC 9 has been successfully verified and started by the PSC 8, the verification of at least another software component 10a, 10b is initiated by the PSC 8 and the verified at least one further Software component 10a, 10b is started by the PSC 8. In the example of Fig. 2, the verification of the first further software component 10a is initiated by the PSC 8 in step 260 and in case of successful verification of the first software component 10a, it is started in step 270. The verification of the second further Software component 10b is initiated by the PSC 8 in step 280 and in case of successful verification of the second further software component 10b it is started in step 290.

[0071] Steps 260 and 280 may be executed in parallel or partially in parallel. In other embodiments, Step 280 is only executed after the first additional software component 10a has been successfully verified in step 260 and in Step 270 has been started.

[0072] Fig. 3 shows a schematic flow diagram of a further exemplary embodiment of an inventive Method for starting a software program. In this embodiment, the validation module 7 is, for example, a Bootloader software module implemented.

[0073] In this case, an interrupt vector table 11 of the processor, in particular the CPU, of the motor vehicle Computing unit 3 can be configured such that the MVSC 9 and the at least one further software component 10a, 10b generate respective interrupts 11a, 11b, which can be transmitted to the PSC 8. This can, for example, using software interrupts or using a timer with timer interrupts. In this way, the PSC 8 can be woken up when the MVSC 9 or at least one other Software component 10a, 10b, have been successfully verified and are ready to start, so that the PSC 8 can start its execution can start. The PSC 8 is therefore configured as an Interrupt Service Routing, ISR, and the interrupts are assigned to the PSC 8 assigned.

[0074] In step 300, the validation module 7 is started or woken up and in step 310 the start of the Validation module 7 is completed and the validation module 7 is ready. In step 320, the validation module verifies 7 the PSC 8 and the verified PSC 8 is started by the validation module 7 in step 330. If a result of the If the verification of the PSC 8 in step 320 is negative, the startup process can be aborted, for example. Otherwise the PSC 8 initiates a verification of the MVSC 9 in step 340. If the verification of the MVSC 9 is successful, the PSC 8 the MVSC 9 in step 350.

[0075] If the MVSC 9 has been successfully verified and is therefore ready to start, it can send an interrupt request 11b to trigger the PSC 8 and / or trigger another interrupt request 11a to the PSC 8 if the MVSC 9 in step 350 has been successfully started. The PSC 8 can then handle the interrupt request by Validation module 7 is requested to verify the first additional software component 10a in step 360.

[0076] When the first further software component 10a has been verified, an interrupt request 11b can be generated which can be handled by the PSC 8 by the verified first further software component 10a is loaded and its execution is started in step 370. When the first additional software component 10a is started has been and is ready, it can generate another interrupt request 11a and send it to the PSC 8, which by requesting the validation module 7 to validate the second additional software component 10b in step 380. When the second additional software component 10b has been verified, it can send an interrupt request 11b, which can be handled by the PSC 8 by the verified second further software component 10b is loaded and its execution is started in step 390.

[0077] If the at least one further software component 10a, 10b has more than two further software components, the information relating to the first additional software component 10a and the second additional software component 10b The steps described are repeated until all other software components of the at least one further Software components 10a, 10b have been verified and started.

[0078] In further embodiments, a hypervisor software module may be used as the PSC 8. Based on the Execution of the hypervisor software module and the processor of the motor vehicle computing unit 3, the MVSC 9 and the at least one further software component 10a, 10b in this case to virtual software machines.

[0079] The steps described remain the same as for the bootloader software module as the PSC 8. In particular, the Validation module 7 is started and verifies the hypervisor software module, and the hypervisor software module is verification and becomes the new trust core. The hypervisor software module verifies the virtual MVSC Machine 9, for example, using the validation module 7 and then starts the MVSC virtual machine 9. The Hypervisor software module requests the validation module 7 to validate the virtual software machine according to the first further software component 10a and, after successful verification, loads the verified virtual Software machine according to the first further software component 10a and starts its execution.

[0080] If the MVSC virtual machine 9 meets its predefined safe boot time limit and the System enters a normal operating mode, then the MVSC virtual machine 9 can, for example, run the hypervisor Trigger the software module to start the virtual software machine according to the second further software component 10b on the same core as the MVSC virtual machine 9 to use the shared resources and Cores. The respective steps are repeated until virtual machines comply with all further Software components of at least one further software component 10a, 10b have been verified and started.

[0081] As described in particular with reference to the figures, the invention provides an improved concept for starting a software program of a motor vehicle computing unit including a verification of the software program, which reduces the time required for the software program to start, especially without the to reduce the level of security.

[0082] By analyzing the requirements for secure booting, it is desirable that after a predefined Time the vehicle computing unit is able to perform minimal functions until other components are loaded and ready for use. These minimum functions can be integrated into a standalone software component known as MVSC is called, which is started first.

[0083] The compromise between adhering to the time constraint for safe booting and The use of system resources should be managed in such a way that the cores remain well balanced. Avoid starting untrusted software components, such as secure background boot procedures become.

Claims

1. A method for starting a software program of a motor vehicle computing unit (3), wherein - the software program comprises a minimally functional software component, MVSC, (9) and at least one further software component (10a, 10b); - a partitioning software component, PSC, (8) by a validation module (7) of the motor vehicle computing unit (3) is verified and the verified PSC (8) is started by the validation module (7); - a verification of the MVSC (9) is initiated by the PSC (8) and the verified MVSC (9) is started by the PSC (8) will; and - after the verified MVSC (9) has been started by the PSC (8), a verification of at least one further Software component (10a, 10b) is initiated by the PSC (8) and the verified at least one further Software component (10a, 10b) is started by the PSC (8).

2. The method according to claim 1, wherein the validation module (7) is a hardware security module, HSM, of the motor vehicle Computing unit (3).

3. The method according to claim 2, wherein - the verification of the MVSC (9) initiated by the PSC (8) is carried out by the validation module (7); and / or - the verification of the at least one further software component (10a, 10b) initiated by the PSC (8) from the Validation module (7) is carried out.

4. Method according to one of the preceding claims, wherein - when the verification of the MVSC (9) is completed, an interrupt (11a, 11b) is issued by the verified MVSC (9) is generated and transmitted to the PSC (8); and - the verified MVSC (9) is started by the PSC (8) in response to the transmitted interrupt (11a, 11b).

5. The method according to claim 4, wherein - the PSC (8) is a bootloader software module; and - the interrupt (11a, 11b) is generated as a timer interrupt or as a software interrupt.

6. The method according to any one of claims 1 to 4, wherein - the PSC (8) is a hypervisor software module; and - the interrupt is generated as a hypervisor software interrupt.

7. Method according to one of the preceding claims, wherein - the at least one further software component (10a, 10b) comprises a first further software component (10a) and a second further software component (10b); and - after the verified MVSC (9) has been started by the PSC (8), a verification of the first further Software component (10a) and a verification of the second further software component (10b) by the PSC (8) be initiated in parallel.

8. The method according to any one of claims 1 to 6, wherein - the at least one further software component (10a, 10b) comprises a first further software component (10a) and a second further software component (10b); - after the verified MVSC (9) has been started by the PSC (8), a verification of the first further Software component (10a) is initiated by the PSC (8); - when the verification of the first further software component (10a) is completed, the verified first further Software component (10a) is started by the PSC (8); - after the verified first further software component (10a) has been started by the PSC (8), a Verification of the second additional software component (10b) is initiated by the PSC (8).

9. Method according to one of the preceding claims, wherein the verification of the MVSC (9) and / or the verification the at least one further software component (10a, 10b) using a cipher-based Message Authentication Code Algorithm, CMAC algorithm.

10. Motor vehicle computing unit (3) wherein - the motor vehicle computing unit (3) has at least one storage device which stores a software program, wherein the software program comprises a minimally functional software component, MVSC, (9) and at least one further software component (10a, 10b) and wherein the at least one storage device comprises Partitioning software component, PSC, (8) stores; - the motor vehicle computing unit (3) has a validation module (7) which is designed to validate the PSC (8) verify and start the verified PSC (8); - the PSC (8) is adapted to initiate a verification of the MVSC (9) and to start the verified MVSC (9); and - the PSC (8) is adapted to perform a verification of the at least one further software component (10a, 10b) initiate after the verified MVSC (9) has been started by the PSC (8), and the verified at least one to start another software component (10a, 10b).

11. Motor vehicle computing unit (3) according to claim 10, wherein the motor vehicle computing unit (3) is a microcontroller.

12. Motor vehicle computing unit (3) according to one of claims 10 or 11, wherein the validation module (7) is a hardware Security module, HSM, is.

13. Motor vehicle computing unit (3) according to one of claims 10 to 12, wherein - the at least one storage device is a non-volatile storage device that stores the software program, and a has another storage device; - the PSC (8) is adapted to read the verified MVSC (9) from the non-volatile storage device to start the verified MVSC (9) into the additional storage device.

14. Computing system (2) for a motor vehicle (1), wherein the computing system (2) comprises an electronic control unit or a Body control unit or a zone control unit or a domain control unit or a gateway unit and the Computing system comprising a motor vehicle computing unit (3) according to one of claims 10 to 13.

Citation Information

Patent Citations

  • Method and system for performing a safe boot procedure using multi-stage safety verification in a vehicle microcontroller

    DE102022119774A1

  • Method and system for authorizing an older application in a control unit of a vehicle

    WO2019115376A1

  • Computing unit for a vehicle and method and computer program for a computing unit for a vehicle

    WO2023057506A1