Coder Social home page Coder Social logo

laufersteppenwolf / android_kernel_samsung_lt02_modules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kumajaya/android_kernel_samsung_lt02_modules

0.0 1.0 0.0 1.66 MB

Samsung SM-T21x Marvell PXA988 kernel modules

C 87.81% Objective-C 6.69% C++ 0.65% Shell 0.51% Perl 4.32% JavaScript 0.02% Ruby 0.01%

android_kernel_samsung_lt02_modules's Introduction

Build kernel and kernel modules for Samsung Galaxy Tab 3 Marvell PXA988
originaly by Ketut P. Kumajaya <ketut.kumajaya at gmail dot com>, Sept 2013

I assume your home directory is /home/kumajaya, kernel source inside /home/kumajaya/android/android_kernel_samsung_lt02

PART I: Build the kernel

1. Create an environtment text file, save it as /home/kumajaya/android/build.env (change CROSS_COMPILE to point to your toolchain):

export CROSS_COMPILE='/opt/toolchains/arm-eabi-4.7/bin/arm-eabi-'
export LDFLAGS=''
export CFLAGS=''
export SUBARCH=arm
export ARCH=arm

2. Import environtment file above (dot+space+build.env), create build directory outside kernel source directory,
and start the building process:

$ cd /home/kumajaya/android/android_kernel_samsung_lt02
$ . /home/kumajaya/android/build.env
$ mkdir -p /home/kumajaya/android/build/lt02wifi
$ make O=/home/kumajaya/android/build/lt02wifi mrproper
$ make O=/home/kumajaya/android/build/lt02wifi VARIANT_DEFCONFIG=blackhawk_lt02wifi_defconfig blackhawk_lt02_defconfig
$ make -j8 O=/home/kumajaya/android/build/lt02wifi

3. Copy the resulting kernel and modules to a binary directory:

$ mkdir -p /home/kumajaya/android/build/lt02wifi-bin
$ mkdir -p /home/kumajaya/android/build/lt02wifi-bin/modules
$ cp /home/kumajaya/android/build/lt02wifi/arch/arm/boot/zImage /home/kumajaya/android/build/lt02wifi-bin/
$ find /home/kumajaya/android/build/lt02wifi/ -type f -name *.ko -exec cp {} /home/kumajaya/android/build/lt02wifi-bin/modules/ \;

PART II: Build kernel modules

I assume your kernel modules source inside /home/kumajaya/android/android_kernel_samsung_lt02_modules

$ cd /home/kumajaya/android/android_kernel_samsung_lt02_modules
$ make clean_modules KERNELDIR=/home/kumajaya/android/build/lt02wifi KERNEL_OUTDIR=/home/kumajaya/android/build/lt02wifi-bin
$ make modules KERNELDIR=/home/kumajaya/android/build/lt02wifi KERNEL_OUTDIR=/home/kumajaya/android/build/lt02wifi-bin

Your kernel ready in /home/kumajaya/android/build/lt02wifi-bin and all kernel modules in /home/kumajaya/android/build/lt02wifi-bin/modules

Congratulations!

android_kernel_samsung_lt02_modules's People

Contributors

kumajaya avatar laufersteppenwolf avatar

Watchers

 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.