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
engideavr has joined #linux-sunxi
engidea-vr has joined #linux-sunxi
keh has joined #linux-sunxi
engideavr has quit [Ping timeout: 276 seconds]
vagrantc has quit [Ping timeout: 244 seconds]
tgaz_ has joined #linux-sunxi
tgaz has quit [Ping timeout: 240 seconds]
tgaz_ is now known as tgaz
bwarff has joined #linux-sunxi
FlorianH has quit [Read error: Connection reset by peer]
hulu1522 has quit [Ping timeout: 252 seconds]
khuey is now known as khuey|away
khuey|away is now known as khuey
p1u3sch1 has quit [Ping timeout: 252 seconds]
p1u3sch1 has joined #linux-sunxi
keh has quit [Read error: Connection reset by peer]
TheSeven has quit [Ping timeout: 248 seconds]
TheSeven has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
khuey is now known as khuey|away
azend|vps_ has joined #linux-sunxi
azend|vps has quit [Ping timeout: 240 seconds]
apritzel1 has quit [Ping timeout: 244 seconds]
apritzel has quit [Ping timeout: 244 seconds]
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
<lvrp16> tkaiser: you there?
p1u3sch1 has quit [Ping timeout: 276 seconds]
p1u3sch1 has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 244 seconds]
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
hulu1522 has joined #linux-sunxi
Shirasaka-Hazumi has quit [Ping timeout: 244 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
Shirasaka-Hazumi has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 260 seconds]
p1u3sch1 has joined #linux-sunxi
hulu1522 has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
IgorPec has joined #linux-sunxi
<tipo> i've got an armbian image booted on a BPI-M1+ that I can ssh into --- but the fan, properly connected to 5v and GND is not running. I have confirmed with a BPI-M3 that the fan does indeed work. wat do?
vickycq has quit [Ping timeout: 264 seconds]
reinforce has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<KotCzarny> tipo, did you confirm the pins with multimeter?
<tipo> KotCzarny, no, i just assumed that the pins were the same on the BPI-M1+ as the BPI-M3
<KotCzarny> can you make a quick photo?
<tipo> yeah sure, give me a couple mins
<KotCzarny> according to this you should use pins 2 and 6 (or 4 and 6) etc
vickycq has joined #linux-sunxi
<tipo> i believe that i am connected in 4 and 6
<KotCzarny> still, photo/multimeter
arossdotme-planb has quit [Ping timeout: 240 seconds]
<tipo> photo coming, multimeter after
arossdotme-planb has joined #linux-sunxi
<tipo> now going for multimeter
<KotCzarny> http://i.ebayimg.com/00/s/NTAwWDUwMA==/z/ThAAAOxyA7tSXZZQ/$%28KGrHqN,!ncFI-+RZoMZBS%28ZZP8ERw~~60_35.JPG?set_id=880000500F
<KotCzarny> hmm
<KotCzarny> if i see it correctly you should rotate the connector
<tipo> don't think so. red is visible on the left, which should be pin 4. i'll check via multimeter now
<KotCzarny> check with the connector on the pins
<KotCzarny> maybe they dont make contact
<tipo> i'll do both
<KotCzarny> i would try reversing it too anyway
<tipo> 0v
<KotCzarny> check on j12
<KotCzarny> pins 1 and 7
<KotCzarny> also, check on con3 with pins 2 and 6
<KotCzarny> also, check on sata power connector
<tipo> kk
<tipo> sata first, no power
<KotCzarny> weird, is the board powered on?
p1u3sch1 has quit [Ping timeout: 248 seconds]
<tipo> yes. can ssh in
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
p1u3sch1 has joined #linux-sunxi
<tipo> why 1 and 7 instead of 1 and 9? (3.3 and ground)?
<tipo> i tried 3.3 and ground. it worked
<tipo> it's just the 5v that's no good
<tipo> pin 2, pin 4, nothing
<tipo> + sata, nothing
<tipo> i could just hook the fan to 3.3 and ground, but i need sata power too :(
<KotCzarny> so you will see if 3.3 works
<KotCzarny> and yes, you can also try 1 and 9
<tipo> yeah, 3.3 works
<tipo> is this board bad or ?
<KotCzarny> unless you did something weird to armbian, yes, there is possibility that you lost 5v
<KotCzarny> which is kind of weird
pstef has quit [Remote host closed the connection]
<KotCzarny> as by default all power pins are enabled
<KotCzarny> so it might mean regulator chip is fried a bit
<KotCzarny> is this board new or second hand?
<tipo> just got it yesterday, wouldn't have done anything that would have fried it. straight from package to case and boot up
<KotCzarny> might be partially DOA
<tipo> alright, i'll have to deeal with it
<tipo> thanks for the help
<KotCzarny> if it's feasible (ie. local country buy) i would talk to the seller about replacement
<KotCzarny> some chinese sellers are willing to send second item without returning first too
<tipo> KotCzarny, yeah that's what i'll have go do. not a local country buy though; will take a month or so to get a replacement.
<tipo> *have to do
<KotCzarny> The SATA power connector (J5) and the normal power-in micro USB connector (located between SATA and SATA-pwr) are directly wired with each other (with a ferrite bead FB3 in between responsible for some voltage drops).
<KotCzarny> thats the weird part
<KotCzarny> sata power should be routed directly to input power
<KotCzarny> and that's why i say it's weird
<KotCzarny> might be your case
<KotCzarny> might be easy fix
<KotCzarny> some early boards were able to be broken by simply connecting anything to usb
IgorPec9 has joined #linux-sunxi
<KotCzarny> also, connecting leaking powered usb hub might damage it too
<tipo> "for the first , we use 350mA diode , we have use 1A diode fixe this issue, so all is fixed it." <--- does this mean that even on the fixed device, you shouldn't be drawing more than 1A? why do they recommend a 2A power supply?
<tipo> anyway, all i plugged in was a 1.3W fan
<tipo> so 260mah
<tipo> eh.
<KotCzarny> it doesnt matter
<KotCzarny> that d5 was jokingly small
<KotCzarny> also, fans usually draw a bit more on startup
<KotCzarny> gotta go, check the testpoint to confirm, then either talk to vendor or find the specialist in local area
<tipo> ok
jernej has quit [Ping timeout: 250 seconds]
<wens> montjoie: ssh works with latest patch, but ping doesnt?
willmore has quit [Ping timeout: 244 seconds]
<wens> ICMP echo request, id 1589, seq 76, length 64 (wrong icmp cksum 0 (->42fc)!)
vagrantc has joined #linux-sunxi
<montjoie> wens strange
<montjoie> wens: I will check after work
<montjoie> I need to found a way(tool) to test network in all aspect
mzki has joined #linux-sunxi
<wens> at least i can update kernel over sftp :)
<montjoie> last time I ping it worked
<montjoie> and in my memroy I didnt modify CRC bit
<tipo> what's better? cubieboard2 or bananapi pro?
<KotCzarny> design or support wise?
<KotCzarny> or features?
pstef has joined #linux-sunxi
apritzel has joined #linux-sunxi
IgorPec9 has quit [Quit: Nettalk6 - www.ntalk.de]
apritzel has quit [Ping timeout: 244 seconds]
yann|work has quit [Ping timeout: 240 seconds]
<tipo> umm... in terms of working and not failing out of the box
vagrantc has quit [Quit: leaving]
<wens> montjoie: some cleanups here: https://github.com/wens/linux/tree/a83-emac
IgorPec has joined #linux-sunxi
<montjoie> thanks wens. I havent backported a83t patch since I hadnt time to test it
<montjoie> sorry
<wens> no problem
premoboss has joined #linux-sunxi
FlorianH has joined #linux-sunxi
diego_r has joined #linux-sunxi
arete74 has quit [Quit: leaving]
arete74 has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<KotCzarny> tipo: olimex has good build quality and its based in .eu
<tipo> KotCzarny, i was looking for something A20 because I want true SATA support
<tipo> and gigabit internet (which is why i wanted bananapi pro over cubieboard2)
<tipo> alternatively I could get another pcengine APU2, but the price is twice as much
libv_ is now known as libv
kaspter has joined #linux-sunxi
<KotCzarny> tipo: check out olimex products
reev has joined #linux-sunxi
yann|work has joined #linux-sunxi
<montjoie> cubiebiard2 still have no network on 4.6rc :(
tipo has quit [Remote host closed the connection]
keh has joined #linux-sunxi
mzki_ has joined #linux-sunxi
mzki has quit [Ping timeout: 240 seconds]
<hp197> dd
hp197 has quit [Quit: leaving]
hp197 has joined #linux-sunxi
book` has quit [Ping timeout: 248 seconds]
hp197 has quit [Client Quit]
hp197 has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
hp197 has quit [Read error: Connection reset by peer]
hp197 has joined #linux-sunxi
akaWolf has quit [*.net *.split]
akaWolf has joined #linux-sunxi
book` has joined #linux-sunxi
book` has quit [Excess Flood]
book` has joined #linux-sunxi
diego_r has quit [Ping timeout: 276 seconds]
diego_r has joined #linux-sunxi
Worf has joined #linux-sunxi
apritzel has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 244 seconds]
p1u3sch1 has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
apritzel has quit [Ping timeout: 244 seconds]
cnxsoft has quit [Ping timeout: 260 seconds]
The_Loko has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Worf has quit [Quit: Konversation terminated!]
tomboy64 has quit [Ping timeout: 264 seconds]
tomboy64 has joined #linux-sunxi
tomboy64 has quit [Quit: Uhh ... gotta go.]
willmore has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
diego_r has quit [Remote host closed the connection]
premoboss has quit [Quit: Sto andando via]
apritzel has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser> montjoie: Are you using u-boot 2016.03 with your Cubieboard2?
<montjoie> tkaiser: perhaps
<montjoie> tkaiser: I confirm it is
reev has quit [Ping timeout: 246 seconds]
premoboss has joined #linux-sunxi
<rellla> plaes: i would redo the kodi linking, because it should have nothing to do with aw's cedarx. that was the intention of the kodi/xbmc_outdated thing
cptG has joined #linux-sunxi
cptG_ has quit [Ping timeout: 244 seconds]
<tkaiser> montjoie: Maybe just this u-boot patch missing? https://patchwork.ozlabs.org/patch/599015/
<tkaiser> Without this patch A20 devices have no Ethernet regardless of kernel version
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<montjoie> tkaiser: I had ethernet with this uboot
<montjoie> I lost ethernet when going from 4.5 to 4.6
<montjoie> it seems that reverting "stmmac: Fix 'eth0: No PHY found' regression" is not yet sufficient
<rellla> tkaiser: i just want to mention, that i did not test myself the two patches. and that they don't base on my effort.
<montjoie> the additionnal patch I found made 4.6 compiel fail
<rellla> the cec thing i never tried, and the ump i just tried without having display connected. nor tried kodi anyway...
tomboy64 has quit [Ping timeout: 268 seconds]
apritzel has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
<plaes> rellla: ok
<plaes> my bad
<rellla> plaes: we wanted the people to get rid of the binaries ... therefore, the old xbmc and cedarx should be a bit hided :p
<rellla> to drive them asking for a open source implementation -> cedrus
<plaes> indeed
<plaes> btw, I saw some rockchip g2d patches somewhere
<rellla> plaes: ah ok. now that we have pixman as a cpu backend for g2d ind libvdpau-sunxi, it's not the most-on-top-task ;)
<plaes> yeah.. unfortunately our wiki is missing page for g2d
<plaes> and this might be interesting for you: https://github.com/yakir-Yang/libdrm-rockchip
<rellla> plaes, thanks found it, too. i will look into it, when i find some time ...
cnxsoft has quit [Quit: cnxsoft]
premoboss has quit [Quit: Sto andando via]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
hulu1522 has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
cosm has quit [Ping timeout: 248 seconds]
akaizen has joined #linux-sunxi
akaizen_ has quit [Read error: Connection reset by peer]
akaizen has quit [Ping timeout: 244 seconds]
akaizen has joined #linux-sunxi
<tkaiser> rellla: Thx for the information. I thought it wouldn'
akaizen has quit [Ping timeout: 244 seconds]
<tkaiser> t hurt if some people test these instead of trying to 'build from source' everything again and again
<rellla> no problem...
<rellla> tkaiser: btw, i wonder, why armbian people (you :p) don't ask the questions directly here in irc? in special the media related questions? i think everyone would profit from a bit more "contact"...
<rellla> questions in the meaning of "development related". in special cedrus...
apritzel has quit [Ping timeout: 244 seconds]
<tkaiser> rellla: the problem is that I don't really care about all these graphics issues, I'm happy with running H3 devices headless. Unfortunately we have no one really familiar with this stuff and so I think from time to time it would be good to improve the situation.
<tkaiser> We would need someone really interested in this and this is the person I will shove directly here in IRC ;)
<rellla> <- at best, he is interested in developing, too ;)
<rellla> sorry, ^ that one :p
<rellla> anyway, try to stay in touch. it's important imho.
<tkaiser> rellla: I agree
Ramose has joined #linux-sunxi
<Ramose> I have compiled u-boot source with Cubietruck_config but I don't see sunxi_emac.o getting generated and ping is not working from u-boot prompt
hulu1522 has quit [Remote host closed the connection]
<Ramose> anyone around?
<TheLinuxBug> anyone impatient?
<plaes> :D
hulu1522 has joined #linux-sunxi
Ramose has quit [Ping timeout: 250 seconds]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
codekipper has quit [Ping timeout: 276 seconds]
bwarff has quit [Ping timeout: 250 seconds]
reinforce has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-sunxi
zuikis has joined #linux-sunxi
khuey|away is now known as khuey
p1u3sch1 has quit [Ping timeout: 246 seconds]
p1u3sch1 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
yann|work has quit [Ping timeout: 276 seconds]
<lennyraposo> working on community/tutorial site for the pine64 now
<lennyraposo> hopefully I can clear some confusion within the pine community about what to do and how to do it ;)
<lennyraposo> longsleep once I got everything setup
<lennyraposo> I can provide you with access
<lennyraposo> ;)
<longsleep> lennyraposo: well honestly i am not so much in for writing or creating documentation for end users. I believe there are others who can do that much better than me :)
<lennyraposo> That's what I am going to do ;)
<lennyraposo> write up simple instructions for even the most novice of users ;)
<lennyraposo> also provide DIY tutorials on various things to do with the pine
<lennyraposo> I'll host images
reinforce has joined #linux-sunxi
<longsleep> longsleep: Also there are end users who will rather jump to their own meaningless conclusions and even write about it so others can find this false information. So make sure that does not happen. It has already happend in the pine64 forum and it will happen more the more people have their boards.
<lennyraposo> I know
vagrantc has joined #linux-sunxi
<lennyraposo> I think susan33 had some confusion as well
<lennyraposo> I am locking things down to a select few in terms of writing things ;)
<longsleep> lennyraposo: what confusion?
<lennyraposo> like getting started in compiling u-boot and kernel
<lennyraposo> plus rootfs
<longsleep> lennyraposo: well but this is unrelated to Pine64 or any specific board
<lennyraposo> what sources ot use etc
<lennyraposo> just thought it would be nice to include ;)
<longsleep> lennyraposo: sounds more like a thing for the sunxi wiki
<lennyraposo> true enough
zuikis has left #linux-sunxi [#linux-sunxi]
keh has quit [Quit: Wee... Chat]
keh has joined #linux-sunxi
<lennyraposo> just means I will have to maintain/update 2 sets of docs
<lennyraposo> in terms of just linux specific
<lennyraposo> the rest will be about projects/things that can be done on the pine and how to do it
<lennyraposo> ;)
interrobangd has joined #linux-sunxi
interrobangd has quit [Remote host closed the connection]
tkaiser has quit [Ping timeout: 268 seconds]
mossroy has joined #linux-sunxi
tkaiser has joined #linux-sunxi
SadSmile has joined #linux-sunxi
<tkaiser> longsleep: 'your' BSP kernel does not contain F2FS. Too bad
akaizen has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
yann|work has joined #linux-sunxi
<lennyraposo> interesting
rabada has joined #linux-sunxi
<lennyraposo> is it journalized?
<tkaiser> lennyraposo: Yes, which is something I wanted to ask longsleep also about (intentional or not).
<lennyraposo> reading up on it
<lennyraposo> there are some performance strengths
<lennyraposo> but I am alswo seeing a performance drop in terms of sequential read/write
<lennyraposo> need to benchmark in real world
<lennyraposo> wondering when smasung introduced it
<lennyraposo> what kernel version
<tkaiser> lennyraposo: 3.10.65
<lennyraposo> hmmm
<lennyraposo> if it's there I will test it on a build
<lennyraposo> rootfs with f2fs
<lennyraposo> but reading interesting things from others who have tried it
<lennyraposo> for production purposes I would stickk with ext4
<lennyraposo> but for test purposes I will give it a go once my boards arrive
<lennyraposo> rough take on the pine logo I am workign on for my site ;)
<lennyraposo> gonna integrate the a64 chip at teh center next ;)
<lennyraposo> that's the domain I purchased btw
<montjoie> wens: I ping to my H3 but not from
<montjoie> interesting
<montjoie> and strange
<montjoie> certainly related to ARP stated as invalid CRC
<montjoie> like non TCP/UDP CRC not handled
<keh> raspberrypi is using f2fs for a long time. I would prefer to use it instead ext4 with ^has_journal
<tkaiser> keh: You can disable the journal and I would neither use f2fs or any other 'young' FS with older kernel versions (applies also to btrfs)
<KotCzarny> ubifs?
<rabada> longsleep: In u-boot pine64 source from board.c , where I can find timer_init call ?
<tkaiser> I did some tests today with longsleeps ext4 defaults and optimised settings for the SD card I use (EVO with 16 MiB erase block size) with writeback mode and sequential 4k writes increased from 2600KB/s to 3600KB/s
<KotCzarny> (though it's for raw flash), anyway, ext4 is quite efficient with the right format options
<tkaiser> So 25% better without journaling and optimal alignment, stride/stripe size. But applies only to really small writes
<KotCzarny> tkaiser: mounting with -o discard also helps for devices that support it
<tkaiser> KotCzarny: SD cards do TRIM?
<KotCzarny> tkaiser: someone was trying to convince me that it's the case
<lvrp16> tkaiser: do you think you and igor would mind if i mirrored armbian and torrented it using a private tracker?
<KotCzarny> it was about some sd protocol command
<lvrp16> i keep getting customers that say it takes them 3-5 hours to download
<KotCzarny> SD ERASE (CMD38) command
bwarff has joined #linux-sunxi
jstein has joined #linux-sunxi
<tkaiser> lvrp16: better ask Igor, it's only his decision and a few weeks ago he decided against when asked. BTW: We will provide .7z which reduces download size by ~30%
<lvrp16> ok, i'll ask him. yesterday it took me 3 hours to download an 600MB image. some peering somewhere must be slow.
<lvrp16> on a 2Gb connection
<tkaiser> I've been told the mirror is hosted by 'lauri' (IIRC)
<lvrp16> ok thanks
<tkaiser> KotCzarny: Thx, interesting. Will try that out later.
<KotCzarny> tkaiser: i think it requires sd controller, probably wont work on microusb reader, dont know if its implemented in sd controller drivers either
<KotCzarny> lvrp16: start selling 'armbian inside' products? :>
<lvrp16> actually jide reached out to me to bundle react/android
<lvrp16> but i prefer community versions
<lvrp16> right now we actually refer all customers to armbian when they contact us
<lvrp16> because of the great work by igor and tkaiser, there's some room for improvement imho
<lvrp16> eg. download times :D
<lvrp16> anybody going to embedded linux conference?
<tomboy64> where?
<lvrp16> san diego
<tomboy64> ;) too far out
<plaes> yea.. wrong continent :(
<plaes> tkaiser: yea.. it's hosted in Lauri's apartment ;)
<KotCzarny> heh, read it as 'hosed'
<rabada> anyone please look in to my query ?
<longsleep> tkaiser: mhm should be possible to activate, no?
<plaes> simply a qnap hdd box ;)
<longsleep> rabada: git grep is your friend
<plaes> what's the question?
<rabada> longsleep : yes I tried it through cscope
<rabada> but I am expecting it in board.c , its not there
<longsleep> tkaiser: i left journaling on intentionally in my images if that is what you wanted to discuss
<tkaiser> longsleep: Ah, ok. Why? :)
<rabada> arch/arm/cpu/armv7/sun50iw1p1/board.c
<tkaiser> plaes: The box in question is irrelevant. I wonder about the upstream bandwidth (since I've downloaded an Armbian image maybe 2014 the last time ;) )
<longsleep> tkaiser: well, people do not shutdown these boards especially when just trying them out
<KotCzarny> longsleep: journal sucks on sdcard, and fsck at the boot should take care of the dirtiness?
<tkaiser> longsleep: Agreed. That was one of the things that surprised me when I tortured the Pine64. No FS corruption after emergency power-offs.
<tkaiser> KotCzarny: Use a quality card that implements wear leveling more properly and you're done. But it seems to have performance drawbacks also
<plaes> dunno about upoad speed
<longsleep> KotCzarny: yes and no, i took the save approach. Everyone can turn it off on their own choice
bwarff has quit [Read error: Connection reset by peer]
<KotCzarny> yeah, luckily journal can be added/removed at any time
<rabada> longsleep: Basically I am trying to see where various subsystem(like timer, clock) are getting in initialized for sun50i based in u-boot source, there is nothing I could see in s_init
<KotCzarny> still, i run mine without, but with li-ion battery connected as a backup
<plaes> rabada: mainline u-boot?
<rabada> No, its longsleep u-boot reo
<plaes> oh
<rabada> Sorry repo
<rabada> plaes: Any suggestion where should I search it.
<KotCzarny> armbian uplink is at least 5mbit
<longsleep> rabada: git grep the repo for what you are searching for
<plaes> rabada: what are you trying to do?
<longsleep> KotCzarny, tkaiser btw in general i can only suggest get a decent SD card like Sandisk Extreme Plus (these are the ones which are twice the price) and it will perform nicely
<KotCzarny> longsleep: for my needs ext4 without journal and proper stride/stripe is enough
<TheLinuxBug> Silicon Power Elite (85M/sec read) are usually a bit cheaper and pretty darn fast
<KotCzarny> i store data on ssd/sshfs, and os is snappy enough
<KotCzarny> TheLinuxBug: what about iops?
<lvrp16> SD card depends on the controller
<longsleep> KotCzarny: yes sure, but unfortunately the settings depend on the card and cannot be fused into a generic image
<lvrp16> on Raspberry Pis, SDHC Class 10 non UHS cards work the fastest
<tkaiser> longsleep: Can you do an 'iozone -e -I -a -s 100M -r4k -i 0 -i 1 -i 2' on this card and Pine64 please?
<KotCzarny> longsleep: well, they can be made into generic installer
<lvrp16> on boards with UHS controllers UHS cards are faster
<TheLinuxBug> KotCzarny: what test you want me run
<TheLinuxBug> I have one in an A20 ill run it and show you
<longsleep> tkaiser: i am traveling over easter and did not bring a Pine, so earliest on tuesday
<KotCzarny> sd cards are optimized for stream read/writing, with 4k blocks it often falls into 0.1-10iops (ie. 4-400kB/s)
<KotCzarny> TheLinuxBug: i think the tkaiser's command line should test random read
<rabada> plaes: I am just trying to see where different subsystem(like clock_init, time_init and gpio_init is called from s_init() for sunxi) is called for sun50i based board
<tkaiser> longsleep: Don't mind, I'm only interested in random I/O at 4k and can wait
<longsleep> KotCzarny: sure, everyone can change the mkfs.ext4 options in https://github.com/longsleep/build-pine64-image/blob/master/simpleimage/make_simpleimage.sh#L87
<KotCzarny> longsleep: i've just did mkfs then rsync'ed the image contents, but there are many ways to achieve the same
<rabada> longsleep : git grep didn't help me :(
<longsleep> rabada: well, why not?
<tkaiser> KotCzarny: longsleep provides a generic image for everyone (every SD card). The EVO I tested with today needs different settings to perform better. But most importantly choosing an SD card with larger capacity helps with random I/O
<KotCzarny> iozone: -i # Used to specify which tests to run. (0=write/rewrite, 1=read/re-read, 2=random-
<KotCzarny> read/write, 3=Read-backwards, 4=Re-write-record, 5=stride-read, 6=fwrite/re-fwrite,
<plaes> should've been man grep
<tkaiser> EVO with 16 GB capacity: 1 MB/s 4K writes, mine with 64GB shows 3.6MB/s
<longsleep> tkaiser: mhm try to fill up the 64GB card to almost max and check then
<longsleep> tkaiser: depends on the card and the on card controller if it makes a difference or not
<tkaiser> longsleep: I'll leave a spare partition even on SSDs to help them so I would never ever fill an SD card to the max ;)
<longsleep> tkaiser: hehe yeah wise choice
<KotCzarny> um, arent ssd/sd having spare space anyway? (those 60 vs 64 etc ones)
<longsleep> KotCzarny: yes but the size and how it gets used varies
<KotCzarny> also, usually wear levelling/data relocation is done in subblocks of device (usually few megs)
<tkaiser> KotCzarny: Most if not all have, but things get ugly depending on firmware version when close to 100% full. So why not leaving 5-10% unpartitioned anyway
<rabada> longsleep : I could find timer_init for board files other than sun50iw1p1 . Let me put my question this way , why s_init() for arch/arm/cpu/armv7/sun50iw1p1/board.c does not have various subsystem initialization calls
<KotCzarny> i usually leave ~100-200megs of unpartitioned space
<longsleep> rabada: well without checking myself i cannot help much, but could be that boot0 is initializing certain things on that platform
<KotCzarny> also, it only works if you never wrote to that area (or did secure erase/trim)
<edolnx> Is there a way to query an SD card for it's health like SMART with a SATA/SAS SSD?
<KotCzarny> nope
<rabada> longsleep: ok , so you mean to say on pine64 boot0 would be the one that initializes time subsystem , if it is so then how can I confirm it without having the board :) ?
<KotCzarny> edolnx: i've seen cf cards with smart, but never sd card
<longsleep> rabada: you cannot, boot0 source is not available for A64, but you can check https://github.com/allwinner-zh/bootloader/tree/master/basic_loader/boot0 for hints
lemonzest has joined #linux-sunxi
<edolnx> KotCzarny, I'm not expecting SMART, but I was wondering if there was some other form of diagnostic channel/messages you can send an SD card to get that sort of health info
<longsleep> KotCzarny: sdcards do not support trim, everyone is at the good grace of the internal sd card controller
<longsleep> and there are huge differences there
<KotCzarny> edolnx: never seen it in any form, maybe some manufacturer tools can do that (querying remapped blocks map or something)
<lvrp16> thats why the chinese microSD wafers are so crap
<lvrp16> mainland, you have to make sure you get taiwan wafers
<lvrp16> they're as reliable as the samsungs you buy because they're remarked sandisk wafers
<lvrp16> sold into the OE market
<KotCzarny> longsleep: what about cmd38 ?
<TheLinuxBug> KotCzarny: http://paste.ee/p/PXxOj
<TheLinuxBug> actually did it on my Odroid C2 as it was closest using that card
<KotCzarny> random write 869kB/s, not too shabby
<longsleep> KotCzarny: sure you can send any kind of commands to the card, but what actually happens depends on the controller
<longsleep> KotCzarny: for myself and for everyone who asks i recommend sandisk extreme plus cards
<longsleep> KotCzarny: twice the price though
<lvrp16> samsung pro and pro+ are good too
<lvrp16> samsung evo and ev+ are slower than the normal sandisk wafers
<KotCzarny> seriously tho, anyone buying allwinner based boards usually won't be having big budget
<longsleep> lvrp16: yes though i do not care so much about the speed, more about bugs in the internal sd card controller and behavior under continous random i/o
<rabada> longsleep: ok Thanks much , just wanted to confirm boot0 source for sunxi based(32 bit A20 ) is under sunxi_spl/boot0/ ?
<tkaiser> TheLinuxBug: Now compare to eMMC used on ODROID C2: http://forum.armbian.com/index.php/topic/849-armbian-for-odroid-c1-and-c2/?p=6783 (and capacity matters since parallelism speeds up especially random I/O)
<longsleep> rabada: have not checked what is under sunxi_spl/boot0 in my u-boot tree
iamfrankenstein has quit [Ping timeout: 260 seconds]
<tkaiser> lvrp16: Sequential speeds with these cheap Allwinner boards are crap anyway (not exceeding 22-23MB/s) so why choosing a good card? The only reason I can think of is good random I/O. And it seems to me that more capacity helps
<rabada> longsleep: ok , it seems like time_init call is getting overridden by board.c(sunxi/board.c) from boot0 source(in case sunxi_spl/boot0 is boot0 souce for sunxi)
<longsleep> tkaiser: longevity is the most important reason for a good card if you ask me
<lvrp16> tkaiser: allwinner soc do not support SD3.0?
<longsleep> tkaiser: who wants a card which is dead after 1 year 24/7 operation
<lvrp16> tkaiser: i knew raspberry pis were always limited to 25MB/s because of SD2.0, i thought Allwinner had SD3.0 (50MB/s)
<lvrp16> they're selling microSD production line equipment in China and everybody and their brother makes SD cards
<tkaiser> longsleep: True, but for the use cases I'm interested in I start to collect crap/fake SD cards (only with u-boot/kernel on it and rootfs on NFS)
<lvrp16> the price difference between a quality card and a fake card is relatively small
<longsleep> tkaiser: you collect fake SD cards? That sounds interesting
<lvrp16> quality 8GB uSD is only a buck something
<tkaiser> lvrp16: AFAIK more recent Allwinner SoCs support 3.0 but the board has to support it too (switching between 3.3/1.8V IIRC)
<lennyraposo> fake sd cards
<lennyraposo> low quality ones
<lvrp16> ahh bummer
<tkaiser> longsleep: I need SD cards of 64 MB capabity max ;)
<lvrp16> tkaiser uses fel
<lennyraposo> sandisk, adata, kingston ;)
<lvrp16> like a pro :D
<longsleep> tkaiser: yeah any fake sd card will probably have that much
<lennyraposo> personally
<diego71> tkaiser: somewhere i have an old sd of 32 mb (not fake)
<KotCzarny> i have 16M one
<lennyraposo> sd for boot usb>sata for rootfs
<longsleep> lennyraposo: the brand of the card is not enough, there are huge differences in the various models of those vendors
<KotCzarny> real one tho, just old
<lennyraposo> if you have a baord that doesn't tie everything into usb ie nic ;)
<lennyraposo> yes I am aware
<lennyraposo> adata
<tkaiser> longsleep: And the brand written on the card might be irrelevant since... fake cards exist ;)
<lennyraposo> has been good to me
<lennyraposo> get about 35 - 45 writes
<lennyraposo> around 70m reads
<longsleep> I recently got a Toshiba EXCERIA M301-EA which i am currently testing as low cost alternative
<lennyraposo> sorry not the adata
tkaiser has quit [Read error: Connection reset by peer]
<lennyraposo> got mixed up here with cards
<lennyraposo> this model
<lennyraposo> kingsotn
<lennyraposo> ;)
<lennyraposo> price in cdn
<lennyraposo> so basically 30-35 bucks usd
<lvrp16> wow
<lvrp16> that's way expensive
<longsleep> thats one of the twice the price card category
<lvrp16> i can buy it for $10 usd
<lvrp16> higher read/write speed
<longsleep> huh? different model then
<lvrp16> nope
<lvrp16> same exact actually
<lvrp16> kingston remarks sandisk wafers
<lvrp16> that's a sandisk wafer
<lvrp16> i can actually get the exact same thing for $11 usd
<lvrp16> with different white paint
<longsleep> well, then lennyraposo should by from you then :)
<lvrp16> oh he needs one?
<lvrp16> is he based in USA?
<lvrp16> i can shoot it to him for $15
<longsleep> Canada i think
<lvrp16> oh
<lvrp16> eww
<lennyraposo> Canuck here
<lennyraposo> at teh us exchange rate
<lennyraposo> it's pretty cheap
<lvrp16> yeah but I have to fill in custom forms
<lvrp16> USPS sucks
<KotCzarny> lvrp16: just send it as a regular mail?
<lvrp16> i've done that, microSD card gets broken into pieces sometimes
<lvrp16> by the machines
<KotCzarny> he he
<lennyraposo> 40 with taxes included USD ;)
iamfrankenstein has joined #linux-sunxi
<lvrp16> give me $20 XD
<lvrp16> <--- greedy
<KotCzarny> corpos are greedy
<lennyraposo> I am pretty sure you can order it from where you are from canadacomputers
<lennyraposo> and they will mail it ;)
<lvrp16> "socialism is collective poverty?"
<lvrp16> isn't that what they say?
<lennyraposo> not sure about that
<lvrp16> thats what americans use to say
<longsleep> What controller is kingston using with the sandisk chips? Sandisk or their own?
<lvrp16> today everybody is a bernie supporter
<lennyraposo> what would you define as sociliast?
<diego71> lvrp16: looks like everybody is trump supporter
<lennyraposo> I find Trump hilarious
<lvrp16> trump is just a mouth piece
<lennyraposo> exactly
<lvrp16> he will do absolutely nothing...which is great
<lennyraposo> he's afraid of heroin coming in from us Canadians
<lennyraposo> and apparently we are going to pay for a wall to be erected between us and the US
<lvrp16> america needs a president that does absolutely nothing. no wars, no quantitative easing, no communist agenda
<lennyraposo> that guys is only successful because he rubbed elbows with the right people
<lvrp16> and america will be great
<lennyraposo> he's a joke
<lvrp16> bush got elected because he promised to do nothing
<lennyraposo> ya
<lvrp16> then he started iraq
<lennyraposo> slash military budget in half
<lvrp16> all the conservatives and libertarians were like WTFH
<diego71> lvrp16: oh, but he'll do a lot of thing. Just not what he promised
rabada has quit [Quit: Page closed]
<longsleep> http://www.bunniestudios.com/blog/?page_id=1022 is a nice read about fake sd cards and the embedded controllers to finish up on the sd card story
<lennyraposo> and you guys will see how much better your economy will get
<KotCzarny> longsleep: nice link, gotta read in the morning
<lennyraposo> just one year of reduced military cost would be beneficial
<lennyraposo> just my 2 cents
<diego71> longsleep: nice article. Btw for testing card exists this software: http://oss.digirati.com.br/f3/
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 244 seconds]
Gerwin_J_ is now known as Gerwin_J
SadSmile has quit [Quit: Leaving]
apritzel has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
mossroy has quit [Quit: Quitte]
Gerwin_J has quit [Quit: Gerwin_J]
IgorPec has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Equilibrium 4.2.0, revision: 42021, sources date: 20120701, built on: 2013-10-21 12:25:22 UTC 42021 http://www.kvirc.net/]
lemonzest has quit [Quit: Leaving]
mosterta has joined #linux-sunxi
<lvrp16> why not just take a block and keep running AES on it and dumping it to the card?
<lvrp16> imho more than random enough to prevent optimization algorithms and compression
<lvrp16> no need for fancy stuff
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
<lvrp16> and you can reliably reproduce the sequence for verification based on the seed
<lvrp16> the seed could also be random
iamfrankenstein has quit [Client Quit]
yann|work has quit [Ping timeout: 246 seconds]
keh has quit [Ping timeout: 244 seconds]
The_Loko has quit [Quit: Leaving]
keh has joined #linux-sunxi
kaspter has quit [Ping timeout: 244 seconds]
hulu1522 has quit [Ping timeout: 240 seconds]
ricardocrudo has quit [Ping timeout: 246 seconds]