The invention provides a dual-storage
system starting method and device. An architecture in which a master control
chip SOC works cooperatively with an external memory DDR, a nonvolatile memory SPI NOR and an SD card is adopted. After the SOC is powered on, a BootROM guide code is executed, a
system is initialized, ID Blocks containing a DDR initialization program and an SPL secondary loading program are sequentially obtained and verified from multiple storage media, the DDR initialization program is loaded, DDR is initialized, and the SPL secondary loading program is loaded to the DDR to run. The method comprises the following steps of: firstly, loading an SD (Secure Digital) card, then loading U-Boot
firmware, completing initialization of residual hardware and security mirror
verification, then detecting and verifying a kernel mirror format and Header information in the SD card, then loading a
Linux kernel, an equipment tree and a ramdisk, mounting rootfs to an RAM (
Random Access Memory) space, and mounting the SD card as a user data storage space. According to the method, high reliability of
system guiding is ensured through the SPI NOR, large-capacity storage and flexible upgrading are achieved through the SD card, and the comprehensive performance of the
embedded system in the aspects of reliability, storage expansibility and
cost effectiveness is remarkably improved.