Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.04, v2023.07-rc3 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2023.07 is scheduled for 03 July 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
naoki has joined #u-boot
mckoan|away has quit [Server closed connection]
jkridner has quit [Server closed connection]
jkridner has joined #u-boot
mckoan|away has joined #u-boot
zibolo has quit [Ping timeout: 240 seconds]
zibolo has joined #u-boot
apritzel_ has quit [Ping timeout: 240 seconds]
camus has quit [Ping timeout: 240 seconds]
camus has joined #u-boot
camus has quit [Client Quit]
camus has joined #u-boot
jclsn has quit [Ping timeout: 258 seconds]
jclsn has joined #u-boot
___nick___ has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Wouter0100670440 has joined #u-boot
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
___nick___ has quit [Ping timeout: 252 seconds]
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
Tartarus has quit [Server closed connection]
Tartarus has joined #u-boot
mithro has quit [Server closed connection]
mithro has joined #u-boot
wooosaiiii has quit [Quit: wooosaiiii]
wooosaiiii has joined #u-boot
Guest40 has joined #u-boot
sng has joined #u-boot
sng has quit [Ping timeout: 240 seconds]
stefanro has joined #u-boot
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #u-boot
agraf has quit [Server closed connection]
agraf has joined #u-boot
narmstrong has quit [Server closed connection]
narmstrong has joined #u-boot
apritzel_ has joined #u-boot
monstr has joined #u-boot
goliath has joined #u-boot
apritzel_ has quit [Ping timeout: 240 seconds]
sng has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
mckoan|away is now known as mckoan
ldevulder has joined #u-boot
frieder has joined #u-boot
ikarso has joined #u-boot
<Guest40> im trying to flash bootloader and image(.wic) to emmc with UUU tool but stucking after wrote "imx-boot". any idea? coral dev board(imx8mq)
<Guest40> UUU and u-boot output: pastebin.com/1BFrTJvQ
<Guest40> also, u-boot config: pastebin.com/snxCVxA1
Leopold_ has quit [Ping timeout: 240 seconds]
sng has quit [Remote host closed the connection]
Leopold has joined #u-boot
rockosov has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
cbmuser has quit [Server closed connection]
cbmuser has joined #u-boot
sng has joined #u-boot
frieder_ has joined #u-boot
frieder_ has quit [Client Quit]
frieder has quit [Quit: Leaving]
<jclsn> Can anyone tell me more about the gpio command? I am trying to toggle a gpio pin by name. In 2022.04 there are still two implementations https://github.com/u-boot/u-boot/blob/e4b6ebd3de982ae7185dbf689a030e73fd06e0d2/cmd/gpio.c#L181
<marex> jclsn: => help gpio
<jclsn> The second one after the else statement, seems to be a placeholder only, but when using the first one, trying to address the pin by its gpio-line-name from the device tree, it doesn't work either
<marex> what do you mean by two implementations ?
<marex> why do you use this ancient version ?
slobodan has joined #u-boot
<jclsn> There are the gpio_lookup_name and the name_to_gpio functions. The name_to_gpio has a weak link to dectoul(). Seems like it wasn't functional in that version. We are also stuck on that version unfortunately
<marex> the later seems like legacy api
<marex> what is the question ?
<jclsn> How would you use the gpio set function? I would assume to use the gpio-line-name from the device tree.
<jclsn> But that results in a GPIO: 'SW_RESET_N' not found in my case
<jclsn> I already read the documentation on it, but it isn't clear to me
Guest40 has quit [Quit: Client closed]
<jclsn> I guess the command can only handle gpio numbers?
<jclsn> Ah got it
<jclsn> gpio -a showed all labels
<jclsn> gpio status -a I meant
<jclsn> I wonder why the command doesn't make use of the gpio-line-names in the device tree though
<marex> jclsn: run gpio status
<marex> pick gpio
<marex> run gpio set/clear/toggle <gpio>
<jclsn> I already got it thanks
Guest40 has joined #u-boot
frieder has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
mmu_man has joined #u-boot
rockosov has quit [Ping timeout: 252 seconds]
sng has quit [Remote host closed the connection]
sng has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
d-s-e has joined #u-boot
sng has quit [Remote host closed the connection]
sigmaris has quit [Server closed connection]
sigmaris has joined #u-boot
sng has joined #u-boot
rockosov has joined #u-boot
mmu_man has quit [Ping timeout: 258 seconds]
BobBeck has quit [Quit: The Lounge - https://thelounge.chat]
MWelchUK0 has quit [Quit: The Lounge - https://thelounge.chat]
BobBeck has joined #u-boot
MWelchUK5 has joined #u-boot
naoki has quit [Quit: naoki]
d-s-e has quit [Ping timeout: 240 seconds]
rockosov has quit [Ping timeout: 252 seconds]
rockosov has joined #u-boot
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
sng has quit [Remote host closed the connection]
<Guest40> after flashing the image i created with yocto to the sd card,  it works work without any boot problems with coral dev board(imx8mq). however, when i flash the same image to emmc with "ums 0 mmc 0" and balena, it does not boot. in addition, i need to flash imx-boot to mmcblk0boot0 with fastboot mode. what could it be caused by? is it because the
<Guest40> emmc partitions are physical?
<Guest40> likewise, when i flash another image i created for raspberrypi cm4 with using the rpiboot tool, it can boot directly from emmc.
<Guest40> maybe everything makes sense, but i don't quite understand. sadly, rookie here :D
<Guest40> i started digging inside the rpiboot tool. maybe something will show up. i'm grateful for any idea.
mmu_man has joined #u-boot
ladis has joined #u-boot
jaganteki has joined #u-boot
xypron has quit [Server closed connection]
xypron has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
robher has quit [Server closed connection]
robher has joined #u-boot
frieder has quit [Ping timeout: 246 seconds]
frieder has joined #u-boot
alpernebbi has quit [Ping timeout: 252 seconds]
alpernebbi has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
goliath has quit [Quit: SIGSEGV]
Guest40 has quit [Quit: Client closed]
mmu_man has joined #u-boot
<cambrian_invader> jclsn: well, the reason U-Boot doesn't use the gpio-line-names is because usually when you need to use a particular GPIO for a particular purpose, you do it in C
<cambrian_invader> so no one has gotten around to adding support for that property
Guest40 has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
monstr has quit [Remote host closed the connection]
jaganteki has quit [Ping timeout: 246 seconds]
frieder has quit [Remote host closed the connection]
mmu_man has joined #u-boot
jaganteki has joined #u-boot
d-s-e has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #u-boot
mckoan is now known as mckoan|away
mmu_man has quit [Ping timeout: 240 seconds]
ldevulder_ has joined #u-boot
ldevulder has quit [Ping timeout: 240 seconds]
stefanro has quit [Quit: Leaving.]
derRichard has quit [Server closed connection]
derRichard has joined #u-boot
goliath has joined #u-boot
mmu_man has joined #u-boot
d-s-e has quit [Quit: Konversation terminated!]
Guest40 has quit [Quit: Client closed]
aak-rookie has joined #u-boot
vagrantc has joined #u-boot
SlimeyX has quit [Ping timeout: 252 seconds]
SlimeyX has joined #u-boot
aak-rookie has quit [Quit: Client closed]
soxrok2212 has joined #u-boot
<soxrok2212> hi :) is it possible to pack a squashfs rootfs inside a FIT image?
fionera has quit [Server closed connection]
fionera has joined #u-boot
SlimeyX has quit [Read error: Connection reset by peer]
SlimeyX has joined #u-boot
jaganteki has quit [Quit: Client closed]
<Tartarus> Just say it's the ramdisk/initrd, yes?
<soxrok2212> Tartarus: i did try that, but it seems to not know how to mount it
<Tartarus> the kernel?
<soxrok2212> in my .its, i have a "rootfs" node with the data being the squashfs blob, and the type set to "filesystem"
<soxrok2212> i set the bootargs to have "root=fit:rootfs rootfstype=squashfs" but it fails with "VFSL Cannot open root device "fit:rootfs""
<soxrok2212> yeah, the kernel
<soxrok2212> lemme try changing it to be the initrd
jaganteki has joined #u-boot
jaganteki has quit [Ping timeout: 246 seconds]
<soxrok2212> Tartarus: no luck, any other ideas?
<Sout_> can you even manipulate the boot args from fit image?. If you want the signing you can boot to a signed ramfs, then check the signature of the squashfs image with something like dm-verity (huge pia). 2. i thought root is looking for /dev entry
<soxrok2212> ive just been modifying boot args from the cli
<soxrok2212> i agree about root, i thought it was looking in /dev too but i was told it can reference a fit image for it too
<soxrok2212> not sure how accurate that is
<Tartarus> I mean, yeah, no "fit:rootfs" isn't a valid kernel argument
<Tartarus> it should be root=/dev/ram or whatever like normal for an initrd rootfs
<Tartarus> Look at general docs / examples :)
<Sout_> so a bit bored, but from i can see https://github.com/torvalds/linux/blob/master/init/do_mounts.c#L247 <-- those are the only formats linux accepts for root=
SlimeyX_ has joined #u-boot
<soxrok2212> kinda looks like #8
SlimeyX has quit [Ping timeout: 240 seconds]
<soxrok2212> so then is it not possible to load a rootfs from the fit image?
SlimeyX_ is now known as SlimeyX
ikarso has quit [Quit: Connection closed for inactivity]
apritzel_ has joined #u-boot
ldevulder_ has quit [Quit: Leaving]
prabhakarlad has quit [Quit: Client closed]
alan_o has quit [Remote host closed the connection]
mithro has quit [Ping timeout: 240 seconds]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
ccaione has quit [Read error: Connection reset by peer]
pratyush has quit [Read error: Connection reset by peer]
tucanae47 has quit [Read error: Connection reset by peer]
narmstrong has quit [Read error: Connection reset by peer]
jkridner has quit [Read error: Connection reset by peer]
ccaione has joined #u-boot
narmstrong has joined #u-boot
pratyush has joined #u-boot
Wouter0100670440 has joined #u-boot
jkridner has joined #u-boot
mithro has joined #u-boot
alan_o has joined #u-boot
tucanae47 has joined #u-boot
xroumegu1 has quit [Ping timeout: 240 seconds]
alan_o has quit [Remote host closed the connection]
xroumegu1 has joined #u-boot
alan_o has joined #u-boot
ikarso has joined #u-boot
goliath has quit [Quit: SIGSEGV]
kettenis has quit [Remote host closed the connection]
tchebb has quit [Server closed connection]
tchebb has joined #u-boot
tchebb_ has joined #u-boot
slobodan has quit [Ping timeout: 240 seconds]
tchebb has quit [Ping timeout: 240 seconds]
<SlimeyX> lol i would build u-boot and the flash this unit happens to have is the only one not defined in sf_params.c
* SlimeyX slaps self
<SlimeyX> speaking of, sop16 socket to surface mount converter, does it exist?
<SlimeyX> like this but a sop16 socket on top for easy swapping of chips https://www.digikey.com/en/products/detail/aries-electronics/16-666000-00/4208777
ladis has quit [Quit: Leaving]
paulbarker has quit [Quit: The Lounge - https://thelounge.chat]
<cambrian_invader> we have a ACA-SPI-004-K01 on some of our boards, but it's soic-8
<SlimeyX> ah ACA-SPI-006-K01
<SlimeyX> how hard it to solder on, just reflow?
<cambrian_invader> no idea; I have no part in manufacturing
tchebb has joined #u-boot
stipa_ has joined #u-boot
tchebb_ has quit [Ping timeout: 240 seconds]
stipa has quit [Ping timeout: 240 seconds]
stipa_ is now known as stipa
davlefou has quit [Ping timeout: 260 seconds]
davlefou has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
stipa has quit [Read error: Connection reset by peer]
stipa_ has joined #u-boot
stipa_ is now known as stipa
WoC has quit [Remote host closed the connection]
WoC has joined #u-boot
naoki has joined #u-boot
tafama has quit [Server closed connection]
tafa has joined #u-boot