# US 2022/0035926 A1 · Autonomous driving system with dual secure boot

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035926 A1
- Document ID: US20220035926A1
- Status: Published application
- Kind: A1
- Application number: 17/038,132
- Filed: 2020-09-30
- Published: 2022-02-03
- Earliest claimed: 2020-07-31
- Assignees: Quanta Computer Inc.
- Applicants: Quanta Computer Inc.
- Inventors: Yueh-Chang TSAI
- Web page: https://patentgrep.com/patent/US20220035926A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/44: Program or device authentication
- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An autonomous driving system having dual secure boot is provided. The autonomous driving system includes: a control system, a host, and a baseboard management controller (BMC). The control system includes a microcontroller, a first flash memory, and a second flash memory. The first flash memory stores first embedded-controller firmware and a first application image file. The second flash memory stores second embedded-controller firmware and a second application image file. When the autonomous driving system is turned on, the microcontroller executes a dual secure boot procedure to execute the first embedded-controller firmware or the second embedded-controller firmware. In response to the microcontroller successfully executing the first embedded-controller firmware or the second embedded-controller firmware, the microcontroller authenticates the first application image file or the second application image file. In response to the BMC executing the authenticated first application image file or second application image file, the host executes a boot procedure.

## Claims

### Claim 1

An autonomous driving system having dual secure boot, comprising:
a control system; comprising:
a microcontroller;
a first flash memory, configured to store first embedded-controller firmware and a first application image file;
a second flash memory, configured to store second embedded-controller firmware and a second application image file;
a host; and
a baseboard management controller (BMC), coupled between the control system and the host;
wherein when the autonomous driving system is turned on, the microcontroller executes a dual secure boot procedure to execute the first embedded-controller firmware or the second embedded-controller firmware,
wherein in response to the microcontroller successfully executing the first embedded-controller firmware or the second embedded-controller firmware, the microcontroller authenticates the first application image file or the second application image file,
wherein in response to the BMC executing the authenticated first application image file or the authentication second application image file, the host executes a boot procedure.

### Claim 2 (depends on 1)

The autonomous driving system as claimed in claim 1, wherein the microcontroller includes a first read-only memory (ROM), and a one-time programmable (OTP) memory, and the first ROM stores a bootloader, and the OTP memory stores an ECDH (Elliptic Curve Diffie-Hellman Key Exchange) private key, a first ECDSA (Elliptic Curve Digital Signature Algorithm) public key, a second ECDSA public key, and an RSA public-key hash value.

### Claim 3 (depends on 2)

The autonomous driving system as claimed in claim 2, wherein the first embedded-controller firmware and the second embedded-controller firmware store an ECDH public key and a first ECDSA private key, and the first application image file and the second application image file store an RSA private key.

### Claim 4 (depends on 3)

The autonomous driving system as claimed in claim 3, wherein the first flash memory stores a first application configuration and the second flash memory stores a second application configuration, and the first application configuration and the second application configuration store a second ECDSA private key.

### Claim 5 (depends on 4)

The autonomous driving system as claimed in claim 4, wherein during the dual secure boot procedure, the microcontroller decrypts and authenticates the first embedded-controller firmware using the ECDH private key and the first ECDSA public key, wherein when the decryption or authentication of the first embedded-controller firmware fails, the microcontroller decrypts and authenticates the second embedded-controller firmware using the ECDH private key and the first ECDSA public key.

### Claim 6 (depends on 4)

The autonomous driving system as claimed in claim 4, wherein during the dual secure boot procedure, when the microcontroller successfully executes the first embedded-controller firmware, the microcontroller authenticates the first application configuration using the second ECDSA public key, wherein when the authentication of the first application configuration fails, the microcontroller authenticates the second application configuration using the second ECDSA public key,
wherein when the microcontroller successfully executes the second embedded-controller firmware, the microcontroller authenticates the second application configuration using the second ECDSA public key.

### Claim 7 (depends on 6)

The autonomous driving system as claimed in claim 6, wherein during the dual secure boot procedure, the microcontroller decrypts the first application image file or the second application image file using the RSA public key stored in the first flash memory or the second flash memory and the RSA public-key has value.

### Claim 8 (depends on 1)

The autonomous driving system as claimed in claim 1, wherein when the microcontroller is executing the dual secure boot procedure, the microcontroller transmits a reset signal to the BMC and the host to suspend operations of the BMC and the host.

### Claim 9 (depends on 8)

The autonomous driving system as claimed in claim 8, wherein after the microcontroller completes the dual secure boot procedure and successfully executes the first embedded-controller firmware or the second embedded-controller firmware, the microcontroller de-asserts the reset signal to start the operation of the BMC.

### Claim 10 (depends on 7)

The autonomous driving system as claimed in claim 7, wherein the host comprises a processor, a platform control hub (PCH), a third flash memory, and a fourth flash memory, and the PCH is coupled to the processor, the third flash memory, the fourth flash memory, and the BMC, and the third flash memory and the fourth flash memory respectively store first basic input/output system (BIOS) firmware and second BIOS firmware,
wherein during the boot procedure of the host, the processor first reads the first BIOS firmware, and when the processor determines that the first BIOS firmware is not damaged and authentication of the first BIOS firmware is successful, the processor executes the first BIOS firmware to allow the boot procedure to proceed,
wherein when the processor determines that the first BIOS firmware is damaged or the authentication of the first BIOS firmware fails, the processor reads the second BIOS firmware, and when the processor determines that the second BIOS firmware is not damaged and authentication of the second BIOS firmware is successful, the processor executes the second BIOS firmware to allow the boot procedure to proceed.
