We're no longer updating This wiki!!

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
Next revision Both sides next revision
en:xu3_building_android [2017/02/24 11:42]
odroid [How to make release image]
en:xu3_building_android [2017/02/24 14:55]
codewalker [How to make release image]
Line 563: Line 563:
 Make a directory. Make a directory.
 <​code>​ <​code>​
-$ mkdir emmc sd sd2emmc +$ mkdir emmc 
-$ sudo /​media/​[username]/​fat32+$ cd emmc 
 +</​code>​ 
 + 
 +Make boot.ini file 
 +<​file>​ 
 +#​------------------------------------------------------------------------------------------------------ 
 +
 +# EMMC to EMMC Recovery boot.ini text file 
 +
 +#​------------------------------------------------------------------------------------------------------ 
 +ODROIDXU-UBOOT-CONFIG 
 +#​------------------------------------------------------------------------------------------------------ 
 +# BL1 write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 bl1.bin 
 +emmc open 0 
 +movi w z f 0 40008000 
 +emmc close 0 
 +#​------------------------------------------------------------------------------------------------------ 
 +# BL2 write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 bl2.bin 
 +emmc open 0 
 +movi w z b 0 40008000 
 +emmc close 0 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Bootloader write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 u-boot.bin 
 +emmc open 0 
 +movi w z u 0 40008000 
 +emmc close 0 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Turst Zone Soft Ware write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 tzsw.bin 
 +emmc open 0 
 +movi w z t 0 40008000 
 +emmc close 0 
 +#​------------------------------------------------------------------------------------------------------ 
 +# UBOOT ENV Erase 
 +#​------------------------------------------------------------------------------------------------------ 
 +mmc write 0 40008000 0x4CF 0x20 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Kernel Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 zImage-dtb 
 +movi write kernel 0 40008000 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# System Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40000000 system.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Userdata Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 57000000 userdata.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Cache Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 61000000 cache.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Partition Create to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fdisk -c 0 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +fastboot flash system 40000000 0 
 +fastboot flash userdata 57000000 0 
 +fastboot flash cache 61000000 0 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# SD/eMMC FAT Format 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatformat mmc 0:1 
 + 
 +reset 
 +</​file>​ 
 + 
 +<​code>​ 
 +$ mkdir sd 
 +$ cd sd 
 +</​code>​ 
 + 
 +Make boot.ini file 
 +<​file>​ 
 +#​------------------------------------------------------------------------------------------------------ 
 +
 +# SD to SD Recovery boot.ini text file 
 +
 +#​------------------------------------------------------------------------------------------------------ 
 +ODROIDXU-UBOOT-CONFIG 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# BL1 write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 bl1.bin 
 +movi w f 0 40008000 
 +#​------------------------------------------------------------------------------------------------------ 
 +# BL2 write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 bl2.bin 
 +movi w b 0 40008000 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Bootloader write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 u-boot.bin 
 +movi w u 0 40008000 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Turst Zone Soft Ware write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 tzsw.bin 
 +movi w t 0 40008000 
 +#​------------------------------------------------------------------------------------------------------ 
 +# UBOOT ENV Erase 
 +#​------------------------------------------------------------------------------------------------------ 
 +mmc write 0 40008000 0x4CF 0x20 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Kernel Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 zImage-dtb 
 +movi write kernel 0 40008000 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# System Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40000000 system.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Userdata Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 57000000 userdata.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Cache Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 61000000 cache.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Partition Create to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fdisk -c 0 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +fastboot flash system 40000000 0 
 +fastboot flash userdata 57000000 0 
 +fastboot flash cache 61000000 0 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# SD/eMMC FAT Format 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatformat mmc 0:1 
 + 
 +reset 
 +</​file>​ 
 + 
 + 
 +<​code>​ 
 +$ mkdir sd2emmc 
 +$ cd sd2emmd 
 +</​code>​ 
 + 
 +Make boot.ini file 
 +<​file>​ 
 +#​------------------------------------------------------------------------------------------------------ 
 +
 +# SD to EMMC Recovery boot.ini text file 
 +
 +#​------------------------------------------------------------------------------------------------------ 
 +ODROIDXU-UBOOT-CONFIG 
 +#​------------------------------------------------------------------------------------------------------ 
 +# BL1 write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 bl1.bin 
 +emmc open 1 
 +movi w z f 1 40008000 
 +emmc close 1 
 +#​------------------------------------------------------------------------------------------------------ 
 +# BL2 write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 bl2.bin 
 +emmc open 1 
 +movi w z b 1 40008000 
 +emmc close 1 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Bootloader write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 u-boot.bin 
 +emmc open 1 
 +movi w z u 1 40008000 
 +emmc close 1 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Turst Zone Soft Ware write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 tzsw.bin 
 +emmc open 1 
 +movi w z t 1 40008000 
 +emmc close 1 
 +#​------------------------------------------------------------------------------------------------------ 
 +# UBOOT ENV Erase 
 +#​------------------------------------------------------------------------------------------------------ 
 +mmc write 1 40008000 0x4CF 0x20 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Kernel Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40008000 zImage-dtb 
 +movi write kernel 1 40008000 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# System Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 40000000 system.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Userdata Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 57000000 userdata.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Cache Image write to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatload mmc 0:1 61000000 cache.img 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# Partition Create to eMMC 
 +#​------------------------------------------------------------------------------------------------------ 
 +fdisk -c 1 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +fastboot flash system 40000000 1 
 +fastboot flash userdata 57000000 1 
 +fastboot flash cache 61000000 1 
 + 
 +#​------------------------------------------------------------------------------------------------------ 
 +# SD/eMMC FAT Format 
 +#​------------------------------------------------------------------------------------------------------ 
 +fatformat mmc 1:1 
 + 
 +fastboot poweroff 
 +</​file>​ 
 + 
 +<​code>​ 
 +$ sudo mkdir /​media/​[username]/​fat32
 </​code>​ </​code>​
  
Line 570: Line 815:
 <​code>​ <​code>​
 $ cp out/​target/​product/​odroidxu3/​update.zip . $ cp out/​target/​product/​odroidxu3/​update.zip .
 +$ unzip update.zip
 $ ls update $ ls update
 bl1.bin ​ bl2.bin ​ cache.img ​ ramdisk.img ​ system.img ​ tzsw.bin ​ u-boot.bin ​ userdata.img ​ zImage ​ zImage-dtb bl1.bin ​ bl2.bin ​ cache.img ​ ramdisk.img ​ system.img ​ tzsw.bin ​ u-boot.bin ​ userdata.img ​ zImage ​ zImage-dtb
en/xu3_building_android.txt · Last modified: 2017/05/24 10:45 by codewalker
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0