Start build

You can see the release_ to_ customer.sh Three parameters (- f, - p, - q) need to be passed during script execution;
-f : Represents the type of flash, optional nor、nand;
-p: Represents the chip model, optional ssd201、ssd202;
-q: Represents quick start mode, You can choose fastboot or empty

-o: Select the development board model:

2D06:IDO-SBC2D06
2D07:IDO-SBC2D70


while getopts "f:p:q:o:" opt; do
  case $opt in
    f)
      flashtype=$OPTARG
      ;;
    p)
      chip=$OPTARG
      ;;
    q)
      fastboot=$OPTARG
      ;;
    o)
      project=$OPTARG
      ;;
    \?)
      echo "Invalid option: -$OPTARG" >&2
      ;;
  esac
done

Take NAND + SSD201 as an example:

./Release_to_customer.sh -f nand -p ssd201 -o 2D07

Once compiled, system images will be generated in the images directory, and then we can burn them to the chip using the steps in Chapter 3.

After compiling once, if you don’t change the chip model, You can shutdown “make clean” of uboot and kernel in release_ to_ customer.sh.

After a successful compilation, you can modify the compilation script according to your own situation. Otherwise, each compilation will override the modified configuration, resulting in your own configuration failure.
Take spinand mode kernel configuration as an example, Release_ to_ customer.sh The script is modified as follows: (both mode 1 and mode 2 are feasible)

文档更新时间: 2021-10-19 18:36   作者:Aeeditor