kernel 3.4 for sunxi platforms Support A31/A31s, A23, A33 and A80 platforms
allwinner-zh / linux-3.4-sunxi Goto Github PK
View Code? Open in Web Editor NEWkernel 3.4 for sunxi platforms
License: Other
kernel 3.4 for sunxi platforms
License: Other
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mrproper
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun8iw7p1smp_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j8 uImage
Results in
CC [M] drivers/video/sunxi/disp2/disp/dev_disp.o
CC [M] drivers/video/sunxi/disp2/hdmi/dev_hdmi.o
CC [M] drivers/video/sunxi/disp2/hdmi/drv_hdmi.o
CC [M] drivers/video/sunxi/disp2/hdmi/aw/hdmi_core.o
CC [M] drivers/video/sunxi/disp2/disp/dev_fb.o
CC [M] drivers/video/sunxi/disp2/disp/dev_disp_debugfs.o
In file included from drivers/video/sunxi/disp2/disp/de/disp_private.h:5:0,
from drivers/video/sunxi/disp2/disp/de/bsp_display.h:4,
from drivers/video/sunxi/disp2/disp/dev_disp_debugfs.h:18,
from drivers/video/sunxi/disp2/disp/dev_disp.h:4,
from drivers/video/sunxi/disp2/disp/dev_disp.c:13:
drivers/video/sunxi/disp2/disp/de/disp_features.h:9:38: fatal error: lowlevel_sun8iw7/de_feat.h: No such file or directory
compilation terminated.
The Power VR G6230 GPU now supports ES 3.2 / Vulkan 1.0. However, the current A80 hive only seems to support ES 3.0.
config sun8iw5
the following error terminates build :
drivers/video/sunxi/disp/de/../OSAL/OSAL_Clock.h:28:45: fatal error: ../de/lowlevel_sun8iw5/de_clock.h: No such file or directory
#include "../de/lowlevel_sun8iw5/de_clock.h"
See this for more details:
http://www.theregister.co.uk/2016/05/09/allwinners_allloser_custom_kernel_has_a_nasty_root_backdoor/
Binary only
Connected PL2303 device run's out of serial devices at random minor numbers.
Mar 1 07:09:09 localhost kernel: [265922.934119] usb 5-1: USB disconnect, device number 83
Mar 1 07:09:10 localhost kernel: [265923.245580] usb 5-1: new full-speed USB device number 84 using sw-ohci
Mar 1 07:09:10 localhost kernel: [265923.451746] pl2303 5-1:1.0: pl2303 converter detected
Mar 1 07:09:10 localhost kernel: [265923.486633] pl2303 5-1:1.0: No more free serial devices
Mar 1 07:09:10 localhost kernel: [265923.496483] pl2303: probe of 5-1:1.0 failed with error -5
Mar 1 07:09:10 localhost mtp-probe: checking bus 5, device 84: "/sys/devices/platform/sw-ohci.2/usb5/5-1"
Mar 1 07:09:10 localhost mtp-probe: bus: 5, device: 84 was not an MTP device
The kernel group thread can be found here.
http://marc.info/?l=linux-usb&m=146846787217550&w=2
It looks like the source for USB OTG or device-mode support is missing? Thanks!
drivers/media/video/sunxi-fd/lib/libfd
Please consider publishing this in source form so a kernel can be lawfully distributed with sunxi_fd driver enabled, or drop support for this module if publishing source is not possible. I have not analyzed the contents of libfd.
With this in binary-only form it is not possible to distribute a resulting kernel with this driver enabled while complying with the kernel GPL license.
This sources can be used for A20 SoC?
If yes witch arch i must used
Philippe
Kernel is very complex thing, so it's very preferred to have commit history imported to repository, git history can be very helpful for issue solving. And necessary to understand changes between source drops
hello allwinner-zh,
I am trying to write a driver for the OV5674 image sensor and I found sources in your repository. What is the status of this driver, which functions are supported?
can't build full stack Mali driver mali_drm.ko from r4p0-00rel0 because absent file drm_sman.h in /include/drm
Here is a working Dmesg:
[ 7.731528] ===========================ft5x_ts_init=====================
[ 7.736088] ctp_fetch_sysconfig_para.
[ 7.745493] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x38, dirty_addr_buf: 0x38. dirty_addr_buf[1]: 0xfffe
[ 7.749723] ctp_fetch_sysconfig_para: ctp_twi_id is 3.
[ 7.754182] ctp_fetch_sysconfig_para: screen_max_x = 800.
[ 7.758623] ctp_fetch_sysconfig_para: screen_max_y = 480.
[ 7.763066] ctp_fetch_sysconfig_para: revert_x_flag = 0.
[ 7.767464] ctp_fetch_sysconfig_para: revert_y_flag = 0.
[ 7.772203] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0.
[ 7.779922] ft5x_ts_init: after fetch_sysconfig_para: normal_i2c: 0x38. normal_i2c[1]: 0xfffe
[ 7.785219] ctp_init_platform_resource: tp_reset request gpio fail!
[ 7.790702] ctp_init_platform_resource: No power port feature present.
[ 7.792230] ctp_wakeup.
[ 7.848058] incomplete xfer (0x20)
[ 7.850541] incomplete xfer (0x20)
[ 7.852936] incomplete xfer (0x20)
[ 7.858881] ctp_detect: Detected chip ft5x_ts at adapter 3, address 0x38
[ 7.862260] ====ft5x_ts_probe begin=====.
[ 7.869659] input: ft5x_ts as /devices/platform/sunxi-i2c.3/i2c-3/3-0038/input/input2
[ 7.874563] ctp_set_irq_mode: config gpio to int mode.
[ 7.880419] ctp_set_irq_mode, 225: gpio_int_info, port = 8, port_num = 9.
[ 7.882413] INTERRUPT CONFIG
[ 7.885093] ==ft5x_ts_probe over =
[ 7.952858] UMP<2>: Inserting UMP device driver. Compiled: Dec 8 2014, time: 18:20:44
[ 7.959953] UMP<2>: Using OS memory backend, allocation limit: 134217728
[ 7.966491] UMP: UMP device driver loaded
Here is a non working Dmesg, I would say 70% of the time I get a non-working TS
[ 12.440073] ===========================ft5x_ts_init=====================
[ 12.448854] ctp_fetch_sysconfig_para.
[ 12.458318] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x38, dirty_addr_buf: 0x38. dirty_addr_buf[1]: 0xfffe
[ 12.462528] ctp_fetch_sysconfig_para: ctp_twi_id is 3.
[ 12.466970] ctp_fetch_sysconfig_para: screen_max_x = 800.
[ 12.471412] ctp_fetch_sysconfig_para: screen_max_y = 480.
[ 12.475799] ctp_fetch_sysconfig_para: revert_x_flag = 0.
[ 12.480155] ctp_fetch_sysconfig_para: revert_y_flag = 0.
[ 12.484872] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0.
[ 12.492520] ft5x_ts_init: after fetch_sysconfig_para: normal_i2c: 0x38. normal_i2c[1]: 0xfffe
[ 12.497804] ctp_init_platform_resource: tp_reset request gpio fail!
[ 12.503288] ctp_init_platform_resource: No power port feature present.
[ 12.504799] ctp_wakeup.
[ 12.554332] incomplete xfer (0x20)
[ 12.556726] incomplete xfer (0x20)
[ 12.559093] incomplete xfer (0x20)
[ 12.561516] incomplete xfer (0x20)
[ 12.608238] UMP<2>: Inserting UMP device driver. Compiled: Dec 8 2014, time: 18:20:44
[ 12.615238] UMP<2>: Using OS memory backend, allocation limit: 134217728
[ 12.620428] UMP: UMP device driver loaded
drivers/net/ethernet/sunxi/eth/sunxi_libgeth
This looks trivial, only mapping to hardware registers. Please consider publishing this in source form so a kernel can be lawfully distributed with sunxi_geth driver enabled.
With this in binary-only form it is not possible to distribute a resulting kernel with this driver enabled while complying with the kernel GPL license.
/drivers/arisc/binary/*
So-core have no any sources and documents.
Allwinner Technology committed to resolving Linux Kernel software issue
Zhuhai, China - Allwinner Technology.Co.Ltd (SHE: CN:300458) is working with its device manufacturers to fix a current software issue. We are aware that code, which was supplied to device manufacturers for the purpose of developing products, should have been removed prior to shipping. We recommend that anyone who is concerned about this issue should contact the relevant device manufacturer.
In relation to the source code on Github, it is released for the open source community only and not for shipping certain devices. Since a debugging function is not needed it has subsequently been removed.
Allwinner is committed to producing quality SoC’s with security a key priority. We are currently working hard to address this issue and revising our current processes so we can continue to evolve our range of SoC’s in the future.
After update kernel tree patch, subdirectories pm and rf from arch/arm/mach-sunxi/ were removed and now during the compiling I have the following errors:
drivers/built-in.o: In function platform_wifi_power_on': :(.text+0x1c94e0): undefined reference to
wifi_pm_get_mod_type'
:(.text+0x1c9548): undefined reference to wifi_pm_power' drivers/built-in.o: In function
platform_wifi_power_off':
:(.text+0x1c95c0): undefined reference to `wifi_pm_power'
and current pm.c looks like fake.
As mentioned in #16 (comment), you still have the root backdoor in the A83T branch..
sigh
Any maintainance for Linux Kernel ? Besides Kernel 3.4, is there any documentation for building current Kernel for allwinner chips, say H3?
Cheers
Pei
will the drivers here will help to detect connected USB HID device.? It is recognized in Nexus 7 tablet but ont on pcDuino3. I am using same app in both.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.