<lovepupils>
thank you, now the waiting game begins
<ErwinH>
I'm probably missing something small, but I can't get the 4.9 kernel to boot. It gets up to the point were it tries to load the sunxi-mmc driver, and stalls there. I also don't see the pinctrl driver being loaded, even tho I changed the h3 driver to use the correct compatible name.
kaspter has joined #linux-sunxi
<lovepupils>
in the meantime I guess I will try that "official" debian jessie server image, maybe it's usable for a start
mzki has joined #linux-sunxi
Worf has joined #linux-sunxi
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J_ is now known as Gerwin_J
Putti has quit [Ping timeout: 265 seconds]
<ElBarto>
anybody with a olinuxino-lime2-emmc ?
lkcl has joined #linux-sunxi
<ElBarto>
I don't see how it can work without uboot configuring the emmc pins
HeavyMetal has quit [Ping timeout: 245 seconds]
<ElBarto>
dtc is doing something weird with the pinctrl-0 nodes
<ElBarto>
the mmc2_pins_a is not there, there is only the pwrseq pin
terra854 has joined #linux-sunxi
<lovepupils>
why does dcfldd never shows a progressbar to me? neither on centos nor kubuntu
<lovepupils>
should be on by default
Gerwin_J has quit [Quit: Gerwin_J]
elvirolo has joined #linux-sunxi
leviathanch has joined #linux-sunxi
<ElBarto>
okay jmcneill@freebsd found the problem, the node name for both node are mmc2@0 so it was overwritten
<ErwinH>
I think I found the solution for the DTB issue...
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
popolon has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<longsleep>
KotCzarny: mhm - you think it might be a voltage drop that tx does never work on uart0 and rx always works (as soon as even the u-boot prompt)?
<KotCzarny>
i've only noticed problems with mmc and eth here with unstable power
<KotCzarny>
though some of those uart related might be too, but those were usually happening on big data dumps
lkcl has quit [Ping timeout: 268 seconds]
<KotCzarny>
(and only on windows, he he, running same in vboxed linux on same windows box made it stable)
<longsleep>
Well i think something is fried - after all if i replace the board with another and keep everything else the same it works
<KotCzarny>
barrel plug or uUSB ?
<KotCzarny>
hah, pine64 uses uUSB, try powering via euler connecter if its possible before finally saying its fried
lkcl has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<scelestic>
i guess the best bang for buck seems to be the orange pi plus 2e ? (assuming 2gb memory + emmc is needed)
<KotCzarny>
scelestic, currently, yes
<lovepupils>
I wrote debian jessie server to sd for my pc2. it booted and ssh over eth0 works, but should I not get a console via the hdmi too?
<lovepupils>
it stays black
<jelle>
xunlong image?
<lovepupils>
yes
<jelle>
no clue
<scelestic>
time to order another one then :)
* MoeIcenowy
got my BPi M2 Ultra
<jelle>
oh R40!
<jelle>
and charging circuit nice
<tkaiser>
jelle: And proprietary battery connector no one on this planet uses. And no way to power a connected SATA disk from battery.
<ErwinH>
tkaiser: Do you know what's the difference between fdt addr and fdt addr -c ?
<tkaiser>
no
<ErwinH>
trail and error brought me to that solution, but I like to know what it means.
<ErwinH>
fdt help says: Set the [control] fdt location to <addr>
<jelle>
tkaiser: lol
lkcl has quit [Ping timeout: 268 seconds]
Mr__Anderson has joined #linux-sunxi
<lovepupils>
wow I thought "raspberry support is heaven" was overrated
<lovepupils>
boy was I wrong
<lovepupils>
this is fun tho :)
<KotCzarny>
there is a saying, 'you get what you pay for'
<KotCzarny>
oranges are decent hardware wise
<ErwinH>
Or something like: You pay peanuts, you get monkeys...
<MoeIcenowy>
wens: how is your R40 U-Boot support? ;-)
<dgp>
Battery connect is the white one right?
lkcl has joined #linux-sunxi
<wens>
MoeIcenowy: it works, but since it depends on the A64 series, i'm going to wait until that is merged
<scelestic>
buZz: but it doesnt have a stable release yet
<buZz>
its hella stable
terra854 has joined #linux-sunxi
<scelestic>
but yeah kinda offtopic
<buZz>
i have 150 days uptime on my laptop running it
<scelestic>
guess you dont need kernel updates :)
<dgp>
Everyone knows the meaning of "stable" isn't "runs for a long time" don't they?
<buZz>
not often, no ;)
<jski>
stable is no problems ever :)
<KotCzarny>
stable is 'we declare it so, dont worry, we will still release bugfixes'
Putti has joined #linux-sunxi
<jski>
or I have done my bit to "ship it"
<dgp>
i.e. it's the "not chaging" meaning of stable
<KotCzarny>
and sometimes 'no new features, sorry'
<dgp>
s/chaging/changing/
lemonzest has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
sunxi_fan has left #linux-sunxi [#linux-sunxi]
Ntemis has quit [Ping timeout: 252 seconds]
<KotCzarny>
hmm, what is sdio id of rtl8189es ?
kaspter has quit [Ping timeout: 264 seconds]
ricardocrudo has joined #linux-sunxi
leviathanch has joined #linux-sunxi
f0xx has joined #linux-sunxi
Putti has quit [Quit: Leaving]
foxx_ has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
f0xx has quit [Ping timeout: 260 seconds]
foxx_ is now known as f0xx
Nacho_ has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
sunxi_fan has joined #linux-sunxi
Nacho has joined #linux-sunxi
victhor has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
zoobab has quit [Ping timeout: 268 seconds]
_ami_ has joined #linux-sunxi
Putti has joined #linux-sunxi
<lovepupils>
do I just look on aliexpress/ebay for a heatsink for my H5?
<willmore>
Yes.
Gerwin_J has joined #linux-sunxi
Nacho has quit [Remote host closed the connection]
nevodka has joined #linux-sunxi
nevodka has left #linux-sunxi ["._ ."]
<jonkerj>
I've done so for H3, but cannot say it was a game changer
<jonkerj>
you'll need proper thermo-conducting adhesive as well
<jonkerj>
if you really want heat dissipation, make sure air moves through the heatsink (fan)
Nacho has joined #linux-sunxi
<willmore>
Airflow + heatsink has a multiplicative effect.
<lovepupils>
so I am looking at the armbian build docu, and it shows here https://docs.armbian.com/Developer-Guide_Build-Preparation/ that running /compile.sh will show me a list of supported board. My board is still not supported, do I get the option to choose "none of the above"?
<lovepupils>
another question: the pine64 has a A64 chip so same cpu and weaker cpu than OrangePi PC2 H5. what is the worse that could happen if I run that image? (headless)
<buZz>
lovepupils: why not find the source of compile.sh and find out?
<buZz>
the worst that could happen is thermonuclearwar
<willmore>
lovepupils, from what people here have determined, the H5 is a strange mix of the H3 and A64, so the image you make for an A64 board is very unlikely to work.
<lovepupils>
I won't bother with that then. How can I "help" then?
<lovepupils>
I guess I cannot build a "generic arm" armbian image, am I wrong?
<buZz>
you can do anything , if sufficiently motivated
<lovepupils>
" combine sunxi U-Boot, linux kernel and other bits together to create a useful SD-card from scratch, the basis for further hacking. "
<lovepupils>
I apologize if I'm very verbose, but then again the channel is pretty quiet now so I hope I'm not a bother
<lovepupils>
but maybe not even that would work, since "mainline u-boot" does not support my chip, right
<willmore>
lovepupils, idle hear and advice should wander by at some point. The people working on H5 support are all here from time to time. The best thing you can do right now is to be patient.
<buZz>
you are no bother :D
msevwork has quit [Quit: Leaving]
my123 has quit [Ping timeout: 258 seconds]
my123 has joined #linux-sunxi
my123 has quit [Changing host]
my123 has joined #linux-sunxi
<jonkerj>
lovepupils: really really no offense intended, but I think building a working H5 image at this moment is not for the faint of heart
<lovepupils>
I mean I know my way around linux, but a built and running linux :F
<jonkerj>
from what I guess your experience level is, you should probably stick to something pre-built or walk down a paved road
<KotCzarny>
jonkerj, otoh, breaking things makes you learn
<KotCzarny>
:)
<jonkerj>
but then again, it's fun to learn!
<jonkerj>
indeed
<jski>
not so fun when you can not work out the problem even with help :P
<jski>
(not refering to my current question)
JohnDoe_71Rus has joined #linux-sunxi
<lovepupils>
yes I managed to write and run an image from that "sdk", the issue is the kernel had no NFS support. so I need to "make menuconfig" or something from a git clone
<KotCzarny>
might be interrupt storm or anything that holds the system
<lovepupils>
last (?) stupid question of the day: make config or make menuconfig basically writes the /kernel/.config file, but If I edit it by hand it's fine, right?
<KotCzarny>
if you get all dependencies right
<lovepupils>
since make is called inside a script, so I want to prepare it beforehand
<KotCzarny>
otherwise you most likely end up with broken (noncompiling) config
<lovepupils>
perfect, this is enough for me
<KotCzarny>
but you can make menuconfig and just copy over
ricardocrudo_ has joined #linux-sunxi
<lovepupils>
I just did not want it to be overwritten at compile time
<lovepupils>
ok thanks
ricardocrudo has joined #linux-sunxi
<KotCzarny>
build script probably copies it from somewhere or just uses what's there
cptG_ has joined #linux-sunxi
<lovepupils>
make -C $LINUX ARCH=arm64 CROSS_COMPILE=$TOOLS -j${CORES} Image
<lovepupils>
I guess it just reads the ready .config
ErwinH has quit [Remote host closed the connection]
<jski>
okay so if I run the commands manually it works but when in boot.scr it does not? https://bpaste.net/show/9e2ba7f1ff48 am I missing something obvious?
<jelle>
how did you generate the boot.scr
<jski>
mkimage -C none -A arm -T script -d ./boot.cmd ./boot.scr
cptG has quit [Ping timeout: 260 seconds]
<wens>
qschulz_: i think i've gone through all your axp patches, let me know if i missed any
<MoeIcenowy>
wens: how much progress have you do on R40?
reinforce has joined #linux-sunxi
Mr__Anderson has quit [Ping timeout: 250 seconds]
<jski>
I can find it when I type it but the script can not :/
<wens>
MoeIcenowy: only u-boot, haven't looked at the kernel bits yet, because it always involves converting tables from the datasheets into drivers :/
<wens>
MoeIcenowy: I've already looked at the PIO, and I can say it is _almost_ the same as A20, with a few new functions on a few pins
ErwinH has joined #linux-sunxi
IgorPec has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
<MoeIcenowy>
wens: have you solved the half-RAM problem?
<wens>
MoeIcenowy: nope
<wens>
i'm selfishly hoping that it will be fixed along with h5 support
<wens>
mostly because i don't have the time to do it myself
ErwinH has quit [Ping timeout: 250 seconds]
Andy-D has quit [Ping timeout: 258 seconds]
<MoeIcenowy>
Will it be meaningful to run a fully 32-bit U-Boot on A64/H5?
<MoeIcenowy>
thus we can at least continue to use u-boot-sunxi-with-spl.bin
IgorPec has quit [Ping timeout: 264 seconds]
<wens>
apritzel: ^
<wens>
somehow he's over in #armlinux but not here :p
<wens>
montjoie: unaligned access?
<wens>
montjoie: unaligned access using aligned access instructions?
<NiteHawk>
wens: you can also find him in #u-boot
Pepe has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
diego_r has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
jernej has joined #linux-sunxi
perr has quit [Quit: Leaving]
elvirolo has left #linux-sunxi [#linux-sunxi]
yann|work has joined #linux-sunxi
<lovepupils>
bye for now, thank you all
<jski>
[
lovepupils has quit [Quit: Leaving]
ricardocrudo__ has joined #linux-sunxi
ricardocrudo_ has quit [Remote host closed the connection]
ricardocrudo__ has quit [Remote host closed the connection]
<montjoie>
wens: any way to debug it ?
ErwinH has joined #linux-sunxi
IgorPec has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel>
wens: trying to stay out of here while at work ;-)
<KotCzarny>
:>
<KotCzarny>
good idea
<apritzel>
wens: I have the H5 DRAM support mostly finished, merged with the A64 into the existing H3 driver
<MoeIcenowy>
apritzel: when will you push them?
<apritzel>
wens: I am just thinking whether it makes sense to merge Philipp's patches in already
ErwinH has quit [Ping timeout: 264 seconds]
<apritzel>
MoeIcenowy: when they are finished, but it's close
<MoeIcenowy>
I have currently an A64, a H5 and a R40 ;-)
<MoeIcenowy>
(and maybe several days later I will have a V3s board
<apritzel>
wens: actually I was wondering how close the sun9i DRAM controller is to the H3, A64 and H5
<apritzel>
wens: and whether it makes sense to merge them
<apritzel>
wens: Philipp made some patches on top of my (jemk's) A64 branch which looks close to his sun9i work
<MoeIcenowy>
Will it have some origin?
<MoeIcenowy>
I don't think Allwinner can design a DRAM controller by themselves ;-)
<apritzel>
MoeIcenowy: if you are desperate about getting something running on the H5, you can always use my h5 branch from github
<apritzel>
MoeIcenowy: nobody knows for sure, but they are definitely related
<MoeIcenowy>
I do not want to touch my PC2 now ;-)
<apritzel>
check arch/arm/mach-sunxi/dram_sun9i.c in U-Boot, is has some interesting comments
<MoeIcenowy>
apritzel: which tree?
<apritzel>
MoeIcenowy: it's merged in HEAD
<MoeIcenowy>
ok thx
jemk has quit [Remote host closed the connection]
<MoeIcenowy>
you mean it's a DesignWare?
jemk has joined #linux-sunxi
<apritzel>
apparently
<MoeIcenowy>
P.S. I recently heard that in China sometimes IP cores can be retrieved in some not legal method
<jemk>
sun9i is close, but register offsets/order are completely different
<apritzel>
jemk: so just the usual offset mangling?
<MoeIcenowy>
and to use the unpaid IP cores, the SoC designer must not make the IP owner know
<jemk>
they merged phy and controller registers in some strange order
<MoeIcenowy>
so I doubt sun8i-emac and de2-hdmi is illegal IP cores ;-)
<apritzel>
jemk: since you are here: I merged your H5 patch on top of the (now reworked) combined A64/H3 DRAM driver
<apritzel>
jemk: am worked out the delay lines settings from readelf -x 3 libdram ;-)
<MoeIcenowy>
KotCzarny: I think this is why libhdmi is a blob in aw's 3.10 kernel
<jemk>
apritzel: nice, i haven't had any time the last months, i have to catch up with current work
<jemk>
looks like a lot has happened at hdmi too
<apritzel>
MoeIcenowy: well, that doesn't surprise me, still I wonder why Designware doesn't do anything against it, given that they sell their chips outside of China
<apritzel>
jemk: no worries, thanks a lot for your efforts, that was very helpful
<apritzel>
(I learned 95% of my current DRAM knowledge in the last week)
<MoeIcenowy>
apritzel: oh I forgot to mention that I've heard Cortex-A7 and Cortex-M3 is even leaked (not related to Allwinner)
<apritzel>
MoeIcenowy: well, having the RTL source is one thing, selling a product with it and thus violating a plethora of well defended ARM patents is another
<MoeIcenowy>
no sure evidence can be made except you directly analyze the die, so it's difficult to do anything against it, especially after obfuscating
<apritzel>
I have been told that the cost of going to court outweighs the license fees (though both are not cheap)
<apritzel>
that's why sensible companies just pay the license
<apritzel>
and get updates and support with it
<apritzel>
MoeIcenowy: I think it's comparably easy to prove
<MoeIcenowy>
what we found now is "sun8i-emac and de2-hdmi is *compatible* to DesignWares" not "sun8i-emac and de2-hdmi is *equal* to DesignWares"
<apritzel>
not sure if anyone is eager to take it to the court, so probably those companies sooner or later just become licensees
<MoeIcenowy>
I think allwinner just got too poor after A80 ;-)
<MoeIcenowy>
In A80, I remember, at least the dw-hdmi is not obfuscated
<apritzel>
I think they cut corners and hope for the best
<MoeIcenowy>
and A80 is a total market failure
<KotCzarny>
if it ever leaks, most likely allwinner will hate opensource forever
<KotCzarny>
:>
<apritzel>
they should hate themselves for stealing other people's work
<apritzel>
if they'd be clever, they'd go to opencores.org
<MoeIcenowy>
opencores.org +1 ;-)
<MoeIcenowy>
and I think they really used one opencore -- ar100 ;-)
<apritzel>
anyway, back to Xen ...
apritzel has left #linux-sunxi [#linux-sunxi]
massi has quit [Quit: Leaving]
<scelestic>
anyone know what kind of performance i can get from the sd slot on the orange pi 2 plus/h3 allwinner in general?
<KotCzarny>
done on a20, but i think h3 is very similar
<tkaiser>
KotCzarny: it is, 23 MB/s maximum
<scelestic>
thanks i noticed that one as well but wasnt sure because a20
<scelestic>
guess for storage i might be better off with something usb then
<KotCzarny>
tkaiser: any difference legacy vs current mainline?
<tkaiser>
KotCzarny: Not with H3. With A20 I measured never above 16 MB/s with legacy kernel. But this was years ago, maybe I did something wrong and legacy is crap anyway with A20
<tkaiser>
KotCzarny: OT, my ASM1062 mPCIe card arrived, first test with SSD ended with problems (see end of http://sprunge.us/WEGb ). But had no time to do more tests. With a HDD everything as expected.
gumblex has quit [Ping timeout: 250 seconds]
ErwinH has joined #linux-sunxi
<tkaiser>
scelestic: What is your storage 'use case'?
<scelestic>
tkaiser: mainly lxc containers and possibly storage for downloading and processing usenet downloads
gumblex has joined #linux-sunxi
<tkaiser>
scelestic: Then have a eye on random IO performance, see KotCzarny's link. There's also another pinned thread in Armbian A10/A20 forum regarding SD card performance where a few eMMC and USB results are also listed.
The_Loko has quit [Remote host closed the connection]
Mr__Anderson has quit [Remote host closed the connection]
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
lovepupils has joined #linux-sunxi
<lovepupils>
hello I have good news (for me): I managed to build a debian jessie image from the OrangePi_Libra H5 SDK, with NFSD support enabled in kernel
<lovepupils>
and the results are very satisfying
<lovepupils>
now I can "stream" 30 Mbps videos to my kodi box without "buffering"
<lovepupils>
unlike with my old raspberri B+
<lovepupils>
thank you very much to all those who helped me today
ykaelig has joined #linux-sunxi
uwe_ has quit [Ping timeout: 265 seconds]
ykaelig has quit [Remote host closed the connection]
uwe__ has quit [Ping timeout: 258 seconds]
uwe_ has joined #linux-sunxi
yann-kaelig has quit [Ping timeout: 265 seconds]
uwe__ has joined #linux-sunxi
ErwinH has joined #linux-sunxi
<willmore>
lovepupils, well done!
<willmore>
apritzel, that's good news.
lovepupils has quit [Quit: Konversation terminated!]