00:29
redbrain has quit [Read error: Connection reset by peer]
00:35
redbrain has joined #u-boot
00:36
joeskb7 has joined #u-boot
00:39
wak has joined #u-boot
01:18
KREYREN_ has quit [Remote host closed the connection]
01:32
KREYREN has joined #u-boot
01:40
<
marex >
KREYREN: why SPL without DT ?
01:40
<
marex >
KREYREN: I suspect EFI will pick the DT that is bundled with U-Boot proper
01:40
<
KREYREN >
marex, because i want the distros to be able to do their own adjustments to the DT without U-Boot just forcing one DT on everyone
01:41
<
marex >
KREYREN: generally with U-Boot, the DT used to boot the kernel is not the U-Boot one, so I wonder why EFI is picking the U-Boot one here
01:43
<
KREYREN >
marex, i see dunno why it does that though it's doing that for all devices tbh
01:46
<
marex >
KREYREN: can you paste the failing boot log ? maybe we can figure it out ?
01:47
<
KREYREN >
marex, it doesn't fail to boot it just takes the DT with itself to the OS seemingly as checked with dtc
01:49
<
marex >
KREYREN: sorry, my crystal ball is currently discharged ...
01:50
<
KREYREN >
marex, i will get you the log just a sec i am flashing the u-boot on the device
01:55
<
marex >
take your time
02:02
<
KREYREN >
i've applied hdmi-connector changes to the DT in u-boot and it's being used in the OS^
02:07
<
KREYREN >
it seems to happen only on UEFI with EXTLINUX it seems to use the linux's DT
02:08
<
marex >
KREYREN: break into the U-Boot shell and run 'printenv'
02:08
<
marex >
KREYREN: that will give you the entire U-Boot env, check what's in `bootcmd`
02:09
<
marex >
does it do some bootefi or some such ?
02:10
<
KREYREN >
> bootcmd=run distro_bootcmd
02:11
F0rTex has quit [Ping timeout: 264 seconds]
02:12
F0rTex has joined #u-boot
02:13
<
KREYREN >
distro nixos with systemd-boot
02:15
<
marex >
efi_dtb_prefixes=/ /dtb/ /dtb/current/
02:15
<
marex >
I wonder what that is for
02:16
<
marex >
KREYREN: maybe if you follow the bootcmd execution path across the scripts, you might find out why it falls back to the built in DT
02:16
<
KREYREN >
(note: nixos doesn't manage u-boot it's manually compiled from source)
02:17
<
quinq >
setenv efi_fdtfile ${fdtfile};
02:18
<
marex >
quinq: that's already in scan_dev_for_efi , isnt it ?
02:19
<
marex >
KREYREN: check if you have allwinner/sun50i-a64-teres-i.dtb in any of the efi_dtb_prefixes=/ /dtb/ /dtb/current/
02:19
<
quinq >
marex, if I understand correctly, that's what KREYREN is trying to avoid
02:19
<
KREYREN >
marex, within the u-boot environment or in the OS?
02:24
<
KREYREN >
marex, doesn't seem that the file is anywhere on the filesystem
02:25
<
KREYREN >
(find is still running..)
02:26
jclsn has quit [Ping timeout: 246 seconds]
02:28
jclsn has joined #u-boot
02:28
<
marex >
KREYREN: the file should be on your filesystem
02:28
<
marex >
KREYREN: the OS should install it there
02:29
<
marex >
KREYREN: if the file is not there, well, then ... U-Boot cannot pick it up and falls back to its own built-in DT
02:29
<
marex >
quinq: I am not sure about that
02:32
<
KREYREN >
it's in nixos's derivations but not really on the system
02:37
<
KREYREN >
path/to/kernel/dtbs
02:38
<
KREYREN >
which should be set as FDTDIR?
02:44
<
KREYREN >
thanks for help
02:49
Leopold has quit [Remote host closed the connection]
02:51
mmu_man has quit [Ping timeout: 255 seconds]
02:55
Leopold has joined #u-boot
02:57
Leopold has quit [Remote host closed the connection]
02:57
<
marex >
KREYREN: I do not know what nixos does, sorry
02:58
Leopold has joined #u-boot
03:00
<
marex >
KREYREN: but it seems like a nixos specific thing, you seem to need to find out how to deploy the .dtb file into rootfs
03:03
Leopold has quit [Remote host closed the connection]
03:03
Leopold has joined #u-boot
03:04
<
vagrantc >
KREYREN: is the /nix/ directory on the same partition as rootfs, or does it copy files around into /boot or something?
03:04
<
tpw_rules >
the /boot dir is on a different fs
03:04
<
vagrantc >
KREYREN: not terribly familiar with nix, but somewhat familiar with guix, which is similar
03:04
<
vagrantc >
if /boot is on a separate filesystem, you may have to copy the .dtb into /boot somehow
03:05
<
tpw_rules >
i think the only way on nixos to use a custom DTB is to use extlinux boot, because UEFI can't let the boot files specify the dtb
03:05
<
vagrantc >
unless systemd-boot can read from multiple filesystems ... i've mostly use the extlinux.conf support or boot scripts, a little bit with GRUB's UEFI support
03:05
<
vagrantc >
tpw_rules: sounds plausible
03:06
<
tpw_rules >
iirc grub can load a dtb into memory, but nixos is not set up to use that function, and systemd-boot sure won't do that
03:09
<
vagrantc >
yeah, grub can load a single .dtb into memory ... so if you you have to pick which kernel's .dtb and cannot easily switch between kernel versions
03:11
<
KREYREN >
vagrantc, NixOS gets deployed in stages during initrd where the nix store holds all the software and configuration for the OS so basically NixOS systems gets declared in a text file using a functional language and then it installs the OS on each boot following these instructions where only the store and personal files are persistent
03:13
<
KREYREN >
so if the dtb has to be in the filesystem then the nix daemon has to be programmed to put these files in the filesystem during the boot
03:14
<
KREYREN >
guix handles it differently as they don't have purity sufficiently implemented yet so the system just stays the way it is and nix daemon just replaces files when requested
03:16
<
vagrantc >
don't quite follow you here, but ok. :)
03:17
<
vagrantc >
sounds pretty much just like what guix does...
03:17
<
vagrantc >
KREYREN: basically, whatever part of nix installs the kernel, probably has to install the .dtb right alongside it
03:17
<
vagrantc >
or nearby, or whatever
04:09
zsoltiv_ has quit [Ping timeout: 255 seconds]
04:15
zsoltiv_ has joined #u-boot
04:19
vagrantc has quit [Quit: leaving]
04:56
Danish has joined #u-boot
05:19
Danish has quit [Excess Flood]
05:19
Danish has joined #u-boot
05:21
rvalue has quit [Ping timeout: 255 seconds]
05:30
dhruvag2000 has joined #u-boot
05:33
rvalue has joined #u-boot
05:45
naoki has joined #u-boot
05:52
monstr has joined #u-boot
06:08
jfsimon1981_b has quit [Remote host closed the connection]
06:50
zsoltiv_ has quit [Quit: Left]
06:50
zsoltiv_ has joined #u-boot
07:06
rainbyte has quit [Read error: Connection reset by peer]
07:07
rainbyte has joined #u-boot
07:11
linfax has joined #u-boot
07:21
KREYREN_ has joined #u-boot
07:21
KREYREN has quit [Remote host closed the connection]
07:24
<
apalos >
marex: you have a few options,
07:25
<
apalos >
marex: EFI usually uses the DT that's bundled with u-boot -- but you can override it and load your own with bootefi command
07:43
frieder has joined #u-boot
07:51
GNUtoo_ has joined #u-boot
07:52
GNUtoo has quit [Ping timeout: 260 seconds]
08:03
sszy has joined #u-boot
08:21
<
apalos >
marex: FWIW EFI installs the DT as a config table
08:22
mripard has joined #u-boot
09:07
ikarso has joined #u-boot
09:42
mmu_man has joined #u-boot
09:53
rainbyte has quit [Read error: Connection reset by peer]
09:54
rainbyte has joined #u-boot
10:27
mmu_man has quit [Ping timeout: 252 seconds]
10:37
mmu_man has joined #u-boot
10:59
mmu_man has quit [Ping timeout: 255 seconds]
11:12
mmu_man has joined #u-boot
11:14
naoki has quit [Quit: naoki]
11:14
rvalue has joined #u-boot
11:25
rvalue has quit [Ping timeout: 264 seconds]
11:29
lixkel_ has joined #u-boot
11:34
naoki has joined #u-boot
11:35
dsimic has quit [Ping timeout: 268 seconds]
11:36
dsimic has joined #u-boot
11:49
<
marex >
apalos: seems like the boot scripts were still the distro bootcommand ones and they didnt find the DT
11:53
Net147 has quit [Quit: Quit]
11:53
<
apalos >
marex: havent checked that for ages tbh,
11:54
<
apalos >
but I know distros need a way of loading their own DT (like they used to )
11:54
<
apalos >
and the current bootefi format, were you have to explicitly load it manually isn't too helpful for them
11:55
Net147 has joined #u-boot
11:55
Net147 has joined #u-boot
11:55
Net147 has quit [Changing host]
11:56
monstr has quit [Ping timeout: 252 seconds]
12:03
goliath has quit [Quit: SIGSEGV]
12:09
slobodan_ has joined #u-boot
12:34
lane has quit [Write error: Connection reset by peer]
12:34
bryanb has quit [Write error: Broken pipe]
12:34
d4ve has quit [Remote host closed the connection]
12:34
lane has joined #u-boot
12:35
bryanb has joined #u-boot
12:35
d4ve has joined #u-boot
12:46
pgreco has quit [Ping timeout: 268 seconds]
13:02
Stat_headcrabed has joined #u-boot
13:02
Leopold has quit [Ping timeout: 260 seconds]
13:22
slobodan_ has quit [Ping timeout: 264 seconds]
13:30
slobodan has joined #u-boot
13:38
Stat_headcrabed has quit [Quit: Stat_headcrabed]
13:38
slobodan has quit [Remote host closed the connection]
13:39
KREYREN_ has quit [Remote host closed the connection]
13:40
KREYREN_ has joined #u-boot
13:53
slobodan has joined #u-boot
14:02
ikarso has quit [Quit: Connection closed for inactivity]
14:13
slobodan has quit [Remote host closed the connection]
14:15
slobodan has joined #u-boot
14:40
goliath has joined #u-boot
15:16
germ has joined #u-boot
15:23
germ has quit [Changing host]
15:23
germ has joined #u-boot
15:23
Stat_headcrabed has joined #u-boot
15:24
Stat_headcrabed has quit [Client Quit]
15:40
sakman has joined #u-boot
15:45
ikarso has joined #u-boot
16:31
vagrantc has joined #u-boot
17:17
pgreco has joined #u-boot
17:33
f_ has quit [Read error: Connection reset by peer]
17:50
f_ has joined #u-boot
17:59
jclsn has quit [Quit: WeeChat 4.2.1]
18:00
jclsn has joined #u-boot
18:05
ikarso has quit [Quit: Connection closed for inactivity]
18:09
zear_ has joined #u-boot
18:09
jclsn has quit [Quit: WeeChat 4.2.1]
18:10
rfried8 has joined #u-boot
18:10
Hypfer1 has joined #u-boot
18:11
pbsds9 has joined #u-boot
18:11
f__ has joined #u-boot
18:11
aat596_ has joined #u-boot
18:11
bern_ has joined #u-boot
18:11
m5zs7k_ has joined #u-boot
18:11
jclsn has joined #u-boot
18:12
bern has quit [Ping timeout: 260 seconds]
18:12
agraf has quit [Ping timeout: 260 seconds]
18:12
marcan has quit [Ping timeout: 260 seconds]
18:12
m5zs7k has quit [Quit: m5zs7k]
18:12
crazy_imp has quit [Ping timeout: 264 seconds]
18:12
marex has quit [Ping timeout: 264 seconds]
18:12
njha has quit [Ping timeout: 264 seconds]
18:12
bq has quit [Ping timeout: 264 seconds]
18:12
bern_ is now known as bern
18:12
njha has joined #u-boot
18:12
f_ has quit [Ping timeout: 260 seconds]
18:12
pbsds has quit [Ping timeout: 260 seconds]
18:12
CounterPillow has quit [Ping timeout: 260 seconds]
18:12
rfried has quit [Ping timeout: 260 seconds]
18:12
Hypfer has quit [Ping timeout: 260 seconds]
18:12
MWelchUK has quit [Ping timeout: 260 seconds]
18:12
Hypfer1 is now known as Hypfer
18:12
pbsds9 is now known as pbsds
18:12
rfried8 is now known as rfried
18:12
bq has joined #u-boot
18:13
CounterPillow has joined #u-boot
18:13
aat596_ is now known as aat596
18:13
aat596 has quit [Read error: Connection reset by peer]
18:13
zear has quit [Ping timeout: 260 seconds]
18:13
zear_ is now known as zear
18:13
marex has joined #u-boot
18:13
crazy_imp has joined #u-boot
18:14
f__ is now known as f_
18:15
marcan has joined #u-boot
18:16
agraf has joined #u-boot
18:19
redbrain has quit [Read error: Connection reset by peer]
18:19
redbrain_ has joined #u-boot
18:20
m5zs7k_ is now known as m5zs7k
19:34
jagan6 has joined #u-boot
19:40
ikarso has joined #u-boot
20:00
qqq has joined #u-boot
20:15
jagan6 has quit [Ping timeout: 250 seconds]
20:58
sakman has quit [Remote host closed the connection]
21:20
sakman has joined #u-boot
21:25
apritzel has joined #u-boot
21:25
apritzel has left #u-boot [Leaving]
21:45
slobodan has quit [Read error: Connection reset by peer]
21:46
frieder has quit [Remote host closed the connection]
21:47
slobodan has joined #u-boot
22:14
joeskb7 has quit [Quit: Lost terminal]
22:29
ikarso has quit [Quit: Connection closed for inactivity]
22:37
naoki has quit [Quit: naoki]
22:39
Leopold has joined #u-boot
22:44
slobodan has quit [Read error: Connection reset by peer]
22:46
slobodan has joined #u-boot
22:50
slobodan has quit [Read error: Connection reset by peer]
22:51
slobodan has joined #u-boot
22:55
slobodan has quit [Read error: Connection reset by peer]
22:56
slobodan has joined #u-boot
23:05
Leopold has quit [Remote host closed the connection]
23:06
Leopold has joined #u-boot
23:28
naoki has joined #u-boot
23:32
slobodan has quit [Read error: Connection reset by peer]
23:38
haritz has quit [Ping timeout: 272 seconds]
23:40
haritz has joined #u-boot
23:42
haritz has quit [Changing host]
23:42
haritz has joined #u-boot
23:47
vagrantc has quit [Quit: leaving]