<warpme>
apritzel : sorry not retuning to you with q about gmac-200 on mine x96pro+ (and t527): on x96pro+ my working gmac-200 is backport of bsp. Interesting is that it works with generic stmmac phy (so no maxio phy driver is used)
<apritzel>
warpme: yeah, saw that in your repo. I still have the feeling that GMAC-200 is not needed, its probably just some platform setup missing
<apritzel>
that's good news about the PHY, which means it's nothing special
<apritzel>
will have a closer look when I am back with my beloved boards...
<warpme>
on t527 however i have interesting situation (with my bsp port of gmac-200 + yt8531 phy): in dhcp ip req, board eth port sends bcst to dhcp server, server replays with lease but gmac-200 receives nothing. It looks to me like yt8531 not correctly communicating with gmac-200. But tx works. issue seems to be only with rx. I recall yt8531 is really specific with correct reset procedure. Maybe this is issue?
<Soupborsh>
Hello, I can compile working boot0 from sources. Branching to 0xffff0020 hungs up it.
<Soupborsh>
I wrote a little assembly program and branching to that address there hungs up too, but if I branch to 0xffff2858 it works(lr in this program has this value).
<Soupborsh>
sp is 0x00005e08.
<Soupborsh>
Executing 0xffff2858 from FEL changes nothing, likely executes FEL mode. Executing 0xffff0020 seems to enter FEL after some time, it throws -7 usb error before that.
<Soupborsh>
I think PocketBook's repo is based on this one.
<Soupborsh>
Also init_DRAM function is defined in uboot_b288/sunxi_spl/dram/sun8iw10p1/dram/libdram.o. It does not have source files unfortunately.
<Soupborsh>
this c600 bsp repo has source files for it but it lacks some functions such as dram_enable_all_master.
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<Soupborsh>
Branching to 0xffff2858 in boot0 result in hang up.
<Soupborsh>
With setting sp to 0x00005e08
<warpme>
apritzel : i looked (for sec) over cpu dvfs on a523 - and i see bsp has cpu clock in ccu - but mainline seems not. is this because wip or maybe idea is to control cpu clocks exclusively via psci?
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
vagrantc has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<Soupborsh>
How to make U-Boot to enter FEL mode?
<Soupborsh>
Sorry, I need it to enter to always command prompt
BroderTuck has joined #linux-sunxi
<Soupborsh>
It it BSP U-Boot sources. Or maybe how to make it enter command prompt instead of reseting cpu when it fails(it fails to initialize nand)? I execute it from FEL.
apritzel_ has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
apritzel_ has quit [Read error: Connection reset by peer]
Schimsalabim has quit [Read error: Connection reset by peer]
<hlauer>
<apritzel> "re: USB> the OTG port is a..." <- Thanks, in the DT EHCI and OHCI are listed separately, so the USB-A are counted as 4 roots
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<hlauer>
Have to check the power consumption of V1.0 and V1.1. OTOH the proprietary image lifts the 900mA limitation already in their U-Boot - so I assume, BPI people know about the power limitation
<BroderTuck>
If the kernel_b288 bsp can be trusted, the B288 has SRAM A1 (16K) and SRAM C (36K) back-to-back for a total of 52K
Schimsalabim has quit [Read error: No route to host]
Schimsalabim has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
vagrantc has quit [Quit: leaving]
aren has joined #linux-sunxi
<apritzel>
warpme: the CPU clocks are in a separate CCU. I have some sketch code, but something was missing, and it isn't essential for now
<apritzel>
what's more important than pushing out more code is actually review, that's completely missing by now :-(
<apritzel>
clocks and pinctrl are essential for *every* other device, so they have to come first
<apritzel>
then the rest of the drivers can be done independently and in parallel, by multiple people
aren has quit [Ping timeout: 480 seconds]
<apritzel>
hlauer: so the question is what we do with the patch? it seems like it's wrong now, since PH23 *is* the VUSB supply, and doesn't hurt on v1.0
<hlauer>
Yes, it's wrong. Is there any formal way to retract it besides the Email I send already?
<hlauer>
Oh, and best of course would be to detect the situation (it's available in the axp registers) and spit out an error instead of enabling PH23 forcing the board into reset...
<apritzel>
are the AXP registers different between v1.0 and v1.1? Or are there any other known differences between the two we could detect?
<apritzel>
NC pins are sometimes detectable, by using the internal pull-up/pull-down registers, if the other case (GPIO connected to the regulator) plays along
<apritzel>
s/registers/resistors/
apritzel has quit [Quit: CoreIRC for Android - www.coreirc.com]