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
FDCX has quit [Ping timeout: 268 seconds]
khuey is now known as khuey|away
khuey|away is now known as khuey
FDCX has joined #linux-sunxi
khuey is now known as khuey|away
uwe_ has quit [Ping timeout: 240 seconds]
fredy has quit [Excess Flood]
ddpl has quit [Quit: leaving]
uwe_ has joined #linux-sunxi
fredy has joined #linux-sunxi
cosm has quit [Quit: Leaving]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Guest34108 is now known as buZz
skaag_ has joined #linux-sunxi
T0mW has quit [Quit: Leaving]
ninolein has quit [Ping timeout: 246 seconds]
ninolein has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 255 seconds]
montjoie has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
skaag_ has quit [Quit: Lost terminal]
khuey|away is now known as khuey
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
<akaizen> libv: oh hey whats up? i wanted to ask you about tamil, have you found time to work on that?
mmarker has quit [Ping timeout: 246 seconds]
mmarker has joined #linux-sunxi
mmarker has joined #linux-sunxi
joedj has quit [Ping timeout: 244 seconds]
Nacho_ has quit [Ping timeout: 244 seconds]
joedj has joined #linux-sunxi
Nacho_ has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
xypron has quit [Read error: Connection reset by peer]
Igorpec3 has joined #linux-sunxi
orly_owl has quit [Ping timeout: 255 seconds]
akaizen has quit [Remote host closed the connection]
cubeast has joined #linux-sunxi
montjoie has quit [Quit: leaving]
montjoie has joined #linux-sunxi
khuey is now known as khuey|away
JohnDoe_71Rus has joined #linux-sunxi
Igorpec3 has quit [Ping timeout: 264 seconds]
orly_owl has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
florian_ has joined #linux-sunxi
Igorpec3 has joined #linux-sunxi
reinforce has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
florian_ has quit [Ping timeout: 256 seconds]
philectro has joined #linux-sunxi
dlan has quit [Ping timeout: 272 seconds]
dlan has joined #linux-sunxi
dlan has quit [Ping timeout: 260 seconds]
dlan has joined #linux-sunxi
viccuad has joined #linux-sunxi
_massi has joined #linux-sunxi
florian_ has joined #linux-sunxi
BBerry82 has joined #linux-sunxi
viccuad has quit [Quit: WeeChat 1.1.1]
hehopmajieh__ has joined #linux-sunxi
HeHoPMaJIeH has quit [Read error: Connection reset by peer]
popolon has joined #linux-sunxi
viccuad has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
viccuad has quit [Ping timeout: 250 seconds]
viccuad has joined #linux-sunxi
cubeast has quit [Quit: Leaving]
ssvb has quit [Ping timeout: 260 seconds]
enrico_ has joined #linux-sunxi
<oliv3r> ijc: you are quite involved with the debian installer for sunxi are you not? Where are the kernel packages that you use for this?
ssvb has joined #linux-sunxi
<ijc> oliv3r: They are the current regular kernel packages in the suite from which the installer image was built. What are you trying to actually find out?
<oliv3r> well i was looking at https://packages.debian.org/search?keywords=linux-image to find the arm package, as i was curious how debian handles dtb files etc
<oliv3r> ijc: for example i know that fedora installs dtb files in /boot/dtb afaik
<oliv3r> so was curious how arm does this 'by default'
<ijc> oliv3r: s/arm/Debian/? And are you talking about the kernel+dtb used for the installer itself, or what the eventually installed system will look like?
<oliv3r> well technically, right now, i'm only curious about the final looks
<oliv3r> so i can match that on my platform
<oliv3r> in the long run, i reccon that the kerne's make deb-pkg would package all this properly? ( does it even package dtb files at all i wonder ...)
<oliv3r> i generate my kernels via that, but never checked
arete74_ has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
<oliv3r> ijc: ah wait i did look, and saw that the default linux-image puts files in /boot, but the kernel is a vmlinuz which i don't think we can boot; and it installs no dtb files at all
<ijc> The Debian kernel packages ship all dtbs in /usr/lib/something-withte-the-uname and a tool called "flash-kernel" ensures the right DTB ends up in /boot/. The path used changed recently, I forget what to, but I think it was to add /boot/dtbs/thing.dtb for compatiblity with some bootloaders etc.
<ijc> "The path" == target path under /boot
<oliv3r> ah okay
<ijc> https://tracker.debian.org/pkg/flash-kernel => https://tracker.debian.org/media/packages/f/flash-kernel/changelog-3.45 3.41 is the change I mentioned. Bug #783073 looks the relevant one
FR^2 has joined #linux-sunxi
<oliv3r> ijc: ok thanks that helps a little
<oliv3r> ijc: but what i notice is that in the default kernel package, there is not a single dtb, so debian packages the dtb seperatly?
<ijc> oliv3r: Which package are you looking at? The dtbs are in the same package as /boot/vmlinuz-$VERSION
<oliv3r> ijc: i'm looking at my own generate make deb-pkg from the mainline kernel
<oliv3r> ijc: hence my initial question, how did you do it for the installer :)
mirceac has joined #linux-sunxi
<oliv3r> so i was wondering, which package exactly is used for the kernel
<mirceac> hello everybody
<oliv3r> so i could peek and figure out where debian (i guess flash-kernel) looks for stuff
<oliv3r> what kernel name it expects etc
<mirceac> I was wondering about the cool and cheap Orange* line of boards
<mirceac> Could anybody kindly advice me if they are supported correctly and which one should I get for a small home server ?
<mirceac> There are Orange Pi, Orange Pi+ and Orange Pi2
<mirceac> They look kind'of similar at a first glance but the devil is usually in the details
<mirceac> Also what is Allwinner H3, is some new device or a rebadged A10/A20 ?
<ijc> oliv3r: You say "the default kernel package" does not contain DTBs. Exactly which kernel package are you talking about there? Also these references to the installer make no sense to me, it does nothing special other than install the kernel and flash-kernel.
<mirceac> If somebody wants a link to their page I can provide it if it's OK, but I suppose you guys kenw about them
simosx has joined #linux-sunxi
mirceac has quit [Quit: Page closed]
arete74_ has quit [Read error: Connection reset by peer]
arete74 has joined #linux-sunxi
paulk-cccamp has joined #linux-sunxi
paulk-cccamp has quit [Remote host closed the connection]
paulk-tereshkova has joined #linux-sunxi
lioka has quit [Ping timeout: 250 seconds]
lioka has joined #linux-sunxi
lioka has quit [Changing host]
lioka has joined #linux-sunxi
paulk-tereshkova has quit [Ping timeout: 264 seconds]
<oliv3r> ijc: ok, i am looking over on https://packages.debian.org/jessie for the kernel package for arm (or in general)
<oliv3r> ijc: i assumed the installer makes use of 'a' package from there
<ijc> oliv3r: You said "the default kernel package... there is not a single dtb". If you aren't looking at some specific package which you think is the default kernel package how did you conclude that?
<oliv3r> well i'm looking for it :)
<oliv3r> and i can't find it, and in the kernel package generated by make deb-pkg from the vanilla mainline package it is not included
<oliv3r> so where are the arm(hf) kernel packages from debian
<oliv3r> (that work on sunxi)
<gzamboni> hi, maybe someone could help me out, i'm trying to attach a NOR SPI memory (m25p10) to a olinuxino micro A20 board on spi0, i did add on the dts the needed values, i did add to my config the M25P80 and the needed options but i cant see the mtd on the dev directory. on the dmesg i dont have any relevant information. on /sys/bus/spi/drivers/ i see the m25p80 is present. Some pastebin info follows:
<gzamboni> the linux kernel config (mtd relevant info): http://pastebin.com/EE8HHCeu
<gzamboni> the dts spi part: http://pastebin.com/MAwJMeYQ (of course i added the spi alias in the beggining of the dts)
<gzamboni> anyone have an idea of how can i deep debug this, and/or do i need any tweak on the sunxi spi driver to make this possible ?
<gzamboni> sometimes changing the dts compatible field with the commented ones i get in dmesg: [ 0.853529] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff and [ 0.859800] m25p80: probe of spi0.0 failed with error -2
<oliv3r> gzamboni: where did you define your partitions? i thought they needed to be in cmdline, dts?
<oliv3r> though i have no experience with spi-nor
<oliv3r> gzamboni: also you very well may need alex's spi patch
MaDMaLKaV has quit [Remote host closed the connection]
<oliv3r> it's in experimental; that's why i couldn't find it
Igorpec3 has quit [Quit: Nettalk6 - www.ntalk.de]
<JohnDoe_71Rus> oliv3r: find this http://apt.armbian.com/pool/main/l/linux-upstream/ not official
MaDMaLKaV has joined #linux-sunxi
<oliv3r> ah and using lpae as search time i found it in sid aswell
Igorpec3 has joined #linux-sunxi
Igorpec3 has quit [Client Quit]
<ijc> oliv3r: So by "default kernel" you were talking about "the kernel I built with make deb-pkg"? That was extremely confusing.
<oliv3r> yeah sorry :( i see the error of my ways now
Igorpec3 has joined #linux-sunxi
<oliv3r> i kinda figured debian kernels are build via make deb-pkg from the vanilla kernel
IgorPecovnik has joined #linux-sunxi
<ijc> and the kernels are not just in experimental, there is one in every suite, but they have a different verison in their name:
<ijc> There is also the plain armmp flavour of all those (without lpae enabled) which is what the installer would actually use itself while running, even on lpae capable platforms, but it would install armmp-lpae on capable platforms
<oliv3r> i wasn't aware of the mp variant of arm (i only know armel and armhf)
<gzamboni> oliv3r, i could declare the partitions on the dts, but in this case i dont need it.
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 264 seconds]
cnxsoft1 is now known as cnxsoft
<gzamboni> this memory has the firmware of a dsp that in the bootup process access its data to load his software, the idea is to upgrade the dsp firmware with linux. There will be a hardware switch to change the spi master bus, but atm i'm connecting the NOR directly and only to the A20
IgorPecovnik has quit [Ping timeout: 264 seconds]
<gzamboni> one silly question, where do i set the demux of each pin in the dts ? it does automatly due to the requested feature ?
<gzamboni> oliv3r, this patch isnt in mainline yet ? i'm using 4.2.0-rc4-00313
<oliv3r> gzamboni: no it's not, there's discussion on the ML about it
<oliv3r> Michal is a little reluctant to have it merged, because with 4.3 we have SPI-DMA support
<gzamboni> humm, let me try it out
<oliv3r> but you need it to get any spi support working properly with large transfers
<oliv3r> so that on that
<oliv3r> and yeah, you need to set the mux for spi
<gzamboni> where do i set the mux in mainline ?
<oliv3r> gzamboni: but you do that via pinctrl-0 = <&spi0_pins_a> part
<gzamboni> on the dts i dont see anything about it
<gzamboni> ah, ok, its already done
<oliv3r> i successfully used spi-mmc via spi1
<oliv3r> so i know it can work, just didn't use spi-nor yet
<gzamboni> if i dont manage to make the linux driver to work i will use spidev and do it on the userspace, but i dont see why its not working, maybe this patch you told me
<gzamboni> thanks oliv3r
ssvb has quit [Ping timeout: 240 seconds]
<oliv3r> i dont' think you can use spidev from userspace
<oliv3r> big mail discussion as to why not
afaerber has joined #linux-sunxi
<gzamboni> yes, i saw that, but that should be specific to the spi-sunxi, because i can see several other dts using it
<oliv3r> yeah, i dunno :)
paulk-collins has quit [Quit: Quitte]
<gzamboni> i'm reading it now, as i understand it works, but we cant set it as default on the dts because of the naming rules
<oliv3r> something like that
simosx has quit [Quit: Leaving]
<oliv3r> that should help though
<oliv3r> even has spi nor flash example
<gzamboni> there are severals boards that use the spidev specification on the dts, dunno why the patch for the sunxi was refused. http://pastebin.com/aUWzb3TS
<oliv3r> old stuff that got sneaked in?
<gzamboni> yes, i did put that exemple, but it was for the 3.4
<oliv3r> that site has mainline stuff in it too
<oliv3r> and was updated a few months ago
<gzamboni> let me check
<gzamboni> it works, but apparently its not the right way of doing it, i get a warning on the kernel log: spidev spi0.0: buggy DT: spidev listed directly in DT
<oliv3r> exactly
<oliv3r> that's the problem, it's caused by BUG() int he spidev driver if you use it as such in the devicetree
<mripard> gzamboni: your error has nothing to do with spidev
<mripard> most likely, your bus isn't working
<mripard> and spidev will not help.
<mripard> check your wiring and pin mux
<oliv3r> mripard: how up to speed are you with simple-framebuffer?
<oliv3r> mripard: also, Hi! :)
<mripard> oliv3r: enough, I guess
<mripard> why don't you ask your real question
<oliv3r> mripard: or rather, i'm reading the simple-framebuffer.txt from the devicetree bindings and see there is an optional display phadle that is supposed to point to the display hardware node, but in the current sunxi dtsi files there is no hardware node (yet)
<oliv3r> well actually, the real problem i'm encountering is, that I have both simplefb and ssd1307fb enabled in the kernel, and the simplefb becomes fb0; where i want it to be fb1 if there is a ssd1307fb framebuffer device
<oliv3r> but i don't know if i can have an alias for display0 = &ssd11307; hence, the question if i can put up an alias for the simpleframebuffer
<oliv3r> if that makes any sense at all
diego_r has quit [Remote host closed the connection]
T0mW has joined #linux-sunxi
diego_r has joined #linux-sunxi
<mripard> oliv3r: you can, I don't know if the fbdev framework handles it.
<gzamboni> mripard, spidev is working, i just checked with an osciloscope
<oliv3r> mripard: so i should just try :)
<oliv3r> mripard: any other suggestion help the kernel/userspace figure out which fb sits where?
<mripard> oliv3r: udev?
<mripard> gzamboni: you're sure of your max frequency ? is it really an SPI NOR and not an AT25
<gzamboni> my ic is a ST M25P10 SPI NOR
<mripard> ok
<gzamboni> i followed the /Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt instructions
<gzamboni> as it is and jedec compatible device
<mripard> how do you know that spidev works ? what test did you make ?
<gzamboni> and as said in the m25p_ids[] in /drivers/mtd/devices/m25p80.c i specified nor-jedec for the m25p10
<gzamboni> i can only say it sends binary data, i didnt verify the content
<gzamboni> but i can do so if you want
<oliv3r> mripard: oh yeah that might work yeah
<oliv3r> mripard: thanks :)
<gzamboni> humm, i just found a possible problem, in the ic datasheet it says that for each byte it change the CS state of the spi bus, and i did forced it to zero (the working logic) , let me try with the CS attached
<oliv3r> spi won't really work without CS though
vishnup has joined #linux-sunxi
<gzamboni> it depends on the IC, you can force it to the working state of the chipselect of the ic (zero or one)
<gzamboni> but it requires CS changes only for writing on my IC so it should be probing it
<mripard> gzamboni: then you have no idea that you can actually read anything from the nor
<mripard> which is exactly what the driver tries to do
florian_ has quit [Ping timeout: 250 seconds]
ssvb has joined #linux-sunxi
<gzamboni> spidev sends 0xFF for whatever value i send
<gzamboni> so i should say spidev does not work
<mripard> you see that using a logical analyzer ?
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
arete74 has quit [Read error: Connection reset by peer]
arete74_ has joined #linux-sunxi
<gzamboni> yes, but i'm checking also if its a lenght problem, as my cable is about 15/20cm and signal looses strength
<mripard> 14:27:09 < mripard > most likely, your bus isn't working
florian_ has joined #linux-sunxi
<mripard> maybe some pull-ups that are too strong?
<gzamboni> we did only put a external pullup on the clock as recommended on the m25p10 datasheet
<gzamboni> we didnt change any of the internal pullup configuration of the A20
florian_ has quit [Ping timeout: 250 seconds]
<gzamboni> sorry, we have only pulldown on the clk, and the clk signal is good, we will try to adjust the others cables
<pietrushnic> `ll
<gzamboni> this is the complete message we get from the kernel log: http://pastebin.com/LkzhXN9D
<mripard> again, not related to spidev.
orly_owl has quit [Ping timeout: 260 seconds]
<gzamboni> you think its a hardware bus connection problem ?
<mripard> I told you twice already...
<gzamboni> ok, i will review everything here, thanks
khuey|away is now known as khuey
florian_ has joined #linux-sunxi
BBerry82 has quit [Ping timeout: 264 seconds]
paulk-tereshkova has joined #linux-sunxi
<oliv3r> gzamboni: its probably wise to first build a test-setup with verys hort cables, few cm's ideally to rule out long cables
<oliv3r> also try reducing the spi frequency to 1MHz or less
paulk-tereshkova has quit [Ping timeout: 250 seconds]
FR^2 has quit [Ping timeout: 264 seconds]
reinforce has quit [Quit: Leaving.]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
FR^2 has joined #linux-sunxi
pmattern has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
souther has quit [Ping timeout: 250 seconds]
souther has joined #linux-sunxi
florian_ has quit [Ping timeout: 246 seconds]
ganbold has quit [Ping timeout: 255 seconds]
domidumont has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
orly_owl has joined #linux-sunxi
_massi has quit [Remote host closed the connection]
lemonzest has joined #linux-sunxi
FR^2 has quit [Remote host closed the connection]
FR^2 has joined #linux-sunxi
bonbons has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
florian has joined #linux-sunxi
viccuad has quit [Ping timeout: 246 seconds]
florian has quit [Ping timeout: 256 seconds]
VargaD has quit [Ping timeout: 264 seconds]
nicksydney has quit [Read error: Connection reset by peer]
nicksydney has joined #linux-sunxi
florian has joined #linux-sunxi
popolon has quit [Ping timeout: 244 seconds]
domidumont has joined #linux-sunxi
florian has quit [Ping timeout: 268 seconds]
florian has joined #linux-sunxi
popolon has joined #linux-sunxi
khuey is now known as khuey|away
VargaD has joined #linux-sunxi
florian has quit [Ping timeout: 252 seconds]
florian has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
diego_r has quit [Ping timeout: 272 seconds]
FR^2 has quit [Quit: Connection reset by peer]
Nacho_ has quit [Remote host closed the connection]
florian has quit [Ping timeout: 252 seconds]
Nacho_ has joined #linux-sunxi
ZbooNet has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
FR^2 has joined #linux-sunxi
<jelle> I'm looking into gettting a fex file out of my device. How does the USB method work?
<jelle> I mean, as far as I can see usb OTG is female port, so I don't hook it up to my laptop
<jelle> or can I retrieve / create it via adb. I have adb access already
<jelly> it's YOU
<jelle> jelly: oh dear, what have I done now ;)
* jelly waves
<jelle> ah mounted /dev/block/nanda, but there is no script.bin
Igorpec3 has quit [Ping timeout: 264 seconds]
khuey|away is now known as khuey
ricardocrudo has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
khuey is now known as khuey|away
khuey|away is now known as khuey
reinforce has quit [Quit: Leaving.]
akaizen_ has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
ZbooNet has quit [Quit: Leaving]
pmattern has quit [Quit: Genug für heute.]
ZbooNet has joined #linux-sunxi
khuey is now known as khuey|away
bonbons has quit [Quit: Leaving]
jimmy274 has joined #linux-sunxi
jimmy274 has quit [Client Quit]
akaizen_ has joined #linux-sunxi
akaizen_ is now known as akaizen
skaag_ has joined #linux-sunxi
skaag_ has quit [Client Quit]
akaizen has quit [Read error: Connection reset by peer]
akaizen_ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
<Ntemis> hey guys
<Ntemis> any news for H3 support?
<Ntemis> am interested an android 5.1 as all new chips now come with Lollipop by default
Ntemis has quit [Remote host closed the connection]
<Wizzup> I'm having trouble getting the OTG port on the cubieboards / limes to function as a host port using linux-next (the upcoming 4.3)
<Wizzup> Should this work right from the defconfig?
ganbold has joined #linux-sunxi
khuey|away is now known as khuey
akaizen_ has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
FR^2 has quit [Quit: Leaving]
RISCi_ATOM has joined #linux-sunxi
naobsd has quit [Remote host closed the connection]
khuey is now known as khuey|away
khuey|away is now known as khuey
khuey is now known as khuey|away
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
khuey|away is now known as khuey
akaizen has quit [Read error: Connection reset by peer]
akaize___ has joined #linux-sunxi