<Turl>
oliv3r: yeah the goto on there is pretty ugly :)
<Turl>
just "return -EFAULT;" and the like
<n01>
:D agree
<oliv3r>
i find returns mid code to be ugly :)
<Turl>
oliv3r: why do you have that return 0 then? ;)
<oliv3r>
:p
<oliv3r>
could have moved that below too
<oliv3r>
but its at the end of the 'funcion'
<oliv3r>
but then i'll have 3 returns mid function :(
<oliv3r>
i'll admit it's a small function
<Turl>
when one usually goes the goto thing you set ret to some value at the start and then let it fall through go the exit: label
<n01>
if you have to return an error without cleanup it is better to immediately return IMO
<oliv3r>
also, not sure why he complains about the use of likely() in probe. The gain is miniscule, but what's there to loose!
<Turl>
but IMO the goto thing is only for when you need cleanup
<oliv3r>
yeah i did have cleanup
<Turl>
if you can just return, use the damn return statement :D
<oliv3r>
i think generally, people frown against mid returns, as it could lead to unexpected reading of the code (especially if you overlook the return)
<oliv3r>
but it's just 'taste' i guess :)
<oliv3r>
just like I prefer to have {} even around single line statements :)
<oliv3r>
well there is SOME cleanup; if things fail, i have to set my pointer to NULL :p
<Turl>
yeah but only after you set it to garbage :)
<oliv3r>
well if the create of sysfs entry fails
<oliv3r>
but upto that its fine
<oliv3r>
so I suppose it does need some cleanup!
<Turl>
yeah but it's just 1 line which you can put in 1 case, doesn't merit goto cleanup IMO
ganbold_ has joined #linux-sunxi
<oliv3r>
but yeah, as the code is now; i should just remove the return 0; set ret = 0 at the start; and let it fall through
<Turl>
oliv3r: I don't recall if they pointed it out too, but the ret on sunxi_sid_read_byte is unnecesary too
* Turl
gets more popcorn for reading emails
<n01>
popcorn *_*
Yaku321 has quit [Disconnected by services]
Yaku-noob has joined #linux-sunxi
leowt has joined #linux-sunxi
Yaku321 has joined #linux-sunxi
<leowt>
going to build again
<leowt>
and get some attention to it
<Turl>
AW working with upstream gets them... *drumroll* free bug fixes o.o
Yaku-noob has quit [Ping timeout: 245 seconds]
<n01>
ehi Turl are you in Stockholm?
<Turl>
n01: nope, I'm on the other side of the earth in fact :P
<n01>
even better :D working in the USA?
<Turl>
n01: no, I meant the bottom half, south hemisphere :P
<n01>
hoooo cool :)
<Turl>
n01: hno might be way more near to there, why were you asking btw? :P
eebrah has quit [Read error: Connection reset by peer]
<n01>
I didn't mean to be intrusive ... compiling my code and have to waste 10 min :)
<Turl>
n01: ah :P
<Turl>
n01: get some popcorn and read the emails on lakml/arm-netbook
<n01>
:D popcorn at work, hummm dunno if it fits the company policy :P
<slapin_n1>
n01: if they have microwave oven, then it definitely fits
<n01>
unfortunately there isn't :((
* slapin_n1
remembers 7-letter company started with S where there was kitchen but hate policy to 'the food smell', so no microwave oven, so everybody ate damn smelly junk food :(
hno has quit [Excess Flood]
hno has joined #linux-sunxi
paulk-desktop has joined #linux-sunxi
_BJfreeman has joined #linux-sunxi
_BJfreeman is now known as BJfreeman
focus has joined #linux-sunxi
hno has quit [Excess Flood]
hno has joined #linux-sunxi
heffer has joined #linux-sunxi
heffer has joined #linux-sunxi
heffer has quit [Changing host]
Yaku321 has quit [Disconnected by services]
Yaku-noob has joined #linux-sunxi
tinti has quit [Ping timeout: 264 seconds]
Yaku321 has joined #linux-sunxi
hno has quit [Excess Flood]
hno has joined #linux-sunxi
Yaku-noob has quit [Ping timeout: 256 seconds]
<hno>
Turl n01. yes I am in Stockholm area.
<n01>
lovely place Stockholm :) I was there a couple of month ago for an interview ... really nice
* slapin_n1
likes recent list discussions so much with lkcl and hno, like wasted half a day reading them...
* hno
got tired.
<hno>
n01, let me know if you get in the area again.
<n01>
I'll do, thanks :)
Tartarus_ has joined #linux-sunxi
qwebirc28753 has joined #linux-sunxi
qwebirc28753 is now known as ikke
ikke is now known as hve
<bfree>
finally got somewhere with my 3.10+initramfs. building in the initramfs it was dying with it complaining it was an unsupported machine. gutting the config_initramfs_source (i.e. dropping all modules) and it finally actually loads and dumps me to an initramfs prompt (no surprise there as it needs the nbd module for it's intended root)
<bfree>
so size (and/or mine or u-boot's addresses) are presumably the problem
rz2k has joined #linux-sunxi
BJfreeman has quit [Quit: had a good time]
n01 is now known as n01|away
Tsvetan has quit [Ping timeout: 248 seconds]
notmart has quit [Quit: notmart terminated!]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
<LoCoZeNoz_ZUE>
I dont need ubuntu. Is there any debian/gentoo images out there?
<LoCoZeNoz_ZUE>
at the moment i just wanna try any rootfs, but i am not quite sure il change it "anytime soon". So it should be usable (and non ubuntu)
<aexl_>
wait for linux-sunxi.org/Bootable_OS_Images
<LoCoZeNoz_ZUE>
As i know control group is a major "everything eater"
<LoCoZeNoz_ZUE>
It would speed up stuff, especialy on embedded that have "mainly a single task of serving to the user" when turned off
<aexl1>
and that's disabled?
<oliv3r>
LoCoZeNoz_ZUE: talk to hramrach_ hes redoing defaults
<LoCoZeNoz_ZUE>
:D
<LoCoZeNoz_ZUE>
aexl1, As i see, its not
<LoCoZeNoz_ZUE>
I am searching and making a "issue" at github
<aexl1>
there are worse things ...
<aexl1>
like no touchscreen. :D
<LoCoZeNoz_ZUE>
XD
<aexl1>
scnr
<hno>
LoCoZeNoz_ZUE, I said USB drive, not USB stick. If you take a random USB drive most of them are formatted NTFS or HFS (MacOS)
<aexl1>
hno: fat
<aexl1>
hno: not you
<LoCoZeNoz_ZUE>
Well, if you succedeed to find what is linux-sunxi, i am very sure you dont have one.
<LoCoZeNoz_ZUE>
Becouse all you sticks will be either with fat, either with ext*. Or BSD disklabel......
<LoCoZeNoz_ZUE>
But i am not sure any non-masochist use NTFS. As its unpossible to maintain it under linux easily
<LoCoZeNoz_ZUE>
And if you know how different x86 is from arm. Bravo, you are not a beginner in our world of linuxes!
<hno>
LoCoZeNoz_ZUE, most my sticks are ext*. But yes, nearly all USB sticks out in the world are VFAT formatted.
<LoCoZeNoz_ZUE>
If you want, we may leave ntfs. But yet i am concerned who uses amiga, and same time linux on a A10 device........
<hno>
But FAT do not really work if you want to transfer media files due to stupid 2GB file limitation.
<LoCoZeNoz_ZUE>
And suddenly will want to plug his old HDD to tablet. Using some very weird ways, as i dont know how to plug it into the tablet
<aexl1>
4gb
<specing>
No love for F2FS?
<hno>
whatever. Too small.
<LoCoZeNoz_ZUE>
4gb
<LoCoZeNoz_ZUE>
Alot of flash drives are 4-8GB
<aexl1>
anyway: mountain - molehill
<LoCoZeNoz_ZUE>
What exactly do you have to take more than 4 gb?
<hno>
I am not talking about USB flash sticks.
<aexl1>
LoCoZeNoz_ZUE: hdvideo
<LoCoZeNoz_ZUE>
Arghh!!! I found a pirate! or... oh.......
<hno>
Even a full length DVD quality movie is >4GB.
<aexl1>
just private videos of course. wink wink
<hno>
Pirate movies are generally <1GB.
<LoCoZeNoz_ZUE>
sir. Do you have a single NTFS hard drive at home?
<Turl>
hno: the crappy ones :p
<LoCoZeNoz_ZUE>
Anyone in here got 1?
<hno>
Me? Sure.
<aexl1>
not the ones you get from colleagues. :D
<LoCoZeNoz_ZUE>
And you sure wanna plug it into the tablet?
<hno>
I don't have a tablet. None of my Allwinner devices even have a screen.
<LoCoZeNoz_ZUE>
And you surely got no time to install NTFS-3G? Or take a look at make linux-config?
<hno>
and I only have 9 Allwinner devices.
<LoCoZeNoz_ZUE>
Anyway. I think we should refuse from NTFS in kernel, and if they need it. They can use much more stable and just better NTFS-3G
<aexl1>
i once had to take a <4gb hd movie too test my tablet. worked fabulously.
<techn__>
my 128GB stick is NTFS.. and also 7xxGB usb hd is NTFS
<Turl>
LoCoZeNoz_ZUE: all distros ship with ntfs-3g these days
<Turl>
(user oriented ones that is)
<LoCoZeNoz_ZUE>
Turl, EVEN BETTER!
<hno>
Sure I use NTFS-3G whenever accessing NTFS from Linux. But those poor ones stuck with Android generally do not have that choice.
<Turl>
android has vfat support, and that's it
<LoCoZeNoz_ZUE>
So.... Anyone who got a NTFS drive, and uses kernel driver to access it? Anyone?
<Turl>
if you use CM you may also enjoy extN disks and in kernel ntfs
<LoCoZeNoz_ZUE>
Who needs this failure of MS called NTFS?
<Turl>
LoCoZeNoz_ZUE: the only deak with the kernel driver is that it's read only
<hno>
In my world CM is Android.
<aexl1>
i just formatted an hdd fat to play some music ...
<Turl>
which is sufficient for most people
<Turl>
hno: :)
<LoCoZeNoz_ZUE>
Turl, Yeah, but 1. NTFS-3G. 2. NO normal man knows what is linux-sunxi. 3. NTFS is a fail
<hno>
Why are we having this argument?
<aexl1>
hno: right.
<LoCoZeNoz_ZUE>
To choose. Whenever to remove kernel NTFS support or not to
* Turl
wonders the same as hno
<aexl1>
it's supposedly 0,1% speed
<hno>
LoCoZeNoz_ZUE, it's thjere for a reason.
<Turl>
keep it on? it doesn't hurt to have it there
<LoCoZeNoz_ZUE>
Ok. Moving onto next question. Who got a amiga formated HDD?
<aexl1>
Turl: :THUMBS_up:
<LoCoZeNoz_ZUE>
Question closed.
<aexl1>
just. leave. it. :D
<LoCoZeNoz_ZUE>
For. what. ?.
<Turl>
LoCoZeNoz_ZUE: lol
<aexl1>
0.01%
<aexl1>
?
<LoCoZeNoz_ZUE>
I am a gentoo riser. Stop stoping me
<LoCoZeNoz_ZUE>
ricer
<Turl>
I'd say 0% on active use
<aexl1>
lol
<techn__>
LoCoZeNoz_ZUE: I have no idea why we should support amiga format :p
<oliv3r>
hno: what is the boot0/1 gpl status? is it what we have/thought?
<Turl>
LoCoZeNoz_ZUE: remove that -ffast-math from your cflags now
<LoCoZeNoz_ZUE>
techn__, Not me either! Question closed
<hno>
I got an Amiga drive somewhere... don't know if it still works. But it's only the partition table that is enabled because it is enabled by default.
<LoCoZeNoz_ZUE>
Turl, I dont have any
<LoCoZeNoz_ZUE>
hno, You got a chance to save it using you desctop
<Turl>
LoCoZeNoz_ZUE: then you're a fake gentoo ricer :)
<aexl1>
lols guys
<LoCoZeNoz_ZUE>
Turl, You catched me man. But really. ffast math breaks everything
* Turl
goes to do olimex's wpc
<LoCoZeNoz_ZUE>
Btw, i am trying to compile gcc with gcc. Yet, it dies of something.
<Turl>
LoCoZeNoz_ZUE: -Ofast -funroll-loops!
<oliv3r>
Turl: found thread, popcorn time! (was uploading 3.9.4)
<Turl>
oliv3r: uploading where?
<LoCoZeNoz_ZUE>
The peace, The O2
<hno>
oliv3r, hard to say. The GPL release is a patch adding GPL headers & NAND driver sources, from a git tree that we do not have. But it applies cleanly to the A20 SDK sources.
<hno>
And I would immediately close that with a NAK.
<aexl1>
happens.
<hno>
LoCoZeNoz_ZUE, redo it, but this time with a patch that enables things you thinks is missing, and another patch that disables things you think can not under any circumstances be needed by anyone.
<aexl1>
hno: *thumbsup*
<LoCoZeNoz_ZUE>
Man. Just acknowledge people about a magic "make linux-config"
<LoCoZeNoz_ZUE>
Its linux. And it should be independent of any defaults
<LoCoZeNoz_ZUE>
*remembers RMS*
<hno>
LoCoZeNoz_ZUE, yes, we acknowledge that those that need a slim setup all know how to configure their kernel.
<aexl1>
not even sun4i_defconfig?
<LoCoZeNoz_ZUE>
hno, Only now i found that option
<LoCoZeNoz_ZUE>
Put it in a "more public" place
<hno>
?
<LoCoZeNoz_ZUE>
Or redoit as "make menuconfig" so it will be more intuitive.
<oliv3r>
us gentooers always get bullied :(
<aexl1>
it says sun4i_defconfig everywhere
<techn__>
LoCoZeNoz_ZUE: sunxi-bsp is just container of relevant parts for working with sunxi stuff.. it contains u-boot, kernel, binary drivers.. etc
<hno>
I don't care for how you configure your kernel.
<LoCoZeNoz_ZUE>
It took me awhile to figure out how to configure kernel
<oliv3r>
Turl: subject, typing on tablet slow
<LoCoZeNoz_ZUE>
And i gave up thinking that you have hardcoded everything and other stuff
<techn__>
.. with couple of helper functions so that you can make stuff in one directory :/
<hno>
LoCoZeNoz_ZUE, we do our best in getting rid of any hardcoded shit.
<oliv3r>
hno, allwinner-boot ttee? it is 'there'
<hno>
oliv3r?
<LoCoZeNoz_ZUE>
You got you "3 commands, and its ready" way. Make the default settings better, sir
<aexl1>
issues/8 still there
<oliv3r>
LoCoZeNoz_ZUE: TALK TO HRAMRACH, hes refoing the fefconfig
<LoCoZeNoz_ZUE>
do you need any special patches to change default settings?
<LoCoZeNoz_ZUE>
techn__, Doesnt mean everyone else does
<hno>
Yes Fedora is using cgroups a lot. Any distro using systemd is.
<LoCoZeNoz_ZUE>
Take gentoo to the knee
<techn__>
LoCoZeNoz_ZUE: there is atleast two opinnions of default settings.. kernel should be minimal (you).. kernel hould consist almost everying(harmrach)
<LoCoZeNoz_ZUE>
kernel should not have something no one uses
<techn__>
and the middle ground, where we at
<LoCoZeNoz_ZUE>
Cant you just enable everything you need at make linux-config?
<hno>
LoCoZeNoz_ZUE, in your list the only thing no one uses is Amiga partition layout I think.
<LoCoZeNoz_ZUE>
What about Rio Karma, Minix, Solaris......
<LoCoZeNoz_ZUE>
BSD? UDF? Initramfs should be left to the ones who knows where the config is
<LoCoZeNoz_ZUE>
There is alot of stuff i am sure no one needs in default configs
<LoCoZeNoz_ZUE>
And if they need it, i am sure they compiled not a single kernel
<aexl1>
man going through some ml lkcl should really relax. he's starting to piss even me off. alright im a drunkard.
<oliv3r>
Turl: im slow, but reading june 5th it looks like luke doest know we have stuff ml? slowly but going .. should have read the ml :p
<LoCoZeNoz_ZUE>
ok, then i am going to fork the default config with blackjack and sluts
<hno>
Minix is likely used by some. There is Minix for ARM even. And BSD for sure. UDF absolutely. Initramfs yes many.
<aexl1>
LoCoZeNoz_ZUE: lol. got me.
<hno>
LoCoZeNoz_ZUE, do you even know what UDF is?
<LoCoZeNoz_ZUE>
Yeah
<oliv3r>
udf is usefull on that cdrom
<LoCoZeNoz_ZUE>
Yet its a rare technology
<LoCoZeNoz_ZUE>
Not much people use it. Not much devices supports it
<LoCoZeNoz_ZUE>
everyone is too used to that cd rom are not usb drives
<hno>
Every DVD movie is using UDF.
<LoCoZeNoz_ZUE>
o.o
<LoCoZeNoz_ZUE>
well.....
<LoCoZeNoz_ZUE>
a shock
<hno>
Every hybrid DVD is accessed using UDF.
<LoCoZeNoz_ZUE>
Are we talking about this technology that allows you to read/write on cd like on any normal storage? Just to make sure
<aexl1>
LoCoZeNoz_ZUE: nooo, android is the paranoid one.
<LoCoZeNoz_ZUE>
You have disabled Blowfish?
<hno>
oliv3r, most DVDs are using iso9960 bridge format. And when playing DVD movies using the normal media players the UDF driver is all in userspace.
<LoCoZeNoz_ZUE>
aexl1, Are you american?
<aexl1>
LoCoZeNoz_ZUE: alright ill be quiet
<aexl1>
LoCoZeNoz_ZUE: German.
<LoCoZeNoz_ZUE>
ouch
<hno>
bridge format means it's accessible both using UDF and ISO9660.
<LoCoZeNoz_ZUE>
Anyone american here?
<hno>
aexl1, lkcl?
<LoCoZeNoz_ZUE>
nvm
<techn__>
drachensun is also american
<aexl1>
LoCoZeNoz_ZUE: wtf?
<aexl1>
hno: lkcl -> ml -> i like it here better. much more fun ...
<oliv3r>
ah ok, understood hno
<LoCoZeNoz_ZUE>
aexl1, ?
<aexl1>
LoCoZeNoz_ZUE: "ouch"?
<LoCoZeNoz_ZUE>
What ouch?
<LoCoZeNoz_ZUE>
I am trying out something, what may work only on americans
<aexl1>
(01:52:14) aexl1: LoCoZeNoz_ZUE: German.
<aexl1>
(01:52:18) LoCoZeNoz_ZUE: ouch
<oliv3r>
Turl: OMG on jun 7th now. not wanting to sound mean, but under a rock? he really missed all of our mainlining effort :( ouch
<LoCoZeNoz_ZUE>
Something what they may not like, but yet its fun
<aexl1>
oliv3r: that's what i meant - lkcl, right?
<LoCoZeNoz_ZUE>
Give me first and second name + age of any person in USA, and il do something funny