marex changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2022.10, 2023.01-rc3 / Merge Window is CLOSED, -next is OPEN / Release v2023.01 is scheduled for 2023-01-09 / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has quit [Quit: leaving]
<apteryx> I guess none of the alternative SSL implementations are a dropped-in replacement to OpenSSL (100% compatible with its API?)
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
alpernebbi has quit [Read error: Connection reset by peer]
alpernebbi_ has joined #u-boot
<apteryx> OK, I managed to disable the openssl things
<apteryx> it's a bit weird because CONFIG_TOOLS_LIBCRYPTO doesn't really have a hand on it, it turns it on but not necessarily off
<apteryx> I had to disable CONFIG_FIT_SIGNATURE (and the things that pulled it in, such as RSA) and CONFIG_FIT_CIPHER
<apteryx> here's what the diff of the defconfig looks like after the modifications: https://paste.debian.net/1264799/
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #u-boot
<apteryx> RSA was not wholy disabled, just some SIGNATURE related stuff
<apteryx> fun! it works
thopiekar has quit [Ping timeout: 264 seconds]
thopiekar has joined #u-boot
haritz has quit [Ping timeout: 255 seconds]
haritz has joined #u-boot
haritz has quit [Changing host]
haritz has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
naoki has joined #u-boot
matthias_bgg has quit [Ping timeout: 272 seconds]
rfried has joined #u-boot
vagrantc has joined #u-boot
ikarso has joined #u-boot
mrnuke has quit [Ping timeout: 264 seconds]
vagrantc has quit [Quit: leaving]
tambarus has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
mrnuke has joined #u-boot
ebach has joined #u-boot
frieder has joined #u-boot
guillaume_g has joined #u-boot
frieder has quit [Remote host closed the connection]
mncheck has joined #u-boot
frieder has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
macromorgan has quit [Killed (calcium.libera.chat (Nickname regained by services))]
macromorgan has joined #u-boot
matthias_bgg has joined #u-boot
gsz has joined #u-boot
sszy has joined #u-boot
Algotech75 has joined #u-boot
mckoan|away is now known as mckoan
Algotech75 has quit [Ping timeout: 246 seconds]
hthiery has quit [Ping timeout: 260 seconds]
jkorsnes[m] has quit [Ping timeout: 248 seconds]
mripard has quit [Ping timeout: 260 seconds]
mvaittin has quit [Ping timeout: 246 seconds]
Dhruvag2000[m] has quit [Ping timeout: 252 seconds]
Tartarus1 has quit [Ping timeout: 260 seconds]
vitali64[m] has quit [Ping timeout: 265 seconds]
elvishjerricco has quit [Ping timeout: 246 seconds]
lespocky[m] has quit [Ping timeout: 246 seconds]
sylensky[m] has quit [Ping timeout: 252 seconds]
samueldr has quit [Ping timeout: 256 seconds]
Intel[m] has quit [Ping timeout: 252 seconds]
LinuxHackerman has quit [Ping timeout: 260 seconds]
par[m] has quit [Ping timeout: 264 seconds]
mvaittin has joined #u-boot
Intel[m] has joined #u-boot
vitali64[m] has joined #u-boot
mripard has joined #u-boot
hthiery has joined #u-boot
Algotech75 has joined #u-boot
jkorsnes[m] has joined #u-boot
Algotech75 has quit [Remote host closed the connection]
Tartarus1 has joined #u-boot
Dhruvag2000[m] has joined #u-boot
elvishjerricco has joined #u-boot
hramrach has quit [Ping timeout: 260 seconds]
monstr has joined #u-boot
LinuxHackerman has joined #u-boot
sylensky[m] has joined #u-boot
Chamindu has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
<Chamindu> how do i create a u-boot.env file for braglebone black?
lespocky[m] has joined #u-boot
samueldr has joined #u-boot
par[m] has joined #u-boot
Gravis has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
jsmolic has quit [Ping timeout: 260 seconds]
jsmolic has joined #u-boot
jsmolic has quit [Ping timeout: 272 seconds]
prabhakarlad has joined #u-boot
jsmolic has joined #u-boot
jsmolic has quit [Ping timeout: 246 seconds]
Chamindu has quit [Ping timeout: 260 seconds]
jsmolic has joined #u-boot
jsmolic has quit [Ping timeout: 246 seconds]
jsmolic has joined #u-boot
jsmolic has quit [Ping timeout: 248 seconds]
jsmolic has joined #u-boot
<tlwoerner> on boards, such as some of the rockchip ones, that have both emmc and sdmmc, is it possible to change the probe order dynamically (i.e. without a patch)?
ikarso has quit [Quit: Connection closed for inactivity]
<apteryx> hi! if I use both a uEnv.txt and a boot.scr, is the former going to be used too?
monstr has quit [Remote host closed the connection]
<marex> tlwoerner: probe order ?
<marex> tlwoerner: why would you care ?
<tlwoerner> marex: to save the environment
<tlwoerner> (but not the planet)
<tlwoerner> on the rock-pi-4b it can boot from either the emmc or the sdcard. in my case i don't have emmc, so i boot from the sdcard
<tlwoerner> but when i try to save the environment, it complains about the card not responding to voltage select (blah blah blah)
<tlwoerner> but switching the aliases, in code, will make it work for me
<tlwoerner> so i was wondering if there was a fancier way of doing it that didn't require a patch
<Forty-Bot> tlwoerner: the env selection is baked into the code
<Forty-Bot> typically it is static, but iirc you can also select it dynamically
<tlwoerner> using a patch is fine
* apteryx guesses uEnv.txt is obsolete
<marex> tlwoerner: board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c
<marex> tlwoerner: grep for MMC
mmu_man has quit [Ping timeout: 248 seconds]
<marex> tlwoerner: but hum, wait a minute
<marex> board/dhelectronics/dh_imx6/dh_imx6_spl.c ... this one ... board_mmc_get_env_dev()
<apteryx> how can I configure u-boot to *not* load a device tree? It shoud be already loaded in memory by the raspberry pi firmware I'm working with
<Forty-Bot> CONFIG_OF_BOARD
<marex> iirc that's already done in some fdtdec_board_setup or so
<marex> just inhibit that functionality
<marex> but then, wont you lose the crud firmware patches in ?
<apteryx> OK, that seems to be already on (OF_BOARD [=y])
<apteryx> the error I got when trying to boot the compressed Image kernel was: ERROR: Did not find a cmdline Flattened Device Tree
<apteryx> I'm trying to boot the stock kernel8.img 64 bit kernel provided by the raspberry pi official images
<sylensky[m]> apteryx: do you provide the address where the fdt is loaded to?
<sylensky[m]> apteryx: assuming you run the booti cmd
<apteryx> the default should be fine (0x02600000); I use "booti ${kernel_addr_r} - ${fdt_addr_r}" to boot the loaded kernel
<sylensky[m]> apteryx: rpi has some propriatary firmware which expects some files.. in your case you need the bcm2*.dtb in your boot partition which gets loaded from the videocore to 0x2eff... somewhere..
<sylensky[m]> apteryx: then you should be fine using ${fdt_addr_r}
<apteryx> just checked, fdt_addr_r is at 0x02600000 as expected
<sylensky[m]> apteryx: and is the dtb loaded?
<apteryx> the board is a rpi 4 B, so it should use the bcm2711-rpi-4-b.dtb which is there
<apteryx> sylensky[m]: how can I check if it's really loaded?
<apteryx> I guess I can load it manually and retry the booti
<sylensky[m]> apteryx: in the config.txt that the rpi wants to read upon start write uart_2ndstage=1 and enable_uart=1 then you see these related logs
<apteryx> ah, I guess it wasn't loaded, after loading it manually and retrying booti the kernel started (and crashed)
guillaume_g has quit [Quit: Konversation terminated!]
<apteryx> OK! I'll add uart_2ndstage=1 which I didn't have, thanks!
<sylensky[m]> does someone save the environment on a ext4 filesystem in a bare file and experience bad crc issues when trying to read the environment from the userspace?
<sylensky[m]> but reading from u-boot console it works just fine
persmule has quit [Ping timeout: 255 seconds]
persmule has joined #u-boot
<apteryx> sylensky[m]: interesting, I had to add 'device_tree_address=0x02600000' in config.txt
<apteryx> although I thought that should have been the default
<sylensky[m]> apteryx: wierd.. allthough iam booting with downstream dtb's mine gets loaded to 0x2eff2e00 as default. which works perfectly fine
mckoan is now known as mckoan|away
prabhakarlad has quit [Quit: Client closed]
<apteryx> my u-boot was built using rpi_arm64_defconfig
vagrantc has joined #u-boot
<sylensky[m]> apteryx: i used the same as a base but didnt change addresses related to dtb and kernel
<vagrantc> heya guix
<apteryx> vagrantc: wrong channel? :-) o/
<vagrantc> hah
frieder has quit [Remote host closed the connection]
* vagrantc is happy to see apteryx in #u-boot :)
prabhakarlad has joined #u-boot
<apteryx> hehe!
<apteryx> can a 64 bit u-boot boot a 32 bit zImage?
<apteryx> It looks like no: zimage: Bad magic!
* apteryx was never good at magic
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tambarus has quit [Quit: Connection closed for inactivity]
mmu_man has joined #u-boot
rburkholder has quit [Ping timeout: 268 seconds]
WoC has quit [Read error: Connection reset by peer]
WoC has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
prabhakarlad has quit [Quit: Client closed]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
vfazio has quit [Ping timeout: 272 seconds]
<marex> apteryx: it should be able to do, just switch to el2 arm32 iirc
gsz has quit [Ping timeout: 260 seconds]
camus has quit [Remote host closed the connection]
camus has joined #u-boot
umbramalison has joined #u-boot
<apteryx> what are the EL levels?
<apteryx> and how do I switch between them?
<marex> Execution Levels
<marex> arch/arm/lib/bootm.c: armv8_switch_to_el2((u64)images->ft_addr, 0, 0, 0,
<marex> I think that's the part of code you're looking for
<marex> i.e. u-boot does it for you
<marex> notice the ES_TO_AARCH32 flag
<apteryx> OK, I'll give it another go.
<apteryx> perhaps I was using the wrong file
vagrantc has quit [Quit: leaving]
mthall has quit [Ping timeout: 252 seconds]
mthall has joined #u-boot
mncheck has quit [Ping timeout: 260 seconds]
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
ebach has quit [Ping timeout: 272 seconds]
umbramalison has quit [Quit: %So long and thanks for all the fish%]