IlikeTech has quit [Remote host closed the connection]
IlikeTech has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
IlikeTech has quit [Ping timeout: 480 seconds]
<jernej>
apritzel: for H616 maybe, but H6 has all requirements already covered
IlikeTech has joined #linux-sunxi
colinsane1 has quit []
Kirby64 has quit [Ping timeout: 480 seconds]
colinsane has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
<loki666>
apritzel: I've ordered this sd card breakout board, but since the device only has one sd card slot, can we program the eMMC from FEL ?
<loki666>
because I guess, we won't be able to boot from the SD card and use it as UART port
Schimsalabim has quit [Ping timeout: 480 seconds]
<loki666>
you also say something about about a hacked boot0 that use portF for UART, can this boot0 be used on my A527 ?
apritzel has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
radxanaoki has quit [Ping timeout: 480 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
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
apritzel has joined #linux-sunxi
<apritzel>
loki666: so I connected a switch between the pins on the board and the UART adapter, so I can put the board into FEL via an SD card, then pop out the SD card and switch over to serial
<apritzel>
loki666: but yeah, at the same it's either SD card OR UART, not both
<apritzel>
sometimes I insert some extra delays, to let it boot, then switch over to the UART
radxanaoki has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
<loki666>
I can get into fel via Vol-/power button combo
<loki666>
It will help for getting u-boot
<apritzel>
loki666: ah nice, just keep in mind that this is vendor firmware induced FEL entry, which might be slightly different from the hardware triggered or early FEL entry
<apritzel>
the vendor firmware runs for quite a bit, so does some SoC and maybe PMIC setup and UART init and such, and only then enters FEL
<apritzel>
so it's not the normal pristine SoC state that FEL normally puts you in
<loki666>
ok, would using the sdcard img to enter FEL safer?
igraltist has quit [Remote host closed the connection]
igraltist has joined #linux-sunxi
<loki666>
so workflow would be boot FEL sdcard, eject, insert sd card UART, send u-boot
<apritzel>
yes, but I think you should keep using the button method, since it's much easier. Only if you see issues, you could use the SD card to verify that it's not related to the "vendor firmware FEL"
<loki666>
noted
<apritzel>
I often use FEL to query reset state of the SoC, and to do experiments, and there is might make a difference
<loki666>
I guess I'll have to patch u-boot to use UART on portF
<loki666>
btw: my panfrost got applied to drm-misc-next
<loki666>
so all stars are aligned for GPU on H616
<apritzel>
yeah, saw that, well done!
<apritzel>
loki666: UART on PortF is controlled via CONFIG_UART0_PORT_F, so no need for a hack, just enable that Kconfig option
<apritzel>
(not sure that's well tested on the newer SoCs, though)
<loki666>
ah ok we'll see
<loki666>
since this a vendor FEL, it still means I can brick the device if I screw eMMC ?
<loki666>
I can use PhonexSuits to flash the device, but not sure it will work if it's FEL from sdcard
<apritzel>
those actions should work regardless of how you enter FEL, really
<apritzel>
it's just some more hacky stuff that one can do via FEL that might differ
<loki666>
ok
<apritzel>
but yes, this way of entering FEL relies on code loaded from the eMMC, so if you change that, you might need to revert to the SD card method
kuba2k2 has quit [Remote host closed the connection]
kuba2k2 has joined #linux-sunxi
warpme has joined #linux-sunxi
<warpme>
guys: i have cpu-opp overlay with some extra opps. I'm loading it at runtime it via configfs. /sys/firmware/devicetree/base/opp-table-cpu shows those extra opps with status enabled. but cpufreq is not listing nor uses them. It looks to me like cpufreq subsytem needs kind of "refresh" to get those extra opps into operation. How i can do that at runtime ?
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
<dlan>
apritzel: I'd plan to update the emac0 patch and roll out a patch v3 (will have a short holiday)
<dlan>
for the allwinner,tx(rx)-delay-ps, I didn't quite follow to the discussion, but want to listen to your suggestion.. is anything I should update?
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
<apritzel>
dlan: I think your series is fine, seems to be just nits that have been mentioned?
mripard has joined #linux-sunxi
<apritzel>
junari_: you mean that H6/H616 PRCM GPU power domain driver? Do you need that for anything?
junari_ is now known as junari
<junari>
I see that: allwinner,sun55i-a523-prcm-ppu on your [PATCH v2 0/4] arm64: sunxi: h616: Enable Mali GPU
<dlan>
apritzel: thanks (also for the sram explanation), for patch 5/5 which adding avaota support, ideally someone own that board should give a Tested-by or Acked-by, so I can remove comment in that patch
<apritzel>
junari: yeah, so I saw that the registers are there on the A523, and already added the compatible string to the binding, to save some churn later
<apritzel>
junari: but the driver is missing the details at the moment, I wanted to wait until we actually need it and can test it
<apritzel>
dlan: yeah, I was about to, but something is weird, as I have trouble booting it. I cannot really enter FEL mode reliably (it works on some days, and not on others)
<apritzel>
dlan: and booting via SD card also fails for some odd reason. Haven't time yet to debug this
<apritzel>
warpme: so you want to overclock the CPU, dynamically at runtime? A method using DT overlay wouldn't work easily, without explicit support in the driver: it would need to register a notifier using of_overlay_notifier_register()
Hypfer is now known as Guest14671
Hypfer has joined #linux-sunxi
<dlan>
apritzel: no problem, I can wait, and maybe send an updated version the day after tomorrow (we should still have time)
<warpme>
apritzel : oh well - my target is to do this at boot (via loading overlay in uboot). this Q about configfs is because i just want to test: is my overlay correct one...
Guest14671 has quit [Ping timeout: 480 seconds]
<warpme>
do you remember what command loads overlay in uboot (i'm using extlinux.conf approach) ?
<dlan>
btw, if we target the patch for 6.16, is time to accept them between -rc4 ~ -rc5 still ok?
<apritzel>
dlan: depends on the subsystem, and the people involved. If it goes via the sunxi tree, it's usually no problem to land just before -rc5 or -rc6 to get in
<dlan>
yeah, it's all dts, so should via sunxi, I personally think rc6 is a little bit too late which give people no space to test
<apritzel>
well, thorough testing can be done after it's been merged in -rc1, there is plenty of time still, and it's easier for people to get the code (they don't need to pull/merge specific branches)
<apritzel>
dlan: the only potential problem in your case is that the bindings need to go in before the DT changes. That prevented the A523 DTs to be merged already in v6.15: there was one(!) binding missing
<dlan>
ok, good point
<dlan>
since there is no driver change, so it's perfectly fine to take the binding via sunxi tree