Part 1. Required tools and source code To compile the kernel, we need to nix-like operating system. I used
Ubuntu 10.04 LTS - Long-term support 32-bitWhich is installed on a virtual machine
VMware Workstation. Where is it good download / purchase, how to set up, we will not discuss here. If you have not been able to do on their own or with the help of Google, then read this article for you too early (or too late). :)
And so, we have everything set up and running. Now check if all necessary components are present in the system, it is possible that some packets have doustanovit.
Run the terminal:
In the terminal, enter the following command: [1]
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline5-dev gcc-multilib g ++ - multilib libc6-dev x11proto-core -dev libx11-dev libz-dev gawk texinfo automake libtool cvs libsdl-dev
Judging by the last line I have all the packages on the spot:
You, most likely, will not be an important package - sun-java6-jdk on Ubuntu 10.04 (Lucid). For it is necessary to automatically download in the repository addresses to add additional links. Enter in a terminal:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
and then
sudo apt-get update
sudo apt-get install sun-java6-jdk
After all download and install again the team [1] until the error. We assume that with Ubuntu committed.
Now we need the actual kernel sources themselves. They can be found at
http://opensource.samsung.com/. In the search bar, enter "I9000" and get:
We are interested in JPX GT-I9000_OpenSource_Froyo_update2.zip (211 MB), we do like the image below and hit "Continue".
More, we need a cross-compiler, which will build the kernel:
http://www.codesourcery.com/sgpp/lite/arm/...nux-gnu.tar.bz2(80MB)
And the last thing that is required - it initramfs.cpio. I tore it out JS8. How to do this will tell you how something separately.
JS8_initramfs.tar(2.64 MB)
So far, so, to be continued ...
Post has been editedPawill - 19.03.11, 19:38