SlideShare a Scribd company 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!

More Related Content

What's hot

Asic design flow
Asic design flowAsic design flow
Asic design flow
yogeshwaran k
 
Introduction to FPGAs
Introduction to FPGAsIntroduction to FPGAs
Introduction to FPGAs
Sudhanshu Janwadkar
 
Real time image processing in fpga
Real time image processing in fpgaReal time image processing in fpga
Real time image processing in fpga
Sneha Nidhi
 
Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)
Dr. Swaminathan Kathirvel
 
TMS320C6X Architecture
TMS320C6X ArchitectureTMS320C6X Architecture
TMS320C6X Architecture
Shweta Tripathi
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flowAnish Gupta
 
Data types in verilog
Data types in verilogData types in verilog
Data types in verilog
Nallapati Anindra
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
A B Shinde
 
Vlsi design mosfet
Vlsi design mosfetVlsi design mosfet
Vlsi design mosfetvennila12
 
Programmable logic array
Programmable logic arrayProgrammable logic array
Programmable logic array
Huba Akhtar
 
Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)
Alok Singh
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
Amit Kumer Podder
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applications
Sudhanshu Janwadkar
 
CMOS-IC Design NOTES Lodhi.pdf
CMOS-IC Design NOTES Lodhi.pdfCMOS-IC Design NOTES Lodhi.pdf
CMOS-IC Design NOTES Lodhi.pdf
Amairullah Khan Lodhi
 
DIgital clock using verilog
DIgital clock using verilog DIgital clock using verilog
DIgital clock using verilog
Abhishek Sainkar
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
Dr.YNM
 
Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesRicardo Castro
 
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Revathi Subramaniam
 
Programs of VHDL
Programs of VHDLPrograms of VHDL
Programs of VHDL
Rkrishna Mishra
 
Lcd module interface with xilinx software using verilog
Lcd module interface with xilinx software using verilogLcd module interface with xilinx software using verilog
Lcd module interface with xilinx software using verilog
sumedh23
 

What's hot (20)

Asic design flow
Asic design flowAsic design flow
Asic design flow
 
Introduction to FPGAs
Introduction to FPGAsIntroduction to FPGAs
Introduction to FPGAs
 
Real time image processing in fpga
Real time image processing in fpgaReal time image processing in fpga
Real time image processing in fpga
 
Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)
 
TMS320C6X Architecture
TMS320C6X ArchitectureTMS320C6X Architecture
TMS320C6X Architecture
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flow
 
Data types in verilog
Data types in verilogData types in verilog
Data types in verilog
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
 
Vlsi design mosfet
Vlsi design mosfetVlsi design mosfet
Vlsi design mosfet
 
Programmable logic array
Programmable logic arrayProgrammable logic array
Programmable logic array
 
Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applications
 
CMOS-IC Design NOTES Lodhi.pdf
CMOS-IC Design NOTES Lodhi.pdfCMOS-IC Design NOTES Lodhi.pdf
CMOS-IC Design NOTES Lodhi.pdf
 
DIgital clock using verilog
DIgital clock using verilog DIgital clock using verilog
DIgital clock using verilog
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
 
Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gates
 
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
 
Programs of VHDL
Programs of VHDLPrograms of VHDL
Programs of VHDL
 
Lcd module interface with xilinx software using verilog
Lcd module interface with xilinx software using verilogLcd module interface with xilinx software using verilog
Lcd module interface with xilinx software using verilog
 

Viewers also liked

OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
將DNA在廚房抽出的程序
將DNA在廚房抽出的程序將DNA在廚房抽出的程序
Protocol of the DNA Extraction in Kitchen
Protocol of the DNA Extraction in KitchenProtocol of the DNA Extraction in Kitchen
How to Build & Use OpenCL on OpenCV & Android NDK
How to Build & Use OpenCL on OpenCV & Android NDKHow to Build & Use OpenCL on OpenCV & Android NDK
Zynq + Vivado HLS入門
Zynq + Vivado HLS入門Zynq + Vivado HLS入門
Zynq + Vivado HLS入門
narusugimoto
 
10 Revealing Statistics About Compensation & Benefits You should Know
10 Revealing Statistics About Compensation & Benefits You should Know10 Revealing Statistics About Compensation & Benefits You should Know
10 Revealing Statistics About Compensation & Benefits You should Know
Elodie A.
 

Viewers also liked (7)

OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
OpenCV acceleration battle:OpenCL on Firefly-RK3288(MALI-T764) vs. FPGA on Ze...
 
Resume
ResumeResume
Resume
 
將DNA在廚房抽出的程序
將DNA在廚房抽出的程序將DNA在廚房抽出的程序
將DNA在廚房抽出的程序
 
Protocol of the DNA Extraction in Kitchen
Protocol of the DNA Extraction in KitchenProtocol of the DNA Extraction in Kitchen
Protocol of the DNA Extraction in Kitchen
 
