# US 8,578,148 B2 · Method and system to transmit code to a system on a chip (SOC)

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

- Number: US 8,578,148 B2
- Document ID: US8578148B2
- Status: Granted
- Kind: B2
- Application number: 12/845,175
- Filed: 2010-07-28
- Published: 2011-07-28
- Granted: 2013-11-05
- Earliest claimed: 2010-01-22
- Assignees: Broadcom Corporation
- Applicants: Mahesh Iyer; Stephen George Siener
- Inventors: Mahesh Iyer; Stephen George Siener
- Web page: https://patentgrep.com/patent/US8578148B2

## CPC

- G06F 13/4208: {being a system bus, e.g. VME bus, Futurebus, Multibus}
- G06F 2213/0038: System on Chip
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method and system to transmit code to a System on Chip (SOC) from a host processor using a host-side driver is provided herein. The SOC and host processor are coupled by a bus. The host driver receives an overlay from an application layer and stores the overlay. The host driver receives an IOCTL to be transmitted to the SOC. The host driver determines whether an input/output control (IOCTL) value of the IOCTL to be transmitted to the SOC corresponds to an IOCTL value in one of the stored overlays. The host driver transmits an overlay to the SOC if the IOCTL value of the IOCTL to be transmitted is equal to at least one IOCTL value in the overlay. The host driver then transmits the IOCTL to the SOC.

## Claims

### Claim 1

A method in a host processor to transmit code to a System On a Chip (SOC), comprising:
receiving an event from the SOC requesting an overlay, wherein the event includes a first input/output control (IOCTL) value and a string name;
determining whether the first IOCTL value is equal to at least one IOCTL value in a first overlay of a plurality of overlays stored in a memory coupled to the host processor;
determining whether the string name is equal to an overlay name in the first overlay if the first IOCTL value is equal to at least one IOCTL value in the first overlay; and
transmitting the first overlay to the SOC if the string name is equal to the overlay name in the first overlay and if the first IOCTL value is equal to at least one IOCTL value in the first overlay.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, prior to the receiving:
receiving an image file from a host application, wherein the image file includes at least one of a header, overlay offsets, a base image file, overlay region count, a plurality of overlay region addresses and a plurality of overlays corresponding to the overlay offsets; and
storing the image file in a host memory;
wherein each overlay includes a first IOCTL value, a second IOCTL value, an overlay index value, an overlay name and overlay code.

### Claim 3 (depends on 1)

The method of claim 1, further comprising, prior to the receiving:
transmitting a base image file to the SOC during startup.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
transmitting the first overlay 1024 bytes at a time.

### Claim 5 (depends on 1)

The method of claim 1, the transmitting further comprising:
encrypting the first overlay prior to transmission.

### Claim 6

A method in a System on a Chip (SOC) to receive an overlay from a host processor, the SOC and the host processor coupled by a bus, comprising:
transmitting an event to the host processor requesting the overlay, wherein the event includes a first input/output control (IOCTL) value and a string name; and
receiving the overlay from the host processor, wherein an IOCTL value and an overlay name in the received overlay are equal to the corresponding first IOCTL value and the string name in the event.

### Claim 7 (depends on 6)

The method of claim 6, further comprising, prior to the transmitting:
receiving a base image file from the host processor during startup.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
receiving the overlay 1024 bytes at a time.

### Claim 9 (depends on 6)

The method of claim 6, wherein the received overlay is encrypted.

### Claim 10 (depends on 9)

The method of claim 9, further comprising decrypting the received overlay.

### Claim 11

A System On a Chip (SOC), comprising:
a memory; and
a processor coupled to the memory and configured to execute instructions stored in the memory that cause the processor to transmit an event to a host processor to request an overlay, wherein the event includes a first input/output control (IOCTL) value and a string name, and to receive the overlay from the host processor, wherein an IOCTL value and an overlay name in the received overlay are equal to the corresponding first IOCTL value and the string name in the event.

### Claim 12 (depends on 11)

The SOC of claim 11, wherein the memory includes an overlay region configured to store one overlay at a time.

### Claim 13 (depends on 11)

The SOC of claim 11, wherein the memory includes multiple regions configured to allow for multiple overlays to be stored simultaneously.

### Claim 14

A non-transitory computer readable medium having stored thereon computer executable instructions that, if executed by a host processor, cause the host processor to perform a method to transmit code to a System On a Chip (SOC), the method comprising:
receiving an event from the SOC requesting an overlay, wherein the event includes a first input/output control (IOCTL) value and a string name;
determining whether the first IOCTL value is equal to at least one IOCTL value in a first overlay of a plurality of overlays stored in a memory coupled to the host processor;
determining whether the string name is equal to an overlay name in the first overlay if the first IOCTL value is equal to at least one IOCTL value in the first overlay; and
transmitting the first overlay to the SOC if the string name is equal to the overlay name in the first overlay and if the first IOCTL value is equal to at least one IOCTL value in the first overlay.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, further comprising executable instructions for, prior to the receiving:
receiving an image file from a host application, wherein the image file includes at least one of a header, overlay offsets, a base image file, overlay region count, a plurality of overlay region addresses and a plurality of overlays corresponding to the overlay offsets; and
storing the image file in a host memory;
wherein each overlay includes a first IOCTL value, a second IOCTL value, an overlay index value, an overlay name and overlay code.

### Claim 16 (depends on 14)

The non-transitory computer readable medium of claim 14, further comprising executable instructions for, prior to the receiving:
transmitting a base image file to the SOC during startup.

### Claim 17 (depends on 14)

The non-transitory computer readable medium of claim 14, further comprising executable instructions for:
transmitting the first overlay 1024 bytes at a time.

### Claim 18 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the transmitting further comprises:
encrypting the first overlay prior to transmission.

### Claim 19

A non-transitory computer readable medium having stored thereon computer executable instructions that, if executed by a System on a Chip (SOC), cause the SOC to perform a method to receive an overlay from a host processor, the SOC and the host processor coupled by a bus, the method comprising:
transmitting an event to the host processor requesting the overlay, wherein the event includes a first input/output control (IOCTL) value and a string name; and
receiving the overlay from the host processor, wherein an IOCTL value and an overlay name in the received overlay are equal to the corresponding first IOCTL value and the string name in the event.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, further comprising executable instructions for, prior to the transmitting:
receiving a base image file from the host processor during startup.

### Claim 21 (depends on 19)

The non-transitory computer readable medium of claim 19, further comprising executable instructions for:
receiving the overlay 1024 bytes at a time.

### Claim 22 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein the received overlay is encrypted.

### Claim 23 (depends on 22)

The non-transitory computer readable medium of claim 22, further comprising executable instructions for decrypting the received overlay.
