forked from intel/Galileo-Runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
67 lines (45 loc) · 1.97 KB
/
README.txt
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
1. Prepare a build machine (Part 2 of Build and Software User Guide)
http://downloadmirror.intel.com/23962/eng/Quark_BSP_BuildandSWUserGuide_329687_007.pdf
Note: Be sure to install IASL 5.0A or higher to build EDKII
2. Download Galileo Runtime 1.0.4 and unarchive (Part 3 of the User Guide)
https://github.com/01org/Galileo-Runtime/archive/1.0.4.tar.gz
tar -xf Galileo-Runtime-1.0.4.tar.gz
cd Galileo-Runtime-1.0.4
3. Unarchive the patches
tar -xf patches_v1.0.4.tar.gz
4. Build Linux kernel (Part 6 of the User Guide)
4.1. Unarchive meta-clanton package
tar -xf meta-clanton_v1.0.1.tar.gz
4.2. Patch the meta-clanton package (Part 6.1 of the User Guide)
./patches_v1.0.4/patch.meta-clanton.sh
4.2. Build a small Linux for SPI Flash
cd meta-clanton_v1.0.1
source poky/oe-init-build-env yocto_build
bitbake image-spi-galileo
5. Build EDKII (Part 4 of the User Guide)
5.1. Unarchive Quark_EDKII package (Part 4.2 of the User Guide)
tar -xf Quark_EDKII_v1.0.2.tar.gz
5.2. Patch the Quark_EDKII package
./patches_v1.0.4/patch.Quark_EDKII.sh
5.3. Prepare the build environment (Part 4.2.1 of the User Guide)
cd Quark_EDKII_v1.0.2
./svn_setup.py
svn update
5.4. Build EDKII (Part 4.4 of the User Guide)
export GCCVERSION=$(gcc -dumpversion | cut -c 3)
./quarkbuild.sh -r32 GCC4${GCCVERSION} QuarkPlatform
5.5. Create a symlink for SPI Flash Tools
export GCCVERSION=$(gcc -dumpversion | cut -c 3)
ln -s RELEASE_GCC4${GCCVERSION} Build/QuarkPlatform/RELEASE_GCC
6. Create a flash Image (SPI) (Part 8 of the User Guide)
6.1. Unarchive sysimage package
tar -xf sysimage_v1.0.1.tar.gz
6.2. Patch the sysimage package
./patches_v1.0.4/patch.sysimage.sh
6.3. Build SPI
tar -xf spi-flash-tools_v1.0.1.tar.gz
./sysimage_v1.0.1/create_symlinks.sh
cd sysimage/sysimage.CP-8M-release
../../spi-flash-tools/Makefile
6.4. Congratulations!
Flash-missingPDAT.cap is the firmware that you can flash onto Galileo.