Turl changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
zeRez_ has joined #linux-sunxi
zeRez has quit [Ping timeout: 246 seconds]
focus2 has quit [Quit: Leaving]
hramrach has quit [Ping timeout: 240 seconds]
hramrach has joined #linux-sunxi
FR^2 has quit [Quit: und weg...]
techn_ has joined #linux-sunxi
issueat_ has joined #linux-sunxi
techn__ has quit [Ping timeout: 245 seconds]
issueat has quit [Ping timeout: 260 seconds]
adb_ has quit [Ping timeout: 252 seconds]
zeRez has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
zeRez_ has quit [Ping timeout: 272 seconds]
Md has quit [Quit: Is this not what you expected to see?]
issueat_ has quit [Remote host closed the connection]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
zeRez_ has joined #linux-sunxi
zeRez has quit [Ping timeout: 245 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
<ganbold_> naobsd: ping
<ganbold_> naobsd: if you have time can you test emac on cb1 or cb2 using netperf?
<ganbold_> or anyone have netperf test results for emac?
<naobsd> some days ago I tried iperf with allwinner's emac driver on cb2
TheSeven has quit [Disconnected by services]
<naobsd> probably it was around 90Mbps or so
[7] has joined #linux-sunxi
<naobsd> not sure, I'll check tonight
<ganbold_> thanks
pfdm has quit [Ping timeout: 250 seconds]
zeRez_ has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
Black_Horseman has quit [Remote host closed the connection]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Quarx has joined #linux-sunxi
eebrah has joined #linux-sunxi
Taduro___ has joined #linux-sunxi
Sonicadvance1 has quit [Ping timeout: 272 seconds]
Taduro has quit [Ping timeout: 260 seconds]
eebrah has quit [Ping timeout: 245 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 272 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 265 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
deasy has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 264 seconds]
AreaScout has joined #linux-sunxi
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
enrico_ has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
y0g1 has joined #linux-sunxi
gzamboni has quit [Read error: Connection reset by peer]
<y0g1> hello, can anybody share linux kernel config for cubietruck and linux-3.13-rc ?
Quarx has quit []
eebrah has quit [Ping timeout: 252 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
n01 has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
n01 has quit [Ping timeout: 272 seconds]
eebrah has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
<y0g1> do I need to update u-boot to use linux-3.13-rc2?
eebrah has quit [Ping timeout: 261 seconds]
eebrah has joined #linux-sunxi
paulk-collins has quit [Quit: Ex-Chat]
<tomboy64> i created an image with debian wheezy - and it boots to the console. however, when i try to load lcd, sunxi_gmac and ump it doesn't do anything, just puts the cursor to the next line and keeps blinking (e.g. doesn't return)
<tomboy64> lsmod on another tty shows the modules as loaded, though
eebrah has quit [Ping timeout: 272 seconds]
<tomboy64> with gpio_sunxi and hdmi it seems to load (modprobe returns without error message) but lsmod shows nothing
eebrah has joined #linux-sunxi
<tomboy64> i used the kernel from github.com/cubieboard/linux-sunxi.git with the cubietruck_defconfig
<tomboy64> dmesg doesn't give any hints either
hramrach has quit [Ping timeout: 240 seconds]
hramrach has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
notmart has joined #linux-sunxi
notmart has quit [Changing host]
notmart has joined #linux-sunxi
eebrah has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
notmart has quit [Client Quit]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
fredy has quit [Excess Flood]
eebrah has quit [Read error: Connection reset by peer]
fredy has joined #linux-sunxi
rz2k has joined #linux-sunxi
jinzo has joined #linux-sunxi
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
libv_ has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
libv has quit [Ping timeout: 260 seconds]
maz_ has joined #linux-sunxi
eebrah has joined #linux-sunxi
Taduro___ has quit [Read error: Connection reset by peer]
Taduro has joined #linux-sunxi
adb_ has joined #linux-sunxi
eebrah has quit [Ping timeout: 272 seconds]
eebrah has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
<lkcl> tomboy64: if you've not done anything like this before it might *appear* that quotes nothing is happening quotes
<lkcl> the general rule in UNIX is, "no error, no output"
wingrime has joined #linux-sunxi
<lkcl> it is assumed that you do not wish to be distracted nor insulted by time-wasting messages such as "it worked! hooray!" :)
<lkcl> so. let's go through the list.
eebrah has quit [Read error: Connection reset by peer]
<lkcl> tomboy64: first you wanted i assume to get ethernet working (otherwise you would not have tried modprobe sunxi_gmac)
<lkcl> so then try "ifconfig -a"
<lkcl> that will show *all* network interfaces, not just the ones that you haven't yet properly set up in /etc/network/interfaces
<eagles0513875> hey guys i have a question im trying to find the command i need to issue to be able to create a bootable micro sd for my cubieboard 2
<lkcl> also try using "ip link" whilst plugging and unplugging the network - you should see status changes DOWN or UP
<lkcl> eagles0513875: commands plural.
<eagles0513875> lkcl: exactly where can i find the documentation on the commands i need to issue
eebrah has joined #linux-sunxi
<lkcl> eagles0513875: let's go through that lot together and see what it comes up with ok?
<lkcl> ok so this
<lkcl> links to...
<lkcl> that...
<lkcl> let's take a look...
<eagles0513875> ok
<eagles0513875> lkcl: let me clarify im trying ot setup build root on my microsd card
<lkcl> well that's a bit shit - it's a dirty-great image, i personally find those to be a complete pain
<eagles0513875> im not going for a fully fledged distro
<eagles0513875> i just want a root environment
<lkcl> and, yes, for your purposes, because you want to do something "different" they're not particularly helpful
<lkcl> exactly.
<lkcl> i wish people would stop fucking around with these "pre-prepared" images and create debian installer initrds instead
<lkcl> or any-other-os installers
<eagles0513875> i had seen something but it was for the cubieboard 1
<lkcl> eagles0513875: so you have one option: get that image, dd it on, then remove the OS files
<lkcl> the front of the sd card (which contains the important boot bits) will have been "prepped" for you
<eagles0513875> :-/ i created teh images some how using build root itself
<lkcl> oh, you did? oh cool.
<lkcl> what format?
<lkcl> is it a filesystem "image", a disk "image", or just a .tar.bz2 or other tar archive of a filesystem?
<eagles0513875> lkcl: thats what im trying to find
<lkcl> it's important that you know the difference.
<lkcl> then use "file" to find out :)
<eagles0513875> i cant find the command i did to create it
<lkcl> tsk tsk
<lkcl> :)
<lkcl> history?
<lkcl> use "file" ok?
<lkcl> file {insert image-name}
<lkcl> it'll tell you what type of file it is. amazingly.
<eagles0513875> sadly lkcl the imac i did it on using a linux vm the hard disk failed
<lkcl> aaawesoome.
rellla3 has joined #linux-sunxi
<eagles0513875> lkcl: there is this http://linux-sunxi.org/Buildroot but the cubieboard 2 has the A20 not the A10
<lkcl> eagles0513875: if someone's already done it once then it's always possible to update and adapt
<lkcl> ok i gotta go to lunch ok?
<lkcl> tomboy64: those kernel modules which are already built-in don't appear in lsmod
<maz_> mripard_: small timer patch coming your way...
<lkcl> tomboy64: also if you do "ls /dev/fb*" you should see some framebuffer devices. you can always do "echo garbage > /dev/fbN" and see what happens.
<lkcl> lunch
<lkcl> bye!
<eagles0513875> anyone have experience with the cubieboard 2 and build root in here?
<[7]> is latest sunxi-3.4 supposed to work well with android?
Taduro has quit [Read error: Connection reset by peer]
Black_Horseman has quit [Ping timeout: 245 seconds]
maz_ has quit [Ping timeout: 246 seconds]
Taduro has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
rellla3 has quit [Ping timeout: 260 seconds]
nove has joined #linux-sunxi
eebrah has quit [Ping timeout: 260 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
TomiK|2 has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
TomiK has quit [Ping timeout: 252 seconds]
eebrah has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: .]
hipboi has quit [Read error: Connection timed out]
hipboi has joined #linux-sunxi
eebrah has quit [Ping timeout: 272 seconds]
eebrah has joined #linux-sunxi
<wingrime> hipboi: ping
eebrah has quit [Ping timeout: 252 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
<tomboy64> lkcl: the modules are not loaded and ifconfig -a shows only lo and tunl0
<tomboy64> lkcl: and modinfo does not not print out anything, it just gets stuck. the tty is not usable anymore.
eebrah has quit [Read error: Connection reset by peer]
<tomboy64> lkcl: and fb0 is indeed usable; cat'ting /dev/urandom at it fills the whole screen with snow
<eagles0513875> hey guys
<eagles0513875> any devs in here that working on the build root script for the cubieboard 2
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
techn__ has joined #linux-sunxi
ssvb has joined #linux-sunxi
techn_ has quit [Ping timeout: 265 seconds]
maz_ has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<libv_> ssvb: !!!
libv_ is now known as libv
<libv> ssvb: you returned among the living
<ssvb> hi libv
<libv> :)
<mnemoc> wb ssvb!
deasy has joined #linux-sunxi
<Turl> y0g1: unless you have an ancient uboot, there's no need to upgrade it
<Turl> (and by that I mean, like, 1-2y old)
<Turl> y0g1: as for configs, you can start with multi_v7_defconfig
<mnemoc> isn't there a sunxi_defconfig on upstream too?
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
Taduro has quit [Read error: No route to host]
Taduro has joined #linux-sunxi
deasy has joined #linux-sunxi
y0g1 has quit [Ping timeout: 272 seconds]
nove has quit [Quit: nove]
y0g1 has joined #linux-sunxi
<Turl> mnemoc: yes, but it's very very minimalistic
y0g1 has quit [Read error: Connection reset by peer]
y0g1 has joined #linux-sunxi
rellla3 has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
<mnemoc> Turl: uhm... I thought it multi_v7 was even more spartan
<mnemoc> s/it //
y0g1 has quit [Remote host closed the connection]
<Turl> mnemoc: I believe it has networking and other stuff
<mnemoc> and sunxi_ doesn't????
y0g1 has joined #linux-sunxi
<Turl> mnemoc: ah, it does too now that I look at it
pfdm has joined #linux-sunxi
n01 has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Quarx has joined #linux-sunxi
Quarx has quit [Read error: No route to host]
rellla3 has quit [Remote host closed the connection]
deasy has quit [Remote host closed the connection]
n01 has quit [Ping timeout: 246 seconds]
n01 has joined #linux-sunxi
n01 has quit [Remote host closed the connection]
n01 has joined #linux-sunxi
deasy has joined #linux-sunxi
Taduro has quit [Ping timeout: 260 seconds]
wingrime has quit [Ping timeout: 246 seconds]
tzafrir has quit [Ping timeout: 252 seconds]
Sonicadvance1 has joined #linux-sunxi
gzamboni has joined #linux-sunxi
<mnemoc> :)
issueat has joined #linux-sunxi
popolon has joined #linux-sunxi
rellla3 has joined #linux-sunxi
Md has joined #linux-sunxi
fredy has quit [Quit: ZNC - http://znc.sourceforge.net]
fredy has joined #linux-sunxi
focus2 has joined #linux-sunxi
tomboy64 has quit [Remote host closed the connection]
focus2 has quit [Quit: Leaving]
Taduro has joined #linux-sunxi
<hramrach> hello :)
<hramrach> mnemoc: maybe time to renew sunxi-devel branch?
<hramrach> we have some drivers not upstream that work on mainline now :)
rellla3 has quit [Remote host closed the connection]
<hno> hramrach, nice. Wich ones?
<hramrach> the ahci one and gmac. there are even two versions of gmac
<hramrach> hmm, can't even build kernel with the usb driver
<mnemoc> hramrach: Turl maintains that branch :(
geecko has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
tomboy64 has joined #linux-sunxi
<[7]> to what degree does android need mali?
n01 has quit [Ping timeout: 264 seconds]
<hramrach> it does not so long as you have 4" or smaller screen or somesuch
<hramrach> technically g2d acceleration is still available but no idea if that's used and if the system picks the accel type or it depends on the function the application calls
tzafrir has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<[7]> which kernel module do I need to get ethernet up and running on A20 EMAC?
<[7]> (on sunxi-3.4)
<hramrach> why is it not builtin?
<[7]> no idea, but I don't have eth0 in /proc/net/dev
<hramrach> what kernel did you use?
keebler has joined #linux-sunxi
<[7]> hm, actually it's currently running on some messy 3.3 from the allwinner sdk
<[7]> but I'm pondering to swap that out for sunxi-3.4
<[7]> is that branch supposed to work well with android 4.2?
<hramrach> nobody tried, really
<[7]> well is it supposed to work in theory at least?
<[7]> or does android need something fundamentally different?
<hramrach> 3.3 and 3.4 is almost the same
<hramrach> but with SDK that came with 3.0 or something came a compiler that would not build 3.4
<[7]> IIUC android depends on some special patches for the kernel
<[7]> are those included in sunxi-3.4?
<hramrach> probably. it has some android drivers
<[7]> ok. I'm just gonna try it then.
Black_Horseman has joined #linux-sunxi
Taduro___ has joined #linux-sunxi
Taduro has quit [Ping timeout: 245 seconds]
<hno> [7], linux-sunix kernel is based on Android kerenel.
<[7]> ok, good to know
* [7] wonders what's more reasonable: sunxi-3.4 sun7i_defconfig or the .config from the SDK... they're VASTLY different
tomboy64 has quit [Remote host closed the connection]
<Md> rm: I installed your "server" kernel, but free still reports only 834152 kb of RAM. Do I need a different script.bin?
tomboy64 has joined #linux-sunxi
<rm> Md, maybe you didn't
<rm> what does "uname -a" show?
<Md> rm: 3.4.67-r0-v-rm2+ #155. I managed to free 175 MB by setting the video-related parameters from http://linux-sunxi.org/Kernel_arguments
<Md> I wrote a guide which shows how to install a sunxi system (specifically, a Cubieboard) from scratch without using cross-compilers, qemu or a FAT partion. comments are welcome: http://www.bofh.it/~md/sunxi.html
<rm> that's no the server kernel, "-v-" indicates a "video" kernel
<Md> rm: also, do you mind adding the GPT partition table module to your kernel? it is very useful for a NAS...
<rm> not the *
<Md> shame on me then :-(
<Turl> hramrach: once they're on the list ping me and I'll pick them up
<rm> Md, "CONFIG_EFI_PARTITION=y"
<Turl> I need to refresh it now that -rcN started again
<rm> GPT should be supported
paulk-collins has joined #linux-sunxi
<Md> maybe this is a sunxi-specific issue then?
<Md> [ 15.016724] Dev Sunxi softw411 sda header bad for all MBR copies, MBR corrupted or not present.
<Md> [ 15.028384] sda: unknown partition table
<Turl> why is it using the aw mbr on a sata disk?
<Turl> (or whatever non-nand thing)
<Md> it's a USB disk, BTW
<hno> [7], linux-sunxi defconfig is a bit more generic than the SDK only-android-matters-and-only-on-tablets one.
<Turl> besides some of our drivers have been unified and therefore config names have changed
AreaScout has quit []
<hno> Md what partition table types have you enabled in your kernel?
<Md> hno: it's rm's kernel
<Md> but I can see that I had the same issue with the 3.0.76 one from the hwpack
<hno> Md, you don't want to dd over the mmc. Better to do a TRIM.
<hno> Md, a guess is that the AW partition code comes before GPT and fails in such manner that no other is tried..
<Md> hno: good point
<hramrach> Turl: I can give you a branch.
<Md> but I see that fstrim fails on the cubieboard, does a SD actually support TRIM this way?
<hramrach> Turl: and how do you tell the disk is a nand at block layer? It's just a block device so you scan it for every partitioning scheme you know. And when you loop-mount your nand backup image it gets the partitions scanned as well
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 240 seconds]
<hramrach> hmm, actually excluding the top patches regarding leds
<hramrach> I was trying those on top because I finally got a block device
tomboy64 has joined #linux-sunxi
<hramrach> hno: each partitioning scheme is tried in turn
<rm> Md, I wonder why do you recommend that people mkimage an uImage themselves
<rm> I upload it next to the .deb
<Md> rm: why not? this saves a download and now I will add sunxi support to the flash-kernel package
<rm> "the plan" is to some day integrate uImage into the deb itself
<rm> ok
<Md> rm: no, flash-kernel does this on Debian systems
<rm> I was thinking just to make kernel-package carry one extra file to /boot
<Md> if you are interested in making a more debian-like kernel package then I suggest that you replace make-kpkg with the debian kernel team's debianization
<hramrach> as you can see here: https://github.com/hramrach/linux-sunxi/blob/09aed0435cc0483e72d580d7a418c1f299583651/block/partitions/check.c msdos comes before sunxi and gpt is either hidden in msdos or efi
<Md> hramrach: I was looking at check.c indeed, does it use a "last match wins" logic?
Black_Horseman has quit [Quit: Αποχώρησε]
<hramrach> it uses first mach wins - you see the notes about some layouts being placed before msdos
<Md> then I do not understand why GPT is not recognized since sunxi_nand*_partition are last
<hramrach> anyway, the AW scheme does not match so whatever order is tried does not matter
<hno> Md, worked for me when I last tried.
<Md> can you see a workaround or do I have to wait for the fix?
<Md> hno: fstrim: /: FITRIM ioctl failed: Operation not supported
<Md> (with rm's kernel)
Black_Horseman has joined #linux-sunxi
<hramrach> Md: do you have GPT support compiled in?
<hno> Md, which filesystem?
<Md> hno: a luks device, actually
<Md> hramrach: yes, it's rm's kernel which has it
<Md> hno: no, ignore
<hno> blkdiscard is more appropriate for erasing a card before partitioning.
<Md> hno: it's just ext4
<hramrach> I would not expect anything that goes over USB support trim
<Md> hramrach: no, this uses the built-in SD reader. so mmcblk*
<hramrach> never tried trim on that. Would not expect SD cards to support that
<hramrach> it's an ATA command after all, not mmc
<hno> MMC have a similar operation "WRITE SAME".
<hno> Err, memory failure. WRITE SAME is the iSCSI one. MMC/SD have ERASE.
<hramrach> hmm, I don't have anything running sunxi kernel atm so can't test coexistence of sunxi and gpt partitioning
<hramrach> but don't see any reason why that in particular would fail
<hramrach> there is like dozen partitioning schemes in distro kernels and they work
<Md> hramrach: I will try any test you feel are appropriate...
<hramrach> if you really want to get test if it's the sunxi partitioning scheme you can build a kernel without it
<hno> Md, luks by design do not support TRIM (or any other operation that would leave gaps in the used space)
<hno> but should work if it's ext4.
<hno> bare.
<Md> hno: actually it does (not by default but there is a discard option you can use with some caveats), but I am not using luks for the root
<Md> hramrach: it's not a bug, the disk label is not recognized on my laptop either. the only explanation I can think is that the failing sheevaplug corrupted it
<hno> Md, interesting. Did not think the luks people would accept doing trim/discard.
* hno wonders if there now also is the option of not automatically prefilling the device with encrypted garbage.
rz2k has quit []
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
pfdm has quit [Ping timeout: 250 seconds]