The invention relates to a PON (
Passive Optical Network) hardware single-board service form configuration method and
system. Configuration parameters corresponding to PON hardware single-board serviceforms are packaged into a configuration file by adopting a binary form, and the configuration file is burnt into a
flash memory of a single board. In a U-Boot stage, the configuration file is calledand parsed so as to replace hardware VID (
Voltage Identification) and implement distinguishing on the service forms. According to the
system provided by the invention,
software versions and the configuration file are separated from each other. When configuration is updated, the
software versions do not need to be recompiled, and multiple versions only require one configuration file in the binary form. Therefore, by adopting the PON hardware single-board service form configuration method and
system which are disclosed by the invention, the
workload of expanding the service forms can be simplified, different service forms can be rapidly and efficiently identified and loaded, and the
software version maintenance difficulty is reduced.