Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01 is OUT / Merge Window is OPEN, next branch is CLOSED / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
rvalue has quit [Ping timeout: 264 seconds]
rvalue has joined #u-boot
haritzondo is now known as haritz
haritz has quit [Changing host]
haritz has joined #u-boot
hanetzer has joined #u-boot
haritzondo has joined #u-boot
haritz has quit [Ping timeout: 252 seconds]
pbsds has quit [Quit: Ping timeout (120 seconds)]
pbsds has joined #u-boot
haritz has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
haritzondo has quit [Ping timeout: 256 seconds]
haritz has quit [Changing host]
haritz has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
vfazio__ has joined #u-boot
vfazio_ has quit [Ping timeout: 264 seconds]
experemental has quit [Read error: error:0A000119:SSL routines::decryption failed or bad record mac]
mmu_man has joined #u-boot
persmule has joined #u-boot
camus has joined #u-boot
jclsn has quit [Ping timeout: 264 seconds]
jclsn has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
vagrantc has quit [Quit: leaving]
pgreco_ has joined #u-boot
pgreco has quit [Ping timeout: 240 seconds]
wyre has quit [Ping timeout: 252 seconds]
wyre has joined #u-boot
Clamor has joined #u-boot
monstr has joined #u-boot
goliath has joined #u-boot
mckoan|away is now known as mckoan
Clamor has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
ldevulder has joined #u-boot
jmasson has joined #u-boot
frieder has joined #u-boot
<qschulz> tlwoerner: i'm trying to get the PHY id from U-Boot on RK3588 as well
<qschulz> tlwoerner: never works when I call get_phy_id, similarly `mii info` also always returns zeroes
<qschulz> tlwoerner: I'll be most likely giving up on this because I only need the PHY clock to be running for the Linux kernel to find the proper PHY for me
<qschulz> tlwoerner: FYI, once the PHY is probed by some parts of the code in U-Boot, the phy_id is cached for each mdio bus address, so you can access it without get_phy_id
<qschulz> tlwoerner: https://paste.ack.tf/fa621d this is what I used to have
<qschulz> in ft_board_setup
<qschulz> board/toradex/apalis_imx6/apalis_imx6.c 396,5 36%
<qschulz> overrides board_phy_config, where you have direct access to the phy_device structure
<qschulz> but this only called when the phy is initialized
<qschulz> (which it isn't as part of the default/normal boot process until reaching U-Boot cli
sszy has joined #u-boot
prabhakar has joined #u-boot
prabhakarlad has joined #u-boot
devarsh has joined #u-boot
sakman has joined #u-boot
ezulian has joined #u-boot
<qschulz> i also had to remove the if check in *eth_phy_get_mdio_bus, I don't understand why it's there
<marex> qschulz: that get_phy_id , are you sure it enabled all the clock ?
<marex> qschulz: I think I had this problem with DWMAC on STM32MP15xx , it didnt enable some internal EQoS/DWMAC clock and the mii command returned all zeroes or ones or something
sakman has quit [Ping timeout: 246 seconds]
<qschulz> marex: PHY clk and PHY reset are proper, didn't check the MAC clk
<marex> qschulz: since the MAC interacts with the MDIO bus, you might want to check that too
<marex> qschulz: maybe check the MDIO clk line with a scope and measure the frequency too, if it is too high, the PHY might go nuts too
<qschulz> yeah but the whole thing is way too involved for what I need to do
<qschulz> U-Boot currently always do PHY negotiation when starting
* marex rolls eyes
<qschulz> I don't need any of that
<marex> eh ?
<qschulz> in order for the PHY to be properly configured, you need to call its phy_startup function AFAICT
<qschulz> and this always does link negotiation
<qschulz> which is overkill when I literally only want its PHY ID
mripard has joined #u-boot
<marex> qschulz: ah, uh ... this horrorshow ...
<marex> qschulz: the crappy thing about reading out PHY ID is that you may have to do whatever weird power sequencing for the PHY before you can access its registers
<marex> cfr LAN8710 :(
<marex> and to figure out what weird power sequencing you have to do , you need the PHY ID , so this is circular depenency
<marex> that's why it is often a better idea to put the PHY ID into DT and be done with it
<marex> there have been many discussions about this on netdev@ too
<qschulz> Yes, and this is where I am coming from
<qschulz> we can NOT have the PHY ID in the Device Tree
<marex> uh
<qschulz> because we can place two different ones in HW
<qschulz> so I need to support both
<marex> qschulz: do you have any way of telling the boards apart , other than reading out the PHY ID ?
<marex> qschulz: hold on, I did this nasty hack ...
<qschulz> no
<marex> see 32a41b7c378
<qschulz> I mean, we have an empty EEPROM right now, but I'd rather do something that doens't involve it
<qschulz> because... well, then you have to make sure they are coherent :)
<marex> qschulz: I misused property of the board, one has a pull up on one of the PHY lines, the other doesnt
<qschulz> marex: AFAICT from the schematics, we have only one resistor value changed, and it's not routed to anything on the SoC side, so not an option
<marex> qschulz: oh well :(
<qschulz> so for the net PHY subsystem to be able to detect our PHY properly, we need to have the PHY clock running, that's all
<qschulz> so I'll just force-enable the PHY clock before booting the kernel I guess
<marex> qschulz: what about networking in uboot ?
<qschulz> and then the day this makes me not sleep at night anymore, I may work on making this prettier
<marex> qschulz: can you do MDIO GPIO bitbang btw ?
<qschulz> marex: somehow it works without doing anything special, i'll need to dig a bit to understand stuff
<marex> that way you might avoid dealing with the MAC clock
<qschulz> marex: it's not the MDIO, it's the clock for the PHY
<qschulz> ah, I see what you mean
<qschulz> whew, not sure I want to go this route, but that may be an option indeed
<qschulz> thx for the pointer
<marex> qschulz: sure
ezulian has quit [Ping timeout: 252 seconds]
monstr has quit [Ping timeout: 252 seconds]
dsimic has quit [Ping timeout: 264 seconds]
dsimic has joined #u-boot
slobodan has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
<tlwoerner> qschulz: just to be clear, i'm trying to get it on a rk3328 (rock-pi-e)
sakman has joined #u-boot
alpernebbi has quit [Ping timeout: 260 seconds]
alpernebbi has joined #u-boot
tnovotny has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
jmasson has quit [Remote host closed the connection]
Stat_headcrabed has joined #u-boot
<qschulz> tlwoerner: yeah I gathered, but the hoops to go through would probably be the same
experemental has joined #u-boot
ladis has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #u-boot
<tlwoerner> qschulz: yes, your description of what you're seeing sounds very familiar
mmu_man has joined #u-boot
experemental has quit [Read error: error:0A000119:SSL routines::decryption failed or bad record mac]
slobodan has quit [Ping timeout: 246 seconds]
slobodan_ has joined #u-boot
experemental has joined #u-boot
slobodan_ has quit [Read error: Connection reset by peer]
goliath has quit [Quit: SIGSEGV]
slobodan_ has joined #u-boot
slobodan_ has quit [Read error: Connection reset by peer]
ladis has quit [Remote host closed the connection]
frieder has quit [Ping timeout: 245 seconds]
ladis has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tnovotny has quit [Quit: Leaving]
<tlwoerner> curious. the older rock-pi-e boards, with the 8211e PHY, _appear_ to have networking working (because initialization completes successfully)
<tlwoerner> but on closer examination, networking is not working on that board either
prabhakarlad has quit [Quit: Client closed]
torez has joined #u-boot
prabhakar has quit [Ping timeout: 264 seconds]
mmu_man has joined #u-boot
prabhakarlad has joined #u-boot
prabhakar has joined #u-boot
torez has quit [Quit: torez]
prabhakarlad has quit [Quit: Client closed]
mckoan is now known as mckoan|away
rvalue has quit [Ping timeout: 245 seconds]
rvalue has joined #u-boot
sakman has quit [Ping timeout: 264 seconds]
prabhakar has quit [Ping timeout: 252 seconds]
prabhakarlad has joined #u-boot
prabhakar has joined #u-boot
slobodan has joined #u-boot
prabhakarlad has quit [Ping timeout: 250 seconds]
prabhakar has quit [Ping timeout: 260 seconds]
ikarso has joined #u-boot
experemental has quit [Read error: error:0A000119:SSL routines::decryption failed or bad record mac]
sakman has joined #u-boot
experemental has joined #u-boot
Clamor has quit [Ping timeout: 260 seconds]
Clamor has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
swiftgeek has quit [Quit: swiftgeek]
swiftgeek has joined #u-boot
ladis_ has joined #u-boot
prabhakarlad has joined #u-boot
prabhakar has joined #u-boot
ladis has quit [Ping timeout: 252 seconds]
ladis_ has quit [Read error: Connection reset by peer]
ladis_ has joined #u-boot
prabhakar has quit [Ping timeout: 252 seconds]
vfazio_ has joined #u-boot
tlwoerner_ has joined #u-boot
cottsay has quit [Ping timeout: 260 seconds]
crb_ has joined #u-boot
crb has quit [Ping timeout: 260 seconds]
cottsay has joined #u-boot
bq has quit [Ping timeout: 268 seconds]
vfazio__ has quit [Ping timeout: 264 seconds]
bq has joined #u-boot
tlwoerner has quit [Ping timeout: 264 seconds]
justache has quit [Ping timeout: 264 seconds]
bq has quit [*.net *.split]
tlwoerner_ has quit [*.net *.split]
vfazio_ has quit [*.net *.split]
alpernebbi has quit [*.net *.split]
haritz has quit [*.net *.split]
alan_o has quit [*.net *.split]
wooosaiiii has quit [*.net *.split]
flyback has quit [*.net *.split]
flokli has quit [*.net *.split]
BobBeck3 has quit [*.net *.split]
MWelchUK has quit [*.net *.split]
marcan has quit [*.net *.split]
Lightsword has quit [*.net *.split]
agraf has quit [*.net *.split]
finga has quit [*.net *.split]
bern has quit [*.net *.split]
senzilla has quit [*.net *.split]
macromorgan has quit [*.net *.split]
ukky has quit [*.net *.split]
indy has quit [*.net *.split]
tafa has quit [*.net *.split]
mckoan|away has quit [*.net *.split]
bradfa has quit [*.net *.split]
johang has quit [*.net *.split]
tucanae47 has quit [*.net *.split]
NishanthMenon has quit [*.net *.split]
ex-parrot has quit [*.net *.split]
marex has quit [*.net *.split]
paulbarker has quit [*.net *.split]
experemental has quit [*.net *.split]
jclsn has quit [*.net *.split]
edwinistrator2 has quit [*.net *.split]
sng has quit [*.net *.split]
piglit_ has quit [*.net *.split]
jbowen has quit [*.net *.split]
Manouchehri has quit [*.net *.split]
nohit has quit [*.net *.split]
pbrobinson has quit [*.net *.split]
ndesaulniers has quit [*.net *.split]
mkorpershoek has quit [*.net *.split]
smurray has quit [*.net *.split]
darkxst has quit [*.net *.split]
ad__ has quit [*.net *.split]
zear has quit [*.net *.split]
cambrian_invader has quit [*.net *.split]
yollom has quit [*.net *.split]
hays has quit [*.net *.split]
Epakai has quit [*.net *.split]
dgilmore has quit [*.net *.split]
ezequielg has quit [*.net *.split]
slobodan has quit [*.net *.split]
ladis_ has quit [*.net *.split]
jan_V2 has quit [*.net *.split]
Perflosopher has quit [*.net *.split]
warthog9 has quit [*.net *.split]
zkrx has quit [*.net *.split]
pivi has quit [*.net *.split]
mirko___ has quit [*.net *.split]
yang has quit [*.net *.split]
bswartz has quit [*.net *.split]
qsx has quit [*.net *.split]
nehamalcom has quit [*.net *.split]
kveremitz has quit [*.net *.split]
austriancoder has quit [*.net *.split]
narmstrong has quit [*.net *.split]
CounterPillow has quit [*.net *.split]
Crofton has quit [*.net *.split]
jkridner has quit [*.net *.split]
moto-timo has quit [*.net *.split]
JPEW has quit [*.net *.split]
deathcamel57 has quit [*.net *.split]
xroumegue has quit [*.net *.split]
rhadye has quit [*.net *.split]
FergusL has quit [*.net *.split]
georgem has quit [*.net *.split]
rburton has quit [*.net *.split]
Forty-Bot has quit [*.net *.split]
ldevulder has quit [*.net *.split]
mwalle has quit [*.net *.split]
niska has quit [*.net *.split]
Kwiboo has quit [*.net *.split]
Net147 has quit [*.net *.split]
tpw_rules has quit [*.net *.split]
sigmaris has quit [*.net *.split]
Sout has quit [*.net *.split]
rfried has quit [*.net *.split]
BobBeck6 has quit [*.net *.split]
pgreco_ has quit [*.net *.split]
wyre has quit [*.net *.split]
hanetzer has quit [*.net *.split]
rfs613 has quit [*.net *.split]
dlan has quit [*.net *.split]
calebccff has quit [*.net *.split]
clarity has quit [*.net *.split]
Leopold has quit [*.net *.split]
qschulz has quit [*.net *.split]
jfsimon has quit [*.net *.split]
mrnuke has quit [*.net *.split]
gsz has quit [*.net *.split]
crazy_imp has quit [*.net *.split]
cakes_ has quit [*.net *.split]
srk has quit [*.net *.split]
umbramalison has quit [*.net *.split]
persmule has quit [*.net *.split]
GNUtoo has quit [*.net *.split]
cottsay has quit [*.net *.split]
sakman has quit [*.net *.split]
devarsh has quit [*.net *.split]
Hypfer has quit [*.net *.split]
m5zs7k has quit [*.net *.split]
f_ has quit [*.net *.split]
fionera has quit [*.net *.split]
wak has quit [*.net *.split]
cyrozap has quit [*.net *.split]
dormito has quit [*.net *.split]
kabel has quit [*.net *.split]
RecursiveG has quit [*.net *.split]
khilman has quit [*.net *.split]
robher has quit [*.net *.split]
redbutton has quit [*.net *.split]
ikarso has quit [*.net *.split]
mripard has quit [*.net *.split]
ungeskriptet has quit [*.net *.split]
mps has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
sjg1 has quit [*.net *.split]
LordKalma has quit [*.net *.split]
mmind00 has quit [*.net *.split]
Jacmet has quit [*.net *.split]
dsimic has quit [*.net *.split]
zsoltiv_ has quit [*.net *.split]
thopiekar has quit [*.net *.split]
redbrain has quit [*.net *.split]
Rahix has quit [*.net *.split]
aat596 has quit [*.net *.split]
yang2 has quit [*.net *.split]
ccaione has quit [*.net *.split]
shiz has quit [*.net *.split]
deathmist has quit [*.net *.split]
LetoThe2nd has quit [*.net *.split]
samueldr has quit [*.net *.split]
g5pw has quit [*.net *.split]
rvalue has quit [*.net *.split]
pbsds has quit [*.net *.split]
pavelow has quit [*.net *.split]
vigneshr has quit [*.net *.split]
xypron has quit [*.net *.split]
hsv has quit [*.net *.split]
sauce has quit [*.net *.split]
mithro has quit [*.net *.split]
cbmuser has quit [*.net *.split]
Tartarus has quit [*.net *.split]
polprog has quit [*.net *.split]
jsmolic has quit [*.net *.split]
foxtrot has quit [*.net *.split]
zar has quit [*.net *.split]
eloy has quit [*.net *.split]
j`ey has quit [*.net *.split]
crb_ has quit [*.net *.split]
swiftgeek has quit [*.net *.split]
MWelchUK7 has quit [*.net *.split]
sicelo has quit [*.net *.split]
mmu_man has quit [*.net *.split]
stgl has quit [*.net *.split]
jybz has quit [*.net *.split]
patersonc has quit [*.net *.split]
jluthra has quit [*.net *.split]
broonie has quit [*.net *.split]
rcn-ee has quit [*.net *.split]
prabhakarlad has quit [*.net *.split]
crb_ has joined #u-boot
Hypfer has joined #u-boot
hanetzer has joined #u-boot
ex-parrot has joined #u-boot
rvalue has joined #u-boot
bq has joined #u-boot
cottsay has joined #u-boot
justache- has joined #u-boot
mripard has joined #u-boot
alpernebbi has joined #u-boot
ladis_ has joined #u-boot
prabhakarlad has joined #u-boot
vfazio_ has joined #u-boot
tlwoerner_ has joined #u-boot
pgreco_ has joined #u-boot
persmule has joined #u-boot
ldevulder has joined #u-boot
swiftgeek has joined #u-boot
haritz has joined #u-boot
jclsn has joined #u-boot
experemental has joined #u-boot
wyre has joined #u-boot
devarsh has joined #u-boot
ikarso has joined #u-boot
mmu_man has joined #u-boot
slobodan has joined #u-boot
dsimic has joined #u-boot
sakman has joined #u-boot
thopiekar has joined #u-boot
zsoltiv_ has joined #u-boot
deathcamel57 has joined #u-boot
piglit_ has joined #u-boot
redbrain has joined #u-boot
Leopold has joined #u-boot
mrnuke has joined #u-boot
alan_o has joined #u-boot
jfsimon has joined #u-boot
Perflosopher has joined #u-boot
jan_V2 has joined #u-boot
qschulz has joined #u-boot
wooosaiiii has joined #u-boot
macromorgan has joined #u-boot
flyback has joined #u-boot
sng has joined #u-boot
bern has joined #u-boot
senzilla has joined #u-boot
finga has joined #u-boot
agraf has joined #u-boot
Lightsword has joined #u-boot
marcan has joined #u-boot
BobBeck3 has joined #u-boot
ungeskriptet has joined #u-boot
GNUtoo has joined #u-boot
MWelchUK has joined #u-boot
NishanthMenon has joined #u-boot
tafa has joined #u-boot
mckoan|away has joined #u-boot
ukky has joined #u-boot
indy has joined #u-boot
rfs613 has joined #u-boot
flokli has joined #u-boot
calebccff has joined #u-boot
johang has joined #u-boot
xroumegue has joined #u-boot
paulbarker has joined #u-boot
marex has joined #u-boot
tucanae47 has joined #u-boot
f_ has joined #u-boot
bradfa has joined #u-boot
pavelow has joined #u-boot
Net147 has joined #u-boot
pbsds has joined #u-boot
edwinistrator2 has joined #u-boot
gsz has joined #u-boot
m5zs7k has joined #u-boot
dlan has joined #u-boot
warthog9 has joined #u-boot
yang2 has joined #u-boot
Manouchehri has joined #u-boot
yang has joined #u-boot
dormito has joined #u-boot
shiz has joined #u-boot
Rahix has joined #u-boot
mwalle has joined #u-boot
pivi has joined #u-boot
wak has joined #u-boot
cakes_ has joined #u-boot
clarity has joined #u-boot
vigneshr has joined #u-boot
stgl has joined #u-boot
zkrx has joined #u-boot
fionera has joined #u-boot
jbowen has joined #u-boot
crazy_imp has joined #u-boot
niska has joined #u-boot
hsv has joined #u-boot
srk has joined #u-boot
mps has joined #u-boot
xypron has joined #u-boot
aat596 has joined #u-boot
mirko___ has joined #u-boot
pbrobinson has joined #u-boot
nohit has joined #u-boot
ndesaulniers has joined #u-boot
mkorpershoek has joined #u-boot
ccaione has joined #u-boot
smurray has joined #u-boot
Kwiboo has joined #u-boot
jybz has joined #u-boot
sauce has joined #u-boot
lvrp16 has joined #u-boot
darkxst has joined #u-boot
bswartz has joined #u-boot
tpw_rules has joined #u-boot
umbramalison has joined #u-boot
zear has joined #u-boot
cambrian_invader has joined #u-boot
nehamalcom has joined #u-boot
sigmaris has joined #u-boot
rhadye has joined #u-boot
sjg1 has joined #u-boot
hays has joined #u-boot
kabel has joined #u-boot
CounterPillow has joined #u-boot
JPEW has joined #u-boot
moto-timo has joined #u-boot
Crofton has joined #u-boot
Forty-Bot has joined #u-boot
FergusL has joined #u-boot
georgem has joined #u-boot
rfried has joined #u-boot
rburton has joined #u-boot
jkridner has joined #u-boot
Epakai has joined #u-boot
BobBeck6 has joined #u-boot
khilman has joined #u-boot
ad__ has joined #u-boot
Sout has joined #u-boot
dgilmore has joined #u-boot
mmind00 has joined #u-boot
ezequielg has joined #u-boot
robher has joined #u-boot
redbutton has joined #u-boot
LetoThe2nd has joined #u-boot
RecursiveG has joined #u-boot
samueldr has joined #u-boot
g5pw has joined #u-boot
broonie has joined #u-boot
Jacmet has joined #u-boot
deathmist has joined #u-boot
rcn-ee has joined #u-boot
jluthra has joined #u-boot
LordKalma has joined #u-boot
patersonc has joined #u-boot
eloy has joined #u-boot
jsmolic has joined #u-boot
foxtrot has joined #u-boot
Tartarus has joined #u-boot
cbmuser has joined #u-boot
zar has joined #u-boot
polprog has joined #u-boot
MWelchUK7 has joined #u-boot
sicelo has joined #u-boot
qsx has joined #u-boot
yollom has joined #u-boot
narmstrong has joined #u-boot
kveremitz has joined #u-boot
mithro has joined #u-boot
austriancoder has joined #u-boot
cyrozap has joined #u-boot
j`ey has joined #u-boot
crb has joined #u-boot
crb_ has quit [Read error: Connection reset by peer]
slobodan has quit [Ping timeout: 264 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
sakman has quit [Ping timeout: 260 seconds]
experemental has quit [Read error: error:0A000119:SSL routines::decryption failed or bad record mac]