SlideShare uma empresa Scribd logo
©SIProp Project, 2006-2008 1
How to Build Android 5.0 on Zedboard
Noritsuna Imamura
©SIProp Project, 2006-2008 2
Agenda
Build FSBL(First Boot Loader) & U-boot
Build Kernel
Make device tree file
Build Android 5.0.2
Setup Zedboard
©SIProp Project, 2006-2008 3
Link List
Android Source Code
https://github.com/noritsuna/zedroid_manifests.git
Kernel Source Code
https://github.com/noritsuna/zedroid_device_xilinx_ze
dboard-kernel.git
boot loader & kernel & Android binaries
https://github.com/noritsuna/zedroid_device_xilinx_ze
dboard-images.git
If you don’t need to build this from source code, please go
to “Setup Zedboard” section after these binaries.
©SIProp Project, 2006-2008 4
Build FSBL(First Boot Loader) & U-boot
©SIProp Project, 2006-2008 5
Download Board Design Files
ANALOG DEVICES
ADV7511 XILINX EVALUATION BOARDS
REFERENCE DESIGN
http://wiki.analog.com/resources/fpga/xilinx/kc705/adv751
1
File
http://wiki.analog.com/_media/resources/fpga/xilinx/kc705/
cf_adv7511_zed_edk_14_4_2013_02_05.tar.gz
Why need?
ADV7511 is Video Chip for HDMI on Zedboard.
Android requires visual output.
Android supports virtual display since 4.4. If you don’t need
use HDMI display, please skip this section.
©SIProp Project, 2006-2008 6
Unpack the downloaded file
Go to “cf_adv7511_zed” dir
Start “system.xmp” file by XPS
©SIProp Project, 2006-2008 7
Convert version
Click & Answer “Yes” After Questions
©SIProp Project, 2006-2008 8
Check HDMI & Generate Flow Design
Click “Generate BitStream”
©SIProp Project, 2006-2008 9
Export Hardware Design to “SDK”
Click “Export SDK”
©SIProp Project, 2006-2008 10
Lunch SDK
Click “Export & Lunch SDK”
©SIProp Project, 2006-2008 11
Finish to lunch SDK
©SIProp Project, 2006-2008 12
Next: Compile U-boot
©SIProp Project, 2006-2008 13
Prepare Compiler for u-boot
Download XILINX Compiler(Android NDK is OK)
PetaLinux with compiler
http://www.xilinx.com/support/download/index.html/conten
t/xilinx/en/downloadNav/petalinux.html
Set Environments
export PETALINUX=[path to petaLinux compiler]
export CCOMPILER=arm-xilinx-eabi-gcc
export ARCH=arm
export CROSS_COMPILE=arm-xilinx-eabi-
export PATH=$PATH:${PETALINUX}/tools/linux-
i386/arm-xilinx-gnueabi/bin
©SIProp Project, 2006-2008 14
Download & Compile u-boot
Download & Compile
git clone https://github.com/Xilinx/u-boot-xlnx.git
cd u-boot-xlnx/
git checkout -b xilinx-v14.4 xilinx-v14.4
make zynq_zed_config
make
After finish to compile u-boot, top directory has
“u-boot” file.
This is u-boot image without hardware info.
©SIProp Project, 2006-2008 15
Next: Back to SDK for building boot image
©SIProp Project, 2006-2008 16
Create Application Project
Select File -> New -> Application Project
©SIProp Project, 2006-2008 17
App Wizard 1/2:
Project Name: FSBL
Target Hardware:
Hardware Platform: cf_adv7511_zed_hw_platform
Processor: ps7_cortexa9_0
Click “Next>”
©SIProp Project, 2006-2008 18
App Wizard 2/2:
Select “Zynq FSBL”
Click “Finish”
©SIProp Project, 2006-2008 19
Created FSBL project
©SIProp Project, 2006-2008 20
Create Boot Image 1/4
Select Xilinx Tools -> Create Zynq Boot Image
©SIProp Project, 2006-2008 21
Create Boot Image 2/4
Lunch Wizard
Click “Add”
©SIProp Project, 2006-2008 22
Create Boot Image 3/4
Lunch Sub-Window
Select:
Partition type: bootloader
Input:
File path: [U-boot file]
Click “OK”
©SIProp Project, 2006-2008 23
Create Boot Image 4/4
Added your “u-boot” in “Boot image partitions”
Change “Output path”:
output.bin -> boot.bin
Click “Create Image”
©SIProp Project, 2006-2008 24
Created Boot Image
Start compiling automatically
After finish, You get boot image for Zedboard as
boot.bin
©SIProp Project, 2006-2008 25
Build Kernel
©SIProp Project, 2006-2008 26
Prepare Compiler
Download XILINX Compiler(Android NDK is OK)
PetaLinux with compiler
http://www.xilinx.com/support/download/index.html/conten
t/xilinx/en/downloadNav/petalinux.html
Set Environments
export PETALINUX=[path to petaLinux compiler]
export CCOMPILER=arm-xilinx-eabi-gcc
export ARCH=arm
export CROSS_COMPILE=arm-xilinx-eabi-
export PATH=$PATH:${PETALINUX}/tools/linux-
i386/arm-xilinx-gnueabi/bin
©SIProp Project, 2006-2008 27
Download & Compile Kernel
Download & Compile Kernel
git clone
https://github.com/noritsuna/zedroid_device_xilinx_ze
dboard-kernel.git
cd zedroid_device_xilinx_zedboard-kernel
git checkout zedroid-5.0.2_r1
make zynq_zed_android_defconfig
make uImage LOADADDR=8000
You can get “uImage” in “arch/arm/boot/”
©SIProp Project, 2006-2008 28
Make device tree file
©SIProp Project, 2006-2008 29
Build device tree file
Build device tree file
cd [kernel dir]
make zynq-zed-adv7511.dtb
You can get “zynq-zed-adv7511.dtb” in
“arch/arm/boot/dts/”
Rename “zynq-zed-adv7511.dtb” to “devicetree.dtb”
©SIProp Project, 2006-2008 30
Build Android 5.0.2
©SIProp Project, 2006-2008 31
Download source code & build
Install build tools following Google Android Site
https://source.android.com/source/downloading.html
Download source code & build
repo init -u
https://github.com/noritsuna/zedroid_manifests -b
zedroid-5.0.2_r1
repo sync
source ./build/envsetup.sh
lunch zedboard-userdebug
make
©SIProp Project, 2006-2008 32
Appendix: OpenGL/ES support
If you use “lunch zedboard-userdebug”, this
Android is for OpenGL/ES 2.0.
Zedboard doesn’t have GPU. My Android uses
software renderer. It’s soooooooo slow.
If you use OpenGL/ES 1.2, it’s better to use.
Android’s OpenGL/ES current version is “2.0”. Some
applications require “2.0”.
Special Options
OpenGL/ES 1.2 version
lunch zedboard_GLES12-userdebug
OpenGL/ES 2.0 version
lunch zedboard_GLES20-userdebug
©SIProp Project, 2006-2008 33
Mark up ARM RAM image info
Android’s RAM image is NOT for u-boot.
sudo apt-get install u-boot-tools
mkimage -A arm -O linux -T ramdisk -a 0x2000000 -
n "Zedboard ramdisk" -d [Android output
dir]/ramdisk.img uramdisk.image.gz
“uramdisk.image.gz” file is RAM image for u-boot.
©SIProp Project, 2006-2008 34
Setup Zedboard
©SIProp Project, 2006-2008 35
Prepare Hardwares: SD Card 1/2
4GB SD Card
Partition:
1st primary: VFAT(FAT32) over 1GB with boot flag
2nd primary: ext4 over 1GB
3rd primary: ext4 over 500MB
4th primary: Linux Swap over 500MB
Copy Files
[Xilinx SDK dir]/boot.bin
[kernel dir]/arch/arm/boot/uImage
[kernel dir]/arch/arm/boot/dts/devicetree.dtb
[Android dir]/uramdisk.image.gz
To 1st partition
©SIProp Project, 2006-2008 36
Prepare Hardwares: SD Card 2/2
4GB SD Card
Copy Files
[Android output dir]/system/* files with permission info
To 2nd partition
[Android output dir]/userdata/* files with permission info
To 3rd partition
©SIProp Project, 2006-2008 37
Prepare Hardwares: Zedboard DIPs
JP2, JP3, JP6: “Short”
JP18: “1V8” is “Short”
MI02, MI03, MI06: “3V3” is “Short”
MI04, MI05: “GND” is “Short”
©SIProp Project, 2006-2008 38
Prepare Hardwares: LAN, HDMI, OTG
Required LAN, HDMI
If you don’t connect them, it doesn’t boot up.
Required 2 more ports: USB Hub
USB port is OTG only. Other USB port is NOT USB.
©SIProp Project, 2006-2008 39
Power ON!
Insert SD Card
Connect AC Adapter and Turn on Power Switch!
Please wait 5-10 mins. Because when 1st boot, ART
compile all applications to native binary.
Enjoy!

Mais conteúdo relacionado

PPTX
Zynq + Vivado HLS入門
PPTX
Java 17直前!オレ流OpenJDK「の」開発環境(Open Source Conference 2021 Online/Kyoto 発表資料)
PDF
閉域網接続の技術入門
PPTX
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
PDF
Implementing imgui
PDF
OpenStackで始めるクラウド環境構築入門(Horizon 基礎編)
PDF
【Unite Tokyo 2019】ライブエンターテイメントにおけるUnity
PDF
3種類のTEE比較(Intel SGX, ARM TrustZone, RISC-V Keystone)
Zynq + Vivado HLS入門
Java 17直前!オレ流OpenJDK「の」開発環境(Open Source Conference 2021 Online/Kyoto 発表資料)
閉域網接続の技術入門
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
Implementing imgui
OpenStackで始めるクラウド環境構築入門(Horizon 基礎編)
【Unite Tokyo 2019】ライブエンターテイメントにおけるUnity
3種類のTEE比較(Intel SGX, ARM TrustZone, RISC-V Keystone)

Mais procurados (20)

PPTX
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
PDF
BuildKitの概要と最近の機能
PDF
DPDK IPSec Security Gateway Application
PDF
KLabのエンジニアを支えるカルチャー
PPTX
Camera2APIと画像フォーマット
PDF
“Visual AI at the Edge: From Surveillance Cameras to People Counters,” a Pres...
PPTX
Cesiumを動かしてみよう
PDF
オンラインで同期した100体の巨大生物から地球を衛る方法 UNREAL FEST EXTREME 2021 SUMMER
PDF
オンライン広告入札システムとZGC ( JJUG CCC 2021 Spring )
PDF
新しいエフェクトツール、Niagaraを楽しもう! ~Niagara作例のブレイクダウン~
PDF
HTTP/2の現状とこれから
PPTX
Slurmのジョブスケジューリングと実装
PDF
Apstra AOSによるEVPN-VXLANの自動化
PDF
IIJmio meeting 14 IIJmioタイプAとSIMフリー端末について
PDF
60fpsアクションを実現する秘訣を伝授 解析編
PDF
Quarkus入門
PDF
Topology Managerについて / Kubernetes Meetup Tokyo 50
PPTX
Forts and Fights Scaling Performance on Unreal Engine*
PDF
【CEDEC2018】CPUを使い切れ! Entity Component System(通称ECS) が切り開く新しいプログラミング
PDF
FreeBSD Capsicum
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
BuildKitの概要と最近の機能
DPDK IPSec Security Gateway Application
KLabのエンジニアを支えるカルチャー
Camera2APIと画像フォーマット
“Visual AI at the Edge: From Surveillance Cameras to People Counters,” a Pres...
Cesiumを動かしてみよう
オンラインで同期した100体の巨大生物から地球を衛る方法 UNREAL FEST EXTREME 2021 SUMMER
オンライン広告入札システムとZGC ( JJUG CCC 2021 Spring )
新しいエフェクトツール、Niagaraを楽しもう! ~Niagara作例のブレイクダウン~
HTTP/2の現状とこれから
Slurmのジョブスケジューリングと実装
Apstra AOSによるEVPN-VXLANの自動化
IIJmio meeting 14 IIJmioタイプAとSIMフリー端末について
60fpsアクションを実現する秘訣を伝授 解析編
Quarkus入門
Topology Managerについて / Kubernetes Meetup Tokyo 50
Forts and Fights Scaling Performance on Unreal Engine*
【CEDEC2018】CPUを使い切れ! Entity Component System(通称ECS) が切り開く新しいプログラミング
FreeBSD Capsicum
Anúncio

Destaque (6)

PPTX
OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
PPTX
PDF
10 Revealing Statistics About Compensation & Benefits You should Know
OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
10 Revealing Statistics About Compensation & Benefits You should Know
Anúncio

Semelhante a Zedroid - Android (5.0 and later) on Zedboard (20)

PDF
Lecture02web 140phpapp01
PDF
Build and Run Android N Source Ccode on NXP SABRESD platform
PDF
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
PPTX
Open-source Android 10 on Orange Pi: myth or reality?
PPTX
mago3D workshop(English) in Thailand , 2018.07
PDF
Flowframes
PPTX
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
PDF
Android Platform Debugging and Development
PDF
OpenChain AutomotiveWG(OSS license tools()
PPTX
ChromePad - Chromium OS for ThinkPad
PDF
Android Things: Android for IoT
TXT
Readme
PPTX
ChromePad - Chromium OS ThinkPad X220
PPTX
Embedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hood
PDF
A million ways to provision embedded linux devices
PDF
Extending Android's Platform Toolsuite
PDF
Working with the AOSP - Linaro Connect Asia 2013
PPT
Developing new zynq based instruments
PDF
Android Platform Debugging and Development
Lecture02web 140phpapp01
Build and Run Android N Source Ccode on NXP SABRESD platform
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Open-source Android 10 on Orange Pi: myth or reality?
mago3D workshop(English) in Thailand , 2018.07
Flowframes
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
Android Platform Debugging and Development
OpenChain AutomotiveWG(OSS license tools()
ChromePad - Chromium OS for ThinkPad
Android Things: Android for IoT
Readme
ChromePad - Chromium OS ThinkPad X220
Embedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hood
A million ways to provision embedded linux devices
Extending Android's Platform Toolsuite
Working with the AOSP - Linaro Connect Asia 2013
Developing new zynq based instruments
Android Platform Debugging and Development

Mais de Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院) (20)

PPTX
オープンソース界隈の利用者や技術者から見たオープンソースEDAとは? What is open source EDA from the perspecti...
PPTX
ラズパイを使って作品を作ったらラズパイコンテストでKSY賞を貰って、さらに、文化庁メディア芸術祭で審査員推薦作品に選ばれてしまった件〜自作チップでラズパイ...
PPTX
PPTX
What is the world where you can make your own semiconductors?
PPTX
PPTX
Kernel/VMレイヤーを自分色に染める!By ISHI会
PPTX
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPi
PPTX
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
PPTX
Self‐Contained SDR Grand Station with Raspberry Pi 3
PPTX
PPTX
PPTX
5000円で誰でも作れる新世代衛星地上局
オープンソース界隈の利用者や技術者から見たオープンソースEDAとは? What is open source EDA from the perspecti...
ラズパイを使って作品を作ったらラズパイコンテストでKSY賞を貰って、さらに、文化庁メディア芸術祭で審査員推薦作品に選ばれてしまった件〜自作チップでラズパイ...
What is the world where you can make your own semiconductors?
Kernel/VMレイヤーを自分色に染める!By ISHI会
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPi
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
Self‐Contained SDR Grand Station with Raspberry Pi 3
5000円で誰でも作れる新世代衛星地上局

Último (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
A Presentation on Artificial Intelligence
PPTX
Spectroscopy.pptx food analysis technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
The AUB Centre for AI in Media Proposal.docx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
A Presentation on Artificial Intelligence
Spectroscopy.pptx food analysis technology
MIND Revenue Release Quarter 2 2025 Press Release
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?

Zedroid - Android (5.0 and later) on Zedboard

  • 1. ©SIProp Project, 2006-2008 1 How to Build Android 5.0 on Zedboard Noritsuna Imamura
  • 2. ©SIProp Project, 2006-2008 2 Agenda Build FSBL(First Boot Loader) & U-boot Build Kernel Make device tree file Build Android 5.0.2 Setup Zedboard
  • 3. ©SIProp Project, 2006-2008 3 Link List Android Source Code https://github.com/noritsuna/zedroid_manifests.git Kernel Source Code https://github.com/noritsuna/zedroid_device_xilinx_ze dboard-kernel.git boot loader & kernel & Android binaries https://github.com/noritsuna/zedroid_device_xilinx_ze dboard-images.git If you don’t need to build this from source code, please go to “Setup Zedboard” section after these binaries.
  • 4. ©SIProp Project, 2006-2008 4 Build FSBL(First Boot Loader) & U-boot
  • 5. ©SIProp Project, 2006-2008 5 Download Board Design Files ANALOG DEVICES ADV7511 XILINX EVALUATION BOARDS REFERENCE DESIGN http://wiki.analog.com/resources/fpga/xilinx/kc705/adv751 1 File http://wiki.analog.com/_media/resources/fpga/xilinx/kc705/ cf_adv7511_zed_edk_14_4_2013_02_05.tar.gz Why need? ADV7511 is Video Chip for HDMI on Zedboard. Android requires visual output. Android supports virtual display since 4.4. If you don’t need use HDMI display, please skip this section.
  • 6. ©SIProp Project, 2006-2008 6 Unpack the downloaded file Go to “cf_adv7511_zed” dir Start “system.xmp” file by XPS
  • 7. ©SIProp Project, 2006-2008 7 Convert version Click & Answer “Yes” After Questions
  • 8. ©SIProp Project, 2006-2008 8 Check HDMI & Generate Flow Design Click “Generate BitStream”
  • 9. ©SIProp Project, 2006-2008 9 Export Hardware Design to “SDK” Click “Export SDK”
  • 10. ©SIProp Project, 2006-2008 10 Lunch SDK Click “Export & Lunch SDK”
  • 11. ©SIProp Project, 2006-2008 11 Finish to lunch SDK
  • 12. ©SIProp Project, 2006-2008 12 Next: Compile U-boot
  • 13. ©SIProp Project, 2006-2008 13 Prepare Compiler for u-boot Download XILINX Compiler(Android NDK is OK) PetaLinux with compiler http://www.xilinx.com/support/download/index.html/conten t/xilinx/en/downloadNav/petalinux.html Set Environments export PETALINUX=[path to petaLinux compiler] export CCOMPILER=arm-xilinx-eabi-gcc export ARCH=arm export CROSS_COMPILE=arm-xilinx-eabi- export PATH=$PATH:${PETALINUX}/tools/linux- i386/arm-xilinx-gnueabi/bin
  • 14. ©SIProp Project, 2006-2008 14 Download & Compile u-boot Download & Compile git clone https://github.com/Xilinx/u-boot-xlnx.git cd u-boot-xlnx/ git checkout -b xilinx-v14.4 xilinx-v14.4 make zynq_zed_config make After finish to compile u-boot, top directory has “u-boot” file. This is u-boot image without hardware info.
  • 15. ©SIProp Project, 2006-2008 15 Next: Back to SDK for building boot image
  • 16. ©SIProp Project, 2006-2008 16 Create Application Project Select File -> New -> Application Project
  • 17. ©SIProp Project, 2006-2008 17 App Wizard 1/2: Project Name: FSBL Target Hardware: Hardware Platform: cf_adv7511_zed_hw_platform Processor: ps7_cortexa9_0 Click “Next>”
  • 18. ©SIProp Project, 2006-2008 18 App Wizard 2/2: Select “Zynq FSBL” Click “Finish”
  • 19. ©SIProp Project, 2006-2008 19 Created FSBL project
  • 20. ©SIProp Project, 2006-2008 20 Create Boot Image 1/4 Select Xilinx Tools -> Create Zynq Boot Image
  • 21. ©SIProp Project, 2006-2008 21 Create Boot Image 2/4 Lunch Wizard Click “Add”
  • 22. ©SIProp Project, 2006-2008 22 Create Boot Image 3/4 Lunch Sub-Window Select: Partition type: bootloader Input: File path: [U-boot file] Click “OK”
  • 23. ©SIProp Project, 2006-2008 23 Create Boot Image 4/4 Added your “u-boot” in “Boot image partitions” Change “Output path”: output.bin -> boot.bin Click “Create Image”
  • 24. ©SIProp Project, 2006-2008 24 Created Boot Image Start compiling automatically After finish, You get boot image for Zedboard as boot.bin
  • 25. ©SIProp Project, 2006-2008 25 Build Kernel
  • 26. ©SIProp Project, 2006-2008 26 Prepare Compiler Download XILINX Compiler(Android NDK is OK) PetaLinux with compiler http://www.xilinx.com/support/download/index.html/conten t/xilinx/en/downloadNav/petalinux.html Set Environments export PETALINUX=[path to petaLinux compiler] export CCOMPILER=arm-xilinx-eabi-gcc export ARCH=arm export CROSS_COMPILE=arm-xilinx-eabi- export PATH=$PATH:${PETALINUX}/tools/linux- i386/arm-xilinx-gnueabi/bin
  • 27. ©SIProp Project, 2006-2008 27 Download & Compile Kernel Download & Compile Kernel git clone https://github.com/noritsuna/zedroid_device_xilinx_ze dboard-kernel.git cd zedroid_device_xilinx_zedboard-kernel git checkout zedroid-5.0.2_r1 make zynq_zed_android_defconfig make uImage LOADADDR=8000 You can get “uImage” in “arch/arm/boot/”
  • 28. ©SIProp Project, 2006-2008 28 Make device tree file
  • 29. ©SIProp Project, 2006-2008 29 Build device tree file Build device tree file cd [kernel dir] make zynq-zed-adv7511.dtb You can get “zynq-zed-adv7511.dtb” in “arch/arm/boot/dts/” Rename “zynq-zed-adv7511.dtb” to “devicetree.dtb”
  • 30. ©SIProp Project, 2006-2008 30 Build Android 5.0.2
  • 31. ©SIProp Project, 2006-2008 31 Download source code & build Install build tools following Google Android Site https://source.android.com/source/downloading.html Download source code & build repo init -u https://github.com/noritsuna/zedroid_manifests -b zedroid-5.0.2_r1 repo sync source ./build/envsetup.sh lunch zedboard-userdebug make
  • 32. ©SIProp Project, 2006-2008 32 Appendix: OpenGL/ES support If you use “lunch zedboard-userdebug”, this Android is for OpenGL/ES 2.0. Zedboard doesn’t have GPU. My Android uses software renderer. It’s soooooooo slow. If you use OpenGL/ES 1.2, it’s better to use. Android’s OpenGL/ES current version is “2.0”. Some applications require “2.0”. Special Options OpenGL/ES 1.2 version lunch zedboard_GLES12-userdebug OpenGL/ES 2.0 version lunch zedboard_GLES20-userdebug
  • 33. ©SIProp Project, 2006-2008 33 Mark up ARM RAM image info Android’s RAM image is NOT for u-boot. sudo apt-get install u-boot-tools mkimage -A arm -O linux -T ramdisk -a 0x2000000 - n "Zedboard ramdisk" -d [Android output dir]/ramdisk.img uramdisk.image.gz “uramdisk.image.gz” file is RAM image for u-boot.
  • 34. ©SIProp Project, 2006-2008 34 Setup Zedboard
  • 35. ©SIProp Project, 2006-2008 35 Prepare Hardwares: SD Card 1/2 4GB SD Card Partition: 1st primary: VFAT(FAT32) over 1GB with boot flag 2nd primary: ext4 over 1GB 3rd primary: ext4 over 500MB 4th primary: Linux Swap over 500MB Copy Files [Xilinx SDK dir]/boot.bin [kernel dir]/arch/arm/boot/uImage [kernel dir]/arch/arm/boot/dts/devicetree.dtb [Android dir]/uramdisk.image.gz To 1st partition
  • 36. ©SIProp Project, 2006-2008 36 Prepare Hardwares: SD Card 2/2 4GB SD Card Copy Files [Android output dir]/system/* files with permission info To 2nd partition [Android output dir]/userdata/* files with permission info To 3rd partition
  • 37. ©SIProp Project, 2006-2008 37 Prepare Hardwares: Zedboard DIPs JP2, JP3, JP6: “Short” JP18: “1V8” is “Short” MI02, MI03, MI06: “3V3” is “Short” MI04, MI05: “GND” is “Short”
  • 38. ©SIProp Project, 2006-2008 38 Prepare Hardwares: LAN, HDMI, OTG Required LAN, HDMI If you don’t connect them, it doesn’t boot up. Required 2 more ports: USB Hub USB port is OTG only. Other USB port is NOT USB.
  • 39. ©SIProp Project, 2006-2008 39 Power ON! Insert SD Card Connect AC Adapter and Turn on Power Switch! Please wait 5-10 mins. Because when 1st boot, ART compile all applications to native binary. Enjoy!