-
Notifications
You must be signed in to change notification settings - Fork 8
/
README
executable file
·53 lines (39 loc) · 1.81 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
TRUSTFARM Makes Custom Image of orangepi-zero boards.
It is based on Ubuntu Xenial linux distributions.
more powered features are like this::
1. xradio_wlan.ko - default kernel embedded
2. hci Bluetooth driver - default kernel embedded
3. nginx and vim , bluez-* tools pre-installed.
4. webmin packages pre-installed.
5. Several useful Linux Kernel modules included in built packages.
take advantages on your projects.
********
Built Kernel module (.ko) is in following links.
https://github.com/trustfarm/orangepi-zero-tfarm/tree/master/OrangePi-Kernel/build/lib/modules/3.4.39_zero/kernel
Built Kernel Image is in following links.
https://github.com/trustfarm/orangepi-zero-tfarm/blob/master/OrangePi-Kernel/build/uImage
--------------------
The OrangePi-Kernel contains Linux kernel sources adapted for OrangePI zero, gcc toolchain
The script "build_linux_kernel.sh" can be used to build the kernel
Example1(how to make uImage and uboot.bin):
"cd OrangePI-Kernel"
compile uboot for OPI-zero
"sudo ./build_uboot.sh zero"
cleans the kernel tree before build
"sudo ./build_linux_kernel.sh clean"
builds the uImage for OPI-zero
"sudo ./build_linux_kernel.sh zero"
"cd ../OrangePi-BuildLinux"
build file system
"./create_image"
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 "params.sh" 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"