CN115858024A - Chip starting initialization method and device, computer equipment and storage medium - Google Patents
Chip starting initialization method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115858024A CN115858024A CN202211426262.5A CN202211426262A CN115858024A CN 115858024 A CN115858024 A CN 115858024A CN 202211426262 A CN202211426262 A CN 202211426262A CN 115858024 A CN115858024 A CN 115858024A
- Authority
- CN
- China
- Prior art keywords
- initialization
- chip
- table entry
- entry
- parameter value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请涉及芯片技术领域,特别是涉及一种芯片启动的初始化方法、装置、计算机设备和存储介质。The present application relates to the field of chip technology, in particular to a method, device, computer equipment and storage medium for initializing chip startup.
背景技术Background technique
在以太网交换芯片中,一般设计有大量的表项,比如配置表项或转发业务表项,表项的数目可能达到数百个,且每个表项的容量可以达到数千条或上万条。In an Ethernet switch chip, a large number of entries are generally designed, such as configuration entries or forwarding service entries. The number of entries may reach hundreds, and the capacity of each entry can reach thousands or tens of thousands. strip.
由于芯片中的大量表项一般使用随机存取存储器(RAM)实现,然而RAM在芯片上电解除复位后,RAM里面存储的内容是不确定值(即X态)。因此,芯片在上电启动后,一般需要中央处理器CPU对芯片中各个表项进行初始化配置。Because a large number of table items in the chip are generally implemented using random access memory (RAM), however, after the RAM is powered on and reset, the content stored in the RAM is an indeterminate value (that is, the X state). Therefore, after the chip is powered on and started, the central processing unit CPU is generally required to initialize and configure each table item in the chip.
目前,对芯片中的表项进行初始化的方式主要是由CPU对表项逐个进行初始化,而且各表项的初始过程是串行进行的,同时由于芯片需要初始化的表项及表项的容量比较大,所以初始过程需要较长的时间。在一些对芯片启动时间要求比较苛刻的场景下,现有的对芯片表项初始化的方法往往不能满足要求。At present, the way to initialize the table items in the chip is mainly to initialize the table items one by one by the CPU, and the initial process of each table item is carried out serially. Large, so the initial process takes a long time. In some scenarios where the chip start-up time is relatively strict, the existing methods for initializing chip table entries often cannot meet the requirements.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种能够减少芯片启动时间、提高芯片表项初始化速度的芯片启动的初始化方法、装置、计算机设备和存储介质。Based on this, it is necessary to address the above technical problems and provide a chip startup initialization method, device, computer equipment and storage medium capable of reducing chip startup time and improving chip entry initialization speed.
一种芯片启动的初始化方法,所述芯片设置有初始化状态寄存器、以及与每个芯片表项对应的初始化控制组件;所述方法包括:An initialization method for starting a chip, the chip is provided with an initialization status register and an initialization control component corresponding to each chip entry; the method includes:
当检测到芯片启动时,通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置;When it is detected that the chip is started, the initialization control component is used to initialize the configuration of the corresponding chip entry in the chip;
查询所述初始化状态寄存器的参数值;Querying the parameter value of the initialization status register;
根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化。Confirming whether the chip is initialized according to the parameter value of the initialization state register.
在一个实施例中,所述初始化控制组件包括表项读写控制电路、表项初始化控制电路和表项初始化状态寄存器;In one embodiment, the initialization control component includes an entry read and write control circuit, an entry initialization control circuit, and an entry initialization status register;
所述通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置包括:The initialization configuration of the corresponding chip entry in the chip through the initialization control component includes:
通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作;performing an initialization write operation on each of the corresponding chip entries through the initialization control component corresponding to each of the chip entries;
当所述芯片表项的初始化写操作完成后,通过对应的所述表项初始化控制电路将所述表项初始化状态寄存器的参数值更新为初始化完成标识。After the initialization write operation of the chip table entry is completed, the parameter value of the table entry initialization state register is updated to an initialization completion flag through the corresponding table entry initialization control circuit.
在一个实施例中,所述通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作包括:In one embodiment, the initialization control component corresponding to each of the chip entries performs an initialization write operation on each of the corresponding chip entries, including:
通过各个所述芯片表项对应的所述初始化控制组件的所述表项初始化状态寄存器,向对应组件内的所述表项初始化控制电路发送初始化指令;所述初始化指令用于指示所述表项初始化状态寄存器对应的芯片表项的初始化写操作;Through the entry initialization status register of the initialization control component corresponding to each chip entry, an initialization instruction is sent to the entry initialization control circuit in the corresponding component; the initialization instruction is used to indicate the entry Initialize the write operation of the chip table entry corresponding to the initialization status register;
通过所述初始化控制电路接收所述初始化指令,控制对应组件内的所述表项读写控制电路向随机存取存储器发起初始化写操作。The initialization instruction is received by the initialization control circuit, and the entry read-write control circuit in the corresponding component is controlled to initiate an initialization write operation to the random access memory.
在一个实施例中,所述方法还包括;In one embodiment, the method further comprises;
通过每个所述芯片表项对应的表项初始化状态寄存器传输更新后的参数值至所述表初始化状态寄存器;transmitting the updated parameter value to the table initialization status register through the table item initialization status register corresponding to each chip table entry;
将每个所述表项初始化状态寄存器的参数值进行逻辑或操作,得到初始化状态标识;performing a logical OR operation on the parameter value of each entry initialization status register to obtain the initialization status identifier;
将所述初始化状态寄存器的参数值更新为所述初始化状态标识。Updating the parameter value of the initialization status register to the initialization status identifier.
在一个实施例中,所述根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化包括:In one embodiment, the determining whether the chip is initialized according to the parameter value of the initialization status register includes:
当所述参数值为初始化完成标识时,确定所述芯片完成初始化;When the parameter value is an initialization complete flag, it is determined that the chip is initialized;
当所述参数值为非初始化完成标识时,确定所述芯片没有完成初始化。When the parameter value is a non-initialization completion flag, it is determined that the chip has not completed initialization.
在一个实施例中,所述通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置包括:In one embodiment, the initial configuration of the corresponding chip entry in the chip through the initialization control component includes:
从多个所述芯片表项中确定待初始化的芯片表项作为目标芯片表项;Determining a chip entry to be initialized as a target chip entry from among the plurality of chip entries;
向所述目标芯片表项对应的表项初始化状态寄存器中写入非初始化完成标识;Writing the non-initialization completion flag into the entry initialization status register corresponding to the target chip entry;
通过所述目标芯片表项对应的初始化控制组件,对所述目标芯片表项进行初始化配置。The target chip entry is initialized and configured through the initialization control component corresponding to the target chip entry.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
查询所述目标芯片表项的初始化控制组件中的初始化寄存器的参数值;Querying the parameter value of the initialization register in the initialization control component of the target chip entry;
根据当前所述初始化状态寄存器的参数值判断所述目标芯片表项是否完成初始化。Judging whether the target chip entry has been initialized according to the current parameter value of the initialization status register.
一种芯片启动的初始化装置,所述芯片设置有表项初始化状态寄存器、以及与每个芯片表项对应的初始化控制组件;所述装置包括:An initialization device for chip startup, the chip is provided with an entry initialization status register and an initialization control component corresponding to each chip entry; the device includes:
初始化配置模块,用于当检测到芯片启动时,通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置;An initialization configuration module, configured to initialize and configure corresponding chip entries in the chip through the initialization control component when it is detected that the chip is started;
寄存器参数值查询模块,用于查询所述初始化状态寄存器的参数值;A register parameter value query module, configured to query the parameter value of the initialization status register;
芯片初始化确认模块,用于根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化。The chip initialization confirmation module is used to confirm whether the chip initialization is completed according to the parameter value of the initialization status register.
一种芯片,所述芯片包括一个或多个芯片表项、初始化状态寄存器、以及与每个芯片表项对应的初始化控制组件;所述初始化控制组件包括表项读写控制电路、表项初始化控制电路和表项初始化状态寄存器。A chip, the chip includes one or more chip entries, an initialization status register, and an initialization control component corresponding to each chip entry; the initialization control component includes a table entry read and write control circuit, a table entry initialization control Circuitry and table entries initialize the status register.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述实施例中芯片启动的初始化方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps of the chip startup initialization method in the foregoing embodiments are implemented.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述实施例中芯片启动的初始化方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the initialization method for chip startup in the foregoing embodiments are implemented.
上述芯片启动的初始化方法、装置、计算机设备和存储介质,通过在芯片内设置表项初始化状态寄存器、并针对芯片内的每个芯片表项设置对应的初始化控制组件,在芯片上电启动时,CPU控制可以同时控制每个芯片表项的初始化控制组件对芯片表项进行初始化配置,并且各个芯片表项的初始化配置可以并行进行,以此提高了芯片表项的初始化速度;进一步,CPU通过查询表项初始化状态寄存器的参数值来确定各个芯片表项的初始化配置是否都完成,从而判定芯片的初始化是否完成,提高了芯片的启动速度。并且,CPU还可以针对指定的一个或多个芯片表项进行初始化配置,进一步提高了芯片的启动速度,也可以定制化对芯片表项进行初始化配置。The initialization method, device, computer equipment, and storage medium for the above-mentioned chip startup, by setting the entry initialization status register in the chip, and setting the corresponding initialization control component for each chip entry in the chip, when the chip is powered on and started, The CPU control can simultaneously control the initialization control component of each chip entry to initialize the configuration of the chip entry, and the initialization configuration of each chip entry can be performed in parallel, thereby improving the initialization speed of the chip entry; further, the CPU queries the The parameter value of the table item initialization status register is used to determine whether the initialization configuration of each chip table item is completed, thereby judging whether the initialization of the chip is completed, and improving the startup speed of the chip. In addition, the CPU can also perform initial configuration for one or more designated chip table items, which further improves the startup speed of the chip, and can also customize the initial configuration of the chip table items.
附图说明Description of drawings
图1为一个实施例中芯片启动的初始化方法的应用场景图;Fig. 1 is an application scenario diagram of an initialization method for chip startup in an embodiment;
图2为另一个实施例中芯片启动的初始化方法的应用场景图;FIG. 2 is an application scene diagram of an initialization method for chip startup in another embodiment;
图3为一个实施例中芯片启动的初始化方法的流程示意图;FIG. 3 is a schematic flow diagram of an initialization method for chip startup in an embodiment;
图4为一个实施例中芯片启动的初始化装置的结构框图;Fig. 4 is a structural block diagram of an initialization device started by a chip in an embodiment;
图5为一个实施例中计算机设备的内部结构图。Figure 5 is an internal block diagram of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
在以太网交换芯片中,一般设置有大量的配置表项或转发业务表项,表项的数量巨大。在一个实施例中,如图1所示,示出了一个实施例中芯片启动的初始化方法应用场景图。从图中可以看出,该芯片启动的初始化系统包括中央处理器CPU102和芯片104。其中,CPU 102和芯片104通过CPU接口总线112连接。其中芯片104内设置有一个或多个芯片表项106、CPU接口电路108、以及与芯片表项对应的表项读写控制电路110。其中,芯片表项106如图中所示的业务逻辑表项0~业务逻辑表项n。In an Ethernet switch chip, there are generally a large number of configuration entries or forwarding service entries, and the number of entries is huge. In one embodiment, as shown in FIG. 1 , it shows an application scenario diagram of a chip startup initialization method in one embodiment. It can be seen from the figure that the initialization system started by the chip includes a central processing unit CPU102 and a
每个芯片表项对应设置有一个表项读写控制电路,各个表项读写控制电路与CPU接口电路连接。CPU通过表项读写控制电路对对应的芯片表项进行初始化配置,CPU对表项逐个进行初始化,而且各表项的初始过程是串行进行的,同时由于芯片需要初始化的表项及表项的容量比较大,所以初始过程需要较长的时间。在一些对芯片启动时间要求比较苛刻的场景下,现有的对芯片表项初始化的方法往往不能满足要求。Each chip table entry is correspondingly provided with a table entry read-write control circuit, and each table entry read-write control circuit is connected with the CPU interface circuit. The CPU initializes and configures the corresponding chip table items through the table item read and write control circuit. The CPU initializes the table items one by one, and the initial process of each table item is performed serially. The capacity is relatively large, so the initial process takes a long time. In some scenarios where the chip start-up time is relatively strict, the existing methods for initializing chip table entries often cannot meet the requirements.
在一个实施例中,本申请提供的芯片启动的初始化方法,可以应用于如图2所示的应用环境中。该芯片启动的初始化方法应用于芯片启动的初始化系统中,该系统包括中央处理器CPU 202和芯片204;其中芯片204内设置一个或多个芯片表项206、初始化状态寄存器208、初始化控制组件210、CPU接口电路212。其中,CPU 202和芯片204通过CPU接口总线214连接。其中,CPU202内还设置有芯片配置管理程序、初始化软件等。每个芯片表项206对应设置有初始化控制组件210,通过初始化控制组件210给对应的芯片表项206进行初始化配置。In one embodiment, the chip startup initialization method provided in this application can be applied to the application environment shown in FIG. 2 . The initialization method of this chip startup is applied in the initialization system of chip startup, and this system comprises central
初始化控制组件210包括表项读写控制电路2101、表项初始化控制电路2202和表项初始化状态寄存器2103。其中,对于每个芯片表项对应的初始化控制组件210,表项初始化控制电路2202分别与表项读写控制电路2101和表项初始化状态寄存器2103连接。The
每个芯片表项206对应的表项读写控制电路2101、以及表项初始化状态寄存器2103分别与CPU接口电路212连接。CPU接口电路212还与表项初始化状态寄存器208连接。The entry read-
每个芯片表项206对应的表项初始化状态寄存器2103与表项初始化状态寄存器208连接;且表项初始化状态寄存器208具有逻辑或的关系,即可以将每个表项初始化状态寄存器2103的参数值进行逻辑或操作得到计算结果,并将计算结果作为芯片的初始化状态标识存储在表项初始化状态寄存器208中。The entry
其中,表项初始化状态寄存器2103还包括芯片复位信号。当芯片上电启动时,此时CPU的初始化软件对初始化控制组件210发送初始化指令,指示初始化控制组件210对对应的芯片表项206进行初始化配置。在初始化控制组件210内部,当芯片204上电启动时,此时各个芯片表项206对应的表项初始化状态寄存器2103的芯片复位信号解复位后,表项初始化状态寄存器2103向对应的表项初始化控制电路2202发送初始化指令,以指示表项初始化状态寄存器2103所对应的芯片表项206的初始写操作。Wherein, the entry
CPU202和芯片204可以设置在终端或服务器内,终端可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The
在一个实施例中,在芯片中,采用了本方案的芯片启动初始化方法,可以支持硬件辅助自动初始化,减少了芯片启动过程中软件初始时间,确保芯片快速启动,满足苛刻的芯片启动时间要求。In one embodiment, the chip adopts the chip startup initialization method of this solution, which can support hardware-assisted automatic initialization, reduce the software initialization time in the chip startup process, ensure the chip startup quickly, and meet the strict chip startup time requirements.
在一个实施例中,如图3所示,提供了一种芯片启动的初始化方法,以该方法应用于图1中的CPU 202为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 3 , a chip startup initialization method is provided, and the method is applied to
步骤S302,当检测到芯片启动时,通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置。Step S302, when it is detected that the chip is started, perform initialization configuration on the corresponding chip entry in the chip through the initialization control component.
其中,初始化配置是指对芯片表项进行初始内容配置,比如初始化写操作,对芯片表项写入初始内容,初始内容比如0、1或特定序列中的一种。Wherein, the initialization configuration refers to performing initial content configuration on the chip entry, such as initializing a write operation, writing initial content to the chip entry, and the initial content is, for example, one of 0, 1 or a specific sequence.
芯片内包括一个或多个芯片表项,对应每个芯片表项设置有对应的初始化控制组件;其中初始化控制组件包括表项读写控制电路、表项初始化控制电路和表项初始化状态寄存器。表项初始化控制电路分别与表项读写控制电路和表项初始化状态寄存器连接;表项读写控制电路和表项初始化状态寄存器分别与CPU接口电路连接。The chip includes one or more chip entries, and each chip entry is provided with a corresponding initialization control component; wherein the initialization control component includes a table entry read and write control circuit, a table entry initialization control circuit and a table entry initialization status register. The table item initialization control circuit is respectively connected with the table item read-write control circuit and the table item initialization status register; the table item read-write control circuit and the table item initialization status register are respectively connected with the CPU interface circuit.
具体地,当芯片上电启动时,芯片内的芯片复位信号解复位后,CPU通过初始化控制组件对芯片中对应的芯片表项进行初始化配置。即CPU通过CPU接口总线向CPU接口电路发送初始化配置指令,CPU接口电路将初始化配置指令分发给各个芯片表项对应的初始化控制组件,已用于指示芯片内对应芯片表项的初始化控制组件对芯片表项进行初始化配置。Specifically, when the chip is powered on and started, after the chip reset signal in the chip is de-reset, the CPU initializes and configures the corresponding chip entry in the chip through the initialization control component. That is, the CPU sends initialization configuration instructions to the CPU interface circuit through the CPU interface bus, and the CPU interface circuit distributes the initialization configuration instructions to the initialization control components corresponding to each chip table item, which has been used to instruct the initialization control component of the corresponding chip table item in the chip to control the chip. The table items are initialized and configured.
在一个实施例中,所述初始化控制组件包括表项读写控制电路、表项初始化控制电路和表项初始化状态寄存器;所述通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置包括:通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作;当所述芯片表项的初始化写操作完成后,通过对应的所述表项初始化控制电路将所述表项初始化状态寄存器的参数值更新为初始化完成标识。In one embodiment, the initialization control component includes a table item read and write control circuit, a table item initialization control circuit, and a table item initialization status register; The initialization configuration includes: performing an initialization write operation on each corresponding chip entry through the initialization control component corresponding to each chip entry; when the initialization write operation of the chip entry is completed, through the corresponding The table item initialization control circuit updates the parameter value of the table item initialization status register with the initialization completion flag.
在一个实施例中,所述通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作包括:通过各个所述芯片表项对应的所述初始化控制组件的所述表项初始化状态寄存器,向对应组件内的所述表项初始化控制电路发送初始化指令;所述初始化指令用于指示所述表项初始化状态寄存器对应的芯片表项的初始化写操作;通过所述初始化控制电路接收所述初始化指令,控制对应组件内的所述表项读写控制电路向随机存取存储器发起初始化写操作。In one embodiment, the initializing and writing the corresponding chip table entries through the initialization control component corresponding to each of the chip table entries includes: using the initialization control component corresponding to each of the chip table entries The entry initialization status register of the component sends an initialization instruction to the entry initialization control circuit in the corresponding component; the initialization instruction is used to instruct the initialization write operation of the chip entry corresponding to the entry initialization status register; The initialization instruction is received by the initialization control circuit, and the entry read-write control circuit in the corresponding component is controlled to initiate an initialization write operation to the random access memory.
其中,随机存取存储器RAM在芯片上电解除复位后,RAM里面存储的内容是不确定值,也就是常说的X态,因此,在芯片启动后,才需要对芯片表项进行初始化配置。Among them, after the random access memory RAM is powered on and released from reset on the chip, the content stored in the RAM is an uncertain value, which is often referred to as the X state. Therefore, the chip entry needs to be initialized and configured after the chip is started.
当完成对应芯片表项的初始化写操作后,通过表项初始化控制电路将对应芯片表项、即属于同一初始化控制组件内的表项初始化状态寄存器的参数值更新为初始化完成标识。并通过表项初始化状态寄存器将自身存储的寄存器的参数值传输给初始化状态寄存器。其中,初始化完成标识用于指示芯片表项的初始化操作已经完成,比如可以用参数值0来标识,也可以用参数值1来标识。After the initialization write operation of the corresponding chip entry is completed, the parameter value of the corresponding chip entry, that is, the entry initialization status register belonging to the same initialization control component, is updated to the initialization completion flag through the entry initialization control circuit. And transmit the parameter value of the register stored by itself to the initialization status register through the table entry initialization status register. Wherein, the initialization completion flag is used to indicate that the initialization operation of the chip entry has been completed, for example, it may be marked by a parameter value of 0, or may be marked by a parameter value of 1.
当芯片内所有芯片表项的初始化写操作完成后,初始化状态寄存器将接收到各个表项初始化状态寄存器的参数值,将各个参数值进行逻辑或操作,得到计算值,并将得到的计算值存储在初始化状态寄存器中作为初始化状态标识,CPU通过查询初始化状态寄存器的参数值即可以确认所有芯片表项是否都完成初始化配置。When the initialization write operation of all chip table items in the chip is completed, the initialization status register will receive the parameter values of the initialization status registers of each table item, perform logical OR operation on each parameter value, obtain the calculated value, and store the obtained calculated value In the initialization status register as the initialization status identifier, the CPU can confirm whether all chip table items have completed the initialization configuration by querying the parameter values of the initialization status register.
步骤S304,查询所述初始化状态寄存器的参数值。Step S304, querying the parameter value of the initialization state register.
CPU查询初始化状态寄存器的参数值,根据参数值来确定各个芯片表项是否完成初始化写操作,从而确定芯片是否完成初始化。The CPU queries the parameter value of the initialization status register, and determines whether each chip table item has completed the initialization write operation according to the parameter value, thereby determining whether the chip has completed the initialization.
步骤S306,根据所述表项初始化状态寄存器的参数值确认所述芯片是否完成初始化。Step S306, confirming whether the initialization of the chip is completed according to the parameter value of the entry initialization status register.
在一个实施例中,所述方法还包括;通过每个所述芯片表项对应的表项初始化状态寄存器,传输更新后的参数值至所述初始化状态寄存器;将每个所述表项初始化状态寄存器的参数值进行逻辑或操作,得到初始化状态标识;将所述初始化状态寄存器的参数值更新为所述初始化状态标识。In one embodiment, the method further includes: transmitting the updated parameter value to the initialization status register through the entry initialization status register corresponding to each of the chip entries; The parameter value of the register is logically ORed to obtain the initialization status identifier; and the parameter value of the initialization status register is updated to the initialization status identifier.
其中,初始化状态标识包括初始化完成标识和非初始化完成标识。Wherein, the initialization status flag includes an initialization completion flag and a non-initialization completion flag.
在一个实施例中,所述根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化包括:当所述参数值为初始化完成标识时,确定所述芯片完成初始化;当所述参数值为非初始化完成标识时,确定所述芯片没有完成初始化。In one embodiment, the determining whether the chip is initialized according to the parameter value of the initialization state register includes: determining that the chip is initialized when the parameter value is an initialization completion flag; When the non-initialization completion flag is used, it is determined that the chip has not completed initialization.
在一个实施例中,所述通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置包括:从多个所述芯片表项中确定待初始化的芯片表项作为目标芯片表项;向所述目标芯片表项对应的表项初始化状态寄存器中写入非初始化完成标识;通过所述目标芯片表项对应的初始化控制组件,对所述目标芯片表项进行初始化配置。CPU不仅可以对所有芯片表项进行初始化配置,还可以对指定的芯片表项进行初始化配置。具体地,CPU从多个芯片表项中确定待初始化的目标芯片表项,然后向目标芯片表项的表项初始化状态寄存器中写入非初始化完成标识,以此来指示对目标芯片表项进行初始化配置。其中,目标芯片表项可以是一个或多个,目标芯片表项的初始化配置可以是并行处理,也可以按序进行。进而,通过目标芯片表项对应的初始化控制组件对目标芯片表项进行初始化配置。其中,目标芯片表项的初始配置步骤与上述实施例中描述的一般芯片表项的初始化配置的步骤一样,在此不再重复描述。In one embodiment, the initializing and configuring the corresponding chip entry in the chip through the initialization control component includes: determining the chip entry to be initialized as the target chip entry from a plurality of the chip entries ; Writing a non-initialization completion flag into the entry initialization status register corresponding to the target chip entry; performing initialization configuration on the target chip entry through the initialization control component corresponding to the target chip entry. The CPU can not only perform initial configuration on all chip table entries, but also perform initial configuration on specified chip table entries. Specifically, the CPU determines the target chip entry to be initialized from multiple chip entries, and then writes the non-initialization completion flag into the table entry initialization status register of the target chip entry to indicate that the target chip entry is initialized. Initialize configuration. There may be one or more target chip entries, and the initial configuration of the target chip entries may be processed in parallel or sequentially. Furthermore, an initialization control component corresponding to the target chip entry is used to initialize the configuration of the target chip entry. Wherein, the initial configuration steps of the target chip entry are the same as the initial configuration steps of the general chip entry described in the above embodiments, and will not be described again here.
在一个实施例中,当目标芯片的初始化配置完成后,所述方法还包括:CPU查询所述目标芯片表项的初始化控制组件中的初始化寄存器的参数值;根据当前所述初始化寄存器的参数值判断该芯片表项是否完成初始化。如果目标芯片的当前的初始化状态寄存器的参数值为初始化完成标识,则表明目标芯片表项完成初始化配置;如果目标芯片的当前的初始化状态寄存器的参数值为非初始化完成标识,则表明目标芯片表项没有完成初始化配置。In one embodiment, after the initialization configuration of the target chip is completed, the method further includes: the CPU queries the parameter value of the initialization register in the initialization control component of the target chip entry; according to the current parameter value of the initialization register Determine whether the chip entry has been initialized. If the parameter value of the current initialization status register of the target chip is an initialization completion flag, it indicates that the target chip entry has completed initialization configuration; if the parameter value of the current initialization status register of the target chip is a non-initialization completion flag, it indicates that the target chip table entry Item did not complete initial configuration.
上述芯片启动的初始化方法中,通过在芯片内设置表项初始化状态寄存器、并针对芯片内的每个芯片表项设置对应的初始化控制组件,在芯片上电启动时,CPU控制可以同时控制每个芯片表项的初始化控制组件对芯片表项进行初始化配置,并且各个芯片表项的初始化配置可以并行进行,以此提高了芯片表项的初始化速度;进一步,CPU通过查询表项初始化状态寄存器的参数值来确定各个芯片表项的初始化配置是否都完成,从而判定芯片的初始化是否完成,降低了芯片的启动时间。并且,CPU还可以针对指定的一个或多个芯片表项进行初始化配置,进一步提高了芯片的启动速度。In the above initialization method for chip startup, by setting the entry initialization status register in the chip and setting the corresponding initialization control component for each chip entry in the chip, when the chip is powered on and started, the CPU control can simultaneously control each The initialization control component of the chip table item initializes the configuration of the chip table item, and the initialization configuration of each chip table item can be performed in parallel, thereby improving the initialization speed of the chip table item; further, the CPU initializes the parameters of the status register by querying the table item value to determine whether the initialization configuration of each chip entry is completed, thereby determining whether the initialization of the chip is completed, and reducing the startup time of the chip. Moreover, the CPU can also perform initial configuration for one or more designated chip table items, which further improves the startup speed of the chip.
应该理解的是,虽然图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart of FIG. 3 are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIG. 3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution of these sub-steps or stages The order is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在一个实施例中,如图4所示,提供了一种芯片启动的初始化装置400,包括:初始化配置模块402、寄存器参数值查询模块404和芯片初始化确认模块406,其中:In one embodiment, as shown in FIG. 4 , a chip startup initialization device 400 is provided, including: an
初始化配置模块402,用于当检测到芯片启动时,通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置。The
寄存器参数值查询模块404,用于查询所述初始化状态寄存器的参数值。The register parameter
芯片初始化确认模块406,用于根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化。The chip
在一个实施例中,初始化配置模块还用于通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作;当所述芯片表项的初始化写操作完成后,通过对应的所述表项初始化控制电路将所述表项初始化状态寄存器的参数值更新为初始化完成标识。In one embodiment, the initialization configuration module is further configured to perform an initialization write operation on each corresponding chip entry through the initialization control component corresponding to each chip entry; when the initialization write operation of the chip entry After completion, the parameter value of the entry initialization state register is updated to an initialization completion flag through the corresponding entry initialization control circuit.
在一个实施例中,初始化配置模块还用于通过各个所述芯片表项对应的所述初始化控制组件的所述表项初始化状态寄存器,向对应组件内的所述表项初始化控制电路发送初始化指令;所述初始化指令用于指示所述表项初始化状态寄存器对应的芯片表项的初始化写操作;通过所述初始化控制电路接收所述初始化指令,控制对应组件内的所述表项读写控制电路向随机存取存储器发起初始化写操作。In one embodiment, the initialization configuration module is further configured to send an initialization instruction to the entry initialization control circuit in the corresponding component through the entry initialization status register of the initialization control component corresponding to each chip entry The initialization instruction is used to indicate the initialization write operation of the chip entry corresponding to the entry initialization status register; the initialization instruction is received by the initialization control circuit, and the entry reading and writing control circuit in the corresponding component is controlled Initiate an initial write operation to the random access memory.
在一个实施例中,所述装置还包括初始化状态寄存器模块,用于通过每个所述芯片表项对应的表项初始化状态寄存器传输更新后的参数值至所述表初始化状态寄存器;将每个所述表项初始化状态寄存器的参数值进行逻辑或操作,得到初始化状态标识;将所述初始化状态寄存器的参数值更新为所述初始化状态标识。In one embodiment, the device further includes an initialization status register module, configured to transmit updated parameter values to the table initialization status register through the table item initialization status register corresponding to each of the chip table entries; The parameter value of the initialization state register of the table item is logically ORed to obtain the initialization state identification; and the parameter value of the initialization state register is updated to the initialization state identification.
在一个实施例中,芯片初始化确认模块还用于当所述参数值为初始化完成标识时,确定所述芯片完成初始化;当所述参数值为非初始化完成标识时,确定所述芯片没有完成初始化。In one embodiment, the chip initialization confirming module is also used to determine that the chip has completed initialization when the parameter value is an initialization complete flag; when the parameter value is a non-initialization complete flag, determine that the chip has not completed initialization .
在一个实施例中,初始化配置模块还用于从多个所述芯片表项中确定待初始化的芯片表项作为目标芯片表项;向所述目标芯片表项对应的表项初始化状态寄存器中写入非初始化完成标识;通过所述目标芯片表项对应的初始化控制组件,对所述目标芯片表项进行初始化配置。In one embodiment, the initialization configuration module is further configured to determine the chip entry to be initialized as the target chip entry from among the plurality of chip entries; write to the entry initialization status register corresponding to the target chip entry Entering a non-initialization completion flag; performing initialization configuration on the target chip entry through the initialization control component corresponding to the target chip entry.
在一个实施例中,初始化配置模块还用于查询所述目标芯片表项的初始化控制组件中的初始化寄存器的参数值;根据当前所述初始化状态寄存器的参数值判断所述目标芯片表项是否完成初始化。In one embodiment, the initialization configuration module is also used to query the parameter value of the initialization register in the initialization control component of the target chip entry; judge whether the target chip entry is completed according to the parameter value of the current initialization status register initialization.
上述芯片启动的初始化装置中,通过在芯片内设置表项初始化状态寄存器、并针对芯片内的每个芯片表项设置对应的初始化控制组件,在芯片上电启动时,CPU控制可以同时控制每个芯片表项的初始化控制组件对芯片表项进行初始化配置,并且各个芯片表项的初始化配置可以并行进行,以此提高了芯片表项的初始化速度;进一步,CPU通过查询表项初始化状态寄存器的参数值来确定各个芯片表项的初始化配置是否都完成,从而判定芯片的初始化是否完成,降低了芯片的启动时间。并且,CPU还可以针对指定的一个或多个芯片表项进行初始化配置,进一步提高了芯片的启动速度。In the above initialization device for chip startup, by setting the entry initialization status register in the chip and setting the corresponding initialization control component for each chip entry in the chip, when the chip is powered on and started, the CPU control can simultaneously control each The initialization control component of the chip table item initializes the configuration of the chip table item, and the initialization configuration of each chip table item can be performed in parallel, thereby improving the initialization speed of the chip table item; further, the CPU initializes the parameters of the status register by querying the table item value to determine whether the initialization configuration of each chip entry is completed, thereby determining whether the initialization of the chip is completed, and reducing the startup time of the chip. Moreover, the CPU can also perform initial configuration for one or more designated chip table items, which further improves the startup speed of the chip.
关于芯片启动的初始化装置的具体限定可以参见上文中对于芯片启动的初始化方法的限定,在此不再赘述。上述芯片启动的初始化装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitations of the initialization device for chip startup, please refer to the above-mentioned definition for the initialization method for chip startup, which will not be repeated here. Each module in the above chip-started initialization device can be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,终端内可以设置有芯片,该芯片的结构可以设置为本方案中提供的。终端内部结构图可以如图5所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种芯片启动的初始化方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and a chip may be arranged in the terminal, and the structure of the chip may be set as provided in this solution. The internal structure diagram of the terminal may be shown in FIG. 5 . The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a chip startup initialization method is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad or mouse.
本领域技术人员可以理解,图5中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 5 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:当检测到芯片启动时,通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置;查询所述初始化状态寄存器的参数值;根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: when it is detected that the chip starts, through the initialization control component Performing initialization configuration on the corresponding chip entry in the chip; querying the parameter value of the initialization status register; confirming whether the initialization of the chip is completed according to the parameter value of the initialization status register.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作;当所述芯片表项的初始化写操作完成后,通过对应的所述表项初始化控制电路将所述表项初始化状态寄存器的参数值更新为初始化完成标识。In one embodiment, when the processor executes the computer program, the following steps are further implemented: performing an initialization write operation on each of the corresponding chip table entries through the initialization control component corresponding to each of the chip table entries; when the chip table entry After the initialization write operation of the entry is completed, the parameter value of the entry initialization state register is updated to an initialization completion flag through the corresponding entry initialization control circuit.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过各个所述芯片表项对应的所述初始化控制组件的所述表项初始化状态寄存器,向对应组件内的所述表项初始化控制电路发送初始化指令;所述初始化指令用于指示所述表项初始化状态寄存器对应的芯片表项的初始化写操作;通过所述初始化控制电路接收所述初始化指令,控制对应组件内的所述表项读写控制电路向随机存取存储器发起初始化写操作。In one embodiment, when the processor executes the computer program, the following steps are also implemented: through the entry initialization status register of the initialization control component corresponding to each chip entry, initialize the entry in the corresponding component The control circuit sends an initialization instruction; the initialization instruction is used to indicate the initialization write operation of the chip entry corresponding to the entry initialization status register; the initialization instruction is received by the initialization control circuit, and the table in the corresponding component is controlled The item read-write control circuit initiates an initial write operation to the random access memory.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过每个所述芯片表项对应的表项初始化状态寄存器传输更新后的参数值至所述表初始化状态寄存器;将每个所述表项初始化状态寄存器的参数值进行逻辑或操作,得到初始化状态标识;将所述初始化状态寄存器的参数值更新为所述初始化状态标识。In one embodiment, when the processor executes the computer program, the following steps are further implemented: transmitting the updated parameter value to the table initialization status register through the entry initialization status register corresponding to each chip entry; Perform a logical OR operation on the parameter value of the initialization status register of the table item to obtain the initialization status identification; update the parameter value of the initialization status register to the initialization status identification.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当所述参数值为初始化完成标识时,确定所述芯片完成初始化;当所述参数值为非初始化完成标识时,确定所述芯片没有完成初始化。In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the parameter value is an initialization completion flag, determine that the chip is initialized; when the parameter value is a non-initialization completion flag, determine that the The chip has not completed initialization.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:从多个所述芯片表项中确定待初始化的芯片表项作为目标芯片表项;向所述目标芯片表项对应的表项初始化状态寄存器中写入非初始化完成标识;通过所述目标芯片表项对应的初始化控制组件,对所述目标芯片表项进行初始化配置。In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the chip entry to be initialized as the target chip entry from the multiple chip entries; Writing a non-initialization completion flag into the initialization status register; performing initialization configuration on the target chip entry through the initialization control component corresponding to the target chip entry.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:查询所述目标芯片表项的初始化控制组件中的初始化寄存器的参数值;根据当前所述初始化状态寄存器的参数值判断所述目标芯片表项是否完成初始化。In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying the parameter value of the initialization register in the initialization control component of the target chip entry; judging the target according to the parameter value of the current initialization status register Whether the chip table entry has been initialized.
在一个实施例中,在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:当检测到芯片启动时,通过所述初始化控制组件对所述芯片中对应的芯片表项进行初始化配置;查询所述初始化状态寄存器的参数值;根据所述初始化状态寄存器的参数值确认所述芯片是否完成初始化。In one embodiment, in one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: when it is detected that the chip starts, through the The initialization control component performs initialization configuration on the corresponding chip entry in the chip; queries the parameter value of the initialization status register; and confirms whether the chip is initialized according to the parameter value of the initialization status register.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过各个所述芯片表项对应的所述初始化控制组件对各自对应的所述芯片表项进行初始化写操作;当所述芯片表项的初始化写操作完成后,通过对应的所述表项初始化控制电路将所述表项初始化状态寄存器的参数值更新为初始化完成标识。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: performing an initialization write operation on each of the corresponding chip table entries through the initialization control component corresponding to each of the chip table entries; when the chip After the initialization write operation of the entry is completed, the parameter value of the entry initialization state register is updated to an initialization completion flag through the corresponding entry initialization control circuit.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过各个所述芯片表项对应的所述初始化控制组件的所述表项初始化状态寄存器,向对应组件内的所述表项初始化控制电路发送初始化指令;所述初始化指令用于指示所述表项初始化状态寄存器对应的芯片表项的初始化写操作;通过所述初始化控制电路接收所述初始化指令,控制对应组件内的所述表项读写控制电路向随机存取存储器发起初始化写操作。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: initializing the status register through the entry of the initialization control component corresponding to each of the chip entries, and sending The initialization control circuit sends an initialization instruction; the initialization instruction is used to indicate the initialization write operation of the chip entry corresponding to the entry initialization status register; the initialization instruction is received by the initialization control circuit, and the corresponding component is controlled. The entry read/write control circuit initiates an initial write operation to the random access memory.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过每个所述芯片表项对应的表项初始化状态寄存器传输更新后的参数值至所述表初始化状态寄存器;将每个所述表项初始化状态寄存器的参数值进行逻辑或操作,得到初始化状态标识;将所述初始化状态寄存器的参数值更新为所述初始化状态标识。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: transmitting the updated parameter value to the table initialization status register through the table item initialization status register corresponding to each chip table entry; The parameter value of the initialization state register of the table item is logically ORed to obtain the initialization state identification; and the parameter value of the initialization state register is updated to the initialization state identification.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当所述参数值为初始化完成标识时,确定所述芯片完成初始化;当所述参数值为非初始化完成标识时,确定所述芯片没有完成初始化。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the parameter value is an initialization completion flag, determine that the chip is initialized; when the parameter value is a non-initialization completion flag, determine that the The above chip has not completed initialization.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:从多个所述芯片表项中确定待初始化的芯片表项作为目标芯片表项;向所述目标芯片表项对应的表项初始化状态寄存器中写入非初始化完成标识;通过所述目标芯片表项对应的初始化控制组件,对所述目标芯片表项进行初始化配置。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the chip entry to be initialized from the multiple chip entries as the target chip entry; Writing a non-initialization completion flag into the item initialization status register; performing initialization configuration on the target chip entry through the initialization control component corresponding to the target chip entry.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:查询所述目标芯片表项的初始化控制组件中的初始化寄存器的参数值;根据当前所述初始化状态寄存器的参数值判断所述目标芯片表项是否完成初始化。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying the parameter value of the initialization register in the initialization control component of the target chip entry; judging the Whether the target chip entry has been initialized.
上述芯片启动的初始化计算机设备和存储介质中,通过在芯片内设置表项初始化状态寄存器、并针对芯片内的每个芯片表项设置对应的初始化控制组件,在芯片上电启动时,CPU控制可以同时控制每个芯片表项的初始化控制组件对芯片表项进行初始化配置,并且各个芯片表项的初始化配置可以并行进行,以此提高了芯片表项的初始化速度;进一步,CPU通过查询表项初始化状态寄存器的参数值来确定各个芯片表项的初始化配置是否都完成,从而判定芯片的初始化是否完成,降低了芯片的启动时间。并且,CPU还可以针对指定的一个或多个芯片表项进行初始化配置,进一步提高了芯片的启动速度。In the initialization computer equipment and storage medium started by the chip above, by setting the entry initialization status register in the chip and setting the corresponding initialization control component for each chip entry in the chip, when the chip is powered on and started, the CPU control can be At the same time, the initialization control component that controls each chip table item initializes the chip table item, and the initialization configuration of each chip table item can be performed in parallel, thereby improving the initialization speed of the chip table item; further, the CPU initializes by querying the table item The parameter value of the status register is used to determine whether the initialization configuration of each chip table item is completed, thereby determining whether the initialization of the chip is completed, and reducing the startup time of the chip. Moreover, the CPU can also perform initial configuration for one or more designated chip table items, which further improves the startup speed of the chip.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211426262.5A CN115858024A (en) | 2022-11-14 | 2022-11-14 | Chip starting initialization method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211426262.5A CN115858024A (en) | 2022-11-14 | 2022-11-14 | Chip starting initialization method and device, computer equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115858024A true CN115858024A (en) | 2023-03-28 |
Family
ID=85663507
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211426262.5A Pending CN115858024A (en) | 2022-11-14 | 2022-11-14 | Chip starting initialization method and device, computer equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115858024A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116577550A (en) * | 2023-06-06 | 2023-08-11 | 珠海格力电器股份有限公司 | High-precision voltage acquisition method and device, and voltage acquisition system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102265256A (en) * | 2011-06-03 | 2011-11-30 | 华为技术有限公司 | An upgrade control method and a chip of a communication equipment and the communication equipment |
| CN114968130A (en) * | 2022-08-01 | 2022-08-30 | 深圳云豹智能有限公司 | Chain table initialization device, method, system, computer equipment and storage medium |
| CN114995911A (en) * | 2022-06-01 | 2022-09-02 | 北京东土军悦科技有限公司 | Starting method of network equipment and network equipment |
-
2022
- 2022-11-14 CN CN202211426262.5A patent/CN115858024A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102265256A (en) * | 2011-06-03 | 2011-11-30 | 华为技术有限公司 | An upgrade control method and a chip of a communication equipment and the communication equipment |
| CN114995911A (en) * | 2022-06-01 | 2022-09-02 | 北京东土军悦科技有限公司 | Starting method of network equipment and network equipment |
| CN114968130A (en) * | 2022-08-01 | 2022-08-30 | 深圳云豹智能有限公司 | Chain table initialization device, method, system, computer equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116577550A (en) * | 2023-06-06 | 2023-08-11 | 珠海格力电器股份有限公司 | High-precision voltage acquisition method and device, and voltage acquisition system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103412769B (en) | External card parameter configuration, equipment and system | |
| CN109240754B (en) | Logic device, method and system for configuring BIOS starting item | |
| CN105144074A (en) | Block storage using a hybrid memory device | |
| CN114531477B (en) | Method and device for configuring functional components, computer equipment and storage medium | |
| CN107958365B (en) | Material information changing method and device, storage medium and electronic equipment | |
| CN115454329B (en) | Management method, device, equipment and storage medium for storage cluster equipment | |
| CN113934445A (en) | Equipment firmware upgrading system, method and device, computer equipment and storage medium | |
| CN110515634A (en) | Method, computer system and medium for updating firmware through remote tool program | |
| CN117687703B (en) | Server startup method, device, system, storage medium and electronic device | |
| CN115858024A (en) | Chip starting initialization method and device, computer equipment and storage medium | |
| CN113835762A (en) | Method and system for updating default configuration of hard disk backplane | |
| CN115454512B (en) | A chip driver loading configuration method, apparatus, device, and storage medium | |
| TW200424934A (en) | Device information management system of application device and method thereof | |
| CN112860595B (en) | PCI (peripheral component interconnect express) equipment or PCIE (peripheral component interconnect express) equipment, data access method and related assembly | |
| CN113849195A (en) | Application loading method, device, storage medium and terminal | |
| CN113254888A (en) | Method for acquiring hardware information, authorization control system and computing equipment | |
| CN114564241B (en) | Method and device for accessing hardware device, computer device and storage medium | |
| CN119536764A (en) | Firmware update method, system, device, computer equipment, readable storage medium and program product | |
| CN114756291B (en) | A kind of hardware adaptive method and device | |
| CN111953753B (en) | Communication device connection method, device, computer device and storage medium | |
| CN117370079A (en) | Data recovery method, apparatus, device, storage medium and computer program product | |
| CN112632080B (en) | Data storage method, device and equipment based on block chain | |
| CN116089072A (en) | Method and device for adjusting business application, computer equipment and storage medium | |
| CN115509618A (en) | Drive control method, device, apparatus, storage medium, and program product | |
| CN114564148A (en) | Method, device, equipment and storage medium for writing data to source volume in snapshot process |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |