rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
<jernej> so, if I disable emmc, it works
<jernej> so I wonder if Android has some efi binary somewhere
<jernej> but still, if it bails out, PXE should still successfully boot
<apritzel> I don't see any EFI tries being successful, though
<apritzel> No EFI system partition; BootOrder not defined; EFI boot manager: Cannot load any image
<apritzel> and the load addresses and even the final copy targets are the same
tuxillo has quit [Ping timeout: 272 seconds]
tuxillo has joined #linux-sunxi
<apritzel> aha! If I run "bootefi bootmgr" before trying to manually TFTP, it hangs as well!
<apritzel> (bootmgr coming up with the same negative result as in your case)
<apritzel> jernej: so I guess this always happened with the EFI bootmgr, just wasn't used (widely) before
<jernej> yeah, I think so too
<apritzel> so at least I can reproduce it now
<apritzel> and initrd_high and fdt_high didn't help
<apritzel> but bootefi instead of bootz worked
dev1990 has quit [Excess Flood]
dev1990 has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 265 seconds]
asdf28 has quit [Ping timeout: 272 seconds]
<apritzel> jernej: so I traced it down to switching to nonsecure state during the bootmgr initialisation
<apritzel> jernej: if I had to take a guess, I'd say this collides with U-Boot trying to install the PSCI handlers in secure world, just before it launches the kernel
<apritzel> which sounds like a nasty problem
<apritzel> wens: do you know if it's feasible to install our PSCI handlers very *early* in U-Boot, or at least prepare everything in the secure world already?
<apritzel> so that bootm/bootz can run in non-secure state?
apritzel has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
Kwiboo has quit [Quit: .]
Kwiboo has joined #linux-sunxi
Kwiboo has quit [Client Quit]
Kwiboo has joined #linux-sunxi
<wens> apritzel: no idea, sorry. I assume you want to have armv7 run like armv8?
TheSeven has quit [Ping timeout: 260 seconds]
[7] has joined #linux-sunxi
[7] has quit [Ping timeout: 256 seconds]
jstein has quit [Quit: quit]
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-sunxi
kirby_ has joined #linux-sunxi
kirby__ has quit [Ping timeout: 246 seconds]
ChriChri_ has joined #linux-sunxi
_rze has joined #linux-sunxi
ChriChri has quit [Ping timeout: 272 seconds]
ChriChri_ is now known as ChriChri
rzerres has quit [Ping timeout: 256 seconds]
kaspter has quit [Read error: Connection reset by peer]
camus1 has joined #linux-sunxi
Esmil has quit [Ping timeout: 256 seconds]
Esmil has joined #linux-sunxi
camus1 is now known as kaspter
<jernej> apritzel: great, this is indeed nasty
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has joined #linux-sunxi
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
reinforce has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
chewitt has joined #linux-sunxi
hlauer has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
apritzel has joined #linux-sunxi
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
dev1990 has quit [Ping timeout: 260 seconds]
asdf28 has joined #linux-sunxi
cmeerw has joined #linux-sunxi
lurchi_ is now known as lurchi__
apritzel has quit [Ping timeout: 246 seconds]
cmeerw has quit [Ping timeout: 260 seconds]
indy has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
asdf28 has quit [Ping timeout: 256 seconds]
asdf28 has joined #linux-sunxi
tmlind has quit [Remote host closed the connection]
ganbold_ has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
dev1990 has joined #linux-sunxi
chewitt_ has joined #linux-sunxi
chewitt has quit [Read error: Connection reset by peer]
reinforce has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
indy has quit [Ping timeout: 256 seconds]
Esmil has quit [Ping timeout: 256 seconds]
Esmil has joined #linux-sunxi
apritzel has joined #linux-sunxi
indy has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
chewitt_ is now known as chewitt
lurchi__ is now known as lurchi_
gaston1980 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
gediz539 has quit [Remote host closed the connection]
gediz0x539 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
vagrantc has quit [Quit: leaving]
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 264 seconds]
camus1 is now known as kaspter
tmlind has joined #linux-sunxi
<hlauer> jernej: the change on banana pro rgmii->rgmii-id activates the RX/TX_DELAY flags in rtl8211e_config_init, right?
<apritzel> jernej: dammit, I was tempted to just disable EFI_LOADER for sunxi-v7, as a stop-gap measure, but bootefi itself works, with SMP, and there is no extra option for just this bootmgr function
gaston1980 has quit [Quit: Konversation terminated!]
\\Mr_C\\ has joined #linux-sunxi
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Write error: Connection reset by peer]
camus1 is now known as kaspter
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
fl_0 has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
leio has quit [Quit: No Ping reply in 180 seconds.]
leio has joined #linux-sunxi
toaster has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
mauz555 has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus1 is now known as kaspter
yann has quit [Ping timeout: 265 seconds]
reinforce has quit [Quit: Leaving.]
AneoX has joined #linux-sunxi
yann has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
return0e[m] has quit [Quit: Bridge terminating on SIGTERM]
insep_ has quit [Quit: Bridge terminating on SIGTERM]
Ke has quit [Quit: Bridge terminating on SIGTERM]
MartijnBraam has quit [Quit: Bridge terminating on SIGTERM]
davidebeatrici has quit [Quit: Bridge terminating on SIGTERM]
z3ntu_ has quit [Quit: Bridge terminating on SIGTERM]
audunmg[m] has quit [Quit: Bridge terminating on SIGTERM]
kprasadvnsi[m] has quit [Quit: Bridge terminating on SIGTERM]
JuniorJPDJ has quit [Quit: Bridge terminating on SIGTERM]
Jeremy_Rand_DT[m has quit [Quit: Bridge terminating on SIGTERM]
TiD91 has quit [Quit: Bridge terminating on SIGTERM]
z3ntu has quit [Quit: Bridge terminating on SIGTERM]
Tooniis has quit [Quit: Bridge terminating on SIGTERM]
Irenes[m] has quit [Quit: Bridge terminating on SIGTERM]
solderfumes[m] has quit [Quit: Bridge terminating on SIGTERM]
t4h4[m] has quit [Quit: Bridge terminating on SIGTERM]
psydruid has quit [Quit: Bridge terminating on SIGTERM]
fevv8[m] has quit [Quit: Bridge terminating on SIGTERM]
thefloweringash has quit [Quit: Bridge terminating on SIGTERM]
clementp[m] has quit [Quit: Bridge terminating on SIGTERM]
mauz555 has quit []
JohnDoe_71Rus has joined #linux-sunxi
z3ntu has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
Tooniis has joined #linux-sunxi
Ke has joined #linux-sunxi
kprasadvnsi[m] has joined #linux-sunxi
Irenes[m] has joined #linux-sunxi
solderfumes[m] has joined #linux-sunxi
Jeremy_Rand_DT[m has joined #linux-sunxi
insep_ has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
psydruid has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
luke-jr has quit [Remote host closed the connection]
luke-jr has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
ganbold has quit [Ping timeout: 240 seconds]
<jernej> hlauer: yes, but that is not good commit message, if you're asking for that
<jernej> apritzel: that would still be stop gap measure, although slightly more intrusive
<hlauer> jernej: yes - what would be a good one? I only know it works with the change and not without...
<apritzel> jernej: yeah, thinking about that ...
<jernej> hlauer: proper commit message explain why are you doing that change. What is done should be visible from diff itself or from comments in code
<jernej> hlauer: for example, you can explain that BPi Pro needs TX and RX delay in order to be able to communicate and that that can be seen from pull ups from board schematic
<jernej> so I guess it's possible to disable bootmgr only
<apritzel> jernej: ah, perfect, this is what I was looking for
<hlauer> jernej: first ok - also that RX+TX is needed for Gbit only, not 100Mbit makes sense for me. But about pull ups I'm not deep enough into high frequency electronics to make that conclusion...
<jernej> hlauer: those are configuration pull ups, not something in communication path
<jernej> and yes, it's confusing - phy is properly configured already by pull ups, but driver still overrides decision
<jernej> so override must match configuration done by pull ups
<jernej> don't ask why...
<hlauer> jernej: Ah, ok, thats helps! Will send a new patch. Thanks!
<jernej> technically, if you use generic PHY driver (realtek phy driver disabled), it will work without fix
<jernej> hlauer: don't forget to mark this as v2
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
toaster has quit [Quit: Ping timeout (120 seconds)]
<hlauer> v2 is out, thanks. Also for the explanation - stumbled across the rx/tx delay when getting m2u working with the generic phy.
<hlauer> Whats the ada
<hlauer> ...advantage of the realtek phy driver, if any?
ganbold_ has quit [Ping timeout: 240 seconds]
<mru> advantage of realtek, is that a joke?
<KotCzarny> it's cheap
<KotCzarny> :)
<apritzel> the question was about the specific Realtek driver of the generic PHY driver
<apritzel> s/of/over/
<mru> in general, the specific drivers can access non-standard features of the phy
<apritzel> jernej: so explicitly calling "bootefi bootmgr" still kills it (with CMD_BOOTEFI_BOOTMGR disabled), but it looks like it should be gone from the distro boot
<apritzel> jernej: so can you confirm that *your* use case now works when you disable it in menuconfig?
cmeerw has joined #linux-sunxi
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #linux-sunxi
mru has quit [Ping timeout: 260 seconds]
mru has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
lucascastro has quit [Ping timeout: 265 seconds]
tbueno has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
tbueno has joined #linux-sunxi
tbueno has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
tbueno has joined #linux-sunxi
tbueno has joined #linux-sunxi
tbueno has quit [Client Quit]
tbueno has joined #linux-sunxi
lucascastro has joined #linux-sunxi
lucascastro has quit [Remote host closed the connection]
NekoMay has quit [Ping timeout: 260 seconds]
lucascastro has joined #linux-sunxi
apritzel has quit [Ping timeout: 240 seconds]
lucascastro has quit [Ping timeout: 265 seconds]
<jernej> apritzel: with latest U-Boot master, EFI_LOADER is not selected anymore
<jernej> so it works by default...
<jernej> I have no clue why would default value changed
lucascastro has joined #linux-sunxi
lurchi_ is now known as lurchi__
NekoMay has joined #linux-sunxi
tbueno has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
tbueno has joined #linux-sunxi
tbueno has quit [Client Quit]
tbueno has joined #linux-sunxi
apritzel has joined #linux-sunxi
tbueno has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
tbueno has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
<apritzel> jernej: are you sure about that? When checking out 83433fdab492 and doing:
<apritzel> make -s clean; make -s orangepi_plus2e_defconfig; grep EFI_LOADER .config
<apritzel> ... I still see EFI_LOADER being compiled in
<jernej> I did mrproper and then defconfig several times and EFI loader was always disabled
<jernej> git log -1 shows 83433fdab492
<jernej> let me try it your way
<jernej> ah, now it's selected
<jernej> so, let me test that option
<jernej> ok, boot still works, maybe they fixed something in that last pull
<apritzel> so that is _defconfig, with CONFIG_CMD_BOOTEFI_BOOTMGR and CONFIG_EFI_LOADER still enabled?
<jernej> yes, both symbols are enabled
<jernej> should I bisect? :)
<jernej> apritzel: my bad, I had disabled emmc in defconfig, forgot to revert
<jernej> apritzel: disabling CONFIG_CMD_BOOTEFI_BOOTMGR helps
<apritzel> jernej: cool, thanks!
<apritzel> jernej: my sketch patch is basically "depends on !ARMV7_PSCI"
victhor has joined #linux-sunxi
specing has quit [Quit: ZNC - http://znc.in]
cmeerw has quit [Ping timeout: 260 seconds]
tuxd3v has joined #linux-sunxi