"Android" 修訂間的差異
(已建立頁面,內容為 "== source == * <nowiki>git clone https://github.com/gonzoua/u-boot-pi.git</nowiki> * <nowiki>svn co file:///var/svn/raspberrypi/u-boot-pi</nowiki> == prepare == * r…") |
(無差異)
|
於 2018年8月23日 (四) 11:00 的最新修訂
source
- git clone https://github.com/gonzoua/u-boot-pi.git
- svn co file:///var/svn/raspberrypi/u-boot-pi
prepare
- repo - a tool that makes it easier to work with Git in the context of Android.
- $ mkdir ~/bin
- $ PATH=~/bin:$PATH
- $ curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
- $ chmod a+x ~/bin/repo
- init repo client
- $ mkdir WORKING_DIRECTORY
- $ cd WORKING_DIRECTORY
- $ repo init -u https://android.googlesource.com/platform/manifest
- IcedTea for OpenJDK 6
- http://blog.fuseyism.com/index.php/2014/04/15/security-icedtea-1-13-3-for-openjdk-6-released/
- SD card
- cp system root/* data under out/target/product/generic/ into /root partition in SD
- specify the root= in bootargs (modify the cmdline.txt in /boot paratition)
build
- switch to your working directory
- export TARGET_PREBUILT_KERNEL=$your_kernel_path/arch/arm/boot/zImage
- make bootimage