Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
leio_ has quit [Read error: Connection reset by peer]
leio has joined #linux-sunxi
leio_ has joined #linux-sunxi
leio has quit [Ping timeout: 264 seconds]
leio has joined #linux-sunxi
leio__ has joined #linux-sunxi
leio_ has quit [Ping timeout: 264 seconds]
leio has quit [Ping timeout: 264 seconds]
leio_ has joined #linux-sunxi
fire855 has quit [Ping timeout: 240 seconds]
leio has joined #linux-sunxi
leio__ has quit [Read error: Connection reset by peer]
khuey is now known as khuey|away
leio_ has quit [Ping timeout: 240 seconds]
leio_ has joined #linux-sunxi
leio has quit [Ping timeout: 265 seconds]
buZz has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
buZz is now known as Guest81059
Guest81059 is now known as buZz
Ueno_Otoko_ has joined #linux-sunxi
leio has joined #linux-sunxi
leio_ has quit [Ping timeout: 264 seconds]
leio has quit [Ping timeout: 264 seconds]
premoboss has quit [Ping timeout: 256 seconds]
leio has joined #linux-sunxi
premoboss has joined #linux-sunxi
khuey|away is now known as khuey
apritzel has quit [Ping timeout: 248 seconds]
vishnup has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
khuey is now known as khuey|away
leio has quit [Ping timeout: 240 seconds]
leio has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
iamfrankenstein1 is now known as iamfrankenstein
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
robogoat has quit [Ping timeout: 272 seconds]
robogoat has joined #linux-sunxi
hipboi has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<MoeIcenowy> excuse me
<MoeIcenowy> I finally got a mainline kernel booted on my Aoson M751s yesterday
<MoeIcenowy> (A33
<MoeIcenowy> I used the generic Q8 dt
<MoeIcenowy> simplefb works fine
<MoeIcenowy> but OTG keyboard seems to be not working
<MoeIcenowy> (It works in u-boot
<wens> getting a oops in brcmfmac on 4.5-rc1 :(
hipboi has quit [Quit: This computer has gone to sleep]
hipboi has joined #linux-sunxi
avph has quit [Ping timeout: 245 seconds]
<wens> seems fixed
naobsd has joined #linux-sunxi
reinforce has joined #linux-sunxi
avph has joined #linux-sunxi
reinforce has quit [Client Quit]
<wens> maz_: ccaione: thanks for find it
hipboi has quit [Quit: This computer has gone to sleep]
premoboss has quit [Ping timeout: 265 seconds]
Nyuutwo has quit [Ping timeout: 276 seconds]
hipboi has joined #linux-sunxi
vishnup has quit [Quit: Connection closed for inactivity]
premoboss has joined #linux-sunxi
<MoeIcenowy> how to enable the OTG USB in a sunxi kernel?
Ueno_Otoko_ has quit [Ping timeout: 250 seconds]
Ueno_Otoko_ has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
p1u3sch1 has quit [Ping timeout: 250 seconds]
p1u3sch1 has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
TheSeven has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
orly_owl has quit [Ping timeout: 264 seconds]
vishnup has joined #linux-sunxi
kaspter has joined #linux-sunxi
orly_owl has joined #linux-sunxi
hipboi has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
Azathtot has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
sunxi_fan1 has quit [Ping timeout: 264 seconds]
petr has quit [Remote host closed the connection]
petr has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
premoboss has quit [Ping timeout: 250 seconds]
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
<KotCzarny> (position of letter in alphabet - 1) * 32 + pin number
<KotCzarny> hah.
<wens> huh?
<KotCzarny> i was looking for the gpio number of the physical button of the opipc yesterday
<wens> oh
<KotCzarny> its pl03, which means according this formula its 352+3 == 355
codekipper has quit [Ping timeout: 250 seconds]
<KotCzarny> GPIO: '355' not found
<KotCzarny> Command 'gpio' failed: Error -22
<KotCzarny> does it mean gpio is unsupported in uboot on opipc?
<wens> don't think uboot supports gpio
<MoeIcenowy> wens: why cannot my A33 tablet's USB OTG work in the linux kernel?
<MoeIcenowy> I used the Q8 dtb
<MoeIcenowy> (in u-boot usb keyboard is ok
Ueno_Otoko_ has quit [Ping timeout: 264 seconds]
<MoeIcenowy> but under Linux Kernel even the "new usb device" infomation is not present
vishnup_ has joined #linux-sunxi
<wens> do you have all the needed drivers built?
vishnup has quit [Ping timeout: 240 seconds]
buZz has quit [Ping timeout: 240 seconds]
vishnup_ is now known as vishnup
buZz has joined #linux-sunxi
buZz is now known as Guest31470
Guest31470 is now known as buZz
<jelle> MoeIcenowy: did you insert a usb hotplug driver
<jelle> s/hotplug/gadgets/
<MoeIcenowy> jelle: I have not inserted gadgets drivers
<MoeIcenowy> even no gadget support is compiled
<MoeIcenowy> (I used an OTG wire to connect a USB HUB
<MoeIcenowy> (and a r8712u wireless card and a USB wireless keyboard receiver is on the hub
<MoeIcenowy> the LED on the HUB is lighted
<MoeIcenowy> (the power led
<wens> what about musb? what mode did you compile it in?
<jelle> the otg subsystem requires you to load at least one gadget driver before the controller will do anything in either host or otg mode.
<jelle> that's what I've heard / used for my bananapi
<MoeIcenowy> ?!
<MoeIcenowy> wens: musb?
<MoeIcenowy> I've just seen that the USB bus uses generic EHCI/OHCI
<MoeIcenowy> jelle: but no Peripheral Controller for sunxi can be found in menuconfig
<jelle> o?
<MoeIcenowy> I'm now rebuilding the kernel with CDC Composite Gadget driver built-in
<plaes> MoeIcenowy: you probably need to enable something else to get it
<MoeIcenowy> plaes: ?
<MoeIcenowy> sunxi_defconfig is a terrible thing
<MoeIcenowy> a lot of sunxi-specified drivers are not enabled in it
<plaes> I usually search for symbol and check what other things it requires
<MoeIcenowy> e.g. sunxi_lradc
<plaes> yeah.. it's being slowly improved
<plaes> sunxi_lradc fix should be fixed though
IgorPec has joined #linux-sunxi
<wens> MoeIcenowy: OTG controller is musb, if you don't have it, it won't work obviously
<wens> "Inventra Highspeed Dual Role Controller"
<MoeIcenowy> Symbol: USB_OTG [=n] ?
<wens> you have to enable this and the sunxi glue layer
<wens> USB_MUSB_HDRC
<wens> and build it in host only mode
<MoeIcenowy> Say Y here if your system has a dual role high speed USB controller based on the Mentor Graphics silicon IP. ?
<MoeIcenowy> It seems to be...
<MoeIcenowy> I hate the author of sunxi_defconfig
<MoeIcenowy> I think it must be an quite old guy
<wens> you can always send a patch adding stuff to it :)
<wens> and musb can't really be enabled by default for otg, because it doesn't work
<MoeIcenowy> OK I think I may do it
<MoeIcenowy> Oh?!
<MoeIcenowy> But it should at least be enabled by default, maybe in host-only mode
<MoeIcenowy> (as not all AXP series are ready to work
<wens> if you put it in OTG or gadget mode, it depends on a usb gadget driver loading before it
<wens> host-only might drop some checks, i'm not sure
<wens> probably not good if you had it connected to some other host, and both sides enable power
<MoeIcenowy> (In fact maybe sunxi_defconfig should also contain some other drivers
<MoeIcenowy> (for example, goodix touch driver
<MoeIcenowy> (I think so
premoboss has joined #linux-sunxi
<wens> iirc sunxi_defconfig is more geared towards testing sunxi stuff?
<wens> mripard: ^
<MoeIcenowy> sunxi_defconfig should be out-of-box usable by common sunxi device users
<MoeIcenowy> at least for contained driver
<MoeIcenowy> (My esp8089 and gsl1680 has no mainline driver :'(
<wens> esp8089... no datasheet
<MoeIcenowy> but I have a SDK driver
<wens> gsl1680... leaked datasheet with unlicensed firmware :(
<MoeIcenowy> gsl1680 firmwares are all bad
vishnup has quit [Quit: Connection closed for inactivity]
<wens> so do i, but sdk driver does not have proper license (GPL-compatible)
<MoeIcenowy> oh ?!
<MoeIcenowy> The linux-3.4 lichee at least came with a GPL license
<plaes> MoeIcenowy: there was a WIP mainline patch for gsl1680...
<MoeIcenowy> plaes: really? where?
<plaes> see recent thread in our mailinglist
<wens> i believe hans was also working on gsl, but firmware situation isn't resolved
<MoeIcenowy> my gsl1680 works so bad even with the closed source version in the sdk
<wens> MoeIcenowy: all the files should have a license notice
<plaes> yeah.. gsl requires really weird firmware
matthias_bgg has joined #linux-sunxi
<wens> hmm, found a few old files in the kernel that don't have a separate license notice
<wens> MoeIcenowy: nevertheless, ESP or whatever company that wrote the driver, should expressly release the driver under a GPL compatible license
<wens> it's quite possible people involved in the product just put together all the required drivers without thinking about the legal requirements
<MoeIcenowy> I enabled MUSB
<MoeIcenowy> and my USB didn't still work
hipboi has joined #linux-sunxi
<wens> what options did you enable?
<MoeIcenowy> CONFIG_USB_MUSB_HDRC=y
<MoeIcenowy> CONFIG_USB_MUSB_HOST=y
<MoeIcenowy> And in Platform Glue Layer, there's nothing
<wens> glue layer depends on something else
<mripard> wens: it's aimed at enabling all the controllers in the SoC itself
<MoeIcenowy> oh
<mripard> so musb is definitely part of that
<wens> MoeIcenowy: check these: NOP_USB_XCEIV && PHY_SUN4I_USB && EXTCON && GENERIC_PHY
<jelle> MoeIcenowy: oh I still want to get the gsl1680 working on my q8
<wens> first one is no op USB tranceiver
<MoeIcenowy> jelle: on mainline?
<jelle> MoeIcenowy: yes obviously
<jelle> there is a driver for x86, with DTS support
<MoeIcenowy> tried the userspace driver?
<jelle> MoeIcenowy: didn't work for me
<MoeIcenowy> it seems that the open-sourced version of gsl1680 driver sdk also cannot work for me
<MoeIcenowy> gsl1680 is a big trap
<mripard> MoeIcenowy: and AXP20X_POWER, depending on your board
<MoeIcenowy> we should mention it in the wiki
<MoeIcenowy> mripard: on A33 I think there's no AXP20x, but AXP223
<plaes> MoeIcenowy: please add it
<MoeIcenowy> But I didn't found anything about AXP223
<MoeIcenowy> in kernel configuration
<wens> it's not merged yet, but will be supported by AXP20X driver
<wens> supposedly it should be merged, but mfd maintainer hasn't pushed it out
<MoeIcenowy> Someone are going to give me a GSLx680-powered Windows Tablet
<MoeIcenowy> In the firmware layer, I think GSL touchscreens are 100times bad to Goodixes
<MoeIcenowy> Goodixes have EEPROM for firmware and config
<MoeIcenowy> (It may be why there's a lot of touchscreen panels are shipped with gt series touchscreen ICs)
apritzel has joined #linux-sunxi
<wens> the cheap ones seem to prefer GSL
hipboi has quit [Quit: This computer has gone to sleep]
<MoeIcenowy> but GSLs are usually on the main pcb
<MoeIcenowy> yes GSL is cheaper
<MoeIcenowy> the Windows Tablet which is going to be given to me is even cheaper than most sunxi devices
<MoeIcenowy> it costs only ¥300
mzki has joined #linux-sunxi
ssvb has quit [Quit: Leaving]
<MoeIcenowy> Congrats! My USB works
vishnup has joined #linux-sunxi
ssvb has joined #linux-sunxi
<MoeIcenowy> It seems that removing a SD card when the system is running may occur to a lot of printk message that won't end
<MoeIcenowy> (sun8iw5p1, mainline kernel
<wens> isn't that your rootfs?
<MoeIcenowy> it is
<plaes> then stop doing it ;)
<MoeIcenowy> but the same thing seems to be not going to happen on x86 if you remove a usb stick contains rootfs
<MoeIcenowy> only some lines of errors will occur
<maz_> MoeIcenowy: oh yes it is going to annoy the hell of the kernel.
<maz_> noeit might not say much, but it will be essencially dead.
apritzel1 has joined #linux-sunxi
<apritzel1> jemk: mripard: wens: the root compatible string was exactly the culprit of my UART issue
<apritzel1> the second thing that made it stop was the CPU clock being halted due to not being marked as critical
<apritzel1> so thanks very much for your input
<mripard> apritzel1: great
<apritzel1> now only the MMC isn't working yet, the sunxi-mmc driver returns -EPROBE_DEFER everytime, I just have to find out _exactly_ why
<apritzel1> and thanks for the pointer to clk_summary in debugfs, that is really very helpful!
<mripard> apritzel1: probably a resource driver that doesn't (or fails to) load
<mripard> take a look at your clocks, regulators, reset lines
<apritzel1> right, I found those too
<apritzel1> I just need to add printk to tell me exactly which resource is missing
<apritzel1> (it doesn't tell you in case it defers the load)
Ueno_Otoko_ has joined #linux-sunxi
<MoeIcenowy> I found a bug
<MoeIcenowy> after I executed systemctl poweroff
<MoeIcenowy> the LCD backlight is down
<MoeIcenowy> the system seems to be down
<MoeIcenowy> but Vbus is still up
<MoeIcenowy> the indicating LED on my USB HUB is still lighted
paulk-collins has joined #linux-sunxi
apritzel has quit [Ping timeout: 248 seconds]
<wens> MoeIcenowy: because there's no driver to turn it off
lemonzest has joined #linux-sunxi
<ssvb> wens: what is the right interface clock speed for the sdhc cards? is it 50MHz?
<ssvb> appears that all my spare micro sd cards don't fail if it is misconfigured as 100MHz
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<wens> ssvb: they seem to be able to run at speeds lower than the configured rate, just slower
ricardocrudo has joined #linux-sunxi
hipboi has joined #linux-sunxi
hipboi has quit [Client Quit]
<ssvb> wens: hmm, how does it work in practice? If somebody requests 50MHz in U-Boot here - http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/mmc/sunxi_mmc.c;h=e717c44216297fba3583098fad6cb20da8c58d98;hb=fa85e826c16b9ce1ad302a57e9c4b24db0d8b930#l87
<ssvb> wens: but we configure 100MHz instead, then what happens?
<wens> i guess the card can't keep up and you get a bunch of errors?
<ssvb> wens: experiments with 4 micro sd cards show that they seem to be working seemingly fine
<wens> hmm
<wens> no idea :|
<ssvb> wens: in fact I have a "bad" full size sd card, which fails with odroid-x board - http://lists.denx.de/pipermail/u-boot/2015-October/230749.html
vishnu_ has joined #linux-sunxi
<wens> it would depend on a number of hardware properties, like is the output able to produce a proper waveform at that rate
<wens> whether the delays between card clock, data and cmd input/output are correct so both the card and the host can sample bits from the signal
<wens> and whether the card can deliver at such high a rate
<wens> feels like overclocking :p
<ssvb> yes, maybe my micro sd cards are all new and fast, and can tolerate such major overclocking
<wens> also the write/erase cycle might be shortened and become inoperable
<wens> s/inoperable/unreliable/
<ssvb> I wish I had an adapter from a full size sd to micro sd, so that I could try that old problematic sd card in sunxi devices
<ssvb> plaes: yes, thanks, I mean that I just don't have such adapter here and now
<ssvb> plaes: buying it may take time
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
<KotCzarny> MoeIcenowy: thats because mmc is compiled with 'assume sd card not removable' maybe?
<lordlod> Hi, does anyone have some tips on rotating a FB screen in X?
<lordlod> I added the following to xorg.conf, now I have a rotated screen but it sits in the center vertically with the unrotated (800x480) resolution, rather than 480x800
<lordlod> Option "Rotate" "CW"
<lordlod> KotCzarny: Thanks I have that but it just does the terminal, doesn't seem to impact X
<KotCzarny> does xrandr works?
<KotCzarny> *work
<lordlod> not to rotate
<lordlod> and once I put the manual rotate line in xorg.conf it disables xrandr completely
paulk-collins has quit [Remote host closed the connection]
<ssvb> wens, jemk, apritzel1: this may be a necessary fix for the A64 U-Boot - https://github.com/ssvb/u-boot-sunxi/commit/921ff68d0d7aaf70ffc4957a01018b43215fa0f9
<ssvb> wens: ^ could you probably have a look at it?
<ssvb> as I said, I'm a bit puzzled why it was working in the first place, and would really like to try my old full sized slow (class 4) sd card which failed to work at 100 MHz in ODROID-X
<KotCzarny> ssvb: alien interference?
<KotCzarny> or just interference in general
<ssvb> well, it would be great if somebody could maybe check the real mmc interface clock speed with an oscilloscope
<KotCzarny> drat
<KotCzarny> either my enclosure sucks or opipc fails with huge usb transfers
paulk-collins has joined #linux-sunxi
<lordlod> argh, fixed my problem... after a number of hours. The program I was launching was hardcoded to 800x480, X was fine.
<KotCzarny> :)
vishnup has quit [Quit: Connection closed for inactivity]
<wens> ssvb: could you also dump the registers of mmc mod clock?
orly_owl has quit [Ping timeout: 260 seconds]
<ssvb> wens: SDMMC0_CLK_REG or maybe SMHC_CLKDIV?
IgorPec has joined #linux-sunxi
premoboss has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
<tkaiser> BTW: Orange Pi PC and the other H3 models aren't discontinued: http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect&goto=findpost&ptid=1010&pid=9055
<ssvb> wens: it would be probably much more efficient if you investigated all of this yourself (as you already have some experience with mmc)
<tkaiser> Just out of stock and will be produced after end of Spring Festival
<KotCzarny> i wonder how much more would opipc would cost with 2GB ram?
<ssvb> wens: I just don't feel comfortable trying to fix a problem that I even can't reproduce, and I also don't have much experience with the mmc driver
<jemk> ssvb: i measure 50MHz without your patch and 25MHz with patch
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<wens> hmm
<ssvb> jemk: thanks! does it mean that H3 is using 25 MHz clock speed for the SD card instead of 50 MHz or we are missing something else?
<jemk> maybe, i'll measure that too later, have to go now
focus has quit [Remote host closed the connection]
focus has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<wens> supposedly the mod clock would match the card clock
<wens> unless for ddr
<KotCzarny> uh oh
<KotCzarny> corruption
<MoeIcenowy> cpufreq for a33 is not ready yet for mainline?
avph has quit [Ping timeout: 245 seconds]
<MoeIcenowy> In addition
<MoeIcenowy> why is my kernel booted by bootz booted in SVC mode?
<MoeIcenowy> rather than HYP?
avph has joined #linux-sunxi
matthias_bgg has quit [Remote host closed the connection]
focus has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
<mripard> which u-boot are you using?
<MoeIcenowy> mainline
<MoeIcenowy> it's ok now
<MoeIcenowy> I set bootz_boot_mode to nonsec
<MoeIcenowy> the mainline kernel seems to be fastly power-comsuming now
<MoeIcenowy> I'm now running with a 5v 2a dc input
<mripard> yeah, we don't have any kind of power management for the A33 right now
ssvb has quit [Remote host closed the connection]
focus has joined #linux-sunxi
IgorPec has joined #linux-sunxi
jemk has quit [Quit: Lost terminal]
bonbons has joined #linux-sunxi
jemk has joined #linux-sunxi
<jemk> ssvb: wens: both H3 and A64 have correct 50MHz without the patch, but A64 has only 200kHz when it should have 400kHz ?!
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 264 seconds]
<KotCzarny> it says something about build/software quality, bpi-r1 is stable with usb hdd, opi pc is not
hipboi has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
hipboi has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-sunxi
fire855 has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
ssvb has joined #linux-sunxi
hipboi has joined #linux-sunxi
apritzel has joined #linux-sunxi
Azathtot has quit [Quit: Page closed]
cnxsoft has quit [Quit: cnxsoft]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
hipboi has quit [Ping timeout: 250 seconds]
hipboi has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
<ssvb> KotCzarny: what kind of bootloader & kernel are you using on opi pc?
p1u3sch1 has joined #linux-sunxi
<KotCzarny> mainline uboot and loboris kernel 3.4.39 (trying to recompile kernel now)
<KotCzarny> k, will do (now i have serial cable)
<ssvb> testing your use case with a 4.x kernel would be also interesting
<KotCzarny> i need hdmi, network, smp and power management at least
<KotCzarny> is it already in mainline?
<ssvb> not yet
<KotCzarny> i can switch network with usb if its the blocker
<ssvb> usb support is still also available as separate patches for the mainline kernel, but you can nevertheless test your usb hard drive and see if it works reliable or not
<KotCzarny> simple test is just copying 4GB file from sd to usb(ssd)
hipboi has quit [Quit: This computer has gone to sleep]
apritzel has quit [Ping timeout: 248 seconds]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
arossdotme-planb has joined #linux-sunxi
hipboi has joined #linux-sunxi
vishnu_ has quit [Quit: Leaving]
vishnup has joined #linux-sunxi
arossdotme has quit [Ping timeout: 264 seconds]
Ueno_Otoko_ has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has joined #linux-sunxi
IgorPec has joined #linux-sunxi
codekipper has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
<KotCzarny> uh, oh, failed at 672, reducing
<KotCzarny> how long shall it run?
engideavr has quit [Quit: Konversation terminated!]
<plaes> until leds stop blinking
<plaes> Orange Pi PC?
<KotCzarny> well, if the test is stable, green will be blinking forever
<KotCzarny> so.. till the end of the world?
<KotCzarny> yeah, opipc
<KotCzarny> just wondering what time it was setup to light the red one
<plaes> ~~20m
<KotCzarny> k
<plaes> at least I am not the only one with failing 672MHz :P
<KotCzarny> :)
<KotCzarny> this opipc is bought second hand
<KotCzarny> dont know what owner was doing with it
<KotCzarny> probably running at 1.5ghz stock
<KotCzarny> i wonder if powersource voltage plays any role in eventual failing
vishnup has quit [Remote host closed the connection]
<plaes> memtester was basically the first thing I ran on my device
vishnup has joined #linux-sunxi
<plaes> could you add your SOC markings to the table too when you're finished testing
<KotCzarny> will do
<KotCzarny> btw. did you try redoing tests wuth heatsink?
<plaes> nope
vishnup has quit [Remote host closed the connection]
<ssvb> KotCzarny: a heatsink is unlikely to be relevant, DRAM chips in Orange Pi PC are DDR3L-1600, but downclocked to DDR3L-1333 speed and operating at reduced voltage 1.35V
<KotCzarny> ssvb: how come they fail then?
<KotCzarny> bad board design?
<ssvb> the DRAM controller in H3 is rated as DDR3-1333, and also PCB tracks routing does matter
<KotCzarny> bad board design then
<ssvb> not necessarily, there are also board specific impedance and delay settings which affect reliability
<KotCzarny> isn't that part of board design?
<ssvb> these settings are configured in software
<KotCzarny> uhum
<ssvb> of course, the hardware design needs to match these software settings to get best results
<ssvb> if they are mismatched, then you need to update either the hardware or the software
<KotCzarny> green blinkin game still going strong
<KotCzarny> quite probable 648 is stable on this board
<ssvb> well, we can't be completely sure (what if it fails after running 1 hour non-stop? or one day? or one week?)
<KotCzarny> yes, i will do longer tests when i finish configuring this board and move to bpi-m1
<ssvb> that's why it is reasonable to reduce the DRAM clock speed by at least one more step to have some safety margin
<ssvb> which looks like 624 MHz may be a good choice for you
<KotCzarny> at 672 it was failing quick 1-2 minutes
apritzel has joined #linux-sunxi
<KotCzarny> ssvb: does mem speed influence usb reliability?
<ssvb> obviously if you have random memory corruption, then you can have all kind of reliability problems
<KotCzarny> hmm, 30 minutes of testing
<KotCzarny> and gotta go, i'll add the result with remarks
<ssvb> thanks!
fredy has quit [Excess Flood]
<ssvb> GeneralS1upid: ^ didn't you have some reliability problems on your Orange Pi PC too, but never had a chance to test it with lima-memtester?
fredy has joined #linux-sunxi
<KotCzarny> added
reinforce has joined #linux-sunxi
<KotCzarny> red led on
<KotCzarny> still blinking
<KotCzarny> k, powering off and i'll add markings
premoboss has joined #linux-sunxi
<KotCzarny> btw. who said opi doesnt work on only usb-otg?
<KotCzarny> i've just disconnected power (leaving otg cable plugged) and it's still blinking
<KotCzarny> my hdmi went black tho, probably not enough power from laptop
<KotCzarny> added
domidumont has quit [Read error: Connection reset by peer]
<ssvb> KotCzarny: which FEX file are you using for your loboris kernel?
<ssvb> KotCzarny: we need to reduce the DRAM clock frequency in it to 624 MHz
<KotCzarny> yeah, did it
<KotCzarny> this is the fex
<KotCzarny> gotta run, bbl
reinforce has quit [Quit: Leaving.]
avph has quit [Ping timeout: 240 seconds]
avph has joined #linux-sunxi
afaerber has quit [Quit: Ex-Chat]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
matthias_bgg has left #linux-sunxi ["Leaving"]
avph has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 248 seconds]
afaerber has joined #linux-sunxi
avph has joined #linux-sunxi
apritzel1 is now known as apritzel
cptG_ has joined #linux-sunxi
cptG has quit [Ping timeout: 276 seconds]
yann|work has quit [Ping timeout: 245 seconds]
domidumont has joined #linux-sunxi
BroderTuck has joined #linux-sunxi
khuey|away is now known as khuey
jstein has joined #linux-sunxi
sarietta has joined #linux-sunxi
NetForHack has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
premoboss has quit [Ping timeout: 264 seconds]
<sarietta> hey all. i'm having an issue re-assigning UART1 from pins PG03/PG04 to PE10/PE11. i have updated my script.fex and removed all console usage lines from boot.cmd and inittab. the specific issue i'm seeing is that while the TX line of UART1 does indeed correctly get remapped to PE10, the RX line of UART1 does not get remapped to PE11.
<sarietta> i have verified that i am sending data over the RX line via a scope, so the issue must be happening either at the OS level or the hardware level
<sarietta> the specific hardware i'm using is an A13
<sarietta> wondering if anyone has seen this issue before and/or knows what the problem/solution might be
premoboss has joined #linux-sunxi
BroderTuck has quit [Quit: Page closed]
afaerber has quit [Quit: Ex-Chat]
sunxi_fan1 has joined #linux-sunxi
Netlynx has joined #linux-sunxi
sarietta_ has joined #linux-sunxi
sarietta has quit [Read error: Connection reset by peer]
premoboss has quit [Ping timeout: 245 seconds]
iamfrankenstein1 has quit [Ping timeout: 245 seconds]
<apritzel> sarietta_: are you sure that there is nothing else resetting the muxer? Can you verify the mux setting?
premoboss has joined #linux-sunxi
yann|work has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
paulk-collins has quit [Quit: Quitte]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
apritzel has quit [Ping timeout: 248 seconds]
mosterta has joined #linux-sunxi
sarietta_ has quit [Remote host closed the connection]
sabresfan03 has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
Nyuutwo has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
mozzwald has quit [Quit: leaving]
sarietta has joined #linux-sunxi
<sarietta> yes. i have grepped the script.fex file to ensure no other entries reference PE11
<sarietta> in addition. under my current configuration, if i connect a serial cable to PG04 for the TX line and PE10 for the RX line, UART1 behaves as expected. if i then switch the TX line of the cable to PE11, the A13 stops being able to receive data
<sarietta> so it's as if something is preventing me from switching RX from PG04 to PE11
<Turl> sarietta: is csi0 disabled?
<Turl> can you paste your fex somewhere?
<GeneralS1upid> ssvb: yes, but it turns out that it was the cuurrent
<sarietta> made*
<sarietta> i did disable csi0
apritzel has joined #linux-sunxi
interrobangd has joined #linux-sunxi
mozzwald has joined #linux-sunxi
mosterta has quit [Ping timeout: 250 seconds]
<Turl> sarietta: did you check the muxes with pio?
<sarietta> Turl: no i haven't tried that. let me give it a look-see
<sarietta> looks correct to me:
<sarietta> PE11<4><1><1>
fire855 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<sarietta> PG04 seems like it's still enabled though...
<sarietta> PG4<4><1><1>
Nyuutwo_ has joined #linux-sunxi
viccuad has joined #linux-sunxi
<Turl> sarietta: try disabling that maybe
<Turl> functions 0/1 are gpio
<sarietta> can i disable directly via pio?
<Turl> pio can change muxings indeed
Nyuutwo has quit [Ping timeout: 276 seconds]
<Turl> (you're using the -m flag right?)
<sarietta> yes
<sarietta> that worked!
<sarietta> so i can at least disable it manually, but still unsure how it is getting enabled in the first place
<Turl> probably uboot
<Turl> isn't it your main console?
<sarietta> yes it is. i guess i will need to recompile uboot to disable it if i want this change to be reflected there huh?
ricardocrudo has joined #linux-sunxi
<Turl> sarietta: yeah, maybe you can just fix it there too so you get the uart on the right port during uboot startup as well
<Turl> http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=blob;f=arch/arm/cpu/armv7/sunxi/board.c;h=7dfb7f5340dba4c93ff3ba7a67c33221aef613c7;hb=d5a3357f1bdf24a2c5df9bc219b963c09dd6c6b3#l43
p1u3sch1 has quit [Ping timeout: 272 seconds]
<sarietta> oh wow. thanks for that link!
<sarietta> and your help Turl. you've really helped me out a lot!
p1u3sch1 has joined #linux-sunxi
<Turl> you're welcome
domidumont has quit [Ping timeout: 246 seconds]
khuey is now known as khuey|away
lemonzest has quit [Quit: Leaving]
Netlynx has quit [Quit: Leaving]
Nyuutwo_ has quit [Ping timeout: 276 seconds]
apritzel has quit [Ping timeout: 248 seconds]
sarietta has quit [Remote host closed the connection]
p1u3sch1 has quit [Ping timeout: 272 seconds]
p1u3sch1 has joined #linux-sunxi
khuey|away is now known as khuey
Nyuutwo has joined #linux-sunxi
afaerber has joined #linux-sunxi
apritzel has joined #linux-sunxi
orly_owl has joined #linux-sunxi
NetForHack has quit [Quit: Leaving]
NetForHack has joined #linux-sunxi
NetForHack has quit [Client Quit]
sarietta has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
vagrantc has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
sarietta has quit [Read error: Connection reset by peer]
sarietta has joined #linux-sunxi
Nyuutwo_ has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 276 seconds]
fl_0 has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 260 seconds]
avph has quit [Ping timeout: 245 seconds]
avph has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
avph has quit [Ping timeout: 240 seconds]
avph has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
naobsd has quit [Remote host closed the connection]
apritzel1 has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 272 seconds]
ricardocrudo has joined #linux-sunxi
viccuad has quit [Quit: WeeChat 1.4]
p1u3sch1 has joined #linux-sunxi
Majestix has joined #linux-sunxi
mzki has quit [Quit: leaving]
Majestix has quit [Ping timeout: 252 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
avph has quit [Ping timeout: 245 seconds]
interrobangd has quit [Quit: Leaving]
avph has joined #linux-sunxi
Nyuutwo_ has quit [Ping timeout: 276 seconds]
Nyuutwo has joined #linux-sunxi
apritzel has quit [Ping timeout: 248 seconds]
jstein has quit [Read error: Connection reset by peer]
ricardocrudo has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
sunxi_fan1 has quit [Ping timeout: 250 seconds]