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*
TEKrantz has quit [Ping timeout: 265 seconds]
TEKrantz has joined #linux-sunxi
return0e has quit []
gaston1980 has quit [Quit: Konversation terminated!]
return0e has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 246 seconds]
<smaeul> if anyone with an A64/H5/H6 is willing, I'd love for people to test the ATF changes I'm trying to get upstream. does it compile and boot?
<smaeul> this includes AXP805 regulator setup on H6, and crust bringup (note that crust firmware is *not* required -- ATF has existing fallback code)
<smaeul> it's the "crust" branch here: https://github.com/crust-firmware/arm-trusted-firmware
<smaeul> ATF uses gerrit for review, so there's a separate link at review.trustedfirmware.org for each commit, but it's everything open that mentions "allwinner"
<megi> smaeul: is H5 still built as PLAT=sun50i_a64 in your branch?
<megi> I guess it is
<megi> orange pi 3 boots, but has no network
<megi> atf compiled with debug output
<megi> I guess it's good! :)
<megi> no issues after boot
<smaeul> with both ATF and u-boot changes, I get DHCP/TFTP on my Pine H64
<megi> CONFIG_MACPWR="PD6"
<megi> yeah
<megi> though I want to keep u-boot lean and not enable ethernet/net code there
<smaeul> I'm not sure if that config change is needed, but I know the driver change is
<smaeul> megi: thanks for testing!
<megi> how would I make ATF not enable ALDO2?
<smaeul> megi: it checks for regulator-always-on in the DT
<megi> "INFO: PMIC: aldo2 voltage: 3.300V" doesn't mean it is enabling the regulator?
<smaeul> it does, yes
<smaeul> that's only printed for regulators that are enabled
<megi> hmm, I'll check, but I don't think I have always-on
<smaeul> so if there's a phandle reference, it's also enabled
<smaeul> maybe the more correct semantics would be to check regulator-boot-on only
<megi> that would probably be better
<megi> my Linux expects aldo2/PD6 to be disabled at boot
<megi> any mismatch will break it
<smaeul> something in the dwmac driver?
<megi> it's just that phy needs these two being enabled at once together
<megi> it's fine, because current u-boot doesn't touch AXP or the GPIO pin
<smaeul> I have to admit I've never actually booted Linux on H6; I've only gotten to u-boot
<megi> PHY power sequence is finicky, and cooperation between bootloader and kernel is needed on reset for example
<smaeul> but if s/phandle/regulator-boot-on/ works and boots fine, feel free to send a patch
<smaeul> (or tell me and I can, too)
<megi> it would work for me, I really don't understand what problem the phnadle check solves, atm
<megi> what's the reasoning behind it?
<smaeul> you'd have to ask apritzel
<megi> why shout ATF enable all referenced regulators at boot?
<megi> ok
<megi> s/shout/should
<megi> it looks like it would power up everything on board that has a device described in dts
<megi> it just seems weird
<smaeul> yeah I agree
<wens> karlp: no need if mripard_ has accepted them. it just looks a bit off, that's all
megi has quit [Ping timeout: 268 seconds]
<smaeul> so I solved my H64 "Starting kernel ..." hang. "earlycon=uart,mmio32,0x01c28000", unsurprisingly, does not work on the H6 (correct address is 0x05000000)
<smaeul> just in case somebody runs into the same issue by reusing a boot.scr from older SoCs
cnxsoft has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
[7] has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 240 seconds]
chewitt has joined #linux-sunxi
jelly-home is now known as jelly
vagrantc has quit [Ping timeout: 276 seconds]
chewitt has quit [Ping timeout: 276 seconds]
florian has joined #linux-sunxi
florian has quit [Ping timeout: 276 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
florian has joined #linux-sunxi
selfbg has joined #linux-sunxi
florian has quit [Ping timeout: 246 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
florian has joined #linux-sunxi
aloo_shu has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
florian has quit [Ping timeout: 268 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
florian has joined #linux-sunxi
chewitt has joined #linux-sunxi
msev- has quit [Quit: Leaving]
msev- has joined #linux-sunxi
gsz has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
Ixnus has joined #linux-sunxi
<Ixnus> clementp[m]: you edited a link into 404 at the wiki ;)
<Ixnus> pwm patches
ldevulder_ is now known as ldevulder
Ixnus has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
tnovotny has joined #linux-sunxi
AneoX has joined #linux-sunxi
<clementp[m]> @lxnus: thanks for the catch
ChriChri_ has left #linux-sunxi [#linux-sunxi]
ChriChri has joined #linux-sunxi
return0e has joined #linux-sunxi
florian_kc has joined #linux-sunxi
return0e_ has quit [Ping timeout: 268 seconds]
ChriChri is now known as Chri^2
Chri^2 is now known as ChriChri_
ChriChri_ is now known as ChriChri
msev- has quit [Quit: Leaving]
merbanan has joined #linux-sunxi
merbzt has joined #linux-sunxi
merbanan has quit [Remote host closed the connection]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
gaston1980 has joined #linux-sunxi
diego_r has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 268 seconds]
lurchi_ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
chewitt has quit [Ping timeout: 240 seconds]
afaerber has quit [Quit: Leaving]
lurchi_ has joined #linux-sunxi
jbrown has quit [Quit: Leaving]
yann has joined #linux-sunxi
jbrown has joined #linux-sunxi
lurchi_ is now known as lurchi__
iamfrankenstein has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
gsz has quit [Quit: Konversation terminated!]
iamfrankenstein has quit [Client Quit]
<karlp> where is mripard's "sunxi-next" or staging for-next trees? https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux.git/refs/ doesnt seem to be used anymore, nor anything on github?
<wens> that's correct
megi has joined #linux-sunxi
reinforce has joined #linux-sunxi
florian_kc has quit [Ping timeout: 240 seconds]
willmore has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 268 seconds]
chewitt has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
willmore has joined #linux-sunxi
nashpa has quit [Quit: Going away]
<karlp> anyone here know the url https://vps.vdwaa.nl/~jelle/brcm/ ? it' slinked from https://linux-sunxi.org/FriendlyARM_NanoPi_Air#WiFi but is dead, and not sure what it was meant to be providing beyond linux-firmware?
nashpa has joined #linux-sunxi
tuxillo has quit [Remote host closed the connection]
<karlp> wth, I just edited a wiki page and it's just gone.
<MoeIcenowy> karlp: I think it can be used to retrieve some a0 revision FW
<MoeIcenowy> but I think you're at A1, right?
<MoeIcenowy> oh it looks A0 is also available in linux-firmware
tuxillo has joined #linux-sunxi
<karlp> well, A1 is also in armbian repo too.
libv_ is now known as libv
<libv> karlp: what is gone?
<karlp> that link, vps.vdwaa.nl/~jelle
<karlp> libv: no idea, save problem, just retyped it.
<MoeIcenowy> karlp: on linux-firmware, A1 is just name 43430
<MoeIcenowy> no a1 suffix
<karlp> linux-firmware only has a single .hcd file though, nothing current.
<MoeIcenowy> only A0 uses a0 suffix
<MoeIcenowy> hcd file seems to be for bluetooth
<karlp> well, they gotta go somewhere :)
<karlp> is linux-firwmare not the place for them?
<libv> karlp: you're now "people" so you can edit your own user page (we had a long standing spam problem on user pages)
<libv> karlp: user pages are cool for listing the hw you own, and for keeping your own "cheat sheet"
<KotCzarny> or personal bookmarks and notes
<libv> KotCzarny: which is what i meant with cheatsheet ;)
<KotCzarny> for me cheatsheet is something like howto or recipes, or bits of code
<mru> it's called cheat sheet because the instructions don't actually work, and then you feel cheated
<megi> if you can use latest firmware from cypress
<megi> usually better than some outdated fw from random places on the internets
<megi> karlp: ^
<karlp> still no hcd files :)
<karlp> and no nvram.txt files either...
<megi> those are in a differen repo
<megi> but those are also board specific, I think
<karlp> any idea how to work out which clm blob you need? linux appears to search for a ,boardname suffixed file
<megi> nope, I just don't use it
<karlp> they are allegedly board specific yes, but everyone seems to use the same ones.
<megi> yeah
<mru> I think they actually don't want you to use the chips
<megi> :D
<mru> so they've made it close to impossible to figure out the right files, let alone fine them
<mru> *find
<karlp> there's nvram files here, but no notes on how to choose them https://github.com/murata-wireless/cyw-fmac-nvram
<karlp> mru: well, still better than trying to use xr819...
<MoeIcenowy> karlp: use the one from the module vendor
<karlp> or rtl88.willmysuffixworktodayornot
<MoeIcenowy> I think one is present in linux-firmware for xr819
<MoeIcenowy> s/xr819/ap6212/
<mru> or you pick a realtek part that works, but not very well, without the guesswork
<karlp> mru: yeah, but you still have to get _just thr right_ realtek part :)
<mru> indeed
perr has joined #linux-sunxi
<karlp> at least the new linux stuff will tell you what file it's look for.
<mru> but we found one that works
<mru> "works"
<mru> with a nasty out-of-tree driver
<mru> but at least we get both wifi and bt
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
<karlp> murata even says, "NOTE: this Bluetooth patchfiles (*.hcd) are intended as reference only. The user needs to customize the Bluetooth patchfile to meet their HW/SW system requirements." on their patchram files.
netlynx has quit [Changing host]
<karlp> no reference on how to actually _do so_
<karlp> mru: well, ap6212 gives me perfectly functoinal wifi+bt now too :)
<karlp> mru: so which realtek did you choose then?
<mru> 8723du
<mru> mind, 8723bu doesn't work
warpme_ has joined #linux-sunxi
<karlp> does that appear as one usb device, or usb+uart, or usb+sdio or what?
<mru> one usb with several interfaces
<mru> the u suffix is for usb, I think
<karlp> and still has heaps of pins for wakeup/irq stuff still.
<mru> you don't need to use those
reinforce has quit [Quit: Leaving.]
florian_kc has joined #linux-sunxi
reinforce has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 268 seconds]
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 268 seconds]
TEKrantz has joined #linux-sunxi
perr has quit [Remote host closed the connection]
perr has joined #linux-sunxi
perr_ has joined #linux-sunxi
perr has quit [Ping timeout: 252 seconds]
perr__ has joined #linux-sunxi
perr_ has quit [Ping timeout: 252 seconds]
perr__ has quit [Remote host closed the connection]
perr has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
dddddd has joined #linux-sunxi
elixx has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
aloo_shu has joined #linux-sunxi
perr has quit [Ping timeout: 240 seconds]
willmore has quit [Remote host closed the connection]
DrFrankensteinUK has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DrFrankensteinUK has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
matthias_bgg has quit [Quit: Leaving]
willmore has joined #linux-sunxi
sunshavi has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
florian has quit [Quit: Leaving]
florian_kc has quit [Ping timeout: 246 seconds]
diego_r has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
yann has quit [Ping timeout: 268 seconds]
tnovotny has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
hlauer_ has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
yann has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
tllim has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
florian_kc has joined #linux-sunxi
armessia has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
florian_kc is now known as florian
jbrown has quit [Ping timeout: 246 seconds]
jbrown has joined #linux-sunxi
afaerber has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<fALSO> jernej, did you delete your libre elec fork on github?
<fALSO> jernej, was it merged upstream?
<jernej> fALSO: which fork?
<fALSO> i was using hw_dec_ffmpeg branch on a Orange Pi PC
<jernej> main development is in LE master branch for a long time now
<fALSO> jernej, thanks!
<fALSO> the real master
<fALSO> thanks jernej
<fALSO> it also lists H6, gonna try on my orange pi one plus
<fALSO> too bad the H5 is not there
<fALSO> i also have a orange pi pc2 ;-D
<fALSO> jernej, https://libreelec.tv/downloads_new/ - do you know why arent they releasing allwinner images?
<jernej> yes, because I said it's not ready
<fALSO> ahh Ok!
<jernej> you have nightlies, generally they are stable, but not always
<fALSO> i saw the instructions on how to build on the wiki, and found weird that they arent available for download
<fALSO> thanks for the info jernej
armessia has quit [Quit: Leaving]
sunshavi has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
NeuroScr has quit [Quit: NeuroScr]
diego_r has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
hlauer_ has quit [Ping timeout: 265 seconds]
_0x5eb_ has quit [Quit: Goodbye!]
_0x5eb_ has joined #linux-sunxi
jstein has quit [Ping timeout: 276 seconds]
jernej has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
diego_r has quit [Ping timeout: 265 seconds]
popolon has joined #linux-sunxi
martinayotte_ has joined #linux-sunxi
martinayotte has quit [Ping timeout: 240 seconds]
ldevulder_ has quit [Read error: Connection reset by peer]
ldevulder__ has joined #linux-sunxi
lurchi_ is now known as lurchi__
florian has quit [Ping timeout: 240 seconds]
Mangy_Dog has quit [Ping timeout: 265 seconds]
<willmore> megi, H6 info posted
<megi> thanks!
<megi> interesting
<megi> so maybe they also produce H6 parts without determining the bin