2. Compile Source

❶ Unzip Source

1tar xvf IdeaT527-android13*.tar.bz2
2cd IdeaT527-android13

❷ Configure

1./build.sh config

Note

All available board option selection (display interface differences).

These options differ only in the default display output interface/combination. Select according to the panels actually connected:

  • 0. Boardcon: LVDS0 + LVDS2 enabled by default (dual single-channel LVDS displays)

  • 1. boardcon_lvds0: LVDS0 + HDMI enabled by default

  • 2. boardcon_mipi0: MIPI0 (DSI0) + HDMI enabled by default

Serial terminal output and options
========ACTION List: mk_config ;========
options :
All available platform:
   0. android
   1. linux
Choice [android]: 0
All available ic:
   0. a523
   1. a527
   2. a733
   3. t527
   4. t736
Choice [t527]: 3
All available board:
   0. boardcon
   1. boardcon_lvds0
   2. boardcon_mipi0
   3. demo
   4. demo_battery
   5. demo_car
   6. demo_fastboot
   7. demo_kylo
Choice [boardcon]: 0
All available flash:
   0. default
   1. nor
Choice [default]: 0
Setup BSP files

❸ Compile U-Boot and Kernel

1./build.sh

❹ Compile Android and Pack

The SDK provides different lunch targets corresponding to the All available board options (0/1/2). Select the option that matches the connected panels, then compile and pack.

All available board option

Lunch target

  1. Boardcon

lunch t527_boardcon_arm64-userdebug

  1. boardcon_lvds0

lunch t527_boardcon_lvds0_arm64-userdebug

  1. boardcon_mipi0

lunch t527_boardcon_mipi0_arm64-userdebug

Run the following commands:

  • Option 0. Boardcon

    1cd ../
    2source build/envsetup.sh
    3lunch t527_boardcon_arm64-userdebug
    4make -j8
    5pack
    
  • Option 1. boardcon_lvds0

    1cd ../
    2source build/envsetup.sh
    3lunch t527_boardcon_lvds0_arm64-userdebug
    4make -j8
    5pack
    
  • Option 2. boardcon_mipi0

    1cd ../
    2source build/envsetup.sh
    3lunch t527_boardcon_mipi0_arm64-userdebug
    4make -j8
    5pack
    

After compiling all, the image will be generated in directory IdeaT527-android13/longan/out/