Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.10, v2025.01-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2025.01 is scheduled for 06 January 2025 / Channel archives at https://libera.irclog.whitequark.org/u-boot
goliath has joined #u-boot
<marex> Peng_Fan: bootstd is deprecated I think, use bootmethod
mmu_man has quit [Ping timeout: 244 seconds]
<marex> Peng_Fan: also, the mx95 stuff from Alice, is that supposed to boot on the toradex evk ?
<Peng_Fan> marex, thanks for reminding. I have not looked into details of bootstd (: But with bootmeth, seems needs extlinux or boot.scr which not used on i.MX
<Peng_Fan> we not try the i.MX95 patchset on toradex board, I think it should work
<marex> Peng_Fan: there is another board ?
<marex> Peng_Fan: I was under the impression the 19x19 is the ... toradex board ?
<Peng_Fan> marex: nope, the current i.mx95 patchset is for i.MX95 19x19 EVK board. Not i.MX95 toradex board
<marex> Peng_Fan: re bootmethod ... I think you should be able to define a flow to boot without extlinux, ask sjg1
<Peng_Fan> toradex board reuses most of the code from i.MX95 19x19 EVK, I think the current patchset should be able to boot toradex board, but we have not tried that.
<Peng_Fan> marex, thanks, I will reply sjg1 in mail.
<marex> Peng_Fan: is there some picture of the 19x19 board somewhere ?
<marex> https://docs.toradex.com/115481-verdin-imx95-evk.png this is what I found, but that's the toradex board
<Peng_Fan> marex, the 19x19 EVK board is almost 1.5x times bigger compared with toradex board
<marex> Peng_Fan: yes, that is what confuses me ... 19x19 verdin :()
<marex> :)
<Peng_Fan> the toradex board reuses most code from 19x19 evk, so technically the current under reviewing patchset should be able to boot on toradex board
<marex> Peng_Fan: wait ... 19x19 is the SoC package size ?
<Peng_Fan> marex, right!
<marex> ah, I see
<marex> lemme check if I need to build different OEI or something for this
mmu_man has joined #u-boot
<marex> thing is, I get messages from DDR OEI and TCM OEI that init was done, err = 0x0, but nothing more (no RTOS and no U-Boot)
<Peng_Fan> marex, ah. oei are same for evk and verdin, sm is same, ele is same
<Peng_Fan> After OEI, there will be SM log output. If no SM log output, there must be something wrong.
<marex> it seems OEI is rebooting in a loop
<Peng_Fan> marex, did you give a try using imx-mkimage to pack the images?
<marex> I followed doc/board/nxp/imx95_evk.rst
<marex> I applied the patchset from Alice and just went by the README for now
<Peng_Fan> marex, not sure there is bug in imx8image to support imx95 or not. To use imx-mkimage, just put all the stuff under imx-mkimage/iMX95, and make SOC=iMX95 clean; make SOC=iMX95 flash_lpboot_sm_a55 LPDDR_TYPE=lpddr5 OEI=YES
<Peng_Fan> I could give a look later today, but not have much time.
<marex> Peng_Fan: where do I get the imx-mkimage from ?
<marex> Peng_Fan: no worries, no need to stress over this
<marex> Peng_Fan: thanks
<Peng_Fan> NXP i.MX public releases are under github.com/nxp-imx now.
<marex> Peng_Fan: I noticed that codeaurora went away, yes
<marex> Peng_Fan: hum well with imx-mkimage it gets stuck right after first print of DDR OEI: SOC MIMX95(A0), Board mx95lp5
<Peng_Fan> marex, the ddr firmware including the xxx-qb-xx firmware should both be put under imx-mkimage/iMX95
<Peng_Fan> qb means quick boot.
<marex> Peng_Fan: ah, I switched to lf-6.6.52-2.2.0 and then it is back to reboot loop
<marex> it is there
<Peng_Fan> marex, no idea what is wrong here.
<Peng_Fan> It might be SM watchdog timeout
<Peng_Fan> marex, are all your branches switched to lf-6.6.52-2.2.0?
<Peng_Fan> including OEI/SM?
<marex> Peng_Fan: yes
<Peng_Fan> marex, no idea now. I need give a debug later to see what is wrong.
<marex> Peng_Fan: Alice did test the patchset on mx95evk , right ?
<Peng_Fan> marex, I think so.
<marex> Peng_Fan: all right, well, let's see if I can figure something out, thanks
<marex> Peng_Fan: the silicon I have might be A0, is that OK ?
<Peng_Fan> it should be ok.
<Peng_Fan> marex
<marex> hmmmmm
<marex> but that might be different som
<marex> right, the verdin evk SoM does use lpddr5, hum
<marex> https://docs.toradex.com/116068-datasheet-toradex-verdin-i.mx-95-evk.pdf table 3 on page 6 ... 128 GB ... LPDDR5 ... so much DRAM it almost looks like a typo :)
<marex> pivi: ^ ;-)
<marex> but why would DDR OEI: TRAINING complete in 5041395 us
<marex> 5 seconds for LPDDR5 training , that is some very long training
alpernebbi has quit [Ping timeout: 265 seconds]
zibolo has quit [Ping timeout: 244 seconds]
zibolo has joined #u-boot
alpernebbi has joined #u-boot
goliath has quit [Quit: SIGSEGV]
frytaped has quit [Ping timeout: 248 seconds]
<Peng_Fan> Actually this is to tell scmi server we will use hardware interrupt(MU GIP), not means we will enable A55 interrupt to handle
<Peng_Fan> without this flag set, SM will not set the GIP back
<Peng_Fan> marex.
<Peng_Fan> marex: ddr training for 1st time is time consuming, but in uboot, you could run "qb save", then it will be faster in next boot.
pbsds3 has quit [Quit: The Lounge - https://thelounge.chat]
pbsds3 has joined #u-boot
gachikuku_ is now known as gachikuku
mmu_man has quit [Ping timeout: 244 seconds]
vardhan has joined #u-boot
wooosaiiii1 has joined #u-boot
wooosaiiii has quit [Ping timeout: 260 seconds]
wooosaiiii1 is now known as wooosaiiii
sally has quit [Quit: sally]
Peng_Fan has quit [Quit: Connection closed for inactivity]
Peng_Fan has joined #u-boot
sally_ has joined #u-boot
sally_ has quit [Changing host]
sally_ has joined #u-boot
sally_ is now known as sally
sng has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sng has joined #u-boot
monstr has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
ungeskriptet_ has joined #u-boot
ungeskriptet has quit [Ping timeout: 276 seconds]
ungeskriptet_ is now known as ungeskriptet
sally has quit [Quit: sally]
sally has joined #u-boot
sally has quit [Client Quit]
sally has joined #u-boot
monstr has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
monstr has joined #u-boot
dsimic has quit [Ping timeout: 245 seconds]
ldevulder has joined #u-boot
dsimic has joined #u-boot
sszy has joined #u-boot
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
<pivi> marex: I did report the issue on the memory size.
<pivi> marex: verdin imx95 evk != verdin imx95. the naming is not coming from me, I already expressed my concern on this.
davlefou has quit [Ping timeout: 272 seconds]
mripard has joined #u-boot
davlefou has joined #u-boot
yann-kaelig has joined #u-boot
yann-kaelig has quit []
naoki has quit [Quit: naoki]
jybz has quit [Excess Flood]
jybz has joined #u-boot
GNUtoo has quit [Ping timeout: 244 seconds]
GNUtoo has joined #u-boot
goliath has joined #u-boot
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
vardhan_ has joined #u-boot
vardhan has quit [Ping timeout: 245 seconds]
___nick___ has quit [Ping timeout: 265 seconds]
___nick___ has joined #u-boot
mmu_man has joined #u-boot
ladis has joined #u-boot
Mxlvxn has joined #u-boot
<Mxlvxn> hello
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Mxlvxn has quit [Ping timeout: 264 seconds]
sszy has joined #u-boot
RoganDawes has quit [Quit: Client closed]
vardhan__ has joined #u-boot
vardhan_ has quit [Ping timeout: 264 seconds]
crb_ has quit [Remote host closed the connection]
RoganDawes has joined #u-boot
<marex> Peng_Fan: regarding the patch, please update the commit message , and it should likely not be in generic code, right ?
<marex> Peng_Fan: as for DDR training, I need to figure out the SM first, but thanks for the hint
<Slimey> if i have a older version of u-boot say v2015.01 whats the best version toochain to use for it to build?
Knogle has joined #u-boot
RoganDawes has quit [Quit: Client closed]
flokli has quit [Ping timeout: 272 seconds]
vardhan__ has quit [Ping timeout: 264 seconds]
flokli has joined #u-boot
ladis has quit [Quit: Leaving]
monstr has quit [Remote host closed the connection]
<dujem> Slimey: maybe some point release of gcc 4.8 or 4.9?
rvalue has joined #u-boot
<marex> Slimey: I think ftp.denx.de might still have some archaic ELDK from that era
prabhakalad has quit [Ping timeout: 265 seconds]
prabhakalad has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
frytaped has joined #u-boot
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #u-boot
Knogle has quit [Quit: WeeChat 4.5.1]
___nick___ has quit [Ping timeout: 252 seconds]
<rfs613> Looking for some guidance on which UCLASS_xyz to use for a ethernet media converter. It's not an ethernet (UCLASS_ETH) and its not a PHY (UCLASS_ETH_PHY), but it sits between them and converts the MII/GMII/RGMII signals. Whenever the PHY detects link, this device needs a few registers programmed (speed, duplex, etc).
<rfs613> On the linux side, it is handled using PCS (Physical Coding Sublayer) and the driver makes use of device_link feature, but that doesn't exist in u-boot AFAIK
<SlimeyX> dujem right on the money looks like "powerpc-fsl-linux-gcc (GCC) 4.9.2"
<SlimeyX> GNU ld (GNU Binutils) 2.25
<SlimeyX> marex yup i think i found them
mmu_man has quit [Ping timeout: 248 seconds]
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #u-boot
_whitelogger has joined #u-boot
<marex> rfs613: I think xilinx zynq has something like that for GMII
<marex> rfs613: I also think it is supported, it might be some uclass misc
<rfs613> marex: thanks, I did see UCLASS_MISC but figured I'd ask if there was something better
<rfs613> i'll poke around the zynq to see if I can find their media converter (think I worked with that a while back even!)
<marex> rfs613: their MAC IP is from cadence I think
<rfs613> also sounds familar... i workd on the first-gen zynq maybe a decade or so ago...
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
RoganDawes has joined #u-boot
<RoganDawes> Does anyone have experience with HAB on imx6? I'm trying to understand Section F.1 of AN4581, describing how the image needs to be signed to use with mfgtool. In particular, how the DCD needs to be cleared first before being signed, but then the DCD value needs to be reinstated before being downloaded. This section in particular has me wondering,
<RoganDawes> whether is is absolutely required, or just recommended, to avoid trying to reinitialise the DDR?
<RoganDawes> > The pointer to the DCD table is cleared in the IVT in order to prevent the HAB library from processing the DCD table again during the authentication process. There is no need to reinitialize some memory, such as DDR3, when it already contains valid data.
<RoganDawes> For reference, I am trying to access a HABv4-protected device, which has been locked down to prevent access to u-boot or a linux shell. I have a copy of the flash chip, as well as console and USB/SDP access to the device.
<sjg1> rfs613: You are permitted to add a new uclass :-) Perhaps UCLASS_ETH_CONV ?
<sjg1> rfs613: The important thing is to define the API carefully, although typically people can update it later if needed for particular chips / features
<marex> Peng_Fan: FYI it is something with the SM that is not right, if I pull SM binary from OE build, I can reach U-Boot
<marex> Peng_Fan: I am investigating
<Forty-Bot> rfs613: UCLASS_PCS if we have it
<Forty-Bot> the zynq thing is a phy but really should be a PCS
<marex> RoganDawes: HAB on MX6, read U-Boot doc/imx/habv4/guides/mx6_mx7_spl_secure_boot.txt
<marex> doc/imx/habv4/guides/mx6_mx7_secure_boot.txt for non-SPL case
naoki has joined #u-boot
umbramalison_alt has joined #u-boot
umbramalison has quit [Ping timeout: 276 seconds]
ldevulder has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
<marex> Peng_Fan: so ugh, it seems that if I compile SM with arm-none-eabi-gcc 13.2.y then it works, if I use 13.3.y it does NOT work
<marex> lovely
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot