Start build

You can see the release_ to_ 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

while getopts "f:p:q:" opt; do
  case $opt in
      echo "Invalid option: -$OPTARG" >&2

Take NAND + SSD201 as an example:

./ -f nand -p ssd201

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_

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_ The script is modified as follows: (both mode 1 and mode 2 are feasible)

文档更新时间: 2021-03-22 19:13   作者:Aeeditor