ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
ftg has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
<Lightsword> smaeul, think I got something "DRAM:This DRAM setup is currently not supported."
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
hexdump02 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest13042
dsimic has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Guest13042 has quit [Ping timeout: 480 seconds]
tlwoerner has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
gsz has joined #linux-sunxi
gsz has quit [Quit: leaving]
bauen1 has quit [Ping timeout: 480 seconds]
Robot_ has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
bauen1 has joined #linux-sunxi
apritzel has joined #linux-sunxi
freemangordon1 has joined #linux-sunxi
freemangordon has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
tvc has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
tvc has quit [Quit: Page closed]
bauen1 has joined #linux-sunxi
mripard has joined #linux-sunxi
chewitt has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
warpme has quit []
warpme has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<Lightsword> apritzel, what's the correct way to determine dram params needed for mainline u-boot?
cnxsoft has quit []
<apritzel> Lightsword: use sunxi-fw info -v on a vendor image ("PhoenixSuit"), that should dump the values you need
<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
<apritzel> I think I saw the parameters already in some image you pointed me to earlier
<Lightsword> apritzel, the values under h616 are what get copied using u-boot menuconfig right?
<apritzel> yes, there you go. Now create a new defconfig for your board, don't use menuconfig
<apritzel> just copy an existing one (for instance orangepi_zero2_defconfig) and adjust it: remove most of the options you won't need
<apritzel> DRAM type is 3, which is DDR3
<Lightsword> apritzel, which options from the orangepi_zero2_defconfig shouldn't be needed?
<apritzel> SPI, USB, Ethernet
<apritzel> not sure if your board has a PMIC (typically a chip from "X-Powers")
warpme has quit []
<apritzel> remove CONFIG_USB1_VBUS_PIN, MTD, CONFIG_SPL_SPI_SUNXI ...
<apritzel> and initially maybe everything I2C related and CONFIG_AXP305_POWER
<apritzel> you probably don't need it
<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
<apritzel> once that boots, you can grow this back, based on what you board has and what you know
<Lightsword> apritzel, does devicetree affect the spl or only the actual uboot?
<apritzel> only the "actual" U-Boot (U-Boot proper)
<apritzel> and yeah, that's what mean, could also get rid of the EMAC line (Ethernet wouldn't work anyway with mainline U-Boot)
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<apritzel> yes
<Lightsword> hmm, with that...not booting now it's still not booting, but it's not skipping SD boot either or dropping to FEL
<Lightsword> oh, this is weird, the vendor uboot had output going to a different uart port, looks like am getting output actually
<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
<Lightsword> apritzel, does that mean DRAM init worked?
<apritzel> well, somewhat, but 128MB sounds a bit low?
<Lightsword> apritzel, yeah, stock is 256MB I think
<apritzel> but then you should see "Trying to boot from MMC1" as well
<apritzel> then messages from Trusted-Firmware (which you have to build as well)
<apritzel> try the -next branch from U-Boot, that has a fix for the H616 DRAM code
<Lightsword> apritzel, on next branch now getting this https://gist.github.com/jameshilliard/2b7c5d4bce2d6ec3960938c7ce444602 DRAM: 16384 MiB
<Lightsword> apritzel, something messed up in next with DRAM code still? or am I configuring some param wrong? https://gist.github.com/jameshilliard/f14746a966214d1c71f247da84dff467
<wens> apritzel: a523 dts merged
<apritzel> wens: thanks, just saw your mail!
radxanaoki has quit [Quit: radxanaoki]
<wens> anything else ready?
<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.
<apritzel> junari was looking into thermal and cpufreq, but not sure it really works or is mainline ready
<apritzel> I think we need the remaining two CCUs next: the one for the CPU clusters (+DSU), and the "DSP" one
<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
ftg has joined #linux-sunxi
mripard_ has joined #linux-sunxi
paulk has joined #linux-sunxi
mripard has quit [Ping timeout: 480 seconds]
paulk-ter has quit [Read error: Connection reset by peer]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
mripard has joined #linux-sunxi
mripard_ has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel_ has quit [Quit: Leaving]
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
chewitt has quit [Quit: Zzz..]
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Robot_ has quit [Ping timeout: 480 seconds]
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
gestalt has joined #linux-sunxi
gestalt has quit []
gestalt has joined #linux-sunxi
gestalt has quit []
hendrika has joined #linux-sunxi
hendrika has quit []
patchbyte has joined #linux-sunxi
<apritzel_> smaeul: do you happen to know if the first SID words are accessible from non-secure world on a secure boot H6 device?
<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...
patchbyte has quit []
evgeny_boger has quit [Quit: evgeny_boger]
evgeny_boger has joined #linux-sunxi