rellla 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 - *only registered users can talk*
ninolein has quit [Ping timeout: 252 seconds]
ninolein has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]
BenG83 has quit [Ping timeout: 252 seconds]
jstefanop has joined #linux-sunxi
shfil has quit [Quit: Connection closed for inactivity]
jstefanop has quit [Ping timeout: 245 seconds]
suprothunderbolt has joined #linux-sunxi
tllim has joined #linux-sunxi
OutBackDingo has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
book`_ has joined #linux-sunxi
book` has quit [Ping timeout: 272 seconds]
BenG83 has joined #linux-sunxi
OutBackDingo has joined #linux-sunxi
noblock has quit [Remote host closed the connection]
megi has quit [Ping timeout: 252 seconds]
lurchi_ is now known as lurchi__
cnxsoft has joined #linux-sunxi
Harrier has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
skiboy has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 268 seconds]
NeuroScr has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
TheSeven has quit [Ping timeout: 264 seconds]
[7] has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
indy has quit [Ping timeout: 246 seconds]
jaganteki has joined #linux-sunxi
jstefanop has joined #linux-sunxi
opennandra has joined #linux-sunxi
BenG83 has quit [Ping timeout: 244 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
ldevulder_ has joined #linux-sunxi
jaganteki has joined #linux-sunxi
ldevulder_ is now known as ldevulder
jstefano_ has joined #linux-sunxi
jstefanop has quit [Ping timeout: 252 seconds]
ldevulder has quit [Quit: Leaving]
[7] has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jstefano_ has quit [Ping timeout: 252 seconds]
jstefano_ has joined #linux-sunxi
mic-e[m] has quit [Remote host closed the connection]
romainmahoux[m] has quit [Remote host closed the connection]
clementp[m] has quit [Remote host closed the connection]
oliv3r[m] has quit [Read error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
MartijnBraam has quit [Read error: Connection reset by peer]
JuniorJPDJ has quit [Write error: Connection reset by peer]
freddor has quit [Write error: Connection reset by peer]
EmilKarlson has quit [Write error: Connection reset by peer]
psydroid has quit [Remote host closed the connection]
t4h4[m] has quit [Write error: Connection reset by peer]
Jeremy_Rand_Talo has quit [Remote host closed the connection]
solderfumes has quit [Write error: Broken pipe]
davidebeatrici has quit [Write error: Broken pipe]
fevv8[m] has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Write error: Connection reset by peer]
z3ntu has quit [Write error: Connection reset by peer]
k40s[m] has quit [Remote host closed the connection]
jstefanop has quit [Ping timeout: 272 seconds]
dddddd has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 248 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
ldevulder has joined #linux-sunxi
opennandra has quit [Read error: Connection reset by peer]
jstefano_ has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 252 seconds]
warpme_ has joined #linux-sunxi
freddor has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
oliv3r[m] has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
z3ntu has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
solderfumes has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
OutBackDingo has quit [Read error: Connection reset by peer]
OutBackDingo has joined #linux-sunxi
xes has quit [Ping timeout: 246 seconds]
GrimKriegor has quit [Ping timeout: 246 seconds]
opennandra has joined #linux-sunxi
yann has quit [Ping timeout: 244 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
xes has joined #linux-sunxi
megi has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
deesix has quit [Ping timeout: 252 seconds]
dddddd has quit [Ping timeout: 268 seconds]
deesix has joined #linux-sunxi
dddddd has joined #linux-sunxi
<fALSO> bom dia
lurchi__ is now known as lurchi_
xcko has quit [Remote host closed the connection]
yann has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
SopaXorzTaker has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
maz has quit [Remote host closed the connection]
gaston_ has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
maz has joined #linux-sunxi
jaganteki has quit [Remote host closed the connection]
suprothunderbolt has quit [Ping timeout: 246 seconds]
Wizzup has quit [Ping timeout: 252 seconds]
\\Mr_C\\ has joined #linux-sunxi
lurchi_ is now known as lurchi__
Wizzup has joined #linux-sunxi
lurchi__ is now known as lurchi_
kaspter has quit [Quit: kaspter]
Anonops has joined #linux-sunxi
kaspter has joined #linux-sunxi
jaganteki has joined #linux-sunxi
SopaXorzTaker has quit [Ping timeout: 244 seconds]
Anonops has quit [Client Quit]
tnovotny has joined #linux-sunxi
MangyDog has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 248 seconds]
lurchi_ is now known as lurchi__
opennandra has quit [Ping timeout: 272 seconds]
MangyDog has quit [Remote host closed the connection]
opennandra has joined #linux-sunxi
warpme_ has quit [Quit: warpme_]
Mangy_Dog has joined #linux-sunxi
warpme_ has joined #linux-sunxi
<opennandra> hi I'm trying to add bluetooth support for nano-pi-neo2plus
<opennandra> using mainline 5.2-rc I've added dts nodes
<opennandra> for bluetooth under uart3
<opennandra> I have 32KHz clock
<opennandra> but despite of that I have timeouts on hci
<mru> good or bad 32k clock?
gumblex has joined #linux-sunxi
gumblex_ has quit [Ping timeout: 258 seconds]
<opennandra> mru: good 32k clock
<opennandra> but first call to set baudrate fails
<opennandra> then also othes
warpme_ has quit [Quit: warpme_]
<opennandra> BT_RST_N is according /sys/kernel/debug low which is not good IMO
<opennandra> in my case it's G13 -> gpio205
<mru> how do you know the clock is good?
<mru> show us your dts
<opennandra> mru: measured with scope
<mru> where is the 32k clock sourced?
<opennandra> mru: dts: https://pastebin.com/3nJFxV8r
<opennandra> mru: from rtc
<opennandra> device should have AP6212 combo
<opennandra> wifi + bt chip
<mru> is the rtc configured to use the external xtal clock?
<opennandra> mru: sec
<opennandra> mru: nope this is not added
<opennandra> let me try
<opennandra> mru: but in my config CONFIG_RTC_DRV_SUNXI is missing
<opennandra> completely
<mru> maybe enable that
<opennandra> my chip using this: CONFIG_RTC_DRV_SUN6I
<opennandra> I have 64bit cpu
<mru> which soc do you have?
<opennandra> H5
reinforce has joined #linux-sunxi
<mru> ah, the rtc-sun6i driver already selects the external oscillator
<opennandra> ok
<opennandra> weird is also that BT_RET_N is low
<opennandra> gpio-205 ( |shutdown ) out lo ACTIVE LOW
<opennandra> while gpio for wifi simplepwrseq is high as expected:
<opennandra> gpio-359 ( |reset ) out hi ACTIVE LOW
<opennandra> also I've added debug and look like hci_bcm set to 1:
<opennandra> [ 1.483764] Bluetooth: serial0-0: POwer BT (0)[ 1.508562] Bluetooth: serial0-0: POwer BT (1)
<opennandra> it is calling: gpiod_set_value_cansleep which should take into account ACTIVE_LOW flag
<opennandra> hmm measured with scope it's set to 0 because something fails with BT and thus return to reset state
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
tllim has joined #linux-sunxi
warpme_ has joined #linux-sunxi
<opennandra> mru: any other ideas what to check? It looks like all hci commands fails
<mru> can you post the full kernel log?
<opennandra> sec
<opennandra> 0xfc18 is set baudrate command
<opennandra> 0x0c03 is reset
ldevulder_ has joined #linux-sunxi
<mru> try changing max-speed in the dts to 115200
<mru> I couldn't get mine to work any other way
ldevulder has quit [Ping timeout: 245 seconds]
ldevulder_ is now known as ldevulder
<opennandra> mru: I have it already in dts
<opennandra> inspired by yours dts ;)
<mru> the dts you posted had 1500000
<opennandra> yes I've changed it few moments ago
<opennandra> does wifi FW must run in order to have BT working?
Net147 has quit [Quit: Quit]
<mru> I don't think so
<opennandra> mru: ok
<opennandra> just trying to understand why it's not working
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-sunxi
montjoie has quit [Quit: Lost terminal]
afaerber has quit [Quit: Leaving]
dddddd has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 244 seconds]
ldevulder_ is now known as ldevulder
afaerber has joined #linux-sunxi
jaganteki has quit [Remote host closed the connection]
megi has quit [Ping timeout: 245 seconds]
BenG83 has joined #linux-sunxi
warpme_ has quit [Quit: warpme_]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
tllim has quit [Quit: Leaving]
AneoX has joined #linux-sunxi
jstefanop has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
Gerwin_J has joined #linux-sunxi
montjoie has joined #linux-sunxi
cristian_c has joined #linux-sunxi
<cristian_c> sorry; I've found information n0where
<cristian_c> I search for documentation/howtos about connecting ttl usb serial between allwinner and pc
warpme_ has joined #linux-sunxi
<mru> which board?
<cristian_c> the ch340g adapter/converter has two jumpers
<cristian_c> orange pi lite
<cristian_c> I've found no examples about voltages / jumpers / connections of jumper cables
<cristian_c> I just know gnd->gnd, tx ->rx and rx-> tx
<cristian_c> I don't know if second jumper hs to be switched to 3.3 or 5 v, and if the first jumper has to be removee from the 5 pins on the adapter
<mru> you want 3.3 V
<cristian_c> I'vef fpund no examples / info about that
<cristian_c> I can suppose that, but,there is two pin sections on the adapter
<cristian_c> the first section has got three pins
<cristian_c> the second section has got 5 pins
<mru> does the adapter have no documentation?
<cristian_c> I've found no documentation about that
SopaXorzTaker has joined #linux-sunxi
<cristian_c> it's difficult to identify the adapter oem
<cristian_c> I can take a photo of the adapter
<mru> the simple solution here is to buy an ftdi cable instead
<cristian_c> ok, I've taken the photo
<jerbob92> cristian_c, doesn't it have 3 pins on the board?
<cristian_c> yeah, I'm transferring the phot
<jerbob92> It only has 3 pins, you only need to connect gnd/tx/rx
<[TheBug]> um Uusally TTL on Allwinner will be matching, RX > RX TX>TX GND->GND and then don't connect the positive.
<[TheBug]> you should not power board from TTL anyways
<cristian_c> system was freezed
<cristian_c> so I couldn't reply here or paste url until now
<cristian_c> on the right side, txd and rxd are shorted by the second jumper
<jerbob92> cristian_c, what if you remove the jumper and just connect gnd/tx/rx?
<cristian_c> on the left side, 5v and s1 are shorted (not 3v3)
<mru> that photo is rather fuzzy
<cristian_c> jerbob92: I've not tried , fearing to damage the boa5d
<cristian_c> if not well connected
<cristian_c> yeah, the photo it's not well focused
<jerbob92> If you don't connect the 3v3 or 5v, I don't think much happens
<cristian_c> *is
<cristian_c> I'vemlooked for info in order to figure out what jumper was needed between the two existing
<cristian_c> *existing two ones
<jerbob92> Currently your jumper is on tx/rx, doesn't that just create a data loop
<DonkeyHotei> the first jumper should be 3.3v, and the second jumper should be removed altogether
<cristian_c> yeah, ok
<DonkeyHotei> tx on the adapter will go to rx on the board, rx on the adapter will go to tx on the board, gnd will go to gnd, and you're good to go
<cristian_c> the first ju,per 3v3 because uart on h3 allwinner need 3v3, 4ight?
<DonkeyHotei> yes
<cristian_c> yeah,
<jerbob92> cristian_c, no don't connect the 3v3 or 5v
<jerbob92> You only have 3 pins on the board right
<cristian_c> I wonder why the second jumèer exist
<cristian_c> *jumper
<jerbob92> Probably to test whether it works?
<DonkeyHotei> the second jumper is to test the adapter by creating a serial data loopback
<jerbob92> When you connect tx and rx you can just write to the device and then read again from the same machine
<cristian_c> jerbob92: I mean, I should use gnd, tx and rx pins on the right side of the conerter
<jerbob92> Yes :)
<cristian_c> DonkeyHotei: ah, ok, but I don't kn0w about this test
<cristian_c> *know
<DonkeyHotei> do not connect any pins on the right in the pic except tx, rx, gnd
<cristian_c> thanks for the tips
<cristian_c> I've fpund any info abput this adapter because is slightly different than other adapters on the market (so, no exampkes)
<cristian_c> *I've found no info abput
putti_ has joined #linux-sunxi
<cristian_c> btw, thanks for the tips again
Putti has quit [Ping timeout: 244 seconds]
opennandra has quit [Ping timeout: 246 seconds]
Guest31068 has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
putti_ is now known as Putti
jstefanop has quit [Ping timeout: 245 seconds]
yann has quit [Ping timeout: 272 seconds]
jstefanop has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
jstefanop has quit [Ping timeout: 245 seconds]
jstefanop has joined #linux-sunxi
megi has joined #linux-sunxi
SopaXorzTaker has quit [Quit: Leaving]
warpme_ has quit [Quit: warpme_]
jstefanop has quit [Ping timeout: 268 seconds]
<cristian_c> anyway, ssh session works reliably via 'screen' command
<cristian_c> uart gives the advantage to show logmof boot process
<cristian_c> against network boot
_whitelogger has joined #linux-sunxi
vagrantc has joined #linux-sunxi
jstefanop has joined #linux-sunxi
dev1990 has joined #linux-sunxi
Mangy_Dog has quit [Remote host closed the connection]
<jernej> maybe it's mixup with 0x14
Mangy_Dog has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 244 seconds]
<jernej> it should be used constants for 1600 range, not 600
<jernej> Can somebody verify above findings?
tnovotny has quit [Quit: Leaving]
yann has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]
AneoX_ has quit [Quit: Textual IRC Client: www.textualapp.com]
RichardG867 has quit [Ping timeout: 272 seconds]
SopaXorzTaker has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
afaerber has quit [Quit: Leaving]
opennandra has joined #linux-sunxi
<opennandra> mru: I've fixes bluetooth -> BT_RST_N is not active in low but active in high
popolon has joined #linux-sunxi
reinforce has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
putti_ is now known as Putti
cristian__c has joined #linux-sunxi
cristian_c has quit [Ping timeout: 245 seconds]
SopaXorzTaker has quit [Remote host closed the connection]
<willmore> opennandra, active in it asserts reset high?
<willmore> If so, then it shouldn't end in _N
<opennandra> well on schematics it is
<opennandra> so I have gpio ACTIVE_LOW
<opennandra> it was not working but with ACTIV_HIGH it is
<opennandra> I was also confused but
<willmore> Strange.
willmore has quit [Ping timeout: 248 seconds]
NeuroScr has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 246 seconds]
putti_ is now known as Putti
cristian_c has joined #linux-sunxi
cristian__c has quit [Ping timeout: 245 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
NeuroScr has quit [Quit: NeuroScr]
cristian_c has quit [Ping timeout: 272 seconds]
cristian_c has joined #linux-sunxi
cristian_c has quit [Changing host]
cristian_c has joined #linux-sunxi
opennandra has quit [Ping timeout: 258 seconds]
cristian__c has joined #linux-sunxi
cristian_c has quit [Ping timeout: 245 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
tllim has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
<jernej> MoeIcenowy: Do you know if there is any useable documentation for H3 DRAM controller?
<jernej> I plan to add half DQ support to H6, but I'm not sure how to detect that I have to change this parameter
<jernej> bit used in H3 DRAM driver is not documented in Zynq UltraScale+ manual
warpme_ has joined #linux-sunxi
jrg has quit [Ping timeout: 248 seconds]
Putti has quit [Ping timeout: 245 seconds]
jrg has joined #linux-sunxi
afaerber has joined #linux-sunxi
sunshavi has quit [Ping timeout: 248 seconds]
tllim has quit [Quit: Leaving]
BenG83 has quit [Read error: Connection reset by peer]
ldevulder has quit [Ping timeout: 268 seconds]
jbrown has quit [Ping timeout: 252 seconds]
lurchi__ is now known as lurchi_
Nemo_bis has quit [Ping timeout: 272 seconds]
jbrown has joined #linux-sunxi
jstein has quit [Ping timeout: 272 seconds]
popolon has quit [Quit: WeeChat 2.5]
\\Mr_C\\ has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 248 seconds]
netlynx has quit [Quit: Ex-Chat]