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
enok has quit [Ping timeout: 240 seconds]
enok has joined #u-boot
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
KREYREN has quit [Remote host closed the connection]
GNUtoo has quit [Quit: leaving]
GNUtoo has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #u-boot
enok has quit [Quit: enok]
enok has joined #u-boot
stefanro has joined #u-boot
KREYREN has joined #u-boot
enok has quit [Ping timeout: 240 seconds]
KREYREN has quit [Remote host closed the connection]
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
KREYREN has joined #u-boot
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
slchen1013 has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
KREYREN has quit [Remote host closed the connection]
persmule has quit [Remote host closed the connection]
KREYREN has joined #u-boot
persmule has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
Clamor has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
KREYREN has quit [Ping timeout: 260 seconds]
<daytona> marex: Actually, my build generates only .bin, .mtd and .tar file. It does not generates fitImage. I searching for the steps to convert .bin to fitImage. If there is pointer to converting .bin to fitImage, Please provide me.
monstr has joined #u-boot
dormito has quit [Ping timeout: 256 seconds]
linfax has joined #u-boot
joeskb7 has joined #u-boot
dormito has joined #u-boot
mckoan|away is now known as mckoan
goliath has joined #u-boot
frieder has joined #u-boot
mripard has quit [Remote host closed the connection]
alexxy has quit [Ping timeout: 260 seconds]
alexxy has joined #u-boot
enok has joined #u-boot
sszy has joined #u-boot
joeskb7 has quit [Ping timeout: 246 seconds]
joeskb7 has joined #u-boot
alperak has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
tlwoerner has quit [Ping timeout: 256 seconds]
ladis has joined #u-boot
alexxy has quit [Read error: Connection reset by peer]
alexxy has joined #u-boot
ikarso has joined #u-boot
mmu_man has joined #u-boot
Jones42 has joined #u-boot
Jones42 has quit [Changing host]
Jones42 has joined #u-boot
Clamor has quit [Ping timeout: 272 seconds]
Clamor has joined #u-boot
slobodan__ has joined #u-boot
prabhakalad has quit [Ping timeout: 255 seconds]
prabhakalad has joined #u-boot
Jones42 has quit [Ping timeout: 250 seconds]
DrPatater has quit [Quit: Explodes into a thousand pieces]
ikarso has quit [Quit: Connection closed for inactivity]
Jones42 has joined #u-boot
slchen1013 has quit [Quit: Leaving.]
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
thopiekar has quit [Quit: No Ping reply in 180 seconds.]
thopiekar has joined #u-boot
naoki has quit [Quit: naoki]
tlwoerner has joined #u-boot
thopiekar has quit [Quit: No Ping reply in 180 seconds.]
dsimic has quit [Ping timeout: 240 seconds]
dsimic has joined #u-boot
thopiekar has joined #u-boot
DrPatater has joined #u-boot
thopiekar has quit [Client Quit]
DrPatater has quit [Client Quit]
DrPatater has joined #u-boot
thopiekar has joined #u-boot
slobodan__ has quit [Quit: Leaving]
slobodan has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
KREYREN has joined #u-boot
ikarso has joined #u-boot
KREYREN has quit [Ping timeout: 260 seconds]
Jones42 has quit [Ping timeout: 250 seconds]
vagrantc has joined #u-boot
vagrantc has quit [Client Quit]
vfazio_ has quit [Ping timeout: 272 seconds]
Jones42 has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
Jones42 has quit [Quit: Client closed]
qqq has quit [Quit: Lost terminal]
f_ has joined #u-boot
vfazio has joined #u-boot
enok has quit [Ping timeout: 268 seconds]
ladis has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 264 seconds]
qqq has joined #u-boot
KREYREN has joined #u-boot
davlefou has joined #u-boot
goliath has quit [Quit: SIGSEGV]
enok has joined #u-boot
mmu_man has joined #u-boot
Stat_headcrabed has joined #u-boot
yann-kaelig has joined #u-boot
<yann-kaelig> Hello
<yann-kaelig> As requested here is the log of my u-boot boot on my cubietruck + subboard hdd-raid https://dpaste.com/BMRFLMR5V
<yann-kaelig> LOG_DEBUG more precisely
<yann-kaelig> on files drivers/ata/ahci.c and drivers/ata/ahci_sunxi.c
slobodan has quit [Read error: Connection reset by peer]
<marex> yann-kaelig: is the drive currently plugged into port 0 or port 1 ?
<yann-kaelig> marex: Hello. Into port0
<daytona> marex: my u-boot is not supporting fitImage. I need to use either uImage or zImage. Please suggestion
<marex> daytona: rebuild uboot with fitImage support is probably the best one
<marex> daytona: or look at bootz command (ugh) but that doesn't provide any protection/authentication, so that's only for debug purposes
qqq has quit [Read error: Connection reset by peer]
qqq has joined #u-boot
<Tartarus> yann-kaelig: So, did this case work in a previous version of U-Boot?
<daytona> Actually, I am using uboot of vendor BMC, I don't have source code of them. Is it possible to overwrite their uboot with mine ?
<marex> Tartarus: I dont think it did
<marex> Tartarus: do you have such sunxi hardware , with sata pmp ?
<marex> Tartarus: I sort of see a debug session here
<Tartarus> Nope
<yann-kaelig> Tartarus: no
<Tartarus> Ah ok, I misunderstood your initial message
<yann-kaelig> Tartarus: It is even better than the version 2017 I was using, in this old version the SATA Port was even not detected.
<yann-kaelig> on my subboard
<marex> yann-kaelig: turn on that CONFIG_CMD_CACHE and try with dcache off
<yann-kaelig> because on the cubietruck only everything works as expected
<marex> see if that has any impact
<yann-kaelig> marex: Do not change anything
<yann-kaelig> marex: tested, no impact
<marex> yann-kaelig: then patch drivers/ata/ahci.c and increase WAIT_MS_DATAIO , see if that helps
<yann-kaelig> ok
<yann-kaelig> by what value step by step I should test and with a max of ?
<yann-kaelig> marex:
vagrantc has joined #u-boot
<marex> yann-kaelig: multiply it by 2 , 4 or 10
<marex> basically increase the timeout and see what happens
linfax has quit [Ping timeout: 272 seconds]
daytona has quit [Read error: Connection reset by peer]
Clamor has quit [Ping timeout: 240 seconds]
Clamor has joined #u-boot
mckoan is now known as mckoan|away
stefanro has quit [Quit: Leaving.]
jfsimon1981 has joined #u-boot
<qschulz> sjg1: I have ~120 lines of comments/random thoughts/questions. Waiting on some sysadmin to green light my account on source.denx.de so I can comment (afk now, have a nice day!)
Stat_headcrabed has quit [Quit: Stat_headcrabed]
enok has quit [Ping timeout: 240 seconds]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
enok has joined #u-boot
<marex> qschulz: you cannot request account via the web interface there ?
<marex> qschulz: try pinging Stefano or Tom if it is stuck
<Tartarus> ... I emailed him but I think the answer is that an email got stuck in the spam folder?
f_ has quit [Remote host closed the connection]
f_ has joined #u-boot
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #u-boot
KREYREN_ has joined #u-boot
KREYREN has quit [Ping timeout: 260 seconds]
KREYREN_ has quit [Remote host closed the connection]
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
frieder has quit [Remote host closed the connection]
Clamor has quit [Ping timeout: 256 seconds]
Clamor has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
f_ has quit [Quit: To contact me, send a memo using MemoServ, PM f_[xmpp], or send an email. See https://vitali64.duckdns.org/.]
mmu_man has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
<yann-kaelig> marex: Well. doesn't change anything by increasing WAIT_MS_DATAIO. Also I have connected a drive on the SATA port1, now with two drives on port0 and port1, I get this dmesg output: controller can't do PMP turning off CAP_PMP.
<yann-kaelig> I wonder if that could be the reason of my issue. I'm not sure to undersatnd but it seems that ahci driver disable PMP ? Trying to understand what I found on the web
<yann-kaelig> Ok. first good thing rebuilding boot.src with ahci_sunxi.enable_pmp=1 and booting from my sdcard, now fdisk -l show my both devices :)
Hypfer has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer has joined #u-boot
<yann-kaelig> Also there must be something maybe an issue with u-boot 'cause it never try the port1. Seems like pmp is not enabled
<yann-kaelig> somethign has changed
<yann-kaelig> scsi reset works now. https://dpaste.com/GEGHPZ7LJ
<yann-kaelig> I have no idea what's the source of this change. Maybe the increase of WAIT_MS_DATAIO + dcache off
<yann-kaelig> That bad I will need to reproduce the fix, lol the worst thing that could happen, lol
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
<yann-kaelig> How can I boot from my sdcard from u-boot command prompt using the boot.src file ?
ikarso has quit [Quit: Connection closed for inactivity]
<marex> yann-kaelig: see => help load and =? help bootm
<marex> yann-kaelig: could it be the PMP needs some workaround on this machine ? I saw some patch from 2014 in that direction in Linux
<marex> for sunxi that is
goliath has joined #u-boot
<yann-kaelig> marex: I'm trying to find something about that, could you please send me the links, thx
<marex> yann-kaelig: git log --grep=pmp drivers/ata/ in Linux
<yann-kaelig> ok
<marex> 35c16a8f0b99 ("ahci_sunxi: Make AHCI_HFLAG_NO_PMP flag configurable with a module option")
<yann-kaelig> I have added ahci_sunxi.enable_pmp=1 in my boot.txt and rebuilt the boot.src. so now pmp is working if I boot and run the OS from my sdcard, but I do not see how it could be related to the Uboot issue. Also if scsi reset failed for port0 it is not supposed also to try port1 ? It seems that PMP is not enable in UBoot, or maybe there is something I do not understand.
<marex> yann-kaelig: it might be unimplemented too, although I think other AHCI devices did support it
<marex> yann-kaelig: you might need to really dig into the code here
KREYREN has joined #u-boot
<yann-kaelig> Well, rnough for today. Thx marex. CU later, have a nice day/night
yann-kaelig has quit []
KREYREN_ has joined #u-boot
KREYREN has quit [Remote host closed the connection]
enok has quit [Read error: Connection reset by peer]
enok has joined #u-boot
KREYREN_ has quit [Remote host closed the connection]
KREYREN_ has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
KREYREN_ has quit [Remote host closed the connection]
KREYREN_ has joined #u-boot
enok has quit [Ping timeout: 252 seconds]
alperak has quit [Quit: Connection closed for inactivity]
vagrantc has quit [Quit: leaving]
qqq has quit [Remote host closed the connection]
naoki has joined #u-boot