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
lurchi_ is now known as lurchi__
Ntemis has quit [Remote host closed the connection]
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
yann|work has quit [Ping timeout: 258 seconds]
lemonzest has quit [Quit: Quitting]
martinayotte has joined #linux-sunxi
<martinayotte> @MoeIcenowy, you didn'tn answered me : But I can still see "sun4i-usb-phy 1c19400.phy: failed to get clock usb0_phy". Should we care ? Should we remove usb0_phy from A64 ?
martinayotte has quit [Client Quit]
specing has quit [Read error: Connection reset by peer]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 276 seconds]
pg12 has quit [Ping timeout: 258 seconds]
popolon has quit [Quit: WeeChat 1.9]
pg12 has joined #linux-sunxi
Rajko has quit [Ping timeout: 276 seconds]
cnxsoft has joined #linux-sunxi
Poeticode has quit [Ping timeout: 248 seconds]
Poeticode has joined #linux-sunxi
Poeticode has quit [Changing host]
Poeticode has joined #linux-sunxi
<MoeIcenowy> martinayoutte: I think it doesn't matter
<wens> if it works in the end, it's probably just the deferred probe
<wens> if it doesn't work, then we have a problem
<MoeIcenowy> wens: have you seen my reply on the R40 clk patchset? (at Jul 210
<MoeIcenowy> s/210/21)/
<MoeIcenowy> P.S. why does the A64 pll-periph{0,1}'s K has a min value of 2?
<MoeIcenowy> from the user manual it says The range is from 1 to 4
hms has joined #linux-sunxi
<MoeIcenowy> oh I think for implementing pll-periph0-sata on R40 I will need "clk: sunxi-ng: div: Add support for fixed post-divider" from plaes
hms has quit [Quit: Leaving]
kivutar has quit [Ping timeout: 255 seconds]
kivutar has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
<wens> MoeIcenowy: just replied, sorry
<wens> I keep thinking I've missed a bunch of patches
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 255 seconds]
lkcl has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 240 seconds]
kristina1nossl has quit [Remote host closed the connection]
a|3x has quit [Ping timeout: 240 seconds]
a|3x has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 248 seconds]
rajkosto has joined #linux-sunxi
<rajkosto> it works with the module i compiled, but now i realised there's no hardware 3d acceleration (it uses gallium software rendering)
<rajkosto> guess no way to make that work in linux (only android)
rajkosto has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
IgorPec has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
a|3x has quit [Ping timeout: 246 seconds]
foxx_ has joined #linux-sunxi
foxx_ has quit [Ping timeout: 260 seconds]
<KotCzarny> ssvb: nitehawk: any particular reason why sunxi-tools -m print stops at PI ? on H3 there is also PL block
<smaeul> I suppose some of these drivers aren't tested much with power management? http://ix.io/z5e
leviathan has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
specing has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
<NiteHawk> KotCzarny: I'd have to recheck, but I'm not sure that sunxi-tools has any deeper understanding of the GPIO layout / bank numbers on different SoCs. I think it just uses some "smalles commeon denominator" originating from the early Allwiiner SoCs (A10 to A20).
<KotCzarny> maybe it should have some soc tables/ranges
<NiteHawk> that should/could possibly go into soc_info.c, yes
terra854 has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
LargePrime has joined #linux-sunxi
nOOb__ has quit [Ping timeout: 240 seconds]
|Jeroen| has quit [Quit: dada]
BenG83 has joined #linux-sunxi
SP7RT has joined #linux-sunxi
yann|work has joined #linux-sunxi
mev_ has joined #linux-sunxi
<mev_> hi everyone, I'm looking for infos about secure boot on Allwinner/H3. The datasheet is lacking details, could you point me to some resources?
fl_0 has quit [Ping timeout: 246 seconds]
fl_0 has joined #linux-sunxi
utente has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
netlynx has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
mev_ has quit [Ping timeout: 240 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
phipli has joined #linux-sunxi
IgorPec9 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
mev_ has joined #linux-sunxi
SP7RT has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
IgorPec9 has quit [Quit: Nettalk6 - www.ntalk.de]
reinforce has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
reinforce1 has joined #linux-sunxi
reinforce has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
reinforce1 has quit [Ping timeout: 255 seconds]
reinforce1 has joined #linux-sunxi
reinforce has quit [Ping timeout: 255 seconds]
Andy-D__ has quit [Ping timeout: 240 seconds]
reinforce1 has quit [Ping timeout: 255 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
JohnDoe_71Rus has joined #linux-sunxi
utente_ has joined #linux-sunxi
utente has quit [Ping timeout: 240 seconds]
SP7RT has quit [Ping timeout: 246 seconds]
<MoeIcenowy> mev_: linux-sunxi.org have something about it
reinforce has joined #linux-sunxi
<chrisf_> mev_: You're looking for http://linux-sunxi.org/TOC0 in particular.
<mev_> MoeIcenowy chrisf: thank you both, I'm looking :)
utente__ has joined #linux-sunxi
<MoeIcenowy> but you should note one thing
<MoeIcenowy> some behaviors are totally different when secure boot is enabled
<MoeIcenowy> montjoie: I'm retrying dwmac-sun8i on R40
<MoeIcenowy> (In fact on V40, but R40 and V40 are the same
<MoeIcenowy> PHY is RTL8211E
<mev_> I see, like SRAM protection and such
<MoeIcenowy> the driver seems recognized
<MoeIcenowy> but when trying to make eth0 up, it says "Could not attach to PHY"
<MoeIcenowy> /sys/bus/mdio_bus/devices/stmmac-0:01/phy_id is 0x001cc915
<mev_> just out of curiosity... why does the H3 datasheet misses details about secure boot? security through obscurity?
utente_ has quit [Ping timeout: 276 seconds]
<MoeIcenowy> they hide many things.
<MoeIcenowy> P.S. the syscon issue is resolved by changing the driver now
SP7RT has joined #linux-sunxi
<dothebart> Should the sunxi driver for the serial console work with r40 chips too? or is there anything special to look at?
<dothebart> I got the current git u-boot working and start the kernel, however, I don't see any output of the kernel
mev_ has left #linux-sunxi ["Leaving"]
lurchi_ is now known as lurchi__
reinforce has quit [Quit: Leaving.]
Ntemis has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
HTTP_____GK1wmSU has joined #linux-sunxi
HTTP_____GK1wmSU has left #linux-sunxi [#linux-sunxi]
<MoeIcenowy> oh I'm trapped into the same problem twice :-(
<MoeIcenowy> stmmac_platform.c should also contain r40 compatible
SP7RT has quit [Ping timeout: 255 seconds]
<MoeIcenowy> I remembered I made the same mistake when developing for v3s
jstein has quit [Remote host closed the connection]
<MoeIcenowy> oh now it shows "eth0: Link is Up - 1Gbps/Full - flow control rx/tx", however, udhcpc eth0 failed
fdcx has quit [Remote host closed the connection]
SP7RT has joined #linux-sunxi
<dothebart> MoeIcenowy: are you running a 4.x kernel with working console on serial port?
<MoeIcenowy> yes, however I have some not-mainlined drivers
<MoeIcenowy> e.g. CCU driver
<MoeIcenowy> montjoie: when udhcpc is in definite "sending discover" I unplugged the cable, no link down infomation is shown, however a warning appeared "NETDEV WATCHDOG: eth0 (dwmac-sun8i): transmit queue 0 timed out"
<dothebart> did you only apply the patches posted on the lkml? or more?
<MoeIcenowy> the patches posted on LKML is written by me ;-)
<KotCzarny> but did you apply them?! ;)
<MoeIcenowy> yes of course ;-)
<MoeIcenowy> or in fact I'm trying to update them ;-)
<dothebart> ah, great - talking to the right guy ;-) thanks for your work so far!
<dothebart> can you share your kernel config? I'm struggling a bit on that part :(
<MoeIcenowy> does you kernel now totally have no output?
<MoeIcenowy> try to add earlycon=uart,mmio32,0x01c28000
<MoeIcenowy> and do you use the proper device tree?
<dothebart> I hope so ;)
<MoeIcenowy> sun8i-r40-bananapi-m2-ultra.dtb ?
<dothebart> yes, need to double check - it should be the same as in current git mainline u-boot?
<MoeIcenowy> nope a bit different
<dothebart> I had to correct the ' at ' to @ in the patches when cut'n'pasting them from the lkml, but that should be it, right?
<MoeIcenowy> it's some anti-spaming ;-)
<MoeIcenowy> if you want raw patches please grab them from patchwork
<MoeIcenowy> they have no this replace
<dothebart> but once thats fixed, there should be no more anti-spam?
<MoeIcenowy> I think so
<dothebart> the compiler doesn't error anymore
<dothebart> ok, my current kernel has: earlyprintk=sunxi-uart,0x01c28000
<dothebart> I'll replace that with your string?
<MoeIcenowy> mainline kernel doesn't support this
<MoeIcenowy> replace with my string
<dothebart> ok.
<dothebart> make -j 4 LOADADDR=0x40008000 uImage <- thats the right address?
lurchi__ is now known as lurchi_
<MoeIcenowy> use zImage please
<MoeIcenowy> for mainline using uImage is not wise
<dothebart> ok.
<dothebart> that also doesn't need the uInitrd then right? plus some other start script?
<MoeIcenowy> yes uInitrd can be dropped
<MoeIcenowy> but if you wants a initramfs you will need one
<dothebart> I thought I had everything neccessary built into the kernel...
<dothebart> since you also run a bpi m2u - is your wlan reliable?
<dothebart> mine seems to drop connection or even fail to connect after a short period...
<dothebart> with that le maker debian image with the 3.x kernel...
<MoeIcenowy> bpi m2u is not by lemaker -- it's by sinovoip
<dothebart> ah, yes. anyways - is it reliable for you?
lurchi_ is now known as lurchi__
SP7RT has quit [Ping timeout: 255 seconds]
SP7RT has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<MoeIcenowy> I didn't noticed
yann-kaelig has quit [Remote host closed the connection]
yann-kaelig has joined #linux-sunxi
<dothebart> hm, for some reason u-boot won't continue booting without an initrd: http://paste.debian.net/981072/
<MoeIcenowy> maybe you should change boot.scr
<dothebart> ah, it took the android branch, touch .next fixed it
<dothebart> but now i'm back to `Starting kernel ...` followed by roaring silence :(
SP7RT has quit [Ping timeout: 260 seconds]
<dothebart> hm, could it be inside the uEnv.txt? bootargs=enforcing=1 initcall_debug=0 console=ttyS0,115200n8 console=tty1 no_console_suspend board=bpi-m2u loglevel=4 root=/dev/mmcblk0p2 rw rootwait init=/init cma=256M panic=10 consoleblank=0 bootmenutimeout=10 datadev=mmcblk0p2
Guest96724 has quit [Quit: WeeChat 1.6]
IgorPec has joined #linux-sunxi
<dothebart> with most recent uboot sources, shouldn't the m2 be listed under: http://linux-sunxi.org/Category:Mainline_U-Boot ?
<dothebart> MoeIcenowy: can you share your kernel .config?
<MoeIcenowy> maybe not -- I'm still WIP on it
<MoeIcenowy> maybe your best choice is to wait the CCU driver to enter linux-next
<MoeIcenowy> then directly use linux-next
<dothebart> hm, what dtb file does have to be in the boot disk? the kernel one or the u-boot one?
<MoeIcenowy> kernel one
<dothebart> since first discussions about mainlining it were in febuary, when do you think it will finally happen? ;-)
<dothebart> ah. that could be one problem.
<dothebart> hm, no change :(
<MoeIcenowy> montjoie: P.S. it
<MoeIcenowy> it's not delay issue
<MoeIcenowy> as the delays are set to 0 in bsp FEX/DTB
<MoeIcenowy> oh strange the per_cpu_count of hwirq 117 is 0,0,0,0 ...
<MoeIcenowy> no IRQ...
<MoeIcenowy> (according to user manual 117 is GMAC IRQ
<MoeIcenowy> but I also verified the IRQ is correct in BSP DTB
<MoeIcenowy> and checking INT_STA register in gmac shows there's pending interrupts
lkcl has quit [Ping timeout: 248 seconds]
Mr__Anderson has quit [Remote host closed the connection]
mic-e[m] has quit [Ping timeout: 246 seconds]
ch40s[m] has quit [Ping timeout: 246 seconds]
lurchi__ has quit [Remote host closed the connection]
lurchi__ has joined #linux-sunxi
fdcx has joined #linux-sunxi
specing has quit [Ping timeout: 240 seconds]
vagrantc has quit [Ping timeout: 246 seconds]
lurchi__ is now known as lurchi_
specing has joined #linux-sunxi
ch40s[m] has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
indy has quit [Ping timeout: 240 seconds]
mic-e[m] has joined #linux-sunxi
indy has joined #linux-sunxi
Keziolio has quit [Ping timeout: 260 seconds]
BenG83_ has joined #linux-sunxi
BenG83 has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
lemonzest has quit [Ping timeout: 260 seconds]
lurchi_ is now known as lurchi__
D33P-B00K has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
D33P-B00K has left #linux-sunxi [#linux-sunxi]
vagrantc has joined #linux-sunxi
lemonzest has joined #linux-sunxi
leio has quit [Ping timeout: 248 seconds]
vagrantc has quit [Ping timeout: 260 seconds]
a|3x has joined #linux-sunxi
vagrantc has joined #linux-sunxi
gzamboni has quit [Remote host closed the connection]
vagrantc has quit [Ping timeout: 276 seconds]
vagrantc has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
iamfrankenstein has quit [Quit: iamfrankenstein]
terra854 has quit [Quit: Connection closed for inactivity]
phiplii has joined #linux-sunxi
phiplii has quit [Remote host closed the connection]
phiplii has joined #linux-sunxi
SP7RT has joined #linux-sunxi
chrisf_ has quit [Ping timeout: 248 seconds]
chrisf_ has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 246 seconds]
phipli has quit [Quit: Leaving]
lemonzest has quit [Quit: Quitting]
IgorPec has quit [Ping timeout: 246 seconds]
leviathan has quit [Remote host closed the connection]
phiplii has quit [Remote host closed the connection]
jrg has quit [Ping timeout: 260 seconds]
netlynx has quit [Quit: Ex-Chat]
SP7RT_ has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
vagrantc has quit [Quit: leaving]
SP7RT has joined #linux-sunxi
mic-e[m] has quit [Ping timeout: 255 seconds]
ch40s[m] has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
rajkosto has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
jrg has joined #linux-sunxi
SP7RT has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
phipli has joined #linux-sunxi
Ntemis has quit [Ping timeout: 240 seconds]
Ntemis has joined #linux-sunxi
lkcl has quit [Ping timeout: 246 seconds]
ch40s[m] has joined #linux-sunxi
yann-kaelig has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]