Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01, v2024.04-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
sally has quit [Remote host closed the connection]
sally has joined #u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
sally has quit [Remote host closed the connection]
naoki has joined #u-boot
naoki has quit [Client Quit]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #u-boot
sally has joined #u-boot
KREYREN_ has quit [Ping timeout: 260 seconds]
enok has joined #u-boot
enok has quit [Read error: Connection reset by peer]
enok has joined #u-boot
enok has quit [Quit: enok]
enok has joined #u-boot
sakman has quit [Quit: Leaving]
sakman has joined #u-boot
enok has quit [Ping timeout: 268 seconds]
sally has quit [Remote host closed the connection]
sally has joined #u-boot
mwalle has quit [Quit: WeeChat 3.8]
persmule has quit [Remote host closed the connection]
Clamor has quit [Ping timeout: 272 seconds]
Clamor has joined #u-boot
joeskb7 has joined #u-boot
enok has joined #u-boot
jfsimon1981_b has quit [Remote host closed the connection]
jfsimon1981_b has joined #u-boot
schroes has quit [Ping timeout: 272 seconds]
Stat_headcrabed has joined #u-boot
schroes has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
KREYREN_ has joined #u-boot
redbrain has joined #u-boot
mmu_man has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
slobodan_ has joined #u-boot
slobodan__ has joined #u-boot
<Kwiboo> Tartarus: I am pretty sure that Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled" broke booting using extlinux, at least my aarch64 test kernel no longer boots with "ERROR: booting os 'Invalid OS' (0) is not supported", looks like images.os.os is no longer set
slobodan_ has quit [Ping timeout: 252 seconds]
enok has quit [Ping timeout: 264 seconds]
Stat_headcrabed has joined #u-boot
Stat_headcrabed has quit [Client Quit]
naoki has joined #u-boot
naoki has quit [Client Quit]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
dsimic has quit [Ping timeout: 256 seconds]
dsimic has joined #u-boot
qqq has quit [Remote host closed the connection]
f_ has joined #u-boot
f_ has quit [Remote host closed the connection]
f_ has joined #u-boot
LeSpocky has quit [Quit: reboot]
f_ has quit [Ping timeout: 260 seconds]
enok has joined #u-boot
Stat_headcrabed has joined #u-boot
KREYREN_ has quit [Ping timeout: 260 seconds]
KREYREN_ has joined #u-boot
qqq has joined #u-boot
KREYREN_ has quit [Remote host closed the connection]
KREYREN_ has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
<marex> Kwiboo: send a fix ?
enok has quit [Ping timeout: 256 seconds]
<Kwiboo> marex: not sure how to fix it properly, the old code called do_booti() that would set images.os.os/arch, new code no longer calls do_booti(), it looks like images.os.os/arch may not be set in some situations because of this change
<Kwiboo> my local fix was just to rebase to a commit prior to that merge :-)
KREYREN_ has quit [Remote host closed the connection]
pivi has quit [Ping timeout: 268 seconds]
KREYREN_ has joined #u-boot
KREYREN_ has quit [Remote host closed the connection]
persmule has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<CounterPillow> A good fix would be submitting a revert of the commit until its author acknowledges that it is not other people's duty to investigate and fix their broken code
enok has joined #u-boot
foxtrot has quit [Remote host closed the connection]
foxtrot has joined #u-boot
ikarso has joined #u-boot
___nick___ has joined #u-boot
<Tartarus> Kwiboo: Please post to the ML, thanks.
f_ has joined #u-boot
<Kwiboo> Tartarus: mail sent, digging little bit deeper it was not fully related to images->os.os being 0, instead an initial bootm_run_states(bmi, BOOTM_STATE_START) call no longer happens
<marex> CounterPillow: in other words, make other busy people even busier while you wait and demand them to fix your issue ... instead of lending a helping hand ...
<marex> Kwiboo: that is appreciated, really
qqq has quit [Remote host closed the connection]
<marex> Tartarus: you might wanna update the topic
<Tartarus> Kwiboo: thanks
Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.04 is OUT / Merge Window is OPEN, next branch is CLOSED / Release v2024.07 is scheduled for 01 July 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
<marex> Tartarus: thanks
f_ has quit [Quit: To contact me, send a memo using MemoServ, PM f_[xmpp], or send an email. See https://vitali64.duckdns.org/.]
enok has quit [Remote host closed the connection]
<CounterPillow> marex: Yes.
slobodan__ has quit [Read error: Connection reset by peer]
slobodan__ has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #u-boot
Clamor has quit [Ping timeout: 264 seconds]
<marex> CounterPillow: which is exactly how community based collaborative development cannot work, those contributors are not free of charge 24/7 available support engineers. Instead, it is up to the contributors to put effort into the project to keep it sustainable, if everyone was just taking from the project, it would fall apart.
<marex> its like an investment fund in a bank, people put in money, and eventually they get more money in return ; if people only pulled money out of it, they would end up with nothing in the end
<CounterPillow> I'm sure all the other people in your metaphor will be delighted when you invest some regressions into their code and then play by finders-keepers rules with the bugs.
<marex> frankly, I just fixed three bugs in ST code for them, they also fixed random stuff for me over the years, this is what I am talking about in collaborative development
<CounterPillow> Thank you for explaining the basic principles of free software to me, I was unaware. What does this have to do with you being made aware of a regression by your patch but then not caring about it because it's merged already and therefore somebody else's problem now?
ikarso has joined #u-boot
<marex> CounterPillow: I never wrote people shouldnt report issues, just that they should try and help out fixing them as well.
<CounterPillow> I'll be sure to tell that to the maintainers reviewing my patches next time I submit something, it'll go over swimmingly.
thopiekar has quit [Quit: Likely restarting quassel...]
<Tartarus> Can't, or won't fix. No, it's not appropriate to revert the changes just yet, the merge window hasn't even closed.
<Tartarus> And the linux kernel is not an ideal model for anything, arguably not even the linux kernel
qqq has joined #u-boot
<CounterPillow> I won't beat this dead horse any further because I don't want to turn a conversation I wasn't even involved in until I piped up into a needless flamewar, but if your attitude towards regressions in your patches changes as soon as a maintainer applies it then I don't think you're held to any noble principles of collaborative development, you've just stopped caring as soon as you no longer faced any consequences yourself.
<Tartarus> ... it wasn't marex's patch series? Is that the confusion point here perhaps?
<CounterPillow> Oh, okay that makes it a lot clearer
<CounterPillow> Yes just to be clear, I think the original *author* of the patch should own the regressions they introduce or get a revert before the release, not like random maintainers and contributors of u-boot.
<Tartarus> Ah, yes. I am hopeful Simon will take a look soon, and if not I might take a look as well, just not today.
<Tartarus> Kwiboo provided enough details it shouldn't be too hard to figure out what call got dropped where
<CounterPillow> (Had 2 hours of sleep followed by a 12 hour road trip so my context inference and tone are both at an all time low)
thopiekar has joined #u-boot
jfsimon1981_b has quit [Remote host closed the connection]
KREYREN has joined #u-boot
yann-kaelig has joined #u-boot
<yann-kaelig> Hello
<yann-kaelig> Well. I have upgraded u-boot to the last release and things have changed for my hdd-raid cubietruck subboard, for better but not for something that is working. Maybe I have missed an option in uboot ? This is what I get when I run scsi reset
<yann-kaelig> Reset SCSI > scanning bus for devices... > Target spinup took 0ms. > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode > flags: ncq stag pm led clo only pmp pio slum part ccc apst > timeout exit!
<Tartarus> yann-kaelig: I would suggest using "git bisect" to track down what commit introduced the problem, since you're able to reproduce it, thanks
KREYREN has quit [Remote host closed the connection]
<yann-kaelig> Tartarus: Hi. Never use thar. How am I suppose to debug the issue. Do I need a serial connection, and more ? Do you have a link for an explanation ?
KREYREN has joined #u-boot
<yann-kaelig> An official u-boot link which will allow me to set up the base to subsequently collect the information usable by the devs
KREYREN has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 264 seconds]
<yann-kaelig> I'm ok to do it, but not without knowing where I'm going, I have no time to waste
<marex> yann-kaelig: I vaguely recall some discussion about SATA PMP some time ago
<marex> yann-kaelig: but that must have been years
<marex> yann-kaelig: does it work if you plug in single SATA drive directly ?
<yann-kaelig> I have an ssd connected to the SATA Port. The subboard is configured to work as PM Mode. Here is the document of the subboard https://elty.eu/public/assets/HDD-RAID%20Hardware%20Development%20Guide%20V1.0.pdf
<marex> yann-kaelig: I mean, it is likely SATA PMP (Port MultiPlier I think is what it stands for)
<marex> yann-kaelig: that is standardized, but not all controller drivers can handle it
<yann-kaelig> Without the subboard I can boot from the SATA. The u-boot-sunxi-with-spl.bin is on my sdcard
<marex> so PMP support in the driver is likely broken
<marex> is that drivers/ata/dwc_ahsata.c that you use on the machine ?
<yann-kaelig> I have no idea. How can I know it ?
<yann-kaelig> find it
<marex> grep AHSATA .config in the build directory
<marex> if it is =y , then that is it
<marex> or just grep SATA .config or grep AHCI .config , see what you get
<yann-kaelig> # CONFIG_DWC_AHSATA is not set
<yann-kaelig> CONFIG_AHCI=y CONFIG_SCSI_AHCI=y #CONFIG_DWC_AHCI is not set # CONFIG_MTK_AHCI is not set CONFIG_SUNXI_AHCI=y
<marex> yann-kaelig: does the PMP work in Linux ?
<yann-kaelig> I do not understand the question. But Ican access the ssd partition if I boot my OS from the sdcard
<yann-kaelig> I can mount /dev/sda1 which is the SATA port0 from the subboard
<marex> yann-kaelig: can you access both drives ?
<marex> yann-kaelig: do a quick test ... => dcache off ; sata reset (or sata init or whatever you do)
<marex> yann-kaelig: does that make things work by any chance ?
<yann-kaelig> I do not have two drive to test it, but both SATA port work. Also when I run the scsi reset a LED show me that the port is activated
<yann-kaelig> I do not have sata command line
<yann-kaelig> only scsi
<marex> then scsi init it is
<yann-kaelig> ok, wait
<marex> yann-kaelig: also, do you have the entire fail log ?
<marex> (not just a few lines ? use paste.debian.net please)
<yann-kaelig> ok
<yann-kaelig> there is no dcache command line. Unknown command
<marex> yann-kaelig: set CONFIG_CMD_CACHE=y
<marex> yann-kaelig: do you have the full log from scsi init or scsi reset or whatever you use ?
<yann-kaelig> Log and u-boot terminal output are two different things ? Because this is all the output I got from scsi reset
<marex> you may also want to modify drivers/ata/ahci.c and drivers/ata/ahci_sunxi.c and put #define DEBUG on line 1, then rebuild , that should give you more information
<yann-kaelig> ok
<marex> yann-kaelig: oh ... because a lot of the messages are debug(), right, see above ^
<yann-kaelig> Well, I have a really short time each day, I will try this tomorrow afternoon, so if you have some other advises I'm listenning and I'm going to take notes
<yann-kaelig> Ok, I have to go. Thank you marex. CU later
yann-kaelig has quit []
slobodan__ has quit [Ping timeout: 260 seconds]
qqq_ has joined #u-boot
qqq has quit [Remote host closed the connection]
qqq_ has quit [Client Quit]
joeskb7 has quit [Ping timeout: 264 seconds]
enok has joined #u-boot
enok has quit [Ping timeout: 252 seconds]
naoki has joined #u-boot