00:30
drachensun-peng has quit [*.net *.split]
00:30
arete74 has quit [*.net *.split]
00:30
torqu3e has quit [Read error: Connection reset by peer]
00:30
RaYmAn has quit [Ping timeout: 248 seconds]
00:30
RaYmAn_ has joined #linux-sunxi
00:31
torqu3e has joined #linux-sunxi
00:39
arete74 has joined #linux-sunxi
00:39
drachensun-peng has joined #linux-sunxi
01:27
mab has quit [Ping timeout: 260 seconds]
01:35
torqu3e has quit [Ping timeout: 245 seconds]
01:42
torqu3e has joined #linux-sunxi
01:44
mab has joined #linux-sunxi
02:07
zenitraM has quit [Ping timeout: 245 seconds]
02:09
zenitraM has joined #linux-sunxi
02:13
egbert has quit [Disconnected by services]
02:13
egbert_ has joined #linux-sunxi
02:16
zenitraM has joined #linux-sunxi
02:17
torqu3e has quit [Ping timeout: 245 seconds]
02:18
torqu3e has joined #linux-sunxi
03:02
ganbold_ has joined #linux-sunxi
03:13
ZaEarl_ has quit [Ping timeout: 240 seconds]
04:06
ZaEarl_ has joined #linux-sunxi
04:14
torqu3e has quit [Read error: Connection reset by peer]
04:15
torqu3e_ has joined #linux-sunxi
04:41
nicktime has joined #linux-sunxi
04:49
<
nicktime >
Hi, I've found in this channel's logs that hansg is working on AXP PMIC driver, could anyone give me a link to his repo? Anyone else is working on AXP driver?
04:56
<
nicktime >
Oh, I mean mainlining efforts.
05:06
<
nicktime >
Though nickname make it look controversial...
05:09
wingrime has joined #linux-sunxi
05:32
torqu3e_ has quit [Ping timeout: 245 seconds]
05:38
torqu3e has joined #linux-sunxi
05:48
<
wingrime >
A13-OLinuXino also have RTL8188CU (sdio), that simular mine RTL8188EU (usb)
05:50
<
wingrime >
diferent wifi and ts IC
06:02
torqu3e has quit [Ping timeout: 245 seconds]
06:10
torqu3e has joined #linux-sunxi
06:20
torqu3e has quit [Ping timeout: 245 seconds]
06:27
torqu3e has joined #linux-sunxi
06:32
mab_ has joined #linux-sunxi
06:35
mab has quit [Ping timeout: 264 seconds]
06:45
torqu3e has quit [Ping timeout: 245 seconds]
06:46
rellla has joined #linux-sunxi
06:48
torqu3e has joined #linux-sunxi
06:50
ZaEarl_ has quit [Ping timeout: 240 seconds]
07:12
rellla2 has joined #linux-sunxi
07:14
rellla has quit [Ping timeout: 276 seconds]
07:28
<
mripard >
Turl: pong
07:53
rz2k has joined #linux-sunxi
07:59
drachensun-peng has quit [Ping timeout: 256 seconds]
08:01
drachensun-peng has joined #linux-sunxi
08:22
torqu3e has quit [Ping timeout: 245 seconds]
08:29
torqu3e has joined #linux-sunxi
09:15
hipboi has joined #linux-sunxi
09:27
focus has joined #linux-sunxi
09:27
merbanan has quit [Ping timeout: 248 seconds]
09:30
merbanan has joined #linux-sunxi
09:36
paulk-desktop has joined #linux-sunxi
09:53
hipboi has quit [Ping timeout: 245 seconds]
09:55
<
Turl >
mripard: yesterday I was having a look at the wemac branch on your tree
09:56
<
Turl >
I wondered what the hackberry_hogs stuff was in "ARM: hackberry: dt: Add Ethernet controller to the Hackberry device tree"
09:59
<
mnemoc >
eh? sunxi-wemac already submited upstream?
09:59
<
Turl >
mnemoc: no, but it's WIP :)
10:00
<
mnemoc >
but we don't even have an stable sunxi-wemac in sunxi-3.0....
10:01
<
Turl >
mnemoc: I don't have any stability issues with it
10:01
<
mnemoc >
tell that to rm :)
10:01
<
Turl >
it's just slow on full duplex :p
10:01
<
Turl >
if I ethtool it to half duplex it actually performs decently
10:03
<
mripard >
Turl: it's a group where you put all the GPIOs used for your device, so that pinctrl knows what pins is already in used, etc.
10:03
<
mripard >
we should do the same for the LEDs actually...
10:04
<
mripard >
hmm, you did
10:04
<
mripard >
it's just a conveniance
10:04
<
mripard >
to avoid creating one group for each of the small pins you will use every now and then
10:05
<
mripard >
like, reset pins, power pins, and so on
10:06
hipboi has joined #linux-sunxi
10:09
focus has quit [Quit: Ex-Chat]
10:13
focus has joined #linux-sunxi
10:13
<
Turl >
mripard: so it's kind of a catch all for small sets of pins then
10:14
<
Turl >
mripard: I see now that you use PH19 on the power-gpios property
10:14
<
focus >
what would it take to get full ubuntu working on A31? (sata, usb, ethernet, lcd, hdmi, video acceleration, 3d )
10:15
hramrach has quit [Ping timeout: 276 seconds]
10:16
<
hipboi >
A31 doesn't have sata
10:17
<
focus >
hmm.. does A31 have any ways of accessing an SSD?
10:18
<
mripard >
Turl: yes, I didn't do it because I don't have one, and so I wasn't sure about the muxing.
10:18
<
mripard >
feel free to osend it
10:19
RaYmAn_ is now known as RaYmAn
10:19
RaYmAn has quit [Quit: Reconnecting]
10:19
RaYmAn has joined #linux-sunxi
10:19
<
Turl >
mripard: I had a quick look on the u-boot code, that seems to be it
10:19
<
Turl >
I'll test and send in a bit
10:20
<
mripard >
Turl: feel free to add your acked-by to the UARTs patches if you agree with them btw
10:20
<
mripard >
mnemoc: you too :)
10:20
<
Turl >
hm, your branch doesn't build :/
10:20
<
mripard >
which one?
10:20
<
Turl >
make[1]:
*** [kernel/timeconst.h] Error 127
10:20
<
Turl >
make:
*** [kernel] Error 2
10:20
<
Turl >
bc not found :<
10:21
<
mnemoc >
install bc
10:21
<
mripard >
well, you have to install bc then :)
10:21
* Turl
doesn't like new dependencies
10:21
<
mripard >
it's to drop a perl script
10:22
<
mripard >
which is always a good thing :)
10:22
<
Turl >
sh can do math too
10:23
<
mripard >
come on, don't troll too much ;)
10:23
<
Turl >
CI systems would break :)
10:24
<
mripard >
and which shell are you talking about ? sh? bash? dash? zsh? :)
10:24
<
mnemoc >
$(expr 1 + 1) is cross shell :p
10:24
<
mripard >
doing anything fancy with a shell script is just a nightmare.
10:24
<
mnemoc >
but `bc` is a fair requirement
10:25
<
Turl >
sh -c 'echo $((2+3))'
10:25
<
mnemoc >
Turl: that's bashism
10:25
<
mnemoc >
it took rob landley like 5 years to get his perl-removal patch accepted :p
10:25
<
Turl >
that's the only *sh on my box :P
10:26
<
mnemoc >
just install bc and stop whinning :p
10:26
<
Turl >
I did already :p
10:27
<
mripard >
mnemoc: and yes, I've continued the work from stefanro on the wemac driver
10:27
<
mripard >
It's not that bad if it doesn't work in any cases
10:28
<
mripard >
since we don't have any datasheet, it will be a best-effort kind of support on this one
10:29
<
Turl >
1c28000.uart: ttyS0 at MMIO 0x1c28000 (irq = 17) is a U6_16550A
10:29
<
Turl >
console [ttyS0] enabled, bootconsole disabled
10:29
<
Turl >
console [ttyS0] enabled, bootconsole disabled
10:29
hramrach has joined #linux-sunxi
10:29
<
Turl >
is it normal that it prints the last line twice?
10:31
<
mripard >
hmmm, I don't know, never seen it
10:31
<
mripard >
never really paid attention to it neither
10:32
<
Turl >
the console works, so I'll assume the muxing is right
10:35
<
mripard >
well, since the muxing was previously done by u-boot
10:35
<
mripard >
if you set the wrong muxing, you won't see the difference :)
10:35
<
mripard >
because you'll have the two set of pins, muxed to the UART
10:36
<
mripard >
one that is actually used
10:36
<
mripard >
and the other that is useless
10:45
<
Turl >
hipboi: uart1 is not accesible on cubieboard, right?
11:05
<
hipboi >
Turl: i need to check the schematic
11:07
<
hipboi >
Turl: uart1 pin is used as emac
11:08
<
nicktime >
mripard: Is your I2C work available through your github repo? Which branch is it?
11:09
<
mripard >
nicktime: it's not complete, so it's not
11:09
<
mripard >
but I can push it if you want to take a look at it
11:09
<
nicktime >
I'd like to
11:10
<
Turl >
hipboi: so it's not usable then, alright
11:11
<
mripard >
nicktime: it's pushed
11:11
<
mripard >
sunxi-3.9-wip-i2c-dont-build
11:12
<
mripard >
(don't look at the dont-build, my repo is under CI, it's the flag to tell the bot to ignore it)
11:14
<
mripard >
don't look at the commit log neither :)
11:16
<
mripard >
it's untested at this point
11:16
<
mripard >
so I'm definitely open to comments
11:17
<
mripard >
to be testable, I guess the only thing left to do is to set the clock dividers in the probe function
11:22
<
nicktime >
I see. Not sure if I'll fail miserably or will manage to get anything useful done:) But will take a shot still.
11:26
<
mripard >
nicktime: I'm going out for lunch, I'll help you a bit more when I come back if you want
11:26
<
nicktime >
mripard: ok, thanks
11:27
hipboi has quit [Ping timeout: 272 seconds]
11:35
mab_ has quit [Remote host closed the connection]
11:53
torqu3e has quit [Ping timeout: 245 seconds]
12:00
torqu3e has joined #linux-sunxi
12:18
<
mripard >
just after the /* clock dividers */ in the probe
12:18
<
mripard >
you'll need Turl's patches for the clock gating as well
12:20
nicktime has quit [Ping timeout: 272 seconds]
12:32
<
Turl >
fuu, power cut :(
12:32
<
Turl >
mripard: what clock is that? I'll work on a representation next if you need it
12:35
<
mripard >
Turl: let me check
12:36
<
mripard >
gates 0, 1 and 2 in APB1
12:38
<
mripard >
(on the A10)
12:46
<
Turl >
apb1 gates are all there
12:46
<
Turl >
but they're just gates, you cannot change the frequency
12:46
<
mripard >
it's not in the clocks themselves that we need to change the frequency
12:46
<
mripard >
the i2c controller has an internal divider
12:47
<
mripard >
that's what I was refering to
12:47
<
mripard >
I just told him to grab your patches, I know this won't be extra work for you :)
12:49
nicktime has joined #linux-sunxi
12:51
<
Turl >
mripard: my leds stopped working hm
12:53
<
mripard >
since when?
12:53
<
Turl >
mripard: idk, just tried on your branch + clk
12:53
<
Turl >
the green one is lit but the blue one doesn't heartbeat
12:54
<
Turl >
I cannot seem to be able to operate any of them (can't turn off the green nor turn on the blue)
12:55
<
mripard >
hmmm, weird
12:56
egbert_ is now known as egbert
12:56
<
mripard >
and if you change directly the GPIO value through sysfs?
12:59
<
Turl >
ok, so it's one of the gates that I shouldn't be gating
13:00
<
mripard >
oh, so it's your patch that cause this?
13:01
<
Turl >
well, not really the patches' fault, more like the automatic 'gate all the things that aren't in use' fault
13:09
<
Turl >
mripard: ok, so pinctrl must hold apb0_pio
13:10
<
mripard >
makes sense
13:11
<
Turl >
does it support clocks=?
13:11
<
mripard >
not for now
13:11
<
mripard >
but I'm pretty sure you'll come up with a patch :)
13:13
bfree_ has joined #linux-sunxi
13:13
bfree has quit [Ping timeout: 252 seconds]
13:15
<
nicktime >
mripard: could you give me the kernel config?
13:17
<
mripard >
multi_v7_defconfig, plus CONFIG_I2C_SUNXI
13:21
<
Turl >
mripard: does the pinctrl driver support unloading?
13:23
<
mripard >
it doesn't make much sense to remove it
13:24
<
Turl >
good, I don't have to worry about unpreparing and disabling the clock then :)
13:29
<
mripard >
looks fine
13:38
hansg has joined #linux-sunxi
13:39
<
Turl >
ok then, all rebased and working fine as far as I can see
14:03
<
Turl >
1,9March/arm/boot/uImage
14:03
<
Turl >
2,4March/arm/boot/Image
14:03
<
Turl >
pretty small, even uncompressed :)
14:06
<
mripard >
we don't have that much to put into our image though :)
14:15
dstyle has joined #linux-sunxi
14:25
rellla2 has quit [Ping timeout: 245 seconds]
14:38
paulk-desktop has quit [Quit: Ex-Chat]
14:45
ZaEarl_ has joined #linux-sunxi
14:52
<
nicktime >
mripard: i2c bus not added to dts file
14:53
<
mripard >
ah, yes, probably
14:55
<
mnemoc >
drivers/net/wireless/rtl8723as/hal/rtl8723a/狡籹 -rtl8723a_bt-coexist.c .... come on
14:55
<
mnemoc >
chinese filenames?!
14:56
<
mripard >
mnemoc: hahaha
14:56
<
nicktime >
compiler test
15:00
rellla has joined #linux-sunxi
15:04
<
rz2k >
mnemoc: have you updated sunxi-bsp submodules to use latest stage merge?
15:05
<
mnemoc >
rz2k: not yet :|
15:05
<
mnemoc >
need to integrate mali-sunxi as well :\
15:07
<
xenoxaos >
i need to take a vacation to sit down and work on all the shit on my pile...
15:30
torqu3e has quit [Read error: Connection reset by peer]
15:32
torqu3e has joined #linux-sunxi
15:34
<
techn__ >
how marsboard is better than cubieboard?
15:34
<
techn__ >
"it is a credit card sized board, expansion 140 extend pin 2.0mm headers, more powerful and cheaper than cubieboard." -Wiki :)
15:35
<
mnemoc >
more powerful????
15:35
<
mnemoc >
how can an A10 be more powerful than another A10?
15:35
<
techn__ >
more ram?
15:37
<
mnemoc >
it's smaller, cheaper and has more pads (no headers/pins)
15:40
torqu3e has quit [Ping timeout: 245 seconds]
15:40
<
mnemoc >
rz2k: bsp updated
15:42
<
rz2k >
I believe we need to state on wiki about miniand/marsboard and etc being just resellers of some oem projects
15:42
<
rz2k >
with 0 support and etc
15:43
torqu3e has joined #linux-sunxi
15:43
anunnaki has quit [Ping timeout: 264 seconds]
15:45
<
mnemoc >
what about making some template banners like wikipedia's? {{wip}} {{wikify}} {{community}} ....
15:46
<
mnemoc >
but anyhow, adding things like "my product is better than this other product" is imo unacceptable
15:47
<
mnemoc >
it must be up to the reader to decide what is better for his needs
15:58
hansg has quit [Quit: Leaving]
16:30
nicktime has quit [Quit: Leaving.]
17:19
<
hramrach >
their home page does not work without javescript - even such basic thing like selecting the tab on the top :>
17:19
<
hramrach >
JS-links ftl
17:20
<
mnemoc >
at least it's not flash-based
17:20
<
hramrach >
hmmm, maybe I had just cached old version that had no links there
17:20
<
hramrach >
it looks ok now
17:21
paulk-desktop has joined #linux-sunxi
17:24
<
wingrime >
hramrach: Have you any intension to send RTL8188 to ML ?
17:25
<
techn__ >
ssvb: libv: way to handle page flipping found
17:25
<
techn__ >
WB_STATUS Write-back process status
17:25
<
techn__ >
This flag indicates that a full frame has not been written back to memory. The bit will be set when write-back enable bit is set, and be cleared when write-back process ends
17:26
<
hramrach >
wingrime: no, that's not something you can send to a ML
17:26
<
hramrach >
have you checked how large the 'patch' would be?
17:26
<
techn__ >
or atleast possibility
17:27
<
hramrach >
wingrime: I don't even have a device to test the driver with
17:27
<
wingrime >
hramach: I have using it now and there is any issue
17:28
<
wingrime >
hramach: merge you branch simpler than ML
17:29
<
hramrach >
wingrime: can you try the 8192cu driver with a .fex file that enables the USB controller?
17:29
<
wingrime >
hramrach: I have tryed load it manualy
17:30
<
hramrach >
it won't work when manually loaded when the USB is not powered
17:30
<
techn__ >
newermind.. writeback is not used
17:31
<
hramrach >
so it either does not support this hardware revision or it does not work because the USB is not enabled in fex file
17:34
<
hramrach >
wingrime: try asking on the ML how to determine if the USB port on which the wireless is connected is enabled with your fex file
17:34
<
wingrime >
hramrach: what fex parameter for usb boot power ?
17:35
<
techn__ >
wingrime: yes
17:35
<
wingrime >
techn: my looks 100% same but have zte touch and other wifi
17:36
<
techn__ >
ok.. so we should combine it
17:36
<
techn__ >
propably to q88.. and express differences
17:36
<
techn__ >
and maybe we could make common fex file for all q88 devices?
17:37
<
hramrach >
wingrime: I have [usb_wifi_para] usb_wifi_used = 0 usb_wifi_usbc_num = 2
17:37
<
hramrach >
that would make [usbc2] the port used for wifi
17:38
<
techn__ >
ooh.. that datasheet has security system registers :)
17:38
<
techn__ >
we could make /dev/crypto?
17:39
<
wingrime >
techin__: A13B and GONMAD PWS700YA and Q88 are same ?
17:39
ZaEarl_ has quit [Ping timeout: 240 seconds]
17:40
<
techn__ >
q88 is reference design name :/
17:40
<
hramrach >
wingrime: try setting usb_host_init_state = 1
17:40
<
hramrach >
oh, and default for power to 1
17:40
<
techn__ >
mnemoc: can confirm
17:40
<
hramrach >
but not sure how that's done with the fex mess
17:40
<
hramrach >
usb_drv_vbus_gpio = port:power203<1><0><default><0>
17:40
<
wingrime >
hramrach: same name can have different HW
17:41
<
hramrach >
that's totally possible
17:42
<
hramrach >
but so far it looks like your USb controller is powered off so you can't tell if the upstream driver would work or not
17:43
<
hramrach >
I have usb_drv_vbus_gpio = port:PH03<1><0><default><0>
17:43
<
hramrach >
looks same enough
17:43
<
hramrach >
so just set usb_host_init_state = 1
17:45
<
wingrime >
hramrach: what means usb_wifi_used = 1
17:46
<
hramrach >
that means that ans USB WiFi module is supposed to be mounted on the board
17:46
<
wingrime >
have it change power on behavior?
17:47
<
hramrach >
you need to set usb_host_init_state = 0
17:47
<
hramrach >
for [usbc1]
17:47
<
wingrime >
understand...
17:48
<
hramrach >
and can as well for [usbc0] too for good measure
17:55
<
wingrime >
wait I reboot
17:57
<
wingrime >
hramrach: have x11 mali drivers give performance compare with framebuffer ?
17:58
<
hramrach >
I have no idea
17:58
<
hramrach >
I use X only for testing and performance is consistently poor regardless of driver used
18:01
paulk-desktop has quit [Ping timeout: 240 seconds]
18:03
<
wingrime >
hramrach: no way... also we have Realtek 8192C USB WiFi for SW
18:03
<
wingrime >
"C" means SDIO
18:03
<
wingrime >
"E" means USB
18:04
<
hramrach >
what does lsusb say?
18:05
<
wingrime >
lsusb see some Realteck device
18:06
<
hramrach >
what device?
18:06
<
wingrime >
wait I make more one reboot (removed 8188eu drvier)
18:06
<
wingrime >
so as expected not work at all....
18:07
<
hramrach >
ssvb: I run gnome-session from the init script. Sometimes I open a X terminal and observe how slow the letters draw ;-)
18:08
<
ssvb >
hramrach: could you try to profile it and check what is the bottleneck?
18:08
<
hramrach >
I hope that when the doublebuffering stuff is finished at least the part with moving windows are ound looks reasonably
18:08
<
hramrach >
ssvb: with what driver version ;-)
18:09
<
ssvb >
testing all of them would be nice :)
18:09
<
hramrach >
the problem with the profiler is that it takes like 30% CPU time :s
18:09
<
wingrime >
hramrach: also I wonder why suspend not work on linux ....
18:10
<
hramrach >
because it's broken
18:10
<
ssvb >
hramrach: it is? seems to work just fine here
18:10
<
wingrime >
hramrach:Bus 002 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
18:10
<
hramrach >
haven't seen a system with working suspend for ages
18:14
<
wingrime >
hramrach: tablet without suspend....unumobile
18:14
<
wingrime >
*unusable
18:14
<
hramrach >
yes, it sucks for battery powered device
18:14
<
hramrach >
but A13 is quite new. don't expect miracles
18:16
<
wingrime >
i don't expect anything from chip china device I just try make it fly on wooden wings))
18:17
<
hramrach >
0bda:8176 appears to be RTL8188CUS (usb) device
18:18
<
xenoxaos >
talking about the mercury adapter that came with the cubie?
18:19
<
xenoxaos >
0bda:8179 came with the cubie i got
18:19
<
hramrach >
got it working?
18:19
<
wingrime >
I got ))))
18:19
<
xenoxaos >
i have enough wireless dongles i didnt mess with it
18:20
gzamboni_ has quit [Ping timeout: 245 seconds]
18:20
<
xenoxaos >
did you just have to add the usb id into the rtl driver and recompile?
18:20
<
wingrime >
I just add driver and add it to Makefile Kconfig
18:21
<
xenoxaos >
i just use it in my windows box at work as a network shared AP so i can get signal on my phone
18:21
<
wingrime >
techn__: are you saw my mmc patch ?
18:21
<
techn__ >
wingrime: ?
18:22
ZaEarl_ has joined #linux-sunxi
18:22
<
techn__ >
when you send it?
18:23
<
wingrime >
last night (30 hours ago)
18:24
<
wingrime >
I resend it
18:25
<
wingrime >
techin:got it ?
18:25
drachensun-peng has quit [Remote host closed the connection]
18:27
drachensun_peng has joined #linux-sunxi
18:30
<
techn__ >
wingrime: now it came trough
18:30
<
techn__ >
looks good
18:32
<
techn__ >
but should that crash be alsewhere also ( bcm4330.ko) ;)
18:32
<
techn__ >
or how that sequence goes?
18:32
<
wingrime >
without any ops
18:33
<
wingrime >
wait I try again and get you log
18:33
<
techn__ >
but I agree that it shouldn't crash if user tries something stupid
18:35
<
wingrime >
techn__: I think we make more one fix in bcm driver
18:35
<
wingrime >
techn__: after oops system remount all FS
18:35
<
hramrach >
wingrime: why does the patch hcange indentation?
18:39
<
wingrime >
hramrach: it should not crash with stupid reason for example when some driver try change mmc card present state
18:39
<
wingrime >
*unexsist card
18:40
<
hramrach >
wingrime: the patch diffs whole function but start and end is same
18:40
<
hramrach >
why do you change indentation in the patch?
18:40
<
wingrime >
it have invalid indent
18:40
<
wingrime >
./checkpatch.pl requests
18:41
<
hramrach >
when the code has invalid indentation throughout it's not fo code-changing patch to fix
18:42
<
hramrach >
because then it's not clear what the patch changes
18:42
<
wingrime >
hramrach: why, there is cleanup patch for it )))
18:43
<
hramrach >
then apply the cleanup patch first or apply this with original indent and let cleanup patch take care of the indent
18:43
<
techn__ >
wingrime: seems that bcm4330 and mmc/sunxi-host are incompatible :/
18:44
<
wingrime >
techn__: it looks I have no sdio config in fex
18:44
<
techn__ >
wingrime: oh.. newermind :)
18:45
<
wingrime >
techn__: I still wait my ft5x patch aprove becoes I want make two things 1) remove useless firmware 2) may be make firmware update 3) may be fix codestyle
18:47
<
techn__ >
wingrime: mnemoc told that he'll merge it today :/
18:48
<
wingrime >
techn__: also I want bring on zte ts to my a13
18:50
<
wingrime >
also I think that MMC is near candidate for mainline
18:51
<
techn__ >
atleast this host_op.c seems to be filled with convention errors
18:54
<
wingrime >
techn__: it need full refactoring
18:54
<
wingrime >
and void sunximmc_rescan_card not return anythng
18:54
<
wingrime >
it must return some result code
18:57
<
wingrime >
static int sdxc_prepare_pio(struct sunxi_mmc_host* smc_host, struct mmc_data* data) in sdxc.c also use BUG_ON
18:58
<
wingrime >
I always thik that we can crash only if kernel cannt contine runs
19:01
<
Turl >
the marsboard page looks like marketing speech :/
19:03
<
wingrime >
tech__: I make more one patch: for sdxc.c, it also use BUG_ON in strange case
19:20
<
wingrime >
tech__: see patch ))
19:24
<
wingrime >
Turl: wtf 4GB nand
19:27
<
Turl >
what wingrime ?
19:40
<
mripard >
wingrime: I'm not sure it's ready for mainline.
19:40
<
mripard >
sdxc is really ugly, it would require a lot of cleanups
19:40
<
mripard >
plus, it uses DMA, and we don't have DMA (yet)
19:55
<
Turl >
mripard: doesn't wemac use dma too?
19:56
<
mripard >
not the version we will send at least
19:56
<
mripard >
the driver that is in the linux-sunxi tree does
20:10
<
Turl >
mripard: btw, did you find out if it's really davicom's IP?
20:11
<
mripard >
I guess I'll contact davicom and try to see if they have the datasheet.
20:11
<
hramrach >
for wemac?
20:12
<
hramrach >
would be cool
20:12
<
mripard >
we'll see how it turns out
20:13
<
mripard >
but I'm not very confident in the long term maintainance if we have neither the datasheet nor any more device using it
20:14
focus_it has joined #linux-sunxi
20:17
<
hramrach >
nor a working driver
20:18
<
mripard >
never had any problem with the one we have.
20:18
<
mripard >
it works, slowly, but it works
20:23
<
hramrach >
ssvb: ENOPROFILER
20:25
<
ssvb >
hramrach: apt-get install linux-tools :)
20:26
<
wingrime >
mtipard: so dma is hi-est priotiy ?
20:27
<
mripard >
wingrime: that, or make the mmc driver work without dma, which is a good thing anyway
20:27
<
mripard >
and mdp said he will work on this
20:28
<
wingrime >
mmc have PIO code )))
20:28
<
wingrime >
and driver small
20:29
<
wingrime >
(if we drop all other stuff)
20:30
<
wingrime >
but ethernet without dma are ugly
20:31
<
mripard >
slow, maybe, ugly, as usual, if it's written properly....
20:32
<
mripard >
what I'd like very much pretty soon is storage devices support
20:32
<
Turl >
mripard: are timers and RTC all implemented already?
20:32
<
mripard >
we have all the infrastructure needed now I think
20:33
<
mripard >
DMA is just a convenience
20:33
<
mripard >
Turl: what timers are you talking about?
20:34
<
wingrime >
mripard: I also intresting in opensource loader
20:34
<
wingrime >
that before uboot
20:35
<
mripard >
"before" uboot ?
20:35
<
Turl >
wingrime: there's nothing before uboot on mmc
20:35
<
mripard >
you can use the SPL, and nothing will come before
20:35
<
Turl >
nand has boot0+1
20:35
<
mripard >
hno: about u-boot
20:36
<
mripard >
Tom Rini (u-boot maintainer) is really interested apparently about Allwinner stuff
20:36
paulk-desktop has joined #linux-sunxi
20:36
<
mripard >
hno: so I guess you'd be really welcome to send the patches you have :)
20:37
<
wingrime >
how about drop SPL and boot directly
20:37
<
Turl >
mripard: I meant the high res timers, timer0
20:37
<
mripard >
boot directly to what ?
20:37
<
Turl >
wingrime: SPL is part of uboot
20:37
<
mripard >
u-boot in itself is meant to run from RAM
20:37
<
mripard >
it's the SPL job to initialize the RAM
20:37
<
mripard >
so you can't jump directly to u-boot
20:38
<
mripard >
(you could drop u-boot and go straight from SPL to linux theorically)
20:38
merbzt has joined #linux-sunxi
20:41
<
wingrime >
mirad: what wrong join SPL and u-boot in one image on linking map?
20:42
<
hramrach >
SPL is more system specific
20:42
<
xenoxaos >
and sometimes has to fit in a very small portion of ram
20:42
<
mripard >
wingrime: it's not executed from the sam place
20:43
<
wingrime >
wait ... why BROM not init ram ?
20:43
<
mripard >
because initializing the external RAM is complicated
20:43
<
mripard >
it depends on the chip you have, the amount of memory you have
20:44
<
wingrime >
read mmc or nand simpler ?
20:44
<
mripard >
it wouldn't fit into the very small ROM inside the SoC
20:44
<
wingrime >
nand to can have different amount of blanks ?
20:44
<
mripard >
and most presumably, you wouldn't be able to upgrade it
20:45
<
wingrime >
mripard: than better
20:45
<
wingrime >
it makes device unbrikable
20:46
<
mripard >
yes, because you make perfect code that has no bugs ?
20:46
<
mripard >
I know I don't
20:46
<
mripard >
and still
20:46
<
wingrime >
nand can have different bus size and blank size etc how it boot from?
20:46
<
mripard >
some part of the RAM initialization is device specific
20:47
<
mripard >
the nand interface is mostly SoC specific
20:47
<
mripard >
it's this way on any ARM SoC i can think of
20:47
<
mripard >
so you'd better get use to it :)
20:48
<
xenoxaos >
the only thing really standardized is the core itself....any peripherals are all different
20:48
<
wingrime >
mripad: BROM can be debuged on FPGA before ASIC stage
20:49
vinifm has joined #linux-sunxi
20:49
<
wingrime >
and fixed with chip revision
20:49
<
wingrime >
hardware also have bugs
20:49
<
wingrime >
also fixed with revisions
20:52
<
mripard >
ok, great, you do the ram initialization in the ROM code
20:52
<
mripard >
how do you deal with different ram timings ?
20:52
<
mripard >
ram size?
20:53
<
wingrime >
in modern "Dark Silicon Age" we can make HW testing
20:53
<
mripard >
memory timings issues can't be detected right away
20:53
<
wingrime >
timings can be slowest before we load fully
20:53
<
mripard >
ok, then who change these timings ? :)
20:54
<
wingrime >
on config load
20:54
<
mripard >
changing the timings of the RAM you're running from is a bad idea.
20:54
<
wingrime >
it can be handled by hw
20:55
<
hramrach >
heh, profiling not configured in kernel
20:55
<
mripard >
again, how?
20:55
<
mripard >
also, remember, you have to have a code that is smaller than a few kB
20:56
<
wingrime >
my general idea make SoC detect HW how much possile
20:56
<
wingrime >
even in fail-safe mode
20:58
<
mripard >
anyway, like I said
20:59
<
mripard >
feel free to create your own SoC that does this
20:59
<
mripard >
but, if you want to deal with the real world, you'll need a first stage bootloader
21:00
merbzt has quit [Ping timeout: 252 seconds]
21:06
vinifm has quit [Read error: Connection timed out]
21:07
vinifm has joined #linux-sunxi
21:13
merbzt has joined #linux-sunxi
21:15
<
wingrime >
why suspend in linux not works>
21:21
<
hramrach >
cause it broken
21:22
<
mnemoc >
android doesn't suspend, it simply freqs down
21:22
<
mnemoc >
so there is no real suspend for sunxi implemented
21:22
<
hramrach >
and powers down screen
21:23
<
hramrach >
ssvb: the linux-tools are not exactly helpful
21:23
<
hramrach >
they only allow profilinga command afaict
21:24
<
hramrach >
anyway, the terminal appears to work at reasonable speed at this moment
21:25
<
hramrach >
so whatever I collect would not reflect the case when the letters appear slower than you type
21:25
<
wingrime >
mnemoc: why not implement suspend as freqs down ?
21:25
<
hramrach >
because it is not suspend
21:25
<
ssvb >
hramrach: "perf record -a", "perf record -p `pidof Xorg`" or "perf top" are quite useful
21:25
<
hramrach >
you have cpufreq all right
21:26
<
ssvb >
hramrach: just try to catch the offender next time it starts running slow :)
21:26
<
wingrime >
hramrch: otherdevices have suspend
21:26
<
hramrach >
wingrime: then do it
21:27
<
hramrach >
but you have to make every sunxi device driver suspend capable ;-)
21:27
<
wingrime >
hramrach: maybe))
21:27
<
hramrach >
yes, will try
21:28
<
hramrach >
I guess I was running some earlier driver when that was the case but not sure anymore
21:29
<
wingrime >
hramrach: make run core at low speed not so bad idea, but if you suspend devices it will be perfect
21:30
<
wingrime >
hramrach: wich file ?
21:37
<
mnemoc >
allwinner is so lovely... drivers/video/sun6i/disp/de_bsp/de/disp_lcd.c has chinese comments in 4 different encodings o_O
21:37
<
mnemoc >
GBK GB18030 GB2312 and UTF8
21:42
wingrime has quit [Ping timeout: 272 seconds]
21:50
paulk-desktop has quit [Ping timeout: 250 seconds]
22:06
paulk-desktop has joined #linux-sunxi
22:12
christopher has joined #linux-sunxi
22:13
christopher is now known as Guest23833
22:18
<
libv >
mnemoc: how is sun6i disp looking?
22:18
<
libv >
mnemoc: superficially
22:19
<
libv >
many changes, or just minor ones (like sun4i -> 5i)
22:19
Guest23833 is now known as anunnaki
22:20
<
mnemoc >
libv: haven't looked at the code itself yet. just sanitizing the history before publishing it
22:20
<
mnemoc >
but at least he file structure looks identical :)
22:21
<
libv >
will be a painful merge though
22:21
<
mnemoc >
will need to do interdiffs to see how it differs from their's latest disp for sun4i/sun5i
22:22
<
mnemoc >
err, not interdiff. wrong term
22:23
<
libv >
mnemoc: how did development start on sun6i
22:23
<
libv >
did they start with a patchbomb, or did they copy sun5i first?
22:24
<
libv >
basically, what does the first sun6i commit look like, sane, or huge?
22:24
vinifm has quit [Remote host closed the connection]
22:24
<
Turl >
mnemoc: huh? as far as I recall sunxi suspends just fine :|
22:24
<
mnemoc >
libv: the core evolved decently
22:25
<
mnemoc >
libv: the drivers, they first made a bulk import from sun4i or sun5i and then they continued tweaking it
22:25
<
mnemoc >
Turl: real suspend?
22:25
<
libv >
ah, ok, that's not too bad then
22:25
<
Turl >
mnemoc: yeah
22:26
<
Turl >
mnemoc: don't you recall the suspend/ assembler mess that puts ram on autorefresh and other stuff?
22:26
<
mnemoc >
libv: a31s is awful. but a20 and a31 are more decent than a10/a13
22:26
<
libv >
a31s is a reduced a31?
22:26
<
mnemoc >
Turl: that's their "super standby"
22:26
<
Turl >
yeah, that's suspend
22:26
<
mnemoc >
libv: plus tons of phone-ish stuff
22:27
<
libv >
hrm, interesting
22:32
paulk-desktop has quit [Quit: Ex-Chat]
22:33
<
mnemoc >
will push a20-dev to my github now
22:44
clements__ has joined #linux-sunxi
22:46
<
libv >
clements__: i do not think that i know you
22:46
<
libv >
clements__: in such a case, it is not deemed very cordial to msg people out of the blue, to ask them whether they are available.
22:47
<
libv >
besides, most people that i know better tend to get to the point, and don't ask to ask
22:48
merbzt has quit [Read error: Operation timed out]
22:49
<
clements__ >
well.. i was trying to be polite..
22:50
<
libv >
clements__: state what you need in here.
23:00
<
clements__ >
im getting symbol lookup error: /usr/lib/libGLESv2.so.2: undefined symbol
23:00
<
libv >
clements__: your sentence is incomplete.
23:01
<
clements__ >
es2gears: symbol lookup error: /usr/lib/libGLESv2.so.2: undefined symbol: XextCreateExtension
23:01
<
libv >
clements__: did you read the README at the top of sunxi-mali?
23:01
<
mnemoc >
libv: in my github. lichee-3.3/sun7i-dev is the original -dev branch for A20, and import/lichee-3.3/a20-dev a sanitized equivalent
23:01
<
libv >
mnemoc: thanks, will have a look
23:02
<
libv >
although it has been more than 4 months since i did the sun4i/5i disp "merge"
23:02
<
mnemoc >
libv: will upload the -dev for A10 and A13 as soon as I finish the sanitization
23:03
<
mnemoc >
then we can see what they did on those after our start-point
23:03
<
mnemoc >
will push a31-dev later tonight
23:05
<
clements__ >
looks similar to the wiki..
23:05
<
clements__ >
which i followed
23:06
<
libv >
clements__: run make clean on your tree
23:07
<
libv >
clements__: now run make install, and paste the full log of that on hastebin.com
23:10
focus_it has quit [Quit: Leaving]
23:12
<
libv >
clements__: looks ok, try es2gears again
23:12
<
clements__ >
same error.
23:13
<
libv >
clements__: check if there are any other instances of libUMP installed
23:17
<
clements__ >
/usr/lib/ shows 2.. libUMP.so and libUMP.so.3
23:18
<
libv >
clements__: try the thorough way.
23:18
<
libv >
clements__: find / -name "*UMP*"
23:18
<
clements__ >
which is..
23:18
<
clements__ >
sorry learning
23:18
<
libv >
do not paste the result of that in this channel.
23:19
<
libv >
clements__: also, libUMP.so in /usr/lib/ is a symlink.
23:19
<
clements__ >
oh ok.. i used find / | grep libUMP
23:19
<
clements__ >
same output
23:20
<
clements__ >
where should the compiled libUMP.so reside
23:20
<
clements__ >
just in /usr/lib?
23:20
<
libv >
exactly there.
23:21
<
libv >
read what you pasted in pastebin
23:21
MadSpark has joined #linux-sunxi
23:24
clements__ has quit [Remote host closed the connection]
23:25
<
libv >
clements__: run ldconfig
23:26
clements__ has joined #linux-sunxi
23:27
<
libv >
clements__: run ldconfig
23:29
<
clements__ >
its working.. thanks libv
23:29
<
libv >
clements__: what did the trick?
23:30
<
clements__ >
copied compiled libUMP.so to /lib/x11
23:31
<
libv >
clements__: is /lib/x11 a directory on your linaro?
23:32
<
clements__ >
yes.. /lib/framebuffer /lib/x11 exists
23:32
<
libv >
did you create those yourself?
23:32
<
clements__ >
not to my knowledge
23:32
<
libv >
that smells like some mess left over from a previous installation
23:32
<
clements__ >
but i have been working on this for a few days
23:32
<
clements__ >
very probable
23:33
<
libv >
those trees will contain other copies of the mali libs
23:33
<
libv >
they need to go
23:33
<
clements__ >
thanks for your help..
23:33
<
libv >
which does not explain the output of your find
23:34
<
libv >
the find should have caught the other libUMP installed there
23:34
<
libv >
clements__: sunxi-mali is hard to miss
23:35
<
clements__ >
it did..
23:35
<
clements__ >
i mean .. my find found those there
23:35
<
libv >
00:17 < clements__> /usr/lib/ shows 2.. libUMP.so and libUMP.so.3
23:36
<
libv >
which part of "00:13 < libv> clements__: check if there are any other instances of libUMP installed" did you not comprehend?
23:38
<
clements__ >
i did look..
23:39
<
clements__ >
ok thanks for your help.
23:51
clements__ has quit [Quit: Leaving]