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
DonkeyHotei has quit [Ping timeout: 248 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jstein has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]
DonkeyHotei has joined #linux-sunxi
chlorine has joined #linux-sunxi
gnufan has quit [Quit: Leaving.]
chomwitt has quit [Ping timeout: 240 seconds]
chlorine has quit [Ping timeout: 260 seconds]
muvlon has quit [Quit: Leaving]
<icenowy[m]> tkaiser: the BPi M2 Zero photo on wiki is the prod version taken by techping
aalm has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9.1]
<lvrp16> tkaiser: jernej: i have android 7.0 for h3/h5
<lvrp16> albeit very old kernel
<lvrp16> 3.10, which is EOL
<DonkeyHotei> it's as if allwinner only did engineering for linux in 2012, and not since
<DonkeyHotei> clearly some manager decided they shouldn't
<DonkeyHotei> or more likely managers, plural
Ntemis has quit [Read error: Connection reset by peer]
lkcl has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
cnxsoft has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
rcpuheate has quit [Ping timeout: 268 seconds]
<lvrp16> they have too many divisions that compete against each other, if a division invest in software, their r&d bill goes up and looks worse on the report card
<lvrp16> i mean look at how many rebrand of the a83t there are
ninolein has quit [Ping timeout: 248 seconds]
ninolein has joined #linux-sunxi
VargaD has quit [Ping timeout: 258 seconds]
<ullbeking> Two questions:
<ullbeking> 1. Does anybody have an idea of when OPi +2E is re-released? Still waiting...
<ullbeking> 2, I heard of a potentually serious bug in the OPi R1... what is this?
<lvrp16> ullbeking: The price of the Orange Pi 2E has increased due to increases in DDR and Flash prices
<ullbeking> i understand, that's cool
<ullbeking> but i can't even find one
chlorine has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 248 seconds]
lkcl has joined #linux-sunxi
lkcl has quit [Ping timeout: 248 seconds]
JohnDoe_71Rus has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
<montjoie> how to fill reg_gmac_3v3 ? (find which GPIO is used). I read pine64 schematics but found nothing
<montjoie> perhaps i didnt search the right term
<DonkeyHotei> is there a fex?
<montjoie> perhaps but I need tofind it
<montjoie> I believed that it can be found un schematics
<DonkeyHotei> not if it's programmable
cnxsoft has joined #linux-sunxi
vagrantc has joined #linux-sunxi
ernestask has joined #linux-sunxi
gnufan has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
dave0x6d has quit [Quit: Connection closed for inactivity]
scream has joined #linux-sunxi
ernestask has quit [Ping timeout: 240 seconds]
Putti has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
benettig has joined #linux-sunxi
jack has joined #linux-sunxi
benettig has quit [Quit: Leaving]
benettig has joined #linux-sunxi
SP7RT has joined #linux-sunxi
SP7RT has quit [Client Quit]
SP7RT has joined #linux-sunxi
victhor has joined #linux-sunxi
kozy_ has joined #linux-sunxi
<icenowy[m]> montjoie: pine64 don't use reg_gmac_3v3 at gpio
<icenowy[m]> pine64 uses dc1sw on AXP
kozy has quit [Ping timeout: 260 seconds]
Mr__Anderson has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Pe3ucTop has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
benettig has quit [Quit: Leaving]
Pe3ucTop has quit [Quit: leaving]
NiteHawk has quit [Ping timeout: 258 seconds]
NiteHawk has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
reinforce has joined #linux-sunxi
ernestask has joined #linux-sunxi
camh has quit [Ping timeout: 240 seconds]
camh has joined #linux-sunxi
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
alex_ has joined #linux-sunxi
kozy_ has quit [Read error: Connection reset by peer]
kaspter has quit [Quit: kaspter]
kozy has joined #linux-sunxi
kaspter has joined #linux-sunxi
alex_ has quit [Quit: Page closed]
jelly has quit [Ping timeout: 268 seconds]
jelly-home has joined #linux-sunxi
<montjoie> icenowy[m]: you re right
<montjoie> now PHY is working
<icenowy[m]> oh you might have not seen my patch sent yesterday
maz has quit [Ping timeout: 246 seconds]
alexxey has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<montjoie> my mail reading lag
<montjoie> but now I see it
<markvandenborre> mripard: just answered your email; sorry for the delay, been a bit ill
chlorine has joined #linux-sunxi
maz has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
rcpuheate has joined #linux-sunxi
vagrantc has joined #linux-sunxi
vagrantc has quit [Changing host]
vagrantc has joined #linux-sunxi
aalm has quit [Quit: xyz 1.9.1]
longsleep has quit [Ping timeout: 250 seconds]
longsleep has joined #linux-sunxi
<wens> fixed some minor issue with a64 mmc
jbrown has joined #linux-sunxi
Ntemis has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 260 seconds]
chlorine_ has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]
Gerwin_J has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
jbrown has quit [Ping timeout: 268 seconds]
leviathanch has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
gumblex_ has quit [Ping timeout: 240 seconds]
ernestask has quit [Quit: ernestask]
hardfalcon has joined #linux-sunxi
<hardfalcon> hi, any recommendation about which branch of the sunxi-kernel to use on an olinuxino A64?
<hardfalcon> I've already gotten 4.14-rc8 from archlinuxarm to boot, but more or less the only things that seem to be working are the UART pins and the microsd slot
<hardfalcon> no eMMC flash, no ethernet, no USB, no wifi
<hardfalcon> (in case it matters: I'm using the latest mainline uboot git master, pulled from git and compiled about 8 hours ago)
<hardfalcon> oh, and it crashes during boot when trying to use a btrfs partition as rootfs
<hardfalcon> ext4 seems to work fine, though
<hardfalcon> I guess it would be either sunxi/for-next or sunxi/dt64-for-4.15, but I'm not sure which of the two to choose, and what the difference would be on my SBC
obbardc has joined #linux-sunxi
<obbardc> hey guys
<obbardc> uboot issues with DTS
<obbardc> => load mmc 0:1 0x1000000 /boot/sun50i-h5-orangepi-pc2.dtb
<obbardc> => fdt addr 0x1000000
<obbardc> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
<obbardc> 20344 bytes read in 148 ms (133.8 KiB/s)
<hardfalcon> obbardc: I'm no expert with uboot or sunxi devices in general, but have you tried using extlinux.conf?
<hardfalcon> this is what I use on an Olinuxino A20 (without having to specify any memory addresses by hand, since those are read from the DTB):
<hardfalcon> the boot partition needs to have a FAT16/32, ext2 or ext4 file system, and the file has to be /extlinux/extlinux.conf on that partition so uboot can find it
<obbardc> Sounds much better, since I don't have to specify the memory addresses by hand...
LargePrime has quit [Read error: Connection reset by peer]
jstein has quit [Read error: Connection reset by peer]
<obbardc> ah, fdt address should be 0x44000000
Putti has quit [Ping timeout: 240 seconds]
<obbardc> [ 0.000000] Booting Linux on physical CPU 0x0
<obbardc> [ 0.000000] Boot CPU: AArch64 Processor [410fd034]
<obbardc> [ 0.000000] Linux version 4.14.0-rc8-g9fd9dc3d (chris@sunxi-build) (gcc version 7.2.0 (Debian 7.2.0-11)) #1 SMP PREEMPT Fri Nov 10 23:41:08 GMT 2017
<obbardc> [ 0.000000] Machine model: Xunlong Orange Pi PC 2
* obbardc cheers :)
<hardfalcon> glad to hear it works now :-)
<obbardc> "works" is not quite the answer hardfalcon
<obbardc> still having issues with kernel booting & debian userspace
<hardfalcon> hmm, what file system are you using?
<obbardc> ext4 for the whole sd card, no seperate vfat boot
<hardfalcon> okay
<obbardc> but yea, extlinux.conf feels a bit too much like grub to me. We are not in 1995 :-)
<hardfalcon> well, it's easier to edit a plain text file that having to fiddle with boot.scr IMHO
<obbardc> each to his own :-)
<hardfalcon> sure :-)
<hardfalcon> btw, do you have a working initramfs for your kernel?
<obbardc> nope, as of yet i do not
<obbardc> That is probably the issue
<hardfalcon> I've spent the whole day fiddling with an olinuxino A64, and had exactly the same issue
<obbardc> I will get to work building an initramfs
<hardfalcon> hmm, you'll probably need another arm64 machine to do that
<hardfalcon> (at least it was like that on archlinux)
<hardfalcon> I ended up getting a rootfs tarball with a working initramfs, booted that rootfs/kernel using qemu, and upgraded the kernel inside qemu to 4.14-rc8, then used the resulting fallback initramfs to boot my olinuxino A64
yann-kaelig has quit [Quit: I'll be back]
alexxey has quit [Ping timeout: 268 seconds]
<obbardc> damn, so no easy way to generate one then
<obbardc> i guess i can download one from debian. But not ideal is it
Putti has joined #linux-sunxi
<hardfalcon> obbardc: that's an x86_64 initrd, that won't work on an aarch64 SoC ;)
<hardfalcon> the initrd contains both kernel modules (which have to match *exactly* the kernel that you are using - not only the same kernel version, but the binaries from the exact same compile run) and some userland stuff
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<obbardc> but hardfalcon it won't have kernel modules. so i will have to extract that one & re-archive it with my kernel modules. Maybe
<hardfalcon> obbardc: nope, that is *not* aarch64
<hardfalcon> aarch64 = ARM64
<hardfalcon> amd64 = x86_64
<obbardc> whoops, mymustake
<hardfalcon> that one doesn't support the SoC on your Orange Pi PC 2
<hardfalcon> you have an allwinner H5, and the debian kernel you linked above doesn't support that SoC
<hardfalcon> though it should theoretically be new enough to be able to support your soc
<hardfalcon> it's kernel version 4.12.6, and here's a status matrix with the minimum required kernel versions for certain features on the different allwinner SoCs: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix
<hardfalcon> hmmm, I may have been wrong
<hardfalcon> your board is listed there so it is supposed to work
<obbardc> yeah, my board is in the buster/sid kernel
<obbardc> i've compiled my own kernel (with hdmi patches etc) though, so for now I will revert to debian kernel
<hardfalcon> ok
<obbardc> the hack i will try first
<obbardc> is to use the debian ramfs with my kernel, just to see if any improvement
<hardfalcon> won't work
<hardfalcon> or at least I'd be highly surprised if it worked
<obbardc> ah ok
<obbardc> i'll fire up qemu and make my own
reinforce has joined #linux-sunxi
<hardfalcon> I used something like
<hardfalcon> qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -nographic -smp 1 -m 1024 -kernel ./Image --initrd ./initramfs-linux-fallback.img --append "console=ttyAMA0" -hda /dev/mmcblk0
<hardfalcon> but obviously, you'll have to change at least the kernel cmdline after --append and specify the correct rootfs and rootfstype there
<hardfalcon> your rootfs device will be /dev/vda1 inside the qemu VM with this setup (if it is the first partition on your sd card)
<obbardc> awesome stuff hardfalcon
<obbardc> here's my serial log just out of curiosity https://pastebin.com/AwcQG4Ag
<hardfalcon> you may want to add a network card to the qemu VM as well
<hardfalcon> with arch, it was fairly easy to just through my custom-built kernel package onto one of the partitions on the sd card and install the package inside the VM
<hardfalcon> but debian packages tend to be more fragmented
<obbardc> nice one
<obbardc> give me a few hours ;-)
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
skiboy has joined #linux-sunxi
<willmore> A53, not A57.
<willmore> hardfalcon, ^^
<willmore> Oh, nevermind.
Ntemis has joined #linux-sunxi
<obbardc> figured out why it wasn't booting
<obbardc> dodgy USB keyboard was causing a kernel panic
<obbardc> why i am not sure.
<hardfalcon> willmore: yeah, but that shouldn't matter to boot it
<hardfalcon> they're both aarch64
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
aalm has joined #linux-sunxi
<willmore> hardfalcon, yeah, that's why I concluded with "nevermind". :)
<hardfalcon> ok :-)
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
Gerwin_J_ is now known as Gerwin_J
reinforce has quit [Quit: Leaving.]
dev1990 has quit [Quit: Konversation terminated!]
paulk-gagarine has quit [Quit: Leaving]
paulk-gagarine has joined #linux-sunxi
paulk-gagarine has quit [Remote host closed the connection]
paulk-gagarine has joined #linux-sunxi
obbardc has quit [Read error: Connection reset by peer]
leviathanch has quit [Remote host closed the connection]
Putti has quit [Ping timeout: 248 seconds]
chomwitt has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Gerwin_J has quit [Quit: Gerwin_J]
netlynx has quit [Quit: Ex-Chat]
vagrantc has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
chomwitt has quit [Ping timeout: 240 seconds]
chomwitt has joined #linux-sunxi
chomwitt has quit [Ping timeout: 250 seconds]
jack has quit [Quit: jack]
chomwitt has joined #linux-sunxi
chomwitt has quit [Ping timeout: 240 seconds]
Mr__Anderson has quit [Remote host closed the connection]
gnufan has quit [Quit: Leaving.]
chomwitt has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
danielg4 has joined #linux-sunxi
DonkeyHotei has quit [Disconnected by services]
danielg4 is now known as DonkeyHotei