[linux-sunxi] Re: Query about Lemaker LCD 3.5 patch

2020-04-08 Thread Igor Pecovnik
Hi,

Well, I am not sure but in should not be much of a difference between 3.5" 
and 7". Its a good reference point if nothing else.

Good luck,
Igor

Dne torek, 07. april 2020 16.10.30 UTC+2 je oseba destroyedlolo napisala:
>
> Hi Igor,
>
> Nice to see U here :)
>
> I did applied the patch manually and was able to compile the DTS.
> As soon as I finished to work, I'll reinstall my bPI system to test and 
> let the group knows if it's working.
>
> Anyway, are you sure GPIO are the sames ? As far I remind, the FEX are 
> different, no ?
>
> Bye
>
> Laurent
>
>

-- 
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...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/feeeb63a-513d-4466-b27a-92264baabe2c%40googlegroups.com.


[linux-sunxi] Re: Query about Lemaker LCD 3.5 patch

2020-04-07 Thread Igor Pecovnik
Here 
https://forum.armbian.com/topic/7233-bananapi-pro-7-touchlcd-with-debian-buster-and-mainline-kernel-5/
 you 
have step by step guide for 7" which is almost identical display.

Dne ponedeljek, 06. april 2020 01.00.25 UTC+2 je oseba destroyedlolo 
napisala:
>
> Hello,
>
> I'm trying to upgrade my BananaPI to latest 5.x kernel. Unfortunately, it 
> doesn't support 3.5 LCD display as per it's DTS.
>
> A found a patch from Paul Kocialkowski : 
> https://lkml.org/lkml/2018/11/7/980
> But despite responses saying patches have been committed, as said the DTS 
> doesn't contain LCD entries and I can even apply sources code :
> As example, in drivers/gpu/drm/sun4i/sun4i_tcon.c some patch's code are 
> included but some other not :(
>
> How can I provide support to this LCD screen ?
>
> Thanks
>
> Laurent
>

-- 
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...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/819f2ba1-e769-45b7-9904-21321a20a0cb%40googlegroups.com.


[linux-sunxi] Re: eMMC memory not visible

2018-11-11 Thread Igor Pecovnik
Do you have CONFIG_MMC_SUNXI_SLOT_EXTRA=2 in the u-boot config?

U-boot/Linux versions are also very old ones ...

Dne ponedeljek, 12. november 2018 00.15.21 UTC+1 je oseba Matthew Bucknall 
napisala:
>
> Hi,
>
> I've built a firmware image for an OrangePI PC Plus (AllWinner H3) using 
> buildroot (U-Boot 2016.11 - the only version I can successfully get to 
> compile, Linux 4.9.0-rc4). The firmware boots fine on SD card, but the eMMC 
> on board the Pi is not seen (I see /dev/mmcblk0 for the SD card, but no 
> /dev/mmcblk1), despite the SD card and eMMC controllers both being listed 
> in uBoot and Linux's DTS files.
>
> As far as I am aware, the H3's SD card and eMMC interfaces both use the 
> same driver. Anyone know what could be wrong?
>
> Thanks,
> Matt.
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: BSP for R18 AVS Dev Kit

2018-08-16 Thread Igor Pecovnik
R18 = A64

I hope that helps.

Dne četrtek, 16. avgust 2018 11.40.02 UTC+2 je oseba mi...@freshkeep.com 
napisala:
>
> Hi All,
>
> Our company is developing an IoT appliance based upon AVS SDK, therefore 
> we've chosen to work with R18 AVS Dev Kit. Our intent is to deploy our 
> custom linux distribution, however it is virtually impossible to find a BSP 
> for this particular board and processor to get started with custom distro 
> for dev kit or with our custom board. There's a plenty of support for other 
> processors, but nothing for this particular one, so I'm really stuck with 
> it. I'm also relatively fresh in embedded linux field, so I might be 
> missing something. Please assist or point me out to any resources that 
> might help.
>
> Best regards,
> Mike
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] "BUG: Bad page state in process ..." on Olimex A64-OLinuXino

2018-03-26 Thread Igor Pecovnik
USB works for me. Didn't check before ... but I did add this to ATF. This 
is boot log:

http://ix.io/12WM


