qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
hanetzer has quit [Ping timeout: 276 seconds]
vagrantc has joined #u-boot
experemental has quit [Read error: error:0A000119:SSL routines::decryption failed or bad record mac]
mmu_man has quit [Ping timeout: 246 seconds]
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar has joined #u-boot
vagrantc has quit [Quit: leaving]
jclsn has quit [Ping timeout: 276 seconds]
jclsn has joined #u-boot
ikarso has joined #u-boot
qqq has joined #u-boot
persmule has quit [Remote host closed the connection]
Clamor has joined #u-boot
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
Stat_headcrabed has joined #u-boot
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
Clamor has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
slobodan has joined #u-boot
dsimic has quit [Ping timeout: 245 seconds]
dsimic has joined #u-boot
mmu_man has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
Hypfer6 has joined #u-boot
persmule has joined #u-boot
Hypfer has quit [Ping timeout: 255 seconds]
Hypfer6 is now known as Hypfer
piglit_ has joined #u-boot
goliath has joined #u-boot
<piglit_>
Hello I have got a noob question, does U-Boot have got a config file which I can edit to change boot order? If so what is the name of the file and can anyone link me to a quick guide? I want to change the boot order on a Odroid N2+ it had a petitboot which points to a U-Boot for so far as I can understand
<piglit_>
Or is the configfile only editable before a compile ?
<mps>
piglit_: example `boot_targets=mmc1 usb0 nvme0 mmc0 dhcp`
<mps>
and then `saveenv -a`
<mps>
if the board have flash to save ENV
<piglit_>
mps: thanx and the commands you typed, do I need to type them in console or will there be a config file somewhere on the sd-card or eMMC ?
<mps>
piglit_: break u-boot when it start and type this from console
<mps>
`printenv boot_targets` will show you current one
<mps>
if there no saveenv, setenv, printenv then you can use `env` with subcomands
<piglit_>
thanx, env shows a lot of data in the console, this is when the OS, Ubuntu is running, but this shows the environment of Ubuntu and not of U-Boot is thios assumption correct ?
<piglit_>
how do I "break" U-boot ?
<mps>
look when machine reboots is there something on console which shows you how to break u-boot
<mps>
for example 'Hit any key to stop autoboot:'
<piglit_>
I first get petitboot I can enter settings there. When I leave Petitboot the screen does not show text untul Ubuntu shows itself
<mps>
I don't have experience with petitboot
<piglit_>
well as far as I understand Petitboot is small engough to fit in a 8MB SPI flash the Petitboot can be set to start U-Boot from /boot which is on a SD-card or eMMC
<piglit_>
I will have another search on www
<piglit_>
thanx for the help so far
rvalue has quit [Ping timeout: 252 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
rvalue has joined #u-boot
<CounterPillow>
It sounds like you're using some omegacursed vendor image that goes u-boot->petitboot->u-boot->ubuntu. You're best off asking them for support.
<yang>
I am trying to guess the correct lines for 'bootcmd' , the first long line from the example boots that device, the second lines I am trying to guess for Teres https://paste.debian.net/plainh/19779369
<yang>
When trying the first line "load mmc 0:1 0x12000000 vmlinuz-6.1.0-17-arm64" I get a reply *** reading file would overwrite reserved memory *** failed to load "vmlinuz-6.1.0-17-arm64"
<xypron>
yang: Please, use the bdinfo command to display the avaialble memory. U-Boot relocates itself to the top. A good load address is in the lower half of the memory. printenv shows preallocated addresses. Look for kernel_addr_r, ramdisk_addr_r, fdt_addr_r.
Clamor has joined #u-boot
<yang>
ok
<yang>
first thing I am recompiling U-boot for zboot support
mmu_man has quit [Ping timeout: 252 seconds]
vagrantc has joined #u-boot
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
zsoltiv_ has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
<tlwoerner>
is the networking code for rockchip known to work?
<tlwoerner>
specifically: on the rock-pi-e the mdio code is not able to successfully probe and find the realtek phy
<tlwoerner>
when drivers/net/phy/phy.c calls get_phy_id()
<tlwoerner>
which is resolved by drivers/net/designware.c:dw_mdio_read()
<tlwoerner>
the result is always 0xffff
<tlwoerner>
linux has no problem probing the phy via mdio
<xypron>
yang2: for arm64 you have to use the booti command.
<xypron>
yang ^
<yang>
ok thanks
<yang>
just black screen, I cannot really debug well, because I don't have a serial console cable. I will buy one, and continue at some other time
<xypron>
yang: You can add parameters to the kernel command line via environment variable bootargs. Once you have serial console access you can use parameter earlycon to get early console output.
<marex>
tlwoerner: I did use rk3588 recently, but that has a PCIe ethernet MAC I think
Clamor has quit [Ping timeout: 245 seconds]
Clamor has joined #u-boot
<yang>
I will continue when I get serial console, I cannot see past the u-boot screen, it's just a black screen then
Clamor has quit [Read error: Connection reset by peer]
<CounterPillow>
marex: rk3588 has two native GMACs
<CounterPillow>
you're thinking of your specific board, the rock5b, which uses a pcie 2.5g mac
jaganteki has quit [Quit: Client closed]
<CounterPillow>
Kwiboo as of a few months ago sent in (and I think got merged?) a series to enable networking on RK356x at least, and I tested that and it worked
Hypfer8 has joined #u-boot
Hypfer has quit [Ping timeout: 256 seconds]
Hypfer8 is now known as Hypfer
experemental has joined #u-boot
haritzondo has joined #u-boot
haritz has quit [Read error: Connection reset by peer]
<marex>
CounterPillow: it was some fruitboard, yes
<Tartarus>
marex: Have you seen Sumit's series to move us to using the devicetree-rebasing tree for dts files?
<marex>
Tartarus: not in detail, but for rcar that would be fine, why ?
persmule has quit [Remote host closed the connection]
<Tartarus>
would sticking with just major release tags long term be an issue?
<Tartarus>
Since you picked 6.6.3
<marex>
Tartarus: by major release tags you mean 6.6(.0) and 6.7(.0) etc ?
<Tartarus>
Yes
<marex>
Tartarus: that wouldn't be great, because fixes which land after that
<marex>
Tartarus: esp. for LTS, those keep trickling in
<Tartarus>
But we'd be syncing up each next window we have
<Tartarus>
Would that still be an issue?
<marex>
Tartarus: in the meantime, it could be
<marex>
Tartarus: e.g. in case a fix lands before the next release
<marex>
Tartarus: why stick only to major version anyway ?
<Tartarus>
Before whose next release? We could probably cherry-pick some critical fixes if needed I suppose
<Tartarus>
And would you rather v2024.04 for example be using v6.7.0 or v6.6.x ?
<Tartarus>
I'm not sure I want the potential instability of picking up v6.7.x between now'ish and April
<marex>
Tartarus: this close to LTS release, I might pick the latest LTS exactly for that purpose -- stability
<Tartarus>
With v2024.07 being on v6.8 or v6.9 tag tho?
<marex>
hmmm, good question, there I would almost say this is board/maintainer specific then ?
<marex>
because one board/arch/... might benefit from latest DTs, the other might be more conservative ?
<Tartarus>
Nope, devicetree-rebasing and OF_UPSTREAM are the same for everyone
<marex>
then maybe this needs to be more flexible with some per-config setting which version to use ?
<Tartarus>
I can't see how that would work
<Tartarus>
I think you need to find some time to read the current cover letter, think and reply please
<Tartarus>
(to be clearer, I don't see how you could implement what you suggest of per config version settings)
<marex>
Tartarus: if the DTs were in external git tree, git worktree would be the tool of choice for me