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
awe00 has quit [Ping timeout: 250 seconds]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
FreezingAlt has quit [Ping timeout: 265 seconds]
physis has joined #linux-sunxi
naobsd has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
robogoat has quit [Ping timeout: 264 seconds]
physis has quit [Remote host closed the connection]
physis has joined #linux-sunxi
physis has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
ricardocrudo__ has quit [Ping timeout: 248 seconds]
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 256 seconds]
p1u3sch1 has joined #linux-sunxi
physis has joined #linux-sunxi
physis has quit [Ping timeout: 264 seconds]
Akagi201_ has joined #linux-sunxi
Akagi201 has quit [Read error: Connection reset by peer]
HeavyMetal has quit [Ping timeout: 265 seconds]
robogoat has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Excess Flood]
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 265 seconds]
HeavyMetal has joined #linux-sunxi
physis has joined #linux-sunxi
physis has quit [Ping timeout: 255 seconds]
HeavyMetal has quit [Ping timeout: 256 seconds]
HeavyMetal has joined #linux-sunxi
physis has joined #linux-sunxi
Akagi201_ has quit []
gzamboni has quit [Ping timeout: 244 seconds]
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
LinuxBot has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 252 seconds]
gzamboni has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
domidumont has joined #linux-sunxi
physis_ has joined #linux-sunxi
physis has quit [Ping timeout: 246 seconds]
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
kaspter has joined #linux-sunxi
physis_ has quit [Remote host closed the connection]
reinforce has joined #linux-sunxi
LinuxBot has quit [Ping timeout: 272 seconds]
physis has joined #linux-sunxi
ricardocrudo_ has quit [Ping timeout: 250 seconds]
naobsd has joined #linux-sunxi
Akagi201 has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
physis has quit [Remote host closed the connection]
domidumont has quit [Ping timeout: 246 seconds]
physis has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
MackBoy has joined #linux-sunxi
awe00 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc Insomnia 4.0.2, revision: 402, sources date: 20100627, built on: 2010-08-02 17:44:33 UTC 402 http://www.kvirc.net/]
mnr has joined #linux-sunxi
Akagi201_ has joined #linux-sunxi
Akagi201 has quit [Ping timeout: 246 seconds]
ricardocrudo_ has quit [Ping timeout: 256 seconds]
adj_ has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
leviathancn has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
leviathancn has quit [Ping timeout: 272 seconds]
leviathancn has joined #linux-sunxi
Nyuutwo has quit [Remote host closed the connection]
Nyuutwo has joined #linux-sunxi
<plaes> mripard_: would it make sense to add CONFIG_FHANDLE and CONFIG_CGROUPS to sunxi_defconfig?
<plaes> these are now needed by most distributions with systemd (even Debian) :(
<mripard_> multi_v7 is more likely to be used by distributions
<mripard_> but yeah, that would make sense
premoboss has quit [Remote host closed the connection]
<NiteHawk> gentoo (udev) requires CONFIG_FHANDLE and CONFIG_NET, but can do without CONFIG_CGROUPS
<plaes> yeah, CGROUPS is required by systemd
<plaes> otherwise it doesn't boot
<plaes> well, it boots but it hangs during userspace initialization
<plaes> NiteHawk: A10 doesn't support HYP mode?
gianMOD has joined #linux-sunxi
<mnr> plaes: AFAIK not. The A10 has a cortex A8 core, so it does not have virtualization extensions.
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
<plaes> ah.. A20 has Cortex-A7
leviathancn has quit [Ping timeout: 250 seconds]
gianMOD has quit [Remote host closed the connection]
<mripard_> wens: ping?
<mripard_> wens: did you do anything special to boot mainline on the A23 ?
<mripard_> beside appending the DT and doing a fastboot boot ?
test has joined #linux-sunxi
test is now known as Guest268
<Guest268> hi
domidumont has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
iamfrankenstein has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
kaspter has quit [Ping timeout: 255 seconds]
cnxsoft1 has quit [Quit: cnxsoft1]
gianMOD has joined #linux-sunxi
physis has joined #linux-sunxi
physis has quit [Ping timeout: 252 seconds]
gianMOD has quit [Remote host closed the connection]
Black_Horseman has quit [Ping timeout: 250 seconds]
afaerber_ has joined #linux-sunxi
afaerber has quit [Ping timeout: 250 seconds]
premoboss has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 252 seconds]
iamfrankenstein has joined #linux-sunxi
gianMOD has joined #linux-sunxi
delfes has quit [Read error: No route to host]
domidumont has quit [Ping timeout: 246 seconds]
gianMOD has quit [Remote host closed the connection]
iamfrankenstein has quit [Ping timeout: 252 seconds]
HeavyMetal has quit [Ping timeout: 265 seconds]
<rellla> NiteHawk: We have CONFIG_HANDLE enabled in stage/sunxi-3.4 https://github.com/linux-sunxi/linux-sunxi/commit/c9ec08b3e7cd8606d791afd0aa0689f8e41b91cf
<rellla> NiteHawk, plaes, sry. saw you talked about mainline ...
<NiteHawk> rellla: yes, specifically sunxi_defconfig for ML
<rellla> NiteHawk: ok. thanks for your contributions to the wiki, but i'd suggest to drop the neon and trustzone pages.
<rellla> link it instead of kind of duplication.
<NiteHawk> how? redirect to external page from ARM or wikipedia?
<rellla> external link?
<NiteHawk> would have to go (and be maintained) onto multiple pages in some (most?) cases
<NiteHawk> i've also considered creating some sort of short glossary page on the wiki and to link there (instead of creating these short 'stub' pages)
iamfrankenstein has joined #linux-sunxi
<rellla> NiteHawk: don't know, what's the best way, but duplicating pages isn't :p
<rellla> we had that situation with some user a time ago, that copied many wikipedia entries into the wiki...
<rellla> we should keep it sunxi specific
<NiteHawk> i've tried to limit copying to a minimum. but i understand the point about focusing on sunxi, that's a valid argument
<rellla> let's wait until libv comes up with his opinion about this :)
<NiteHawk> i've specifically created these entries as i found them to be useful / of interest (to me) and they were already linked in some cases (-> "wanted" pages)
gianMOD has joined #linux-sunxi
<NiteHawk> but in hindsight it may not be the most useful approach. i'm open to other opinions / suggestions
<wens> mripard_: not fastboot, fel boot0 + u-boot + kernel
<wens> mripard_: though u-boot mainline works with sd now
<plaes> hum.. it seems that i2c driver doesn't properly remove the interrupt that's set from devicetree
<NiteHawk> rellla: one alternative approach i could think of: reduce these wiki entries to a simple collections of links, or even a single 'forward' reference (example: http://linux-sunxi.org/User_talk:NiteHawk/NEON). That way the page can still be referenced from within the wiki, but won't duplicate 'external' information
gianMOD has quit [Ping timeout: 245 seconds]
<plaes> does this devicetree node look reasonable: http://fpaste.org/207396/82540791/
<plaes> at least the 'interrupts' part?
<plaes> and do I need something also in the &pio { }; node after defining: interrupt-parent = <&pio>; ?
HeavyMetal has joined #linux-sunxi
<wens> didn't someone say in reply to patches that &pio { }; was not common practice for interrupts?
<wens> the &pio stuff is just there to prevent other devices from accidentally muxing the pin
<wens> ideally exclusive access should be handled within the pinctrl driver
<plaes> hmm.. ok
physis has joined #linux-sunxi
<plaes> I'm asking because I get following traceback, when I unload the module: http://fpaste.org/207393/42825295/
<wens> perhaps the driver is not unregistering its use of the interrupt?
arossdotme has quit [Ping timeout: 255 seconds]
arossdotme has joined #linux-sunxi
adj_ has quit [Quit: Leaving]
FreezingCold has quit [Quit: Out]
Netlynx has quit [Quit: Leaving]
gianMOD has joined #linux-sunxi
leviathancn has joined #linux-sunxi
<rellla> NiteHawk: is it suitable or even possible with mediawiki to create a linux-sunxi.org/NEON which redirects to wikipedia immediatly?
<NiteHawk> i'm no mediawiki expert. i've tried to use the standard #REDIRECT, but that fails with external links
<NiteHawk> (there is stuff like http://www.mediawiki.org/wiki/Extension:ExternalRedirect, but it may easily be a security risk)
<plaes> yeah
FreezingCold has joined #linux-sunxi
<plaes> wens: apparently this was issue with i2c core
leviathancn has quit [Ping timeout: 256 seconds]
leviathancn has joined #linux-sunxi
xeros has quit [Quit: I was using a Free IRC Bouncer from http://bnc4free.com (Account Removed)]
jinzo has joined #linux-sunxi
domidumont has joined #linux-sunxi
Froolad has joined #linux-sunxi
Froolap has quit [Ping timeout: 248 seconds]
domidumont has quit [Ping timeout: 246 seconds]
Froolad has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Froolap has joined #linux-sunxi
Froolap has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Froolap has joined #linux-sunxi
SJRvanSchaik has joined #linux-sunxi
leviathancn has quit [Read error: Connection reset by peer]
leviathancn has joined #linux-sunxi
Dodger78 has joined #linux-sunxi
physis has quit [Remote host closed the connection]
<libv> rellla: we are not wikipedia indeed
<libv> we should link to wikipedia and not copy its contents
Froolap has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Froolap has joined #linux-sunxi
physis has joined #linux-sunxi
<NiteHawk> libv: i'll rework those pages and replace them with 'proxies' then. what do you think of adding them to an extra category? ("external documentation"?)
Froolad has joined #linux-sunxi
<libv> NiteHawk: just link from the page that needs to link
<libv> categories is for categorizing pages.
<libv> not categorizing links
Froolap has quit [Ping timeout: 248 seconds]
<NiteHawk> ah, okay - so you vote for actually removing them entirely. might lead to multiple links (additional maintenance overhead), but should be okay
<libv> what maintenance overhead?
<libv> wikipedia pages do not tend move much
<NiteHawk> let's say an arm infocenter link? admittedly i have no idea how much they tend to shuffle those around
<RSpliet> as far as I know they don't
<RSpliet> although they sometimes deprecate sections in favour of updated documents
<RSpliet> so: rarely
<Dodger78> has any1 a link to a usable cubieboard 4 distro ?
gianMOD has quit [Remote host closed the connection]
robogoat has quit [Ping timeout: 252 seconds]
sillysnowflake has joined #linux-sunxi
<NiteHawk> rellla, libv: i've edited the links and blanked the pages, but lack the rights to remove them - please delete http://linux-sunxi.org/NEON, http://linux-sunxi.org/TrustZone and the experimental http://linux-sunxi.org/User_talk:NiteHawk/NEON. thanks!
robogoat has joined #linux-sunxi
alexxy has quit [Ping timeout: 265 seconds]
alexxy has joined #linux-sunxi
jlj has joined #linux-sunxi
<jlj> Hi, does the latest uboot support otg on sunxi? I tried with a usb2 hub + keyboard but neither lit up any leds
<NiteHawk> jlj: *mainline* (upstream) u-boot does. it should enumerate your usb devices on boot, and configure the USB keyboard if it detects one
<jlj> hipboi: that's the one I tried
<NiteHawk> however you will probably need the hub - there are known issues with USB1 support: http://linux-sunxi.org/Mainline_U-boot#USB_1.x.2C_USB_keyboards
<jlj> I know, but the LED on the hub wasn't lit
<jlj> don't think it was detected/initiated
<NiteHawk> do you have a serial cable / console for u-boot? the diagnostic messages on startup and/or the "usb" command should tell you more
<jlj> sorry no, that's why I wanted otg uboot support :)
<jlj> is there any settings that must be in place for otg to be activated?
<NiteHawk> oh, hold on - otg might in fact be a different matter. what device is that, a tablet?
<jlj> well kinda, it's a gooseberryboard.. which is a tablet without the screen pretty much
<jlj> they just took the mainboard out of the tablet pretty much
<jlj> so yeah, a tablet
<jlj> I read that there was otg support in uboot now though
physis has quit [Remote host closed the connection]
alexxy has quit [Ping timeout: 256 seconds]
alexxy has joined #linux-sunxi
<NiteHawk> well, u-boot has a dedicated configuration option "Enable sunxi OTG / DRC USB controller in host mode", but i have no experience with that - might have to give it a try
<NiteHawk> jlj: do you get any kind of output from u-boot (e.g. vga / hdmi?)
HeavyMetal has quit [Ping timeout: 256 seconds]
Froolap has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Froolad has quit [Ping timeout: 248 seconds]
<rellla> NiteHawk: done. thanks.
<NiteHawk> rellla: np
afaerber_ is now known as afaerber
<jlj> NiteHawk: I'll look inte that one, thanks. Yeah, the HDMI output works fine
physis has joined #linux-sunxi
<NiteHawk> i'd suggest configuring the above option (which also requires you disable the sunxi EHCI driver), and put up a minimal script to display "usb info" or "usb tree" for diagnostics
jinzo has quit [Quit: Leaving]
Froolap has quit [Read error: Connection reset by peer]
physis has quit [Remote host closed the connection]
<jlj> NiteHawk: Do you know how you change that option. Just by editing the file?
<NiteHawk> you could edit the config file, or use "make menuconfig" (i prefer the latter)
<mripard_> never edit the config file.
<NiteHawk> ah right, u-boot does a lot via device-specific includes - which is quite different from linux kernel config
<jlj> NiteHawk/mrip: Oh, cool. It has a menuconfig just like the kernel. Yeah thought it looked like a kernel setting :)
Dodger78 has quit [Read error: Connection reset by peer]
<jlj> Ok, time to try again
leviathancn has quit [Ping timeout: 256 seconds]
leviathancn has joined #linux-sunxi
leviathanch has quit [Read error: Connection reset by peer]
Froolap has joined #linux-sunxi
Froolap has quit [Client Quit]
<jlj> well it failed to compile. it says something about that boards can't have 2 usb controllers at the same time but I can find no way to disable the other host
<jlj> (the others are for the wifi and one that isn't used)
leviathanch has joined #linux-sunxi
<jlj> put the options in boot.cmd, generated a boot.scr. If it works it'd be fine without the keyboard
<jlj> seemed to work, found the files, but stopped at "Starting kernel" :(
pirea has joined #linux-sunxi
<NiteHawk> jlj: you're using an older kernel (3.4.x)?
<jlj> no, 4.0
<jlj> NiteHawk: I have a feeling it was cause there wasn't a specific dtb-file for my board. I used the one for mele1000.
<jlj> Is there a way to use the fex file instead of device tree for mainline?
pirea has quit [Client Quit]
<mnr> jlj: Without a proper device-tree, you should not expect the kernel to come up.
<mnr> jlj: Mainline does not use fex.
<mnr> jlj: You can use the config information from the fex file to write a device-tree, but you cannot use the fex directly
ricardocrudo_ has quit [Ping timeout: 250 seconds]
paulk-collins has quit [Remote host closed the connection]
<jlj> mnr: Ok, so hanging on "Starting kernel" would be expected in this case?
<mnr> jlj: Another thing: you wrote that you do not have a serial console. Have you enabled simplefb support in your kernel? If not, there is no kernel output
<jlj> mnr: Yeah, I enabled it when I compiled the kernel
<mnr> jlj: The device-tree contains a lot of low-level configs, such as pin muxing and clock setup. If the pinmux is wrong for your board or the wrong clocks are chosen, the kernel dies immediately
<jlj> mnr: well, crap..
<jlj> I noticed this, not sure how to use it though https://github.com/mripard/sunxi-babelfish
<mnr> jlj: I have never used that, so no idea, sorry.
adj_ has joined #linux-sunxi
<mnr> jlj: Another framebuffer-related thing: did you also enable "console-on-framebuffer"? simplefb alone gives you a framebuffer, but if no framebuffer console support is activated, you still get no output
<jlj> mnr: I'm not sure, lemme check
<NiteHawk> jlj: if you want another round with u-boot - the description of CONFIG_USB_MUSB_SUNXI has the details. this option can't coexist with CONFIG_USB_EHCI. check if you have "USB_EHCI" set as one of the CONFIG_SYS_EXTRA_OPTIONS, you'd need to remove that
<jlj> mnr: nope, it was disabled. So that is needed too then. Guess it could still work
<jlj> NiteHawk: Cool, I'll check that too
gianMOD has joined #linux-sunxi
<jlj> Ok, building kernel + new uboot now.
Andy-D has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
sillysnowflake has quit [Quit: Leaving]
gianMOD has quit [Ping timeout: 250 seconds]
Andy-D has joined #linux-sunxi
mnr has quit [Quit: leaving]
adj_ has quit [Ping timeout: 264 seconds]
alexxy has quit [Ping timeout: 265 seconds]
<jlj> I got "MUSB host is not registered" for uboot and still the hang after Starting kernel :s
<jlj> I'm thinking it's a device tree problem, I had to use A1000 as setting for uboot too
iamfrankenstein has quit [Quit: iamfrankenstein]