Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.07.02, v2023.10-rc3 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2023.10 is scheduled for 02 October 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
<marex> sjg1: the hex print is easy, the bus is weird
qschulz has quit [Remote host closed the connection]
<sjg1> marex: OMG it uses globals
qschulz has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
<ja_02> LOL
vagrantc has quit [Quit: leaving]
<sjg1> marex: I forgot to ask why you are trying to get sandbox64 passing tests?
mmu_man has quit [Ping timeout: 245 seconds]
<marex> sjg1: yes it does, in a library no less
<marex> sjg1: because tests coverage ?
<marex> sjg1: I actually forgot why I started this, but ... might as well finish
<marex> sjg1: I blame Tartarus , I'm sure he mentioned something to me some time ago
<sjg1> marex: I can't believe it has a static var for a udevice...g_dev...it really needs to be sorted out
<marex> sjg1: that is the most polite thing I ever heard from you, considering the circumstances
soxrok2212 has quit [Read error: Connection reset by peer]
soxrok2212 has joined #u-boot
sukrutb has quit [Ping timeout: 248 seconds]
soxrok2212 has quit [Read error: Connection reset by peer]
soxrok2212 has joined #u-boot
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #u-boot
naoki has joined #u-boot
sng has joined #u-boot
sukrutb has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
sng has quit [Remote host closed the connection]
monstr has joined #u-boot
monstr has quit [Ping timeout: 245 seconds]
ikarso has joined #u-boot
camus1 has joined #u-boot
camus has quit [Ping timeout: 250 seconds]
camus1 is now known as camus
<xypron> Tartarus: I applied %s/-Wall/-Wall -Wsign-compare/ to the Makefile.
<xypron> You could instead add -Wextra to see some other warnings too.
sng has joined #u-boot
mripard has joined #u-boot
goliath has joined #u-boot
soxrok2212_ has joined #u-boot
sakman_ has joined #u-boot
houze_ has joined #u-boot
Perflosopher has joined #u-boot
tprrt_ has joined #u-boot
redbrain_ has joined #u-boot
agraf_ has joined #u-boot
mmind00_ has joined #u-boot
marex_ has joined #u-boot
Leopold_ has joined #u-boot
soxrok2212 has quit [*.net *.split]
redbrain has quit [*.net *.split]
sakman has quit [*.net *.split]
Leopold has quit [*.net *.split]
Perflosopher5 has quit [*.net *.split]
houze has quit [*.net *.split]
marex has quit [*.net *.split]
tprrt has quit [*.net *.split]
finga has quit [*.net *.split]
shiz has quit [*.net *.split]
agraf has quit [*.net *.split]
mmind00 has quit [*.net *.split]
agraf_ is now known as agraf
finga has joined #u-boot
mckoan|away is now known as mckoan
jclsn has quit [Quit: WeeChat 4.0.3]
jclsn has joined #u-boot
shiz has joined #u-boot
Leopold_ has quit [Ping timeout: 245 seconds]
monstr has joined #u-boot
ldevulder has quit [Quit: Leaving]
ldevulder has joined #u-boot
monstr has quit [Ping timeout: 244 seconds]
frieder has joined #u-boot
Clamor has joined #u-boot
Clamor has quit [Client Quit]
ezulian has joined #u-boot
rockosov has quit [Ping timeout: 245 seconds]
mmu_man has joined #u-boot
rockosov has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
sng has quit [Remote host closed the connection]
slobodan_ has joined #u-boot
mmind00_ is now known as mmind00
mmind00 has quit [Quit: mmind00]
mmind00 has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
sng has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
valdemaras has joined #u-boot
Stat_headcrabed has joined #u-boot
mripard has quit [Quit: mripard]
mripard has joined #u-boot
GNUtoo has quit [Ping timeout: 246 seconds]
GNUtoo has joined #u-boot
sng_ has joined #u-boot
marex_ is now known as marex
monstr has joined #u-boot
sng_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
valdemaras has quit [Quit: valdemaras]
teejay has joined #u-boot
Leopold has joined #u-boot
GNUtoo has quit [Read error: Connection reset by peer]
GNUtoo has joined #u-boot
sng_ has joined #u-boot
sng has quit [Quit: Leaving...]
sng_ is now known as sng
sng_ has joined #u-boot
sng_ has quit [Client Quit]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
naoki has quit [Quit: naoki]
valdemaras has joined #u-boot
sng has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sng has joined #u-boot
sng_ has joined #u-boot
sng has quit [Remote host closed the connection]
Clamor has joined #u-boot
Clamor has quit [Ping timeout: 244 seconds]
Clamor has joined #u-boot
tnovotny has joined #u-boot
soxrok2212_ has quit [Ping timeout: 245 seconds]
soxrok2212 has joined #u-boot
monstr has quit [Ping timeout: 248 seconds]
soxrok2212 has quit [Read error: Connection reset by peer]
<Clamor> Do we have tegra custodian here?
soxrok2212 has joined #u-boot
Clamor has quit [Quit: Quit]
Clamor has joined #u-boot
Clamor has quit [Client Quit]
mmu_man has quit [Ping timeout: 245 seconds]
valdemaras has quit [Ping timeout: 244 seconds]
tnovotny has quit [Quit: Leaving]
mmu_man has joined #u-boot
valdemaras has joined #u-boot
goliath has quit [Quit: SIGSEGV]
monstr has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
mripard has quit [Quit: mripard]
monstr has quit [Ping timeout: 246 seconds]
matthias_bgg has joined #u-boot
valdemaras has quit [Ping timeout: 260 seconds]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
mripard has joined #u-boot
mripard has quit [Remote host closed the connection]
mripard has joined #u-boot
mckoan is now known as mckoan|away
mmu_man has quit [Ping timeout: 245 seconds]
goliath has joined #u-boot
mripard has quit [Quit: mripard]
mmu_man has joined #u-boot
frieder has quit [Remote host closed the connection]
ezulian has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
Clamor has quit [Quit: Clamor]
Clamor has joined #u-boot
Clamor has quit [Client Quit]
Clamor has joined #u-boot
<Tartarus> sjg1: What is buildman doing when it shows "(starting)" ?
vagrantc has joined #u-boot
sng has joined #u-boot
<Tartarus> And, ah, there we go, yes, buildman can do TI K3 platforms if we update the file list in builderthread.py for keep outputs for more things, or if we had an option to just actually keep all outputs (and make it require -P)
persmule has quit [Ping timeout: 246 seconds]
matthias_bgg has quit [Quit: Leaving]
sng has quit [Remote host closed the connection]
sng has joined #u-boot
soxrok2212 has quit [Ping timeout: 244 seconds]
soxrok2212 has joined #u-boot
valdemaras has joined #u-boot
ezulian has joined #u-boot
alan_o has quit [Ping timeout: 246 seconds]
alan_o has joined #u-boot
vagrantc has quit [Quit: leaving]
Clamor has quit [Ping timeout: 256 seconds]
Clamor has joined #u-boot
<Tartarus> JPEW: re the GPT series, you're running the sandbox tests at least locally, if not firing off CI?
Clamor has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
<JPEW> Tartarus: Ya, I ran all the GPT sandbox tests
<JPEW> locally
<Tartarus> OK
<marex> sjg1: so have you got any idea what it is with the dm_bus_children test https://u-boot.source-pages.denx.de/-/custodians/u-boot-sh/-/jobs/682617/artifacts/test-log.html ?
<marex> the hex dump is easy
<sjg1> Tartarus: It is deleting any obsolete working directories and doing the first builds
<Tartarus> "first builds" ?
<Tartarus> maybe it's just not updating quickly enough then, hm
<Tartarus> (the output)
<sjg1> Tartarus: The next thing it shows after that is the output from teh first, completed build
<sjg1> (unless it decides to mention removing some directories)
<Tartarus> OK, not as bad as I feared but still a little odd
<sjg1> marex: If it is getting 9, that suggests that base is -1
<Tartarus> Still odd that it takes 5s to do something that rm -rf does nearly instantly
<sjg1> marex: I see that dm_check_devices() is using fdtdec_get_addr() but it should be fdtdec_get_uint() or something like that
<marex> sjg1: I got as far as that too
<marex> sjg1: but the address/size cells are 1 in either case, so why is that base -1 ?
<Tartarus> fwiw is what I'm doing and seeing 5s worth of unaccounted for time.
<Tartarus> is the relevant output
<sjg1> Tartarus: Yes it has always annoyed me too. See _prepare_output_space() it does not add a newline to the message, so perhaps it never gets sent to stdout?
<Tartarus> sjg1: Well what is it doing for those extra 5s?
<sjg1> marex: Probably tgat fdtdec function assumes that the address size is the same as fdt_addr_t
<Tartarus> tho I guess I need to re-run later, I didn't notice gitlab was going heree
<sjg1> Tartarus: I actually don't see that problem
<Tartarus> sjg1: More importantly I guess, can we re-working --keep-outputs to just keep everything and not do whatever is going on atm?
<sjg1> Tartarus: Could it be doing the maintainers check?
<Tartarus> sjg1: Yeah, that's it.
<sjg1> Tartarus: OK I will send a patch
<sjg1> Tartarus: Re keep outputs, what do you mean by everything? The entire build output including object files, etc.?
<Tartarus> sjg1: Yeah, that's easier than an ever-growing list
<sjg1> Tartarus: It's about 0.1GB per build, so 130GB in total for all boards
<Tartarus> Yes, if someone says they want to keep all outputs, they probably wanted all of the outputs
<Tartarus> I know I've had to go hack up the list when I've wanted to build the world and keep things
<Tartarus> Or we accept that buildman isn't generally the right tool for "build something bootable"
<sjg1> Tartarus: I normally use -w -o <dir> for that. Would it be useful to have a list somewhere (in the source tree, outside of buildman) of what output files there are? I have been thinking for a while that binman needs that, e.g. for make cleab
<sjg1> Tartarus: Perhaps for now I can add '--keep-build' to copy everything out of the build?
<Tartarus> Uh, -w, ok, let me see...
<Tartarus> ugh, no, -w only works for a single boar
<Tartarus> And binman littering the source directory is a different problem
<Tartarus> I would have expected -P -w to be allowed, fwiw
<sjg1> Tartarus: yes -w is just for one board...so --keep-build ?
<Tartarus> sjg1: I don't know, I guess it depends on how important covering cases of buildman being used outside of CI are
flom84 has joined #u-boot
<sjg1> Tartarus: I think it is important, since the closer that is to real life the more CI is testing real life
mmu_man has quit [Ping timeout: 245 seconds]
<sjg1> Tartarus: Oh I don
<Tartarus> There's a few more globs missing
<Tartarus> We cover u-boot* already, but not *.itb
<sjg1> Tartarus: Yes, I mean ignoring blobs...as we do with binman, etc.
<Tartarus> And other platforms get u-boot*itb covered already.
<Tartarus> sjg1: Re-read that page again then please. Those are all u-boot outputs, not blobs.
ezulian has quit [Ping timeout: 260 seconds]
<sjg1> Anway, maybe file a few more issues for me to look at...?
<sjg1> Tartarus: What is TEE?
<Tartarus> sjg1: TEE isn't part of the target images section
<Tartarus> You're looking at the build part, which buildman does handle via env variable fine
<sjg1> Tartarus: I see it in the diagrams
<sjg1> Tartarus: So the problem is that any board can have its own outputs. In this case you want tiboot3.bin to stick around from a buildman build?
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
<sjg1> Tartarus: But how are you going to deal with all the different TEE vars, etc. that each board will need? We don't have that defined anywhere
Wouter0100670440 has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
<sjg1> Tartarus: afk for a bit
<Tartarus> Oh goodness, no, I don't mean that we should allow for buildman to work for "k3"
<Tartarus> But --boards j721e_evm_r5,j721e_evm_a72 could work if we globbed in *itb and *_unsigned, as further special cases like "MLO"
<Tartarus> We catch tiboot3.bin as we glob *.bin, but not tiboot3.bin_unsigned (what I need and iirc beagleplay needs)
<Tartarus> Doing 2x make -j8's ends up being faster than make -j16, make -j16 by 10s or so, even with the time the maintainer check takes up
Clamor has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
<sjg1> I think all output binaries should have a .bin extension. I suppose binman could enforce that
<marex> sjg1:
<marex> - base = fdtdec_get_addr(gd->fdt_blob, dev_of_offset(dev),
<marex> + base = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
<marex> - "ping-expect");
<marex> + "ping-expect", -1);
<marex> one down, one to go
<marex> Tartarus: I wonder whether we should add everything that is in U-Boot and untested into CI with allow_failure: true , so it can be fixed over time
<Tartarus> sjg1: I think if you want to enforce that you need to fix the TI ones just about now as that's not in a release just yet...
<Tartarus> marex: I don't want to do that as CI failing tests suddenly has caught problems
ikarso has joined #u-boot
<marex> s@\(ut_assert_nextline("\)0\+\([^:]\+\)\(:.*"\)\();\)@\1%0*lx\3, IS_ENABLED(CONFIG_PHYS_64BIT) ? 16 : 8, 0x\2UL\4
<marex> that updates the print_ut test to work on both 32bit and 64bit systems, easy
<marex> Tartarus: that allow_failure can be used to flag jobs where failure should be considered only as a warning, not a pipeline failure
<marex> allow_failure -- Allow job to fail. A failed job does not cause the pipeline to fail.
slobodan_ has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
<Tartarus> marex: Right, OK. But my concern is that anything short of loud screaming failures leads people to assume things are fine. So unless we can instead give pytest a list of (temporary) expected-failures, I worry regressions will come
<Tartarus> sjg1: I've signed up for notifications and set a due date of v2023.10
<marex> Tartarus: right now, it is fine coz it is not even a warning ;)
<Tartarus> Because otherwise it's in the wild that _unsigned is allowed
<marex> Tartarus: btw do you know why I'm fixing this sandbox64 in CI?
<Tartarus> marex: It's "fun"? :)
<marex> Tartarus: not really ?
<marex> Tartarus: but someone mentioned we should CI check sandbox64 at some point, and I think it was you , but I am not sure
<Tartarus> Probably me, yes
<Tartarus> So thanks
<marex> Tartarus: ah, good, I blame you then !
<Tartarus> Maybe some of your fixes here will fix ASAN too
<Tartarus> I won't honestly tempt you to fix sandbox64 + ASAN
sng has quit [Read error: Connection reset by peer]
slobodan has quit [Read error: Connection reset by peer]
<marex> resistance is futile
<Tartarus> just sandbox64 + clang, once sandbox64 is fine, as that _should_ be fine too
sng has joined #u-boot
<marex> Tartarus: did ASAN explode on that fwu cesspool ?
flom84 has quit [Remote host closed the connection]
<Tartarus> Doesn't get as far as fwu
slobodan has joined #u-boot
<Tartarus> I honestly forget if there's a good reason it's in Azure only and not GitLab
<marex> jeeze, I have this sandbox64 stuff in tree since March
<marex> Tartarus: I think it will go full on BOOM on fwu
<marex> Tartarus: that lib stuff there is crap supreme
flom84 has joined #u-boot
flom84 has quit [Ping timeout: 248 seconds]
prabhakarlad has joined #u-boot
<marex> Tartarus: passed, woohoo
<Tartarus> nice
slobodan has quit [Quit: Leaving]
<NishanthMenon> Tartarus: sjg1 Tartarus: on the CFG_EXTRA_ENV_SETTINGS what would you like me to do?
<xypron> Currently we hard code available TPL/SPL boot devices in board_boot_order() and spl_boot_device(). Wouldn't it be preferable to move this to customizing? Especially on boards with m.2 or other PCIe connectors it should be the users choice to support the devices he has plugged in without modifying the code.
<sjg1> marex: Nice!
<marex> sjg1: thank you for your help with it
<sjg1> marex: :-)
<sjg1> NishanthMenon: Can you move it to standard boot? It seems to have a lot of boot scripts which are not distro_boot either?
<NishanthMenon> sjg1: ok. Will try.
<sjg1> NishanthMenon: Where are you setting CFG_EXTRA_ENV_SETTINGS ?
<sjg1> NishanthMenon: If/when you fail, please let me know what you are missing and I might be able to help
<NishanthMenon> It comes from the ti_armv7_common.h stuff we added in years back for distroboot.
rvalue has quit [Read error: Connection reset by peer]
<NishanthMenon> sjg1 Let me give it a shot. I might need to work on it late tonight, but will try. Any good reference as to how it should look like?
rvalue has joined #u-boot
<sjg1> Ideally it should boot automatically with nothing but the basic env vars like kernel_addr_r etc.
<NishanthMenon> Gotcha. Thanks sjg1
Clamor has quit [Read error: Connection reset by peer]
<Tartarus> NishanthMenon: It would be good to convert more TI stuff to bootstd, yes, and I think I had pointed Jon at it in general 6 months ago or so, as it's distro boot but with tests too, to some extent.
<marex> xypron: hrhr
<Tartarus> xypron: Not immediately sure that's an easy / great change, no.
<xypron> Tartarus: How do we get that TPL/SPL mess cleaned up? Is there any maintainer for PowerPC left?
<marex> RED ALERT
<Tartarus> I know I've seen a thing or two that puts a "chooser" of some sort on SPI, and then you can more easily do SD or SATA or whatever for the next stage, without having to reflash, on devices that didn't make it easy to choose where to start booting from
<marex> Tartarus: why not stick the boot order into /config node in DT ?
<marex> xypron: ^
<Tartarus> xypron: We ignore it like we've ignored it for the last decade or so, it's not a high priority to go whack powerpc
<xypron> marex: that would just move from one sort of code to another. The question is if on QEMU a user without coding should be able to choose a boot method like SPL_SEMIHOSTING or whatever he wants to try.
<Tartarus> xypron: That should work as is today
<Tartarus> If it's not on $foo but is on $bar, it won't find it on $foo and move on to $bar
<marex> xypron: ah
<Tartarus> If you want SPL on $foo and U-Boot on $bar, that needs more thought
<marex> xypron: can qemu pass the preferred boot order through, somehow ?
<xypron> Tartarus: On qemu-riscv64_spl_defconfig the itb file can currently only be loaded from RAM and I cannot change that in configuration.
<Tartarus> What's the itb file?
<xypron> marex: QEMU creates a device-tree with the available devices but you cannot add arbitrary nodes.
<Tartarus> Again, SPL on $foo but U-Boot on $bar isn't supported and needs thought
<xypron> Tartarus: on QEMU currently my itb file is EDK II and OpenSBI.
<Tartarus> Sounds like semihosting is just a special case
<NishanthMenon> sjg1: https://patchwork.ozlabs.org/project/uboot/patch/20230727215433.578830-2-sjg@chromium.org/ -> Notice setting CFG_EXTRA_ENV_SETTINGS boot_targets -> it wont work to override it with TXT_SETTINGS - say for example board/raspberrypi/rpi/rpi.env wants to set boot_targets as some different order :(
<marex> xypron: cant qemu generate that /config node
<marex> ?
<marex> I mean, patch qemu ?
<xypron> Tartarus: SPL on qemu-riscv64_spl_defconfig can load from SATA, USB, SCSI, MMC, ... if you just change that one function hardcoding that only RAM is available.
<marex> ah
sukrutb has quit [Remote host closed the connection]
<xypron> marex: Shall I patch QEMU for each test I run?
<marex> xypron: does qemu pass the currently configured boot media to the software running in qemu then ?
<marex> xypron: if so, SPL can just parse that information and pick the correct next stage boot media, no ?
<xypron> marex: QEMU passes the available device in ACPI and DT. But it does not know what U-Boot is.
<xypron> You can pass any binary as -bios.
<marex> xypron: so SPL can parse the DT and determine the boot order from that ?
<xypron> marex: how should QEMU know from which device I want to load EDK II?
<marex> xypron: I dont know ? :)
<marex> xypron: you somehow pass a parameter to qemu to indicate that ?
<Kwiboo> SPL on rockchip pick up boot order from DT using https://source.denx.de/u-boot/u-boot/-/blob/master/doc/device-tree-bindings/chosen.txt#L75-105 binding
<Tartarus> xypron: Yes, it sounds like you want to do things that aren't supported / intended
<Tartarus> And/or semihosting is special
<xypron> Does VPL exist on PowerPC?
<marex> xypron: doubtful
<Tartarus> xypron: You should, like a real system, pass SPL and that itb as part of the same device, real or fake.
<Tartarus> And maybe go and deal with qemu being a bad representation of hardware in this case, and do what needs doing to make up for it.
<xypron> Tartarus: Assume a SPI flash that is too small for 4 MiB EDK II. The you are forced to put the next stage somewhere else.
dossalab has joined #u-boot
<marex> xypron: cant you pass this stuff in via e.g. kernel command line ? (-append ?)
<Tartarus> xypron: Yes, bad hardware design
<Tartarus> And you hard code loading from wherever you put big enough storage for real
<Tartarus> Because if you just made a trivial brickable hardware device, you go back to the drawing board.
<sjg1> NishanthMenon: Then add it to the .env file?
<NishanthMenon> sjg1: yes - works for most boards, but I think the basic problem remains - should'nt the env file have priority?
mmu_man has joined #u-boot
<Tartarus> No, it shouldn't, there's a last-ditch way to override things for really real
<Tartarus> and semi-afk chorse
<NishanthMenon> taking hint from rcn-ee .. should i even consider going down https://github.com/u-boot/u-boot/blob/master/doc/device-tree-bindings/bootstd.txt i hope not
<Tartarus> chores
sng has quit [Remote host closed the connection]
<sjg1> NishanthMenon: You don't need to add those nodes unless you have a special reason
<NishanthMenon> sjg1: OK - I am going to ignore their existence ;)
dossalab has quit [Quit: dossalab]
valdemaras has quit [Read error: Connection reset by peer]
vagrantc has joined #u-boot
mmu_man has quit [Ping timeout: 245 seconds]
goliath has quit [Quit: SIGSEGV]
mmu_man has joined #u-boot
mps has quit [Ping timeout: 245 seconds]
mps has joined #u-boot
<NishanthMenon> sjg1: Tartarus a bit lost: https://github.com/u-boot/u-boot/blob/master/include/config_distro_bootcmd.h#L476 is defined right? I tried removing the inclusion of config_distro_bootcmd.h and CONFIG_DISTRO_DEFAULTS disabled. but no distro_bootcmd https://www.irccloud.com/pastebin/9zU5yYrn/
<Tartarus> NishanthMenon: You need to rip off the band-aid a bit harder.
<Tartarus> And that seems to be turning off everything
<Tartarus> You want BOOTSTD_BOOTCOMMAND=y
<Tartarus> You can do DISTRO_DEFAULTS=n but do need BOOTSTD_DEFAULTS=y
<Tartarus> bootflow scan -lb is what your boot command should be in the end, iirc
<NishanthMenon> ok - that works.. https://www.irccloud.com/pastebin/LIZFXyDD/
<NishanthMenon> interesting.. Retrieving file: /dtbs/k3-am62x.dtb
<Tartarus> Yeah, distro_bootcmd goes away
<NishanthMenon> ok - i need to see what happened to the fdtfile.. extlinux was picking it up previously with distro_bootcmd
<Tartarus> And I assume that /extlinux/extlinux.conf says to use /dtbs/k3-am62.dtb
<NishanthMenon> Tartarus: no, it does'nt provide the dtb name. expectation is u-boot provides it.. maybe i need to run the findfdt thingy
<Tartarus> What you really want, eventually, is to just have the in-use dtb be passed along :)
<NishanthMenon> yeah - that is exactly what it did.. and it does come up just fine ;)
tixlegeek has joined #u-boot
<NishanthMenon> though in reality the u-boot and kernel updates happen independent of each other.. i'd rather want kernel packages to update the dtb
<sjg1> NishanthMenon: Can you set fdtfile to the current value of default_device_tree, then get rid of default_device_tree and findfdt
<sjg1> ?
<Tartarus> sjg1: That gets back, a bit, to how to handle more than one device in a defconfig/config fragment
<NishanthMenon> i wish - eventually the dang board combinations come into play.. (beagleplay will eventually have a new rev once we run into sourcing issues)
<Tartarus> board/ti/am62x/ supports many platforms
<NishanthMenon> but that is a fight for another day - let me keep it simple for now..
<sjg1> Hmm so you are using a CONFIG in the config fragment to set the fdt name?
<Tartarus> sjg1: separate env file for beagleplay build, per CONFIG_ENV_SOURCE_FILE
<sjg1> OK, so that can set fdtfile?
<Tartarus> But as Nishanth said, that's only gonna work until it has to change because of sourcing issues (new LCD, whatever)
<NishanthMenon> DDR, RTC, SoC type, Ethernet PHY are current suspects that might trigger a review
<sjg1> So different DTs rev-1.dts, rev-2.dts, etc.?
<NishanthMenon> yup
<NishanthMenon> brb.. need moar coffee
<NishanthMenon> and we have bootup.. Thanks Tartarus sjg1.. let me cleanup the series and send it out for review and lets iterate again if needed https://www.irccloud.com/pastebin/2xMzO3nE/
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
vagrantc has quit [Quit: leaving]
soxrok2212 has quit [Quit: Who ate my gummy worms?]
persmule has joined #u-boot