<mnemoc>
arokux1: but the first.... I'll adjust the script
<binaryferret>
Hi guys, I have serial conn with my tablet, and u-boot is returning a bunch of spiel. I think the following is the main issue, and I'm hoping someone can tell me what It means. "spl: not an Uimage at 1600"
<binaryferret>
I'm assuming that the UImage that sits at a specific locatin on the sd card isn't valid?
<mnemoc>
arokux1: now i'll use the first 7 chars, like git log
<hramrach>
anyway, it does nothing. It just gets IP over dhcp and sits there
<gzamboni>
dont forget to compile the kernel with CONFIG_IP_PNP=y and CONIG_ROOT_NFS=y
<hramrach>
yes, that I did
<hramrach>
I Have this on commandline: console=ttyS0,115200 root=/dev/nfs rw nfsroot=10.10.10.15:/srv/sunxi ip=dhcp eth=12:34:56:78:99:aa init=/sbin/init
<gzamboni>
whats your distro ?
<gzamboni>
i had to add my host in host to make nfs work in my debian
<hramrach>
debian
<hramrach>
but I have no distro
<hramrach>
I have kernel that configures IP and stops
e-ndy has quit [Ping timeout: 245 seconds]
<hramrach>
this is last I get: IP-Config: Got DHCP answer from 10.10.10.11, my address is 10.10.10.16
<hramrach>
IP-Config: Complete:
<hramrach>
and then some config from the dhcp server
<gzamboni>
it doesnt try to download the files from nfs ?
<gzamboni>
whats your uboot version ?
<mnemoc>
gzamboni: nothing has been said regarding an LDD4. but the world needs it!
<gzamboni>
i agree :)
<hramrach>
u-boot version is current
<gzamboni>
and i will surely buy it when it will be out, even if i have already the 3rd
<hramrach>
anyway, it manages to load the kernel
<hramrach>
and pass arguments to it
<gzamboni>
i had some problems when i did chmoded the file system, you have to uncompress it and leave with its currently permissions
Black_Horseman has quit [Remote host closed the connection]
<gzamboni>
nfsroot=10.10.10.15:/srv/sunxi why did you put the ":" here? is it needed ?
<hramrach>
it says to put it there in the howtos
<hramrach>
every single of them
<gzamboni>
oh, u're right, sorry
<hramrach>
you don't have a : there?
<gzamboni>
yes, i have, sorry, let me check how things are here
<mnemoc>
haven't checked what's on the attached CD
<oliv3r>
if it has oshw logo's there should be schematics out soon, or they are lying :p
* mnemoc
left his cameras in spain.... :(
<mnemoc>
and the galaxy nexus' camera stinks badly
<mnemoc>
i'll try to check this board, and test 3.10 on it today
<mnemoc>
but first i need to finish orderning my cave
<oliv3r>
man-cave!
shineworld has quit [Quit: Leaving]
<mnemoc>
and as it's an attic, I have a cave inside the cave :p
<oliv3r>
lol
akaizen has quit []
akaizen has joined #linux-sunxi
fredy has quit [Excess Flood]
paulk-collins has joined #linux-sunxi
fredy has joined #linux-sunxi
<rz2k>
anyone played with GMAC on gigabit network?
<rz2k>
I tested it yesterday with iperf on my notebook, got only 470-480mbps
<rz2k>
rm: you might be interested in this ^
<mnemoc>
i think that's more that what people gets out of imx6q's gigabit ethernet
<rz2k>
imx6 ethernet is rgmii
<rz2k>
our is phy ethernet, you only need a tranciever unit on pcb and socket with magnetics
<oliv3r>
rz2k: that sounds consistent with what others have tested
<oliv3r>
rz2k: erm, our ethernet is also RGMII
<rz2k>
hmm
<oliv3r>
rz2k: the GMAC can speak MII, RMII, GMII and RGMII
<rz2k>
interesting
<oliv3r>
and in our case, the PHY on the board is connected via RGMII
<oliv3r>
but I bet the busses are way to slow to handle more then that
<rz2k>
then why cubietruck uses such and old phy?
<oliv3r>
40-60 GBiT is 'ok'
<oliv3r>
cheap
<oliv3r>
less pins, etc etc
<oliv3r>
they could have used the same PHY with more pins that speaks GMII
<rz2k>
imx6 guys place new micrel stuff with support in mainline and etc.
<rz2k>
i thought that a20 gmac has to use only specificly selected phy's that why I thought that it wasnt standard things.
<rz2k>
s/that/thats/
<rz2k>
atleast on 100mbps network it does now go full speed without problems
<rz2k>
I remember that EMAC had real pain in the ass problems like cpu eating and not being able to go 100mbps
<oliv3r>
rz2k: EMAC uses offers MII, not even RMII if i'm not mistaken, GMAC does it all :)
<oliv3r>
so using the GMAC even with a 100Mbit MII PHY (or RMII even) should be a big improvement
<oliv3r>
and with EMAC available on two pipnmuxes, dual ethernet!
\\Mr_C\\ has joined #linux-sunxi
<rz2k>
hmm
* rz2k
demands cubietruck2 with two ethernets
<rz2k>
I also thought that they are multiplexed on one pinmuxes, so it is either gmac or emac.
akaizen has quit []
<oliv3r>
yes, but
<oliv3r>
Port A has both emac and GMAC, so port A can behave like before, with the additon of gmac; port ... H? used to be ATA, but that was dropped in favor of EMAC
hipboi has joined #linux-sunxi
<mnemoc>
hipboi: hi, do you know if the GMAC on PA and the EMAC on PH can be used at the same time?
<mnemoc>
of the A20
<hipboi>
let me ask my friend who works on the gmac driver of A20
<mnemoc>
that would allow a A20 based home router, with the EMAC as uplink and GMAC in the local lan
<mnemoc>
assuming someone comes out with a SoM exponsing all pins and allowing such carrier board ;-)
<atsampso1>
or is there a cheap trunking gigabit switch chip you could stick on a board, to get multiple ethernet ports via vlans?
<rz2k>
hipboi: could you please also ask him why gmac performance is limited to 450-470mbps?
<hipboi>
rz2k, the same as imx6? :)
<rz2k>
sort of
Gerwin_J has joined #linux-sunxi
<mnemoc>
rz2k: maybe it's because of the freq. of the CPU?
<hipboi>
i got the reply
<hipboi>
emac and gmac can be used at the same time
<mnemoc>
\o/
<oliv3r>
mnemoc: heh crappy router :p if it still has trouble with 100Mbit; my uplink is 100mbit sync :D but for most people it'll be fine :)
<mnemoc>
oliv3r: that is a driver bug that needs to be fixed
<oliv3r>
so imx6 and a20 could be useing same GMAC ip :p
<oliv3r>
mnemoc: is it? i remember mailing list posts about hardware bugs
<mnemoc>
well... everything started when we removed some ugly mdelay() calls :/
<mnemoc>
so those could be workaroudning IP bugs
<mnemoc>
what's the most free usb/wifi IC?
<mnemoc>
ath9k?
<oliv3r>
i think so
<oliv3r>
since we have even firmware possibilities for those
Gerwin_J has quit [Quit: Gerwin_J]
ganbold_ has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<oliv3r>
while reading the maillog, what's the deal with bylapis?
Guest64472 has quit [Read error: Connection reset by peer]
cubear has quit [Quit: Leaving]
<hramrach>
hello :)
<hramrach>
oliv3r: good enough router if it works
<hramrach>
I am using a PC for router and have to replace the PSU like every 2 yrs
<hramrach>
it keeps failing
<oliv3r>
hramrach: cheap PSU's? i have servers running 24/7 for 6+ years (well the PSU's, the motherboards have been upgraded)
<oliv3r>
zalman/FSP psu's 400Watt (or was it 350W?)
<oliv3r>
cheap chinese powerbricks will fail as often
<hramrach>
I am using FSP uATX PSUs
<oliv3r>
ah uATX, probably not as tested and as proven? strange though, maybe a high draw on the 12V or something
wingrime has joined #linux-sunxi
<hramrach>
2 different boards already
<libv>
oliv3r: i don't trust them one bit, as i've seen this sort of company way too often in my via unichrome days
vicenteH has quit [Ping timeout: 248 seconds]
<hramrach>
but the last one was an old HP PSU so maybe too high draw for that with modern board
<libv>
oliv3r: they way in which this guy is approaching things makes it actually even worse than most of the companies i dealt (or didn't end up dealing) with back then
<oliv3r>
libv: my thoughts exactly 'oh you did all this work, here, have a cookie, do tons of work for us so we can make $profit'
<libv>
they are looking for cheap, and are not even willing to do the initial research themselves
<libv>
anyone who thinks that they will contribute anything is wrong.
<oliv3r>
yeah, i'm not getting my hopes up
FDCX has quit [Read error: Operation timed out]
<libv>
well, we are an open source project, so of course many people will come and go and never contribute anything back
<libv>
but this claim to intend to "invest" anything is completely wrong
<libv>
even if the intention truly is there, in the mind of this david person, there will not be anything real there
<Sonic1>
That sounds like me all of a sudden
FDCX has joined #linux-sunxi
<libv>
Sonic1: ?
<Sonic1>
Saying I'm going to invest time but nothing to show for it
<libv>
oh, that's quite different
<libv>
there's a guy from a tiny cheap ukrainian stb company claiming that he intends to invest in sunxi
FDCX has quit [Read error: Operation timed out]
<Sonic1>
Ah, bit different yea
ykchavan has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
FDCX has joined #linux-sunxi
wingrime has joined #linux-sunxi
<wingrime>
hno: ping
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
HeHoPMaJIeH has quit [Remote host closed the connection]
deasy has joined #linux-sunxi
Soru has joined #linux-sunxi
eebrah has joined #linux-sunxi
<libv>
on a similar note, how much has pengpod contributed to sunxi, and to what extent did it not spread sunxi code and wiki thinner over the www, thereby hurting linux-sunxi.org?
naobsd has joined #linux-sunxi
ykchavan has quit [Read error: No route to host]
hansg has joined #linux-sunxi
ykchavan has joined #linux-sunxi
ykchavan has quit [Read error: Connection reset by peer]
ykchavan has joined #linux-sunxi
hansg has quit [Quit: Leaving]
ykchavan has quit [Read error: Connection reset by peer]
ykchavan has joined #linux-sunxi
ykchavan has quit [Read error: Connection reset by peer]
ykchavan has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 272 seconds]
vicenteH has joined #linux-sunxi
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew.]
wingrime_ has joined #linux-sunxi
<wingrime_>
hno: ping
<wingrime_>
mnemoc: thats strange all
<wingrime_>
mnemoc: when I send cmd - "boot" it reset in cycle
<wingrime_>
but when I send
<wingrime_>
mnemoc: "env run autoboot all works"
<gzamboni>
a10 is big endian or little endian ?
<ganbold_>
little endian
<mnemoc>
wingrime_: so initially you doesn't have the env already prepared to `boot`
<wingrime_>
mnemoc: I have boot.scr
<wingrime_>
mnemoc: but when I load it manualy all works
<mnemoc>
boot.scr is not read by magic
<mnemoc>
it's explicitly loaded by some macros
<wingrime_>
mnemoc:yes
<mnemoc>
look at the default env
<wingrime_>
mnemoc: Its in place
<hramrach>
libv do you have a key for the repo?
<hramrach>
without one apt will complain endlessly that the repo is not trusted
<libv>
hramrach: nope, i have not
<libv>
hramrach: that's how it is for the time being.
wingrime has quit [Ping timeout: 246 seconds]
hipboi_ has quit [Ping timeout: 265 seconds]
wingrime_ has quit [Ping timeout: 246 seconds]
rellla2 has quit [Remote host closed the connection]
<mnemoc>
oliv3r: issue. pointhq, currently providing our @linux-sunxi.org forwards, is killing my free account in 19 days
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 272 seconds]
FR^2 has quit [Quit: Connection reset by peer]
Gerwin_J has quit [Quit: Gerwin_J]
wingrime has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah is now known as Guest48669
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
hipboi_ has quit [Quit: Leaving]
Guest48669 is now known as eebrah_
<gzamboni>
if you want i can host the @linux-sunxi.org
<gzamboni>
i have a postfix set up already
wingrime has quit [Ping timeout: 272 seconds]
mcbrick has joined #linux-sunxi
<Turl>
mnemoc: ^
<gzamboni>
the mailbox can be set up in my server without space limit or i can redirect mails. i can give you an administration pannel access to create/configure emails
<gzamboni>
or some http SOAP commands to do it
<gzamboni>
it has secure imap, pop and roundcube access
torindel has quit [Ping timeout: 265 seconds]
torindel has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
deasy has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<mnemoc>
gzamboni: we only need smtp-auth for sending, and forwards to receive
<Turl>
hramrach: boot passing clk_ignore_unused on cmdline
<hramrach>
Turl: there is some unused clock switch in config too
<hramrach>
maybe it's flipped the wrong way?
<Turl>
hramrach: "in config"?
<hramrach>
there was some babble about the driver pretending to use the clocks or something
<Turl>
where?
<hramrach>
in config
<Turl>
what's "in config"? :)
<hramrach>
oldconfig
<Turl>
dt?
<arokux2>
ok, seems like i've lost my sun4i board
<arokux2>
100 EUR
<Turl>
dunno
<hramrach>
but I don't know the exact phrase so can't grep it
<Turl>
arokux2: you've got a very powerful 64k MCU now
<arokux2>
Turl: and what can I do with it? :p
<hramrach>
but it was a select
<hramrach>
can't be that many clock related selects
<Turl>
hramrach: there is none in fact, clk driver is enabled with the arch config
<Turl>
arokux2: toggle GPIOs and learn bare metal programming :p
<Turl>
arokux2: or port barebox ;)
torindel has quit [Ping timeout: 268 seconds]
torindel has joined #linux-sunxi
<arokux2>
Turl: if you want, I can send it to you as a gift
<arokux2>
:)
<arokux2>
(I'll try several more times if it does work..)
<libv>
arokux2: have you tried powering it down completely, and letting it sit to cool for a bit?
<arokux2>
libv: it is cooling now, thanks for the advice
<Turl>
arokux2: I already have a non broken mele :p but thanks for the offer :)
<Turl>
hramrach: regarding your email, do you have a serial console connected? some devices like to play vampires and remain half on, leeching power from the uart cable
<libv>
arokux2: make sure that it really isn't connected to anything anymore, you know about the serial port partly powering the board :)
<libv>
not quite the mele, but it could use some love and attention too
<Turl>
libv: it has many usb ports :)
<arokux2>
libv: do you have the image of the internals?
<Turl>
probably a hub + one direct one, judging by the weird labels
<libv>
arokux2: nope, i never got round to buying it
eebrah_ has quit [Read error: Connection reset by peer]
<libv>
someone clued should get it and bring it up, expose serial, etc
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
alabaste1 has joined #linux-sunxi
xnxs has joined #linux-sunxi
Brod_ has joined #linux-sunxi
<techn_>
do we have gmac driver yet?
<techn_>
or does emac work with cubietruck?
<arokux2>
libv Turl it seems to work again........
<arokux2>
actually I've just realized I have something like this before
<arokux2>
it happens after I haven't touched the board for a while
andoma has quit [*.net *.split]
Brodomir has quit [*.net *.split]
lynxis has quit [*.net *.split]
alabaster has quit [*.net *.split]
on1x has quit [*.net *.split]
kenny has quit [*.net *.split]
binaryferret has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
<arokux2>
after some time it "warms up"
<arokux2>
bad thing is I do not know what helps exactly..
ijc has quit [Excess Flood]
ijc has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
<Turl>
techn_: I read somewhere that it was merged to 3.4 now
<Turl>
let me check
<arokux2>
good thing is this is not our bug but hw issue
lynxis has joined #linux-sunxi
andoma has joined #linux-sunxi
kenny has joined #linux-sunxi
on1x has joined #linux-sunxi
binaryferret has joined #linux-sunxi
<Turl>
techn_: I don't see it on our tree yet
<Turl>
techn_: from what I know from oliv3r, cubietruck doesn't support emac, only gmac
<techn_>
Turl: yeah.. I saw that benn has commited it to he's own tree.. about 1,5 month ago
<Turl>
techn_: the aw sdk is 3.4 too, it shouldn't be too hard to transplant it in any case
<arokux2>
no... it doesn't work again :(((
<Turl>
fuuu github
<arokux2>
I've just managed to test USB - it worked
<hramrach>
the gmac patch applies to sunxi-3.4
eebrah_ has quit [Read error: Connection reset by peer]
<hramrach>
but the WiFi patch is problematic
<arokux2>
hno: how are you?
<hramrach>
Turl: yes, I have serial connected
<hramrach>
I would not be able to boot otherwise. Need to press a key shortly after the board powers on
<hramrach>
and would not see how it fails, either
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
<Turl>
hramrach: when you power off the board, unplug power and serial, then plug them again
<Turl>
if you leave serial connected, the mmc thing happens because the board is like half on
torindel has quit [Ping timeout: 246 seconds]
torindel has joined #linux-sunxi
<hramrach>
will try with next patch
<arokux2>
reset won't work in U-Boot with A13 olinuxiono...
<hramrach>
Now I have kernel panic because the nfs root is parsed incorrectly
<Turl>
arokux2: I think hans made some improvements to reset on linux, maybe it needs to be ported to uboot too
<Turl>
arokux2: my A10S didn't have any trouble resetting though
<arokux2>
Turl: my A10 too.
eebrah_ has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<hramrach>
yes, with the serial connected the red led is lit slightly and goes off when disconnected
<arokux2>
hramrach: what hw are you playing with, just curious
<hramrach>
cubieboard2
<hramrach>
thought it was working too well with 3.4 kernel >:)
<arokux2>
hm.. can one configure WLAN adapter in kernel for a WPA access
<arokux2>
?
<hramrach>
not likely
<hramrach>
but in initramfs ..
<arokux2>
hramrach: ah, good point.
<arokux2>
another question: is there something like /proc/board_name ?
<hramrach>
I wish there was
<hramrach>
there is something like /proc/dt
<hramrach>
if you enable it
<arokux2>
cat /proc/device-tree/compatible
<arokux2>
thanks hramrach
<hramrach>
the DT kernels should have the dt board info somewhere but did not boot any so far
<arokux2>
so I can report the following (obvious but nevertheless) USB host works, so to work comfortably on A13 with no Ethernet you can buy USB2Ethernet and burn the kernel only once to the mmc card, then boot from it with rootfs on the NFS share. to test a new kernel you just copy it over network to the correct location on the mmc card.
jinzo has joined #linux-sunxi
<arokux2>
no need to fiddle with miniature micro sd card
<hramrach>
usb ethernet ftw
<arokux2>
supposedly one can use WLAN adapter too.
<hramrach>
with usb ethernet you can get in-kernel NFS root
eebrah_ has quit [Ping timeout: 245 seconds]
<hramrach>
with any kernel you can burn small system into mmc, load kernel from network, kexec ;-)
<arokux2>
hramrach: in-kernel NFS, what is that?
<Turl>
arokux2: dmesg prints board name
<Turl>
err hramrach ^
<hramrach>
when read from dt, yes. but you want that any time during runtime when the buffer rolls over already
<Turl>
arokux2: you could also get usb supported on uboot, and use tftp then :p
<Turl>
hramrach: yeah, I wrote that before seeing arokux2's suggestion :)
* hramrach
wants SATA on u-boot
<arokux2>
Turl: 1. U-Boot has support for USB long ago 2. it won't work, since you need to add support to the usb2ethernet device to u-boot
<hramrach>
or adb
Black_Horseman has quit [Write error: Broken pipe]
Black_Horseman has joined #linux-sunxi
<Turl>
arokux2: uboot has support for some usb-ethernet dongles
<arokux2>
Turl: you should have told me earlier...
<Turl>
arokux2: see doc/README.usb in uboot tree, "USB Host Networking"
<hramrach>
arokux2: the NFS stuff is done in-kernel
<hramrach>
but either you initiate it with userspace mount command
<arokux2>
Turl: hm.. my dongle could be even supported
<arokux2>
thanks Turl
<hramrach>
or pass kernel paramaeters and kernel fails to mount the root over nfs
<arokux2>
hramrach: I pass kernel parameters - it works. you can find instruction written by me on the wiki.
<hramrach>
I guess it's *supposed* to work
eebrah_ has joined #linux-sunxi
<arokux2>
hramrach: ok, but it never failed for me.
<hramrach>
for me the root path is empty so it fails to mount
<Turl>
hramrach: are you sure your nfs is working correctly? try mounting it on your pc
<hramrach>
will need to add more debug prints somewhere. there are only like 3 places wehre the var is touched
<arokux2>
ok.. I've forgot one smaaal issue
<hramrach>
Turl: I am sure it is not working but I am also sure the kernel fails way before finding out that
<arokux2>
we do not have mmc driver in mainline :(((((((
<arokux2>
so I cannot burn kernel to it
<Turl>
arokux2: you've got one big reason now to try usbnet on uboot ;)
<arokux2>
Turl: you're right.
<arokux2>
and leviathanch have got another one big reason to finish his mmc driver :p
<hramrach>
I find copying to server faster than copying to board
<hramrach>
the ssh performance of a10/a20 sucks
<Turl>
hramrach: I find not copying faster :)
<hramrach>
yes, wold be better to serve off the same machine where the stuff is built but tftp is not routable
<Turl>
hramrach: 'not routable'?
<hramrach>
or was it something else?
<hramrach>
there was some problem with these early boot stuffs
<Turl>
hramrach: I run a tftp server on my desktop (tftpy), and I have my board configured with tftp server ip == my desktop's
<Turl>
hramrach: it works just fine
<Turl>
and it pulls the files directly from inside the kernel tree
<hramrach>
I don't build on desktop.
<Turl>
it's just an example :) you can run the server wherever you build, as long as it's reachable it should work I think
<Turl>
you can pull files from nfs too on uboot I think
<hramrach>
yes, there are some examples for that
paulk-collins has quit [Quit: Ex-Chat]
torindel has quit [Ping timeout: 260 seconds]
torindel has joined #linux-sunxi
<arokux2>
Turl: IT WORKS!
ganbold_ has quit [Remote host closed the connection]
<arokux2>
hramrach: I do just that - pull from u-boot with NFS