The Linux SDK of OrangePi for Allwinner H2
C C++ Assembly Objective-C Makefile Perl Other
Latest commit c159171 Nov 28, 2016 @orangepi-xunlong orangepi-xunlong committed on GitHub Merge pull request #1 from OrangePI-h2-linus/master
add recent commit
Failed to load latest commit information.
OrangePi-BuildLinux [second add] Nov 28, 2016
OrangePi-Kernel [add second] Nov 28, 2016
.gitignore [ADD first commit] Nov 25, 2016
README [ADD first commit] Nov 25, 2016


The OrangePi-Kernel contains Linux kernel sources adapted for OrangePI zero, gcc toolchain
The script "" can be used to build the kernel

Example1(how to make uImage and uboot.bin):
"cd OrangePI-Kernel"
compile uboot for OPI-zero
"sudo ./ zero"
cleans the kernel tree before build
"sudo ./ clean"   
builds the uImage for OPI-zero
"sudo ./ zero"                              
"cd ../OrangePi-BuildLinux"  
build file system
build zero image                                        
"sudo ./image_from_dir linux-xenial orangepi ext4 zero"    
"sudo dd bs=4M if=orangepi.img of=/dev/sd*"                  
Read and edit "" to adjust the parameters to your needs
if you can not insmod modules,delete directory(/lib/modules) ,then copy /home/orangepi/3.4.39_zero to /lib/modules/, and reboot

Example2(configure desktop)
After BOOTING,to resize linux partition to fill sd card
"sudo fs_resize"
"sudo reboot"
to install desktop run,please wait at least one hours
"sudo install_lxde_desktop"