I am trying to compile a USB serial driver (ftdi_sio.ko), so the tablet will
recognize FTXXX devices. On my own, I am not having success.
The tablet I have has an A33 processor (Model V11; Processor type QuadCore-A33;
Android 4.4.2; Firmware v2.0; Kernel version 3.4.39 ytx@Android #124 Wed Dec 10
12:06:58 CST 2014; Version D35r_y3-eng 4.4.2 KVT49L 20141211 test-keys).
I downloaded the linux-3.4-sunxi kernel headers/sources and use the following
commands to compile:
---
make clean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun8iw5p1smp_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
--- at this point I modularize "USB SERIAL" and "USB FTDI" to generate
usbserial.ko and ftdi_sio.ko. I also disabled "disp" module because it returned
errors and enabled "PREEMPT" to match the "modinfo vermagic"
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules_prepare
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output
modules_install
---
>From several compilations, I had problems loading the module ("disagrees about
>version of symbol module layout"). First I saw the version is "3.4.39+". I
>tried to change the kernel release version to "3.4.39". Further, I tried to
>change only the "module_layout" id
>(http://stackoverflow.com/questions/2720177/module-layout-version-incompatibility/11115750#11115750),
> but some other errors blowed up (disagrees about symbol version). I realized
>that this is the wrong way.
I think all of this is happening because the linux headers aren't exactly the
same as the used to build originally. Is it right?
How to investigate further? I can send "modinfo" or "readelf" info.
To simplify, can somebody that generated this Linux version just send the
"usbserial.ko" and "ftdi_sio.ko" for this tablet model (specified above)?
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.