mnemoc 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
pwhalen has quit [Ping timeout: 272 seconds]
ricardocrudo has quit [Ping timeout: 260 seconds]
rafaelMOD has quit [Remote host closed the connection]
pwhalen has joined #linux-sunxi
xeros has quit [Ping timeout: 272 seconds]
popolon has quit [Quit: WeeChat 1.0.1]
tomboy64 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
pwhalen has quit [Ping timeout: 245 seconds]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
naobsd has joined #linux-sunxi
petr has quit [Ping timeout: 260 seconds]
petr has joined #linux-sunxi
pwhalen has joined #linux-sunxi
Andy-D has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
shannon has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 264 seconds]
tomboy64 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
akaizen has quit [Remote host closed the connection]
tomboy64 has quit [Ping timeout: 264 seconds]
shannon has quit [Quit: Page closed]
tomboy64 has joined #linux-sunxi
WarheadsSE has quit [Ping timeout: 244 seconds]
Net147 has joined #linux-sunxi
WarheadsSE has joined #linux-sunxi
akaizen has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
pwhalen has quit [Ping timeout: 245 seconds]
pwhalen has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Andy-D has quit [Ping timeout: 272 seconds]
megal0maniac is now known as Guest22105
Guest22105 has quit [Killed (verne.freenode.net (Nickname regained by services))]
megal0maniac has joined #linux-sunxi
Andy-D has joined #linux-sunxi
Wes-_ has joined #linux-sunxi
Wes-__ has quit [Read error: Connection reset by peer]
philippe_fouquet has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 264 seconds]
tomboy64 has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
Andy-D has quit [Ping timeout: 272 seconds]
megal0maniac is now known as Guest66098
Guest66098 has quit [Killed (card.freenode.net (Nickname regained by services))]
megal0maniac has joined #linux-sunxi
akaizen has quit [Ping timeout: 272 seconds]
_massi has joined #linux-sunxi
_massi has quit [Ping timeout: 272 seconds]
Andy-D has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
naobsd has joined #linux-sunxi
akaizen has joined #linux-sunxi
<wens> oliv3r: do you still need me to test?
tomboy65 has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 264 seconds]
weissschloss has quit [Remote host closed the connection]
weissschloss has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
_massi has joined #linux-sunxi
sehraf has joined #linux-sunxi
dantob has joined #linux-sunxi
<esperegu> I see it the xorg log that: [ 33.414] (II) Module "dri2" already built-in but I build the dri2 module. can that be an issue?
souther has quit [Ping timeout: 260 seconds]
scream_ has joined #linux-sunxi
<scream_> hey! has anyone got nand working on mainline?
<scream_> i have compiled the nan-pre-v6 branch kernel from github, configured dt
<scream_> now i get Bad eraseblock 16 at 0x0000021fe000 on kernel boot on half of the erase blocks
<scream_> erase blocks which don't show the error work correctly and have been formatted with ubifs
<scream_> i took cubitruck dt as an example on how to set up nand definitions
<scream_> i see that there is a pattern in the erase block addresses so something must be wrong with configuration
<scream_> magical onfi,nand-timing-mode = <0x1f>; bothers me
<scream_> i see no documentation of this value
popolon has joined #linux-sunxi
souther has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
Net147 has quit [Quit: Konversation terminated!]
dantob has quit [Quit: dantob]
Nyuutwo_ is now known as Nyuutwo
ganbold_ has quit [Remote host closed the connection]
wingrime has joined #linux-sunxi
lauri has quit [Remote host closed the connection]
<wingrime> jemk: ouch, rk cool
ddc has joined #linux-sunxi
<ddc> scream_: the nand mtd driver using different ecc layout and algorithm that why you are getting too may bad blocks.
leviathanch2 has joined #linux-sunxi
xeros has joined #linux-sunxi
<wens> Turl: why do we have CLK_SET_RATE_NO_REPARENT on mux clks, and no CLK_SET_RATE_PARENT
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
astr has quit [Ping timeout: 272 seconds]
astr has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
<scream_> ddc, is it possible to rebuild that info? erase bad block table or something?
<ddc> scream_: u can try to erase you nand
<rz2k_> scream_: you need a kernel patch http://code.bulix.org/zplo1o-86614
<rz2k_> then flash_erase the whole nand
<rz2k_> then reboot to normal kernel and make format it to ubi
<rz2k_> you will have nand with normal ecc layout and normal amount of badblocks, without doing this you will see all blocks falsely marked as bad
<scream_> thanks, i'll try
<scream_> i tried doing it by forcing bad block erases bot got the message that this patch goes over ;)
<rz2k_> that patch basically ignores the bb erase and forcely formats everything to new format
Akagi201_ has joined #linux-sunxi
<scream_> i'll try it now
<scream_> do you have any recommendations on the device tree config?
<scream_> i have it defined as such http://code.bulix.org/otnz0y-87138
Akagi201 has quit [Ping timeout: 245 seconds]
<scream_> these randomizer seeds are the same as defined in a10 flash controller manual
<rz2k_> looks ok, I guess.
leviathanch2 has quit [Ping timeout: 272 seconds]
leviathanch2 has joined #linux-sunxi
_massi has quit [Quit: Leaving]
<scream_> rz2k_, thanks, it helped
<scream_> now i get no bad block errors
<scream_> is there a specific layout that a nand patched u-boot expects?
leviathanch2 has quit [Ping timeout: 260 seconds]
ddc has quit [Quit: Page closed]
ganbold_ has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
* lioka .oO diehardfb
<lioka> seems some movement finally
<Turl> wend, deja vu
<wens> Turl: i'm playing with cpufreq-cpu0, and noticed nothing changes :p
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Turl> huh. pretty sure cpufreq used to work with the old driver hmm..
<wens> Turl: i'm using the "cpu" clock, not pll1
<Turl> but it begun to explode with one of the cpufreq api changes and never bothered enough to look at why
<Turl> ah
<libv> 7 mails left to go
<wens> libv: i thought the issue was settled :p
<Turl> how are you going to handle the babysitting of the 3 bus clocks?
<wens> Turl: i haven't tested, so i don't know what's going to happen
<Turl> iirc that driver only handled 1 clock
<wens> the lazy way out of it is just to mux ahb1 from pll6 and be done with it
<oliv3r> Turl: they now wanna make chapter 8 about 'installing android'
<wens> seriously?
<Turl> wens, and axi will be derp still
<libv> wens: i hope so
<Turl> yay livesuit lol
<libv> wens: but i am sure that 7 more emails will get bumped around
<wens> Turl: iirc axi doesn't really have anything
<libv> Turl: good thing that i just cleaned that up and documented it :p
<Turl> does it work on anything non winxp?
<Turl> wens, still
<wens> livesuit does work with win7
<wens> phoenixsuit that is
<Turl> I tried win7 x64 with livesuit ages ago without much success as far as I recall
<Turl> xp 32b on virtualbox did the trick though
leviathanch2 has joined #linux-sunxi
<libv> Turl: yes, it does
<Turl> libv: uh, the repo is misnamed :P
<libv> how so?
<Turl> it says livesuite
<libv> oh
<Turl> (it's actually wrong on github, not just a bad link https://github.com/linux-sunxi/sunxi-livesuite )
<libv> i just ran dict on suit
Andy-D has quit [Ping timeout: 272 seconds]
<libv> seems like i have correctly named it
<libv> it just doesn't match allwinners spelling :p
<libv> well """spelling"""
<libv> ah, no, suite also refers to suit
<libv> grmbl
<Turl> the tool is named without e afaik
<libv> yeah, you are right
<Turl> so you can't add e's around :P esp if you do so like 1/50th of the time
<libv> :)
<Turl> anyway, not a deal breaker in any case
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<libv> nah, i will rename it later today
sehraf has joined #linux-sunxi
eagles0513875 has quit [Ping timeout: 246 seconds]
leviathanch2 has quit [Ping timeout: 250 seconds]
<wens> Turl: where are we supposed to put provider constraints anyway?
<wens> i do see a few drivers using clk notifiers
<mripard> wens: constraints on what?
<wens> mripard: clock rates
<wens> mripard: i.e. the clock driver should know the valid range of clock rates
<mripard> wens: it shouldn't really matter for cpufreq, does it?
Gerwin_J has joined #linux-sunxi
<mripard> you're already feeding the valid clock rates
leviathanch2 has joined #linux-sunxi
<wens> mripard: Turl is concerned that axi/ahb/apb0, which are clocked from cpu, will be affected
<mripard> wens: well, yeah, they might
<Turl> wens: you won't get much with passive notifiers though
<mripard> but what's the big deal about it?
<Turl> you'll most likely need to handhold them
<wens> anyway i was just asking why the flags :p
<mripard> all the IP that need to have a fixed clock have a clock of their own
<wens> if there's no big concern there, i'll just replace them and test
<mripard> the only exception being the HS timer
<mripard> but I'm not sure anyone noticed :)
<wens> which we don't really use
naobsd has quit [Quit: Page closed]
ddc has joined #linux-sunxi
<scream_> has anyone used rgwan's branch ob nand u-boot?
<scream_> it builds fine but it seems that SPL expects u-boot in some fixed location in nand
tomboy64 has quit [Ping timeout: 264 seconds]
ddc has quit [Ping timeout: 246 seconds]
ddc has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 258 seconds]
<ddc> scream_: apply those patches https://github.com/quitte/u-boot/commits
ricardocrudo has joined #linux-sunxi
scream_ has quit [Remote host closed the connection]
tomboy64 has joined #linux-sunxi
afaerber_ has quit [Ping timeout: 260 seconds]
rafaelMOD has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
ddc has quit [Quit: Page closed]
arend has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
xavia has joined #linux-sunxi
deasy has joined #linux-sunxi
Wizzup_ is now known as Wizzup
uwe__ is now known as uwe_
Svetlana has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
leviathanch2 has quit [Ping timeout: 260 seconds]
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
tomcheng76 has quit [Read error: Connection reset by peer]
wingrime has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
jinzo has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
Quarx has joined #linux-sunxi
megal0maniac has quit [Ping timeout: 244 seconds]
castor3 has joined #linux-sunxi
<castor3> Hi
<castor3> I'm currently trying to boot on a SATA drive (not directly, the kernel is on the SD card) with my Olimex Lime (A10).
<castor3> There's Debian on the SD card (the official image), and I put an archlinuxarm rootfs on /dev/sda5.
<castor3> But I can't manage to boot with this rootfs, configuring u-boot... Is there anyone that may help me with this issue?
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
megal0maniac has joined #linux-sunxi
<sehraf> castor3: does the debian kernel support everything needed for arch? (e.g. systemd?)
<castor3> I don't know :( I know debian switched to systemd recently (on x86, at least), but I don't know for the arm version.
tomcheng76 has quit [Client Quit]
<castor3> I constructed the uInitrd image to have the sata drivers loaded, though. I thought it was sufficient :p
<sehraf> at which point does it stop working? does the kernel boot?
<castor3> Well, it's quite complicated. I don't have any screen, I'm working on my network, so my only way to know is by trying a ping or a ssh access :D
<castor3> (and on my laptop to write on the SD card when needed)
<sehraf> i guess you don't have any shiny serial/tty cable? :D
<castor3> I don't :'(
<castor3> So, what I'm able to do so far, is too boot on the Debian on the SD card (and chroot on my Arch rootfs)
<sehraf> you could download and install an arch kernel from the repos
<sehraf> but this might mess up your debian ;)
<castor3> I don't care about the Debian :p
<castor3> But so, you think that I might copy the uImage from the Arch partition to my SD card?
philippe_fouquet has quit [Remote host closed the connection]
<sehraf> technically that should work
philippe_fouquet has joined #linux-sunxi
<castor3> Ok, I'll try it in a few minutes
<castor3> On the wiki, they say that it's compulsory to use an initrd image
<castor3> Is that right?
<WarheadsSE> I heard Arch
philippe_fouquet has quit [Ping timeout: 272 seconds]
<WarheadsSE> The A10 lime should be matter of the uboot/spl+ fex/script and that's all
<WarheadsSE> We (arch linux arm) don't currently have a re-built uboot for the LIME
<castor3> Ok
<castor3> So what do I do, basically? :p
<sehraf> castor3: Arch usually doesn't require an initrd image (as long as you don't crazy things)
<castor3> Ah, ok
<castor3> WarheadsSE: I use the uEnv, boot, script.bin files from Debian
Zboonet has joined #linux-sunxi
<castor3> So they should work with Arch, since it's only material-dependant, am I right?
<WarheadsSE> mostly
<WarheadsSE> The only trick past that is kernel + modules
<castor3> Ok
<castor3> What should I do, then?
<WarheadsSE> Well, You'd want to have the Arch kernel obv
<WarheadsSE> should be under p5/boot/
<castor3> It was in /boot/uImage in my archive
<WarheadsSE> yu[p
konradoo87 has joined #linux-sunxi
<castor3> (sunxi-???4, something like that)
<WarheadsSE> p5/boot was in reference to your partition ;l
<castor3> Okay :D
<WarheadsSE> yeah, linux-sun4i
<WarheadsSE> if the framebuffer stuff was happy in mainline, we're totally jump to that unified kernel
<castor3> Well, I copied the Arch uImage onto my old uImage, and now it just doesn't boot :DDD
<castor3> (because, afaik, it's not possible to directly boot on the SATA disk, so I must load the kernel from the SD card)
konradoo77 has quit [Ping timeout: 244 seconds]
<WarheadsSE> yes
<WarheadsSE> you do have to load the uboot from the sd card, that can't be skipped
<WarheadsSE> what does "doesn't boot" mean?
<castor3> Hmm. The eth led was green at first but now it's not, and normally it stays green, and the sata disk isn't running.
<castor3> So I think there was a problem during the boot
popolon has quit [Quit: WeeChat 1.0.1]
<WarheadsSE> yeah, serial cable?
<castor3> Nope :(
popolon has joined #linux-sunxi
<castor3> I searched for resources on the net, but the sunxi wiki is filled with pages which sometimes use the A20 as reference and sometimes the a10
pwhalen has left #linux-sunxi ["Leaving"]
<castor3> And it's very troubling, especialy when you're dealing with memory ranges and stuff (when I wanted to put an initramfs, as they said in the doc)
<castor3> (I didn't know if putting any value, sufficiently distant from the kernel memory range was fine :D)
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Remote host closed the connection]
<WarheadsSE> K. One point of note: ALARM doesn't ship with the framebuffer on by default
<WarheadsSE> we do have dhcp & sshd running though
arend has quit [Remote host closed the connection]
bertrik has joined #linux-sunxi
konradoo87 has quit [Ping timeout: 272 seconds]
konradoo77 has joined #linux-sunxi
F1skr has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 244 seconds]
konradoo77 has joined #linux-sunxi
ninolein has quit [Ping timeout: 245 seconds]
ninolein has joined #linux-sunxi
F1skr has quit [Ping timeout: 260 seconds]
TheSeven has quit [Ping timeout: 272 seconds]
philippe_fouquet has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
paulk-collins has joined #linux-sunxi
<libv> oh man.
<libv> now someone else picked up on hansgs resend of the patches, and it starts all over again...
<libv> un-be-liev-a-ble
<libv> why do i bother doing anything?
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jinzo has quit [Quit: Leaving]
formruga has joined #linux-sunxi
<castor3> WarheadsSE: So, in your opinion, where does the problem come from?
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 272 seconds]
<libv> castor3: first, you do not seem to be working through a full manual build howto
<castor3> No, I'm not
<libv> secondly, you do not have a uart so you can debug any issues that do turn up
<castor3> Is it compulsofy?
<castor3> compulsory*
<castor3> (the manual build)
<libv> no, but you are doing a mix n match job here
<libv> which will only increase your chances of messing things up.
<castor3> :D
<castor3> I thought it was as simple as changing the root option in the kernel options :p I may have been mistaken :3
<libv> it should be
<libv> but how can you tell, without uart?
<castor3> Yeah...
<castor3> Anyway, I don't have a computer which supports serial connexions at the moment
<libv> no?
<libv> castor3: strange.
<castor3> I only have my laptop, which I think, doesn't
<libv> your laptop has no usb?
<castor3> Ah, it's through usb? Ok
<libv> or did you also refuse to read our UART wiki page?
<JohnDoe_71Rus> usb-ttl converter + minicom
<castor3> I didn't read it because I didn't think it was relevant. I was mistaken, then.
<castor3> That's not a question a "refusal".
<libv> well, you do seem to like shortcuts
<castor3> ?
<castor3> I don't see why, but ok. I spend the entire day reading forums and searching for info, but ok.
<libv> i just mentioned the manual build howto 5 minutes ago
<libv> reading forums?
<JohnDoe_71Rus> castor3: http://www.ebay.com/itm/300944828485
<libv> we have a pretty in depth and complete wiki
<castor3> Yeah, like searching for anyone who could have run into the same issue
<libv> we don't do forums.
<castor3> Like in the Olimex forums
<castor3> JohnDoe_71Rus: thanks
leviathanch2 has joined #linux-sunxi
<castor3> http://linux-sunxi.org/Manual_build_howto <- I read this page, you know
<libv> ok
<castor3> Maybe I forgot to take something in account from this page
<castor3> But I don't know what, and that's why I was asking for help here, *after* having searched for a few hours on my own.
<libv> it's easy to overlook a small thing, which is why we have uart
<castor3> Yeah
<libv> since simplefb apparently is the most controversial linux code in the world.
<castor3> :D
<castor3> Isn't it possibly to just deactivate the fb?
<castor3> possible*
<libv> i am refering to the uboot hdmi support, and the additions needed to the simplefb driver to get a working simple rescue console
<castor3> Okay
<libv> simplefb is 280loc
<libv> the email thread is like 274 emails
<castor3> :D
<castor3> libv: what I don't understand about this wiki is the lack of precision about which architecture the page is referring to. It's quite detailed, but the main information that I'd like to appear isn't precised.
<castor3> Like when they describe a boot.cmd file
<castor3> I don't know if the memory ranges are suitable for me
<libv> A10, A13/A10s and A20 all should be the same
<castor3> Since the memory ranges are different for the given ranges in the Debian image boot.scr, I don't know what to do
<castor3> Okay
<libv> especially with respect to that page
<libv> castor3: this is not a difference in architecture
<libv> it's a variation of an SoC
<castor3> Yeah, I don't use the right word. Sorry for that.
<libv> we have unified support for A10, A13/A10s and A20
<libv> newer SoCs have not had that treatment
<libv> and we are only slowly converting the wiki over to reflect that
<castor3> But like, in this page, they don't specify if they're talking about A10/.../A20 or about another SoC
<castor3> They're mentioning the cubie just after
<libv> ...
<libv> that line is bullshit anyway
<castor3> Okay
<libv> no longer needed
<castor3> How could I know that? :p
<libv> ...
<castor3> ...
<libv> do you know how much time i spend on maintaining the wiki?
<castor3> I don't know
<castor3> But I respect you for doing so
<libv> http://linux-sunxi.org/index.php?title=Special:Contributions/Libv&offset=&limit=500&target=Libv
<castor3> And it has been helping me, so far, even if I didn't worked my issue out
<libv> so i'm really really sorry that the _wiki_ is not perfect.
<castor3> work*
<castor3> I'm not judging you, you know. Nor I'm judging the wiki.
<libv> i keep on recommending people to go work another SoC if they have complaints
<libv> also, when reading wikis, it pays to look at the date on the page
<castor3> I'm just saying it's not as clear as you seem to say, and it's all that clear for me, and that's why I'm here. That's all. The content is great, but not perfect, nobody's blaming you for that.
<libv> yes, i am really sorry that i haven't spent, what, a thousand or so more hours on the wiki yet.
<libv> this page has not had a thorough libv treatment anyway
<libv> or it would not have been flat for a start
<castor3> :(
<castor3> So, basically, what would you adivse me to do? Wait to have the uart-usb cable shipped, or continue to try to boot on my SATA drive?
leviathanch2 has quit [Ping timeout: 272 seconds]
<castor3> And in the latter case, what should I do, if you have any idea?
<libv> wait for a uart.
<castor3> Okay
<libv> also, why do you need an initrd?
<Wes-_> Has anyone here ever managed to use a linux-sunxi platform with an A10 SoC to either tether to an android tablet, or use the android debug bridge? I'm having problems with the USB driver am curious if I'm the only one.
<libv> why not just have sata support compiled in?
<libv> Wes-_: does an adb client exist for ARM?
<castor3> libv: Because it says so in the wiki
<libv> castor3: fix it
<castor3> Yeah, I'd sincerely have done it if I know it wasn't necessary, but since it's not working anyway, I didn't know if it was necessary or not. I'm correcting it then.
<libv> castor3: first try it out yourself
<castor3> I tried it out
<libv> oh, ok, so it changed nothing?
<castor3> It worked as well as not having it: didn't work
<libv> ok
<libv> then wait for the uart to arrive
<castor3> Okay
<Wes-_> libv: Yes, I have one built. I just can't get the tablet to "get happy" at the USB level unless the tablet is configured to be a mass storage device. kern.log reports it keeps flipping between EHCI and OHCI mode.
<libv> fix whatever issue needs fixing, and then fix up the wiki
<castor3> I don't understand why you assumed at first that I didn't try anything. It's quite offensive, you know.
<libv> Wes-_: ah
<libv> Wes-_: what sunxi device are you using as a host?
<libv> castor3: because that's what people do
<Wes-_> libv: limeboard a10 from olimex
<castor3> I don't (assume that people don't try), but ok :p
<libv> Wes-_: are you using a usb host port on the host?
<libv> you probably should, i guess
<Wes-_> libv: yes I am.
<castor3> libv: if it's to be offensive with people, I prefer not to, but thanks for the advice ;)
<libv> castor3: you wouldn't believe the stuff that comes by here from time to time.
<libv> Wes-_: let me open up my lime again
<castor3> :p
<libv> actually, why did i do that
<libv> we have good board pics.
<libv> it seems that these things are connected directly
<libv> so 3 usb ports, one of which is otg, two are host, all wired directly to the a10
<libv> the port type and detection type are correct
Gerwin_J has quit [Read error: Connection reset by peer]
<libv> Wes-_: pastebin your dmesg, which should include the switching
<Wes-_> And all three work -- I've used the OTG port to supply RNDIS to a Mac, and the two host ports work okay as USB mass storage, mouse, keyboard, etc. I think I also managed to get the USB Tether from the android running once by toggling the tablet mode back and forth really fast but I won't swear to it.
<Wes-_> libv: let me find a tablet..looked at this last about two weeks ago, dmesg has rolled. Snippet from kern.log from then -- http://pastebin.mozilla.org/6699027
Gerwin_J has joined #linux-sunxi
<libv> Wes-_: did you look at the dmesg from the android device?
<libv> did you test the cable?
<Wes-_> libv: Not sure how to look at the dmesg from the android device. Cable is good - tested 3. Also works when android is configured to connect as "SCSI removable disk". Device is good - tested two, completely different manufacturers and two versions of android. One was an A23 on Android 4.4, other is a Lenovo Ideatab on 4.2.
<libv> Wes-_: start a terminal?
<libv> ok
<Wes-_> libv: *facepalm* (yes - I'm new to Android. spent most of my career on Solaris)
sehraf has quit [Ping timeout: 244 seconds]
bonbons has joined #linux-sunxi
sehraf has joined #linux-sunxi
rafaelMOD has quit [Quit: Saindo]
<Wes-_> libv: Well THIS is frustrating. It's working perfectly at my desk. I need to figure out what's changed between now and then. Argh. On the plus side: now I know it can work.
<libv> Wes-_: our sunxi-3.4 usb is pretty awful and buggy
<libv> Wes-_: but logically, there should be no issue, as an android device just is another device
<libv> but good, it works :)
<WarheadsSE> I don't have (any) LIME libv castor3 or I would help you farr more directly.
<WarheadsSE> But for the most part, castor, if you took the actual binaries from the debian image (idk how it is built) and used that uboot, script.bin, you can follow the instructions for pretty much any of the linux-sun4i devices for ALARM
<Wes-_> libv: I'm trying to replicate the failure-conditions now, but yeah, "it works" is good. Assuming I can get it to break again, is there anything I can do to help with USB stability issues? I have great C skills (15 years+), no USB knowledge, little Linux kernel experience.
<libv> Wes-_: just get stuck in
<libv> nothing magical about it
<Wes-_> libv: sounds like a plan. I might be able to get some official time-budget time on this since I'm supposed to be building a demonstrable product around those little Olimex boxes..and we absolutely need USB support, both for the tablets and the fingerprint readers we're using.
F1skr has joined #linux-sunxi
<castor3> WarheadsSE: okay. That's what I did :p
<castor3> But there's no actual instruction on how to boot on a sata drive
konradoo77 has joined #linux-sunxi
<Wes-_> Is this the main bug tracker you guys use? https://github.com/linux-sunxi/linux-sunxi/issues
<linkmauve1> WarheadsSE, the last time I tried to boot directly to ALARM I couldn’t get it to work, even using its kernel and module tree with Debian’s rootfs.
<linkmauve1> So in the end I opted for the chroot option.
<linkmauve1> That way, I got the bonus of no systemd. \o/
<philippe_fouquet> hey the pack tool existing for mac os x?
<WarheadsSE> castor3: not to be rude.. but I don't think thats quite what you did
<WarheadsSE> castor3: as per sata .. get it working on an sd card, then point root= to /dev/sdaX
bertrik has quit [Remote host closed the connection]
bertrik has joined #linux-sunxi
<libv> Wes-_: not really :)
<Wes-_> libv: Hey, I managed to repro that issue by switching from one host port to the other. Then I plugged in the OTG port (set up for RNDIS gadget) and it stopped. *cue twilight zone music* Then I unplugged the OTG port, and it started again, and then stopped, running stably.
<Wes-_> android dmesg: working on it (need root, I think)
<Wes-_> libv: any place else I should look, or just watch here?
<libv> just watch here for now
<libv> we should actually create a usb wiki page
<libv> and track this and the a20 otg issue there
<libv> but good, solid reproduction
<libv> sounds like a good little project to get stuck in :)
Gerwin_J has quit [Quit: Gerwin_J]
<Wes-_> libv: Yep. If I can get this to reliably repro I might actually be able to fix it. :)
<Wes-_> libv: android dmesg fwiw -- http://pastebin.mozilla.org/6699499
philippe_fouquet has quit [Remote host closed the connection]
esperegu has quit [Remote host closed the connection]
konradoo77 has quit [Ping timeout: 260 seconds]
earny has quit [Quit: earny]
earny has joined #linux-sunxi
traeak has joined #linux-sunxi
traeak has left #linux-sunxi [#linux-sunxi]
<castor3> "WarheadsSE | castor3: as per sata .. get it working on an sd card, then point root= to /dev/sdaX" what I did...
<castor3> Well, I did it some months ago. I had a arch rootfs working, but on my SD card
<castor3> And I could boot to it
<castor3> (and I made it work with Gentoo too, when I tried with the SD card)
nabblet has joined #linux-sunxi
<castor3> Anyway, I'll buy a uart cable tomorrow and try it out
ricardocrudo has quit [Remote host closed the connection]
xavia has quit [Remote host closed the connection]
nabblet has quit [Quit: leaving]
sasq has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<sasq> morning/evening all. I need some advice on device trees and using EINT - specifically I am attaching a enc28j60 to a cubieboard2 and going nuts trying to work out how to get the gpio interupt working
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<castor3> Well, i could manage to boot on the ArchLinux kernel
<castor3> With the Debian rootfs located on my SD card
<castor3> (moving the Arch modules to /usr/lib/modules)
<castor3> So it might mean that all I have to do is to put the SATA support in the kernel or something like that (sata is supported as a module on the version I have)
<castor3> Should I recompile a kernel or could I make it work another way (like an initramfs or something)?
Gerwin_J has joined #linux-sunxi
<sasq> castor3, i'd personally compile into the kernel, but i'm essentially lazy and hate dealing with modules
bertrik has quit [Read error: Connection reset by peer]
formruga has quit [Quit: Konversation terminated!]
<castor3> Okay :D
kz1 has quit [Ping timeout: 260 seconds]
deasy has joined #linux-sunxi
deasy has quit [Remote host closed the connection]
F1skr has quit [Quit: WeeChat 1.0.1]
bonbons has quit [Quit: Leaving]
viccuad has joined #linux-sunxi
<viccuad> hi guys. I'm curious about the progress of the lima driver (seems stalled looking at gitorious), and what's needed for it to develop. thanks in advance
Andy-D has joined #linux-sunxi
<viccuad> also, I'm a bit lost. is it possible to have a framebuffer on a sun7i (A20 olinuxino lime) with a mainline kernel, without the Mali blob?