Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dst6se

Pages: [1]
1
And here is a dirty script that do all drbytes steps !

ex

./start.sh

1) Compile_new
2) Compile_update
3) Clean_all
#? 1
Magisk root (y/n)?

it will output a kernel image with the name kernel.img !

Compile_new - does every step including menuconfig
Compile_update - menuconfig again , and recompile
Clean_all - removes every files created by the script

Magisk root - root the image with magisk .


2
Cosmo Communicator - Android / Re: How to compile the Android kernel
« on: August 05, 2020, 06:21:32 am »
Oki , i see , thanks for the help !

3
Cosmo Communicator - Android / Re: How to compile the Android kernel
« on: August 04, 2020, 03:54:56 pm »
Hi !

Im trying to compile ftdi_sio module for android kernel !

Im doing like this

git clone https://github.com/deadman96385/android_kernel_planet_mt6771.git KERNEL
make O=../KERNEL_OUT -C KERNEL ARCH=arm64 k71v1_64_bsp_defconfig
cd KERNEL
make O=../KERNEL_OUT ARCH=arm64  CC=clang  CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-gnu- menuconfig
make -j4 O=../KERNEL_OUT ARCH=arm64  CC=clang  CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-gnu- modules

but when trying to do a insmod on the .ko files I got Exec format error

here is the modinfo

root@homer:/opt/cosmo/KERNEL_OUT/drivers/usb/serial# modinfo ./usbserial.ko
filename:       /opt/cosmo/KERNEL_OUT/drivers/usb/serial/./usbserial.ko
author:         Greg Kroah-Hartman <gregkh@linuxfoundation.org>
description:    USB Serial Driver core
license:        GPL
vermagic:       4.4.146+ SMP preempt mod_unload modversions aarch64
intree:         Y
depends:
srcversion:     319AD7A689B7B86CC90F0E9
parm:           product:User specified USB idProduct (ushort)
parm:           vendor:User specified USB idVendor (ushort)

and

filename:       /opt/cosmo/KERNEL_OUT/drivers/usb/serial/./ftdi_sio.ko
author:         Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>
description:    USB FTDI Serial Converters Driver
license:        GPL
vermagic:       4.4.146+ SMP preempt mod_unload modversions aarch64
intree:         Y
depends:        usbserial


Have i done something wrong ?


Pages: [1]