Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.07.02, v2023.10-rc2 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2023.10 is scheduled for 02 October 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
Perflosopher has joined #u-boot
hanetzer has joined #u-boot
vagrantc has quit [Quit: leaving]
prabhakarlad has quit [Quit: Client closed]
ikarso has quit [Quit: Connection closed for inactivity]
mmu_man has quit [Ping timeout: 260 seconds]
alpernebbi has quit []
alpernebbi has joined #u-boot
sng has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
sng has quit [Remote host closed the connection]
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #u-boot
persmule has quit [Remote host closed the connection]
Leopold has quit [*.net *.split]
GNUtoo has quit [*.net *.split]
Leopold has joined #u-boot
GNUtoo has joined #u-boot
sng has joined #u-boot
sng_ has joined #u-boot
sng_ has quit [Remote host closed the connection]
sng_ has joined #u-boot
sng has quit [Ping timeout: 248 seconds]
gsz has joined #u-boot
sng has joined #u-boot
sng_ has quit [Read error: Connection reset by peer]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
indy has quit [Ping timeout: 246 seconds]
sng has quit [Remote host closed the connection]
indy_ has joined #u-boot
indy_ is now known as indy
sng has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
pgreco_ has joined #u-boot
sng has quit [Remote host closed the connection]
pgreco has quit [Ping timeout: 245 seconds]
sng has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
sng has quit [Ping timeout: 246 seconds]
sng has joined #u-boot
gsz has quit [Ping timeout: 246 seconds]
sng has quit [Ping timeout: 248 seconds]
sng has joined #u-boot
goliath has joined #u-boot
sng has quit [Ping timeout: 256 seconds]
sng has joined #u-boot
hanetzer has quit [Ping timeout: 240 seconds]
mmu_man has joined #u-boot
sng has quit [Ping timeout: 256 seconds]
<jybz> hello, i haven't been able to light up the .efi file. I tried to shift the address for loading the .efi by 4000h but it was not considered (still loading at 80000h) Any suggestions ? With the official dtb, when uboot tries to load the efi file, it refuses: ** Reading file would overwrite reserved memory **
prabhakar has quit [Ping timeout: 258 seconds]
sng has joined #u-boot
camus has quit [Remote host closed the connection]
hanetzer has joined #u-boot
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #u-boot
sng has quit [Read error: Connection reset by peer]
sng has joined #u-boot
sng has quit [Remote host closed the connection]
pgreco_ has quit [Ping timeout: 246 seconds]
pgreco has joined #u-boot
persmule has joined #u-boot
sng has joined #u-boot
sng_ has joined #u-boot
sng has quit [Ping timeout: 246 seconds]
mmu_man has quit [Ping timeout: 245 seconds]
sng_ has quit [Remote host closed the connection]
sng has joined #u-boot
pgreco has quit [Ping timeout: 246 seconds]
pgreco has joined #u-boot
mmu_man has joined #u-boot
sng has quit [Read error: Connection reset by peer]
sng_ has joined #u-boot
sng_ has quit [Ping timeout: 248 seconds]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
sng has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
ikarso has joined #u-boot
mmu_man has joined #u-boot
goliath has quit [Quit: SIGSEGV]
vagrantc has joined #u-boot
sng has quit [Read error: Connection reset by peer]
goliath has joined #u-boot
<marex> sjg1: do we have anything which tests block or disk uclasses ?
<sjg1> marex: Yes quite a few things test block uclasses. E.g. test/dm/blk.c and usb.c - also the bootstd tests rely on them indirectly
<sjg1> marex: For UCLASS_PARTITION, it seems a bit sparse. I suppose the tests in part.c could be a starting point
* marex holds back a rant about writing a test for test/cmd_ut.c :-X
<marex> sjg1: lemme take a look
<marex> sjg1: btw ... can you build sandbox and try ...
<marex> ./u-boot -Dc 'ut dm'
<marex> I get
<marex> test/dm/eth.c:517, dm_test_eth_async_arp_reply(): 0 == net_loop(PING): Expected 0x0 (0), got 0xffffffff (-1)
<marex> Segmentation fault
<marex> I guess 'ut dm eth' is enough to trigger this
<sjg1> marex: Seems like a bug. But the tests don't work with -D ... you need -T
<marex> is that new ?
alpha_one_x86 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<marex> sjg1: my notes indicate u-boot -Dc was the right way to run tests
<marex> ./u-boot -Tc 'ut dm dm_test_usb_flash'
<marex> test/dm/usb.c:53, dm_test_usb_flash(): 0 == blk_get_device_by_str("usb", "0", &dev_desc): Expected 0x0 (0), got 0xffffffed (-19)
<marex> also fails, odd
<sjg1> marex: Well -D only has some basic devices. Many tests use other ones which are in test.dts
<sjg1> The C tests rely on some things set up by Python
<marex> ./u-boot -Tc 'ut dm dm_test_blk*'
<marex> also does not work , fails with 8 failures
<marex> if I use -Dc , it fails with 12 failures
<sjg1> Yes, it needs things set up by Python
<sjg1> I use this alias:
<sjg1> 'pyt test_ut_dm_init' is enough to set up the files needed by unit tests
<sjg1> But you'll need to change --build-dir if you are building in-tree
<marex> sjg1: yeah, I just want a light-weight quick-to-run test which I can fast iterate
<marex> I guess with test.py, it will do a full rebuild all the time, with massive overhead , basically something I do not want ?
<sjg1> marex: Yes...I just use the above alias to set things up once, then run the C tests as you are doing
<sjg1> marex: But on my machine 'pyt test_ut_dm_init' only takes about 2 seconds
<sjg1> marex: Once the files are created you don't need to use the Python again
<marex> sjg1: just why not make the C code create those files ?
<marex> anyway, I seem to have at least mmc test working, good enough
<sjg1> marex: It's a hassle to write the code in C, Python is easier. See test/py/tests/test_ut.py for the code
<marex> ha
<marex> sjg1: let's see how sandbox64 fares in CI
<sjg1> marex: er, sadly it looks like we don't run it
hanetzer has quit [Quit: WeeChat 4.0.2]
ikarso has quit [Quit: Connection closed for inactivity]
<marex> sjg1: yet
<marex> sjg1: I am now looking at the disk uclass, ugh, the partition driver is truly weird
<marex> it ... gets block device descriptor from parent device (OK) but block ops for the actual partition device (and its driver, which exposes no block ops?)
prabhakar has joined #u-boot
prabhakarlad has joined #u-boot