Turl changed the topic of #linux-sunxi to: All systems go! // 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
akaizen_ has joined #linux-sunxi
viccuad has quit [Quit: WeeChat 1.0.1]
akaizen has quit [Ping timeout: 245 seconds]
eagles0513875 has quit [Quit: ZNC @ TrekWeb - https://trekweb.org]
linkmauve1 has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
simosx has quit [Quit: Leaving]
<mturquette> mripard_: is it divide by zero issues in sun4i_a10_get_mod0_factors and divider_get_value?
<Turl> mturquette: I believe the logs you pasted here some time ago were div by 0 ones
naobsd has joined #linux-sunxi
<mturquette> Turl: right. i'm trying to see if that problem i posted about here is the same one that mripard_ and ojn were discussing.
<mturquette> i'm just going into a conference meeting now, i'll check back in later today.
<Turl> ah
<Turl> that I don't know
FreezingCold has quit [Ping timeout: 265 seconds]
wenbin has joined #linux-sunxi
TheOnlyJoey|Lap has joined #linux-sunxi
<TheOnlyJoey|Lap> Good day
<TheOnlyJoey|Lap> I have a working uboot partition on a sd card which booted fine in 2 images i tried, the problem is that both images had their own problem and i am currently trying to run a plain debian installer. Normally uboot would have a console where i could enable things like usb booting, but my uboot does not seem to do that, any tips on how i can achieve this?
<TheOnlyJoey|Lap> also any base debian images with a kernel 3.17 are welcome
<Turl> TheOnlyJoey|Lap: there's some info on https://wiki.debian.org/InstallingDebianOn/Allwinner if you want to use the installer
<Turl> the easier way is to use debootstrap though
<TheOnlyJoey|Lap> hmm true
<TheOnlyJoey|Lap> yeah i looked at that page, has all the information but not about why i don't have a uboot console :p
<TheOnlyJoey|Lap> fortunatly my device is a quite generic INet-97F Rev 02 unfortunatly i could not find a good image for it -_-
<TheOnlyJoey|Lap> tried the fedora one, lacked wifi and touch
<Turl> TheOnlyJoey|Lap: uboot has a 3 second timer to enter the console
<Turl> are you missing the uboot messages on the serial line?
<TheOnlyJoey|Lap> Oh i am not connected to the serial, is it only available on the uart?
<Turl> yeah
<Turl> only recently we got support for LCDs on uboot, so you'd need a very fresh build
<Turl> to use the tablet lcd and a usb keyboard
<TheOnlyJoey|Lap> well my screen turns on
<Turl> (and it needs to be configured to support the lcd)
<TheOnlyJoey|Lap> and i see a little tux in the left top corner
<TheOnlyJoey|Lap> and i have used images on it that booted all the way to the os
naobsd has quit [Quit: naobsd]
<TheOnlyJoey|Lap> i am fiddling around to see if i can get the uboot partition boot a installer on the second partition to install on a third partition, but no clue how to set that up
<TheOnlyJoey|Lap> Turl, so you would suggest setting up a debootstrap and copying it to the disk, should by uboot work with it automatically? do i need to setup a dtb file?
ricardocrudo has quit [Remote host closed the connection]
<Turl> you'll need to provide the kernel and dtb as well
<Turl> I believe debian has a mmp kernel package that supports sunxi devices
<Turl> it'll probably require uboot config too, in the form of a boot.scr
<TheOnlyJoey|Lap> hmm, it seems debian already has a dtb for my device
<TheOnlyJoey|Lap> that is why i wanted to run the installer
<TheOnlyJoey|Lap> maybe i could run the installer in a qemu session and just dump it on my sd?
<Turl> dunno, I never used the installer
naobsd has joined #linux-sunxi
<TheOnlyJoey|Lap> debootstrapping now with qemu :)
eagles0513875 has joined #linux-sunxi
Renard has quit [Quit: Renard]
quitte has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
quitte has joined #linux-sunxi
leviathancn has quit [Remote host closed the connection]
leviathancn has joined #linux-sunxi
<TheOnlyJoey|Lap> Turl, hmm i made a debootstrap, any tips on how to copy it to the sd (since it contains special files and such)
<Turl> rsync with a bunch of flags? :)
<TheOnlyJoey|Lap> hmm that could work
<TheOnlyJoey|Lap> Turl, hmm where do i need to place the dtb btw?
<wens> mripard_: it's most likely because pll* and the whole clock tree is registered _before_ osc24M, because no dependencies are listed as far as the CCF is concerned
<Turl> TheOnlyJoey|Lap: anywhere, as long as you configure uboot to pick it from there
<TheOnlyJoey|Lap> ah k
<wens> Turl: ^
<wens> mturquette: ^^
<Turl> wens: and why is there a dependency?
<wens> the plls are clocked from osc24M as it's source, so you have 24M as input, then multipliers and dividers
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<Turl> I know that, but why is there a code dependency? it shouldn't matter if it's registered before or after
<wens> however our clocks are registered in bulk under the compatible 'allwinner,sun4i-a10'
<wens> Turl: if you register before your parent, how would you know what your input clock rate is?
<wens> hence the 0
<Turl> wens: why would you care about your rate on registration time?
<wens> it is also why i did all the a80 clocks separately using OF_CLK
<wens> Turl: because sometimes reparenting and clock rate setting is done then?
<TheOnlyJoey|Lap> Turl, awesome it works! have a working sid image on my tablet
<TheOnlyJoey|Lap> thanks!!
<Turl> TheOnlyJoey|Lap: :)
<Turl> TheOnlyJoey|Lap: you're welcome
<wens> i don't know which commit is actually at fault here
<TheOnlyJoey|Lap> running a default 3.16 kernel, so thanks for pushing mainline all :)
<Turl> wens: that should be the client's responsibility
<wens> i'm just saying from experience working with the clocks
<wens> Turl: the CCF does support reparenting and rate setting at clock register
<wens> and ideally the CCF handles dependencies for you, if you listed them properly
<Turl> wens: yeah, it can be that, I'm not denying it. I'm arguing more from a philosophical standpoint
<wens> :)
<wens> true
<Turl> wens: I dislike the former and actively opposed the latter
AnticitizenOne has joined #linux-sunxi
TheOnlyJoey|Lap has quit [Quit: Leaving]
leviathancn has quit [Remote host closed the connection]
gbisson has left #linux-sunxi [#linux-sunxi]
leviathancn has joined #linux-sunxi
AnticitizenOne has quit [Ping timeout: 255 seconds]
indy has quit [Ping timeout: 244 seconds]
indy has joined #linux-sunxi
arokux has quit [Ping timeout: 250 seconds]
leviathancn has quit [Ping timeout: 250 seconds]
arokux has joined #linux-sunxi
arokux has quit [Ping timeout: 265 seconds]
disdi has joined #linux-sunxi
disdi has quit [Client Quit]
arokux has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
Novtopro has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 245 seconds]
Novtopro has quit [Max SendQ exceeded]
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
a1d3s is now known as a1d3s|away
cubear has joined #linux-sunxi
igorpec has joined #linux-sunxi
quitte_ has joined #linux-sunxi
imcsk8 has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
quitte has quit [Ping timeout: 264 seconds]
igorpec has quit [Ping timeout: 245 seconds]
HeHoPMaJIeH has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
ninolein has quit [Ping timeout: 244 seconds]
ninolein has joined #linux-sunxi
cubear has quit [Ping timeout: 250 seconds]
wenbin has quit [Quit: Leaving]
cubear has joined #linux-sunxi
Akagi201_ has joined #linux-sunxi
Akagi201 has quit [Ping timeout: 265 seconds]
igorpec has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
arete74_ has quit [Ping timeout: 250 seconds]
orly_owl has quit [Ping timeout: 264 seconds]
<oliv3r> Turl: yeah ground is properly connected everywhere, but the original design put the clock and the data_out (d0) right next to eachother on the ribbon cable
<oliv3r> also, there's like 20 cm worth of ribbon cable :S
TheOnlyJoey has joined #linux-sunxi
<TheOnlyJoey> Good day, i currently have a functional instalation on a a10 tablet, but can't find anything about my wifi, are there identification methods i can use to find out which driver i need?
<TheOnlyJoey> there are no dmesg logs and lsusb does not report anything as well
<TheOnlyJoey> hmm i opened it and it seems to be a rtl 8188cus which is a usb chip soldered on the board, but it will not show up on lsusb, do i need a specific module?
f15h has joined #linux-sunxi
premoboss has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
xeros has quit [Quit: xeros]
FR^2 has joined #linux-sunxi
arete74 has joined #linux-sunxi
wickwire has joined #linux-sunxi
<mripard_> mturquette: yes
<mripard_> mturquette: and actually, if you look at the boot logs, there's one more division by zero, around the time the timers are initialized
<mripard_> it's caused by the pll6 registration
iamfrankenstein has quit [Quit: iamfrankenstein]
<mripard_> and since the mmc clocks, that use sun4i_a10_get_mod0_factors, have pll6 as a parent, it looks like this is the root issue.
arossdotme has quit [Excess Flood]
arossdotme has joined #linux-sunxi
<mripard_> if you look closely at it, when of_clk_init, there's a division by zero error
xeros has joined #linux-sunxi
naobsd has joined #linux-sunxi
xeros has quit [Quit: xeros]
<TheOnlyJoey> also quite weird, i have a 3.16 armmp kernel from debian installed, but if i use uname -a it reports a 3.4 sunxi kernel 0_o
iamfrankenstein has joined #linux-sunxi
sehraf has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 250 seconds]
leviathancn has joined #linux-sunxi
<TheOnlyJoey> this is a little weird and seems to break modprobing kernel modules
xeros has joined #linux-sunxi
_massi has joined #linux-sunxi
ssvb has quit [Ping timeout: 255 seconds]
xeros has quit [Ping timeout: 252 seconds]
igorpec has quit [Ping timeout: 264 seconds]
naobsd has quit [Quit: naobsd]
leviathancn has quit [Ping timeout: 250 seconds]
naobsd has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
leviathancn has joined #linux-sunxi
jemk has quit [Remote host closed the connection]
jemk has joined #linux-sunxi
focus has quit [Ping timeout: 264 seconds]
forest has quit [Remote host closed the connection]
naobsd1 has joined #linux-sunxi
naobsd has quit [Ping timeout: 256 seconds]
leviathancn has quit [Ping timeout: 264 seconds]
focus has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
simosx has joined #linux-sunxi
simosx has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
naobsd1 has quit [Quit: naobsd1]
afaerber_ has quit [Quit: Verlassend]
fest has joined #linux-sunxi
arete74 has quit [Ping timeout: 244 seconds]
bengal has joined #linux-sunxi
naobsd has joined #linux-sunxi
igorpec has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<fest> I'm writing a driver for ov5640 camera sensor (existing one doesn't work for large resolutions and is buggy). I need a large chunk of contiguous RAM (up to 16MiB) but both kmalloc and dma_alloc_coherent fail on buffers that large, even right after boot, with plenty of RAM (no idea if it's contiguous though)
<fest> is there anything I can use to get this memory?
<mripard_> kmalloc can only allocate up to 512 pages
<mripard_> and iirc dma_alloc_coherent has the same limit
<mripard_> you need to use CMA
<mripard_> which kernel are you working on?
el3 has joined #linux-sunxi
<fest> 3.4.103
afaerber has joined #linux-sunxi
<fest> it seems that cma was added in 3.5, right?
<mripard_> good luck backporting that then :)
<mripard_> I would have said 3.6, but yeah, maybe 3.5
<fest> is the 512 page limit hardcoded somewhere, or is that more fundamental limitation?
<mripard_> it's in the allocator
quitte_ has quit [Read error: Connection reset by peer]
<mripard_> I don't really know how deep it's located in the code
<mripard_> but it surely makes a lot of assumptions on this
<mripard_> so it's not something that I would start hacking :)
<el3> Hi my kernel crashes when I run 'apt-get update' Could any one help me to debug this? syslog is here http://pastebin.com/mSYwMCpc
<fest> mripard_: thanks, I'll try to look into it
bengal has quit [Ping timeout: 246 seconds]
afaerber has quit [Remote host closed the connection]
quitte has joined #linux-sunxi
<NiteHawk> el3: "Unable to handle kernel paging request" sounds like you might be running out of memory. Are you using any kind of swap?
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
<el3> NiteHawk, I use g_mass_storage and gpio-sunxi. What is swap?
afaerber has joined #linux-sunxi
arete74 has joined #linux-sunxi
<NiteHawk> swap space is a mass storage area (usually swap file or partition) used to temporarily store ("swap out") RAM pages in case of insufficient memory, i.e. it provides 'virtual' memory. you'd usually set up a swap partition, use "mkswap" on it and activate it with "swapon" (or simply mount it)
<NiteHawk> check the output of "cat /proc/swaps". and maybe read up on http://en.wikipedia.org/wiki/Paging#Linux
<el3> NiteHawk, Ok thank you I will try those steps first
wickwire_ has joined #linux-sunxi
wickwire has quit [Ping timeout: 250 seconds]
F1skr has joined #linux-sunxi
FlibberTGibbet has joined #linux-sunxi
hypothalamus has joined #linux-sunxi
sehraf has quit [Ping timeout: 250 seconds]
f15h has quit [Remote host closed the connection]
arete74 has quit [Ping timeout: 264 seconds]
arete74 has joined #linux-sunxi
<fest> mripard_: oh, it looks like someone backported cma to 3.4 already
<mripard_> fest: perfect then
<mripard_> if I remember correctly, you just have to enable it in the configuration, maybe change the amount reserved of reserved memory in the configuration too, and then you can just use dma_alloc_coherent
selfbg has joined #linux-sunxi
sehraf has joined #linux-sunxi
hypothalamus has quit [Ping timeout: 250 seconds]
AnticitizenOne has joined #linux-sunxi
Renard has joined #linux-sunxi
<fest> yup, it looks that way, I got the memory I need
FlibberTGibbet has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ricardocrudo has quit [Ping timeout: 245 seconds]
FreezingCold has joined #linux-sunxi
ssvb has joined #linux-sunxi
igorpec has quit [Ping timeout: 250 seconds]
ricardocrudo has joined #linux-sunxi
cubear has quit [Quit: Leaving]
orly_owl has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
ssvb has quit [Ping timeout: 245 seconds]
simosx has quit [Quit: Leaving]
ricardocrudo has quit [Ping timeout: 244 seconds]
ricardocrudo has joined #linux-sunxi
quitte has quit [Read error: Connection reset by peer]
quitte has joined #linux-sunxi
igorpec has joined #linux-sunxi
selfbg has quit [Quit: Leaving]
viccuad has joined #linux-sunxi
igorpec has quit [Ping timeout: 244 seconds]
wickwire has joined #linux-sunxi
wickwire_ has quit [Ping timeout: 252 seconds]
cnxsoft has quit [Quit: cnxsoft]
cubear has joined #linux-sunxi
kz1 has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
kz1 has joined #linux-sunxi
<Montjoie> does some people use qemu on their cubieboard ?
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
<WarheadsSE> why
kz1 has quit [Ping timeout: 264 seconds]
kz1 has joined #linux-sunxi
kz1 has quit [Read error: Connection reset by peer]
kz1 has joined #linux-sunxi
<Montjoie> A20 theoricaly have extention for virt
ssvb has joined #linux-sunxi
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
<atsampson> Montjoie: there are certainly people who use Xen on the A20: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 246 seconds]
quitte has quit [Remote host closed the connection]
melonipoika has joined #linux-sunxi
nashpa has quit [Ping timeout: 245 seconds]
bengal has joined #linux-sunxi
bengal has quit [Changing host]
bengal has joined #linux-sunxi
di-erz has quit [Ping timeout: 246 seconds]
nove has joined #linux-sunxi
igorpec has joined #linux-sunxi
bonbons has joined #linux-sunxi
<ssvb> Turl: thanks a lot for mentioning the debian installer. I have hooked it to https://github.com/ssvb/sunxi-bootsetup/releases/tag/20141215-sunxi-bootsetup-prototype just because I can :)
<ssvb> ijc: btw, are you one of the guys working on the debian installer for arm devices?
leowt has joined #linux-sunxi
_massi has quit [Quit: Leaving]
cubear has quit [Quit: Leaving]
alatnet has joined #linux-sunxi
<alatnet> any proper tutorials that shows how to compile CM-10.2 (JB 4.3) for an allwinner a10 (sunxi4i)? Tried the wiki version but i have sync errors with the repo command that was "somewhat" fixed using the -f flag and and ". build/envsetup.sh && brunch yourdevice" doesnt really work...
forest has joined #linux-sunxi
domidumont has joined #linux-sunxi
<lioka> Montjoie: i'm
<Turl> ssvb: :)
domidumont has quit [Ping timeout: 246 seconds]
quitte has joined #linux-sunxi
<ssvb> Turl: this should be a somewhat better choice than Cubian, Bananian or any other random distro image, where the procedure of their creation is not fully documented
<quitte> bbrezillon: I'm at the message "device is write protected" with ddc's u-boot. does that have any actual meaning, or is it just a bit in ram?
Andy-D has quit [Ping timeout: 264 seconds]
nashpa has joined #linux-sunxi
wickwire_ has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
wickwire has quit [Ping timeout: 250 seconds]
<bbrezillon> quitte: I don't know
fire855 has joined #linux-sunxi
<quitte> bbrezillon: i was thinking along the lines of does the hynix nand chip have a lock command itself?
<Turl> ssvb: yeah, for basic usage it's going to be better :)
<fire855> Turl have you experience with mali errors?
<fire855> I saw a fix from you in a cyanogenmod device tree
orly_owl has quit [Ping timeout: 244 seconds]
afaerber has quit [Quit: Verlassend]
<Turl> fire855: some, what's up?
<fire855> i get this error when i will start a app: http://pastebin.com/5gxMtkTg
<fire855> I'm currently trying to get cm11 working on my tablet with mali400 and allwinner a10 cpu
<fire855> I fixed the boot but now i stuck at app starting
khuey|away is now known as khuey_
<Turl> fire855: no idea, sorry
<Turl> fire855: considering you got to the point where you can launch an app, your mali stack is more or less sane
<fire855> yes the launcher is also working so i don't understand why the app start is not working...
<fire855> I/DEBUG ( 70): AM write failure (32 / Broken pipe)
<fire855> Hmm
<fire855> I think the pipe break after a few seconds
Zboonet has joined #linux-sunxi
<fire855> can i autostart a app like the android launcher?
wickwire_ has quit [Read error: Connection reset by peer]
<fire855> or wait. Maybe only one app can be showed because a mali problem is there?
<Turl> it's odd though, as the error claims it's from some other process and then prints its own pid
viccuad has quit [Quit: WeeChat 1.0.1]
<fire855> crazy..
alatnet has quit [Quit: Page closed]
<fire855> i will try now a not so good idea but maybe it could work...
<fire855> i remove the check
<fire855> i saw it at some other gralloc files on github
<montjoie[home]> lioka: do you have done something spetial to compil/use it ?
<lioka> montjoie[home]: with qemu ? nope
AnticitizenOne has quit [Ping timeout: 240 seconds]
<montjoie[home]> and performance ? what storage do you use ?
quitte has quit [Read error: Connection reset by peer]
<lioka> montjoie[home]: good enough with kvm
<lioka> montjoie[home]: virtio-blk for storage
<montjoie[home]> i would says, which real storage, sata or nbd ?
ricardocrudo has joined #linux-sunxi
<lioka> montjoie[home]: sata
paulk-collins has joined #linux-sunxi
leviathancn has joined #linux-sunxi
quitte has joined #linux-sunxi
<lioka> montjoie[home]: i'm using -machive virt with qemu, if that counts as something special
<lioka> err -machine
igorpec has quit [Ping timeout: 252 seconds]
<montjoie[home]> thanks
leowt has quit [Quit: Textual IRC Client: www.textualapp.com]
<el3> Hi my syslog shows messages like this http://pastebin.com/8qcHJLUc after a few minutes running. Could any one help me to debug this? pcDuino3 running debian, using , g_mass_storage and gpio-sunxi
<Turl> el3: uh, looks really bad
<el3> uhh how bad is it?
<quitte> bbrezillon: u-boot issues a NAND_CMD_STATUS and reads back 112. then it checks the NAND_STATUS_WP bit 0x80. the chip seems to actually claim to be write protected
<NiteHawk> el3: looks like some serious memory corruption problem. that "swap_free: Bad swap file entry" shouldn't happen
<quitte> otoh 0x70 has bit 0x80 not set
<el3> Turl, can it be fixed
<quitte> hurgh
<Turl> el3: if I had to guess, I'd say memory corruption too
<Turl> el3: it may be something on the software misbehaving, or a hw problem
exslestonec has quit [Ping timeout: 250 seconds]
<el3> does that mean permanent damage?
<Turl> el3: to the device, probably not
<el3> I use g_mass_storage and mounting at the same time
<NiteHawk> el3: not necessarily. could be stability issues, or something wrong with the memory management code
<Turl> el3: but your filesystems may get corrupted if you keep on going like this
<Turl> el3: try running the reliability test http://linux-sunxi.org/Hardware_Reliability_Tests#DRAM
<el3> well I am still in development stage
<el3> I had to build the kernel myself to get g_mass_storage to work. If any one got a working image, it would be nice
<el3> Turl, okey
<Turl> if it doesn't spot any memory breakage it may be a bug on the drivers you're using causing them to write random memory
<el3> I also use gpio-sunxi
<el3> NiteHawk, I made that swap partition 1GB
<NiteHawk> el3: does that mean that you're accessing a backing storage via g_mass_storage and at the same time have that mounted / in use otherwise? that would sound like asking for trouble to me
<el3> yes
<el3> NiteHawk, yes
vishnup has joined #linux-sunxi
<NiteHawk> well, do you have to do that? why would you?
<el3> NiteHawk, I got a device saving data on the partition. and need python to process the data and send it to a server
<NiteHawk> hmmm. read-only access should be okay - i take it this is not related to / involved with the swap partition?
<NiteHawk> was activating swap the only change you made compared to your previous configuration (which seemed to work except for the out-of-memory condition)?
<el3> yes
<NiteHawk> what's the ouput of: cat /proc/swaps
<el3> wait I boot it
bengal has quit [Ping timeout: 240 seconds]
<el3> Is there a way of detecting when data finishes to come trough usb. That way I could modprobe -r g_mass_storage before mounting
<el3> hmmm
<el3> shows nothing
<el3> guess swap is not on
<NiteHawk> probably not. especially because there may be latency / a delay before the kernel writes to the g_mass_storage backend (but i'm guessing here)
<el3> NiteHawk, cat /proc/swaps shows nothing
<NiteHawk> if you're not using swap, there shouldn't be "swap_free" messages? i don't get the impression you're able to reproduce the same environment :/
<el3> should I swapon in reboot.sh or something
<NiteHawk> are you still getting the very same messages / errors now?
<el3> I will boot again wait
<NiteHawk> WHY?
<el3> why boot?
<NiteHawk> i thought you had your system running now??
<el3> I unplugged it again
<NiteHawk> my problem is that I can't connect the dots between the "Bad page map" and "Bad swap file entry" from your http://pastebin.com/8qcHJLUc and swap apperently not being active now...
<el3> no errors I have to wait 2 mins
Netlynx has quit [Remote host closed the connection]
<el3> cat /proc/swaps shows nothing
<NiteHawk> ok. what did you do to activate swap the last time (if you actually did anything 'manually' at all)?
<el3> I followed that link. and how to make it permanent
<fire855> Turl the removing of the check fixed my problem :D
<NiteHawk> el3: which link? i pointed you to a general (and somewhat vague) what description of paging under linux. and whatever you did obviously isn't permanent if /proc/swaps shows nothing.
<NiteHawk> s/what//
<el3> swapon /dev/mmcklb1p4
<el3> okey -I will search for a tutorial on that
<NiteHawk> ok. now we're getting closer. that's partition 4 on the /dev/mmcblk1 device, which i guess you have prepared with mkswap?
<el3> yes i did kkswap /dev/mmcklb1p4
<el3> first
<NiteHawk> good. any chance this /dev/mmcblk1 is involved with the g_mass_storage, too?
exslestonec has joined #linux-sunxi
<el3> no
<el3> mmcklb3 is
<el3> not 4
<NiteHawk> fine. and your problems (only) started after using that swapon /dev/mmcblk1p4?
<el3> no
iamfrankenstein has quit [Quit: iamfrankenstein]
<el3> they have been alot of problems
Zboonet has quit [Quit: Leaving]
<el3> I need a break. but thanks so far NiteHawk
igorpec has joined #linux-sunxi
fire855 has left #linux-sunxi ["Leaving"]
marcin has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
vishnup has quit [Remote host closed the connection]
FR^2 has quit [Quit: Connection reset by peer]
FreezingAlt is now known as FreezingCold
nove has quit [Quit: nove]
Akagi201 has joined #linux-sunxi
Akagi201_ has quit [Ping timeout: 246 seconds]
marcin has joined #linux-sunxi
gianMOD has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
igorpec has quit [Ping timeout: 250 seconds]
tomcheng76 has joined #linux-sunxi
mmarker has quit [Ping timeout: 255 seconds]
marcin has quit [Ping timeout: 264 seconds]
iamfrankenstein has joined #linux-sunxi
FR^2 has joined #linux-sunxi
marcin has joined #linux-sunxi
p1u3sch1 has quit [Read error: Connection reset by peer]
p1u3sch1 has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
bengal has joined #linux-sunxi
p1u3sch1_ has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 245 seconds]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
iamfrankenstein has quit [Ping timeout: 245 seconds]
ricardocrudo has quit [Ping timeout: 252 seconds]
<gzamboni> Does anyone here has Hummingboard with A20 ? i cant make the gmac work, i have set CONFIG_SUNXI_GMAC=y and CONFIG_PHY_REALTEK=y (for the rtl8211) but i dont even get the leds from the connector to work, maybe there is a power enable gpio but i dont have schematics
sehraf has joined #linux-sunxi
sehraf has quit [Client Quit]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<Turl> gzamboni: 3.4?
<gzamboni> humm, seems like PH16 is the gmac vdd for the humming board A20, let me try
<gzamboni> yes
<gzamboni> Turl
<Turl> gzamboni: is it the hummingbird, or is it some other board?
<gzamboni> http://lxr.free-electrons.com/source/arch/arm/boot/dts/sun7i-a20-hummingbird.dts at least in this dts it has a vdd enable in ph16
<gzamboni> its the humming bird, i dont have the card here, i'm giving support to my brother on the phone
<Turl> gzamboni: try driving PA17 low
<Turl> or high
<gzamboni> do we have any schematic for the humming board A20 ?
<Turl> that's the only difference I see between the cubietruck and hummingbird dts
<gzamboni> cubietruck uses also rtl8211 ?
<Turl> I don't know, I don't think it matters much though
<quitte> AP6210. yes i think that is rtl8211
<Turl> quitte: that's combo wifi+bt, not ethernet
<gzamboni> PA17 is the reset control pin, i will try that also
<quitte> oh. never mind then
<gzamboni> AP6210 has bluetooth 4, radio and wifi
<gzamboni> if im not mistaken
<Turl> not much on the merrii brief
<quitte> bbrezillon: are you still there? the response to NAND_CMD_STATUS is 0x70 in u-boot. that is an impossible response. 0x70 is however NAND_CMD_STATUS. I asked 0x75 it will respond 0x75
<quitte> https://github.com/yassinjaffer/u-boot/blob/sunxi-nand/drivers/mtd/nand/sunxi_nand.c this seems to happen in sunxi_nfc_read_buf which is in line 492
<quitte> could be related to sunxi_nfc_wait_int,too
viccuad has joined #linux-sunxi
bengal has quit [Remote host closed the connection]
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 264 seconds]
alexxy has quit [Quit: No Ping reply in 180 seconds.]
alexxy has joined #linux-sunxi
paulk-collins has quit [Quit: Quitte]
viccuad has quit [Quit: WeeChat 1.0.1]
alexxy has quit [Ping timeout: 250 seconds]
alexxy[home] has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
<gzamboni> are there some ppl from netbsd working in a different workgroup fork of the linux for allwinner devices ?
<gzamboni> i saw they use gmac_phy_power_en control in fex and in our kernel it doesnt get this from the fex
gianMOD has joined #linux-sunxi
arete74 has quit [Ping timeout: 246 seconds]
arete74 has joined #linux-sunxi
<gzamboni> Turl, its working now, the pin ph16 is the vdd enable for the phy
<Turl> gzamboni: I've seen quite a bit of progress on BSD, but they don't seem to hang out around here :(
<Turl> gzamboni: great :)
F1skr has quit [Quit: WeeChat 1.1.1]
gianMOD has quit [Remote host closed the connection]
<quitte> where can I find out about the available interrupt flags and their meaning?
akaizen_ has quit [Ping timeout: 264 seconds]
FR^2 has quit [Quit: Leaving]