Compile start
You can see the release_ to_ customer.sh Three parameters (- f, - p, - q, - o) 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:" opt; do
case $opt in
f)
flashtype=$OPTARG
;;
p)
project=$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 2D06
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 5.
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 configuring the kernel, the content of the modified kernel will be overwritten by Script(Release_to_customer.sh) Compilation, so you need to copy its configuration every time you modify the kernel.
cp .config ./arch/arm/configs/infinity2m_spinand_ssc011a_s01a_minigui_double_net_defconfig -f