00:00
cristian_c has quit [Excess Flood]
00:00
cristian_c has joined #linux-rockchip
00:08
cristian_c has quit [Quit: Bye]
00:21
luke-jr_ has joined #linux-rockchip
00:22
Luke-Jr has quit [Ping timeout: 260 seconds]
00:32
naobsd has joined #linux-rockchip
00:53
Ueno_Otoko- has joined #linux-rockchip
00:58
Ueno_Otoko- has quit [Ping timeout: 256 seconds]
00:59
naobsd has quit [Quit: naobsd]
01:12
Sadneophyte has joined #linux-rockchip
01:15
levd has joined #linux-rockchip
01:24
Ueno_Otoko- has joined #linux-rockchip
01:34
VargaD has joined #linux-rockchip
01:48
cyteen has joined #linux-rockchip
02:03
cnxsoft has joined #linux-rockchip
02:12
levd1 has joined #linux-rockchip
02:14
levd has quit [Ping timeout: 256 seconds]
02:14
levd1 is now known as levd
02:25
levd1 has joined #linux-rockchip
02:27
levd has quit [Ping timeout: 272 seconds]
02:27
levd1 is now known as levd
02:27
cnxsoft has quit [Ping timeout: 272 seconds]
02:36
cnxsoft has joined #linux-rockchip
02:52
soimless has joined #linux-rockchip
02:57
levd1 has joined #linux-rockchip
02:58
levd has quit [Ping timeout: 240 seconds]
02:58
levd1 is now known as levd
03:06
naobsd has joined #linux-rockchip
03:25
UndrWater has joined #linux-rockchip
03:26
<
UndrWater >
is there a difference in terms of linux install between the 3188 and 3288?
03:34
UndrWater has quit [Ping timeout: 256 seconds]
03:59
UndrWater has joined #linux-rockchip
04:06
levd1 has joined #linux-rockchip
04:08
levd has quit [Ping timeout: 250 seconds]
04:08
levd1 is now known as levd
04:09
UndrWater has quit [Ping timeout: 250 seconds]
04:09
luke-jr_ is now known as Luke-Jr
04:12
UndrWater has joined #linux-rockchip
04:18
naobsd has quit [Remote host closed the connection]
04:58
UndrWater has quit [Ping timeout: 240 seconds]
04:59
cyteen has quit [Ping timeout: 240 seconds]
05:07
levd1 has joined #linux-rockchip
05:09
levd has quit [Ping timeout: 250 seconds]
05:09
levd1 is now known as levd
05:22
UndrWater has joined #linux-rockchip
05:32
levd1 has joined #linux-rockchip
05:34
levd has quit [Ping timeout: 240 seconds]
05:34
levd1 is now known as levd
05:56
JohnDoe_71Rus has joined #linux-rockchip
06:30
levd1 has joined #linux-rockchip
06:30
Sadneophyte has quit [Ping timeout: 272 seconds]
06:32
levd has quit [Ping timeout: 240 seconds]
06:32
levd1 is now known as levd
06:41
UndrWater has quit [Ping timeout: 250 seconds]
06:48
levd has quit [Quit: levd]
07:27
premoboss has quit [Remote host closed the connection]
07:35
wadim_ has joined #linux-rockchip
07:55
Gengcixi has joined #linux-rockchip
08:14
<
sjoerd >
Ask, don't ask to ask.. And try not to yell, it's still early in some parts of the world
08:16
<
rperier >
if you don't ask your question... that's pretty difficult to help you :)
08:17
<
rperier >
nobody will blame you
08:30
rory096 has quit [Read error: Connection reset by peer]
08:52
<
xming_ >
maybe (s)he really needs help :p
09:16
Gengcixi has quit [Quit: Page closed]
09:50
hipboi has joined #linux-rockchip
09:51
rman has joined #linux-rockchip
09:53
hipboi_ has quit [Ping timeout: 260 seconds]
10:00
<
rman >
Try to use u-boot spl of denx u-boot-rockchip, I got the warning : Warning: SPL image is too large (size 0x8509) and will not boot
10:01
<
rman >
anyone can help?
10:05
<
sjoerd >
See the patch series i posted ealier this week
10:07
<
rman >
@sjoerd Could u share the link :)
10:20
<
rman >
@sjoerd thanks
10:23
<
rman >
@sjoerd Have u tried the full u-boot on rk3288 device ? (mine is firefly)
10:25
<
rman >
I am going to run my own debian image on my rk3288 device. and using the official u-boot :P
10:26
<
rman >
BTW, your patch set seem not been merged
10:26
<
sjoerd >
not yet, there were some review comments, but sjg seemed to be keen ot get it in for the next u-boot relese
10:27
<
sjoerd >
rman: fwiw deiban unstalbe should have a u-boot-rockchip package now
10:34
<
rman >
sjoerd: so u mean we can download the u-boot-rockchip binary now?
10:36
<
sjoerd >
Yeah though i havent tested that myself
10:37
<
rman >
sjoerd: I will try it
10:48
<
sjoerd >
/usr/lib/u-boot/firefly-rk3288/u-boot-spl-dtb.bin
10:48
<
sjoerd >
in the package
11:01
<
rman >
sjoerd: I have got the two image, but no u-boot-dtb.img. says at the doc "sudo dd if=firefly-rk3288/u-boot-dtb.img of=/dev/sdc seek=256"
11:04
<
sjoerd >
ah right error in the packaging from the looks of it indeed
11:10
cyteen has joined #linux-rockchip
11:12
<
rman >
sjoerd: I got the log - U-Boot 2014.10-RK3288-02 (Nov 10 2014 - 03:41:49)
11:13
<
rman >
I seem it can boot from sd card now. Do the version correct ?
11:27
<
rman >
sjoerd: it seem still not work, anyway, thanks :)
11:37
<
xming_ >
trying to find where DDR is getting init in the upstream, but I am a bit lost
11:38
<
xming_ >
maybe I can try to port it to mainline uboot
11:40
ckeepax has joined #linux-rockchip
11:41
<
xming_ >
aha found it
11:45
maz_ has joined #linux-rockchip
11:58
rman has quit [Quit: Leaving]
12:09
<
xming_ >
sjoerd: do you have a branch with those patches applied?
12:11
<
sjoerd >
xming_: that's finguring out the size not configuring the memory
12:11
<
sjoerd >
the memory seutp in the u-boot from rockchipos is the blobby blob
12:12
<
xming_ >
"those patches" == <32KB patches
12:20
<
xming_ >
sjoerd: aha you've just created that
12:20
<
xming_ >
thought I was going mad
12:20
cyteen has quit [Read error: Connection reset by peer]
12:23
<
sjoerd >
xming_: i just pushed it yet
12:23
<
sjoerd >
I don't usually push my wip stuff out unless there is an interest
12:24
<
xming_ >
-rw-r--r-- 1 xming xming 32005 Dec 9 13:21 firefly/spl/u-boot-spl-dtb.bin
12:24
<
xming_ >
sjoerd: gj
12:29
<
xming_ >
redarding 4GB, could it just be as simple as increasing channels from 2 to 4?
12:29
<
xming_ >
are those really channels? Or banks?
12:30
<
sjoerd >
iirc it's 2 banks on these
12:30
<
sjoerd >
xming_: could be that you just need to adjust the dts in u-boot for the firefly
12:30
<
sjoerd >
though it should be able to autodetect it as the binary blob can in principle
12:36
<
xming_ >
worth a try after I get the kernel booting
14:09
cnxsoft has quit [Quit: cnxsoft]
14:14
naobsd has joined #linux-rockchip
14:20
kapouer has joined #linux-rockchip
14:26
<
naobsd >
hmm what's the rk3228 ;)
14:28
<
sjoerd >
more new shinies
14:30
<
naobsd >
hm, quad cortex-a7
14:31
<
naobsd >
maybe similar to rk3128?
14:35
<
naobsd >
"secure boot" person is doing multi posting...
14:37
<
naobsd >
ah, also here...
14:40
<
naobsd >
hmm I want to try some u-boot things, but very sleepy
14:45
dave____ has joined #linux-rockchip
14:45
dave____ has quit [Client Quit]
14:55
<
naobsd >
cat: /sys/class/thermal/thermal_zone1/temp: Resource temporarily unavailable
14:58
<
mmind00_ >
naobsd: pending clock issue
15:00
<
mmind00_ >
i.e. tsadc clock is fed from the rtc, but tsadc often gets probed before the rtc and then enable-counts mismatch
15:04
<
naobsd >
hm, rfc...
15:04
<
mmind00_ >
naobsd: yep, also depends on another change altogether
15:08
<
naobsd >
oh mickey is in next-20151209 :)
15:10
<
naobsd >
is there any patch for cpufreq on rk3368?
15:26
<
mmind00_ >
naobsd: haven't looked at that again yet ... needs to use the big_little cpufreq driver though
15:30
cristian_c has joined #linux-rockchip
15:35
wadim_ has quit [Remote host closed the connection]
15:41
Ueno_Otoko- has quit [Ping timeout: 256 seconds]
15:50
<
naobsd >
mmm next-20151209 didn't boot on firefly :(
15:50
<
naobsd >
(no console for now)
15:50
<
naobsd >
toooo sleepy
15:52
<
cristian_c >
naobsd: hi
15:53
<
cristian_c >
naobsd: do you know if it's possible add a new resoluzione in 'modes' file about hdmi display?
15:56
<
naobsd >
cristian_c: probably you can add info to some file in kernel
15:58
<
cristian_c >
I think, so, I could directly rebuilt kernel editing .config file
15:58
<
cristian_c >
rebuild
15:58
<
cristian_c >
but nothing at-the-fly
16:03
rory0962 has joined #linux-rockchip
16:03
rory0962 is now known as rory096
16:03
rory096 has quit [Changing host]
16:03
rory096 has joined #linux-rockchip
16:18
mmind00_ is now known as mmind00
16:21
<
mmind00 >
naobsd: yeah, but that boot failure does seem to range across mutliple socs
16:25
<
mmind00 >
naobsd: and of course next-20151208 still booted and I don't think anything rockchip-specific went in since yesterday
16:27
<
sjoerd >
tyler-baker: khilman, cool. yeah seems there are 69 new boot failures today, they look like the same issue on all the board. Hopefully it's only one issue.
16:27
<
sjoerd >
from the kernelci guys ;)
17:14
<
xming_ >
could it be related that I have a 4GB/32GB board?
17:16
<
mmind00 >
xming_: this time it didn't detect neither the sd card nor the emmc? very strange
17:29
jas-hacks has joined #linux-rockchip
17:37
gb_master has joined #linux-rockchip
17:38
gb_master has quit [Remote host closed the connection]
17:49
<
xming_ >
probably the newer uboot is the cause
17:49
<
xming_ >
going to use the same one
17:55
cyteen has joined #linux-rockchip
18:12
<
sjoerd >
xming_: if u-boot is causingthe kernel to not see your emmc/sd card then the kernel is buggy for sure
18:12
<
sjoerd >
[ 1.508608] dwmmc_rockchip ff0d0000.dwmmc: Failed getting OCR mask: 0
18:12
<
sjoerd >
[ 1.515479] dwmmc_rockchip ff0d0000.dwmmc: could not set regulator OCR (-22)
18:13
<
sjoerd >
[ 1.522543] dwmmc_rockchip ff0d0000.dwmmc: failed to enable vmmc regulator
18:13
<
sjoerd >
that's suspcious though
20:00
<
xming_ >
it doesn't change a thing
20:01
<
xming_ >
2 different cards behave totally different
20:03
<
xming_ >
so uboot doesn't have issues finding the card nor reading from it, but the kernel does?
20:15
jas-hacks has left #linux-rockchip [#linux-rockchip]
20:35
<
xming_ >
[ 1.552182] vcc_sd: disabling
20:35
<
xming_ >
[ 1.555157] vcc_flash: disabling
20:36
<
xming_ >
does anyone has any idea/clues of how can I get this sorted?
20:51
<
mmind00 >
xming_: interesting ... I have the nagging feeling that I've seen that before
20:51
<
mmind00 >
xming_: could you check if the act8865/act8846 driver is built into your kernel?
20:51
<
mmind00 >
(in both versions)
20:51
<
xming_ >
mmind00: with kernel 4.3 both sd cards have the same kernel output
20:52
<
xming_ >
# CONFIG_REGULATOR_ACT8865 is not set
20:52
<
mmind00 >
xming_: yes ... in your 4.3 log you can see the dwmmc hosts initializing multiple times ... which indicates probe-deferrals
20:52
<
mmind00 >
xming_: it must be enabled
20:53
<
xming_ >
ah it's not in the multi_v7
20:53
<
xming_ >
will enable it
20:54
<
mmind00 >
xming_: it should be in the 4.4 multi_v7 now, thanks to sjoerd
20:54
<
xming_ >
mmind00: hmm need to check 4.4
20:55
<
xming_ >
compiling 4.3 first, install that, then swithcing to 4.4-rc
21:15
premoboss has joined #linux-rockchip
21:36
<
xming_ >
mmind00: 4.3 doesn't even boot, 4.4-rc4 has that in defconfig, recompiled a new one and I get this with the 2GB SDcard
http://pastebin.ca/3279781
21:37
<
xming_ >
it read the partition table, has trouble to read further to find init :/
21:43
<
xming_ >
rebooting it and now it can't find partitions (like before)
21:55
cristian_c has quit [Read error: No route to host]
21:55
cristian_c has joined #linux-rockchip
21:57
<
mmind00 >
xming_: can you try increasing the drive-strength, similar to rk3288-veyron-sdmmc.dtsi ?
21:57
cristian_c has quit [Read error: No route to host]
21:57
cristian_c has joined #linux-rockchip
22:00
cristian_c has quit [Read error: No route to host]
22:01
cristian_c has joined #linux-rockchip
22:01
<
xming_ >
which line(s) control strength?
22:01
<
mmind00 >
the "pcfg_pull_none_drv_8ma" references in the pinctrl settings
22:03
<
mmind00 >
these are actually defined in rk3288-veyron.dtsi and override the drive strength to 8ma, which seems to work for veyron devices
22:03
<
xming_ >
so lines 55-68, and put those in firefly's dts and just recompile the dtb?
22:05
<
mmind00 >
yep ... and also the core defines for these from rk3288-veyron.dtsi ... if they're not present dtb compilation will fail of course
22:05
<
xming_ >
just found out they aren't
22:12
kapouer has quit [Quit: kapouer]
22:13
<
xming_ >
mmind00: oh my, thank you so much that did it
22:13
<
mmind00 >
really? ... very nice
22:15
<
mmind00 >
we should probably increase drive strength then
22:15
<
xming_ >
mmind00: why am I getting that and none og you guys?
22:18
<
mmind00 >
now you can probably also test your 64gb card :-)
22:18
<
mmind00 >
xming_: I don't know why it happened only to you yet
22:19
<
xming_ >
mmind00: yes I will do that tomorrow and report back
22:19
<
mmind00 >
the veyron devices run on 8ma strength since the beginning ... but so far nobody reported issues for the other boards
22:19
<
xming_ >
mmind00: probably because I attract bad luck
22:20
<
mmind00 >
xming_: don't be so sure ;-) ... we got it solved, so that probably counts as good luck
22:20
<
xming_ >
maybe it's because I have the 4GB board
22:20
<
xming_ >
mmind00: that's because you are awesome :D
22:21
<
mmind00 >
the 4gb really may be a factor ... I don't think they've spread to much yet
22:21
<
xming_ >
maybe 4GB DDR/32 GB emmc is drawing more current?
22:23
<
mmind00 >
don't think that matters here ... drive strength concerns the amount of current on the lines between soc and sd-slot
22:24
<
xming_ >
firefly uses the same .img for 2GB and 4GB versions
22:24
<
mmind00 >
yeah, but they may be running at 8mA for both anyway
22:26
<
xming_ >
mmind00: and how much mA is it with the default dtb?
22:27
<
mmind00 >
xming_: 4mA is the default value ... and supported are 2,4,8 and 12mA
22:30
<
xming_ >
mmind00: thanks, need some sleep cya
22:30
<
mmind00 >
xming_: :-)
22:37
steev has quit [Ping timeout: 250 seconds]
22:40
kapouer has joined #linux-rockchip
23:11
<
naobsd >
ooops linux-next arm64 cannot be compiled :(
23:13
<
naobsd >
many symbols cannot be found while compiling arch/arm64/kernel/asm-offsets.s :(
23:14
steev has joined #linux-rockchip
23:17
<
naobsd >
mmind00, xming_: I have several uSD cards which don't work on RR2 (but work on firefly) with linux-next kernel
23:18
<
mmind00 >
naobsd: possibly also the fault of a to low drive strength ... can you try increasing it as well?
23:18
<
naobsd >
if my memory is correct, "don't work" cards are working with mask rom/mainline u-boot (SD boot is working with those cards)
23:19
<
naobsd >
mmind00: I'll try more tests
23:20
<
naobsd >
I guessed my
_cards_ are unstable
23:21
<
naobsd >
well, it needs more careful tests
23:21
cristian_c has quit [Quit: Bye]