The invention relates to the technical field of
chip development, and discloses a
transplanting method and device of a swan gap
system, a storage medium and
computer equipment, and the method comprises the steps: constructing a swan gap
system to be transplanted based on a target
chip, obtaining a corresponding
source code, and then configuring a compiling configuration file in the
source code, the compiling subsystem is used for establishing a compiling environment based on configuration information in the compiling configuration file, performing
transplantation adaptation on a kernel layer in the compiling environment to generate a kernel
mirror image, configuring the starting
recovery subsystem, generating a root
file system mirror image based on the
file system configuration file, and starting the starting
recovery subsystem. And finally burning the kernel
mirror image and the root
file system mirror image to a target
chip, and performing function
verification and test on the target chip. According to the method disclosed by the present invention, the swan-gap
system transplantation including kernel layer
transplantation, subsystem
adaptation and root file system customization is designed and realized, so that the swan-gap system is successfully adapted to the target chip, and the accelerator equipment carrying the target chip can stably and reliably operate.