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
KB3VGW has quit [Ping timeout: 265 seconds]
terra854 has joined #linux-sunxi
mzki has quit [Ping timeout: 265 seconds]
mzki has joined #linux-sunxi
nashpa has quit [Ping timeout: 252 seconds]
nashpa has joined #linux-sunxi
jernej has quit [Ping timeout: 268 seconds]
lkcl_ has quit [Ping timeout: 258 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
mzki has quit [Ping timeout: 250 seconds]
lkcl_ has joined #linux-sunxi
florianH has quit [Quit: Connection closed for inactivity]
popolon has quit [Quit: WeeChat 1.4]
cnxsoft has joined #linux-sunxi
lkcl_ has quit [Ping timeout: 246 seconds]
lkcl_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 250 seconds]
ninolein has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
a|3x has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 250 seconds]
\\Mr_C\\ has joined #linux-sunxi
terra854 has joined #linux-sunxi
victhor has quit [Ping timeout: 260 seconds]
lkcl_ has quit [Ping timeout: 248 seconds]
lkcl has quit [Ping timeout: 252 seconds]
lkcl_ has joined #linux-sunxi
kaspter has joined #linux-sunxi
chomwitt1 has quit [Quit: WeeChat 1.0.1]
kaspter has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 245 seconds]
pg12 has quit [Ping timeout: 246 seconds]
pg12 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
kaspter has joined #linux-sunxi
jernej has joined #linux-sunxi
orly_owl has quit [Ping timeout: 260 seconds]
Putti has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
orly_owl has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
snowden69 has joined #linux-sunxi
snowden69 has quit [Read error: Connection reset by peer]
snowden59 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
<KotCzarny> pi3?
snowden59 has quit [Read error: Connection reset by peer]
<KotCzarny> if that's rpi3 then its probably wrong channel to ask
jernej has quit [Ping timeout: 268 seconds]
<KotCzarny> oops. wrong chan. i should fix my client.
kaspter has quit [Ping timeout: 264 seconds]
lkcl_ has quit [Ping timeout: 256 seconds]
Ntemis has joined #linux-sunxi
Putti has joined #linux-sunxi
vagrantc has joined #linux-sunxi
msevwork has joined #linux-sunxi
massi has joined #linux-sunxi
ErwinH has joined #linux-sunxi
bugzc has quit [Ping timeout: 260 seconds]
<longsleep> willmore: yes static peak which damaged something is possible - i handle those boards without any precaution after all
IgorPec has joined #linux-sunxi
<KotCzarny> maybe connector wore out and voltage drops unexpectedly?
<KotCzarny> i've noticed that with one of my psus+cable
<KotCzarny> it can be as much as 0.5V difference
<KotCzarny> and first thing to fail is mmc
Nyuutwo has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
<KotCzarny> fmg: why not?
<KotCzarny> libjpegturbo coexists with libjpeg
<KotCzarny> and both target same api
<KotCzarny> drat.
terra854 has quit [Quit: Connection closed for inactivity]
vagrantc has quit [Quit: leaving]
fl_0 has quit [Ping timeout: 250 seconds]
fl_0 has joined #linux-sunxi
Mr__Anderson has quit [Quit: Leaving.]
Gerwin_J has joined #linux-sunxi
florianH has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
lovepupils has joined #linux-sunxi
<lovepupils> hello, I discovered that the Ubuntu Xenial with xfce from Xulong has no nfs support in kernel, what a disappointment.
<lovepupils> anyone tried the debian jessie server img?
<KotCzarny> forget vendor images
<silviop> here we compile kernel!!
<KotCzarny> they are stolen from the internet
<KotCzarny> just go to armbian and download original
<lovepupils> I will try and see if I'm up to the task
<lovepupils> thx
<lovepupils> actually I thought that there was no armbian yet for the pc2? (H5 like the pine64) sorry I didn't specify my board
<KotCzarny> oh. then just wait
<KotCzarny> or better yet, go to armbian forums and help creating newer-better image!
<lovepupils> I am willing to do so, do I just join a thread and ask how can I help?
<KotCzarny> check if there is one existing, othwerwise create new
<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
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<al_cubie> Hi, do I need to enable something in uboot to use drm from mainline?
\\Mr_C\\ has quit [Quit: .]
<wens> nope
<wens> if you do, then it's a bug
elvirolo has quit [Ping timeout: 264 seconds]
<lovepupils> Jan 01 00:17:35 Orangepi nfs-kernel-server[4358]: Not starting NFS kernel daemon: no support in current kernel. ... (warning).
<lovepupils> nope, guess armbian will be my hope, one day
<lovepupils> also am I allowed to say I hate systemd here
<KotCzarny> you know you can still remove it?
<lovepupils> bookmarked/10
\\Mr_C\\ has joined #linux-sunxi
perr has joined #linux-sunxi
perr has joined #linux-sunxi
perr has quit [Changing host]
perr has quit [Ping timeout: 252 seconds]
perr has joined #linux-sunxi
<jelle> lovepupils: no hate is not needed
terra854 has quit [Quit: Connection closed for inactivity]
leviathanch has quit [Remote host closed the connection]
<scelestic> systemd in jessie is not perfect but lots better in stretch fortunately
<KotCzarny> it's love it or hate it, but offtopic here
<jski> if I take the latest stable mainline kernel will montjoie patch still fix ethernet?
<buZz> scelestic: devuan is nice :)
<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
cnxsoft has quit [Quit: cnxsoft]
<lovepupils> I cannot find anything related to that "board choice" here https://github.com/igorpecovnik/lib/blob/master/compile.sh
<lovepupils> probably I am not understanding it correctly
my123 has joined #linux-sunxi
my123 has quit [Changing host]
my123 has joined #linux-sunxi
<buZz> line 92 , i bet :P
<buZz> for board in $SRC/lib/config/boards/*.conf; do
my123_ has quit [Ping timeout: 256 seconds]
<lovepupils> thank you
<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
Ntemis has joined #linux-sunxi
<lovepupils> maybe I should follow this then? https://linux-sunxi.org/Manual_build_howto
<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
<jski> https://bpaste.net/show/361c7d141585 any idea why I keep getting **Unable to read file uImage?
<NiteHawk> is there even an SDK / BSP kernel out for H5 yet?
<KotCzarny> yup
<lovepupils> no offense taken at all. I am very new to this, I come from the networking world.
<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
<ErwinH> Have a look at: https://github.com/OrangePiLibra/OrangePi_H5SDK/blob/master/kernel/fs/nfs/Makefile SHould give the config-items you need to get NFS support
<lovepupils> thank you very much
<ErwinH> But menuconfig also works, if you are in the kernel folder.
<jski> not managed to build the latest u-boot / kernel for the orange pi pc plus and see it work :/
<lovepupils> ErwinH, turns out what I wanted was the nfsd, since it's the nfs server that I want to run :) https://github.com/OrangePiLibra/OrangePi_H5SDK/blob/master/kernel/fs/nfsd/Kconfig
<lovepupils> but thank you that was a huge help for the sad state of affairs I was in
<KotCzarny> you can also run userspace based nfs daemon
<lovepupils> I did an install of nfs-common and nfs-kernel-server, you are suggesting there is another nfs service that runs in userspace?
reinforce has quit [Quit: Leaving.]
<jonkerj> for using NFS, you need nfs-common on debian-derivates, for serving NFS, -common + -kernel-server
<jonkerj> (IIRC)
<lovepupils> I will have fun tonight trying to get that NFSD support in the kernel of that repo
<jski> should sunxi_defconfig boot h3 kernel on mainline?
<jski> everything I have tried I get **Unable to read file uImage, arch/arm/boot/uImage: u-boot legacy uImage, Linux-4.8.0-rc6-00160-gd027194, Linux/ARM, OS Kernel Image (Not compressed), 3518576 bytes, Wed Dec 14 14:10:36 2016, Load Address: 0x40008000, Entry Point: 0x40008000, Header CRC: 0xAAEC9830, Data CRC: 0x58DA41AE
<KotCzarny> you might be missing few things if its vanilla mainline
<KotCzarny> unless you talk about uboot
<KotCzarny> then yes, it should load and start kerne;
<jski> this example is for git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
<KotCzarny> but you might have to provide correct dts still
<jski> reading /sun8i-h3-orangepi-pc-plus.dtb
<jski> 12562 bytes read in 31 ms (395.5 KiB/s)
<jski> I noticed in u-boot there is pc, plus and pc plus but in the kernel only pc and plus
<jski> could this be it?
<jski> surely the pc and pc plus are close to the same
<KotCzarny> dont rely on orange namings
<KotCzarny> though its not the problem here
<KotCzarny> do you see 'starting kernel' then nothing?
<jski> **Unable to read file uImage
<KotCzarny> arch/arm/boot/uImage
<KotCzarny> is this the path you store your kernel?
<KotCzarny> or did you forgot to copy something?
elvirolo has joined #linux-sunxi
<jski> I copied this to my boot on sdX1
<jski> where it is reading the dtb and scr from
<KotCzarny> do ls in uboot
<KotCzarny> then see what and where
<ErwinH> And try it manually.
victhor has quit [Ping timeout: 248 seconds]
_ami_ has left #linux-sunxi [#linux-sunxi]
<ErwinH> Is the fatload correct? Shouldn't it be: mmc 0:1?
ricardocrudo has quit [Ping timeout: 250 seconds]
<jski> ls mmc 0:1 shows the uImage
<KotCzarny> then change the path
<KotCzarny> to /uImage
ricardocrudo_ has quit [Ping timeout: 248 seconds]
<jski> oh it is just 0 in the boot.cmd
<ErwinH> Try: fatload mmc 0:1 $kernel_addr_r uImage
<jski> yes thanks
<ErwinH> Same for the loaddtb
Ntemis has quit [Remote host closed the connection]
<elvirolo> hi everyone
f0xx has quit []
f0xx has joined #linux-sunxi
ganbold has quit [Quit: This computer has gone to sleep]
yann|work has quit [Ping timeout: 265 seconds]
<jski> broke the script now :/ https://bpaste.net/show/7beca0f519d8
ganbold has joined #linux-sunxi
<KotCzarny> you are making it complicated
<KotCzarny> see wiki's page for uboot
<jski> I copied an exmaple
juri_ has quit [Ping timeout: 260 seconds]
iaglium_ has quit [Ping timeout: 252 seconds]
<jelle> hmm should update that EMAC support works for the H3
<jelle> not sure about A83T and A64 since I don't own those boards
<wens> the u-boot page needs a lot of love
<KotCzarny> yup
<ErwinH> What happens when you run the commands by hand inside uboot?
<jski> am trying that now following the u-boot page
<jski> kernel booting thanks. is the last example I copy..
<Pe3ucTop> Hello, anyone had experience with : "serial8250: too much work for irq"
<Pe3ucTop> ?
<KotCzarny> i remember that message from pc era
<KotCzarny> :)
<Pe3ucTop> :) but it still exist ...
<lovepupils> # CONFIG_NFSD is not set
<lovepupils> found the bastard :)
lkcl has quit [Ping timeout: 252 seconds]
clonak_ has quit [Ping timeout: 252 seconds]
clonak has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
<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
<montjoie> does someone know what could cause data abort(http://pastebin.com/uKxhD2X7) with uboot ?
<KotCzarny> is that fried board?
<qschulz_> wens: one Acked-By missing on the DT binding. Otherwise, I've to check for your question on volatile reg. Thanks!
elvirolo has quit [Quit: Leaving.]
elvirolo has joined #linux-sunxi
<miasma> jski: it looks like it reads the script just fine, it just can't find the dtb/uimage files
<montjoie> KotCzarny: not fried
fkluknav has joined #linux-sunxi
<KotCzarny> maybe miscompiled code?
<KotCzarny> "Computers are like Old Testament gods; lots of rules and no mercy."
<KotCzarny> lol
<lovepupils> beautiful!
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<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
<KotCzarny> so that's whay allwinner is so cheap
<KotCzarny> and why libdram is a blob
<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> 16-25MB/s ?
tkaiser has joined #linux-sunxi
<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.
<tkaiser> scelestic: And of course http://linux-sunxi.org/USB/UAS (requires mainline kernel)
<scelestic> tkaiser: thanks i'll read up then!
ErwinH has quit [Ping timeout: 250 seconds]
<KotCzarny> nice, hard freeze
<KotCzarny> you might try this adapter in pc/laptop too
<KotCzarny> to check if it's arm related or not
ricardocrudo has quit [Remote host closed the connection]
paulk-collins has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<tkaiser> KotCzarny: 3 MacBook Pro lying around, none of them has PCIe slots ;) And the 'PCs' are Mac Mini ;)
<KotCzarny> that's what you get for using macs :P
<KotCzarny> almost any pc since coreduo has minipcie slot
<KotCzarny> s/pc/laptop/
nove has joined #linux-sunxi
tkaiser has quit [Ping timeout: 252 seconds]
f0xx has quit []
f0xx has joined #linux-sunxi
ErwinH has joined #linux-sunxi
lkcl has joined #linux-sunxi
ErwinH has quit [Ping timeout: 264 seconds]
fkluknav has quit [Remote host closed the connection]
Mr__Anderson has quit [Ping timeout: 246 seconds]
<miasma> wens: any suggestions what the u-boot page should have. what about this kind of status table? https://linux-sunxi.org/User:Miasma/Uboottable
<KotCzarny> remove unreleased ones
yann|work has quit [Ping timeout: 258 seconds]
<KotCzarny> or totally unsupported
<miasma> KotCzarny: sure, i just copy pasted it quickly from the soc page
<miasma> maybe there are still some missing functionality/columns
<KotCzarny> you add audio column
<KotCzarny> ;)
<KotCzarny> for kicks
Mr__Anderson has joined #linux-sunxi
<jelle> GPIO in u-boot?
<KotCzarny> jelle: sure, turning leds
<jelle> oh hmm ofcourse
<KotCzarny> reading buttons
<jelle> KotCzarny: don't think u-boot reads buttons
<KotCzarny> it can make scripting/testing things easier
<miasma> the u-boot changelog on the current page mentioned gpio
<miasma> KotCzarny: grub2 supports audio greetings iirc :)
<KotCzarny> there is actual menu in uboot for audio
<KotCzarny> never tested it
Mr__Anderson has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 256 seconds]
The_Loko has joined #linux-sunxi
Ntemis has joined #linux-sunxi
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
montjoie has quit [Ping timeout: 246 seconds]
montjoie has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
IgorPec has quit [Ping timeout: 264 seconds]
ErwinH has joined #linux-sunxi
yann|work has joined #linux-sunxi
ErwinH has quit [Ping timeout: 252 seconds]
tkaiser has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
tkaiser has quit [Ping timeout: 258 seconds]
ricardocrudo has quit [Remote host closed the connection]
leviathanch has quit [Remote host closed the connection]
<apritzel> tkaiser, scelestic: my understanding is that A20 and H3 support max. SD 2.0, which is limited to 25MB/s (50 MHz SDR with 4bit)
<apritzel> A64, H5 and R40 support better transfer modes (UHS-1), which gives you 50MB/s (or even 100MB/s)
<apritzel> max. interface transfer speed that is, there is overhead, also the SD card may not keep up at these high speeds
Mr__Anderson has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Gerwin_J_ has joined #linux-sunxi
nove has quit [Quit: nove]
yann-kaelig has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J_ is now known as Gerwin_J
lemonzest has quit [Quit: Leaving]
lkcl has quit [Ping timeout: 265 seconds]
tsuggs has joined #linux-sunxi
tkaiser has joined #linux-sunxi
Andy-D has joined #linux-sunxi
tkaiser has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 250 seconds]
paulk-collins has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 250 seconds]
eli_ has joined #linux-sunxi
victhor has joined #linux-sunxi
ErwinH has joined #linux-sunxi
tkaiser has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
<lennyraposo> hello all
dh1tw has joined #linux-sunxi
ErwinH has quit [Ping timeout: 250 seconds]
eli_ has left #linux-sunxi [#linux-sunxi]
<apritzel> yeah, the U-Boot DRAM driver for the H5 works
<apritzel> one file now supports H3, A64 and H5
<apritzel> (one source file, that is)
<apritzel> but in a joint tree with A64 and H5 support
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
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!]
ErwinH has quit [Ping timeout: 250 seconds]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
florianH has quit [Quit: Connection closed for inactivity]
chomwitt has joined #linux-sunxi