Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.10 is OUT / Merge Window is OPEN until 25 October 2021 / Release v2022.01 is scheduled for 10 January 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
parabyte has quit [Quit: Leaving]
matthias_bgg has quit [Quit: Leaving]
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
samekh_ has joined #u-boot
samekh has quit [Ping timeout: 250 seconds]
apritzel has quit [Ping timeout: 256 seconds]
thopiekar has quit [Ping timeout: 240 seconds]
thopiekar has joined #u-boot
persmule has quit [Remote host closed the connection]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
vagrantc has quit [Quit: leaving]
sughosh has joined #u-boot
michalkotyla has joined #u-boot
fdanis_away is now known as fdanis
samekh_ has quit [Ping timeout: 250 seconds]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lucaceresoli has joined #u-boot
samekh has joined #u-boot
sughosh has quit [Read error: Connection reset by peer]
mckoan|away is now known as mckoan
frieder has joined #u-boot
sdfgsdfg has joined #u-boot
stefanro has quit [Ping timeout: 268 seconds]
guillaume_g has joined #u-boot
stefanro has joined #u-boot
lucaceresoli_ has joined #u-boot
lucaceresoli has quit [Ping timeout: 256 seconds]
zibolo has joined #u-boot
sszy has joined #u-boot
sdfgsdfg has quit [Quit: your partner prefers dildos]
tnovotny has joined #u-boot
macromorgan is now known as Guest3084
Guest3084 has quit [Killed (erbium.libera.chat (Nickname regained by services))]
macromorgan has joined #u-boot
matthias_bgg has joined #u-boot
sdfgsdfg has joined #u-boot
apritzel_ has joined #u-boot
apritzel has joined #u-boot
apritzel has quit [Ping timeout: 268 seconds]
sdfgsdfg has quit [Ping timeout: 240 seconds]
ladis has joined #u-boot
mmu_man has joined #u-boot
ziga_ has joined #u-boot
<ziga_> Which U-boot setting sets the name of the DTB that is sent to the kernel? I set up my own DTS i.e "fotovolt.dts" in the u-boot-s folder "arch/arm/boot/dtb" and bitbake/yocto compiles it successfully to the DTB i.e. "fotovolt.dtb". But on boot U-boot keeps on looking for "am335x-boneblack.dtb" and it fails to boot unless I manually rename "fotovolt.dtb" to "am335x-boneblack.dtb"...
lucaceresoli_ has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 268 seconds]
lucaceresoli has joined #u-boot
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
monstr has joined #u-boot
mckoan is now known as mckoan|away
coldspark29 has joined #u-boot
mmu_man has joined #u-boot
<agraf> ziga_: in your case, probably the findfdt function in your environment?
<agraf> ziga_: if you have an EEPROM on your BBB cape, you should be able to provide your own board name which you can then use to identify your own dtb file generically
<agraf> ziga_: Otherwise, just change your .config to set fdtfile manually as part of CONFIG_BOOTCOMMAND instead of calling findfdt
<ziga_> @agraf Hmmmmm I really don-t understand the first two replies, but the last one is interesting. I will try the last one.
<ziga_> Probablz I should configure this in my "fotovolt_defconfig" file?
<agraf> I would expect you already have a CONFIG_BOOTCOMMAND in there?
<agraf> I guess you copied the beaglebone one, no?
<ziga_> Yes. It is currently like this: "CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd""
<agraf> Ok, the "run findfdt" part in there is what sets the "fdtfile" environment variable to am335x-boneblack.dtb
<ziga_> Okay. I see it. So how do I change it to "fotovolt.dtb"?
<agraf> you replace "run findfdt" there with "setenv fdtfile fotovolt.fdt"
<ziga_> Ah okay! Thanks! So I actually switch from autosearch to manually setting it! Perfect solution!
<agraf> You're building a custom image anyway, no? :)
<agraf> If you want to keep it generic, you'd need to provide an EEPROM as part of your cape
<agraf> But you didn't sound like you care
<agraf> :)
<ziga_> Yes. It is custom for our racier board which we connect to the Beaglebone Black.
<ziga_> I actually did not understand the EEPROM thing.
<ziga_> :)
<ziga_> I will take a look thanks.
<agraf> ziga_: if you connect an EEPROM to I2C on your racier board, you can put a "device tree patch" into it and have it automatically customize the BBB dtb on boot
<agraf> ziga_: That can be super useful if you want to sell the customer board as stand alone item and your customers will use different variants of BB products, like BBW, BBB, BBBlue, etc.
<agraf> ziga_: If you bundle everything as a single appliance, I don't think the additional complexity is worth it :). Just override the dtb in CONFIG_BOOTCOMMAND and call it a day
<ziga_> Okay. I am just reading the link that you sent me and I partially understand. Thanks.
<ziga_> @agraf Replacing "run findfdt" with "setenv fdtfile fotovolt.dtb". Should I use "setenv fdtfile fotovolt.fdt"???
<agraf> ziga_: compiled device trees are usually called dtb
<ziga_> @agraf Ignore previous message - it is incomplete. Replacing "run findfdt" with "setenv fdtfile fotovolt.dtb" didnt resolve mz problem. Should I use "setenv fdtfile fotovolt.fdt"???
<agraf> ziga_: abort the boot process, run "printenv" on the u-boot shell
<agraf> ziga_: and look at where the name comes from :)
<ziga_> How can I modify the defconfig so that it will not autoboot but it will remain in the u-boot?
<agraf> it will usually give you a countdown of N seconds where you can press a key to drop into the shell. N is defined in CONFIG_BOOTDELAY. If you set N to -1, it will always drop into the shell
mmu_man has quit [Ping timeout: 268 seconds]
<ziga_> Okay
<coldspark29> Hi, does anyone have an idea why I am experiencing memory errors since upgrading from kernel 5.4 to 5.10? https://pastebin.com/h3cCdAqc
<coldspark29> It seems to me that the kernel numerates the storage devices differntly
mmu_man has joined #u-boot
<milkylainen> coldspark29: #u-boot?
<coldspark29> milkylainen: Sure it is U-Boot
<coldspark29> I am building the linux-fslc-imx Kernel, which is the NXP kernel with patches as far as I understand
<coldspark29> Before we were using linux-im 5.4 and everything was alright
tnovotny has quit [Quit: Leaving]
monstr has quit [Remote host closed the connection]
coldspark29 has quit [Ping timeout: 268 seconds]
<marex> rfried: hey, there is one thing I keep wondering about -- why do we have 'mii' and 'mdio' commands when they seem to be doing the same thing, just with different syntax ?
zibolo has quit [Ping timeout: 250 seconds]
frieder has quit [Remote host closed the connection]
apritzel has joined #u-boot
redbrain has joined #u-boot
lucaceresoli has quit [Ping timeout: 256 seconds]
vagrantc has joined #u-boot
redbrain has quit [Quit: leaving]
redbrain has joined #u-boot
apritzel_ has quit [Ping timeout: 240 seconds]
<rfried> marex: see 7d9701db40895ff5271220ae852d3631b4500219
<rfried> I also wondered this before, but there's a subtle difference.
ziga_ has quit [Remote host closed the connection]
___nick___ has joined #u-boot
ziga_ has joined #u-boot
<redbrain> is CONFIG_SYS_BOOTM_LEN some where globaly definded for arm64 boards?
<redbrain> for mx6_common.h mx7_common.h there are but can't find a mx8_common.h
matthias_bgg has quit [Quit: Leaving]
<redbrain> for imx8/arm64 boards
sszy has quit [Ping timeout: 240 seconds]
<Forty-Bot> so mdio==c45 access?
fdanis is now known as fdanis_away
guillaume_g has quit [Quit: Konversation terminated!]
mmu_man has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
sdfgsdfg has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
___nick___ has quit [Ping timeout: 256 seconds]
<marex> rfried: hum, both of those could've been implemented in one command though
crb_ has quit [Read error: Connection reset by peer]
apritzel has joined #u-boot
crb_ has joined #u-boot
<rfried> Marex: indeed
mmu_man has quit [Ping timeout: 268 seconds]
<marex> rfried: how very much do we care about command ABI in this case /
<marex> ?
redbrain has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
elafon_ has quit [Ping timeout: 240 seconds]
elafon has joined #u-boot
sakman has joined #u-boot
libera- has joined #u-boot
Sout_ has quit [Excess Flood]
libera- is now known as Sout
wooosaiii has joined #u-boot
wooosaii has quit [Ping timeout: 250 seconds]
wooosaiiii has quit [Ping timeout: 250 seconds]
wooosaiiii has joined #u-boot
<rfried> marex: I don't care, ask Tartarus
<marex> rfried: arent you the network guru here ? :)
<rfried> marex: it's not a matter of networking, it's a legacy :)
<marex> maybe we need a switch "config DISABLE_LEGACY_CRAP_IT_IS_2022_ALREADY"
ladis has quit [Quit: Leaving]