<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>
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>
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?
<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>
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