Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.04, v2021.07-rc3 are OUT / Merge Window is CLOSED / Release v2021.07 is scheduled for 05 July 2021 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
swiftgeek has quit [Ping timeout: 245 seconds]
swiftgeek has joined #u-boot
Gravis has joined #u-boot
Gravis has joined #u-boot
Gravis has quit [Changing host]
mvaittin has quit []
mvaittin has joined #u-boot
guillaume_g has joined #u-boot
agust has joined #u-boot
frieder has joined #u-boot
_whitelogger has joined #u-boot
tnovotny has joined #u-boot
milkylainen has joined #u-boot
sszy has joined #u-boot
smartin has joined #u-boot
alpernebbi has joined #u-boot
<milkylainen> 3d854516: c5 f9 6f 05 22 1c 00 vmovdqa 0x1c22(%rip),%xmm0 # 0x3d856140
<milkylainen> Does that look broken to anyone?
<milkylainen> Alignment error?
wyre has quit [Quit: ZNC 1.8.2 - https://znc.in]
wyre has joined #u-boot
<milkylainen> xypron: you there?
gsz has joined #u-boot
monstr has joined #u-boot
kpo has quit [Read error: Connection reset by peer]
kpo has joined #u-boot
<Duality> hey all
<Duality> I need some help why my board won't boot with my own build MLO the u-boot image works tested it with a previously installed MLO
<Duality> figuring out why*
Guest31 has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
<marex> Duality: define "won't boot" ? which soc, which board, which u-boot version, customizations ? how did you build the whole thing ? etc
monstr has joined #u-boot
Guest31 has quit [Quit: Client closed]
tnovotny has quit [Quit: Leaving]
tnovotny has joined #u-boot
blmaier has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
blmaier has joined #u-boot
kpo has quit [Ping timeout: 272 seconds]
kpo has joined #u-boot
<milkylainen> u-boot-2021.07-rc1/disk/part_dos.c:427:12: error: 'dev_desc' undeclared (first use in this function)
<milkylainen> 427 | part_init(dev_desc);
<milkylainen> hmm?
torez has joined #u-boot
Gravis has quit [Remote host closed the connection]
<marex> milkylainen: broken code
Gravis has joined #u-boot
Gravis has quit [Changing host]
Gravis has joined #u-boot
monstr has quit [Remote host closed the connection]
sszy has quit [Ping timeout: 268 seconds]
<Duality> marex: it's a am335x processor it's a custom board it won't boot meaning it'll not produce any output to console and not other activity
<Duality> I had enabled gpio-hog support
<Duality> and if i disable that it works again
<marex> maybe your GPIO hog is hogging something wrong ?
<Duality> no i don't think so because loading the mlo through serial and the u-boot it works but loading it from mmc it doesn't work.
<Duality> spl version: U-Boot SPL 2021.01-00002-g26ae08028b-dirty
<Duality> u-boot: U-Boot 2021.01-00002-g26ae08028b-dirty
<Duality> though to be absolutely sure i can disable the hogs in the device tree and see if that makes it work.
<marex> Duality: ah, so it works if you start U-Boot from U-Boot ?
<marex> that's unsupported btw
<marex> Duality: start with what you know worked before and try to reproduce that, then add stuff, one step at a time
<Duality> marex: u-boot form u-boot? no loading it through serial like with x-modem is what i meant
<Duality> marex: yea will do that one step at a time :)
guillaume_g has quit [Quit: Konversation terminated!]
redbrain has joined #u-boot
Gravis has quit [Quit: No Ping reply in 180 seconds.]
Gravis has joined #u-boot
Gravis has joined #u-boot
Gravis has quit [Changing host]
<gsz> Hi! I see that, in some cases, new patchset versions refer to (In-Reply-To/References) the earlier ones, while in others they don’t. git-format-patch(1) suggests they should do, while the Linux kernel docs say the opposite. Is there a preferred approach in U-Boot?
frieder has quit [Remote host closed the connection]
<marex> gsz: just do as linux does
<gsz> marex: thanks, will do so
tnovotny has quit [Read error: Connection reset by peer]
tnovotny has joined #u-boot
LokeshV has joined #u-boot
<marex> gsz: sure, you can very well just send patch for the docs too
<gsz> marex: do you refer to the wiki (https://www.denx.de/wiki/U-Boot/Patches) or the docs in the U-Boot source code?
<marex> gsz: the later
LokeshV has quit [Remote host closed the connection]
<marex> (assuming thats where you found this information)
<gsz> Well, I did not try these docs, I’ve read the mentioned Wiki page, git-format-patch manual and https://www.kernel.org/doc/html/latest/process/submitting-patches.html
<gsz> … and browsed through the recent patchsets on the mailing list
<mrnuke> gsz: I used to do In-Reply-To: old patches, but stopped when I noticed my updated patches weren't seeing as much traffic.
<mrnuke> gsz: but to be brutally honest, I think this whole patches via email system is broken by design
<mrnuke> gsz: at least there's patchwork that tries to make sense of it all: https://patchwork.ozlabs.org/project/uboot/list/
<gsz> Can’t say much about its brokeness as I’m just starting to learn it
<gsz> (that is, git-format-patch+mutt instead of github and similar solutions)
<mrnuke> gsz: exactly. You have to learn it. Versus many other alternatives that are intuitive and easy
<gsz> Easier is not always better. Message-Id will not expire, while github PR link may do
<mrnuke> what good is a message-id if you can't reply to it because you weren't subscribed to the specific list ?
<mrnuke> Versus on a PR, you can just jump an and comment
<gsz> mrnuke: Well, if the list has sane web interface, I should be able to download the original message, put it into my inbox and then reply
<mrnuke> gsz: that's three extra steps
<mrnuke> sorry, four extra (can't count it seems)
<gsz> mrnuke: sure, that’s easier, but if the repo is renamed or github changes its link “API”, the link to the PR may be no longer valid
<mrnuke> The same is true of mailing list archivers
<gsz> Yes, but message-id stays same even if the web link is changed
<mrnuke> I agree that the message-id is unique. Why is that important?
<gsz> I’m just pointing out a random advantage of the patch-driven workflow, surely it’s not perfect
<mrnuke> gsz: "git format-patch origin/master -o dir-with-my-patches --cover-letter --subject-prefix='PATCH vx' --to really@important.dude -cc some@other.dude"
<mrnuke> gsz: "./scripts/checkpatch.pl dir-with-my-patches/*"
Gravis has quit [Ping timeout: 245 seconds]
<mrnuke> gsz: " git send-email dir-with-my-patches/* --to u-boot@lists.denx.de --dry-run"
<mrnuke> gsz: " git send-email dir-with-my-patches/* --to u-boot@lists.denx.de"
<gsz> mrnuke: I’ve got "git format-patch --thread --cover-from-description=auto --reroll-count=2 --cover-letter --notes master"
<mrnuke> gsz: great! more power to you! :)
<gsz> I’m too happy with mutt to move to git send-email
<gsz> Though, again, it would probably be easier to use…
<mrnuke> gsz: the easisest thing for me to use doesn't have to be the easiest thing for you to use
<mrnuke> gsz: Once the patch is on the ML I couldn;t care less if you used git or mutt or Winblows Mail (RTM)
<gsz> All’s well as long as it’s not Outlook :)
tnovotny has quit [Quit: Leaving]
Gravis has joined #u-boot
Gravis has joined #u-boot
Gravis has quit [Changing host]
Gravis has quit [Ping timeout: 244 seconds]
Gravis has joined #u-boot
Gravis has joined #u-boot
Gravis has quit [Changing host]
Gravis has quit [Client Quit]
Gravis has joined #u-boot
blmaier has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
blmaier has joined #u-boot
gsz has quit [Quit: Lost terminal]
Guest31 has joined #u-boot
<milkylainen_> marex: Indeed. Seems when I start to actually configure u-boot beyond defconfig I fall into all sorts of undefined stuff from just toplevel cmd selection.
<marex> milkylainen_: soooo ... you know what that means, right ?
<milkylainen_> marex: Sure. :)
<marex> milkylainen_: glad we're on the same page, do you expect many patches ? :)
<milkylainen_> marex: That x86 asm stuff. I need core developers for that though.
<mrnuke> That's one of the reasons I've been yelling against more Kconfig options (and being quite loud about it) :)
<marex> mrnuke: yelling doesn't help, patches do
<mrnuke> marex: i've been yelling at other people's patches that make the sutuation worse. You're welcome
<milkylainen_> mrnuke: I'm not complaining about the options. Just that there seems to be a lack of exercising configuration for various builds. :)
<mrnuke> milkylainen_: the issue is that Kconfig is not used for its purpose, which is enabling and disabling features. It is so convenient to use it for enabling and disabling code, that people find all sort of creative ways with it
<milkylainen_> marex: I had a really strange error with uboot on VBox UEFI. Barebox boots fine on Vbox UEFI. But U-Boot would give me grief. I have a GCC 9.3 toolchain with default -march=znver1. Actual executing CPU is a skylake-ish for my laptop. Seems the U-boot build allows whatever intrinisc emission without being detailed about it? So I had a faulting
<milkylainen_> insn.... Not sure if the insn is misaligned or if it's some derivative of AVX that isn't supported.
<milkylainen_> Changing the toolchain to -mtune=znver1 instead makes U-boot work though.
<milkylainen_> Barebox works fine with both variants of compilers though.
<milkylainen_> Maybe U-boot archs should default to turning off fancy intrinsics?
<milkylainen_> What would be the need of AVX shenanigans in U-boot?
<milkylainen_> Sure. Faster, but it's not like U-boot deals with datacenter style loads. :P
<milkylainen_> mrnuke: I see.
Gravis has quit [Ping timeout: 245 seconds]
<milkylainen_> marex: seems only the function definition is broken?
<milkylainen_> int write_mbr_partitions(struct blk_desc *dev,
<milkylainen_> not dev_desc
<milkylainen_> brb
gsz has joined #u-boot
Gravis has joined #u-boot
<milkylainen_> next kconfig error. Tons of missing do_reset.
kpo has quit [Read error: Connection reset by peer]
<milkylainen_> Sigh.
kpo has joined #u-boot
vagrantc has joined #u-boot
gsz has quit [Quit: leaving]
Guest31 has quit [Quit: Client closed]
smartin has quit [Quit: smartin]
<Duality> marex: so i commented the parts of the device tree that do the gpio hogging and when i set GPIO_HOG=n it works but when i set GPIO_HOG=y it doesn't work anymore. I do not understand though there is no output when it's enabled like zero serial output. the MLO shouldn't concern it's self with like gpio-hogs right. it should just like load u-boot nothing more
alpernebbi has quit [Quit: alpernebbi]
kpo has quit [Ping timeout: 264 seconds]
<Duality> i noticed something looking through the config
<Duality> this was enabled: SPL_DM_GPIO
<Duality> so now i set it to n and enabled gpio hog and it boots
<Duality> re-enabled gpio hog in device tree and the leds light up and u-boot works so it was that option SPL_DM_GPIO getting in the way
<Duality> but it still bothers me that loading the spl through xmodem worked but when loaded from mmc/emmc it didn't
redbrain has quit [Ping timeout: 264 seconds]
Gravis has quit [Ping timeout: 264 seconds]
Gravis has joined #u-boot
torez has quit [Quit: torez]
agust has quit [Quit: Leaving.]
<marex> Duality: did the SPL grow too large ?
dgilmore has quit [Changing host]
dgilmore has joined #u-boot
cottsay has quit [Quit: TTFN]
cottsay has joined #u-boot
vagrantc has quit [Quit: leaving]