xypron changed the topic of #u-boot to: #u-boot SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2023.01 / Merge Window is OPEN, -next is CLOSED / Release v2023.01 is scheduled for 2023-01-09 / Channel archives at https://libera.irclog.whitequark.org/u-boot
<marex> hays: isnt there some kwboot thing which lets you start u-boot via USB or UART upload ?
<hays> marex: there might be i need to try it
<hays> there are these forks and not sure what to do about it
<hays> like u-boot-marvell
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar_ has joined #u-boot
<marex> hays: like use u-boot mainline and just port over your board, since forks are in various state of decay
<hays> im going to try something, but its a bit trial and error. I don't know what A3700-utils-marvell, atf-marvell, and mv-ddr-marvell are but im going to assume I need them
<xypron> Tartarus: concerning GCC 12.2 migration: in https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/13781 the only remaining board making trouble is pogo_v4 with undefined reference to `__gnu_thumb1_case_si'. No clue why this symbol is not provided by libgcc.
minimal has quit [Quit: Leaving]
<hays> arggh. make clean is deleting my .dts
<hays> Removing arch/arm/dts/armada-3720-espressobin-ultra.dts
<hays> why??
jagan has joined #u-boot
<hays> i have no idea how its singling out that file
<hays> is it the date?
<marex> hays: git add file ; git commit -sm "Add new file"
<hays> oh its using git.
<marex> no, make clean won't delete dts
<hays> something is deleting it
<marex> no, make clean is not using git, it's using kbuild
<marex> so, add it into your git tree and be done with it, then it won;t disappear
<marex> are you by any chance running git clean ?
<hays> there it is, in the build script. yes
<marex> errr ... where ?
<marex> that's not mainline u-boot, is it ?
<hays> marex: Im using a build script on top of u-boot. it was there
<marex> oh
<hays> thanks for the tip.. that would have vexed me for a while
<marex> sure
<hays> all i was seeing was a line in the output in between a bunch of CLEAN targets
jagan has quit [Quit: Connection closed]
umbramalison has quit [Quit: %So long and thanks for all the fish%]
thopiekar has joined #u-boot
umbramalison has joined #u-boot
thopiekar_ has quit [Ping timeout: 268 seconds]
<hays> is flash-image.bin something that u-boot might supposed to be making?
LeSpocky has quit [Ping timeout: 250 seconds]
LeSpocky has joined #u-boot
thopiekar has quit [Ping timeout: 268 seconds]
thopiekar_ has joined #u-boot
<hays> i wonder if the creation of these files is silently failing because im using gcc-12
vagrantc has quit [Quit: leaving]
jclsn has quit [Ping timeout: 250 seconds]
jclsn has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
ikarso has joined #u-boot
filipm has joined #u-boot
<hays> looks like atf-marvell required an older gcc
ladis has joined #u-boot
guillaume_g has joined #u-boot
johankor[m] has joined #u-boot
thopiekar_ has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
mckoan|away is now known as mckoan
mncheck has joined #u-boot
frieder has joined #u-boot
thopiekar has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
matthias_bgg has joined #u-boot
sszy has joined #u-boot
monstr has joined #u-boot
rvalue has quit [Quit: ZNC - https://znc.in]
prabhakarlad has joined #u-boot
mncheck has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
mmu_man has joined #u-boot
<filipm> marex: I use v2022.1 (xilinx rebase v2022.1) on a zynqmp platform; It seems that the mmc is working on 50MHz
yang2 has joined #u-boot
<yang2> Hello, any idea what could be wrong, when trying to load the file into uboot? https://paste.debian.net/plain/1256890
samueldr has quit [Quit: Bridge terminating on SIGTERM]
Tartarus has quit [Quit: Bridge terminating on SIGTERM]
Domon has quit [Quit: Bridge terminating on SIGTERM]
mvaittin has quit [Quit: Bridge terminating on SIGTERM]
ric342[m] has quit [Quit: Bridge terminating on SIGTERM]
elvishjerricco has quit [Quit: Bridge terminating on SIGTERM]
mripard has quit [Quit: Bridge terminating on SIGTERM]
hthiery has quit [Quit: Bridge terminating on SIGTERM]
lespocky[m] has quit [Quit: Bridge terminating on SIGTERM]
vitali64[m] has quit [Quit: Bridge terminating on SIGTERM]
underpantsgnome[ has quit [Quit: Bridge terminating on SIGTERM]
LinuxHackerman has quit [Quit: Bridge terminating on SIGTERM]
par[m] has quit [Quit: Bridge terminating on SIGTERM]
jevinskie[m] has quit [Quit: Bridge terminating on SIGTERM]
johankor[m] has quit [Quit: Bridge terminating on SIGTERM]
Julia[m]1 has quit [Quit: Bridge terminating on SIGTERM]
kmaincent[m] has quit [Quit: Bridge terminating on SIGTERM]
kallisti5[m] has quit [Quit: Bridge terminating on SIGTERM]
vitali64[m] has joined #u-boot
<hays> cool. I got the latest u-boot to compile, but I had to use gcc-7.5-linaro in order for the marvell utilities to work
samueldr has joined #u-boot
mripard has joined #u-boot
Tartarus has joined #u-boot
lespocky[m] has joined #u-boot
jevinskie[m] has joined #u-boot
LinuxHackerman has joined #u-boot
par[m] has joined #u-boot
elvishjerricco has joined #u-boot
jkorsnes[m] has joined #u-boot
mvaittin has joined #u-boot
hthiery has joined #u-boot
Domon has joined #u-boot
ric342[m] has joined #u-boot
kallisti5[m] has joined #u-boot
underpantsgnome[ has joined #u-boot
Julia[m] has joined #u-boot
kmaincent[m] has joined #u-boot
<hays> i am not really too sure what they do, but they seem to be packaging the u-boot.bin into something suitable for the flash memory
hanetzer has quit [Quit: WeeChat 3.6]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #u-boot
zibolo has joined #u-boot
minimal has joined #u-boot
\dev\ice has quit [Changing host]
\dev\ice has joined #u-boot
hanetzer has joined #u-boot
Gravis has quit [Quit: Murdered]
Gravis has joined #u-boot
filipm has quit [Quit: Client closed]
WoC` has joined #u-boot
<xypron> yang2: ext4 calls zalloc() which creates buffers that are aligned with ARCH_DMA_MINALIGN, but the cache wants alignment with CONFIG_SYS_CACHELINE_SIZE. Please, check both values. Maybe the ext4 driver needs a patch.
<yang2> xypron: thanks, where do I check these values in linux kernel.config ?
<xypron> yang2: I thought you where looking at U-Boot? Here arch/arm/include/asm/cache.h:49:#define ARCH_DMA_MINALIGN CONFIG_SYS_CACHELINE_SIZE. So maybe a different place where the misaligned buffer comes from.
<yang2> xypron: because I am able to load previous kernel usr/lib/linux-image-5.10.0-8-armmp/imx6q-utilite-pro.dtb
<yang2> xypron: this machine uses u-boot from 2020
<xypron> yang2: *.dtb is a device-tree not a kernel.
torez has joined #u-boot
<yang2> this other kernel loads
filipm has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
sukbeom has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
torez has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
matthias_bgg has quit [*.net *.split]
ladis has quit [*.net *.split]
jclsn has quit [*.net *.split]
sbach has quit [*.net *.split]
\dev\ice has quit [*.net *.split]
naoki has quit [*.net *.split]
tom42 has quit [*.net *.split]
clever has quit [*.net *.split]
doppo has quit [*.net *.split]
jamestperk has quit [*.net *.split]
hays has quit [*.net *.split]
bq has quit [*.net *.split]
Peng_Fan has quit [*.net *.split]
crb has quit [*.net *.split]
ElementW has quit [*.net *.split]
sicelo has quit [*.net *.split]
sbach has joined #u-boot
\dev\ice has joined #u-boot
clever has joined #u-boot
naoki has joined #u-boot
jclsn has joined #u-boot
tom42 has joined #u-boot
matthias_bgg has joined #u-boot
Peng_Fan has joined #u-boot
ElementW has joined #u-boot
doppo has joined #u-boot
jamestperk has joined #u-boot
ladis has joined #u-boot
torez has joined #u-boot
elvishjerricco has joined #u-boot
bq has joined #u-boot
sicelo has joined #u-boot
sicelo has joined #u-boot
sicelo has quit [Changing host]
prabhakarlad has joined #u-boot
macromorgan has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
alan_o has joined #u-boot
umbramalison has joined #u-boot
<marex> yang2: if you have 'dcache' command, use 'dcache off' to disable dcache , then you wont have cache problems , only slowness
<marex> but as a test to rule out cache problems, its a good test
<xypron> ynag2: next task will be to find out where the unaligned buffer is allocated
<yang2> marex: will I have slowness in the booted Linux system ?
<yang2> or where?
<marex> u-boot only, linux reinits caches
<yang2> marex: ok then its not a big issue
<yang2> xypron: how can I find that out?
<xypron> yang2: add printf statements to the ext4 driver? Or do you have JTAG?
<yang2> ok I managed to boot into 5.10.0-18-armmp
<yang2> with that dcache off command
<yang2> printf?JTAG? sorry I don't know neither
<yang2> marex: when is it best to execute "dcache off", before "sata init" or after?
<marex> yang2: before 'load' if your have filesystem cache alignment problems
<marex> or rather, before the command which you think causes problems
<yang2> ok
guillaume_g has quit [Quit: Konversation terminated!]
mmu_man has quit [Ping timeout: 248 seconds]
<yang2> marex: hm, when writing it into SPI flash, it stops the boot at that missaligned error....
<yang2> doing it step-by-step it boots https://paste.debian.net/1256927/
<marex> yang2: which u-boot version is this ?
<marex> have you tried latest mainline ?
zpiro has quit [Changing host]
zpiro has joined #u-boot
<yang2> I haven't tried, I am using 2020.01
<marex> please do, this might;ve been fixed in the last almost three years
<yang2> ok
zibolo has quit [Ping timeout: 248 seconds]
prabhakarlad has quit [Quit: Client closed]
filipm has quit [Quit: Client closed]
prabhakarlad has joined #u-boot
frieder has quit [Remote host closed the connection]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<yang2> marex: shall I follow these instructions on building the new U-boot? https://wiki.debian.org/InstallingDebianOn/CompuLab/PC-Utilite/buster#Starting
<marex> I think you should be able to just grab the latest sources from source.denx.de/u-boot and compile that for utilite
monstr has quit [Remote host closed the connection]
mmu_man has joined #u-boot
mckoan is now known as mckoan|away
persmule has quit [Remote host closed the connection]
vagrantc has joined #u-boot
persmule has joined #u-boot
minimal has quit [Quit: Leaving]
<yang2> marex: so it's a "git checkout v2022.10" for the latest stable?
crb has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
<marex> well, there is u-boot/master, but v2022.10 is good enough
<yang2> marex: do I need to use this, after the "make" command "$ tools/mkimage -n spl/u-boot-spl.cfgout -T imximage -e 0x908000 -d spl/u-boot-spl.bin spl.img" ?
ladis has quit [Ping timeout: 246 seconds]
matthias_bgg has quit [Ping timeout: 246 seconds]
hays has joined #u-boot
<marex> yang2: no, make should be enough
ladis has joined #u-boot
<yang2> ok
ladis has quit [Quit: Leaving]
<yang2> marex: so, only need to do 3 last steps then ? https://paste.debian.net/1256948/
vagrantc has quit [Quit: leaving]
<yang2> I did all the steps
<yang2> but the sd card isn't being read inside the utilite...
mmu_man has joined #u-boot
<hays> whats the deal with linaro? their last release seems to be gcc 7.5? but there are references to newer versions?
<hramrach> I tried to run the tests on 32bit and it really does not work
<hramrach> is there a sane way to fix it?
<hramrach> like select the correct kconfig option automagically depending on the host
torez has quit [Quit: torez]
minimal has joined #u-boot
<hays> i made this fancy diagram and I still don't know what these marvell utilities are doing to the u-boot image im building... https://file.st5ve.com/image.png
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
<hramrach> cambrian_invader: yes, I sent that but it's not a very nice way to do it
<hramrach> the thing any way I can think of has problem
<cambrian_invader> ah, I didn't realize you were one and the same :)
<cambrian_invader> IMO the sane way to do it is make the KConfig default depend on the host bits
<hramrach> making the config depend on the environment has its problems as well