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
vagrantc has joined #u-boot
torez has quit [Quit: torez]
<marex> jkent: look into the drivers/serial/ , there is a macro called DEBUG_UART_FUNCS
<marex> if your uart driver implements it, enable DEBUG_UART in Kconfig
<marex> if not, you need to implement it first, it's basically just uart init (register poking) and putc (register poke)
<jkent> it does, but i'm not sure everything is in place, when building, there is an undefined reference to "default_serial_console"
<marex> in u-boot proper or spl ?
<jkent> while linking spl
<marex> default_serial_console is a weak function, no ?
<marex> so there should be default implementation in your serial driver
<marex> look at serial_sh.c for example
<jkent> mm, that might be what is missing, i'll poke around some more
<jkent> okay, thanks
<marex> it literally returns pointer to struct serial_device in that same driver
<jkent> i see, there is no serial_device in the serial_s5p.c driver
<jkent> it hasn't been converted to DM yet i guess
<marex> jkent: that should be OKish for now
<marex> try and add the default_serial_console implementation e.g. from serial_sh.c or similar driver
<marex> it's a one-liner function
<jkent> i'll have to add the serial_device struct too, but now i know what i need to do
<marex> oh, uh ... I didn't realize it was so poorly maintained
<marex> hum
<jkent> yeah, i doubt anyone is using the smdk100 as well
<jkent> goni is the closest thing to what i'm working on
<jkent> debug uart also does some weird stuff on u-boot proper console, but i have a feeling i'm going to be fixing that
PhoenixMage has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
stefanro has quit [Quit: Leaving.]
stefanro has joined #u-boot
prabhakarlad has quit [Ping timeout: 260 seconds]
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #u-boot
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
jahro_me has quit [Ping timeout: 246 seconds]
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
jahro_me has joined #u-boot
PhoenixMage has joined #u-boot
thopiekar has quit [Ping timeout: 246 seconds]
thopiekar has joined #u-boot
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
vfazio_ has joined #u-boot
vfazio has quit [Read error: Connection reset by peer]
xcm has joined #u-boot
haritz has quit [Ping timeout: 260 seconds]
vfazio__ has joined #u-boot
sicelo_ has joined #u-boot
justache- has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
__ad has joined #u-boot
grgy- has joined #u-boot
niska` has joined #u-boot
mckoan_ has joined #u-boot
Gravis_ has joined #u-boot
redbrain has joined #u-boot
stefanro has quit [*.net *.split]
vfazio_ has quit [*.net *.split]
Gravis has quit [*.net *.split]
mckoan|away has quit [*.net *.split]
georgem has quit [*.net *.split]
xypron has quit [*.net *.split]
tpw_rules has quit [*.net *.split]
RecursiveG has quit [*.net *.split]
sicelo has quit [*.net *.split]
niska has quit [*.net *.split]
xcm_ has quit [*.net *.split]
chron0 has quit [*.net *.split]
grgy has quit [*.net *.split]
justache has quit [*.net *.split]
ad__ has quit [*.net *.split]
Forty-Bot has quit [*.net *.split]
sicelo_ is now known as sicelo
tpw_rules has joined #u-boot
Forty-Bot has joined #u-boot
ikarso has joined #u-boot
stefanro has joined #u-boot
xypron has joined #u-boot
georgem has joined #u-boot
RecursiveG has joined #u-boot
chron0 has joined #u-boot
guillaume_g has joined #u-boot
___nick___ has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
prabhakarlad has joined #u-boot
sszy has joined #u-boot
mckoan_ is now known as mckoan
fixou has joined #u-boot
apritzel has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
persmule_ has quit [Ping timeout: 255 seconds]
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
thopiekar has quit [Ping timeout: 246 seconds]
monstr has joined #u-boot
thopiekar has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
riscy-dhaval has joined #u-boot
riscy-dhaval has quit [Client Quit]
riscy-dhaval has joined #u-boot
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #u-boot
WoC has quit [Remote host closed the connection]
WoC has joined #u-boot
riscy-dhaval has quit [Quit: Client closed]
Leopold has joined #u-boot
torez has joined #u-boot
GNUtoo has quit [Ping timeout: 255 seconds]
mahk has quit [Ping timeout: 264 seconds]
thopiekar has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
GNUtoo has joined #u-boot
tambarus has joined #u-boot
mahk has joined #u-boot
mahk has quit [Ping timeout: 256 seconds]
WoC has quit [Remote host closed the connection]
WoC has joined #u-boot
Gravis_ is now known as Gravis
fixou has quit [Quit: Leaving]
persmule_ has joined #u-boot
Leopold has quit [Remote host closed the connection]
milkylainen has quit [Quit: re-shoe]
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
mahk has joined #u-boot
Leopold has joined #u-boot
milkylainen has joined #u-boot
milkylainen has quit [Client Quit]
milkylainen has joined #u-boot
apritzel has quit [Ping timeout: 252 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
haritz has joined #u-boot
haritz has joined #u-boot
haritz has quit [Changing host]
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
prabhakarlad has quit [Quit: Client closed]
mmu_man has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
mahk has quit [Ping timeout: 256 seconds]
mahk has joined #u-boot
prabhakarlad has joined #u-boot
flyback has quit [Quit: Leaving]
ldevulder_ has joined #u-boot
flyback has joined #u-boot
ldevulder has quit [Ping timeout: 248 seconds]
ldevulder has joined #u-boot
mahk has quit [Ping timeout: 246 seconds]
ldevulder_ has quit [Ping timeout: 252 seconds]
mahk has joined #u-boot
persmule_ has quit [Ping timeout: 255 seconds]
persmule_ has joined #u-boot
Leopold_ has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
guillaume_g has quit [Quit: Konversation terminated!]
GNUtoo has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
persmule_ has quit [Remote host closed the connection]
persmule_ has joined #u-boot
vagrantc has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
prabhakarlad has quit [Quit: Client closed]
mahk has joined #u-boot
mahk has quit [Changing host]
GNUtoo has joined #u-boot
PhoenixMage has quit [Ping timeout: 268 seconds]
jahro_me has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
Gravis has quit [Ping timeout: 248 seconds]
PhoenixMage has quit [Ping timeout: 256 seconds]
PhoenixMage has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
PhoenixMage has quit [Ping timeout: 256 seconds]
naoki has quit [Remote host closed the connection]
PhoenixMage has joined #u-boot
justache- is now known as justache
PhoenixMage has quit [Ping timeout: 256 seconds]
PhoenixMage has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
teejay has quit [Ping timeout: 264 seconds]
teejay has joined #u-boot
tambarus has quit [Quit: Connection closed for inactivity]
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
apteryx has joined #u-boot
<apteryx> is it common that boards sellers make custom dev for u-boot and never upstream their stuff?
PhoenixMage has quit [Ping timeout: 260 seconds]
<broonie> apteryx: Extremely.
<apteryx> so they provide a github to their customers and the customers are stuck in time to use that?
<apteryx> (a github or online distribution of their fork of u-boot with their changes)
<apteryx> I was looking at this board: https://docs.embeddedts.com/TS-7970_U-boot_Sections and wondering if there was any hope to run it using a mainline u-boot, it seems not
PhoenixMage has joined #u-boot
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar_ has joined #u-boot
<Tartarus> imx6 is a mature platform, so it should be a rather direct effort to forward port
prabhakarlad has joined #u-boot
PhoenixMage has quit [Ping timeout: 268 seconds]
PhoenixMage has joined #u-boot
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
torez has quit [Quit: torez]
PhoenixMage has quit [Ping timeout: 246 seconds]
PhoenixMage has joined #u-boot
<apteryx> so I'd take their branch, try to rebase it on master and if it works I send a pull request?
lucascastro has joined #u-boot
<apteryx> their branch is this: https://github.com/embeddedTS/u-boot-imx, it was forked from ttps://github.com/Freescale/u-boot-fslc; any clue how that last one relates to mainline u-boot?
<cambrian_invader> that's kinda ancient
<cambrian_invader> tbh I would start by copying over the board files and dts
<cambrian_invader> and then go through the other commits manually and try to determine whether they're necessary
thopiekar_ has quit [Ping timeout: 246 seconds]
thopiekar has joined #u-boot
<apteryx> OK
<vagrantc> another common practice is even if they fork off of upstream u-boot, they start a git repository from scatch rather than forking off of upstream git ...
<vagrantc> so it can even be an adventure to figure out where they forked
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar has joined #u-boot
___nick___ has quit [Ping timeout: 268 seconds]
monstr has quit [Remote host closed the connection]
<apteryx> phew, and hi, vagrantc!
<apteryx> what do downstream users such as Guix do? Package a zillion u-boot forks?
<apteryx> judging from the number of commits, it looks like TS made 162 commits on top of their 2015 era u-boot
<apteryx> at least some commits add hardware support, such as "Add support for SST26VF064BA, and IS25LP064A spi flashes"
<vagrantc> apteryx: mostly guix only packages things upstreamed, although there are a few that are stuck on old versions
<vagrantc> same in debian, although ... sometimes things get stuck on old versions there too, and i have to keep everything stuck on the old version.
<vagrantc> but some distros are fine with packaging N arbitrary forks
<apteryx> I see
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
<cambrian_invader> vagrantc: quick question, is there a way to skipp building u-boot-qemu and e.g. only build u-boot-tools?
<cambrian_invader> should I just edit targets.mk?
<vagrantc> cambrian_invader: build arch:any only, not arch:All
<vagrantc> er, arch:all
<cambrian_invader> OK, I'll look into that
<vagrantc> cambrian_invader: dpkg-buildpackage --build=any (or some higher level tools have their own way of specifying this)
<cambrian_invader> thanks!
lucascastro has quit [Ping timeout: 260 seconds]
persmule_ has quit [Ping timeout: 255 seconds]
persmule_ has joined #u-boot
naoki has joined #u-boot
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
naoki has quit [Quit: naoki]
naoki has joined #u-boot
prabhakarlad has quit [Ping timeout: 260 seconds]
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar has joined #u-boot
Leopold has joined #u-boot