NishanthMenon changed the topic of #linux-ti to: Linux development for TI SoCs | Logs: https://libera.irclog.whitequark.org/linux-ti/| paste logs in https://pastebin.ubuntu.com/ | Let it rock! Vendor SDK/kernel: Also see e2e.ti.com
vstehle has quit [Ping timeout: 240 seconds]
Pali has quit [Ping timeout: 260 seconds]
shoragan has quit [Ping timeout: 260 seconds]
shoragan has joined #linux-ti
kishon has quit [Ping timeout: 260 seconds]
kishon has joined #linux-ti
vstehle has joined #linux-ti
rob_w has joined #linux-ti
rob_w has quit [Client Quit]
rob_w has joined #linux-ti
Peng_Fan has joined #linux-ti
florian has joined #linux-ti
florian has quit [Ping timeout: 260 seconds]
florian has joined #linux-ti
florian has quit [Ping timeout: 260 seconds]
Pali has joined #linux-ti
florian has joined #linux-ti
Pali has quit [Ping timeout: 252 seconds]
florian_kc has joined #linux-ti
ikarso has joined #linux-ti
<austriancoder> NishanthMenon: Do you know in what partition type (user, RPMB, ..) I need to copy U-Boot etc for emmc boot on am642?
<NishanthMenon> aaah -> there are atleast two ways.
kishon has quit [Ping timeout: 260 seconds]
<austriancoder> okay..
<NishanthMenon> option 1: tiboot3.bin in boot0. sysfw.itb... etc in boot0 partition : https://e2e.ti.com/support/processors-group/processors/f/processors-forum/950948/faq-tda4vm-how-to-modify-offsets-for-boot-binaries-in-emmc -> the sizes offsets will depend on emmc sector sizes and 4MB or 8MB boot partition.
<NishanthMenon> option 1 drove me nuts on ai64.. because features in u-boot kept changing..
<NishanthMenon> esp u-boot.img etc.. and given the fact that tfa and optee was stored as well in boot0 partition, i could see it scale..
<NishanthMenon> so, option 2 in ai64: https://github.com/beagleboard/u-boot/commit/84c57f48937093d9624f28a127611dfcb57ca902 -> which this change, uda has /boot partition like sd card does.. with that , only tiboot3.bin is written to emmc boot0 partition. so the update cycle becomes trivial https://github.com/nmenon/beagle-ai64-boot-build/blob/main/lnx-write-boot-emmc.sh -> i could not scale the a72 /a53 binaries to what ever it desires
<NishanthMenon> negatives of option2: it is fs access for R5 SPL.. so it is naturally slower than purely raw emmc access if all binaries are in boot0.
<NishanthMenon> there is an argument for option 3: -> folks are suggesting using ospi as a jump point before jumping over to uda in emmc.
<NishanthMenon> that allows for emmc uda images to be completely EBBR compatible..
<NishanthMenon> austriancoder: funny you should ask.. a few weeks back, I had gone nuts trying to figure out why ai64 boot regressed... wrote a TI internal training slide using that as a case study ;)
<austriancoder> NishanthMenon: we want to get rid of the spi as boot source and move everything to emmc ..
kishon has joined #linux-ti
<NishanthMenon> austriancoder: gotcha.. well.. it depends on scalability vs nuanced boot time optimization. standard sdk supports "optimized boot" configuration.. for me, at least with ai64, it was'nt allowing flexibility.. i would like 20MB optee images and multi-mb u-boot which is feature rich..
<NishanthMenon> austriancoder: curious why to get rid of spi - BoM cost?
<austriancoder> NishanthMenon: yeah.. it is all about the money
<NishanthMenon> austriancoder: what else is new ;)
<austriancoder> NishanthMenon: thanks for your links etc. .. this will help me a lot!
<NishanthMenon> austriancoder: cool.. i wish there was a simpler - hey here is a single soln.. works perfectly and optimally and scales with feature changes for ever.. unfortunately, as with everything.. tradeoff choices :(
<austriancoder> the next thing that will come .. boot time optimization :/
<NishanthMenon> yup..
rogerq has joined #linux-ti
rogerq has quit [Remote host closed the connection]
<vigneshr> One of the arguments for choosing option 1: booting from raw boot0 partition is quicker for ROM/SPL as there is not much of initialization required.. It's supposed to be faster than raw access to UDA
florian has quit [Quit: Ex-Chat]
florian_kc has quit [Ping timeout: 256 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
Pali has joined #linux-ti
florian_kc has joined #linux-ti
rob_w has quit [Read error: Connection reset by peer]
<NishanthMenon> aah... thanks vigneshr ... option 1 for performance, option 2 for flexibility, and option 3 for potentially ebbr
florian_kc has quit [Ping timeout: 256 seconds]