Dne četrtek, 22. marec 2018 21.48.08 UTC+1 je oseba André Przywara napisala:
>
> Hi, 
>
> On 22/03/18 10:45, Martin Lucina wrote: 
> > On Tuesday, 20.03.2018 at 11:10, Andre Przywara wrote: 
> >>> Tried a flash drive in the standard-size USB with these changes, 
> nothing 
> >>> shows up. Is there an easy way of testing the micro-USB (OTG?) port? 
> >> 
> >> Can you try to measure if there is 5V on the outer pins of the USB 
> socket? 
> >> 
> >> For testing I would use an USB-OTG adaptor, that kind of dongle like 
> >> cable with a micro-B plug on one end and an USB A socket on the other 
> >> (used with tablets and phones to connect normal USB peripherals). Then 
> >> use a normal flash drive. This avoids you setting up the USB OTG/device 
> >> stuff in Linux. You might want to use: dr_mode = "host"; in the DT in 
> >> this case. 
> > 
> > Ok, I just measured both ports (via a cannibalised USB cable + OTG for 
> the 
> > micro-USB) and there's no power on either of them. Cross-checked the 
> > measurement setup against an old Thinkpad to be sure. 
>
> OK, remote debugging! 
>
> Can you please try to play around with GPIO PG9 from Linux? Basically: 
> # cd /sys/class/gpio 
> # echo 201 > export 
> # cd gpio201 
> # echo out > direction 
> # echo 1 > value 
>
> And then try to measure the USB voltage again? Try 0 for "value" as 
> well. If the export complains, try to remove the DT parts I gave you 
> (switch back to the normal mainline DT). 201 is ('G'-'A') * 32 + 9. 
> Something like that should enable the voltage on the USB-A socket 
> (regardless of the DT used). 
>
> For the micro-B port: Can you try to add the following line to the ATF 
> source, into plat/sun50iw1p1/sunxi_power.c, somewhere in the 
> pmic_setup() function: 
> sunxi_pmic_write(0x30, sunxi_pmic_read(0x30) | BIT(2)); 
>
> That should power the DRIVEVBUS/N_VBUSEN pin, ideally turning on the 
> power of the OTG port. 
> If that works, I can make a Linux patch to do this there as well. 
>
> Cheers, 
> Andre 
>
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: Sunxi dinner at Fosdem 2018 (sat 3 Feb 8PM at Amadeo)

2018-01-16 Thread Igor Pecovnik
One seat, please :)

Dne ponedeljek, 15. januar 2018 18.44.02 UTC+1 je oseba Benjamin Henrion 
napisala:
>
> Hi, 
>
> Like previous years, the Amadeo restaurant is booked on Sat 3 Feb at 
> 8PM for the Allwinner/Sunxi dinner: 
>
> https://fr.yelp.be/biz/amadeo-bruxelles-3 
>
> Let me know (by private or public email) if you want to reserve a 
> seat, there are 26 available (and maybe more, as Tim from Pine64 
> booked another table with 10 more). 
>
> So feel free to invite more outsiders, the more the better :-) 
>
> Best, 
>
> -- 
> Benjamin Henrion (zoobab) 
> Email: zoobab at gmail.com 
> Mobile: +32-484-566109 
> Web: http://www.zoobab.com 
> FFII.org Brussels 
> "In July 2005, after several failed attempts to legalise software 
> patents in Europe, the patent establishment changed its strategy. 
> Instead of explicitly seeking to sanction the patentability of 
> software, they are now seeking to create a central European patent 
> court, which would establish and enforce patentability rules in their 
> favor, without any possibility of correction by competing courts or 
> democratically elected legislators." 
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] USB boot lost in 4.3+ ?

2016-01-19 Thread Igor Pecovnik
Hello,

In recent kernel(s) CONFIG_PHY_SUN4I_USB is only possible to build as module.
... so we can't boot from USB drive.

I try many combinations, but PHY stays as module.
https://github.com/igorpecovnik/lib/blob/master/config/linux-sunxi-dev.config

Any clues?

BR, Igor

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: USB OTG: not enough bandwidth

2015-12-23 Thread Igor Pecovnik

Thank you. 

I guess this apply for all A10/A20 family? 

Dne sreda, 23. december 2015 15.30.19 UTC+1 je oseba Hans de Goede napisala:
>
> Hi, 
>
> On 23-12-15 14:10, Igor Pecovnik wrote: 
> > Still (4.4.RC5) getting *not enough bandwidth* via musb connection - 
> > already at normal rate speaker-test 
>
> The otg port on the bananapi does not have a proper host controller, 
> instead it uses the musb app gadget controller in host emulation mode, 
> this is known to not work with some devices. You really should use one 
> of the normal usb a ports on the bananapi, which are connected to a proper 
> usb host controller. 
>
> Regards, 
>
> Hans 
>
>
> > 
> > Here is little more debug info: 
> > http://pastebin.com/pPb7cpcc 
> > 
> > Dne sreda, 25. november 2015 19.57.47 UTC+1 je oseba Igor Pecovnik 
> napisala: 
> >> 
> >> I am trying to connect a DAC via OTG port in host mode to Banana PI. Of 
> >> course I am using powered HUB and some devices works fine. Among them 
> one 
> >> DAC (M2Tech Hiface). 
> >> 
> >> 
> >> But I have a problem with another one (Oppo DAC 2.0). It refuses to 
> work 
> >> with (3.4.109 / 4.3.0) while* it works on a normal USB port*. 
> >> 
> >> 
> >> Is there any hope / hint? 
> >> 
> >> 
> >> Igor 
> >> 
> >> 
> >> *Additional info:* 
> >> 
> >> cannot submit datapipe for urb 0, error -28: not enough bandwidth 
> >> 
> >> cannot submit urb 0, error -28: not enough bandwidth 
> >> 
> >> Kernel config for 4.3: http://pastebin.com/ngzS44Wb 
> >> 
> >> aplay -L http://pastebin.com/muvjzCHK 
> >> 
> >> 
> >> 
> >> 
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: USB OTG: not enough bandwidth

