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.
<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!]