Skip to content

apc-io/apc-rock-II

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

apc-rock-II

Kernel and Bootloader codes for Rock II (& Paper II)

Copyright © 2014 VIA Technologies, Inc.

BUILD SOURCE CODE

DEVELOP ENVIRONMENT

OS: Ubuntu 12.04 x64 Linux kernel toolchain: apc-rock-toolchain

Prepare

Download toolchain from [apc-io/apc-rock-toolchain] (https://github.com/apc-io/apc-rock-toolchain)

You may need these system package:

# sudo apt-get install autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-mul tilib git lib32ncurses5-dev lib32z1-dev libgl1-mesa-dev libx11-dev make zip

Change to root and set up your environmental variable:

$ sudo su 
# export ARCH=arm
# export CROSS_COMPILE=/<your path>/apc-rock-toolchain/mybin/arm_1103_le-
# export PATH=/<your path>/apc-rock-toolchain/mybin/:/<your path>/apc-rock-toolchain/bin/:$PATH

Uboot

# cd apc-rock-II/uboot
# make distclean
# make wmt_config
# make zuboot

Rename the zuboot as u-boot.bin and put it into FirmwareInstall/firmware/ of install-package.

Kernel

We need the mkimage file in uboot/tools/ for this kernel compile.

# export PATH=/<your path>/apc-rock-II/uboot/tools/:$PATH
# cd apc-rock-II/kernel
# make Android_defconfig
# make ubin

Copy uzimage.bin into FirmwareInstall/firmware/ of install-package

About

Kernel and Bootloader codes for Rock II (& Paper II)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published