<Nazcafan>
in the wiki "toolchain" page, I see one of the steps is to get and install code sourcery, is this a compulsory step?
<ccaione>
Nazcafan: you need a crosscompiler
<ccaione>
not specifically codesourcery
<Nazcafan>
oh wait
<Nazcafan>
I think I am basicallly installing two crosscompilers, then
<Nazcafan>
I installed emdebian.org
<Nazcafan>
and now I was following the next instructions
<Nazcafan>
but I guess I don't need codesourcery, then, right?
<ccaione>
you just need one
bsdfox has quit [Ping timeout: 260 seconds]
<Nazcafan>
I made that mistake partly because the CodeSourcery section on the wiki was at a higher level than the other ones, so I assumed code sourcery was basically some kind of IDE I had to install on top of the toolchain
<Nazcafan>
will fix that
bsdfox has joined #linux-sunxi
newleaves_ has quit [Remote host closed the connection]
notmart has joined #linux-sunxi
bsdfox has quit [Ping timeout: 252 seconds]
bsdfox has joined #linux-sunxi
sehraf has joined #linux-sunxi
sehraf has quit [Client Quit]
sehraf has joined #linux-sunxi
<Nazcafan>
I am surpried by the sheer size of the uboot-sunxi repository, I was expecting something super small
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
enrico_ has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
<oliv3r_>
Nazcafan: how so? u-boot supports many many targets
<Nazcafan>
I have to go
<Nazcafan>
oliv3r_, I probably grossly underestimated the volumetry of necessary source code
<oliv3r_>
ah :)
<oliv3r_>
well the resulting binary is about 240 kb
<oliv3r_>
with spl being 24k
<oliv3r_>
so yeah, u-boot is pretty small
oliv3r_ is now known as oliv3r
ah__ is now known as andhe
<oliv3r>
but the codebase, the git repository has a lot of history and supports more
Nazcafan has quit [Quit: Quitte]
iskl has joined #linux-sunxi
robincook has quit [Remote host closed the connection]
cazzacar1a is now known as cazzacarna
foubarre has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Net147 has joined #linux-sunxi
nabblet has joined #linux-sunxi
foubarre has quit [Remote host closed the connection]
rz2k has joined #linux-sunxi
bsdfox has quit [Ping timeout: 260 seconds]
bsdfox has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
HeHoPMaJIeH has quit [Ping timeout: 272 seconds]
aep_ is now known as aep
<oliv3r>
so, anybody experienced with (a)getty and serial consoles and passwordless logins?
<oliv3r>
i've been struggling for 4 hours now; and i am about to give up
foubarre has joined #linux-sunxi
<lioka>
oliv3r: you're aware of /etc/securetty, right ?
<oliv3r>
yeah i've added ttyS0 to there :)
<oliv3r>
but afaik that only allwows root to login from there?
foubarre has quit [Read error: Connection reset by peer]
<oliv3r>
i should also mention systemd somewhere :p
foubarre has joined #linux-sunxi
<lioka>
well, i wish you luck then
<oliv3r>
LOL
<oliv3r>
thanks
<nabblet>
oliv3r: why do you need tty for a non-root user?
<oliv3r>
for pro-root
<oliv3r>
i want a passwordless, always on, root shell on ttyS0
ganbold_ has joined #linux-sunxi
sehraf has joined #linux-sunxi
<nabblet>
oliv3r: what OS?
sehraf has quit [Read error: Connection reset by peer]
<nabblet>
or distro
foubarre has quit [Read error: No route to host]
<oliv3r>
nabblet: fedora 19; but most importantly to note is that it's using systemd :)
Montjoie has quit [Quit: Leaving]
foubarre has joined #linux-sunxi
<oliv3r>
i thought mingetty would do the trick; but mingetty doens't work on serial
<nabblet>
oliv3r: oh, ok...
<oliv3r>
hah
<oliv3r>
told you it wasn't easy
<oliv3r>
i know which file to edit, /lib/systemd/system/serial-getty@.service
<oliv3r>
normally there's agetty that works from there
<oliv3r>
but i don't have a password at this point yet for the system, so can't login yet
<oliv3r>
i tried using login -f root; but login doesn't allow root as forced user
<lioka>
oliv3r: strip asterisk from shadow
<lioka>
like root::...
arky has joined #linux-sunxi
<lioka>
and afair systemd, providing you have console=ttyS0... in cmdline, is clever enough to make serial console automagically
aep has quit [Read error: Connection reset by peer]
Black_Horseman has quit [Remote host closed the connection]
aep has joined #linux-sunxi
<oliv3r>
lioka: i do get the serial console; but it requires me to login
<oliv3r>
i have modified shadow with a known password (copy shadow from my hsot to my target system, so should be known)
<oliv3r>
but noppers
<lioka>
oliv3r: just guessing: perms on /bin/login ?
<lioka>
like lost suid ?
<atsampson>
login shouldn't be suid...
<atsampson>
can you persuade your init to run "getty -a yourusername 38400 tty1"? that's what I do with sysvinit for automatic login
<lioka>
i'm not on fedora, so ...
<atsampson>
(where getty is agetty, on that machine)
AreaScout has joined #linux-sunxi
<oliv3r>
i want it to be root though :)
<oliv3r>
and afaik, agetty doesn't do -a root
<oliv3r>
mingetty does do autologin, but doesn't do serial
<Turl>
oliv3r: don't you have an automatic console already?
<atsampson>
oliv3r: "agetty -a root" works fine for me on Debian, and I can't see anything to prevent it in the source
<atsampson>
do Fedora have a patch or some funny PAM config?
<oliv3r>
Turl: but i can't login :p
<oliv3r>
atsampson: PAM config maybe, but i simply did a man agetty on google to find out there' sno autologin support :)
<oliv3r>
but i'm happy to try that
<Turl>
oliv3r: passwd -u root?
<oliv3r>
Turl: yeah that's the problem :p
<oliv3r>
i want to take screenshots from the fedora installer
<oliv3r>
so i have fbcat for that
<oliv3r>
i did the xzcat fedora > sd card
<atsampson>
oliv3r: I think -a got added at some point during the util-linux-ng period -- it's in Debian stable's version so I'd expect it's in Fedora's
<oliv3r>
mount the sdcard and start hacking awyay
<oliv3r>
i copied my shadow to the sd card and figured, that should work; but alas
<oliv3r>
dont' ask me why, it's stupid
<oliv3r>
Authentication service cannot retrieve authentication info
<Turl>
oliv3r: can't you use a normal user?
<oliv3r>
great
<oliv3r>
localhost login: root (automatic login)
<oliv3r>
yeah i'm about to add that :p
<oliv3r>
atsampson: so that doens't even work :( but agetty -a root DOES seem tow ork :)
foubarre has quit []
<oliv3r>
AARRGHHH
<Turl>
oliv3r: just use a normal user :p or suid your app
<oliv3r>
this is a 'installer' rootfs
<oliv3r>
so there's no user, there's no nothing yet
<oliv3r>
i'm just annoyed that i can't manage to get it to work :p
sehraf has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
Net147 has quit [Ping timeout: 246 seconds]
arky has quit [Quit: Leaving]
rz2k has quit []
Net147 has joined #linux-sunxi
mdp has quit [Excess Flood]
mdp has joined #linux-sunxi
<oliv3r>
yay
<oliv3r>
omg atsampson thanks :D
<oliv3r>
made a new imagine; and does work
kivutar has joined #linux-sunxi
<ccaione>
puneet B is going totally OT
<oliv3r>
i've 1200 messages behind
<Turl>
ccaione: he must be the king of handholdingland
<Turl>
:p
FreezingCold has quit [Ping timeout: 260 seconds]
<ccaione>
Turl: I'm replying. I'm a bit annoyed of his "Kindly tell me."
<Turl>
ccaione: at least he writes kindly :D
<ccaione>
at least
<Turl>
he has sent like 90 emails
<Turl>
oliv3r has barely over 200 on a rough count :p
<ccaione>
I think we should redirect him to a cubieboard-specific ml
<Turl>
ccaione: what is he asking about now?
<Turl>
tempting, dx is trying to sell me a 30$ quadcopter
<ccaione>
How to split stereo input into two mono outputs.
<ccaione>
on generic soundcard
kivutar has quit [Quit: Ex-Chat]
<Turl>
tell him to find an alsa ML and ask there :p
<ccaione>
not ever sunxi related
<ccaione>
s/ever/even/
<ccaione>
I told him to stay in topic
<oliv3r>
Turl: you count mails? and guess how many of those 200 went TO puneet :)
<oliv3r>
how is that alsa related?
<oliv3r>
send him to electrical enginering for noobs.com
<oliv3r>
solder some wires, done
<ccaione>
yeah :D
<oliv3r>
now the downmixing the 2 stereo's two mono, sure
<oliv3r>
i got a never used expensive bus blaster ;)
<Turl>
:p
pwhalen has quit [Ping timeout: 264 seconds]
leviathanch2 has quit [Ping timeout: 264 seconds]
deasy has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
pwhalen has joined #linux-sunxi
bsdfox has quit [Ping timeout: 272 seconds]
bsdfox has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
mdp has quit [Excess Flood]
mdp has joined #linux-sunxi
pwhalen has quit [Ping timeout: 272 seconds]
pwhalen has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
<gzamboni_>
anyone knows what are the pins MIC1OUTN and MIC1OUTP from the A10&A20 ICs ? Amplified realtime output of whats coming in in MIC1IN ?
<Turl>
gzamboni_: datasheet lists them as MIC Negative/Positive Output, Analog
Seppoz has quit [Remote host closed the connection]
sehraf has joined #linux-sunxi
Seppoz has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
<gzamboni_>
ok, thanks, i didnt found it on the A10 datasheet
selsinork has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
<Turl>
gzamboni_: A20 one :)
bbrezillon has quit [Read error: Operation timed out]
<Turl>
morfoh: \o
<morfoh>
Turl: yup
<morfoh>
Turl: wrong window? :)
sehraf has joined #linux-sunxi
bertrik has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
_massi_ has quit [Quit: Leaving]
diego_r has quit [Quit: Konversation terminated!]
pwhalen has quit [Read error: Operation timed out]
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
<ZetaNeta>
hello
<ZetaNeta>
i am again on the topic of how terrible CC is, and why should we have all documentation under GFDL
Quarx has quit [Read error: Connection reset by peer]
deasy has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
paulk-collins has joined #linux-sunxi
<Turl>
ZetaNeta: I'd suggest you go read the backlog
<Turl>
bbl
<ZetaNeta>
Turl, Assuming that i didnt is the wrong turn :3
<Turl>
ZetaNeta: well, if you had you'd know you were claiming random BS and you wouldn't want to retake the convo :p
<Turl>
anyway, bbl
<ZetaNeta>
1. I am scared about the images. 2. I wanted to write a "cleaner" guide to do images, but basing it on "the only original" forces me to use CC.
ssvb has quit [Remote host closed the connection]
rz2k has joined #linux-sunxi
iskl has quit []
<Turl>
ZetaNeta: would you call a drawing you made of a house a derivate work of a book on how to draw houses?
<Turl>
ZetaNeta: as for 2, you're not forced to release it under CC
<Turl>
just give attribution
eebrah|mobile has joined #linux-sunxi
bertrik has quit [Ping timeout: 264 seconds]
<ZetaNeta>
Turl, As for 1, there is alot of people who may disagree
<ZetaNeta>
As for 2, i agree that CC does not require me to keep the licence, like 4-clause BSD doesnt
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<Seppoz>
is there some sunxi function like S5PV210_GPJ3(6)
<ZetaNeta>
But, you get that it doesnt really matter
<Turl>
Seppoz: what does that do?
<Turl>
ZetaNeta: so what's your worry then?
<ZetaNeta>
You can relicence... as long as the new licence does not grant rights which violate the old licence
<ZetaNeta>
And thats damn lots of licences
<ZetaNeta>
Writing CC documentation for a GPL thing.... Its a wrong way to do things. Not just wrong, but TOTALLY WRONG
<ZetaNeta>
mripard, We are talking about some exact CC licence here.
<Turl>
ZetaNeta: the only restrictions are attribution and anti-DRM
<rz2k>
Turl: samsungsoc_GP<gpioport>(<gpionumber>) is a dumb macro for enumerating and ease of access to samsung SoCs gpios. they have it like that since s3c
<rz2k>
Seppoz probably wants same for AW
<Turl>
uboot has one I think
bertrik has joined #linux-sunxi
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
<ZetaNeta>
Turl, This makes it incompatible with most opensource licences i know
<Turl>
oliv3r would be the one to ask
<ZetaNeta>
oliv3r!!!
ragupo has joined #linux-sunxi
<Turl>
ZetaNeta: just like GPLv3 with many licenses?
<mripard>
ZetaNeta: ah yes, I didn't see the previous discussion, sorry
<Turl>
that doesn't make it "wrong"
<Turl>
mripard: we like having pointless discussions here :p
<ZetaNeta>
Turl, Anyone could put pieces of information, for ex. in README
<mripard>
Turl: it's true that CC-BY doesn't have a copyleft though. Like ZetaNeta was saying, it's very much like a BSD licence
<ZetaNeta>
mripard, Like a 4-clause one
<ZetaNeta>
Dont forget that
<Turl>
so what's the problem?
<Turl>
put the info on your readme :)
hawi has joined #linux-sunxi
<Turl>
and a line saying where you toojk it from
<ZetaNeta>
Turl, Distributing it together with the GPL software, thats what is wrong
<Turl>
as long as your readnme doesn't have DRM, you'll be fine
<ZetaNeta>
Turl, In this crazy world its not a question of "Just dont do this and you will be fine"
<ZetaNeta>
Its a questions if its legally possible or not
<Turl>
ZetaNeta: so what's legally impossible of shipping GPL software with a CC bit of text?
<Turl>
CC doesn't prohibit you from doing so
<ZetaNeta>
Both newer BSD and GPL grant you a right to change what ever and "delete the attribution"
<ZetaNeta>
GPLv3 contains text concerning the Tivoization (GPL term)/Anti-DRM (CC term) which differs from how CC defines it
pwhalen has quit [Ping timeout: 260 seconds]
<ZetaNeta>
Above 2 statements are making this "bad"
* ZetaNeta
had quite a experience in fighting for source codes for his routers (+4 routers are now under my full control), and even 2 web services.
eebrah|mobile has quit [Ping timeout: 265 seconds]
<Turl>
tivoization relates to the device, you don't ship the readme there
<Turl>
and by providing the source you are not imposing any technological measures to read it
<mripard>
Turl: I'm pretty sure the FSF would ask you to use emacs :)
<Turl>
anyway, I'm not a lawyer and to the best of my knowledge neither are you
<Turl>
mripard: heh
<Turl>
mripard: GNU cat :)
<oliv3r>
i'm the one to ask about what
<oliv3r>
(backreading now)
<Turl>
oliv3r: does uboot have some magical function to get gpios?
<Turl>
like SUNXI_PA(5)
<Turl>
Seppoz wanted to know
<ZetaNeta>
oliv3r, Hi
<ZetaNeta>
You cant really mix GPL and CC
xma has joined #linux-sunxi
<ZetaNeta>
Its a well known fact
<ZetaNeta>
README can contain parts from WIKI
<Turl>
ZetaNeta: well if you fear lawsuits just drop a link
<ZetaNeta>
I dont fear lawsuits
pwhalen has joined #linux-sunxi
<ZetaNeta>
But mixing licences, may lead into a stream of software with broken licences and making everyone a criminal, which are not in jail just because Copyright owner is not interested in doing this stuff
<ZetaNeta>
This is UNSUITABLE for companies
<Turl>
then let the company lawyers worry? :)
xeros has quit [Remote host closed the connection]
<ZetaNeta>
As i know, CC misuses "based on" instead of "derivative work"
<ZetaNeta>
And that may end up, in all images, ideas and a long list of etc being forced into CC restrictions
<ZetaNeta>
Turl, I am a single-man-company here
<Turl>
ZetaNeta: then hire a lawyer
<Turl>
:)
<Turl>
what wiki text did you want to put on a readme anyway?
<ZetaNeta>
Turl, I am not a sadist. (I am, but i dont wanna torture innocent lawyers)
<Turl>
hah
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<ZetaNeta>
Turl, I mean that the inner documentation may be "influenced" by the wiki
gzamboni_ has quit [Ping timeout: 260 seconds]
<ZetaNeta>
And ANY, i say ANY influence, may put anything made by the author after that into being legally questionable
deasy has joined #linux-sunxi
<Turl>
you're reading waaay to much into it imo
<ZetaNeta>
Turl, There is no depth in legal area
<Turl>
ZetaNeta: doctorow must be able to challenge most of the free code in the world then :)
<ZetaNeta>
Its either yes, either no, either "Hey, their name seems similar to our trademark!"
<ZetaNeta>
Turl, I cannot rewrite the wiki in GPL, because all i know is whats written in the wiki
<Turl>
I hereby release the following artistic masterpiece under CC-BY: "The sun emits light"
<Turl>
now I'm gonna sue you each time you say so, or anything related to it, and not mention me
<Turl>
see how ridiculous it is? :)
<Turl>
I gotta go, see you guys later
<ZetaNeta>
And the second is that, even if there would be something else, or i would do it the "Poking method" (russian word) and figure it out my self, its quite easy to proof that i used the wiki to write it
<hawi>
which seems to imply that it's possible to clear bits of the register writing to it...
<hawi>
but then the value is changed again to actual status of irqs from devices.
<hawi>
Anyone can confirm this?
<Turl>
mripard: ^
<hawi>
And maybe explain this on related thread on qemu-devel ml :)
<Turl>
ZetaNeta: the attribution is given on the history page
<Turl>
ZetaNeta: and the license is clearly specified and linked on the bottom of all pages on the wiki
<Seppoz>
turn where is SUNXI_PA(5) defined?
<Turl>
hawi: have you tried mailing mripard?
<mripard>
hawi: well, that's how I understood it at least
<Turl>
Seppoz: that's just something I made up, but there probably is something similar on uboot
<ZetaNeta>
Turl, Well, the attribution isnt clear. In most countries, you are required to give a name.
<ZetaNeta>
And the licence is not clear. Lier!
<ZetaNeta>
It links
<ZetaNeta>
But as a text, it does not say what licence it is under
<hawi>
mripard: ok, so the current implementation in qemu in quite correct
<mripard>
I though I asked allwinner about this
<mripard>
but I can't find the mail anymore
<hawi>
because it allows to write to the register and clear bits
<Turl>
Seppoz: also pio.c in sunxi-tools
<Turl>
ZetaNeta: what's not clear? "Content is available under Creative Commons Attribution unless otherwise noted."
<hawi>
the current implementation also uses a edge triggered interrupt from the timer
<hawi>
this seems strange to me
<mripard>
yep, to me too :)
<hawi>
ok, so I will resubmit my patch to change it to level triggered . Thanks for the confirmation!
<Seppoz>
Turl: gpio sunxi has most of those function but with a io struct used, so its gonna get a pain however you put it
Fusing has joined #linux-sunxi
<Turl>
Seppoz: what do you expect that function to return btw?
<Turl>
ZetaNeta: the full text also makes it clear that using pseudonyms is a valid means of attribution
<Seppoz>
its part of a cap. touch driver
<mripard>
hawi: I don't have any info on the A10, but since it shares a lot of IPs with the A20, and that the A20 is level triggered, that looks very odd to me they would have changed all the interrupts triggers
<ZetaNeta>
Turl, Wait... failed to read "Attribution" :P
<Turl>
ZetaNeta: we're wasting our time discussing this
Black_Horseman has joined #linux-sunxi
<ZetaNeta>
For a <del>second</del> minute (or longer) i thought that it just says Creative Commons
<hawi>
mripard: I agree
<Turl>
mripard: doesn't the A20 have GIC though?
eebrah|mobile has joined #linux-sunxi
<mripard>
Turl: yep, but it's just an IP to change
bhag has joined #linux-sunxi
deasy has joined #linux-sunxi
<bhag>
I am facing following error when compiling livesuit/usr/src/awdev-0.1/awusb.c:545:2: error: implicit declaration of function ‘dbg’ [-Werror=implicit-function-declaration] dbg("probe_aw: obuf address:%p", aw->obuf);
<rz2k>
Seppoz: could you please use mailing list for the gpio help? since you have a source code that you want to run on your sunxi, ML is better place to discuss
geecko has quit [Quit: bye bye]
<bhag>
@turl: thanks for help , its working
<bhag>
facing following error when running livesuit.sh LiveSuite/LiveSuit/./bin/LiveSuit: Syntax error: Unterminated quoted string
<libv>
mnemoc, oliv3r: according to arete74 seems like only wiki admins get to see the history of deleted pages, so i hope that my change fixes things now
<Turl>
libv: I believe that's how most wikis work, yep
<Turl>
libv: so spam history and the like doesn't keep on being public
<bhag>
Turl: i did it , i loaded the awusb.ko module but when running "sh livesuit.sh" its error in line 3
<Turl>
bhag: try bash
<Turl>
libv: we have a NDH'd sun3i now \ø/
<libv>
yeah, i didn't know that i couldn't immediately find solid documentation on that
<libv>
Turl: yeah, just saw it
<bhag>
Turl: No luck
<Turl>
bhag: what's on line 3? try to fix it
hawi has quit [Quit: Leaving]
<bhag>
For_Linux64/LiveSuite/LiveSuit $ sh LiveSuit.sh You are running on Linux /media/bhag/Personal/Cubie/burn/cubie/Livesuit/LiveSuit_For_Linux64/LiveSuite/LiveSuit/./bin/LiveSuit: 3: /media/bhag/Personal/Cubie/burn/cubie/Livesuit/LiveSuit_For_Linux64/LiveSuite/LiveSuit/./bin/LiveSuit: Syntax error: Unterminated quoted string
<bhag>
Turl: where ./bin/Livesuit is an non readable executable file
<mripard>
gzamboni_: I have a pretty good DMA driver for the A31 now, I'll probably submit it on monday/tuesday, do you want to be in Cc?
<Turl>
bhag: make it readable and see what's on line 3
<bhag>
Turl: How to make it readable, its looks like a binary file
<Turl>
ah ok
<Turl>
bhag: can you paste LiveSuit.sh on pastebin.com?