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
TheSeven has quit [Ping timeout: 268 seconds]
TheSeven has joined #linux-sunxi
<lennyraposo> solved the audio issue
tipo has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
vagrantc has quit [Quit: leaving]
ninolein_ has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<lennyraposo> posted the fix on the pine forums
<lennyraposo> longsleep if you are about message me
<lennyraposo> if not check under the Pine 64 Forums (Debian section) for my audio fix
<lennyraposo> it was PulseAudio the whole time ;)
<lennyraposo> ok
<lennyraposo> now time for some background and fact checking
<lennyraposo> need to learn about the mali and binary driver usage in linux quick like ;)
<lennyraposo> anyone here have any insight in the matter?
<lennyraposo> let me know ;)
nieuwbie has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
megi has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
oneinsect_ has joined #linux-sunxi
Shirasaka-Hazumi has quit [Ping timeout: 246 seconds]
p1u3sch1 has quit [Ping timeout: 276 seconds]
p1u3sch1_ has joined #linux-sunxi
Shirasaka-Hazumi has joined #linux-sunxi
<lvrp16> ssvb: how much harder are the round 1 questions compared to qualifications?
<lennyraposo> are we talking about Google contest?
<lennyraposo> competition?
<oneinsect_> lvrp16: how is it going
<oneinsect_> competiting for the contest is it?
cosm_ has quit [Quit: Leaving]
orly_owl has quit [Ping timeout: 276 seconds]
orly_owl has joined #linux-sunxi
zuikis has joined #linux-sunxi
olerem has joined #linux-sunxi
cptG_ has joined #linux-sunxi
cptG has quit [Ping timeout: 268 seconds]
orly_owl has quit [Ping timeout: 260 seconds]
orly_owl has joined #linux-sunxi
IgorPec has joined #linux-sunxi
orly_owl has quit [Ping timeout: 268 seconds]
orly_owl has joined #linux-sunxi
alain__ has joined #linux-sunxi
<alain__> Hi, I'm getting from time to time a bunch of the following messages (Opi Plus running 3.4.39), is this somehow normal or indicating an issue with my sd card?
<alain__> [472950.172293] mmc2:mmc_do_erase: erase from 15067136 to 15308799 arg 0x00000003
<alain__> [472950.181960] -mmc_blk_issue_discard_rq,1821
<alain__> (come to think about it, there is no sd card, I'm running off the eMMC)
<KotCzarny> alain: isnt your emmc mmc2 ?
alain__ has quit [Ping timeout: 250 seconds]
mosterta has joined #linux-sunxi
tipo has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
mossroy has joined #linux-sunxi
<oneinsect_> NiteHawk: still here
<oneinsect_> Mounting modloop /media/mmcblk0p1/boot/modloop-sunxi ...mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
<oneinsect_> i am getting that error
alain__ has joined #linux-sunxi
<oneinsect_> setenv bootargs /boot/vmlinuz-4.6.0-rc1-sunxi modules=loop,squashfs,sd-mod,usb-storage modloop=/boot/modloop-sunxi
<oneinsect_> those are the boot args i am passing
<KotCzarny> what does the last lines of dmesg say?
<oneinsect_> the modloop-sunxi file is present
<oneinsect_> i cant get dmesg
<oneinsect_> i still cannot get to the prompt
zuikis has quit [Ping timeout: 248 seconds]
<oneinsect_> modloop is my squashfs file which contains
<KotCzarny> and you are sure that file is ok? ie. mounts fine on another box?
<oneinsect_> firmware etc
<KotCzarny> and your kernel supports the same squashfs options/versions ?
mosterta has quit [Ping timeout: 260 seconds]
zuikis has joined #linux-sunxi
<KotCzarny> also, earlier it says that /lib/modules is unavailable, which suggests you should compile loop module INTO the kernel, not as module
<oneinsect_> ooh
<oneinsect_> i am supposing the armbian kernel does support the squashfs
<KotCzarny> remember squashfs can be made with different versions/features
<oneinsect_> yes modules folder is there in the squashfs file system
<oneinsect_> version 4.0
<oneinsect_> or above is what i am using
<oneinsect_> is there is an option i have to set to compile loop module into the kernel?
<oneinsect_> Linux version 4.6.0-rc1-sunxi is my kernel
alain__ has quit [Ping timeout: 244 seconds]
<oneinsect_> strange its not mounting modloop file
<KotCzarny> if you can edit boot scripts, try adding some debug, ie. cat /proc/filesystems, lsmod etc
<KotCzarny> so you will at least know squashfs really is available
<oneinsect_> hmmm
<KotCzarny> * Loading modules ...modprobe: can't change directory to '/lib/modules': No such file or directory
<KotCzarny> this means your initrd/initramfs doesnt include modules subdir
<KotCzarny> Image Name: initramfs-grsec
<oneinsect_> well i have 3 files
<KotCzarny> this one. check if it includes squashfs.ko
<KotCzarny> if not, recompile kernel and make sqfs compiled in instead of a module
<oneinsect_> initramfs file, modloop and vmlinuz
<oneinsect_> yes
<oneinsect_> let me check
<KotCzarny> or just move squashfs.ko into proper place in that initramfs
zuikis has left #linux-sunxi [#linux-sunxi]
zuikis has joined #linux-sunxi
orly_owl has quit [Read error: Connection reset by peer]
orly_owl has joined #linux-sunxi
<oneinsect_> KotCzarny: i do have squashfs
jernej has joined #linux-sunxi
<oneinsect_> squashfs.ko
<oneinsect_> it is there in my modloop file
<oneinsect_> which is not loading
<KotCzarny> chiecken and egg :P
<oneinsect_> i guess i need to first enable into kernel
<oneinsect_> isnt it?
<KotCzarny> move it to initramfs or recompile kernel
<oneinsect_> initramfs?
<oneinsect_> hmmm
<oneinsect_> may be i can just compile loop module INTO the kernel, not as module
<oneinsect_> what options are to be set for that?
<KotCzarny> you need both
<oneinsect_> in config file?
<KotCzarny> CONFIG_SQUASHFS=y
<KotCzarny> CONFIG_BLK_DEV_LOOP=y
<oneinsect_> okie let me fireup armbian
<oneinsect_> vm
mosterta has joined #linux-sunxi
<oneinsect_> okie enabled squashfs 4.0 in misc under filesystems
<oneinsect_> i wonder where blk_dev_loop
<oneinsect_> is
orly_owl has quit [Ping timeout: 268 seconds]
orly_owl has joined #linux-sunxi
<NiteHawk> oneinsect_: "Device drivers" -> "Block devices" -> "Loopback device support"
<oneinsect_> excellent NiteHawk: got it
<oneinsect_> recompiling
alain__ has joined #linux-sunxi
fredy has quit [Excess Flood]
<oneinsect_> same error
alain__ has quit [Ping timeout: 248 seconds]
Netlynx has joined #linux-sunxi
fredy has joined #linux-sunxi
<KotCzarny> did you check that ramdisk mounts fine?
<oneinsect_> yes this is what am doing
<oneinsect_> setenv machid 1029
<oneinsect_> setenv bootargs /boot/vmlinuz-4.6.0-rc1-sunxi modules=loop,squashfs,sd-mod,usb-storage modloop=/boot/modloop-sunxi
<oneinsect_> load mmc 0:1 0x43000000 sun8i-h3-orangepi-pc || load mmc 0:1 0x43000000 boot/dtbs/sun8i-h3-orangepi-pc.dtb
<oneinsect_> load mmc 0:1 0x42000000 vmlinuz-4.6.0-rc1-sunxi || load mmc 0:1 0x42000000 boot/vmlinuz-4.6.0-rc1-sunxi
<oneinsect_> load mmc 0:1 0x45000000 boot/initramfs-grsec.uImage
<oneinsect_> bootz 0x42000000 0x45000000 0x43000000
<oneinsect_> everything loads till it says
<oneinsect_> * Mounting modloop /media/mmcblk0p1/boot/modloop-sunxi ...mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
<KotCzarny> as i said, try to mount that file on another machine
<oneinsect_> hmmmmm
<oneinsect_> alrite
<oneinsect_> let me
mosterta has quit [Ping timeout: 252 seconds]
mosterta has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
apritzel has joined #linux-sunxi
mosterta has quit [Ping timeout: 250 seconds]
mosterta has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
<oneinsect_> strange
<oneinsect_> i still see squashfs.ko in modules folder
<oneinsect_> even after i select option y
<oneinsect_> and compile
<oneinsect_> in armbian
<oneinsect_> wonder what could be wrong
<oneinsect_> KotCzarny:
<oneinsect_> any ideas?
iamfrankenstein has joined #linux-sunxi
alain__ has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
alain__ has quit [Ping timeout: 244 seconds]
<KotCzarny> maybe it uses some other config or calls defconfig to build if you rebuild via script?
<KotCzarny> go into kernel subdir do make menuconfig then rebuild only kernel and compare if it works
olerem has quit [Ping timeout: 264 seconds]
mosterta has quit [Ping timeout: 268 seconds]
<oneinsect_> okie
<oneinsect_> progress forward
<oneinsect_> progressed*
<oneinsect_> i am still yet to get a prompt
<oneinsect_> great
<oneinsect_> got my distro up
<oneinsect_> thanks everyone
<oneinsect_> for the help
<oneinsect_> KotCzarny: it was lack of loading of squashfs module
<oneinsect_> chicken and egg problem as you said
Netlynx has quit [Quit: Leaving]
diego71_ has quit [Ping timeout: 248 seconds]
alain__ has joined #linux-sunxi
alain__ has quit [Ping timeout: 248 seconds]
diego71 has joined #linux-sunxi
rico_2016 has joined #linux-sunxi
fredy has quit [Excess Flood]
olerem has joined #linux-sunxi
fredy has joined #linux-sunxi
diego71 has quit [Ping timeout: 264 seconds]
Seppoz has quit [Remote host closed the connection]
diego71 has joined #linux-sunxi
reinforce has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft1 is now known as cnxsoft
alain__ has joined #linux-sunxi
apritzel has joined #linux-sunxi
alain__ has quit [Ping timeout: 244 seconds]
jstein has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
vpeter has quit [Remote host closed the connection]
alain__ has joined #linux-sunxi
alain__ has quit [Ping timeout: 240 seconds]
scream has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
mosterta has joined #linux-sunxi
alain__ has joined #linux-sunxi
alain__ has quit [Ping timeout: 260 seconds]
tomboy64 has quit [Ping timeout: 268 seconds]
megi has joined #linux-sunxi
mosterta has quit [Ping timeout: 244 seconds]
cnxsoft has quit [Quit: cnxsoft]
IgorPec has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
tomboy64 has quit [Ping timeout: 248 seconds]
nieuwbie has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
<nieuwbie> hey guys, I have a problem with retriving script.fex
<nieuwbie> when i convert my script.bin to script.fex I get blank file
tomboy64 has quit [Ping timeout: 248 seconds]
<KotCzarny> get newer sunxi-fex?
<KotCzarny> got any errors?
<nieuwbie> well not exactly
<nieuwbie> only version number messed up
<nieuwbie> and I have the newest
<KotCzarny> upload the file somewhere?
<nieuwbie> thats the thing downloaded script while ago and compared it to inet-3f and inet97f-ii
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
tomboy64 has joined #linux-sunxi
<nieuwbie> and my board inet-3f looks like inet87f-ii so I wanted to make sure if the old script is actually from my board
apritzel has joined #linux-sunxi
<nieuwbie> ok, solved - I love fex!
ricardocrudo has quit [Ping timeout: 260 seconds]
<nieuwbie> that's what i thought mine revision 06 differs
tomboy64 has quit [Ping timeout: 240 seconds]
bwarff has quit [Ping timeout: 240 seconds]
alain__ has joined #linux-sunxi
alain__ has quit [Ping timeout: 248 seconds]
<willmore> nieuwbie, share with us what happened?
tomboy64 has joined #linux-sunxi
<nieuwbie> willmore: How do you mean?
<nieuwbie> Well, basically I want to write dts for inet-3f and I was checking my old fex script to figure out the values I have to provide for kernel - I compared them with inet_3f.fex in sunxi-boards - it difference a bit.
<nieuwbie> there are also missing values in my fex
<NiteHawk> nieuwbie: you first said you were unable to convert script.bin to fex (using sunxi-fexc i assume), and later said "ok, solved". we'd like to know what happened inbetween / how you solved it
<NiteHawk> in particular: did sunxi-fexc work as expected in the end, or not?
<nieuwbie> NiteHawk: Forgive me, I used alternative script retrival method - uart and press one in serial console got me original android partitions detection and mouting
<nieuwbie> NiteHawk: I used ./sunxi-fel to retrieve script.bin e. g. ./sunxi-fel read 0x43000000 0x20000 script.bin
<nieuwbie> No errors
IgorPec has joined #linux-sunxi
<nieuwbie> then I used ./bin2fex and have got script.fex which seems to be blank
<nieuwbie> with output like this: fexc-bin: script.bin: version: -404840454.-1074397186.-1073906177
<nieuwbie>
IgorPec has quit [Ping timeout: 244 seconds]
vpeter has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 244 seconds]
vpeter has joined #linux-sunxi
<NiteHawk> nieuwbie: so? that looks like you're starting with a corrupted/invalid script.bin
<nieuwbie> NiteHawk: Why do you think that? I took script.bin from nand
<NiteHawk> because that version information makes no sense?
<nieuwbie> true - but that version is from ./sunxi-fel read ... then I used alternative method to retrieve script from nanda
alain__ has joined #linux-sunxi
<nieuwbie> then I've got proper fex, and compared it to inet_3f.fex file - they differ a bit
rico_2061 has joined #linux-sunxi
rico_2016 has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
alain__ has quit [Ping timeout: 248 seconds]
doppo has quit [Ping timeout: 268 seconds]
doppo has joined #linux-sunxi
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
rico_2061 has quit [Ping timeout: 250 seconds]
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
<nieuwbie> can anybody tell me where do you define the dram clock freq in dts?
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
IgorPec has joined #linux-sunxi
olerem has quit [Ping timeout: 260 seconds]
olerem has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
IgorPec has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has joined #linux-sunxi
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
JohnDoe7 has joined #linux-sunxi
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Max SendQ exceeded]
rico_2016 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 244 seconds]
rico_2016 has quit [Max SendQ exceeded]
rico_2016 has joined #linux-sunxi
rico_2016 has quit [Ping timeout: 264 seconds]
mosterta has joined #linux-sunxi
doppo has quit [Ping timeout: 246 seconds]
doppo has joined #linux-sunxi
mosterta has quit [Ping timeout: 268 seconds]
alain__ has joined #linux-sunxi
alain__ has quit [Ping timeout: 240 seconds]
IgorPec has joined #linux-sunxi
Netlynx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
IgorPec has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
olerem has quit [Ping timeout: 264 seconds]
doppo has quit [Ping timeout: 264 seconds]
doppo has joined #linux-sunxi
alain__ has joined #linux-sunxi
megi has quit [Ping timeout: 250 seconds]
olerem has joined #linux-sunxi
alain__ has quit [Ping timeout: 250 seconds]
<lennyraposo> longsleep
<lennyraposo> another fix for audio
<lennyraposo> multiple streams using ALSA - No pulseaudio ;)
p1u3sch1_ has quit [Ping timeout: 248 seconds]
p1u3sch1 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
bonbons has joined #linux-sunxi
<nieuwbie> can anybody take a look at my dts and fex?
<nieuwbie> my dts: : http://pastebin.com/kbNLipNT
<nieuwbie> and my script.fex: : http://pastebin.com/XLpRu7SQ
apritzel has joined #linux-sunxi
oneinsect_ has quit [Quit: Page closed]
IgorPec has joined #linux-sunxi
<montjoie> hello I have just updated my sun8i-emac branch with proper patch for phy regulator of opi plus
<ssvb> nieuwbie: there is no dram clock freq in dts, it is configured in u-boot defconfig
alain__ has joined #linux-sunxi
alain__ has quit [Ping timeout: 264 seconds]
fl_0 has quit [Ping timeout: 250 seconds]
fl_0 has joined #linux-sunxi
cptG has joined #linux-sunxi
cptG_ has quit [Ping timeout: 260 seconds]
alain__ has joined #linux-sunxi
alain__ has quit [Client Quit]
alain__ has joined #linux-sunxi
<alain__> montjoie: thanks for your work on this driver and for adapting to the opi plus, will test and let you know how it goes
<nieuwbie> ssvb: Thank you.
ricardocrudo has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 250 seconds]
p1u3sch1 has joined #linux-sunxi
alain__ has quit [Quit: leaving]
ricardocrudo has quit [Ping timeout: 244 seconds]
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 276 seconds]
ricardocrudo has joined #linux-sunxi
gzamboni has quit [Read error: Connection reset by peer]
JohnDoe7 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
p1u3sch1 has quit [Ping timeout: 260 seconds]
p1u3sch1 has joined #linux-sunxi
kaspter1 has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
avph has quit [Ping timeout: 246 seconds]
avph has joined #linux-sunxi
mossroy has quit [Quit: Quitte]
zuikis has left #linux-sunxi [#linux-sunxi]
jernej has quit [Quit: Konversation terminated!]
<nieuwbie> Hey I supplied config for my new revision in u-boot/configs defined in it CONFIG_DEFAULT_DEVICE_TREE
<nieuwbie> and make can't still compile my sun4i-a10-inet-3f-rev06.dts
<nieuwbie> complains that Device Tree Source is not correctly specified
<NiteHawk> nieuwbie: check your { }, in the pastebin you gave &pio seems not to be balanced / closed properl
<NiteHawk> ..properly
olerem has quit [Ping timeout: 250 seconds]
<nieuwbie> Indeed. Missed that.
<nieuwbie> The same error.
ricardocrudo has quit [Ping timeout: 244 seconds]
ricardocrudo has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
apritzel has quit [Ping timeout: 244 seconds]
avph has quit [Ping timeout: 246 seconds]
ricardocrudo has quit [Ping timeout: 260 seconds]
ricardocrudo has joined #linux-sunxi
avph has joined #linux-sunxi
apritzel has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
tomboy64 has quit [Ping timeout: 240 seconds]
ricardocrudo has quit [Ping timeout: 276 seconds]
tomboy65 has joined #linux-sunxi
<NiteHawk> nieuwbie: you need to take much more care in writing the dts - there's a multitude of inaccuracies and typos in there. e.g. "sunxi-a10.dtsi" doesn't exist, you want "sun4i-a10.dtsi". dtc will give you the approximate error position as <line>.<from-to>, the latter being columns
<nieuwbie> NiteHawk: Your right.
<nieuwbie> First I forgot to add sun4i-a10-inet=3f-rev06.dtd to arch/arm/dts/Makefile
<nieuwbie> Then I've got that sun4i-a10.dtsi error
<NiteHawk> i also spotted several typos on "pinctrl" and missing ;
<nieuwbie> I fixed it too. ^_^
<nieuwbie> It's my first time writing something like that.
<nieuwbie> and I had no feedback from dtc
reinforce has quit [Quit: Leaving.]
orly_owl has quit [Quit: leaving]
orly_owl has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
scream has quit [Remote host closed the connection]
<nieuwbie> NiteHawk: hehe kernel boots!
bwarff has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
orly_owl has joined #linux-sunxi
orly_owl has quit [Ping timeout: 240 seconds]