How to Build & Use OpenCL on OpenCV & Android NDK
How to Build & Use OpenCL on OpenCV & Android NDKHow to Build & Use OpenCL on OpenCV & Android NDK
How to Build & Use OpenCL on OpenCV & Android NDK
 
Zynq + Vivado HLS入門
Zynq + Vivado HLS入門Zynq + Vivado HLS入門
Zynq + Vivado HLS入門
 
10 Revealing Statistics About Compensation & Benefits You should Know
10 Revealing Statistics About Compensation & Benefits You should Know10 Revealing Statistics About Compensation & Benefits You should Know
10 Revealing Statistics About Compensation & Benefits You should Know
 

Similar to Zedroid - Android (5.0 and later) on Zedboard

Lecture02web 140phpapp01
Lecture02web 140phpapp01Lecture02web 140phpapp01
Lecture02web 140phpapp01
letuan9999
 
Build and Run Android N Source Ccode on NXP SABRESD platform
Build and Run Android N Source Ccode on NXP SABRESD platformBuild and Run Android N Source Ccode on NXP SABRESD platform
Build and Run Android N Source Ccode on NXP SABRESD platform
Daniel Chiu
 
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Embarcadero Technologies
 
What & How to Customize Android?
What & How to Customize Android?What & How to Customize Android?
Open-source Android 10 on Orange Pi: myth or reality?
Open-source Android 10 on Orange Pi: myth or reality?Open-source Android 10 on Orange Pi: myth or reality?
Open-source Android 10 on Orange Pi: myth or reality?
GlobalLogic Ukraine
 
mago3D workshop(English) in Thailand , 2018.07
mago3D workshop(English) in Thailand , 2018.07mago3D workshop(English) in Thailand , 2018.07
mago3D workshop(English) in Thailand , 2018.07
Gaia3D,Inc.
 
Flowframes
FlowframesFlowframes
Flowframes
Artmiker Studios
 
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...Paris Open Source Summit
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and Development
Opersys inc.
 
