-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
104 lines (81 loc) · 3.23 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Cross-SDK
=========
This is a OpenSource Cross Platform SDK.
Our aim is build a user friendly Cross SDK for a Real Time GNU/Linux system
which using LLVM/Clang as default compiler, you are welcome to use and hack
this project, we can make it better together.
===============================================================================
Version History:
0.9:
- Build QT-Creator Plugin with QT-Creator.
- Merge QT-Creator Plugin plugin into main tree.
0.8:
- Add OpenOCD.
- KUbuntu 13.04 well tested all of the scripts.
- KUbuntu 12.10 AMD64 no longger tested.
0.7:
- Remove busybox support, minimal-system and command-line-tools.
- Add SSH support.
- New IDE plugin support(still in develop).
0.6:
- OS X Mountain Lion well tested minimal-system now!
0.5:
- Combine ${SRC} as possible as we can, saving a huge disk space.
0.4:
- Slipt scripts.
- OS X Mountain Lion well tested command-line-tools and development-kit,
KUbuntu 12.10 AMD64 well tested all of the scripts.
0.3:
- OS X Mountain Lion partly support, toolchain and linux kernel can be compiled,
rootfs and busybox can not.
- Remove RTEMS, baremetal support.
- KUbuntu 12.04 AMD64 no longger tested.
0.2:
- KUbuntu 12.10 AMD64 well tested.
- Compile GNU rootfs using sysroot way.
0.1:
- KUbuntu 12.04 AMD64 well tested.
===============================================================================
TODO:
- Improve Real Time performance.
- IDE plugin such as Static Analyzer and Linux config support.
- Make Clang to be the default compiler.
===============================================================================
Prerequisites:
OS X Mountain Lion is partly suppoted, we are using Homebrew, and we need a
Case-sensitive, Journaled FS or working DMG.
You need run this in your terminal:
brew install autoconf autoconf213 automake bash-completion cmake coreutils \
ext2fuse fuse4x fuse4x-kext gawk gettext glib gnu-getopt gnu-sed \
libelf libffi libpng libtool p7zip pixman pkg-config qt texinfo \
unrar wget xz zlib
(K)Ubuntu 13.04 AMD64 are well tested.
You need run this in your terminal:
sudo apt-get install autogen automake bison cmake dejagnu flex g++ gawk \
gettext gperf guile-2.0 libgtk2.0-dev libncurses5-dev \
libqt4-dev libtool libvte-dev patch texinfo xz-utils
You are welcome to test it on other platforms.
===============================================================================
Usage:
${SCRIPT}.sh
Example:
run
./mipsel-development-kit.sh
to get a SDK.
run
./mipsel-system.sh
to get gnu root fs.
If you were to use qemu with network:
sudo tunctl -t qemutap
sudo ifconfig qemutap 10.0.0.1
sudo qemu-system-mipsel -kernel vmlinux-32 -hda mipsel-rootfs.img -append "root=/dev/hda" -nographic -net nic -net tap,ifname=qemutap,script=no,downscript=no -M malta
Notice:
It will take a lot of space in your disk, make sure you run them in a big
partation:)
Make sure you have run ./get-sources.sh first, if you got failed,
just run it again.
Run ./cleanup.sh to free your disk space.
===============================================================================
GNU root FS is partly come from CLFS.
===============================================================================
The last thing, Happy Hacking:)