00:00
<
deskwizard >
its a android thing
00:01
<
deskwizard >
well, i recently tried linux on my a20 and its much faster than android
00:01
<
deskwizard >
okay, do 'cat /etc/recovery.fstab'
00:01
<
Emaranhado >
I'm hoping to put a linux on this thing so I can use it for work, instead of carrying my laptop around
00:02
<
deskwizard >
nice :)
00:02
<
deskwizard >
lets make this real!
00:03
<
Emaranhado >
no such file/directory
00:03
<
deskwizard >
okay, thought that might happen
00:04
<
deskwizard >
ill boot my board give it a minute
00:04
<
Emaranhado >
I really appreciate it =D
00:04
<
Emaranhado >
thanks*
00:04
<
deskwizard >
Glad to help man :)
00:05
<
deskwizard >
just keep in mind I probably dont know more much than you do
00:05
<
deskwizard >
(and english aint my first language, so if I'm not making sense let me know :P)
00:05
<
Emaranhado >
also not mine
00:05
<
Emaranhado >
so, if you don't get something I say, let me know =D
00:06
<
deskwizard >
will do hehehe
00:07
<
deskwizard >
what does it say if you say 'mount'
00:08
<
deskwizard >
does it list them or screw you over?
00:09
<
deskwizard >
lmao no OS on mine, thats going well lol
00:09
<
Emaranhado >
hahahaha
00:09
<
deskwizard >
tablet is a31, lets have a look
00:09
<
Emaranhado >
it does list some blocks
00:09
<
deskwizard >
*facepalm*
00:09
<
deskwizard >
... mount /dev/nanda somewhere
00:10
<
Emaranhado >
nanda, no
00:10
<
Emaranhado >
but nandd, nande, nandh and nandi
00:10
<
deskwizard >
Exactly, we need to mount those 3 somewhere, one of them has your FEX on it
00:10
<
deskwizard >
I mean,
00:11
<
deskwizard >
one of the 3 that are not mounted, a b c
00:12
<
Emaranhado >
can I mount that issuing the command?
00:12
<
Emaranhado >
like, no problems?
00:12
<
deskwizard >
should be nandc
00:12
<
deskwizard >
(/boot)
00:13
<
deskwizard >
nanda is /bootloader, nandb is /Env and nandc is /boot
00:13
<
deskwizard >
in theory
00:14
<
Emaranhado >
where should I mount it ?
00:15
<
deskwizard >
id make a folder in /sdcard like 'tmp' and mount it there
00:23
<
Emaranhado >
mount /dev/block/nandc /sdcard/tmp
00:23
<
Emaranhado >
Am I missing something?
00:24
<
deskwizard >
-t ext4 maybe ?
00:24
<
deskwizard >
whats it complaining about ?
00:25
<
Emaranhado >
no such file/directory
00:25
<
deskwizard >
about which one?
00:26
<
Emaranhado >
actually, sorry
00:26
<
Emaranhado >
it just give me the syntax
00:26
<
Emaranhado >
it says "Usage : mount [-r] [-w] [-o options] [-t type] device directory
00:27
<
deskwizard >
mount -o rw -t ext4 /dev/block/nandc /sdcard/tmp
00:28
<
deskwizard >
(remount system R/W: mount -o rw,remount /system)
00:28
egbert has quit [Ping timeout: 244 seconds]
00:29
<
Emaranhado >
no such file or directory
00:29
<
Emaranhado >
and doesn't say which one
00:29
<
deskwizard >
'ls /dev/block'
00:30
<
deskwizard >
is nandc in there
00:30
<
Emaranhado >
I tried proc/partitions/nandc too
00:31
<
Emaranhado >
ha, now a got an "operation not permitted"
00:31
<
Emaranhado >
I created a folder on the internal memory
00:31
<
Emaranhado >
and tried to copy it there
00:32
<
Emaranhado >
when I try "sudo mount (...)"
00:32
<
Emaranhado >
it gives me a message saying that /system/bin/bash/sh : sudo : not fount
00:32
<
Emaranhado >
so, I can't sudo my way?
00:32
<
deskwizard >
try just 'su'
00:33
<
deskwizard >
or su -c mount... etc
00:33
<
Emaranhado >
when I su -c mount
00:33
<
Emaranhado >
and put all the arguments
00:34
<
Emaranhado >
like -o rw etc etc
00:34
<
Emaranhado >
it gives me the same results as only writting it "mount" and hitting enter
00:35
<
deskwizard >
is the thing rooted?
00:35
<
Emaranhado >
root checker gives me the thumbs up
00:36
<
deskwizard >
okay, lets do something else for now
00:36
<
deskwizard >
check if this file exists: /proc/config.gz
00:39
<
Emaranhado >
doesnt show on the ls
00:40
<
deskwizard >
too bad
00:40
<
Emaranhado >
xdg-open config.gz also not working
00:41
<
deskwizard >
try mounting nanda with ' -t vfat'
00:43
<
Emaranhado >
no such file/directory
00:43
<
Emaranhado >
I'm not that confident in the /proc/partitions/nandx
00:43
<
deskwizard >
'/dev/block/nanda'
00:44
<
deskwizard >
'/proc/partitions' is like a text file of the sort
00:45
<
deskwizard >
what does the fstab look like ?
00:45
<
deskwizard >
its mounting the other partitions, it may give us a clue
00:45
<
Emaranhado >
how can I see that?
00:46
<
deskwizard >
'cat /etc/fstab'
00:46
<
deskwizard >
if that one doesnt work...
00:46
<
Emaranhado >
doesn't
00:46
egbert has joined #linux-sunxi
00:46
<
deskwizard >
'cat /systemetc/fstab'
00:46
<
deskwizard >
'cat /system/etc/fstab'
00:47
<
deskwizard >
makes no sense
00:47
<
Emaranhado >
vold.fstab?
00:47
<
deskwizard >
'ls /' ?
00:47
<
deskwizard >
maybe lets have a look
00:51
<
deskwizard >
notice the mount line for sdcard? ;)
00:52
<
deskwizard >
let me know if it works :)
00:54
<
Emaranhado >
it doesnt
00:54
<
Emaranhado >
let me check on that devices folder
00:54
naobsd has joined #linux-sunxi
00:55
<
Emaranhado >
can't "cd" it
00:55
<
deskwizard >
no you wont be able to cd it
00:56
<
deskwizard >
you should be able to do 'ls /dev/virtual/block'
00:56
<
Emaranhado >
can't ls that
00:57
<
deskwizard >
ffs...
01:00
<
deskwizard >
idk man
01:00
<
Emaranhado >
just navigated there
01:00
<
Emaranhado >
and ls there
01:00
<
Emaranhado >
and it worked
01:00
<
Emaranhado >
IT FUCKING WORKED
01:01
<
deskwizard >
finally ! :)
01:01
<
Emaranhado >
I see the nandx there
01:01
<
deskwizard >
now try to mount them with that path
01:02
<
Emaranhado >
I keep getting "no such file or directory"
01:03
<
Emaranhado >
jesus christ
01:03
<
deskwizard >
you sure the folder you want to mount into exists? :P
01:03
<
Emaranhado >
I can navigate there
01:04
<
Emaranhado >
cd /sdcard/tmp works D:
01:04
<
deskwizard >
how about 'ls -la /dev/block'
01:04
<
deskwizard >
those 'nandx' in there symlinks?
01:04
<
Emaranhado >
all but the nanf
01:04
<
Emaranhado >
nandf is system
01:05
<
deskwizard >
thats the owner/group
01:05
<
deskwizard >
on the right side
01:05
<
deskwizard >
does it show like its linking to another file/directory?
01:06
<
Emaranhado >
nope, it doesn't
01:06
<
Emaranhado >
it has some parameters, like mount parameters
01:06
<
Emaranhado >
but doesnt have any paths or anything similar
01:06
<
deskwizard >
what do you mean mount parameters ?
01:07
<
Emaranhado >
let me show you
01:08
<
Emaranhado >
brw -xr-r
01:09
<
Emaranhado >
seems like parameters
01:09
<
deskwizard >
permissions
01:11
<
deskwizard >
what happens if you type 'su' just those 2 letters ?
01:11
<
deskwizard >
does the terminal prompt change ?
01:12
<
Emaranhado >
from $ to #
01:12
<
deskwizard >
what if you try to mount it now ?
01:13
<
Emaranhado >
no such
01:13
<
deskwizard >
*sigh*
01:13
<
deskwizard >
( what I'm coding isnt working either lol)
01:13
pmattern has quit [Quit: Genug für heute.]
01:14
<
Emaranhado >
hahahah
01:14
<
Emaranhado >
I know that feeling
01:14
<
deskwizard >
im sure we're missing some stupid little thing
01:14
<
Emaranhado >
which language?
01:14
<
deskwizard >
C/C++ arduino library for i2c port expander
01:15
<
deskwizard >
im making an alarm clock... dont ask
01:15
<
Emaranhado >
hahahahaha
01:15
<
Emaranhado >
been there
01:15
<
Emaranhado >
I'm waiting for my raspberry pi
01:15
<
Emaranhado >
so I can begin on my alarm clock
01:15
<
Emaranhado >
I mean, it's better to wake up listening to a nice song
01:15
<
deskwizard >
awesome!
01:16
<
deskwizard >
Exactly
01:16
<
deskwizard >
I bet we end up with the same thing, built totally differently hehe
01:16
<
Emaranhado >
that's the fun of it!
01:16
<
Emaranhado >
I'm also wishing to automate my brewing proccess
01:16
<
Emaranhado >
I've seen some wicked sensors
01:17
<
deskwizard >
Lets combine the 2!
01:17
<
deskwizard >
alarm know what time you wake up
01:17
<
deskwizard >
you mean like beer right?
01:17
<
Emaranhado >
beer and mead
01:17
<
Emaranhado >
but yes
01:17
<
deskwizard >
I tought coffee
01:17
<
Emaranhado >
hahahaha
01:17
<
deskwizard >
but you gave me an awesome idea
01:18
<
deskwizard >
got some RF links on the way, I guess they taken now
01:18
<
Emaranhado >
wake up to drink some freshly made coffee?
01:18
<
Emaranhado >
hahahahah
01:18
<
deskwizard >
why know, the alarm know when youre gonna wake up, have it start the damn thing
01:19
<
deskwizard >
as awesome as it may, that doesnt solve any of our current issues
01:19
<
Emaranhado >
it doesn't
01:19
<
Emaranhado >
but it takes some of the disappointment off
01:19
<
Emaranhado >
I didn't think it was going to be easy
01:20
<
Emaranhado >
but It never crossed my mind that I wouldn't even be able to mount a damn partition
01:20
<
deskwizard >
makes 2 of us man
01:21
<
Emaranhado >
I just typed mount -t ext4 /dev/block/nandc /sdcard/tmp
01:21
<
Emaranhado >
and got a "Invalid argument"
01:21
<
Emaranhado >
isn't ext4 available?
01:21
<
deskwizard >
but that doesnt mean thats what the partition uses
01:21
<
deskwizard >
try vfat
01:21
<
deskwizard >
or emmc
01:22
<
Emaranhado >
vfat gives me invalid argument
01:22
<
Emaranhado >
emmc gives me "no such device"
01:24
<
deskwizard >
okay so we need nanda because we want script.bin
01:24
<
deskwizard >
try nanda and vfat
01:24
<
deskwizard >
I should have googled it before
01:25
<
deskwizard >
4 OSes at the same time might be a bit much
01:25
<
Emaranhado >
it didn't give me an error
01:25
<
Emaranhado >
seriously about to cry
01:25
<
Emaranhado >
i see boot.ini
01:26
<
deskwizard >
tar it all
01:26
<
Emaranhado >
how do I/
01:27
<
Emaranhado >
i mean, how do I do that D:
01:28
<
deskwizard >
i dont remember the exact command by heart, just search for "tar.gz make archive command line"
01:28
<
deskwizard >
something like 'tar zfc boot.tar.gz /sdcard/tmp'
01:28
<
deskwizard >
but dont trust me on that one, double check before
01:29
<
deskwizard >
else it might fuck everything up and you'll blame me
01:29
<
deskwizard >
and I'll blame you for listening to me in the first place :P
01:29
<
Emaranhado >
found it =D
01:29
<
Emaranhado >
hahaha
01:30
<
Emaranhado >
tar not found
01:30
<
deskwizard >
busybox tar
01:31
<
deskwizard >
see why I'm sick of android? :P
01:32
<
Emaranhado >
I'm pretty much with ya
01:33
<
deskwizard >
I tried linux for like 10 minutes, changing the fex file actually worked, was a charm
01:33
<
deskwizard >
so I'm gonna go back to that next
01:34
<
Emaranhado >
jesus what
01:34
<
Emaranhado >
some pretty strange things on the terminal
01:34
<
Emaranhado >
android is on drugs, i'm sure of it
01:35
<
deskwizard >
its fighting back heheh
01:35
<
Emaranhado >
it just drew something like a cloud
01:36
<
Emaranhado >
I mean, that's some serious acid backlash
01:36
<
deskwizard >
sounds like its not just android..... :P~
01:37
<
Emaranhado >
it stopped, but doesn't seem finished
01:37
<
Emaranhado >
some weird things still hanging on the screen
01:37
khuey___ is now known as khuey|away
01:37
<
Emaranhado >
but well, I still see the screen, so that has to be a good signal
01:38
<
deskwizard >
i like your optimism...
01:39
viccuad has quit [Ping timeout: 272 seconds]
01:40
<
Emaranhado >
I'm not qualified to be an optimist
01:40
<
Emaranhado >
it's just that I usually prepare myself for the very worst
01:40
<
deskwizard >
so what happened with that tar command
01:41
<
Emaranhado >
there's some noise in the screen
01:41
<
Emaranhado >
the system isn't hanging
01:41
<
Emaranhado >
but the terminal isn't letting me input anything
01:42
<
deskwizard >
hope you got the command right...
01:43
<
Emaranhado >
me too
01:45
<
Emaranhado >
ok, the terminal is back
01:45
<
Emaranhado >
but everything I type is written in gibberish
01:47
hipboi has joined #linux-sunxi
02:01
IgorPec2 has joined #linux-sunxi
02:03
cnxsoft has joined #linux-sunxi
02:03
IgorPec has quit [Ping timeout: 260 seconds]
02:05
IgorPec2 has quit [Ping timeout: 260 seconds]
02:17
<
Emaranhado >
@deskwizard what do I do with those files
02:17
<
Emaranhado >
finally got it out of android
02:17
<
Emaranhado >
just mounted a pendrive and copied the files over D:
02:18
<
deskwizard >
well, you put them up on github so I can have a look
02:18
<
deskwizard >
lol jk
02:18
<
deskwizard >
we need a little program
02:20
<
deskwizard >
we need 'bin2fex' so we can convert that script.bin file of your into a .fex file
02:20
<
Emaranhado >
ow, nice github blocked my several attempts to remember my password
02:26
leviathancn_szu has joined #linux-sunxi
02:30
<
deskwizard >
This repository is empty.
02:30
<
Emaranhado >
uploading everything
02:30
<
deskwizard >
oh okay hehee
02:40
<
Emaranhado >
@deskwizard done
02:44
<
deskwizard >
same here, not much to see without decompiling script.bin
02:44
<
Emaranhado >
how do I do that?
02:44
<
Emaranhado >
I downloaded the sunxitools
02:45
<
Emaranhado >
actually, I downloaded the project
02:46
<
Emaranhado >
should I compile it?
02:46
<
deskwizard >
yeah, you kinda have to
02:48
<
Emaranhado >
K, I'll have to do that tomorrow
02:48
<
Emaranhado >
I have to get up in 4 hours to go to work \o/
02:48
<
deskwizard >
Oh I see
02:48
<
Emaranhado >
thanks for everything, mate!
02:48
<
deskwizard >
hit me up when you get here tomorrow
02:48
<
deskwizard >
my pleasure !
02:48
<
Emaranhado >
seriously thank you
02:49
<
Emaranhado >
I mean, I felt pretty stupid doing this
02:49
<
Emaranhado >
just like an user =/
02:50
<
deskwizard >
we all did at one time or another ;)
02:50
<
deskwizard >
I do, all the time
02:50
<
Emaranhado >
it's good for the ego, I guess
02:50
ninolein has quit [Ping timeout: 246 seconds]
02:51
<
Emaranhado >
thanks again!
02:51
<
Emaranhado >
I'll get going
02:51
<
deskwizard >
youre welcome :) talk to you later
02:51
ninolein has joined #linux-sunxi
02:51
<
Emaranhado >
I'll ping you tomorrow, if you got some time to help me again =D
02:51
<
Emaranhado >
thanks =D
02:54
leviathancn_szu has quit [Remote host closed the connection]
02:55
egbert has quit [Disconnected by services]
02:55
egbert has joined #linux-sunxi
03:12
uwe_ has quit [Ping timeout: 272 seconds]
03:12
uwe__ has joined #linux-sunxi
04:17
IgorPec has joined #linux-sunxi
04:17
TheSeven has quit [Disconnected by services]
04:18
[7] has joined #linux-sunxi
04:36
<
wens >
mripard: the clock people seem to want to move away from clock-output-names, and move the names into the driver
04:37
<
wens >
I don't think our driver would fit well with the new model
04:57
Gerwin_J has joined #linux-sunxi
04:59
naobsd has quit [Quit: naobsd]
05:00
hipboi has joined #linux-sunxi
05:00
p1u3sch1_ has quit [Ping timeout: 272 seconds]
05:02
p1u3sch1 has joined #linux-sunxi
05:20
JohnDoe_71Rus has joined #linux-sunxi
06:03
naobsd has joined #linux-sunxi
06:10
reinforce has joined #linux-sunxi
06:18
<
mripard >
wens: reference ?
06:34
<
mripard >
they did not try very hard ... :/
06:35
<
mripard >
I don't really see an issue with that if they ask us to do so, it will just create a lot of boilerplate
06:38
<
wens >
i'm hoping not going that way
06:39
<
wens >
i wonder how they plan to migrate away from some of the functions that derive clock names directly from the DT
06:40
<
wens >
iirc they want to get rid of names as the basis for clock routing, but nothing solid has been posted yet
06:42
<
mripard >
which would be a good idea
06:42
<
mripard >
but that's a different story
06:44
<
wens >
the sunxi clk DT bindings already provide lots of routing data, even though some of it is in the driver, like the divs clocks or the audio pll
06:44
<
mripard >
yeah, but it is static routing
06:44
<
mripard >
and it's opaque
06:45
<
mripard >
we're using the name as we would use the struct clk or whatever they want to base the routing on
06:45
<
mripard >
we get it from the registration function, and pass it to the next
06:47
petero has joined #linux-sunxi
07:00
_massi has joined #linux-sunxi
07:08
orly_owl has quit [Quit: leaving]
07:09
domidumont has joined #linux-sunxi
07:14
domidumont has quit [Remote host closed the connection]
07:15
domidumont has joined #linux-sunxi
07:16
HeHoPMaJIeH has joined #linux-sunxi
07:29
afaerber_ has joined #linux-sunxi
07:32
afaerber has quit [Ping timeout: 252 seconds]
07:33
hipboi has quit [Ping timeout: 250 seconds]
07:38
hipboi has joined #linux-sunxi
07:42
hipboi_ has joined #linux-sunxi
07:43
petero has quit [Quit: Verlassend]
07:46
hipboi has quit [Ping timeout: 265 seconds]
07:58
focus has joined #linux-sunxi
08:01
hansg has joined #linux-sunxi
08:02
hipboi_ has quit [Remote host closed the connection]
08:03
hipboi has joined #linux-sunxi
08:03
hansg has quit [Client Quit]
08:06
hipboi_ has joined #linux-sunxi
08:06
Gerwin_J has quit [Ping timeout: 260 seconds]
08:09
tkoskine has quit [Remote host closed the connection]
08:09
tkoskine has joined #linux-sunxi
08:10
hipboi has quit [Ping timeout: 276 seconds]
08:12
Gerwin_J has joined #linux-sunxi
08:22
vetkat has quit [Quit: Bye bye]
08:26
codekipper_ has joined #linux-sunxi
08:26
cnxsoft has quit [Ping timeout: 240 seconds]
08:27
vetkat has joined #linux-sunxi
08:27
<
codekipper_ >
mripard: Hi Maxime,
08:27
<
codekipper_ >
have you looked into the sun4i-codec capture?
08:28
Andy-D has quit [Ping timeout: 240 seconds]
08:30
<
codekipper_ >
just wondering if it's worth me looking into it?...I've put a few patches together and just the routing and widgets to go
08:31
Andy-D has joined #linux-sunxi
08:34
FlorianH has joined #linux-sunxi
08:39
cnxsoft has joined #linux-sunxi
08:43
diego_r has joined #linux-sunxi
08:45
yann|work has joined #linux-sunxi
08:47
petero has joined #linux-sunxi
08:49
kaspter has joined #linux-sunxi
08:50
orly_owl has joined #linux-sunxi
08:52
<
mripard >
codekipper_: yeah, I have a patch for it for the CHIP that works
08:52
<
mripard >
I just have to submit it
08:52
<
mripard >
but ENOTENOUGHTIME these days
08:52
petero is now known as petero_pl
08:56
orly_owl has quit [Ping timeout: 240 seconds]
08:59
orly_owl has joined #linux-sunxi
09:08
maz has joined #linux-sunxi
09:09
maz has quit [Client Quit]
09:09
maz has joined #linux-sunxi
09:20
Ueno_Otoko has joined #linux-sunxi
09:20
<
codekipper_ >
mripard: cool....looks exactly like mine:P!
09:23
<
codekipper_ >
i can look at the sun7i variations(dac tuning) and line in.
09:24
<
codekipper_ >
ahhh you've already done the tuning bit
09:24
<
mripard >
codekipper_: it should work, but I never tested it
09:24
<
codekipper_ >
I'll give it a go....
09:33
<
ccaione >
mripard: you guys going to fosdem?
09:35
<
ccaione >
wens: long journey uh?
09:36
<
ccaione >
I'm not sure yet, still deciding
09:36
<
wens >
ccaione: yeah, but shorter trip this time, only a week
09:38
<
mripard >
ccaione: I don't know yet
09:39
<
mripard >
wens: nooo, just when I thought I was getting at the end of my patches backlog :(
09:41
<
wens >
mripard: i still have 10 on top of them lol
09:42
<
wens >
they've been sitting for a while due to ENOTIME
09:43
cajg has joined #linux-sunxi
09:48
naobsd has quit [Quit: naobsd]
09:58
ricardocrudo has joined #linux-sunxi
09:58
tomboy64 has joined #linux-sunxi
09:59
tomboy65 has quit [Ping timeout: 276 seconds]
10:07
hipboi_ has quit [Remote host closed the connection]
10:07
hipboi has joined #linux-sunxi
10:10
hipboi_ has joined #linux-sunxi
10:13
hipboi has quit [Ping timeout: 260 seconds]
10:16
hipboi_ has quit [Remote host closed the connection]
10:16
hipboi has joined #linux-sunxi
10:18
hipboi_ has joined #linux-sunxi
10:20
hipboi__ has joined #linux-sunxi
10:20
hipboi_ has quit [Read error: Connection reset by peer]
10:20
hipboi__ has quit [Client Quit]
10:20
hipboi has quit [Ping timeout: 240 seconds]
10:33
viccuad has joined #linux-sunxi
10:40
mstar has joined #linux-sunxi
10:54
bmeneg has joined #linux-sunxi
11:04
Gerwin_J has quit [Quit: Gerwin_J]
11:15
Ueno_Otoko has quit [Ping timeout: 250 seconds]
11:35
egbert has quit [Quit: leaving]
11:50
cajg has quit [Ping timeout: 260 seconds]
11:53
Ueno_Otoko has joined #linux-sunxi
11:54
cajg has joined #linux-sunxi
11:54
<
megal0maniac >
Ooh! R28 p/m for a static IP. No L2TP needed
11:57
<
megal0maniac >
Sorry :/ Wrong channel
12:11
ssvb has quit [Ping timeout: 272 seconds]
12:22
codekipper_ has quit [Quit: Page closed]
12:30
maz has quit [Ping timeout: 276 seconds]
12:32
Andy-D has quit [Ping timeout: 240 seconds]
12:33
IgorPec has quit [Ping timeout: 260 seconds]
12:34
hipboi has joined #linux-sunxi
13:01
petero_pl has quit [Quit: Verlassend]
13:09
IgorPec has joined #linux-sunxi
13:16
formruga has quit [Quit: Konversation terminated!]
13:18
ssvb has joined #linux-sunxi
13:20
IgorPec has quit [Ping timeout: 260 seconds]
13:24
viccuad has quit [Ping timeout: 264 seconds]
13:26
viccuad has joined #linux-sunxi
13:32
leviathancn has joined #linux-sunxi
13:45
clonak has quit [Ping timeout: 272 seconds]
13:48
maz has joined #linux-sunxi
13:56
clonak has joined #linux-sunxi
14:02
Nacho has quit [Ping timeout: 276 seconds]
14:13
viccuad has quit [Ping timeout: 272 seconds]
14:32
reinforce has quit [Quit: Leaving.]
14:33
cnxsoft has quit [Quit: cnxsoft]
14:36
reinforce has joined #linux-sunxi
14:44
naobsd has joined #linux-sunxi
14:52
Ueno_Otoko has quit [Remote host closed the connection]
15:02
afaerber_ has quit [Quit: Ex-Chat]
15:08
reinforce has quit [Quit: Leaving.]
15:15
formruga has joined #linux-sunxi
15:20
Gerwin_J has joined #linux-sunxi
15:23
afaerber has joined #linux-sunxi
15:26
IgorPec has joined #linux-sunxi
15:27
enrico_ has joined #linux-sunxi
15:28
_massi has quit [Read error: Connection reset by peer]
15:40
orly_owl has quit [Read error: Connection reset by peer]
15:43
orly_owl has joined #linux-sunxi
15:43
pmattern has joined #linux-sunxi
15:45
robogoat has quit [Ping timeout: 250 seconds]
15:46
IgorPec has left #linux-sunxi [#linux-sunxi]
15:46
IgorPec has joined #linux-sunxi
15:52
robogoat has joined #linux-sunxi
15:59
hipboi has quit [Remote host closed the connection]
16:02
enrico_ has quit [Remote host closed the connection]
16:02
enrico_ has joined #linux-sunxi
16:05
IgorPec has quit [Ping timeout: 260 seconds]
16:06
enrico_ has quit [Remote host closed the connection]
16:07
enrico_ has joined #linux-sunxi
16:07
bmeneg has quit [Quit: WeeChat 1.3]
16:09
bmeneg has joined #linux-sunxi
16:12
reinforce has joined #linux-sunxi
16:13
domidumont has quit [Read error: Connection reset by peer]
16:17
vishnup has joined #linux-sunxi
16:23
bmeneg has quit [Quit: WeeChat 1.3]
16:31
viccuad has joined #linux-sunxi
16:46
bmeneg has joined #linux-sunxi
16:47
viccuad has quit [Ping timeout: 252 seconds]
16:59
yann|work has quit [Ping timeout: 260 seconds]
17:06
vishnup has quit [Remote host closed the connection]
17:11
Andy-D has joined #linux-sunxi
17:13
<
TheLinuxBug >
is that a rhetorical question
17:14
<
TheLinuxBug >
obviously its not detecting USB or network
17:14
<
TheLinuxBug >
so it won't boot
17:14
<
ssvb >
montjoie: do you have anything on the sd card?
17:14
<
ssvb >
montjoie: there is still no USB or Ethernet support for H3 in U-Boot
17:16
IgorPec has joined #linux-sunxi
17:17
avph has quit [Ping timeout: 252 seconds]
17:18
<
montjoie >
ssvb: I can start uImage at hand so there something in mmc
17:21
avph has joined #linux-sunxi
17:23
<
ssvb >
montjoie: you can try to downclock DRAM from 672 MHz to something lower
17:24
<
ssvb >
montjoie: for a rather conservative choice, just change it in U-Boot defconfig to 480 MHz
17:25
<
codekipper >
montjoie: looks like you're missing boot.scr/uEnv.txt on the card
17:30
<
montjoie >
I miss boot.scr
17:32
<
montjoie >
ssvb: I will try the downgrade also
17:34
<
ssvb >
montjoie: OK, but the oops is still an indication that something might be not very reliable, and the DRAM clock speed is the primary suspect
17:37
<
ssvb >
montjoie: or some other fork?
17:37
Netlynx has joined #linux-sunxi
17:37
Netlynx has joined #linux-sunxi
17:37
<
codekipper >
ssvb: no....this was put together a few weeks ago when I managed to boot my OP2
17:38
<
codekipper >
just wanted to write something that could be cut and pasted to get a booting card.
17:39
Nacho_ has joined #linux-sunxi
17:39
<
ssvb >
codekipper: things have progressed quite a lot in the last few weeks
17:41
<
ssvb >
codekipper: for example, jemk's u-boot repository still contains the code with problematic zq calibration
17:42
<
codekipper >
yeah...I've noticed but others on that thread have taken over the batton
17:43
<
ssvb >
codekipper: if montjoie used that u-boot branch, then this perfectly explains his kernel oopses
17:44
<
IgorPec >
ssvb: doing anything with / on musb driver?
17:48
<
codekipper >
I was looking at his u-boot pastebin. Have you experienced the kernell oops? I've not seen anything like that
17:48
<
codekipper >
well....nothing not caused by my hacks!
17:49
<
ssvb >
codekipper: it was discussed in the linux-sunxi mailing list, and the mainline u-boot repository now has a better dram init code for h3
17:51
<
ssvb >
codekipper: there is still a bit of mess with all these forum threads and repository forks for h3
17:52
<
ssvb >
codekipper: but hopefully things will converge pretty soon
17:52
<
codekipper >
ssvb: yeah..the last item in that thread mentions that. I've not booted my OP2 for a week or so
17:52
<
ssvb >
IgorPec: do you mean usb otg support for h3?
17:53
maz has quit [Ping timeout: 276 seconds]
17:54
<
IgorPec >
no, on A20 .. i am experiencing some weird behaviour. host mode, both kernels (3.4 and 4.4). I got "not enough bandwidth" on some devices
17:55
<
IgorPec >
ssvb: only on OTG port, on normal working o.k.
17:56
<
jelly >
ops: ir2ivps8 is one of logging bots, used to combine unauthorized public logs on web with ad serving and SEO
17:58
<
ssvb >
IgorPec: Hans de Goede is the USB guy
17:58
<
ssvb >
but the OTG port needs a separate driver, which is not available yet
17:58
viccuad has joined #linux-sunxi
18:00
<
IgorPec >
ssvb: don't need OTG I'll try ping Hans, tnx
18:00
<
ssvb >
IgorPec: hmm, what do you need then?
18:01
<
IgorPec >
ssvb: host mode only
18:01
<
ssvb >
IgorPec: the USB host ports should already work on H3
18:02
<
ssvb >
IgorPec: but the OTG port needs a driver regardless of whether you want to use it in the device or host mode
18:02
<
IgorPec >
ssvb: they are working, yes .. just not completly properly ;) (need for A20)
18:02
<
IgorPec >
ssvb: musb ?
18:03
<
IgorPec >
ssvb; i got it working, i can use mouse, mount drive, etc.. but while trying to play music on external dac it crashes
18:04
<
ssvb >
IgorPec: what is not working completely properly? and on A20 or H3?
18:05
<
IgorPec >
ssvb: playing music on DAC on A20 while the exact HW plays O.K. via other USB ports
18:05
<
ssvb >
IgorPec: just post this information to the mailing list with a bit more details
18:06
<
IgorPec >
ssvb: i was thinking to do next ... thanks for your time anyway!
18:11
enrico_ has quit [Quit: Bye]
18:11
khuey|away is now known as khuey___
18:13
<
montjoie >
ssvb: I use hand u-boot (branch sunxi-wip)
18:28
leviathancn has quit [Ping timeout: 244 seconds]
18:35
interrobangd has joined #linux-sunxi
18:47
mnemoc has quit [Read error: Connection reset by peer]
18:47
diego_r has quit [Ping timeout: 244 seconds]
18:49
clonak has quit [Ping timeout: 272 seconds]
18:55
clonak has joined #linux-sunxi
18:56
domidumont has joined #linux-sunxi
18:58
afaerber has quit [Quit: Ex-Chat]
19:29
<
montjoie >
but no network
19:32
viccuad has quit [Ping timeout: 240 seconds]
19:34
avph has quit [Ping timeout: 252 seconds]
19:37
Netlynx has quit [Quit: Leaving]
19:38
petero_ has joined #linux-sunxi
19:38
avph has joined #linux-sunxi
19:42
ricardocrudo has quit [Read error: Connection reset by peer]
20:10
viccuad has joined #linux-sunxi
20:10
interrobangd has quit [Quit: Leaving]
20:11
khuey___ is now known as khuey|away
20:14
mstar has quit [Read error: Connection reset by peer]
20:14
mstar_ has joined #linux-sunxi
20:21
IgorPec has quit [Ping timeout: 260 seconds]
20:21
reinforce has quit [Quit: Leaving.]
20:22
mstar_ has quit [Ping timeout: 265 seconds]
20:23
FlorianH has quit [Ping timeout: 272 seconds]
20:31
domidumont has quit [Ping timeout: 246 seconds]
20:33
interrobangd has joined #linux-sunxi
20:33
Gerwin_J has quit [Quit: Gerwin_J]
20:36
yann|work has joined #linux-sunxi
21:04
Nacho_ has quit [Ping timeout: 272 seconds]
21:09
Nacho has joined #linux-sunxi
21:14
Andy-D has quit [Ping timeout: 252 seconds]
21:31
petero_ has quit [Quit: Verlassend]
21:35
ricardocrudo has joined #linux-sunxi
21:50
khuey|away is now known as khuey___
22:14
clonak has quit [Ping timeout: 272 seconds]
22:23
clonak has joined #linux-sunxi
22:33
dannym has joined #linux-sunxi
22:35
<
dannym >
Hmm... how does Linux handle the case when a special function of one of the gpios is in use? Is /sys/class/gpio/gpioxxx still supposed to be available for it as well?
22:36
<
dannym >
(Because PI12 seems to be available (and working) as gpio268 on LIME2 if clk_out_a is enabled and using PI12)
22:44
ricardocrudo has quit [Ping timeout: 252 seconds]
22:54
ricardocrudo has joined #linux-sunxi
22:56
robogoat has quit [Ping timeout: 246 seconds]
22:58
robogoat has joined #linux-sunxi
23:04
tomboy64 has quit [Ping timeout: 250 seconds]
23:05
<
deskwizard >
dannym, you mean like if a pin is set to a function in the fex file, like the lcd power pin for example?
23:06
<
dannym >
deskwizard, kinda, but using the mainline kernel. I have a tiny driver enable the clk_out_a. The gpio dir is still there afterwards. (I also tried enabling a clock with a typo and I get an error - so the other was presumably found)
23:06
<
deskwizard >
oh okay, I couldnt say on mainline
23:08
tomboy64 has joined #linux-sunxi
23:09
<
dannym >
deskwizard, hmm... how was it with 3.4? (Technically, I have a 3.4 sd card somewhere)
23:10
<
deskwizard >
I can't tell you the EXACT name, but they showed as something along the lines of sys_gpio169 or whatever #
23:12
<
dannym >
deskwizard, yes, it's the same on mainline. But some pins have an optional non-gpio function. What happens when you use that function? (for example if you use the CPU UART on a gpio pin)
23:12
<
dannym >
(I mean if, instead of bitbanging it yourself, you have a fixed-function block on the CPU do it)
23:12
<
deskwizard >
yeah yeah I see what you mean, like the UARTs, I2C, SPI etc..
23:12
<
deskwizard >
I don't know :|
23:13
<
deskwizard >
good one though
23:15
<
dannym >
(Do you use UART0? That has PB22, PB23. Do these still show up as gpio for you? They do for me and I
*definitely* have my serial console on there... wtf)
23:16
yoz has joined #linux-sunxi
23:20
<
Seppoz >
wha is the gpio logic level?
23:21
<
Seppoz >
dannym: check the gpio function code for sunxi
23:21
<
Seppoz >
dannym: the last export bascially wins
23:21
<
Seppoz >
as it will setup the mux
23:22
<
Seppoz >
everytime you are accessing a gpio pin using stuff like port:PE07<1><default><default><0> the mux is set
23:22
<
Seppoz >
so the last driver/module doing this basically sets the mux function
23:23
<
Seppoz >
there is allways only 1 mux function per pin active. you can not have 2 at the same time (unless there is a mux for both functions)
23:23
VargaD has quit [Ping timeout: 240 seconds]
23:23
<
Seppoz >
so for example if you setup i2c to be used as i2c pin by the chip i2c hw stack you can not use it as gpio
23:24
<
Seppoz >
dannym: the fact that pins that are used for uart show up as gpio is a messed up fex file
23:24
<
Seppoz >
check your [gpio_para] and make sure it dont export the gpio fpr the sysfs
23:24
<
dannym >
Seppoz: I see. (It's mainline dts)
23:25
<
Seppoz >
oh well for dts i honestly dont know sorry
23:25
<
Seppoz >
but i suposse the muxing is the same
23:25
<
Seppoz >
so it should be the same
23:26
<
Seppoz >
muxing is a chip thing not a kernel thing
23:26
VargaD has joined #linux-sunxi
23:26
<
dannym >
Seppoz: I see. But the kernel doesn't save me from myself? I'm trying that stuff right now and I can export a gpio of the UART where the console it.... errrrrr
23:27
<
dannym >
(I'm starting to get some inkling on why when I poke random gpios my hard drive shuts off...)
23:27
<
Seppoz >
can you post your dts
23:28
<
Seppoz >
should be in arch/arm/boot/dts/whateverboard.dts
23:29
<
dannym >
(it's sun7i-a20-olinuxino-lime2.dts adapted by me, starting from 4.4-rc1)
23:31
<
Seppoz >
note the include of sun7i-a20.dtsi
23:34
<
Seppoz >
i gues it has to do with the fact that its defined in PIO but thats a qquestion for somebody elese
23:34
<
Seppoz >
i gues it has to do with the fact that its defined in PIO but thats a qquestion for somebody else
23:35
<
deskwizard >
question, a20 hanging on boot when ethernet is not plugged... kernel or not?
23:35
<
Seppoz >
i suppose the pins need to be registered against the PIO subsystem for the drivers to access them
23:35
<
deskwizard >
ie. who do I complain to :P
23:36
<
Seppoz >
but just a guess
23:36
<
Seppoz >
deskwizard: probably udhpd from userspace
23:36
<
Seppoz >
there is an option that dont allow to interrupt dhcp requests
23:36
<
Seppoz >
and only continue after it gets an address
23:37
<
Seppoz >
but would need to see boot code
23:38
<
Seppoz >
looks like kernel
23:38
<
deskwizard >
thought so
23:38
<
Seppoz >
still think its userspace
23:38
<
deskwizard >
anyway ill look into it, i vaguely remember seeing a solution to that somewhere
23:39
<
deskwizard >
so how usable is sun7i on mainline ?
23:39
<
Seppoz >
you mean a20?
23:40
<
Seppoz >
or which particular?
23:41
<
deskwizard >
I thought A20 = sun7i
23:41
<
deskwizard >
olinuxino-a20-micro in particular :P
23:41
<
dannym >
deskwizard: very usable. Ethernet, Audio, Screen (if enabled in uboot), i2c, spi and uart work fine.
23:42
<
deskwizard >
console or gui?
23:42
<
dannym >
deskwizard: gui. There's a framebuffer thingie in mainline uboot, you have to enable that because there's no modesetting driver yet.
23:43
<
deskwizard >
i can deal with that
23:43
<
deskwizard >
could even fail at doing the driver eventually lol
23:50
pmattern has quit [Quit: Genug für heute.]
23:56
interrobangd has quit [Quit: Leaving]
23:58
<
dannym >
deskwizard: hehe you mean the motivation wouldn't be there anymore? :-)