cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
premoboss has quit [Remote host closed the connection]
solarnetone has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
jernej has quit [Ping timeout: 248 seconds]
solarnetone has joined #linux-sunxi
reinforce has joined #linux-sunxi
<[Awaxx]>
hell arm got a crap website
jernej has joined #linux-sunxi
scream has quit [Changing host]
scream has joined #linux-sunxi
scream has quit [Quit: Leaving]
scream has joined #linux-sunxi
IgorPec has joined #linux-sunxi
yann|work has quit [Ping timeout: 244 seconds]
zzeroo has joined #linux-sunxi
<zzeroo>
Hi, I need help with a lenmaker touchscreen (FT5406EE8) on an BanananPro board. I want to get the touch woking with the current sunxi-next kernel.
<zzeroo>
The 'edt_ft5x06' module loads but the touchscreen probe failed
<plaes>
how did you connect it and did you add touchscreen info to dts?
<zzeroo>
plaes: Oh sorry, I connect it via lvds. And I try different dts's. The screen is working with the vanilla dts from the kernel sources. But touch not.
<plaes>
err.. actually 9 (A..I) banks, but counting starts with 0 :)
<plaes>
does your Banana Pro have A20 SoC?
<zzeroo>
Yes
<plaes>
ok ;)
<plaes>
different SoCs have different number of pin banks
<zzeroo>
plaes: Thank you. No I'm one step further.
<zzeroo>
input: EP0790M09 as /devices/platform/soc@01c00000/1c2b800.i2c/i2c-2/2-0038/input/input3
<plaes>
cool
<scream>
montjoie, i have compiled your tree branch sun8i-emac-wip with the usb patches and i get "net eth0: PHY already attached" oops when i try to bring up the interface
<Trum>
Not an issue , just wanted to see u-boot prompt :)
tomboy64 has quit [Ping timeout: 260 seconds]
tomboy64 has joined #linux-sunxi
leio has quit [Ping timeout: 276 seconds]
leio has joined #linux-sunxi
<montjoie>
scream: which hardware ?
Worf has joined #linux-sunxi
<montjoie>
but the main problem is emac reset timeout
<megi>
Hello, anyone here who knows something about clocks? There seem to be off by one error in clk_factors_set_rate().
ricardocrudo has joined #linux-sunxi
<megi>
Comment says: clk->rate = (parent->rate * N * (K + 1) >> P) / (M + 1), yet when called with clk_factors_set_rate(..., 648000000, 24000000), the parameters are calculated so that N is N-1 as it should be to satisfy the equation, so the clock gets set to 624000000 instead
mane_ has joined #linux-sunxi
<megi>
this is on H
<megi>
s/H/H3/
mane has quit [Ping timeout: 244 seconds]
hansg has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser>
megi: A few of the guys normally answering questions like this are in San Diego right now. So maybe give it another try in a few hours?
<megi>
tkaiser: ok, thanks :)
IgorPec has quit [Ping timeout: 244 seconds]
Nyuutwo has quit [Ping timeout: 240 seconds]
Nyuutwo has joined #linux-sunxi
The_Loko has joined #linux-sunxi
IgorPec has joined #linux-sunxi
RSpliet has joined #linux-sunxi
mane_ has quit []
mane has joined #linux-sunxi
mane has quit [Client Quit]
mane has joined #linux-sunxi
clonak has quit [Ping timeout: 240 seconds]
clonak has joined #linux-sunxi
premoboss has quit [Remote host closed the connection]
pstef has quit [Ping timeout: 276 seconds]
paulk-collins has joined #linux-sunxi
lemonzest has joined #linux-sunxi
<plaes>
mripard: TCON in sunxi-drm means Timing CONtroller?
<nieuwbie>
Hi I have a problem with booting - system hangs after starting kernel
avph has joined #linux-sunxi
<NiteHawk>
nieuwbie: please state your excat U-Boot and kernel version
<nieuwbie>
u-boot 2016.3 and any kernel actually
<nieuwbie>
tried 3.18 and newest
<NiteHawk>
hmm
<NiteHawk>
recent U-Boot is known to possibly cause issues when booting older (3.4.x) kernels, but that doesn't seem to be your problem
<NiteHawk>
you are providing a .dtb originating from your kernel compilation, right?
<nieuwbie>
Actually, I'm providing dtb from u-boot cause inet-3f isn't supported by mainline
<NiteHawk>
err... - that probably won't fly
deskwizard has joined #linux-sunxi
<nieuwbie>
...
<nieuwbie>
This is so getting on my nerves...
<NiteHawk>
if i understand you right, you're trying a 3.18 ore more recent kernel built/configures for another board (which?) and just try to smuggle in the 'right' .dtb?
<nieuwbie>
I tried svbb's prototype debian installer
<NiteHawk>
s/configures/configured/
<NiteHawk>
you best bet would probably to try and find a .fex file from a suitable legacy kernel (intended for your board) and convert that to .dts
<nieuwbie>
Can you tell me how to do that?
<NiteHawk>
not really, and i'll soon have to leave for a while anyway - sorry
<NiteHawk>
but the process of writing a .dts involves some knowledge on how device trees work - so you'd need to check existing ones for similar (A10) devices
<plaes>
I moved some pages around today in wiki
<plaes>
INet 3f
<nieuwbie>
plaes: In my opinion the whole page is wrong - because it describes tablets not the board itself
<NiteHawk>
plaes: made sense, thanks for merging those pages
<nieuwbie>
for example 9.7 " for a board?
<plaes>
there are lots of different 9.7" boards
<nieuwbie>
True but imho, there should be separation between a tablet page and board page
<plaes>
dunno.. current thing works
<plaes>
you just have to get used to it
<lennyraposo>
we really don't lookt a tthing sin that manner
<lennyraposo>
we look at what the soc is really
<lennyraposo>
things in*
da_wizard has joined #linux-sunxi
<plaes>
nieuwbie: well, the dts from u-boot should work and you should at least get serial console
deskwizard has quit [Ping timeout: 264 seconds]
<lennyraposo>
uart ;)
da_wizard is now known as Deskwizard
<nieuwbie>
plaes: I do have uart - the thing is, it hangs at starting the kernel
nieuwbie has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
tipo has quit [Remote host closed the connection]
tipo has joined #linux-sunxi
nieuwbie has joined #linux-sunxi
apritzel has joined #linux-sunxi
<zzeroo>
plaes: I need your help once more with my touchscreen problem. The touch appears correct and the 'edt_ft5x06' module loads fine. But if i poll /proc/interrupts I see the interrupt counter dosn't increment. I think i have to manage the RST pin (active_low) as well in my dts. But I don't understand enough about this.
apritzel has quit [Read error: Connection reset by peer]
<plaes>
zzeroo: it could be anything :(
tsuggs has quit [Ping timeout: 276 seconds]
reev has quit [Ping timeout: 250 seconds]
<slapin>
mripard: ping
<zzeroo>
Here I'm very noobish. I mean, I do not understand how I translate A20 Port PH21 == Touch interrupt. I studdy the wiki page you send me, but I don't get it :(
<plaes>
zzeroo: this isn't written there
<plaes>
it was just a wild guess as some other boards use this pin
<plaes>
you need to figure out where does the rst pin from your touchscreen end up on the board (and eventually SoC)
paulk-collins has quit [Quit: Leaving]
<zzeroo>
plaes: OK I'll try it. Is the format of "reset-gpios = <BANK PIN TYPE>;" corret for reset-gpios. Sorry is the first time I work with dts/dtb :)
<plaes>
do you understand PH21 is converted to <7 21 ...> ?
<plaes>
*how ^^ :P
<zzeroo>
plaes: yes
<plaes>
cool ;)
pulser_ has joined #linux-sunxi
zerotri_ has joined #linux-sunxi
akaWolf1 has joined #linux-sunxi
jemk_ has joined #linux-sunxi
[Awaxx]_ has joined #linux-sunxi
ninolein has quit [*.net *.split]
jemk has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
[Awaxx] has quit [*.net *.split]
zerotri has quit [*.net *.split]
pulser has quit [*.net *.split]
akaWolf has quit [*.net *.split]
Worf has quit [*.net *.split]
iamfrankenstein has quit [*.net *.split]
scream has quit [*.net *.split]
TheSeven has quit [*.net *.split]
a|3x has quit [*.net *.split]
Nacho has quit [*.net *.split]
fl_0 has quit [*.net *.split]
heffer has quit [*.net *.split]
edolnx has quit [*.net *.split]
andoma has quit [*.net *.split]
MoeIcenowy_ has quit [*.net *.split]
petr has quit [*.net *.split]
akaWolf1 is now known as akaWolf
zerotri_ is now known as zerotri
xenoxaos has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
Worf has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
scream has joined #linux-sunxi
edolnx has joined #linux-sunxi
heffer has joined #linux-sunxi
MoeIcenowy_ has joined #linux-sunxi
a|3x has joined #linux-sunxi
Nacho has joined #linux-sunxi
petr has joined #linux-sunxi
fl_0 has joined #linux-sunxi
andoma has joined #linux-sunxi
TheSeven has joined #linux-sunxi
megi has quit [Quit: Odcházím]
The_Loko has quit [Quit: Leaving]
Worf has quit [Quit: Konversation terminated!]
Deskwizard has quit [Read error: Connection reset by peer]
Deskwizard has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
[Awaxx]_ is now known as [Awaxx]
Nyuutwo has quit [Ping timeout: 240 seconds]
Nyuutwo has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 246 seconds]
Nyuutwo has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
<montjoie>
:( a tx timeout appears, but the trace seems to say that tx_dma_start variable is dangerous
nove has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 260 seconds]
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 260 seconds]
megi has joined #linux-sunxi
bwarff has quit [Ping timeout: 248 seconds]
vishnup has quit [Quit: Connection closed for inactivity]
<nieuwbie>
plaes: I checked it, compiled, edited - boot.scr I mean - still hangs on kernel loading
<nieuwbie>
0x46000000 - my zImage
<nieuwbie>
0x9000000 - my dtb
<nieuwbie>
zboot 460000000 - 0x49000000
tomboy64 has joined #linux-sunxi
<vpeter>
nieuwbie: Are those numbers correct? Or this is typo error.
Nyuutwo has joined #linux-sunxi
<nieuwbie>
0x46000000 - 0x49000000
<nieuwbie>
According to mainline kernel howto
<vpeter>
You wrote 0x9000000 - my dtb
<nieuwbie>
yeah, that was a typo, sorry for that
<vpeter>
:)
<nieuwbie>
and the thing is u-boot loads everything and hangs after uncompressing Linux
tomboy64 has quit [Ping timeout: 276 seconds]
Nyuutwo has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
<megi>
I managed to enable THS/CPUfreq in mainline linux for orange pi pc and one. So in mainline orange pi one no longer runs on 400MHz or so, but on 1.2GHz, and on orange pi pc CPUX voltage regulation works, making power requirements a bit lower. Also if the soc overheats, it is cooled down by reducing voltage automatically. :) It works without an issue now.
<megi>
There's one catch though, if anyone can help with that. If I let u-boot set PLL1 in clock_set_pll1() the boot will hang when the kernel tries to change the CPU clock. If I comment out clock_set_pll1() in u-boot, it works well. Any ideas?
<megi>
That's also why Orange PI One worked, but PC didn't when I tested it. This is the only difference between the two.
rellla has quit [Ping timeout: 276 seconds]
cnxsoft has quit [Quit: cnxsoft]
boycottg00gle has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
fdcx has quit [Remote host closed the connection]
rellla has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
boycottg00gle has quit [Remote host closed the connection]
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 248 seconds]
vagrantc has joined #linux-sunxi
Deskwizard has quit [Remote host closed the connection]
<plaes>
nieuwbie: paste your full boot.scr/boot.cmd
IgorPec2 has quit [Read error: Connection reset by peer]
<NiteHawk>
it's multiple igor day. buy two, get one free! :D
Andy-D_ has joined #linux-sunxi
<nieuwbie>
NiteHawk: Welcome back.
<nieuwbie>
What's igor?
<NiteHawk>
it was a pun on IgorPec's connectivity/nickname problems - he seems to have a shaky connection today
<nieuwbie>
ohhhh
<nieuwbie>
Still don't get it, but whatever. :D
Andy-D has quit [Ping timeout: 240 seconds]
<nieuwbie>
anyway good you are back. Still fighting with that linux hang...
<nieuwbie>
any ideas?
tipo has quit [Remote host closed the connection]
tipo has joined #linux-sunxi
IgorPec3 has quit [Ping timeout: 252 seconds]
IgorPec3 has joined #linux-sunxi
<NiteHawk>
no. i've read up on your discussion with plaes, and the boot script you showed seems to be okay. did you try adding "earlyprintk" to the kernel parameters?
IgorPec has quit [Ping timeout: 244 seconds]
lamer14598782109 has joined #linux-sunxi
tkaiser has quit [Ping timeout: 276 seconds]
<nieuwbie>
with [] or without brackets?
mane has quit []
<NiteHawk>
no brackets, no quotes. just the word on its own
<nieuwbie>
ttyS0 or tty1?
<NiteHawk>
i'd normally expect ttyS0 - would have to recheck your device page...
IgorPec3 has quit [Client Quit]
<NiteHawk>
sanity check: you have placed your .dtb in the /boot (sub)directory, next to the zImage?
<nieuwbie>
I'll give it a shot, wish me luck
IgorPec3 has joined #linux-sunxi
<nieuwbie>
Yes, I had no error regarding zImage or dtb.
<NiteHawk>
ok
matthias_bgg has quit [Quit: Leaving]
<NiteHawk>
did you compile that .dtb yourself (using the kernel's dtc tool)?
<nieuwbie>
No I didn't
<nieuwbie>
There's a typo
<nieuwbie>
..
<NiteHawk>
ah, wait - that's probably not required. u-boot uses dtc itself, and iirc the .dtb files should be interchangeable as long as you compiled them in a consistent environment
<NiteHawk>
(consistent between u-boot and kernel compilation)
<nieuwbie>
[ 0.620040] gpiochip_add_data: GPIOs 0..287 (1c20800.pinctrl) failed to register
<nieuwbie>
[ 0.627715] sun4i-pinctrl: probe of 1c20800.pinctrl failed with error -16
<nieuwbie>
[ 0.634900] sun4i-dma 1c02000.dma-controller: No clock specified
<nieuwbie>
[ 0.641189] dw-apb-uart 1c28000.serial: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/uart0@0, deferring probe
<nieuwbie>
[ 0.652944] sunxi-rtc 1c20d00.rtc: setting system clock to 2010-01-01 07:20:55 UTC (1262330455)
<nieuwbie>
[ 0.663703] ALSA device list:
<nieuwbie>
[ 0.666771] No soundcards found.
<nieuwbie>
[ 0.670414] Warning: unable to open an initial console.
<nieuwbie>
[ 0.675797] Waiting for root device /dev/mmcblk0p2...
<nieuwbie>
[ 139.389707] random: nonblocking pool is initialized
<nieuwbie>
<nieuwbie>
<nieuwbie>
Sorry for that
<NiteHawk>
pastebin it if needed. check your root partition - that got me wondering a little when looking at https://bpaste.net/show/b811fd613c36 . is it correct that you seem to load boot.scr from the same partition (#2) that has your root fs? (/dev/mmcblk0p2)
vishnup has quit [Quit: Connection closed for inactivity]
<NiteHawk>
hmmm... okay. that part seems to work if you get kernel output, though i'm still wondering if it shouldn't read "mmc 0:1" in that case
<NiteHawk>
what filesystem type is /dev/mmcblk0p2? make sure that your kernel has support for it compiled in (not a module!)
<nieuwbie>
holy larry the cow...
<nieuwbie>
ext4
<nieuwbie>
maybe that's it
<nieuwbie>
CONFIG_EXT4 is set.
<NiteHawk>
also: check if the kernel console output shows mmcblk0 and it's partitions being recognized - maybe you're hacked up .dtb doesn't contain sufficient information to properly access the sd card
<NiteHawk>
s/you're/your/
apritzel has quit [Ping timeout: 244 seconds]
<nieuwbie>
kernel console?
DagoRed has quit [Ping timeout: 252 seconds]
<NiteHawk>
the "printk" uart output you now received
<NiteHawk>
hmmm... i vaguely seem to recall this hang at "nonblocking pool" from somewhere. wish it would ring any bell for me (which it currently doesn't :/)
<nieuwbie>
Give it some time. :P
<nieuwbie>
I'm glad at least I have some output now
<NiteHawk>
the output is pretty sparse/short. and it looks like you're entirely missing the mmc detection - given that it's no surprise that the kernel doesn't find the root partition :P
<nieuwbie>
maybe I should have also sdhci as well?
<NiteHawk>
my Banana Pi (A20) has: "# CONFIG_MMC_SDHCI is not set", so i don't think it's needed
<plaes>
nieuwbie: what did you do to get that output?
<NiteHawk>
plaes: "earlyprintk" bootarg
cosm has joined #linux-sunxi
jernej has joined #linux-sunxi
<nieuwbie>
plaes: indeed
<nieuwbie>
it's like sunxi-mmc is on holidays....
<lamer14598782109>
lvrp16: Tested 8 different SD cards and came to conclusion to never ever buy a Samsung Pro + (since the Pro is already slower than the EVOs ;) )
<NiteHawk>
we should probably mention that in http://linux-sunxi.org/Mainline_U-Boot#Boot as a diagnotic tool in case of boot problems? sunxi-3.4 (somewhat) duplicated that functionality, but it seems that mainline will remain silent without it?
<NiteHawk>
maybe your device tree (.dts) is missing mmc information? if the kernel thinks no hardware is present, it'll probably never try to even initialize it
<lvrp16>
tkaiser: nice benchies, i noticed the same before when old class 10 cards were faster than the uhs1 cards
<NiteHawk>
nieuwbie: ^
IgorPec has quit [Ping timeout: 276 seconds]
<NiteHawk>
disclaimer: i'm not a DT expert (and don't play one on tv)
<NiteHawk>
nieuwbie: the sun4i-a10-inet-3f.dts look pitifully empty - just a boilerplate sun4i-a10.dtsi and a uart0 definition. you probably want to check out other A10 (sun4i) devices as for how they define their &mmc0. if you have a .fex file that might help you in confirming that you get the settings right (pin numbers, i/o address, ...)
<plaes>
yeah.. you can get most of the info from fex, and then look compare with other boards how specific subsystems are enabled
tipo has quit [Ping timeout: 276 seconds]
mossroy has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
<lennyraposo>
hey guys
<lennyraposo>
is it common to see overlapping partitions for Android?
<lennyraposo>
cause if it isn't
<lennyraposo>
pine team needs to rework their imgs
<lennyraposo>
;)
<tkaiser>
lennyraposo: Depends on the tool you use what you get regarding Android partition layout. But it's not worth a look anyway
<lennyraposo>
just something I noticed ;)
<tkaiser>
'pine team' is a joke, isn't it? There is no one working on anything.
pmattern has joined #linux-sunxi
<lennyraposo>
oh ya
<lennyraposo>
the internet is ;)
<lennyraposo>
lol
<lennyraposo>
wonder if they figured the 2gb board issue in remix
<lennyraposo>
longsleep did
<lennyraposo>
lol
reinforce has quit [Quit: Leaving.]
<tkaiser>
lennyraposo: longsleep fixed and all they've to do is to fix the line of code
<lennyraposo>
I feel bad chuckling about it
<lennyraposo>
as I am sure they went into things with the best of intentions but didn't realize the potential issues with allwinner socs
<lennyraposo>
heck I didn't know myself until I dug around
<tkaiser>
lennyraposo: It's not about Allwinner. It's about their attitude. Several showstoppers are known that prevent their users from having fun with the boards. And they refuse to address the issue (documenting stuff would be already enough)
<lennyraposo>
that being one of the issues
<lennyraposo>
opening up sources would be nice too
Nacho has quit [Remote host closed the connection]
<lennyraposo>
but then I bet they are afraid of doing that as it sounds liek they have some proprietary bits from other entities
<lennyraposo>
and they may not like the backlash should it b discovered
tkaiser has quit [Ping timeout: 240 seconds]
zuikis has left #linux-sunxi [#linux-sunxi]
<jelle>
hmm allwinner u-boot for the h3 does not do hdmi?
<lennyraposo>
but what do I know
<nieuwbie>
NiteHawk: I thought so too, but I assumed that I know shaite and if u-boot guys wrote the defs for it it must be ok.