Skip to content

kumajaya/android_kernel_samsung_lt02_modules

Repository files navigation

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!

About

Samsung SM-T21x Marvell PXA988 kernel modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published