jwillikers has quit [Remote host closed the connection]
Ododo has quit [Ping timeout: 252 seconds]
macromorgan is now known as Guest5877
macromorgan has joined #u-boot
Guest5877 has quit [Killed (silver.libera.chat (Nickname regained by services))]
sakman has quit [Ping timeout: 256 seconds]
sakman has joined #u-boot
sakman has quit [Client Quit]
sakman has joined #u-boot
agust has joined #u-boot
fdanis_away is now known as fdanis
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
Forty-Bot has quit [Ping timeout: 240 seconds]
Forty-Bot has joined #u-boot
Ododo has joined #u-boot
mckoan|away is now known as mckoan
sakman_ has joined #u-boot
sakman has quit [Ping timeout: 240 seconds]
<wyre>
mwalle, I'm curious, ... how it's possible to boot the sd card contents from hardware? (without bootloader, I mean)
<urja>
i'm not 100% sure on what SoC we're talking about, but based on what i backtracked and looked up, it's an i.MX6, that based on some googling starts its boot from fixed boot ROM
<urja>
so that's how i guess, based on whatever (boot straps? just existence of SD?) the boot ROM decides to load from an SD card
<mwalle>
(i'm don't know that much about imx, just layerscape) but as urja said, there is usually a ROM inside the SoC which copies a portion of code from sdcard (or emmc or nand and so on) to an internal SRAM and jumps there
<mwalle>
sometimes there is also execute in place possible where the contents of the external storage is mapped into a memory window and you can just jump there and skip the copy to sram step
<mwalle>
wyre: hardwired code inside the SoC
guillaume_g has joined #u-boot
tnovotny has joined #u-boot
<marex>
wyre: the way it works on imx before 8m is that after the cpu is powered up for the first time, it jumps into bootrom
<marex>
there is some hundreds for kiB of code in that
<marex>
that runs, does basic init, and also implements various protocols (sd, usb gadget, the nand handling including ecc etc)
<marex>
that is also what loads the SPL from SD to OCRAM and then jumps to it
<marex>
wyre: if you are asking whether it is possible to do XIP from SD card, not on iMX
<marex>
... but technically, with the right SoC, it might be if you were to operate the SD in SPI mode and had SPI controller which can do XIP, but that's a lot of if
<wyre>
marex, before 8m?
<wyre>
and now, I was just curious about how can this boot process directly from SD card is produced 😀
<wyre>
s/now/no/
<marex>
wyre: imx8m changed the blob format on the SD card a bit
<marex>
wyre: on mx6ul you cannot , you copy the SPL from SD to OCRAM and execute it from there