GithubHelp home page GithubHelp logo

2lambda123 / kgb Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 114.29 MB

License: Other

Makefile 0.27% C 97.41% Assembly 2.08% Shell 0.04% C++ 0.05% Awk 0.01% sed 0.01% Python 0.01% GDB 0.01% Raku 0.01% Perl 0.08% UnrealScript 0.01% Yacc 0.02% Lex 0.01% Roff 0.01% Scilab 0.01% Classic ASP 0.01% XS 0.01%

kgb's Introduction

	KGB KERNEL - A Kernel for Gingerbread

Linux 2.6.35.7 kernel for SCH-I500 devices running TouchWiz Gingerbread ROMs

Originally based on Samsung's EH09 source drop for Mesmerize. Relevant updates have been made from EI20 and EH03.


	BUILDING THE KERNEL

1. Set up a build environment.

2. Obtain and install/unpack an appropriate cross-compiler toolchain targeting the ARM architecture, such as Sourcery Lite arm-2011.03 GNU/Linux.

Edit build.sh and set TOOLCHAIN and TOOLCHAIN_PREFIX. Also edit Makefile and set CROSS_COMPILE. These should correspond to the location of the toolchain and the filenames within the /bin directory where the toolchain is installed.

For example, if you installed Sourcery Lite arm-2011.03 GNU/Linux to /opt/toolchains/arm-2011.03:
TOOLCHAIN=/opt/toolchains/arm-2011.03/bin
TOOLCHAIN_PREFIX=arm-none-linux-gnueabi-
CROSS_COMPILE=/opt/toolchains/arm-2011.03/bin/arm-none-linux-gnueabi-

3. Run one of the following from the command line:
./build.sh  (Build the kernel)
./build_log.sh (Build the kernel, and log the process to a text file in the kernel source directory)

4. Copy the Odin and/or CWM packages that are created in /build/out to somewhere else.
The build script automatically deletes /build/out at the beginning of every build.


	NOTES

Directories:
/build: Catch-all for kernel build-related files that aren't technically part of the source tree

/build/initramfs: initramfs template
/build/update-zip: CWM zip package template

/build/initramfs-*: Unmodified initramfs's extracted from stock EH09, EI20, and EH03 kernels (for reference)

/build/bin: Working directory for build script during kernel build process
/build/out: Output directory for Odin- and CWM-compatible packages

Files:
/build.sh: Build script
/build_log.sh: Log wrapper for build script
/arch/arm/configs/kgb_defconfig: Default kernel configuration template

kgb's People

Contributors

kangtastic avatar colincross avatar jeromemarchand avatar dotnwat avatar tytso avatar existz avatar arco avatar ashish-s-sharma avatar dmullis avatar jpa468 avatar l1viathan avatar kyungmin-park avatar compudj avatar myungjoo avatar nickkral avatar nmenon avatar penify-dev[bot] avatar

Watchers

Robert Bongart (MSc MSc MA) avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.