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
gianMOD_ has quit [Remote host closed the connection]
pmattern has quit [Quit: Genug für heute.]
ricardocrudo has quit [Remote host closed the connection]
naobsd has joined #linux-sunxi
sillysnowflake has quit [Ping timeout: 240 seconds]
vishnup has joined #linux-sunxi
Andy-D has quit [Ping timeout: 252 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
khuey is now known as khuey|away
vishnup has quit [Ping timeout: 245 seconds]
vishnup has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
vishnup has quit [Ping timeout: 265 seconds]
p1u3sch1 has quit [Ping timeout: 276 seconds]
p1u3sch1_ has joined #linux-sunxi
khuey|away is now known as khuey
mmarker_ has joined #linux-sunxi
mmarker has quit [Read error: Connection reset by peer]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
vishnup has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 244 seconds]
p1u3sch1 has joined #linux-sunxi
vishnup has quit [Ping timeout: 248 seconds]
vishnup has joined #linux-sunxi
Tartarus has quit [Ping timeout: 276 seconds]
orly_owl has quit [Ping timeout: 244 seconds]
Tartarus has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
vishnup has quit [Read error: No route to host]
vishnup has joined #linux-sunxi
orly_owl has joined #linux-sunxi
kaspter has joined #linux-sunxi
kurain has quit [Ping timeout: 265 seconds]
vishnup has quit [Quit: Leaving]
khuey is now known as khuey|away
Andy-D has joined #linux-sunxi
f15h has joined #linux-sunxi
f15h has quit [Remote host closed the connection]
whitesn has quit [Ping timeout: 264 seconds]
whitesn has joined #linux-sunxi
bonbons has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
deasy_ has joined #linux-sunxi
<deasy_> hi!
<deasy_> is it possible to make wake on lan with this kind of hardware ?
<deasy_> did the axp209 support wake on lan ?
<deasy_> (i suppose than a combinaison of axpxxx and ethernet chip can do that)
<deasy_> combination*
gianMOD has joined #linux-sunxi
VargaD has quit [Ping timeout: 256 seconds]
VargaD has joined #linux-sunxi
sillysnowflake has joined #linux-sunxi
ganbold__ is now known as ganbold
f15h has joined #linux-sunxi
f15h has quit [Client Quit]
nove has joined #linux-sunxi
rz2k has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
steeve has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
awe00 has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
premoboss has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 256 seconds]
rz2k has quit []
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 246 seconds]
premoboss has quit [Quit: Sto andando via]
steeve has joined #linux-sunxi
steeve has quit [Ping timeout: 265 seconds]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 246 seconds]
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Read error: Connection reset by peer]
ricardocrudo has joined #linux-sunxi
reinforce has joined #linux-sunxi
sehraf has joined #linux-sunxi
mauro_ has joined #linux-sunxi
physis has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
steeve has joined #linux-sunxi
paulk-collins has quit [Quit: Quitte]
steeve has quit [Ping timeout: 256 seconds]
gianMOD has joined #linux-sunxi
fredy has quit [Ping timeout: 276 seconds]
fredy has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 250 seconds]
leviathanch has quit [Remote host closed the connection]
steeve has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
leviathanch has joined #linux-sunxi
steeve has quit [Ping timeout: 246 seconds]
steeve has joined #linux-sunxi
kivutar has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
kz1 has quit [Ping timeout: 272 seconds]
kz1 has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
gianMOD_ has joined #linux-sunxi
gianMOD_ has quit [Ping timeout: 246 seconds]
deasy_ has quit [Quit: Konversation terminated!]
steeve has quit [Remote host closed the connection]
whitesn has left #linux-sunxi ["WeeChat 1.1.1"]
foudubassan has joined #linux-sunxi
dev1990 has quit [Ping timeout: 272 seconds]
ganbold_ has quit [Remote host closed the connection]
ganbold_ has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
afaerber has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
physis has quit [Remote host closed the connection]
northway has joined #linux-sunxi
noway_ has joined #linux-sunxi
noway_ has quit [Read error: Connection reset by peer]
LinuxBot has quit [Ping timeout: 272 seconds]
hno has quit [Quit: Coyote finally caught me]
LinuxBot has joined #linux-sunxi
hno has joined #linux-sunxi
dev1990 has joined #linux-sunxi
dev1990 has quit [Remote host closed the connection]
noway_ has joined #linux-sunxi
northway has quit [Ping timeout: 272 seconds]
gianMOD has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
ricardocrudo has quit [Read error: Connection reset by peer]
ricardocrudo has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
noway_ has quit [Ping timeout: 250 seconds]
premoboss has joined #linux-sunxi
nove has quit [Quit: nove]
steeve has joined #linux-sunxi
dev1990 has joined #linux-sunxi
dev1990 has quit [Client Quit]
steeve has quit [Ping timeout: 244 seconds]
<libv> paulk-aldrin: meminfo is relatively recent, it was added because we did not have dram support in $u-boot and still wanted to collect the info
<paulk-aldrin> well, what I wrote on my latest email to the list still stands
<libv> yeah, it's there for historic reasons
<libv> just like the sys_config directory is there for historic reasons
<paulk-aldrin> I'm not saying we should remove meminfo btw, just move it somewhere else
<libv> the meminfo directory was created in... august last year?
<paulk-aldrin> ok
<libv> paulk-aldrin: or move it next to the fex as .meminfo
<paulk-aldrin> fair enough
<libv> how many meminfos are there anyway?
<libv> 3-5?
<paulk-aldrin> 4
<paulk-aldrin> and now we have dram code for all those
<libv> really? ok
<paulk-aldrin> AFAIK hans already figured out a23 on his own
<paulk-aldrin> a couple months before the release
<paulk-aldrin> and now with it we have A31/A33
<libv> so these boards for which the meminfo was gathered are all in upstream u-boot now?
<paulk-aldrin> the A23 iPPO ones are
<paulk-aldrin> hummingbird a31 is
<paulk-aldrin> Mele i7 too
<paulk-aldrin> so yeah
<paulk-aldrin> that's mostly useless now
<libv> ok
<foudubassan> Hi. I'm having some trouble to get my bananapi board booting on a new compiled git linux 4.0. I used the git u-boot-sunxi with dd.
<foudubassan> The board is plugged using a USB-serial cable, and says a couple of things before "Starting kernel ...
<foudubassan> " but nothing happens -- and I'm a bit surprised by some messages before "Failed to mount ext2 filesystem..." for example, the first partition being fat, and I used fatload in the boot.cmd...
premoboss has quit [Ping timeout: 265 seconds]
<libv> script.fex.pdf?
<libv> wtf?
<libv> and spanish as well.
<libv> wtf/
<paulk-aldrin> libv, ?
<libv> inco
<libv> on mele m5
<paulk-aldrin> libv, I'm not following
<paulk-aldrin> foudubassan, so, did you load the fdt?
<paulk-aldrin> foudubassan, I advise you to use extlinux anyway, it's much easier
<libv> paulk-aldrin: inco further maimed the mele m5 page
<paulk-aldrin> ah ok, that's an username
<paulk-aldrin> ah ok I see what you're getting at
<paulk-aldrin> this is depressing…
<libv> just emailed him
<foudubassan> paulk-aldrin, what is the fdt? When I boot the board, I have this: http://pastebin.com/raw.php?i=8qbRgnxp
<paulk-aldrin> soo you're trying to load mainline with script.bin
<paulk-aldrin> that's a questionable move
<paulk-aldrin> foudubassan, script.bin is the deprecated way of providing device-specific informations to the kernel
<paulk-aldrin> it only works with kernels provided by allwinner, upon which was built linux-sunxi's sunxi-3.4 branch
<paulk-aldrin> however on mainline, another (cleaner, better) mechanism is used, called device-tree
<paulk-aldrin> it serves the same purpose and requires you to use the compiled flat device-tree instead of script.bin
<paulk-aldrin> so tl;dr: use extlinux
<foudubassan> paulk-aldrin, script.bin? No, I followed http://linux-sunxi.org/Mainline_Kernel_Howto, and used sun7i-a20-bananapi.dtb instead...
<foudubassan> paulk-aldrin, like it's written in the output btw.
<paulk-aldrin> ah yeah I'm stupid, I read too fast "script.scr"
<paulk-aldrin> nevermind then
<paulk-aldrin> and sorry for the lecture
<paulk-aldrin> yeah right, it clearly says: sun7i-a20-bananapi.dtb
<paulk-aldrin> foudubassan, your U-Boot is way too old anyways
<paulk-aldrin> 2015.04 was released a few days ago
<paulk-aldrin> use that instead
<foudubassan> paulk-aldrin, I made a git pull in the u-boot-sunxi git directory...
<paulk-aldrin> it's deprecated
<paulk-aldrin> foudubassan, use http://git.denx.de/u-boot.git/
<foudubassan> paulk-aldrin, where is that written on all the wiki pages?
<paulk-aldrin> foudubassan, https://linux-sunxi.org/U-boot
<paulk-aldrin> big squary thing
<foudubassan> Indeed, and this may be the reason why I'm stuck for much more than 1 month... and I read and read again the wiki...
<paulk-aldrin> possible
<foudubassan> Hm... Yeah, the link https://github.com/linux-sunxi/u-boot-sunxi.git is given in https://linux-sunxi.org/U-boot, not http://git.denx.de/u-boot.git/. So where can one find out?
<paulk-aldrin> foudubassan, well then, the wiki is not up to date
<paulk-aldrin> everybody's trying their best, but sometimes situations like that happen
<foudubassan> Well, I wouldn't complain too much if I hadn't been told to follow the wiki last time I asked questions (and already read some many times). But I'm so glad you give me the answer now.
<foudubassan> http://git.denx.de/u-boot.git/ is the mainline u-boot URL?
gianMOD has joined #linux-sunxi
<foudubassan> Ok. In https://linux-sunxi.org/Mainline_U-boot it is
physis has joined #linux-sunxi
<foudubassan> paulk-aldrin, Many thanks. I'm getting back to configuration/compilation. Thank you!
<paulk-aldrin> okay, good luck
<linkmauve1> paulk-aldrin, where does extlinux fit in the early boot? Is it chainloaded by u-boot?
<paulk-aldrin> linkmauve1, it's not a binary, rather a way to expose where to get the kernel and fdt to U-Boot
<paulk-aldrin> basically, U-Boot will try to locate extlinux.conf from /extlinux/ or /boot/exlinux/, read the file and then automatically load the fdt and kernel
<linkmauve1> Ok, so the reason I couldn’t boot on 4.0 on my A10-Lime is most likely that I forgot to put an extlinux file to tell u-boot which dtb file to use?
<paulk-aldrin> linkmauve1, hey, am I wrong in guessing that you were around back in the openmoko-fr days?
<linkmauve1> Thanks. :)
<linkmauve1> Nope, I were. ^^
<paulk-aldrin> linkmauve1, possible
<paulk-aldrin> nice!
<linkmauve1> I still use the FreeRunner as my main phone. :)
gianMOD has quit [Ping timeout: 264 seconds]
<paulk-aldrin> wow that's… commitment
<linkmauve1> :D
<paulk-aldrin> even the GTA04 is not usable daily
<linkmauve1> I should get a new battery, mine is getting very bad.
<paulk-aldrin> but I have good hopes for the LG Optimus Black (P970)
<foudubassan> paulk-aldrin, linkmauve1, is there any doc on the wiki about extlinux?
<linkmauve1> Oh, I find the GTA02 quite usable, even if not at the level of modern phones.
<paulk-aldrin> foudubassan, aside from the U-Boot source code, not really
<paulk-aldrin> it would be a valuable addition to the wiki
<foudubassan> Ok. I'll have a look maybe, but not now :/ Thank you.
physis has quit [Remote host closed the connection]
mauro_ has quit [Remote host closed the connection]
<foudubassan> paulk-aldrin, thanks again. It works. One more thing: I have "*** Warning - bad CRC, using default environment
<foudubassan> " at the beginning. Do you know what it means?
cosm has quit [Remote host closed the connection]
<NiteHawk> it's just a remainder that there is no stored/saved environment, and u-boot falls back to the default one (compiled in)
<foudubassan> NiteHawk, but I have seen some boots without this line previously, when trying to get the board to boot... :?
<NiteHawk> shouldn't happen - but it's possible. maybe the default location for saveenv changed, or you had a saved environment before that somehow got wiped?
<foudubassan> NiteHawk, I honnestly have no clue... I made so many things trying to get the board to work with a new kernel that I don't remember.
<NiteHawk> if it bothers you, adjust your settings and do a "saveenv" again...
<NiteHawk> that should normally fix it
<NiteHawk> but the message alone is nothing to be deeply concerned about
<foudubassan> NiteHawk, I was just wondering. The board booting my own kernel is what I was asking for ;)
LinuxBot has quit [Ping timeout: 255 seconds]
foudubassan has quit [Quit: Leaving]
cajg has quit [Ping timeout: 256 seconds]
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
gzamboni_ has quit [Ping timeout: 256 seconds]
gzamboni_ has joined #linux-sunxi
steeve has joined #linux-sunxi
cajg has joined #linux-sunxi
steeve has quit [Ping timeout: 246 seconds]
dev1990 has joined #linux-sunxi
<linkmauve1> So I installed linux-armv7 from alarm, it includes /boot/dtbs/sun4i-a10-olinuxino-lime.dtb for my device, I copied paulk-aldrin’s paste as /boot/extlinux/extlinux.conf (changing the fdt line to point to that file, and root=/dev/mmcblk0p2), but it stays at the u-boot screen forever. And I have console=/dev/ttyS1 but nothing gets displayed by the kernel on the HDMI screen.
<paulk-aldrin> what's alarm?
<linkmauve1> ArchLinux ARM
<paulk-aldrin> ah
<paulk-aldrin> do you have U-Boot UART?
<linkmauve1> Sadly no.
<paulk-aldrin> (well, UART in general)
<paulk-aldrin> ok
<linkmauve1> I only have this HDMI screen to debug.
<paulk-aldrin> perhaps invest in one someday
<linkmauve1> Yeah, I should…
<paulk-aldrin> I don't know how late simplefb is started
<linkmauve1> But you don’t see anything wrong in my procedure?
<paulk-aldrin> nope
<linkmauve1> Ok.
<paulk-aldrin> it does detect extlinux, loads the dtb and hangs at 'booting the kernel' on hdmi?
<linkmauve1> No, it stays at the u-boot welcome message.
<paulk-aldrin> ahh
<paulk-aldrin> can you get a prompt?
<paulk-aldrin> do you have an USB keyboard?
<linkmauve1> I get the same screen with linux-sun4i, but it eventually vanishes to not display anything.
<linkmauve1> I do.
<paulk-aldrin> so normally, it should try to probe various locations for either script.scr or extlinux
<paulk-aldrin> does it do that?
<linkmauve1> It doesn’t seem to get powered though.
<linkmauve1> (I just plugged it.)
<paulk-aldrin> there is no plug and play
<paulk-aldrin> reset the board
<linkmauve1> I did.
<paulk-aldrin> also, what version of U-Boot are you using?
<linkmauve1> I first plugged the keyboard, then booted the board.
<linkmauve1> It says 2015.01-5, from the 21st of March.
<linkmauve1> ALARM version.
<paulk-aldrin> ahh
<paulk-aldrin> probably no simplefb support
dev1990 has quit [Quit: Konversation terminated!]
<linkmauve1> Ok, I’ll upgrade to git then.
<paulk-aldrin> also, what is the kernel version?
<paulk-aldrin> IIRC simplefb support landed later in Linux
<linkmauve1> I’m trying to boot on 4.0.
<linkmauve1> Package linux-armv7-4.0.0-1 in alarm.
<paulk-aldrin> okay good enough
<paulk-aldrin> yeah well, I think u-boot should be good enough
<paulk-aldrin> anyway, no luck witht the keyboard?
<paulk-aldrin> with*
<linkmauve1> No, it doesn’t power on at all. :(
<paulk-aldrin> only USB2 keyboards work, not USB1
<paulk-aldrin> so maybe try another one
<NiteHawk> or put a (usb2) hub inbetween
<paulk-aldrin> yeah, that should do too
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<linkmauve1> Is it possible to know the USB version of a cable/device from a working Linux?
<linkmauve1> I haven’t found any other keyboard. :/
<paulk-aldrin> linkmauve1, yeah, just plug it in run dmesg and paste the last couple lines
<linkmauve1> [35321.480927] input: TypeMatrix.com USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:1E54:2030.0002/input/input29
<linkmauve1> [35321.533132] hid-generic 0003:1E54:2030.0002: input,hiddev0,hidraw1: USB HID v1.10 Device [TypeMatrix.com USB Keyboard] on usb-0000:00:1d.0-1.1/input1
<linkmauve1> 1.10 being USB 1.1?
<paulk-aldrin> a bit before
<paulk-aldrin> like 10 lines
<paulk-aldrin> please paste
<linkmauve1> Ah, [35320.933144] usb 2-1.1: new low-speed USB device number 7 using ehci-pci
<paulk-aldrin> yeah
<linkmauve1> I don’t have anything before that.
<paulk-aldrin> it is USB1
<linkmauve1> low-speed :(
<linkmauve1> Alright, found “[36179.282061] usb 2-1.1: new high-speed USB device number 13 using ehci-pci” hub.
<linkmauve1> Which doesn’t make the keyboard power on either. :/
<paulk-aldrin> huh?
<paulk-aldrin> so your hub is only an usb2 hub…
<linkmauve1> Ah, it doesn’t even light up.
<linkmauve1> (The hub.)
foudubassan has joined #linux-sunxi
physis has joined #linux-sunxi
paulk-aldrin has quit [Quit: Quitte]
<linkmauve1> I just compiled uboot-a10-olinuxino-lime-2015.04-1-armv7h.pkg.tar.xz on another Lime, then installed it on this one, but it doesn’t display the splash screen anymore, I probably did something wrong.
<linkmauve1> Oh, he just left. :(
steeve has joined #linux-sunxi
a1d3s|away has quit [Ping timeout: 264 seconds]
steeve has quit [Ping timeout: 245 seconds]
foudubassan has quit [Remote host closed the connection]
arossdotme has quit [Quit: Ex-Chat]
Night-Shade has joined #linux-sunxi
dev1990 has joined #linux-sunxi
physis has quit [Remote host closed the connection]
dev1990 has quit [Quit: Konversation terminated!]
iamfrankenstein has quit [Quit: iamfrankenstein]
p1u3sch1 has quit [Ping timeout: 244 seconds]
p1u3sch1 has joined #linux-sunxi
sillysnowflake has quit [Ping timeout: 255 seconds]
iamfrankenstein has joined #linux-sunxi
steeve has joined #linux-sunxi
arossdotme has joined #linux-sunxi
steeve has quit [Ping timeout: 244 seconds]
<Turl> oliv3r: btw, about the eint pins, any chance you're using those pins for something else? they're spi0/1 as well
physis has joined #linux-sunxi
Andy-D has quit [Ping timeout: 256 seconds]
awe00 has quit [Ping timeout: 264 seconds]