2015-12-23 Thread Igor Pecovnik
Still (4.4.RC5) getting *not enough bandwidth* via musb connection - 
already at normal rate speaker-test

Here is little more debug info:
http://pastebin.com/pPb7cpcc

Dne sreda, 25. november 2015 19.57.47 UTC+1 je oseba Igor Pecovnik napisala:
>
> I am trying to connect a DAC via OTG port in host mode to Banana PI. Of 
> course I am using powered HUB and some devices works fine. Among them one 
> DAC (M2Tech Hiface).
>
>
> But I have a problem with another one (Oppo DAC 2.0). It refuses to work 
> with (3.4.109 / 4.3.0) while* it works on a normal USB port*.
>
>
> Is there any hope / hint?
>
>
> Igor
>
>
> *Additional info:*
>
> cannot submit datapipe for urb 0, error -28: not enough bandwidth
>
> cannot submit urb 0, error -28: not enough bandwidth
>
> Kernel config for 4.3: http://pastebin.com/ngzS44Wb
>
> aplay -L http://pastebin.com/muvjzCHK
>
>
>
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: 3.4.104 on A10?

2015-12-01 Thread Igor Pecovnik
https://github.com/igorpecovnik/lib/blob/second/config/linux-sun4i.config

This config that I use for A10 boards.

Dne nedelja, 29. november 2015 09.23.13 UTC+1 je oseba Rudi napisala:
>
> Hi Igor, 
>
> (funny to see the same people in different forums ;) 
>
> > + upgrade all the way to .110 I can confirm it's working fine on 
> Cubieboard 1 Note that patches 
> > not need just work out of the box. I  to fix them. If you want to tray, 
> you can find them 
> > here: https://github.com/igorpecovnik/lib/tree/second/patch/kernel 
> (patch-103-104, 104-105, ...) 
>
> Thanks for the pointer. Maybe I'll try them, but it's all about spare 
> time... 
>
>
> > I use my own configuration and a bundle of patches over it but even 
> without it should work just fine. 
>
> Just out of curiosity: Do you have CONFIG_HAVE_ARCH_SECCOMP_FILTER, 
> CONFIG_SECCOMP_FILTER 
> and CONFIG_SECCOMP enabled? 
>
> Forthermore, does this: 
>
> # CONFIG_KERNEL_GZIP is not set 
> # CONFIG_KERNEL_LZMA is not set 
> # CONFIG_KERNEL_XZ is not set 
> CONFIG_KERNEL_LZO=y 
>
> work for you ? 
>
>
>
> -- 
>
> Ruediger "Rudi" Ihle 
>
>
>

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: 3.4.104 on A10?

2015-11-28 Thread Igor Pecovnik
There are some issues with danand kernel on A10. Some fixing / cleaning is 
needed.

But I don't have problems compiling from main community 
source: https://github.com/linux-sunxi/linux-sunxi

+ upgrade all the way to .110 I can confirm it's working fine on Cubieboard 
1 Note that patches not just work out of the box. I need to fix them. If 
you want to tray, you can find them 
here: https://github.com/igorpecovnik/lib/tree/second/patch/kernel 
(patch-103-104, 104-105, ...)

I use my own configuration and a bundle of patches over it but even without 
it should work just fine.


Dne sobota, 21. november 2015 13.37.30 UTC+1 je oseba ditma...@gmail.com 
napisala:
>
> Try an other kernel from danand or igor. Igor provides kernels for 
> different board. For example cubieboard 1 & 2. 
> http://www.armbian.com

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: USB OTG: not enough bandwidth

2015-11-25 Thread Igor Pecovnik
Yes, visible. 

Dne sreda, 25. november 2015 21.30.44 UTC+1 je oseba ditma...@gmail.com 
napisala:
>
> Is this device visible with lsusb at the otg port ? 

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] USB OTG: not enough bandwidth

2015-11-25 Thread Igor Pecovnik


I am trying to connect a DAC via OTG port in host mode to Banana PI. Of 
course I am using powered HUB and some devices works fine. Among them one 
DAC (M2Tech Hiface).


But I have a problem with another one (Oppo DAC 2.0). It refuses to work 
with (3.4.109 / 4.3.0) while* it works on a normal USB port*.


Is there any hope / hint?


Igor


*Additional info:*

cannot submit datapipe for urb 0, error -28: not enough bandwidth

cannot submit urb 0, error -28: not enough bandwidth

Kernel config for 4.3: http://pastebin.com/ngzS44Wb

aplay -L http://pastebin.com/muvjzCHK



-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.