00:08
shoragan has quit [Quit: quit]
00:10
shoragan has joined #linux-amlogic
00:23
shoragan has quit [Read error: Connection reset by peer]
00:25
naoki has joined #linux-amlogic
00:26
shoragan has joined #linux-amlogic
01:01
Danct12 has quit [Server closed connection]
01:01
Danct12 has joined #linux-amlogic
02:40
zkrx has quit [Ping timeout: 264 seconds]
03:34
buzzmarshall has quit [Quit: Konversation terminated!]
04:06
CounterPillow has quit [Server closed connection]
04:06
CounterPillow has joined #linux-amlogic
04:38
yang has quit [Server closed connection]
04:39
yang has joined #linux-amlogic
06:17
josch has quit [Server closed connection]
06:17
josch has joined #linux-amlogic
06:50
zkrx has joined #linux-amlogic
07:13
ldevulder has joined #linux-amlogic
07:16
naoki has quit [Quit: naoki]
08:19
mdrjr has quit [Server closed connection]
08:21
knuxify has quit [Server closed connection]
08:22
knuxify has joined #linux-amlogic
08:23
mdrjr has joined #linux-amlogic
08:39
naoki has joined #linux-amlogic
08:39
naoki has quit [Client Quit]
10:02
naoki has joined #linux-amlogic
10:02
naoki has quit [Client Quit]
11:04
rtp has quit [Server closed connection]
11:05
rtp has joined #linux-amlogic
11:48
naoki has joined #linux-amlogic
11:52
naoki has quit [Client Quit]
12:35
puck has quit [Server closed connection]
12:36
puck has joined #linux-amlogic
13:30
cottsay has quit [Server closed connection]
13:33
cottsay has joined #linux-amlogic
13:37
djrscally has joined #linux-amlogic
13:59
kenny has quit [Server closed connection]
14:00
kenny has joined #linux-amlogic
14:18
dliviu has quit [Server closed connection]
14:19
dliviu has joined #linux-amlogic
14:21
mripard has joined #linux-amlogic
14:44
tdebrouw has joined #linux-amlogic
14:53
<
tdebrouw >
narmstrong: I see some CSI clocks for the g12a have been added in mainline / 5205628ab0bfe64952974d476ee001f6c7e0ef7f
14:55
<
tdebrouw >
I checked your tree on codelinaro
14:55
<
tdebrouw >
but I couldn't find any branch related to the CSI inputs
14:55
<
tdebrouw >
Is someone working on that?
15:00
<
tdebrouw >
I read the irclogs, in case I'm not online.
15:09
jelly has quit [Server closed connection]
15:15
jelly has joined #linux-amlogic
15:20
eery has quit [Server closed connection]
15:20
eery has joined #linux-amlogic
15:28
ldevulder has quit [Quit: Leaving]
15:49
<
minute >
is meson-g12b stuff gone from current u-boot dts Makefile or am i holding it wrong?
16:04
vagrantc has joined #linux-amlogic
16:14
<
tdebrouw >
CONFIG_ARCH is selected in defconfig
16:14
<
tdebrouw >
(example: khadas-vim3_defconfig has CONFIG_ARCH_MESON=y)
16:15
<
tdebrouw >
following this example:
16:15
<
tdebrouw >
this defconfig also contains: CONFIG_MESON_G12A=y
16:15
<
tdebrouw >
then in the following file:
16:16
<
tdebrouw >
arch/arm/mach-meson/Kconfig
16:16
<
tdebrouw >
you'll find a "config MESON_G12A"
16:17
<
tdebrouw >
which has a "imply OF_UPSTREAM"
16:18
<
tdebrouw >
"OF_UPSTREAM" can be found in dts/Kconfig
16:19
<
tdebrouw >
It was added to solve the device trees getting out of sync from the kernel
16:40
<
minute >
currently fighting with weird emmc clock issue in uboot on g12b
16:41
<
minute >
mmc_select_mode_and_width works maybe 50% of times
16:42
<
minute >
sometimes the freq is changed mysteriously after a line like > trying mode MMC High Speed (52MHz) width 8 (at 52 MHz)
16:42
<
minute >
for example, after this one comes > selecting mode MMC legacy (freq : 25 MHz)
16:42
<
minute >
but sometimes it does the right thing > selecting mode MMC High Speed (52MHz) (freq : 52 MHz)
16:58
<
narmstrong >
tdebrouw: there’s work on upstreaming the arm isp, but not the same version as the one in g12b, afaik nobody is working on adapting it and adding the missing phy and csi path bits. And I never had a csi camera module for a g12b board so I can’t help here
17:08
<
minute >
ah, __mmc_switch fails sometimes with -5
17:23
psydroid has quit [Server closed connection]
17:24
psydroid has joined #linux-amlogic
17:27
<
minute >
> mmc_send_cmd_retry ret: -5
17:58
<
minute >
so sometimes we can't communicate with the emmc for a while
17:58
<
minute >
getting STATUS_ERR_MASK
17:58
<
minute >
but when it starts working, it's totally stable
18:32
<
minute >
as a workaround i have a loop in mmc_init that tries up to three times
19:23
asriel has quit [Ping timeout: 246 seconds]
19:23
<
minute >
not reliable
19:23
<
minute >
how is it possible that the rom can load uboot reliably from emmc every time but then uboot fails to talk to the emmc sometimes
19:25
asriel has joined #linux-amlogic
19:28
<
vagrantc >
u-boot might try to use a faster but less stable mode?
19:29
<
minute >
vagrantc: maybe, but in the failure case, none of the modes it tries work
19:29
<
minute >
but if i wait a while after a failure and enter "mmc dev 1" again, it works
19:29
<
vagrantc >
sometimes things are on their own schedules ...
19:30
<
minute >
in the failure mode, even this fails: >
19:30
<
minute >
mmc trying mode MMC legacy width 1 (at 25 MHz)
19:31
<
minute >
i have a loop that does 10x retries with 1sec wait. this can fail, i.e. it exhausts the 10 tries. but when i wait a bit and enter "mmc dev 1" it most probably will work
19:31
<
minute >
i don't get it... i thought ok, maybe cache issue, but cache flush doesn't help
19:31
<
minute >
also, the emmc
_always_ works in linux
19:35
<
vagrantc >
more complex or well tested initialization code in linux, probably
19:39
<
minute >
hm, uboot does not set CLK_RX_PHASE, only CLK_TX_PHASE
19:41
<
minute >
(doesn't make a difference, it would add 0)
20:08
<
f_ >
I guess the ROM does only very minimal init - enough to load 48K BL2 and the rest
20:15
<
minute >
so none of you have emmc issues in uboot on g12b?
20:22
<
f_ >
I did not experience eMMC issues lately, no.
20:23
<
f_ >
But I'm on an old U-Boot.
20:23
* f_
needs to rebase his tree...
20:24
<
minute >
ok? aml_send_calibration_blocksaml_send_calibration_blocks
20:24
<
minute >
sorry, copypaste issue
20:29
mripard_ has joined #linux-amlogic
20:29
mripard_ has quit [Remote host closed the connection]
20:33
mripard has quit [Ping timeout: 244 seconds]
20:33
<
minute >
interestingly, linux drives the card at hs200, but it doesn't look like meson_gx_mmc in uboot can do that?!
21:37
luka177 has joined #linux-amlogic
22:38
adema has quit [Server closed connection]
22:39
adema has joined #linux-amlogic
22:43
samueldr has quit [Server closed connection]
22:43
samueldr has joined #linux-amlogic
22:51
tdebrouw has quit [Quit: Leaving.]
23:18
djrscally has quit [Ping timeout: 272 seconds]
23:28
luka177 has quit [Ping timeout: 252 seconds]
23:31
luka177 has joined #linux-amlogic
23:38
vagrantc has quit [Quit: leaving]