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
<buZz> ty Turl
heap_ has joined #linux-sunxi
<heap_> hi there, on that website http://linux-sunxi.org/SATA#Caveats it says that cheap port multiplier are jmb393 ... but what is good port multiplier?:)
interrobangd has quit [Quit: Leaving]
cptG has quit [Ping timeout: 245 seconds]
cptG has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
fl_0 has quit [Ping timeout: 260 seconds]
mosterta has quit [Ping timeout: 245 seconds]
FDCX has quit [Ping timeout: 240 seconds]
atsampso1 has quit [Ping timeout: 250 seconds]
cptG has quit [Ping timeout: 250 seconds]
cptG has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
Ueno_Otoko has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
FDCX has joined #linux-sunxi
naobsd has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
pietrushnic has quit [Ping timeout: 240 seconds]
mripard has quit [Ping timeout: 264 seconds]
mripard has joined #linux-sunxi
pietrushnic has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<apritzel> still hangs for me while working out the clock for the UART
<apritzel> so I will debug it and send the patches as soon as it boots
<apritzel> I may be tempted to include one or two sunxi-clock cleanups ...
fl_0 has joined #linux-sunxi
cptG has quit [Ping timeout: 250 seconds]
cptG has joined #linux-sunxi
apritzel has quit [Ping timeout: 248 seconds]
<wens> montjoie: it's a secondary supply for the gigabit phy
<wens> gigabit phy RGMII uses 2.5V for signaling, and 3.3V for it's main supply
<wens> in the past, boards had a separate LDO for 2.5V, chained from 3.3V
<wens> the newer PMICs have more outputs, so instead they just use one of the new LDOs
cptG has quit [Ping timeout: 250 seconds]
ninolein has quit [Ping timeout: 260 seconds]
ninolein has joined #linux-sunxi
<wens> mripard: i assume you read my discussion with hans about DT compatibility?
cptG has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
alexxy[home] has quit [Ping timeout: 260 seconds]
whitesn has joined #linux-sunxi
<libv> apritzel: now your image is a direct download from pine64 site: http://wiki.pine64.org/index.php/Main_Page
<libv> and the game is off from square one again ...
Ueno_Otoko has quit [Ping timeout: 272 seconds]
Ueno_Otoko has joined #linux-sunxi
Ueno_Otoko has quit [Ping timeout: 240 seconds]
Wizzup has quit [Ping timeout: 240 seconds]
Ueno_Otoko has joined #linux-sunxi
Ueno_Otoko has quit [Ping timeout: 264 seconds]
p1u3sch1 has quit [Ping timeout: 272 seconds]
p1u3sch1_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
IgorPec has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
IgorPec has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Wizzup has joined #linux-sunxi
mpmc has quit [Quit: ZNC 1.6.1+deb1+jessie0 - http://znc.in]
Ueno_Otoko has joined #linux-sunxi
IgorPec has joined #linux-sunxi
cptG has quit [Ping timeout: 272 seconds]
mpmc_ has joined #linux-sunxi
hipboi has joined #linux-sunxi
orly_owl has joined #linux-sunxi
engideavr has joined #linux-sunxi
tkaiser has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
<mripard> wens: yes, why? did i miss something?
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
cptG has joined #linux-sunxi
<topi`> clear
<topi`> oops, focus was somewhere else...
yann|work has quit [Ping timeout: 272 seconds]
leio has joined #linux-sunxi
leio has quit [Read error: Connection reset by peer]
_massi has joined #linux-sunxi
<wens> mripard: just being sure you're ok with it maybe breaking if dt and kernel aren't the same version
<mripard> yeah, I am
<mripard> but Iḿ not even sure we broke it
<mripard> I mean, it was working fine before, and you didn't change anything in the driver, did you ?
<mripard> it will just work in 4 bits as it used to
Ueno_Otoko has quit [Ping timeout: 260 seconds]
Ueno_Otoko has joined #linux-sunxi
Azathtot has joined #linux-sunxi
<Azathtot> Hi2all
<wens> mripard: right, but the board DT is set to work in 8-bit SDR, while the series adds driver support for 8-bit DDR, which the DT is not setup for
<plaes> wens: how many users will it have?
<wens> close to none? boards that have emmc and are in mainline are the A80 boards and boards from SinLinx
<plaes> see.. ;)
<mripard> wens: I'm not sure I get it then, isn't it going to work in 8-bit SDR ?
<wens> I doubt many people have them, and are actively using them, considering A80 support is ...... not good
<wens> mripard: the mmc core will see that the driver and the card support ddr, so it will switch over, and subsequent ops will fail
<wens> but it doesn't seem to "drop down" to slower modes
<wens> maybe it's an implementation problem?
KotCzarny has quit [Quit: reconfig, bbl]
<mripard> yeah, probably
<wens> new DT will work with old kernel
<wens> the alternative i proposed, using "mmc-ddr-1_8v", will make new DT fail with old kernel, but not vice versa
<wens> i think it's screwed up either way :|
matthias_bgg has joined #linux-sunxi
yann|work has joined #linux-sunxi
<montjoie> wens: you said that RGMII need 3.3 but A83T homlet board use the internal MII (according to script.bin), does the internal MII could also need it ? since for the moment I get nothing from it (no LED, EMAC reset timeout)
<montjoie> and perhaps the problem is the same for H3 (like transmiting need more power than reception)
vishnup has joined #linux-sunxi
<wens> montjoie: a83T homlet uses the phy in the AC200
<wens> you need DLDO4 on the PMIC enabled for it to have power
<montjoie> how do you know that ?
<wens> there are schematics available
<montjoie> thanks for the link
naobsd has quit [Quit: naobsd]
ricardocrudo has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> libv: direct download? really? I see it just linked, actually to my repo, not even directly to the file
<apritzel> libv: so I still can tear it down anytime I want
<apritzel> given ssvb's progress I am not even sure I will publish another image with their firmware blobs again
<libv> apritzel: ok :)
<apritzel> libv: However I started to push some of my tools to my repo to allow people manually rebuilding an image
<apritzel> libv: I guess I will follow the advice and will rework sunxi-tool's nand-part tool to be really usable, merging the functionality I needed in there
<apritzel> so that we end up with an fdisk like tool for NAND partitions
<apritzel> but not this week ;-)
<apritzel> Can someone with DT and clock experience look at the .dtsi here? https://github.com/apritzel/linux/commits/a64-wip-mripard-for-next
<apritzel> and tell me what's wrong there? I start to get lost in this clock mess^Wtree
<wens> apritzel: what issue are you running into?
<apritzel> wens: The UARTs don't get a clock
<apritzel> they do if I reference the 24MHz osc directly
<jemk> apritzel: apb2 seems to have <&pll6 1> parents, not fully h3 compatible
<apritzel> jemk: ah
<jemk> h3 has <&pll6 0>
<apritzel> jemk: are you the author of the H3 support?
<jemk> same for the mmc if i see it correct
<jemk> yes
<apritzel> nice, wanted to talk to you anyway
<apritzel> jemk: do you mind if I rework the H3 bus gates clk driver?
<apritzel> to actually move the magic clock parents into DT?
<apritzel> I think I found a nice way to accomplish this
<jemk> i don't mind, but mripard maybe
<apritzel> yeah, I will put my asbestos trousers on
<apritzel> and may buy him a beer in Brussels
<wens> it did go through some lengthy discussion
<jemk> i first put the parents to the dt in an earlier version too
Net147 has quit [Ping timeout: 276 seconds]
<apritzel> jemk: do you have a pointer to this?
<wens> fyi i'm not attending FOSDEM this year
<apritzel> wens: too bad :-(
<wens> other travel plans came up, and it meant spending too much time out of the country
Net147 has joined #linux-sunxi
<apritzel> jemk: anyway, many thanks for the hints with the pll6 clock
<apritzel> I guess I will find my way through from here
<wens> on the flip side, the weather this week feels like i'm in brussels
<wens> apritzel: maybe try adding -DDEBUG to drivers/clk and see if anything isn't getting registered properly?
<apritzel> I compared the H3 and A64 datasheet for all clocks I referenced and couldn't spot a difference easily, but apparently I was blind
<apritzel> wens: thanks, will try
<wens> considering ELC, but hotels are outrageously expensive
* apritzel is a clock newbie ;$
<libv> wens: i was at elc 2015, and if i hadn't combined it with a city trip with my gf, it imho was not worth it
<apritzel> jemk: I see, actually I had a different idea, let me sketch this quickly somewhere
<wens> libv: i did the city trip last year :)
<libv> :)
<wens> libv: planned to fly to nice for a short vacation, but well, something came up
<libv> ah, you are talking about the san diego one
<mripard> wens: nice is boring, you should come to toulouse instead ;)
<mripard> apritzel: I won't be at FOSDEM
<libv> seems like it will be berlin for .eu this year.
<mripard> apritzel: but you can still ship me a beer :)
<libv> my gf has dragged me there enough already...
<libv> no fosdem?
<wens> libv: misread your message, thought you were mentioning brussels
<libv> wens: oh, fosdem is cheap if you live in .eu
<libv> you can make it as expensive as you like and can usually do it on a shoestring budget as well
<libv> no ~1k entry fee
<wens> elc 2015 coincided with business travel, so i just moved my flight a few days earlier, which is very nice since i get reimbursed for everything except registration fee
<wens> libv: i consider fosdem cheap even coming from asia :)
<libv> :)
<libv> depending on how much you end up drinking :p
<wens> what 1k entry free are you refering to?
<wens> s/free/fee/
<libv> i aim for more than the 190EUR trainticket (which i bought a few h ago) and less than the 3 nights in the hotel near the grand place, that's where food+drink should be :p
<libv> elc
<wens> libv: i don't drink much so i guess i won't spend that much? :p
<libv> then buy chocolates :p
<wens> i ended up filling my luggage with a variety of beer glasses for a friend, and also chocolates :)
<wens> elc has "hobbyist" discounts, which drops the fee to 150 for last year, 175 for this year
Ueno_Otoko has quit [Ping timeout: 256 seconds]
<wens> you have to write them to get the code though
<apritzel> mripard: jemk: would something along those line make sense? https://gist.github.com/apritzel/649f87c78d256131a2d0
<apritzel> basically have a sub node for every parent (so 4 in this case)
<libv> wens: i can hardly warrant that claim
<apritzel> referencing the parent clock naturally in there and only enumerate those gates that are linked to that parent
<wens> "You may choose this selection if you are paying for yourself to attend this event."
<libv> wens: when you are self-employed?
<wens> iirc the wording last year was "You may only choose this if you are not reimbursed for attendance"
<wens> libv: doesn't hurt to ask i suppose
<libv> well, i have been walking the line of not taking advantage of things, ever since daniels at the Xorg board complained about a 500EUR expense for a social event while the whole Xorg FOSDEM devroom in 2006 cost fosdem nothing.
<libv> gives me a nice big stick to bash people with :p
<wens> got it
<libv> berlin will be cheap
<apritzel> libv: poor, but sexy? ;-)
<libv> but too soon, as the really fast trainconnection north is not completely finished yet :p
<libv> apritzel: ah, a former inhabitant :)
<mripard> apritzel: I'd really like to avoid reworking bindings just for the sake of it. We already had a big discussion about this on, let's not start it all over again if we don't have a strong reason to do so
<apritzel> there is a strong reason:
<apritzel> we don't need to add code for each and every SoC that we support
<apritzel> with this I can describe the A64 fully in DT
<libv> s/cost fosdem nothing/cost xorg nothing/
<mripard> apritzel: and the clock maintainers want to push everything in the code itself
<apritzel> which is really stupid, IMHO
<mripard> having everything in the DT is fine, but it makes catching errors more difficult
<apritzel> wasn't it that Linus complained exactly about this one back in this big ARM rant?
<mripard> and the wider your exposed area to the DT is, the more chance you have to break the DT ABI, which you were against iirc
<mripard> Feel free to discuss it with them though :)
<apritzel> will do ;-)
<apritzel> as said above, my asbestos trousers may come in handy ;-)
naobsd has joined #linux-sunxi
engideavr has quit [Quit: Konversation terminated!]
<libv> wens: hah, linuxcon and elce are not combined... you get to pay 800 for linuxcon and 450 for elce
<libv> that's just stupid.
engideavr has joined #linux-sunxi
<wens> yeah, was wondering if linuxcon was worth going to
* mripard had no idea what asbestos was 5 minutes ago :)
<apritzel> mripard: they help to cope with flame wars ;-)
<plaes> ...but are still quite unhealthy to wear
<wens> i thought asbestos was banned
Net147 has quit [Ping timeout: 250 seconds]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 256 seconds]
Net147 has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
engideavr has quit [Quit: Konversation terminated!]
engideavr has joined #linux-sunxi
Net147 has quit [Ping timeout: 265 seconds]
Net147 has joined #linux-sunxi
bmeneg has joined #linux-sunxi
<oliv3r> wens: depends on country i'm sure; but generally it is banned as new material
<oliv3r> also, hi!
<oliv3r> ultimaker will be going to FOSDEM again this year :)
<oliv3r> mripard: i haven't read all there is to read about the pine64, but is there a sponsorship like C.H.I.P. also from that company to get support up to snuff with the pine64?
<apritzel> oliv3r: what kind of sponsorship do you mean? for free development boards?
<apritzel> they are giving away free dev boards pretty generously to many of us, it seems
<libv> oliv3r: we did not catch them with their pants down, so they did not feel morally obliged to make such a big u-turn :p
<libv> although, 1.7m usd should buy quite a bit of developer time
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
<wens> wonder how much of that is left after kickstarter fees and fulfillment
Net147 has quit [Ping timeout: 264 seconds]
Net147 has joined #linux-sunxi
<apritzel> well, 1.7M sounds nice, but they actually have to ship a lot of boards for that, don't they?
<apritzel> and 20$ for a board doesn't sound like much margin to me
<apritzel> as wens said: there is a lot of extra cost involved
Net147 has quit [Ping timeout: 250 seconds]
_stephan has joined #linux-sunxi
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 264 seconds]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 264 seconds]
leio has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 272 seconds]
Net147 has joined #linux-sunxi
vishnu_ has quit [Remote host closed the connection]
vishnu_ has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
Net147 has quit [Ping timeout: 264 seconds]
vishnup has quit [Quit: Connection closed for inactivity]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 264 seconds]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 264 seconds]
reinforce has joined #linux-sunxi
Net147 has joined #linux-sunxi
Ueno_Otoko has joined #linux-sunxi
ssvb has quit [Remote host closed the connection]
Net147 has quit [Ping timeout: 264 seconds]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 264 seconds]
Net147 has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
premoboss has joined #linux-sunxi
Net147 has quit [Ping timeout: 240 seconds]
Net147 has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
lemonzest has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
vishnup has joined #linux-sunxi
Imminens has joined #linux-sunxi
<vishnup> apritzel: resets are missing for uart nodes
<vishnup> It's giving problem I guess
<apritzel> vishnup: OK, though I guess I didn't have them in the hacked DT, which worked
<apritzel> vishnup: but good point anyway, thanks for pointing this out
<apritzel> will fix it in the post
<apritzel> (as long as this doesn't pull in too many other nodes we don't support yet)
<vishnup> Does your hacked dt has 24mhz clock?
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
enrico_ has joined #linux-sunxi
<apritzel> vishnup: yes, that was the easiest part
<apritzel> ;-)
<apritzel> and if I use this as the UART clock directly, then it works
<vishnup> Adding resets should solve uart problem.
<vishnup> On top of ur github branch
Imminens has quit [Quit: WeeChat 1.0.1]
<vishnup> I faced same issue for a83t
<apritzel> vishnup: many thanks, sounds promising, will try it tonight
* apritzel left the Pine64 home again to avoid distraction ;-)
<vishnup> Welcome
<apritzel> I just love Open Source: you stare at your code for days, but other people looking at it find your bugs in minutes
cnxsoft has quit [Quit: cnxsoft]
<apritzel> ALLWINNER: you should read this ^^^^^
<libv> allwinner is not capable of learning anything for long.
<libv> it's like an octopus
matthias_bgg has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
iamfrankenstein has quit [Quit: iamfrankenstein]
MACscr has quit [Ping timeout: 260 seconds]
Ueno_Otoko has quit [Ping timeout: 250 seconds]
tkaiser has joined #linux-sunxi
<GeneralStupid> octupus(ses?) are very intelligent and they are learning quick..
<libv> GeneralStupid: but they forget everything every day
<GeneralStupid> ah ok :D
<KotCzarny> seems like their master-brain went offline
<libv> (googling to confirm that this is not an urban myth)
<libv> hrm, not as black and white as i remember
Azathtot has quit [Quit: Page closed]
_stephan has quit [Quit: Ex-Chat]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
pmattern has joined #linux-sunxi
Imminens has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 250 seconds]
<tkaiser> Has anyone more recent informations regarding sales figures for Allwinner? I just found numbers from 2012 https://en.wikipedia.org/wiki/Allwinner_Technology#Product_history and this http://www.digitimes.com/news/a20140728PD201.html
<KotCzarny> hmm, if i connect to uart, i should see anything without sd card?
<KotCzarny> also, should i see anything with only gnd and rx connected?
<wens> KotCzarny: without sd card, it would boot onboard (flash/emmc) firmware, if any
<wens> KotCzarny: only gnd and rx, yes
<KotCzarny> wens, so without sd/emmc/flash it shouldnt print anything?
avph has quit [Ping timeout: 245 seconds]
<KotCzarny> also, with multimeter i see ~1.8V on tx pin and ~3.4 on rx, is it normal?
premoboss has quit [Ping timeout: 256 seconds]
<wens> KotCzarny: nope, however it will drop into fel, and you can hook up usb
<KotCzarny> i'm trying to debug why my kernel is not booting on opipc
<wens> rx usually has a pull up, so 3.3v is normal
<wens> does u-boot appear?
<KotCzarny> right now i only got the pins right
<KotCzarny> (ie. booted loboris img)
avph has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<KotCzarny> U-Boot SPL 2016.01-00446-g12f229e (Jan 23 2016 - 17:49:01)
<KotCzarny> DRAM: 1024 MiB
<KotCzarny> Could not determine boot source
<KotCzarny> resetting ...
<KotCzarny> hmm
<KotCzarny> where shall i look for possible error?
<KotCzarny> (im trying to boot 3.4 on opipc using mainline uboot, i was told it should work)
* vagrantc read g12f229e as giraffe
avph has quit [Ping timeout: 245 seconds]
<KotCzarny> could it be that current uboot doesnt find any mmc devices on opipc?
paulk-collins has joined #linux-sunxi
avph has joined #linux-sunxi
<KotCzarny> though wiki page states that v2016.01 has sun8i-H3 support
* vagrantc uses u-boot v2016.01 with orange pi plus2
<vagrantc> but not the 3.4 kernel
<KotCzarny> do you know the cause of that error?
<vagrantc> yeah, that's failing well before you even get to loading a kernel..
<vagrantc> KotCzarny: from microSD, or eMMC ?
<KotCzarny> sd
<KotCzarny> opipc doesnt have emmc
<vagrantc> ah
<vagrantc> could try asking in #u-boot
tchiwam_ has joined #linux-sunxi
Tytyryty has joined #linux-sunxi
Imminens_ has joined #linux-sunxi
Imminens has quit [Ping timeout: 240 seconds]
Imminens has joined #linux-sunxi
avph has quit [Ping timeout: 245 seconds]
Tytyryty has quit [Ping timeout: 260 seconds]
Imminens_ has quit [Ping timeout: 260 seconds]
avph has joined #linux-sunxi
Imminens has quit [Ping timeout: 250 seconds]
cosm has joined #linux-sunxi
Imminens has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 272 seconds]
yann|work has quit [Ping timeout: 245 seconds]
domidumont has quit [Read error: Connection reset by peer]
KotCzarny has joined #linux-sunxi
<ricardocrudo> Hi. I'm trying to enable early printk (as http://linux-sunxi.org/Mainline_Kernel_Howto#Early_printk) but I can't find "Kernel low-level debugging messages via sunXi UART0" option
<apritzel> ricardocrudo: what kernel?
<ricardocrudo> sunxi-3.4
<ricardocrudo> apritzel: ^
<apritzel> oh dear ...
<apritzel> does that one actually has this option?
<Turl> ricardocrudo: hmm I think it was enabled by default
<Turl> ricardocrudo: have you tried passing "earlyprintk" on cmdline?
<ricardocrudo> Turl: no.. via u-boot you mean?
<Turl> ricardocrudo: yes, as part of bootargs
<Turl> also make sure DEBUG_LL is enabled
<ricardocrudo> Turl: ok, I'll try it
<Turl> I think that was everything needed
<apritzel> ricardocrudo: since you page you mentioned above says: "mainline kernel" I really wonder if sunxi-3.4 has this particular option?
<apritzel> *since the page*
<apritzel> I can find it in my mainline kernel, though initially "Kernel low-level debugging port" is empty and has to be selected to show the UART's name
<apritzel> (in case you try to find that particular line from the Wiki)
<ricardocrudo> apritzel: I don't know. in 3.4 it has early printk option with no uart selected by default
<KotCzarny> i see earlyprintk=ttyS0,115200 param in my cmdline
<apritzel> ricardocrudo: sorry, I don't have sunxi-3.4 here to check
<apritzel> maybe the naming is different?
<apritzel> (if it is supported at all)
<KotCzarny> hmm
<KotCzarny> CONFIG_MMC0_CD_PIN=""
<KotCzarny> could it be the reason uboot doesnt find mmc device?
IgorPec has joined #linux-sunxi
<ricardocrudo> Actually I'm booting from nand
<KotCzarny> shall i set it to sdc_det port from fex?
<ricardocrudo> the earlyprint seems to enabled more prints
<ricardocrudo> but I can't see what happens between "Starting kernel" message and [0.0000] message
<ricardocrudo> it's taking 8 sec between this 2 messages
cptG_ has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
iamfrankenstein has joined #linux-sunxi
cptG has quit [Ping timeout: 250 seconds]
fredy has quit [Excess Flood]
vishnup has quit [Quit: Connection closed for inactivity]
fredy has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<ccaione> decompressing?
Nacho has quit [Ping timeout: 245 seconds]
<montjoie> wens: setting DLDO4 to 3300 is not sufficient
Nacho has joined #linux-sunxi
cptG_ is now known as cptG
Netlynx has joined #linux-sunxi
khuey|away is now known as khuey
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
premoboss has joined #linux-sunxi
reinforce has joined #linux-sunxi
pekka30 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
bonbons has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
enrico_ has quit [Quit: Bye]
_massi has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
interrobangd has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
apritzel has quit [Ping timeout: 248 seconds]
iamfrankenstein has joined #linux-sunxi
akaizen has joined #linux-sunxi
nove has joined #linux-sunxi
<KotCzarny> hmm, one weird thing is that menu for filesystems when configuring uboot is empty
avph has quit [Ping timeout: 245 seconds]
domidumont has joined #linux-sunxi
avph has joined #linux-sunxi
cosm has quit [Quit: Leaving]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<nove> Azathtot, the video engine hardware can only encode sources with sizes multiple of 16x16 (1080 is not a multiple of 16), as that ffmpeg is a elementar implementation of the codec, it doesn't sets "frame cropping"(which is not a hardware feature, but software)
domidumont1 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 245 seconds]
avph has quit [Ping timeout: 240 seconds]
domidumont has quit [Ping timeout: 246 seconds]
* nove finds funny that practically all the questions happen to be made in irc, and never in the maillist
<KotCzarny> hrm
<KotCzarny> somehow i suspect that while make orangepi_pc_defconfig sets proper config
<KotCzarny> running make menuconfig and saving even without changing anything will break it
avph has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
<KotCzarny> hmm, funky
<KotCzarny> U-Boot SPL 2016.01-00446-g12f229e-dirty (Jan 25 2016 - 20:14:03)
<KotCzarny> DRAM: 1024 MiB
<KotCzarny> Trying to boot from MMC
<KotCzarny> U-Boot 2016.01-00446-g12f229e-dirty (Jan 25 2016 - 20:14:03 +0100) Allwinner Technology
<KotCzarny> does it chainload something from sd card by mistake?
tchiwam has joined #linux-sunxi
tchiwam_ has quit [Ping timeout: 256 seconds]
<vagrantc> KotCzarny: SPL is an early loader, which configures a asic system and then loads the *real* u-boot
<vagrantc> a basic system
<KotCzarny> vagrantc: somehow i managed to get one build to work, but had to increase CONFIG_SYS_BOOTM_LEN, and now i cant get it to find mmc again
tkaiser has joined #linux-sunxi
<KotCzarny> hrm
<KotCzarny> is it some timing issue?
yann|work has joined #linux-sunxi
mosterta has joined #linux-sunxi
<tkaiser> KotCzarny: Did you thought about relying on Armbian's build system? And then using not loboris' kernel but the 3.4 fork from ssvb?
<KotCzarny> tkaiser: i'm learning u-boot at the moment
<tkaiser> yann|work: Is your H3 stuff somewhere online?
<KotCzarny> hrm
Net147 has quit [Ping timeout: 264 seconds]
Net147 has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
domidumont1 has quit [Ping timeout: 246 seconds]
<KotCzarny> Loading Kernel Image ... OK
<KotCzarny> woohoo
<KotCzarny> i had to hack the CONFIG_SYS_BOOTM_LEN directly in the source, somehow it was getting eaten from .config
<KotCzarny> hmm
<KotCzarny> opipc somehow hates my 2gb microsd card
<Imminens> my old a13 device hate all card i have
tkaiser has joined #linux-sunxi
<KotCzarny> otoh, it works with uboot from 2011
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<Imminens> with last uboot i check 20 sd card, on all i get "Card did not respond to voltage select!"
ricardocrudo has joined #linux-sunxi
<Imminens> after run this uboot android dont detect card and usb dont work in clientmode
<KotCzarny> muahhahaha, it booots
avph has quit [Ping timeout: 245 seconds]
avph has joined #linux-sunxi
<KotCzarny> ok, i can confirm that u-boot 2016.01 works with 3.4 kernel on orange pi pc. but it has some timing issues as sometimes mmc card isnt detected at the first try. also has some build issues
<yann|work> tkaiser: not pushed everthing yet, and not all that was pushed is 100% certified, but essentials are on https://github.com/O-Computers
Netlynx has quit [Quit: Leaving]
<tkaiser> yann|work: thx
ssvb has joined #linux-sunxi
avph has quit [Ping timeout: 245 seconds]
<ssvb> KotCzarny: a problematic SD card? maybe try a different one and/or check if it works fine with other devices
<KotCzarny> ssvb, it only happens on cold boot
<KotCzarny> on reboot controller/card is found on the first try
<KotCzarny> so i bet on initialization timing issues
avph has joined #linux-sunxi
<ssvb> KotCzarny: does it also happen if UART serial cable is disconnected?
<KotCzarny> ssvb, its hard to debug because it retries
<tkaiser> BTW: TL Lim (Pine64) wrote me today that A64 is made in a 40nm process. He showed me also mail conversation with Allwinner PM (he asked whether it's 28nm and the answer was '40nm').
<tkaiser> I searched a while and there are no first-hand sources regarding the exact process of A64.
<ssvb> KotCzarny: btw, why is your U-Boot dirty?
<tkaiser> Maybe the only 2 Allwinner SoCs made in 28nm are A80 and A83T?
<KotCzarny> ssvb, your guess is as good as mine, checked out few days ago
<KotCzarny> ssvb, as for timing issues, might be card as well
<ssvb> KotCzarny: well, apparently only you can debug it, unless somebody else manages to reproduce this problem
<ssvb> KotCzarny: add debugging prints in the mmc code, check relevant voltages and frequencies
<KotCzarny> ssvb, right now i've found magic combination of uboot compilation/settings and linux booting config
<ssvb> KotCzarny: is it some sort of an old low speed sd card?
<KotCzarny> transcend 2gb
<KotCzarny> /sys/class/mmc_host/mmc0/mmc0:0002/manfid is 0x00001b
avph has quit [Ping timeout: 245 seconds]
<KotCzarny> Timing buffered disk reads: 22 MB in 3.01 seconds = 7.31 MB/sec
<KotCzarny> (in thinkpad x40)
<KotCzarny> is 'optimize fo size' preferred option in kernel?
pmattern has quit [Quit: Genug für heute.]
reinforce has quit [Quit: Leaving.]
<ssvb> KotCzarny: this sd card seems to be old and slow, my random guess is that the mmc controller might be trying to use it at a faster clock speed than the card can handle
<KotCzarny> could be
avph has joined #linux-sunxi
apritzel has joined #linux-sunxi
nove has quit [Quit: nove]
sunxi_fan1 has joined #linux-sunxi
Tytyryty has joined #linux-sunxi
Imminens has quit [Ping timeout: 265 seconds]
Tytyryty is now known as Imminens
bonbons has quit [Quit: Leaving]
<yann|work> is there any disadvantage of including HDMI_DISP2_SUNXI in-kernel (instead of as a module) ?
flok420 has quit [Ping timeout: 264 seconds]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
interrobangd has quit [Read error: Connection reset by peer]
<KotCzarny> yann, memory wasted on headless machines?
paulk-collins has quit [Quit: Quitte]
premoboss has quit [Ping timeout: 250 seconds]
jstein has joined #linux-sunxi
flok420 has joined #linux-sunxi
premoboss has joined #linux-sunxi
orly_owl has quit [Ping timeout: 256 seconds]
<yann|work> KotCzarny: that's a point
<yann|work> i'm wondering why it's not autoloaded, that would avoid to force anything anyway
<KotCzarny> /etc/modprobe.d/auto_load_hdmi_for_yann.conf ?
akaizen has joined #linux-sunxi
<KotCzarny> remember we have no official one-and-only distro
atsampson has joined #linux-sunxi
<yann|work> yes, but i'm working on a yocto config, and i'm somehow as reluctant at providing a load-by-default that's not trivial to desactivate as at providing a non-removable driver...
leio has quit [Ping timeout: 260 seconds]
vishnup has joined #linux-sunxi
Imminens has quit [Read error: Connection reset by peer]
<KotCzarny> hmm, mainline uboot supports zimage or not yet?
<yann|work> I think so, but did not test
<NiteHawk> bootz should work fine
<KotCzarny> nitehawk: even with 3.4?
<KotCzarny> hrm, apparently i b0rked the .config then
premoboss has quit [Ping timeout: 250 seconds]
<NiteHawk> zimage has been around for a long time, i see no reason why it would be problematic there. admittedly i haven't tested it in depth. but hey - just give it a try
<KotCzarny> hang at 'Starting kernel ...' means i've b0rked the kernel
<KotCzarny> unless there is another reason, hrm
premoboss has joined #linux-sunxi
Net147 has quit [Ping timeout: 240 seconds]
Net147 has joined #linux-sunxi
Imminens has joined #linux-sunxi
avph has quit [Ping timeout: 245 seconds]
<apritzel> KotCzarny: does the sunxi 3.4 kernel use DT?
<KotCzarny> how do i check?
<apritzel> do you give a .dtb file somewhere?
<apritzel> on U-Boot?
<apritzel> like "bootz $kernel_addr - $fdt_addr"
<apritzel> Nothing after "Starting kernel" usually points at a broken DT or totally misconfigured kernel
<apritzel> earlyprintk should work though and be able to tell you
<apritzel> but then again I have _no_ idea how that goes together with such old kernels
<KotCzarny> well, nothing after 'starting kernel' so i guess it doesnt reach earlyprintk
<apritzel> or earlyprintk is wrongly configured
<apritzel> do you have the right UART?
<KotCzarny> i've started with loboris .config, then just cut it down a bit
avph has joined #linux-sunxi
<yann|work> apritzel: no, it is using a FEX compiled to script.bin
<apritzel> I was afraid of that ...
<yann|work> are you using mainline u-boot, or an old one ? which SoC/board ?
<KotCzarny> opipc, 3.4.39
<KotCzarny> mainline uboot
<yann|work> same setup as mine apart from the opi+ here
<KotCzarny> mind to share your .config ?
<KotCzarny> (for the kernel)
<KotCzarny> ty
<yann|work> and for u-boot...
<yann|work> setenv machid 1029
<yann|work> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
<yann|work> setenv bootcmd "load mmc 0:1 0x43000000 script.bin; load mmc 0:1 0x40008000 uImage; bootm 0x40008000"
<yann|work> saveenv
<KotCzarny> (also, to build kernel make uImage is sufficient, or is there any black magic postprocess involved?)
<yann|work> (do not yet generate a correct image and running that by hand on first boot)
Net147 has quit [Ping timeout: 250 seconds]
<yann|work> reminds me something
<yann|work> hm no, was confusing with mainline kernel needing LOADADDR=
<yann|work> I'm relying on the yocto build rules - it uses: make uImage CC="arm-poky-linux-gnueabi-gcc -fuse-ld=bfd" LD=arm-poky-linux-gnueabi-ld.bfd
<yann|work> guess that linker script is not in the official tree...
<yann|work> are you using ssvb's branch ?
<KotCzarny> i'm compiling on-device
<yann|work> oh, I guess you're not in a hurry then, are you ;)
<KotCzarny> takes ~20-30 minutes for full rebuild
Net147 has joined #linux-sunxi
<yann|work> yep, that's huge :)
<KotCzarny> planning to connect 2 more bananas
<yann|work> and what's you symptom ?
<yann|work> +r
<KotCzarny> hmm?
<yann|work> what's your problem with "make uImage" ?
<KotCzarny> none
<yann|work> oh, sorry, misread your original question :)
<KotCzarny> but result didnt boot, gonna try your config
<yann|work> failed with what error ?
<yann|work> oh, reminds me my initial attempts, in fact...
<KotCzarny> kernel is recompiling, gotta catch some sleep, nite !
ricardocrudo has quit [Remote host closed the connection]
<yann|work> same here, n8 :)
<yann|work> just can't recall what was the exact thing that made the whole fall into place
<KotCzarny> :)
<KotCzarny> i might setup distcc or something on my 6core pc to check it
<KotCzarny> but that's for tomorrow