OpenChain AutomotiveWG(OSS license tools()
OpenChain AutomotiveWG(OSS license tools()OpenChain AutomotiveWG(OSS license tools()
OpenChain AutomotiveWG(OSS license tools()
Yuichi Kusakabe
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
AndrewWright224
 
Android Things: Android for IoT
Android Things: Android for IoTAndroid Things: Android for IoT
Android Things: Android for IoT
Opersys inc.
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
AndrewWright224
 
Embedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hood
Embedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hoodEmbedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hood
Embedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hood
EmbeddedFest
 
A million ways to provision embedded linux devices
A million ways to provision embedded linux devicesA million ways to provision embedded linux devices
A million ways to provision embedded linux devices
Mender.io
 
Extending Android's Platform Toolsuite
Extending Android's Platform ToolsuiteExtending Android's Platform Toolsuite
Extending Android's Platform Toolsuite
Opersys inc.
 
Working with the AOSP - Linaro Connect Asia 2013
Working with the AOSP - Linaro Connect Asia 2013Working with the AOSP - Linaro Connect Asia 2013
Working with the AOSP - Linaro Connect Asia 2013Opersys inc.
 
Developing new zynq based instruments
Developing new zynq based instrumentsDeveloping new zynq based instruments
Developing new zynq based instruments
Graham NAYLOR
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and Development
Opersys inc.
 

Similar to Zedroid - Android (5.0 and later) on Zedboard (20)

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

More from Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)

What is the world where you can make your own semiconductors?
What is the world where you can make your own semiconductors?What is the world where you can make your own semiconductors?
What is the world where you can make your own semiconductors?
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
半導体製造(TinyTapeout)に挑戦しよう!
半導体製造(TinyTapeout)に挑戦しよう!半導体製造(TinyTapeout)に挑戦しよう!
Introduction of ISHI-KAI with OpenMPW
Introduction of ISHI-KAI with OpenMPWIntroduction of ISHI-KAI with OpenMPW
Kernel/VMレイヤーを自分色に染める!By ISHI会
Kernel/VMレイヤーを自分色に染める!By ISHI会Kernel/VMレイヤーを自分色に染める!By ISHI会
Kernel/VMレイヤーを自分色に染める!By ISHI会
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPi
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPiPrinciple Representation of The 8 Qubits Quantum Computer by RaspberryPi
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPi
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
The easiest way of setup QuTiP on Windows
The easiest way of setup QuTiP on WindowsThe easiest way of setup QuTiP on Windows
GNU Radio Study for Super beginner
GNU Radio Study for Super beginnerGNU Radio Study for Super beginner
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
Self‐Contained SDR Grand Station with Raspberry Pi 3
Self‐Contained SDR Grand Station with Raspberry Pi 3Self‐Contained SDR Grand Station with Raspberry Pi 3
Self‐Contained SDR Grand Station with Raspberry Pi 3
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
衛星追尾用パラボラアンテナ建設記
衛星追尾用パラボラアンテナ建設記衛星追尾用パラボラアンテナ建設記
All list of the measuring machines for microwave
All list of the measuring machines for microwaveAll list of the measuring machines for microwave
5000円で誰でも作れる新世代衛星地上局
5000円で誰でも作れる新世代衛星地上局5000円で誰でも作れる新世代衛星地上局
5000円で誰でも作れる新世代衛星地上局
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
 
Radiation Test -Raspberry PI Zero-
Radiation Test -Raspberry PI Zero-Radiation Test -Raspberry PI Zero-
How to Build & Use OpenCL on Android Studio
How to Build & Use OpenCL on Android StudioHow to Build & Use OpenCL on Android Studio
3D Printed Google Cardboard for workshop
3D Printed Google Cardboard for workshop3D Printed Google Cardboard for workshop
計算機(物理)
計算機(物理)計算機(物理)
How to Make a Scanning Drone in Chinese
How to Make a Scanning Drone in ChineseHow to Make a Scanning Drone in Chinese
How to Use OpenMP on Native Activity
How to Use OpenMP on Native ActivityHow to Use OpenMP on Native Activity

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

What is the world where you can make your own semiconductors?
What is the world where you can make your own semiconductors?What is the world where you can make your own semiconductors?
What is the world where you can make your own semiconductors?
 
半導体製造(TinyTapeout)に挑戦しよう!
半導体製造(TinyTapeout)に挑戦しよう!半導体製造(TinyTapeout)に挑戦しよう!
半導体製造(TinyTapeout)に挑戦しよう!
 
Introduction of ISHI-KAI with OpenMPW
Introduction of ISHI-KAI with OpenMPWIntroduction of ISHI-KAI with OpenMPW
Introduction of ISHI-KAI with OpenMPW
 
Kernel/VMレイヤーを自分色に染める!By ISHI会
Kernel/VMレイヤーを自分色に染める!By ISHI会Kernel/VMレイヤーを自分色に染める!By ISHI会
Kernel/VMレイヤーを自分色に染める!By ISHI会
 
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPi
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPiPrinciple Representation of The 8 Qubits Quantum Computer by RaspberryPi
Principle Representation of The 8 Qubits Quantum Computer by RaspberryPi
 
Microwaveguquantum
MicrowaveguquantumMicrowaveguquantum
Microwaveguquantum
 
The easiest way of setup QuTiP on Windows
The easiest way of setup QuTiP on WindowsThe easiest way of setup QuTiP on Windows
The easiest way of setup QuTiP on Windows
 
GNU Radio Study for Super beginner
GNU Radio Study for Super beginnerGNU Radio Study for Super beginner
GNU Radio Study for Super beginner
 
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
 
Self‐Contained SDR Grand Station with Raspberry Pi 3
Self‐Contained SDR Grand Station with Raspberry Pi 3Self‐Contained SDR Grand Station with Raspberry Pi 3
Self‐Contained SDR Grand Station with Raspberry Pi 3
 
衛星追尾用パラボラアンテナ建設記
衛星追尾用パラボラアンテナ建設記衛星追尾用パラボラアンテナ建設記
衛星追尾用パラボラアンテナ建設記
 
All list of the measuring machines for microwave
All list of the measuring machines for microwaveAll list of the measuring machines for microwave
All list of the measuring machines for microwave
 
5000円で誰でも作れる新世代衛星地上局
5000円で誰でも作れる新世代衛星地上局5000円で誰でも作れる新世代衛星地上局
5000円で誰でも作れる新世代衛星地上局
 
How to setup mastodon in chinese
How to setup mastodon in chineseHow to setup mastodon in chinese
How to setup mastodon in chinese
 
Radiation Test -Raspberry PI Zero-
Radiation Test -Raspberry PI Zero-Radiation Test -Raspberry PI Zero-
Radiation Test -Raspberry PI Zero-
 
How to Build & Use OpenCL on Android Studio
How to Build & Use OpenCL on Android StudioHow to Build & Use OpenCL on Android Studio
How to Build & Use OpenCL on Android Studio
 
3D Printed Google Cardboard for workshop
3D Printed Google Cardboard for workshop3D Printed Google Cardboard for workshop
3D Printed Google Cardboard for workshop
 
計算機(物理)
計算機(物理)計算機(物理)
計算機(物理)
 
How to Make a Scanning Drone in Chinese
How to Make a Scanning Drone in ChineseHow to Make a Scanning Drone in Chinese
How to Make a Scanning Drone in Chinese
 
How to Use OpenMP on Native Activity
How to Use OpenMP on Native ActivityHow to Use OpenMP on Native Activity
How to Use OpenMP on Native Activity
 

Recently uploaded

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 

Recently uploaded (20)

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 

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!