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
szemzoa has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
szemzoa has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
flyback has quit []
flyback has joined #linux-sunxi
ity has quit [Remote host closed the connection]
inf has quit [Ping timeout: 480 seconds]
ity has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
inf has joined #linux-sunxi
szemzoa has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
szemzoa has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #linux-sunxi
szemzoa has joined #linux-sunxi
hexdump02 has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
hexdump02 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
tlwoerner_ has quit []
tlwoerner has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
smaeul has quit [Ping timeout: 480 seconds]
smaeul has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
bauen1 has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
Hypfer has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
smaeul_ has joined #linux-sunxi
smaeul has quit [Read error: Connection reset by peer]
Daanct12 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
smaeul_ has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
smaeul has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
gsz has joined #linux-sunxi
ungeskriptet has joined #linux-sunxi
bauen1 has joined #linux-sunxi
linkmauve has left #linux-sunxi [Error from remote client]
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> montjoie: so it worked for me, with the a523-beta branch from my github, and jernej's a523 TF-A branch, on my Radxa v1.1 booted via FEL
bauen1 has joined #linux-sunxi
psydroid has joined #linux-sunxi
linkmauve has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
cnxsoft has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
cnxsoft has quit [Read error: Connection reset by peer]
damon has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
damon_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
damon_ has quit []
damon_ has joined #linux-sunxi
damon has quit []
<dlan> hi
<dlan> I didn't notice that I was able to talk ..
<dlan> apritzel: montjoie: FYI, you might also be interested in ethernet, I've got EMAC0 up - https://github.com/dlan17/linux/tree/allwinner/A523
damon has joined #linux-sunxi
<dlan> s/able/unable/
damon has left #linux-sunxi [#linux-sunxi]
damon_ has quit []
zamon has joined #linux-sunxi
<zamon> Sorry, I just want to make sure I can send msg
<zamon> I had trouble to use sunxi-fel for burning image into broad (t527 orangepi 4A). At U-boot stage, entering command `efex`, I saw message "HELLO! BOOT0 is starting! ..." But at pc side, command `sunxi-fel version’ turned out "ERROR: Allwinner USB FEI device not found!" I am sure I plugged usB to 0TG port on orangepi 4A board. Could any body help? I will be appreciate
<apritzel> dlan: oh wow, good, so it does indeed work without big changes. Thanks for doing this!
<apritzel> zamon: why do you want to go via the vendor U-Boot? Can't you just hold down the "BOOT" key, press the "RESET" key briefly, wait for a bit, then release the "BOOT" key. That should enter FEL mode more reliably
<apritzel> dlan: so for Ethernet it's really just the default syscon value that's different? I never really understood what this was for, can't we just drop this?
<dlan> zamon: use lsusb to check if FEL usb device recognized
<apritzel> because then it would work with the existing A64 compatible, on today's kernel
<dlan> you will like got something like:
<dlan> Bus 001 Device 123: ID 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode
<apritzel> dlan: but then sunxi-fel would also see it, so I guess entering FEL mode didn't work
<dlan> for default_syscon_value, no, can't drop, it fail to work as I tested
<jernej> apritzel: yes, that default value should be dropped. Patches welcome :)
<apritzel> I more meant to drop that whole default syscon value at all
<dlan> not sure if need to use more recent sunxi-tool from git repo
<apritzel> jernej: ah, great, will have a look!
<dlan> zamon: can you check with "fel version" first
<dlan> apritzel: i haven't spent much to investigate, only check vendor code and adjust to mainline
<apritzel> dlan: for the SRAM controller: you don't need the changes, you can use the A64 fallback compatible string, as the H6 does (check sun50i-h6.dtsi)
<dlan> right, I just rush to make it work, to use fallback compatible, need to know a lot history..
<dlan> actually know their have same IP, but thanks for the hint
<dlan> apritzel: btw, do you know how to check cpu freq it's currently running? I wasn't sure if it run at decent speed, just feel it's extremely slow..
<dlan> I assume we can problem some clock?
<dlan> just wasn't sure which one
<dlan> apritzel: btw, the eMMC also works on radxa A5E, simply copy & populate the dts node
<apritzel> dlan: eMMC: interesting, I think I briefly tried that and saw the same issues as on the X96QPro+
dsimic is now known as Guest13848
dsimic has joined #linux-sunxi
<apritzel> dlan: speed-wise: yes, it's bad, we run at 800 MHz for the first cluster, don't even know what's the default for the second one, might be 408 MHz
<apritzel> I think junari was working on DVFS, and made some progress there
<dlan> which issue, I occasionally got weird signal kill
Guest13848 has quit [Ping timeout: 480 seconds]
<dlan> DVFS, that's good, but I wonder it possible to raise speed a little, still fixed & safe rate
<apritzel> well, for the PMIC DCDC1 reset voltage (0.9V, I think) 792 MHz is the only safe option. But you can raise that in U-Boot (CONFIG_SYS_CLK_FREQ), if you also set CONFIG_AXP_DCDC1_VOLT to a higher value
<apritzel> dlan: but please double check the names and numbers, you don't want that to become unstable
<apritzel> or even fry the chip, if VDD_CPU gets too high
<dlan> aha, right
<apritzel> dlan: for eMMC: the driver probes and finds the eMMC chip, but then times out or something, don't remember exactly. Definitely the block device is not usable
<dlan> well, here I have no problem to fully bootup linux system
<dlan> but not do much test
<apritzel> that's .. interesting, I definitely wasn't even able to read the partition table, I think
<dlan> well, may it's kind of picky for eMMC chip
<zamon> dlan: `lsusb` has no such an output unluckily, and fel version is "sunxi-fel v1.4.2-195". I have tested the method provided by apritzel, but still don't work.
<dlan> zamon: are you sure connecting to right usb port?
<apritzel> zamon: something boards can be tricky to get into FEL, especially if serial is connected. So you could try to remove all cables, press and hold the FEL button, connect power, then USB (if not the same cable)
<apritzel> then check with "sunxi-fel ver"
<apritzel> if that shows up, you can connect the serial
<zamon> dlan: Yes, I connected the USB to OTG port on board. Maybe I should better ask orangepi vendor for some suggestion.
<dlan> orangepi usually provide quite detail usermanual, you can check first
<zamon> dlan: But I couldn't find the description of FEL part, I will double check it
<apritzel> I cannot access the schematic at the moment, but it's pretty likely that the USB-C port is the OTG one, so if you hook this up to your host, it should show up
<apritzel> zamon: look out for USB0 or similar
<jernej> apritzel: is it possible that h616 emmc fix helped with a523 too?
<zamon> apritzel: thanks, I'll try
<apritzel> jernej: pretty sure it did, I think eMMC worked then, but only in U-Boot. I didn't work for me in Linux, and it wouldn't be really relevant anyway, since Linux is using DMA
<jernej> ah, ok
<montjoie> apritzel: your branch worked yesterday without change, I will retry more extensively when back home
<montjoie> dlan: I will test ethernet thanks, I need it to setup my board in kernelCI (for TFTP)
<montjoie> ah patchs for linux I need it in uboot, but seems simple
<dlan> let me know if you make tftp work (in uboot)
apritzel has quit [Ping timeout: 480 seconds]
zamon has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
<MasterR3C0RD> apritzel, tvc: Busy times IRL is the sole reason momentum dropped for me; haven't had time the last few days to get back into digging around. I might be able to sneak in some time this weekend to take a look at remaining work
chewitt has joined #linux-sunxi
<MasterR3C0RD> There was someone else (parthiban) who was working on bringing up the DE but I haven't seen anything in my inbox since he posted his initial series. GPU isn't really supported by Mesa or mainline drivers yet
<MasterR3C0RD> I was working off a Sonic Pad, but the regulator setup is strange so I'm cautious about mainlining that in the current state
<MasterR3C0RD> Trimui Smart Brick uses the A133P; that usually means a second regulator that isn't supported yet by mainline. Also has different OPP tables that need to be added/handled by cpufreq to allow for clocking higher
<MasterR3C0RD> And last I remember TF-A worked enough to boot but isn't in a state where it can spin up the other cores
<MasterR3C0RD> Had a series in progress to enable Ethernet and RTC clock control (which would also enable SDIO wifi clocked by fanout, like it is on some XR819 modules, though that requires the out-of-tree xradio driver)
chewitt has quit [Read error: Connection reset by peer]
chewitt 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
<jernej> MasterR3C0RD: I have patches for XR819 mainline driver: https://github.com/jernejsk/linux-1/commits/h616-test/
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
chewitt has quit []
gsz has quit [Ping timeout: 480 seconds]
Raqbit33989055 has quit []
Raqbit33989055 has joined #linux-sunxi
chewitt has joined #linux-sunxi
chewitt has quit []
mripard_ has joined #linux-sunxi
mripard__ has joined #linux-sunxi
mripard has quit [Ping timeout: 480 seconds]
mripard_ has quit [Ping timeout: 480 seconds]
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
juri__ has joined #linux-sunxi
juri__ has quit [Read error: Connection reset by peer]
juri_ has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
<Lightsword> anyone know where the PA pins on the h616 are documented in the manual?
flyback has quit []
flyback has joined #linux-sunxi