00:20
ftg has quit [Read error: Connection reset by peer]
00:43
apritzel has quit [Ping timeout: 480 seconds]
00:45
<
Lightsword >
smaeul, think I got something "DRAM:This DRAM setup is currently not supported."
01:09
cnxsoft has joined #linux-sunxi
01:25
cnxsoft has quit [Ping timeout: 480 seconds]
02:02
radxanaoki has joined #linux-sunxi
02:23
radxanaoki has quit [Quit: radxanaoki]
02:48
Schimsalabim has quit [Ping timeout: 480 seconds]
02:48
Schimsalabim has joined #linux-sunxi
03:03
hexdump02 has joined #linux-sunxi
03:04
hexdump01 has quit [Ping timeout: 480 seconds]
03:27
hexdump01 has joined #linux-sunxi
03:34
hexdump0815 has quit [Ping timeout: 480 seconds]
04:00
dsimic is now known as Guest13042
04:00
dsimic has joined #linux-sunxi
04:01
cnxsoft has joined #linux-sunxi
04:02
Guest13042 has quit [Ping timeout: 480 seconds]
04:20
tlwoerner has joined #linux-sunxi
05:10
JohnDoe_71Rus has joined #linux-sunxi
05:43
gsz has joined #linux-sunxi
06:15
gsz has quit [Quit: leaving]
06:31
bauen1 has quit [Ping timeout: 480 seconds]
06:40
Robot_ has joined #linux-sunxi
06:59
Schimsalabim has quit [Ping timeout: 480 seconds]
06:59
Schimsalabim has joined #linux-sunxi
07:03
Schimsalabim has quit [Read error: Connection reset by peer]
07:04
Schimsalabim has joined #linux-sunxi
07:12
Schimsalabim has quit [Ping timeout: 480 seconds]
07:12
Schimsalabim has joined #linux-sunxi
07:19
warpme has joined #linux-sunxi
07:29
Schimsalabim has quit [Read error: Connection reset by peer]
07:29
Schimsalabim has joined #linux-sunxi
08:03
evgeny_boger has joined #linux-sunxi
08:03
bauen1 has joined #linux-sunxi
08:56
apritzel has joined #linux-sunxi
09:01
freemangordon1 has joined #linux-sunxi
09:07
freemangordon has quit [Ping timeout: 480 seconds]
09:11
radxanaoki has joined #linux-sunxi
09:18
bauen1 has quit [Ping timeout: 480 seconds]
09:58
bauen1 has joined #linux-sunxi
10:22
tvc has joined #linux-sunxi
10:34
bauen1 has quit [Ping timeout: 480 seconds]
11:08
tvc has quit [Quit: Page closed]
11:11
bauen1 has joined #linux-sunxi
12:34
mripard has joined #linux-sunxi
13:20
chewitt has joined #linux-sunxi
14:31
warpme has joined #linux-sunxi
14:38
JohnDoe_71Rus has joined #linux-sunxi
15:01
<
Lightsword >
apritzel, what's the correct way to determine dram params needed for mainline u-boot?
15:02
cnxsoft has quit []
15:02
<
apritzel >
Lightsword: use sunxi-fw info -v on a vendor image ("PhoenixSuit"), that should dump the values you need
15:04
<
apritzel >
alternatively you could run it directly on some eGON boot0, if you have one. Typically those PhoenixSuit images contain both eGON and TOC0 images of boot0, and we know how to parse the DRAM parameters from the eGON
15:05
<
apritzel >
I think I saw the parameters already in some image you pointed me to earlier
15:06
<
Lightsword >
apritzel, the values under h616 are what get copied using u-boot menuconfig right?
15:06
<
apritzel >
yes, there you go. Now create a new defconfig for your board, don't use menuconfig
15:07
<
apritzel >
just copy an existing one (for instance orangepi_zero2_defconfig) and adjust it: remove most of the options you won't need
15:08
<
apritzel >
DRAM type is 3, which is DDR3
15:10
<
Lightsword >
apritzel, which options from the orangepi_zero2_defconfig shouldn't be needed?
15:11
<
apritzel >
SPI, USB, Ethernet
15:12
<
apritzel >
not sure if your board has a PMIC (typically a chip from "X-Powers")
15:20
<
apritzel >
remove CONFIG_USB1_VBUS_PIN, MTD, CONFIG_SPL_SPI_SUNXI ...
15:21
<
apritzel >
and initially maybe everything I2C related and CONFIG_AXP305_POWER
15:21
<
apritzel >
you probably don't need it
15:22
<
apritzel >
and it's not a good idea to use a different devicetree (the one from the OPi Zero2), you should also use your own, stripped down copy
15:22
<
apritzel >
once that boots, you can grow this back, based on what you board has and what you know
15:23
<
Lightsword >
apritzel, does devicetree affect the spl or only the actual uboot?
15:23
<
apritzel >
only the "actual" U-Boot (U-Boot proper)
15:24
<
apritzel >
and yeah, that's what mean, could also get rid of the EMAC line (Ethernet wouldn't work anyway with mainline U-Boot)
15:26
Schimsalabim has quit [Ping timeout: 480 seconds]
15:27
Schimsalabim has joined #linux-sunxi
15:33
<
Lightsword >
hmm, with that...not booting now it's still not booting, but it's not skipping SD boot either or dropping to FEL
15:39
<
Lightsword >
oh, this is weird, the vendor uboot had output going to a different uart port, looks like am getting output actually
15:39
<
apritzel >
you could circle back to what you had booted before (minus successful DRAM init). use "make savedefconfig" to create a template from your .config, it will be ./defconfig
15:40
<
Lightsword >
apritzel, does that mean DRAM init worked?
15:40
<
apritzel >
well, somewhat, but 128MB sounds a bit low?
15:40
<
Lightsword >
apritzel, yeah, stock is 256MB I think
15:41
<
apritzel >
but then you should see "Trying to boot from MMC1" as well
15:41
<
apritzel >
then messages from Trusted-Firmware (which you have to build as well)
15:42
<
apritzel >
try the -next branch from U-Boot, that has a fix for the H616 DRAM code
15:52
<
wens >
apritzel: a523 dts merged
15:54
<
apritzel >
wens: thanks, just saw your mail!
16:17
radxanaoki has quit [Quit: radxanaoki]
16:23
<
wens >
anything else ready?
16:26
<
apritzel >
not that I know of, was focusing on U-Boot lately. I found a clue for SPI, but haven't tried. Also MAC0 might be working, but haven't checked again.
16:26
<
apritzel >
junari was looking into thermal and cpufreq, but not sure it really works or is mainline ready
16:28
<
apritzel >
I think we need the remaining two CCUs next: the one for the CPU clusters (+DSU), and the "DSP" one
16:34
<
Lightsword >
jernej, I hae a h616 based board, on master it detects 128 MiB of DRAM, on next it detects 16384 MiB, both of these appear wrong as vendor uboot reports 256 MBytes
17:08
ftg has joined #linux-sunxi
17:21
mripard_ has joined #linux-sunxi
17:23
paulk has joined #linux-sunxi
17:23
mripard has quit [Ping timeout: 480 seconds]
17:23
paulk-ter has quit [Read error: Connection reset by peer]
17:26
Schimsalabim has quit [Read error: Connection reset by peer]
17:27
Schimsalabim has joined #linux-sunxi
17:40
mripard has joined #linux-sunxi
17:41
mripard_ has quit [Ping timeout: 480 seconds]
18:23
Schimsalabim has quit [Ping timeout: 480 seconds]
18:24
Schimsalabim has joined #linux-sunxi
18:49
apritzel_ has joined #linux-sunxi
18:50
warpme has joined #linux-sunxi
19:07
apritzel_ has quit [Quit: Leaving]
19:07
apritzel_ has joined #linux-sunxi
19:08
apritzel_ has left #linux-sunxi [#linux-sunxi]
19:08
apritzel_ has joined #linux-sunxi
19:40
chewitt has quit [Quit: Zzz..]
19:49
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
20:31
Robot_ has quit [Ping timeout: 480 seconds]
20:39
hazardchem has quit [Read error: Connection reset by peer]
20:39
hazardchem has joined #linux-sunxi
22:12
gestalt has joined #linux-sunxi
22:19
gestalt has quit []
22:22
gestalt has joined #linux-sunxi
22:26
gestalt has quit []
22:28
hendrika has joined #linux-sunxi
22:28
hendrika has quit []
22:33
patchbyte has joined #linux-sunxi
22:35
<
apritzel_ >
smaeul: do you happen to know if the first SID words are accessible from non-secure world on a secure boot H6 device?
22:35
<
apritzel_ >
On the A64,
*all* words read as zero, and on the H616 apparently the first few words are readable. I wonder in which camp the H6 falls...
22:35
patchbyte has quit []
23:17
evgeny_boger has quit [Quit: evgeny_boger]
23:17
evgeny_boger has joined #linux-sunxi