[linux-sunxi] Nand partition does not work!

2015-02-01 Thread Toroshin Dmitry
Hello. It seems that your device uses non-standard good block ratio that is not supported by sunxi nand driver. Does it work on sdk lichee kernel? -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving

[linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-30 Thread Toroshin Dmitry
Hello Can you post dmesg output after inserting module? It seems that it erase whole nand flash when somethink wrong. Of cause it must be fixed before trying to merge it to kernel tree. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscr

[linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-30 Thread Toroshin Dmitry
Of cause it must be fix On Friday, January 30, 2015 at 9:05:46 PM UTC+6, Luca M. wrote: > > Hello, > I've tried driver at > https://github.com/mittorn/sun7i-nand-sunxi > with 3.4.105 kernel. Module is loaded but I have a segfault message. > No device appear under /dev/ > Another strange thing is

[linux-sunxi] Re: Difference in DRAM Registers on sunxi and lichee kernels

2015-01-18 Thread Toroshin Dmitry
I cannot upload dump output files because of stupid google groups restrictions -- 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 linux-sunxi+unsubscr...@googlegrou

[linux-sunxi] Difference in DRAM Registers on sunxi and lichee kernels

2015-01-18 Thread Toroshin Dmitry
Meminfo works strange on lichee kernel: on first boot zq is 0x7f, but after standby it is 0x12b73b7f I added this fucntion to meminfo utility to get full dram register dump on a20: static int sun4i_dram_regs_print(void) { void *base; base = mmap(NULL, SUN4I_IO_DRAM_SIZE, PROT_READ

Re: [linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-16 Thread Toroshin Dmitry
On Friday, January 16, 2015 at 12:43:46 AM UTC+6, Alejandro Mery wrote: > > Hi, > > On 15.01.2015 14:26, Toroshin Dmitry wrote: > > > > > > On Thursday, January 15, 2015 at 6:38:20 PM UTC+6, Mohamed MEDIOUNI > wrote: > > > > just crashes

[linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-15 Thread Toroshin Dmitry
On Thursday, January 15, 2015 at 6:38:20 PM UTC+6, Mohamed MEDIOUNI wrote: > > just crashes after insmod ( 3.4.79) > > Le mardi 13 janvier 2015 16:09:07 UTC, Toroshin Dmitry a écrit : >> >> >> >> On Tuesday, January 13, 2015 at 9:56:03 PM UTC+6, Mohamed MEDIOU

[linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-15 Thread Toroshin Dmitry
On Thursday, January 15, 2015 at 12:23:59 AM UTC+6, Tim Tisdall wrote: > > On Tuesday, 13 January 2015 11:09:07 UTC-5, Toroshin Dmitry wrote: >> >> sunxi-3.4 nand format is incompatible with lichee-3.4 (sdk kernel). >> You can try this port of new nand driver: >&g

[linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-13 Thread Toroshin Dmitry
On Tuesday, January 13, 2015 at 9:56:03 PM UTC+6, Mohamed MEDIOUNI wrote: > > Loading sunxi_nand in the Kurio7S just makes 100% CPU usage for nandd > without working access sunxi-3.4 nand format is incompatible with lichee-3.4 (sdk kernel). You can try this port of new nand driver: https://git

[linux-sunxi] Re: Use H264 to Encode VideoOutput

2015-01-09 Thread Toroshin Dmitry
On Friday, January 9, 2015 at 5:00:05 PM UTC+6, Laurent d'Havé wrote: > > Hello > > I'd like to know if it's possible to use the video encoder to save to file > the video output ? > > So the device would output to hdmi , and in the same time, save to file > what is displayed. > > I'm waiting on

[linux-sunxi] Re: [Question]Allwinner A20 DirectFB.

2015-01-08 Thread Toroshin Dmitry
On Monday, January 5, 2015 11:04:09 AM UTC+6, 김기범 wrote: > > HI. > > > > DirectFB using the current Linux-A20 will be configured from the GUI. > > > > However, only one layer is made in creating a Layer DirectFB. > > > > Below is a debug message when running the arm-linux-dfbinfo's provided

[linux-sunxi] Re: Mainline U-Boot, EHCI, usbkbd not working (workaround)

2015-01-04 Thread Toroshin Dmitry
On Sunday, January 4, 2015 7:45:48 PM UTC+6, Lars Doelle wrote: > > Hi everyone, > > while testing with mainline u-boot, I came over the > problem, that the USB keyboard is not recognized. > > The device is an A20-OLinuXIno-LIME2. I used the > current A20-OLinuXino-Lime2_defconfig for buildin

Re: [linux-sunxi] What status of suspend support on A20?

2015-01-03 Thread Toroshin Dmitry
; > 2015-01-03 15:16 GMT+05:00 Toroshin Dmitry >: > >> >> >> On Friday, October 10, 2014 4:33:51 AM UTC+7, Siarhei Siamashka wrote: >>> >>> On Wed, 10 Sep 2014 03:52:38 -0700 (PDT) >>> Toroshin Dmitry wrote: >>> >>> > I ha

Re: [linux-sunxi] What status of suspend support on A20?

2015-01-03 Thread Toroshin Dmitry
On Friday, October 10, 2014 4:33:51 AM UTC+7, Siarhei Siamashka wrote: > > On Wed, 10 Sep 2014 03:52:38 -0700 (PDT) > Toroshin Dmitry > wrote: > > > I have Wexler.tab 7200 with broken standby mode in sunxi kernel (in aw > > kernel suspend works). > > I have

[linux-sunxi] Touch device driver for gt9xx

2014-12-23 Thread Toroshin Dmitry
Try https://github.com/reinforce/gt9xx . It is WIP now, but you can try to debug it. -- 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 linux-sunxi+unsubscr...@goog

[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-21 Thread Toroshin Dmitry
Hi Punith, Try run fbset -xres 720 -yres 480 -x -a before starting Xorg, it works for me with LCD+HDMI configuretion. Why didn't you try 480p HDMI mode? Regards Dmitry On Wednesday, November 19, 2014 5:54:27 PM UTC+6, Puneet B wrote: > > Hi Dmitry, > > Thanks for your reply, Here my update i

[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-14 Thread Toroshin Dmitry
Hi Punith. I have not tested hdmi and dual-screen on android, i only tested scaler and it worked. Also i tried to change framebuffer size by fbset. I used fbset -xres 1600 -yres 900 -vxres 1600 -vyres 900 -depth 16 -rgba 5,6,5,0 -a -x in fbcon and started Xorg after that. a10disp already uses f

Re: [linux-sunxi] [PATCH] remove sunxi_nand from sun7i_defconfig

2014-11-12 Thread Toroshin Dmitry
I think, we need to port new nand driver to sunxi kernel as separate driver. I have got sdk driver to work with sunxi kernel (rewrite gpio and script fetching), but it is in /modules dir and. it is need to be integrated to drivers tree and renamed. Allwinner.has changed format in some cases, it

[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-12 Thread Toroshin Dmitry
Try separate screen configuration, it is more stable. try last version of a10disp. It has instruction to enable dual screen after boot. Disable scaler before readfbinfo command. If you only need vdpau support, try to fix OSD mode in patch, https://github.com/linux-sunxi/libvdpau-sunxi/issues/32

[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-11 Thread Toroshin Dmitry
Hello. It is possible to change framebuffer size using fbset. Use fbset -a -x -xres 720 -yres 480 to reduce framebuffer resolution. Set 480p mode on hdmi to make same resolution and use scaler of you HDMI TV/monitor. Try different size modes on TV to get whole screen visible. You also can use bi

[linux-sunxi] Re: Add sun7i-nand initial support

2014-10-29 Thread Toroshin Dmitry
On Tuesday, July 16, 2013 3:08:46 PM UTC+7, Huang Benn wrote: > > dear, all > > I've merged sun7i-nand driver from 3.3 to stage-3.4 at > github.com/cubieboard2(branch hans-sunxi-3.4). > > I split the driver to 2 part, nandlib and nand in kernel tree. It seem > work on cubieboard2, > I create a

[linux-sunxi] Is there any way to reduce DRAM power usage on sun7i?

2014-10-28 Thread Toroshin Dmitry
It seems that DRAM controller uses too much power. While i was trying to fix mystically broken dram self-refresh mode in sunxi kernel on my tablet, i wrote this patch: http://pastebin.com/6My1nzqq It allows to skip entering self-refresh mode and disabling Pll5 and avoids crash on Wexler tab 7200

Re: [linux-sunxi] How to enable bluetooth power

2014-09-29 Thread Toroshin Dmitry
I changed code to this: <-->sw_usb_enable_hcd(usb_wifi_host); <-->sw_usb_enable_hcd(1); <-->u32 pio_hdle = gpio_request_ex("bt_para", NULL); <-->if(pio_hdle) <-->{ gpio_write_one_pin_value(pio_hdle, 1, "bt_wake"); <--><-->gpio_write_one_pin_value(pio_hdle, 1, "bt_p

Re: [linux-sunxi] How to enable bluetooth power

2014-09-29 Thread Toroshin Dmitry
; >> > >> > >> On Sat, Sep 27, 2014 at 9:13 PM, Toroshin Dmitry > wrote: > >> > >> > I have unnamed A10 tablet with RDA bluetooth on serial. > >> > >> > Bluetooth adapter seems to be disabled by default. > >> >

[linux-sunxi] How to enable bluetooth power

2014-09-27 Thread Toroshin Dmitry
I have unnamed A10 tablet with RDA bluetooth on serial. Bluetooth adapter seems to be disabled by default. In stock gpl-violating kernel it controls by /sys/class/usb_wifi/rtl_wifi/bt hciattach shows this before bt enabled: ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow opt=110 opt=115 ch

[linux-sunxi] Re: encode video stream to h264 via CedarX VPU !?

2014-09-11 Thread Toroshin Dmitry
I think it is impissible to run decoder and encoder at the same time because it uses same memory regions. But you can try to write converter you need. Decoder and encoder uses same libraries. Try look at the sample codes and encode each frame after encoding. Other way is decoding some count of fr

[linux-sunxi] Re: encode video stream to h264 via CedarX VPU !?

2014-09-10 Thread Toroshin Dmitry
There is softfloat. It can work on armhf, bus static linking is impossible, but you can link it to shared object and load dinamicly like libhybris (simply use libhybris with android version. As alternative you can use PoC opensource encoder, that can encode only I frames. It has very hing bitrat

Re: [linux-sunxi] Differences between Allwinner's u-boot and kernel and uboot-sunxi/linux-sunxi on sun7i

2014-09-10 Thread Toroshin Dmitry
On Wednesday, September 10, 2014 2:23:57 AM UTC+7, Henrik Nordström wrote: > > tis 2014-09-09 klockan 11:01 -0700 skrev Toroshin Dmitry: > > I tried to use kexec to boot kernel. > > Kexec from sdk/stock kernel works only with sdk kernels, kexec from > linux-sunxi kernel

[linux-sunxi] What status of suspend support on A20?

2014-09-10 Thread Toroshin Dmitry
I have Wexler.tab 7200 with broken standby mode in sunxi kernel (in aw kernel suspend works). I have tried to debug standby code using RTC to trace it (i have no access to UART now), it hangs after this lines in dram.c: reg_val = mctl_read_w(SDR_DCR); reg_val &= ~(0x1fU<<27); reg_val |= 0x12U<<27

[linux-sunxi] Differences between Allwinner's u-boot and kernel and uboot-sunxi/linux-sunxi on sun7i

2014-09-09 Thread Toroshin Dmitry
I tried to use kexec to boot kernel. Kexec from sdk/stock kernel works only with sdk kernels, kexec from linux-sunxi kernel works only with sunxi. sdk' kernel is unuseful because g2d API is broken, usb sometimes crashes (NPD somewhere in usb code). -- You received this message because you are s