Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1:development:android:build-android

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim1:development:android:build-android [2022/09/01 23:35]
frank
products:sbc:vim1:development:android:build-android [2023/07/31 02:33] (current)
goenjoy
Line 1: Line 1:
-{{indexmenu_n>3}}+ 
 +{{indexmenu_n>15}}
  
 ====== VIM1 Build Android ====== ====== VIM1 Build Android ======
Line 22: Line 23:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ cd uboot $ cd uboot
-$ make CROSS_COMPILE=aarch64-linux-gnu- kvim2_defconfig+$ make CROSS_COMPILE=aarch64-linux-gnu- kvim_defconfig
 $ make CROSS_COMPILE=aarch64-linux-gnu- $ make CROSS_COMPILE=aarch64-linux-gnu-
 ``` ```
Line 28: Line 29:
 Gernerate images in this step: Gernerate images in this step:
  
-  * ''fip/u-boot.bin'': for onboard EMMC storage booting. +  * ''fip/u-boot.bin'': for onboard eMMC storage booting 
-  * ''fip/u-boot.bin.sd.bin'': for external TF card booting.+  * ''fip/u-boot.bin.sd.bin'': for external TF card booting
  
 <tabbox Android 9.0> <tabbox Android 9.0>
Line 36: Line 37:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ cd bootloader/uboot $ cd bootloader/uboot
-$ ./mk kvim2+$ ./mk kvim
 ``` ```
  
 Gernerate images in this step: Gernerate images in this step:
  
-  * ''build/u-boot.bin'': for onboard EMMC storage booting. +  * ''build/u-boot.bin'': for onboard eMMC storage booting 
-  * ''build/u-boot.bin.sd.bin'': for external TF card booting.+  * ''build/u-boot.bin.sd.bin'': for external TF card booting
  
 </tabbox> </tabbox>
Line 54: Line 55:
 ``` ```
  
-Gernerate images: ''out/target/product/kvim2/update.img''.+Gernerate images: ''out/target/product/kvim/update.img''.
  
 <WRAP info > <WRAP info >
   * Replace ''N'' as the number you want when you run ''make -jN''.   * Replace ''N'' as the number you want when you run ''make -jN''.
   * Replace ''TARGET_LUNCH'' to your lunch select.   * Replace ''TARGET_LUNCH'' to your lunch select.
-    * For Android Nougat(7.1), it’s ''kvim2-userdebug-64''+    * For Android Nougat(7.1), it’s ''kvim-userdebug-64''
-    * For Android Pie(9.0), it’s ''kvim2-userdebug''.+    * For Android Pie(9.0), it’s ''kvim-userdebug''.
 </WRAP> </WRAP>
  
Line 72: Line 73:
  
 ```shell ```shell
-$ source device/khadas/kvim2/mkern.sh+$ source device/khadas/kvim/mkern.sh
  
 ``` ```
Line 88: Line 89:
 ===== See Also ===== ===== See Also =====
  
-  * [[/products/sbc/vim1/install-os/install-os-into-emmc-via-usb-tool|Install OS Into eMMC via USB Tool]]. +  * [[/products/sbc/vim1/install-os/install-os-into-emmc-via-usb-tool|]] 
-  * [[/products/sbc/vim1/install-os/install-os-into-external-storage|Install OS into External Storage]].+  * [[/products/sbc/vim1/install-os/install-os-into-external-storage|]]
Last modified: 2022/09/01 23:35 by frank