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
lemonzest has quit [Quit: Quitting]
vagrantc has quit [Quit: leaving]
popolon has quit [Quit: WeeChat 1.9]
lurchi_ is now known as lurchi__
msimpson has quit [Ping timeout: 240 seconds]
Andy-D_ has quit [Ping timeout: 240 seconds]
[7] has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
anarsoul has joined #linux-sunxi
ninolein has quit [Ping timeout: 246 seconds]
ninolein has joined #linux-sunxi
vagrantc has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
Mo has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 248 seconds]
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-sunxi
Mo has joined #linux-sunxi
TheSeven has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 248 seconds]
olerem has left #linux-sunxi ["WeeChat 1.0.1"]
SP7RT has joined #linux-sunxi
SP7RT has quit [Ping timeout: 252 seconds]
IgorPec has joined #linux-sunxi
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
awais has joined #linux-sunxi
fkluknav has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
lamer15041311729 has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
rwmjones has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Leepty has quit [Ping timeout: 240 seconds]
lamer15041311729 has quit [Ping timeout: 246 seconds]
matthias_bgg has joined #linux-sunxi
Leepty has joined #linux-sunxi
lkcl has joined #linux-sunxi
popolon has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
BenG83 has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
mhlavink_afk has joined #linux-sunxi
sunxi_fan1 has quit [Ping timeout: 248 seconds]
mhlavink has quit [Ping timeout: 252 seconds]
msimpson has quit [Ping timeout: 240 seconds]
chlorine has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
afaerber has quit [Ping timeout: 255 seconds]
afaerber has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
lamer15041311729 has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
chlorine_ has quit [Ping timeout: 240 seconds]
lamer15041311729 has quit [Ping timeout: 240 seconds]
LargePrime has quit [Ping timeout: 255 seconds]
a|3x has quit [Ping timeout: 252 seconds]
chlorine has joined #linux-sunxi
lamer15041311729 has joined #linux-sunxi
gnufan has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
chlorine has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
LargePrime has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
afaerber has joined #linux-sunxi
Mo has left #linux-sunxi ["Leaving"]
matthias_bgg has quit [Quit: Leaving]
dave0x6d has quit [Quit: Connection closed for inactivity]
yann-kaelig has quit [Read error: Connection reset by peer]
yann-kaelig has joined #linux-sunxi
Hao_ has joined #linux-sunxi
dorin has joined #linux-sunxi
yann-kaelig has quit [Read error: Connection reset by peer]
yann-kaelig has joined #linux-sunxi
Hao_ has quit [Quit: Leaving]
yann-kaelig has quit [Ping timeout: 260 seconds]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Langoor has quit [Ping timeout: 264 seconds]
Langoor has joined #linux-sunxi
phipli has joined #linux-sunxi
Langoor has quit [Ping timeout: 240 seconds]
fkluknav has quit [Ping timeout: 240 seconds]
Langoor has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
<beeble> d
<buZz> e
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
reinforce has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
<inf> hey! just looking through H3 datasheet & Orange Pi Zero schematics... Is "UBOOT" CPU pin (ball w6) that famous "FEL button"? Also, there's a pullup on pin PL4 on OpiZero tagged as "RECOVERY", i suppose this one doesn't really have any special meaning and is just handled by android code, or whatever?
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
<wens> yes to #1
<wens> the second is handled by the bsp bootloader
<wens> otherwise it's just an ordinary GPIO
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 252 seconds]
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
Wizzup has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #linux-sunxi
<MoeIcenowy> licheepi is saying to have a re-packaged version of V3s
<MoeIcenowy> use BGA package
<MoeIcenowy> with memory replaced to 128MiB DDR3
aidin has quit [Ping timeout: 255 seconds]
<MoeIcenowy> and some new functions wired
<MoeIcenowy> (e.g. external PHY interface, I2S
lemonzest has joined #linux-sunxi
<wens> what do we call it :/
yann-kaelig has joined #linux-sunxi
<KotCzarny> v3s+
<KotCzarny> ;)
cnxsoft has quit [Ping timeout: 255 seconds]
<MoeIcenowy> it's called Allwinner S3
<miasma> shouldn't it be safe to enable the neon instructions in kernel mode for e.g. h3, KERNEL_MODE_NEON
<MoeIcenowy> I verified the existence of I2S by check lichee/linux-3.4/drivers/clk/sunxi/clk-sun8iw8.c and found i2s
<miasma> for some reason the defconfig doesn't enable them
<MoeIcenowy> P.S. the SDC2 on S3 is now 8-bit wide, not the 1-bit wide one on V3s
<KotCzarny> miasma: works for me (h3droid and armbian)
<miasma> but the thumb instructions shouldn't be enabled ? i got some kernel errors after trying those
<willmore> KotCzarny, sorry for the lag, just saw you mention me. I ordered the OpiZplus--the H5 variant of the plain OpiZ. I didn't order any dual ethernet boards. Oh, the board showed up yesterday and I put the experimental armbian build on it. It's a legacy kernel for now. Has lots of thermal issues.
<miasma> KotCzarny: there's e.g. ARM_THUMBEE and THUMB2_KERNEL
Wizzup has joined #linux-sunxi
<KotCzarny> willmore: vendor images are notoriously bad, did you try armbian?
<KotCzarny> miasma: here:
<KotCzarny> CONFIG_ARM_THUMB=y
<KotCzarny> CONFIG_ARM_THUMBEE=y
<KotCzarny> and no problems so far (few months already)
<miasma> KotCzarny: hm, i got some problems alrady after 4 seconds of booting the kernel
<KotCzarny> miasma: maybe it's userspace related?
<KotCzarny> note: i'm using H3
<miasma> i don't think so, i only booted the kernel with ip autoconfig, without /root or initramfs
<KotCzarny> what errors do you get
<miasma> i'll report back later today, can't remember atm
<miasma> some kernel oops with stack trace
<miasma> using 4.13-rc6
<miasma> or rc7
<KotCzarny> ahm. i'm using legacy here. though i also enable them on my a20(mainlines)
<MoeIcenowy> montjoie: how to test whether sun4i-ss is working on a SoC?
<MoeIcenowy> I think I'm going to test sun4i-ss on V3s
<MoeIcenowy> according to datasheet it should be correct
<montjoie> modprobe it, you should rapidly see if it works:)
<miasma> KotCzarny: i guess they don't have any significant effect on anything. just noticed that i should avoid them in order to get some stability. i got the impression from the specs that those should be supported, but then again the defconfig doesn't enable them
<montjoie> MoeIcenowy: at load, crypto api autotest some algos
<montjoie> so the driver is used at load
<MoeIcenowy> if I built-in it it will also do self-test?
<montjoie> yes
<MoeIcenowy> ok let me try
<montjoie> when each algo is registred, tests are done
<MoeIcenowy> and now we cannot assume sun8iw8 to have no external PHY...
<montjoie> for most algos
<MoeIcenowy> as S3 now exports external PHY interface
<montjoie> MoeIcenowy: V3s will need mux
<MoeIcenowy> but V3s cannot have external PHY
<MoeIcenowy> S3 can
<montjoie> V3s will have a mux... of one MDIO
<MoeIcenowy> then in S3 DTSI if I include the V3s DTSI
<MoeIcenowy> I can just add the second MDIO?
<montjoie> yes
jbrown has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
BenG83 has quit [Ping timeout: 260 seconds]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
<MoeIcenowy> montjoie: it says "[ 0.755981] sun4i-ss 1c15000.crypto-engine: Die ID 7"
<montjoie> see cat /proc/crypto
<montjoie> you should see sun4i-ss algos
<montjoie> if no error is printed, all is good
<MoeIcenowy> yes all selftest are passed
aidin has quit [Remote host closed the connection]
<MoeIcenowy> what should me check in addition before pushing this DT section?
<montjoie> modprobe tcrypt
<montjoie> you could also test rng
<montjoie> let me check if instructions for doing it are good
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
<montjoie> MoeIcenowy: see http://sunxi.montjoie.ovh/#prng but you need libkcapi
aidin has joined #linux-sunxi
<MoeIcenowy> montjoie: which kernel option is for tcrypt?
<montjoie> CONFIG_CRYPTO_TEST
sunxi_fan1 has joined #linux-sunxi
yann-kaelig has quit [Ping timeout: 240 seconds]
yann-kaelig has joined #linux-sunxi
<MoeIcenowy> montjoie: P.S. can libkcapi also use other algs from sun4i-ss?
<MoeIcenowy> and is it via AF_ALG?
xpete has joined #linux-sunxi
<montjoie> yes
<montjoie> vu libkcpi know only software algs
<montjoie> I patch it for testing sunxi hardware
JohnDoe_71Rus has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
afaerber has quit [Ping timeout: 246 seconds]
afaerber has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
awais has quit [Read error: Connection reset by peer]
lamer15041913256 has joined #linux-sunxi
lamer15041311729 has quit [Ping timeout: 246 seconds]
yann-kaelig has quit [Quit: Leaving]
SP7RT has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
SP7RT has quit [Ping timeout: 264 seconds]
<FergusL> An easy way to mount Armbian SD cards on Windows 10?
SP7RT has joined #linux-sunxi
<KotCzarny> ext4-ifs
<KotCzarny> and there was another ext driver too
<KotCzarny> just google for 'ext2 windows driver'
anarsoul has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
xpete has quit [Quit: Leaving]
yann-kaelig has joined #linux-sunxi
<vpeter> FergusL: If you only need some files from it maybe 7-Zip can extract image and partitions.
SP7RT has quit [Ping timeout: 248 seconds]
SP7RT_ has joined #linux-sunxi
icmp8 has quit [Quit: Leaving]
icmp8 has joined #linux-sunxi
gumblex has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
LargePrime has quit [Ping timeout: 246 seconds]
IgorPec has joined #linux-sunxi
SP7RT has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 240 seconds]
msimpson has quit [Quit: Leaving]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
LargePrime has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
matthias_bgg has quit [Quit: Leaving]
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
chlorine_ has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
SP7RT has quit [Ping timeout: 260 seconds]
yann-kaelig has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 240 seconds]
tlwoerner has quit [Ping timeout: 240 seconds]
sunxi_fan1 has quit [Ping timeout: 248 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
lamer15042039107 has joined #linux-sunxi
lamer15041913256 has quit [Ping timeout: 248 seconds]
victhor has quit [Ping timeout: 255 seconds]
SP7RT has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
victhor has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
LargePrime has quit [Ping timeout: 246 seconds]
fkluknav has joined #linux-sunxi
clemens3 has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 255 seconds]
LargePrime has joined #linux-sunxi
a|3x has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
icmp8 has quit [Quit: Leaving]
Hao__ has quit [Remote host closed the connection]
Hao__ has joined #linux-sunxi
gnufan has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 240 seconds]
lamer15042039107 has quit [Ping timeout: 260 seconds]
lamer15042039107 has joined #linux-sunxi
gnufan has joined #linux-sunxi
lkcl has joined #linux-sunxi
lamer15042039107 has quit [Ping timeout: 240 seconds]
pmpp_ has joined #linux-sunxi
pmpp has quit [Ping timeout: 248 seconds]
lkcl has quit [Ping timeout: 252 seconds]
SP7RT has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 246 seconds]
gnufan1 has joined #linux-sunxi
gnufan has quit [Ping timeout: 248 seconds]
lkcl has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
dFence has joined #linux-sunxi
<dFence> hey guys! I’m kinda hitting a wall here…
<dFence> I need to boot into an initrd, but I always get a nondescript kernel panic with my image; the same kernel but the debian-installer initrd works fine when built with the same mkimage parameters (http://linux-sunxi.org/Mainline_Debian_HowTo)
<dFence> any ideas what could be wrong?
<inf> Is there any sensible (even hardware-based) way to prevent H3 from booting off MMC0, while still being able to access it?
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
Gerwin_J_ is now known as Gerwin_J
Ntemis has joined #linux-sunxi
pmpp_ is now known as pmpp
<smaeul> dFence: how are you creating the initrd (before you pass it to mkimage)?
<dFence> smaeul: find . | cpio -H newc --create --verbose | gzip -9 > /home/delta/initrd.cpio.gz
leviathan_ has joined #linux-sunxi
<smaeul> inf: 1) use the u-boot pin to force fel boot or 2) use some hardware mechanism to disconnect mmc0 on power-up, and reconnect it from your boot software
<smaeul> the boot order is fixed
<smaeul> dFence: and you're passing the appropriate compression options to mkimage?
<dFence> smaeul: yup, gzip: mkimage -A arm -O linux -T ramdisk -C gzip -a 0x43300000 -n "WOLPR" -d /home/delta/initrd.cpio.gz /home/delta/initrd.img
<smaeul> since you're using an existing directory... make sure executable bits, symlink targets, and shebangs are appropriate
<smaeul> and it would probably be helpful to pastebin the panic message
<dFence> smaeul: I created the directory only to extract the root tarball into it
<dFence> whops, sorry forgot: https://hastebin.com/rapizujime.vbs
<inf> smaeul: forgot to mention i'm booting from SPI flash, so FEL is a no-go. toggling mmc power separately sounds like a plan.
aidin has joined #linux-sunxi
<smaeul> dFence: "root tarball" was this rootfs designed to be an initramfs? is there an executable /init? or is it /linuxrc or /sbin/init or something else?
<dFence> smaeul: it’s /sbin/init (smylink to busybox)
<smaeul> dFence: initramfs need init at /init
jernej has quit [Ping timeout: 255 seconds]
<dFence> hrrrrrng
<dFence> smaeul: is a symlink enough or does it have to be a shell script running exec?
<smaeul> if you're using busybox's sysvinit a symlink should work
fkluknav has quit [Ping timeout: 248 seconds]
<smaeul> if it's a busybox shell script, a symlink should also work
aidin has quit [Ping timeout: 252 seconds]
<dFence> smaeul: what I don’t get: shouldn’t it compile about „no init found“ (or something the likes) rather than no rootfs?
<dFence> *complain
IgorPec has quit [Ping timeout: 260 seconds]
<dFence> -_- never mind, it’s booting and complaining about missing /dev files *itssomething*
<dFence> smaeul: thanks!
fkluknav has joined #linux-sunxi
<dFence> o.O strange… shouldn’t the kernel populate /dev
<pmpp> nope, mount -t tmpfs -o nosuid,mode=0755 udev /dev
<smaeul> or, if you don't have udev, just mount -t devtmpfs dev /dev
fkluknav has quit [Ping timeout: 260 seconds]
<dFence> mh seems that alpine image is very… bare
<pmpp> right can use some failsafe https://pastebin.com/raw/6LiDc7kX
SP7RT_ has joined #linux-sunxi
<dFence> also… can someone please get me the major / minor of /dev/GS0?
<pmpp> hu don't know this one
<dFence> sun5i-r8 uart
<pmpp> ttyGS0 ?
<dFence> o.O
SP7RT has quit [Ping timeout: 260 seconds]
<pmpp> always though GS0 was otg serial
<smaeul> ttyGS0 is USB gadget serial, you want ttyS0
<dFence> d'oh
<pmpp> more failsafes :p https://pastebin.com/raw/ignuhn49
<dFence> thank. you!!!
Mr__Anderson has quit [Remote host closed the connection]
<inf> that's really nice, haven't noticed that before...
Gerwin_J has quit [Quit: Gerwin_J]
leviathan_ has quit [Remote host closed the connection]
akaizen has quit [Quit: Textual IRC Client: www.textualapp.com]
akaizen has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
phipli has quit [Ping timeout: 260 seconds]
ornitorrincos_ is now known as ornitorrincos
ornitorrincos has quit [Changing host]
ornitorrincos has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
LargePrime has quit [Remote host closed the connection]
SP7RT has joined #linux-sunxi
LargePrime has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 260 seconds]
SP7RT has quit [Ping timeout: 248 seconds]
aidin has joined #linux-sunxi
aidin has quit [Read error: Connection reset by peer]
Ntemis has quit [Remote host closed the connection]
aidin has joined #linux-sunxi