<oliv3r>
Timing buffered disk reads: 367 MB in 3.00 seconds = 124958 kB/s
rz2k has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
eebrah has joined #linux-sunxi
<oliv3r>
mripard_: while ugly for now, atleast it does really work! :D
<oliv3r>
oh! sdhci is mmc, i'm looking all over the ata area
JohnDoe_71Rus has joined #linux-sunxi
<oliv3r>
JohnDoe_71Rus: I trid the bsp yesterday, works fine it seems
<JohnDoe_71Rus>
oliv3r: i see your litle commit. at monday try make -j1
<oliv3r>
JohnDoe_71Rus: yes you either use -j1 (and wait 2 hours) or just build twice in a row :p
<oliv3r>
JohnDoe_71Rus: it was fixed upstream i think so probably just a matter of backporting
<JohnDoe_71Rus>
I just finished building the image from cubietech. 3.4 is not enough time.
stoupaxyz has joined #linux-sunxi
<stoupaxyz>
LIST
<stoupaxyz>
Hi all, I'm working on A10s-OLinuXino-Micro board iwth 4GB NAND. The MMC boot is working nicely, but I'm not able boot Linux from u-boot (sunxi branch) as I'm unable to load kernel from NAND. Is NAND boot from u-boot possible with current sunxi branch? I must admit that I'm lost in the status of flash support...
<oliv3r>
stoupaxyz: tha sounds about right, you can't boot from nand currently
<stoupaxyz>
ok, thanks - and with lichee-dev branch? I tried it but there is no borad support
<stoupaxyz>
*board
<oliv3r>
you can't
<oliv3r>
there's the boot0->boot1->boot.axf->u-boot chain, for which there is nand support
<oliv3r>
but other then that, no nand support
<oliv3r>
the kernel supports nand just fine
<stoupaxyz>
ok, I was afraid of that...
<stoupaxyz>
And do you know how cubieboard is booted? Cubian supports NAND boot. Linux is started diretcly from boot.axf?
<stoupaxyz>
w/o u-boot?
<oliv3r>
nope, it's chainloaded via lichee-u-boot
<oliv3r>
e.g. via boot0
<oliv3r>
our u-boot only does mmc/tftp, no nand
<oliv3r>
if you want nand boot, you need boot0/boot1/boot.axf/u-boot chain that's pre-installed
<oliv3r>
(you could recompile it from the lichee branch, but no point on doing so really
<stoupaxyz>
ok, understand. Thanks for information! Bye.
<oliv3r>
noprob, bye :)
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah has quit [Ping timeout: 260 seconds]
HeHoPMaJIeH has quit [Remote host closed the connection]
shineworld has joined #linux-sunxi
Taduro has joined #linux-sunxi
<wens>
replied to stmmac maintainer asking for more clarification
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
n01 has quit [Ping timeout: 264 seconds]
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D]
eebrah_ has quit [Ping timeout: 264 seconds]
eebrah has joined #linux-sunxi
naobsd has joined #linux-sunxi
Quarx has quit [Read error: Connection reset by peer]
<Turl>
oliv3r: it's aw's fault :p
<Turl>
oliv3r: that gate is only documented on the a20 datasheet :p
<Turl>
s/datasheet/user manual/
eebrah has quit [Ping timeout: 260 seconds]
eebrah has joined #linux-sunxi
<tomboy64>
gis there a way i can get access to uEnv.txt on nanda on my cubietruck without actually flashing something?
<tomboy64>
e.g. via usb otg?
<Turl>
tomboy64: you can boot any system using an sd card and then access it
<tomboy64>
Turl: my problem is, i am trying to boot an sd card but just get a blinking cursor, nothing else happening.
<tomboy64>
Turl: a few days ago i put root=/dev/mmcblkp2 in my nanda's uEnv.txt - and when i try to boot the nanda it locks in a cycle of rebootage
<tomboy64>
so i think it's that thing trying to boot from the wrong partition here
<libv>
tomboy64: blinking cursor is good
<libv>
means that disp and lcd are loaded
<libv>
tomboy64: try making tty0 your console
<tomboy64>
hehehe
<tomboy64>
how?
<libv>
and next time, get a uart
<libv>
boot.cmd?
<tomboy64>
fuck me
<tomboy64>
it's already booted
<tomboy64>
-.-
* tomboy64
is embarrassed
<tomboy64>
that took less than 15 seconds to boot
tzafrir has joined #linux-sunxi
<tomboy64>
thanks for the hint with tty, libv
<tomboy64>
that did it
sspiff has quit [Quit: Konversation terminated!]
issueat has quit [Remote host closed the connection]
wolfy has quit [Quit: Paradoxul homosexualilor este ca, desi nu reusesc sa se reproduca, sunt in fiecare an din ce in ce mai multi. (Tristan Bernard)]
issueat has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah has quit [Ping timeout: 260 seconds]
n01_ has joined #linux-sunxi
n01 has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
TomiK has quit [Quit: KVirc a enfin son Script! [AndarisScript 4.3 sur www.andaris.net]]
eebrah has joined #linux-sunxi
panda84kde has quit [Quit: Konversation terminated!]
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
adb_ has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
popolon has quit [Quit: Quitte]
FR^2 has quit [Quit: Connection reset by peer]
eebrah has quit [Ping timeout: 252 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
Galland has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
eebrah has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
rz2k has quit []
_massi_ has quit [Remote host closed the connection]
Galland has quit [Quit: Saliendo]
<oliv3r>
Turl: i'm not blamin' you :)
<[7]>
stoupaxyz: you might be interested in the uboot on my github
<[7]>
that's linux-sunxi uboot with nand support merged in from lichee
<[7]>
there's also a readily made flash image available that will just work on the cubieboard, and boot from /boot/uImage on /dev/nandb (ext4)
<stoupaxyz>
[7]: Thanks for the links, I will try. I managed it already with lichee-dev from u-boot-sunxi, but now there is a lot of bootloaders in the way...
<stoupaxyz>
[7]: BTW i'm playing with A10s board - OLinuXino
<stoupaxyz>
[7]: do you plan to push it back to main u-boot-sunxi?
stoupaxyz has quit [Remote host closed the connection]
FR^2 has joined #linux-sunxi
stoupaxyz has joined #linux-sunxi
wingrime has quit [Ping timeout: 252 seconds]
lkcl has quit [Remote host closed the connection]
rellla3 has joined #linux-sunxi
stoupaxyz has quit [Remote host closed the connection]
notmart has quit [Quit: notmart terminated!]
eebrah has quit [Ping timeout: 264 seconds]
eebrah has joined #linux-sunxi
techn_ has joined #linux-sunxi
techn__ has quit [Ping timeout: 272 seconds]
Gerwin_J has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
pfdm has joined #linux-sunxi
techn__ has joined #linux-sunxi
eebrah has joined #linux-sunxi
techn_ has quit [Ping timeout: 252 seconds]
AreaScout has quit [Ping timeout: 260 seconds]
eebrah_ has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
<hno>
[7] have avoided Allwinner NAND driver in u-boot because there is just too many versions, and using the wrong version results in the NAND being automatically reformatted.
<hno>
plus it's not the path we want to go.
<oliv3r>
hno: i will be working a little bit to improve BROM
<oliv3r>
hno: i know it's not utterly usefull, but it's still a 'nice to have' i'd think
<hno>
Yes, better understanding of BROM migh be useful, and if nothing else it's good learning to try to read ARM assembly.
<hno>
but seriously, there isn't much more to learn from BROM. It's function is very limited.
<oliv3r>
i know, but I don't know asm; so i'm getting that from that
<oliv3r>
and i was gonna see what is needed for SPI-NOR to boot; i saw you've added some comments
<oliv3r>
also, i think it'll be cool if we have it all documented at least
<[7]>
are there even devices with spi-nor?
<oliv3r>
so yeah besides the 'cool' factor, nothing much
<hno>
Hm.. one thing might be interesting. Which ECC modes do the NAND loader support? I think there is at least three modes.
<oliv3r>
spi-nor with u-boot, sata with OS is what i'm aiming at
<oliv3r>
hno: and you thinka ll 3 are in brom?
<hno>
oliv3r, I am talking about the NAND loader in BROM yes.
<oliv3r>
since that's probably the biggest chunk, i may very well do that last; but yeah i could in theory still be helpfull
<hno>
the SPI-NOR part is trivial, haven't felt there is any need to even try reversing it.
<oliv3r>
when i started it, i didn't realize you allready commented the key parts :)
<hno>
getting OS on SATA means adding SATA support to u-boot, which in itself is an interesting project.
<oliv3r>
anyway, it's a cool arm-asm learning project
<hno>
indeed.
<oliv3r>
well platform ahci for mainline is almost done
<oliv3r>
it works (tm) now
<hno>
good
<oliv3r>
so just gotta sort some things, maybe toss a few things around
<oliv3r>
but it's quite minimal
<oliv3r>
so once that's accepted upstream or close to; i'll add it to u-boot aswel
<hno>
excellent
<oliv3r>
so i'm excited for that
<hno>
looking forward to that, a lot.
<oliv3r>
with a 256k SPI chip, we could boot from sata without nand
<oliv3r>
btw, how's your bitcoin business going?
<oliv3r>
the last month most have been crazy with the current conversion rate
<oliv3r>
i'm even thinking of trying to mine 1 or 2 coins myself, but no clue how long it would take my x64 CPU (dunno if i can do GPU in linux)
<hno>
Yes. You only need the SPL in SPI flash so 256k is plenty.
<hno>
it's not my business, only one of the "slaves" in it. But it's doing quite well. Every time orders are opened it sells out in some hours.
<oliv3r>
with bitcoin prices going up to 1k it's very interesting
<oliv3r>
but looks like i need about 100 days of full GPU usage for 1 bitcoin
<hno>
Trying to mine bitcoins with a CPU is quite meaningless today, and haven't been supported by the main mining applications for a long time. Even GPU mining is pretty much meaningless (and thus removed from the mining software already) and it's several orders of magnitude faster than CPU mining.
<oliv3r>
yeah i'm reading as you type that
<oliv3r>
you need an asic really; not even an FPGA
<oliv3r>
asic is quite better then an FPGA
<oliv3r>
i guess the butterflylabs.com bitcoin mining card would have been awesome :)
<oliv3r>
oh well
<hno>
th BFL ones are obsolete too..
<oliv3r>
what does your company produce?
<hno>
an bitcoin mining ASIC, and full miners built around it. kncminer.
eebrah_ has quit [Read error: Connection reset by peer]
<oliv3r>
ah cool
zeRez has joined #linux-sunxi
<oliv3r>
how much they going for?
<hno>
oliv3r, prices are listed in the shop, but all sold out at the moment.
<hno>
second-hand prices on ebay are way off the scale.
<hno>
crazy world.
<oliv3r>
yeah
<oliv3r>
with prices going from ~200 -> 990 USD in 6 weeks everybody wants in
<libv>
aren't those asics obsolete the second you get them?
<oliv3r>
well if you can get 2-4 bitcoins at the new rate (and that may be even go up) it may be profitable (like as some vacation money)
<libv>
price of the device + power to drive them < what you can earn
<oliv3r>
i know some people try to get horrible rich
<oliv3r>
libv: well the thing is, the last 6 weeks, prices went up 8x
<oliv3r>
it spiked at 1000 USD per bitcoin
<libv>
that's speculation
<libv>
purely
<oliv3r>
all the old GPU + power stories where at 200 USD per coin
<oliv3r>
i'm just bummed out i didn't mine a bit when it all started
<oliv3r>
:p
<libv>
imho not worth the hassle
eebrah has joined #linux-sunxi
<oliv3r>
if i had 5-10 bitcoins then, or bought them when they where in the 20's of dollars a pop; i'd gottan a nice amount of money for them now ;)
<oliv3r>
oh well; all after the fact
<libv>
oliv3r: that's what everyone thinks _today_
<libv>
might be quite different tomorrow
issueat has quit [Remote host closed the connection]
<libv>
like with everything that is being speculated on
<libv>
if only you had bought it when it was cheap, many many months ago
netlynx has joined #linux-sunxi
n01_ has quit [Ping timeout: 246 seconds]
n01 has quit [Ping timeout: 246 seconds]
<oliv3r>
libv: yeah :(
<oliv3r>
bummed out is all :p
<oliv3r>
the cash would have been awesome
<oliv3r>
even just a few hundred bux
<libv>
oliv3r: there's always some goldrush going on somewhere.
<hno>
hehe,, there is worse things you can do with bitcoin speculation..
eebrah has quit [Ping timeout: 265 seconds]
<oliv3r>
true true, more important things in life :)
eebrah has joined #linux-sunxi
n01 has joined #linux-sunxi
<oliv3r>
Turl: have you done all of the IR clocks wingrime wanted for his IR upstreaming?
<oliv3r>
hah! a friend of mine bought half a bitcoin a few years ago; but he forgot his password
eebrah_ has joined #linux-sunxi
<oliv3r>
while it's only 'half' it's still 400 USD or so
<oliv3r>
i wonder what happens with all those 'lost' bitcoins
<libv>
oliv3r: stop caring, now :)
n01 has quit [Read error: Connection reset by peer]
<libv>
oliv3r: do something real
<oliv3r>
lol i am i am
n01 has joined #linux-sunxi
<oliv3r>
just being distracted
<libv>
:)
<oliv3r>
actually; rough week; so i'm relaxing atm really
<oliv3r>
though I did play with sunxi ahci today and it does seem to work now!
<libv>
worrying about having missed a goldrush is not going to help you relax :)
<hno>
oliv3r, a lost bitcoin is.. lost.
<oliv3r>
just need to talk to mripard_ on what the proper way is (i didn't quite understand it frmo his e-mails) and probably get involved with linux-ata
<oliv3r>
hno: so what if, in time, everybody looses their bitcoins. with real money, you re-print it; with bitcoins, the value soars?
eebrah has quit [Ping timeout: 272 seconds]
<oliv3r>
until thers none left?
<hno>
bitcoins can be divided in very very small pieces.
<hno>
10^-8
eebrah_ has quit [Read error: Connection reset by peer]
focus2 has joined #linux-sunxi
<focus2>
Allwinner 64 bit CPUs - how many ethernet? They should put on at least to gbit or the device will under perform in server applications
<focus2>
(two gigabit ethernet ports i meant)
eebrah has joined #linux-sunxi
<libv>
focus2: where?
<oliv3r>
focus2: doesn't exist yet :p
<oliv3r>
might be a90
<focus2>
libv: hopeful that some allwinner engineers listening :)
<libv>
focus2: allwinner is which end of the market?
<libv>
only wondermedia (via) and telechips are lower
<oliv3r>
arm 64 bit will be all over in 2 years, even low end
<libv>
2years is a very long time in the current environment
shineworld has joined #linux-sunxi
<focus2>
libv: the 64 bit will outshine a 1gbit ethernet - even with a page turn limit of 10MHz and 8 bytes to a 64bit word, that gives you 80M bytes per second = 1 gbit of data in worst case, but usually if handled by DMA, page change is less frequent and easily get throughputs of 100's of megabytes per second. Easily need 2 x gbit ethernet to handle it.
<libv>
...
<focus2>
For server applications all that the outside world sees is through the gbit interface - so they should put at least 2 gbit ethernet to keep the 64 bit CPU busy :)
<Turl>
oliv3r: I believe they're supported (ahb gate and a mod0) but you're welcome to verify and try them :)
<oliv3r>
wingrime: ^
<Turl>
oliv3r: wingrime wanted it merged upstream though :p
eebrah has quit [Ping timeout: 272 seconds]
<oliv3r>
oh; well he can get the review process started and have it in the queue
<oliv3r>
yours are in the queue aren't they?
drachensun has quit [Ping timeout: 245 seconds]
eebrah has joined #linux-sunxi
<Turl>
some of them
<Turl>
I need to resend the big series to address some comments from mripard_ and the satagate
lkcl has joined #linux-sunxi
eebrah has quit [Ping timeout: 265 seconds]
eebrah has joined #linux-sunxi
drachensun has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
Md has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
Sonicadvance1 has quit [Ping timeout: 246 seconds]
eebrah has quit [Ping timeout: 246 seconds]
<[7]>
hno: guess what, fellow bitcoiners here...
eebrah has joined #linux-sunxi
<hno>
hi [7]
* [7]
has been involved in the mining hardware business himself, but mostly in the FPGA age :)
Black_Horseman has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
<libv>
"age"?
<libv>
[7]: you mean like, 6 months ago?
<oliv3r>
mripard_: so rewriting or adding to ahci_platform.c is needed then? well i guess i wasn't wrong when I said we need an ahci_platform_register() :p
<libv>
or was that already a year
<[7]>
kinda
eebrah has joined #linux-sunxi
<mripard_>
oliv3r: yeah, probably :)
<mripard_>
but you never explained what ahci_platform_register was supposed to be :)
<libv>
[7]: this whole bitcoin mining thing does rather smell like a ratrace :)
[7] has quit [Ping timeout: 246 seconds]
AreaScout has joined #linux-sunxi
<hno>
libv, 6 months is a lifetime..
issueat has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 265 seconds]
<libv>
especially for something as ephemeral and ethereal as a goldrush
<libv>
especially this particular goldrush
Sonicadvance1 has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
n01 has quit [Ping timeout: 272 seconds]
eebrah has quit [Ping timeout: 260 seconds]
eebrah has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
wingrime has joined #linux-sunxi
<tomboy64>
hehehe
<tomboy64>
bitcoin
<tomboy64>
my wallet is worth 15$ now ...
AreaScout has quit []
rwmjones has quit [Ping timeout: 246 seconds]
Sonicadvance1 has quit [Ping timeout: 246 seconds]
rwmjones has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
wingrime has quit [Ping timeout: 246 seconds]
eebrah has quit [Ping timeout: 252 seconds]
Sonicadvance1 has joined #linux-sunxi
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]