Monday, 2023-02-13

*** tpb <[email protected]> has joined #litex00:00
*** lexano <[email protected]> has joined #litex01:09
*** lexano <[email protected]> has quit IRC (Read error: Connection reset by peer)01:17
*** lexano <[email protected]> has joined #litex01:19
*** bl0x <[email protected]> has joined #litex02:32
*** bl0x_ <[email protected]> has quit IRC (Ping timeout: 252 seconds)02:34
*** Degi_ <[email protected]> has joined #litex04:44
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds)04:44
*** Degi_ is now known as Degi04:44
*** so-offish1 <[email protected]> has quit IRC (Read error: Connection reset by peer)05:48
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex07:35
*** lexano <[email protected]> has quit IRC (*.net *.split)09:01
*** jk- <[email protected]> has quit IRC (*.net *.split)09:01
*** _alice <[email protected]> has quit IRC (*.net *.split)09:01
*** jk- <[email protected]> has joined #litex09:01
*** _alice <[email protected]> has joined #litex09:01
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:16
*** TMM_ <[email protected]> has joined #litex09:17
acathlaI have a new Lattice ice40up5k evn board and LiteX hangs during boot. I tried different CPU/git versions. With tag 2022.12, il boots, and hangs after "Initializing N25Q032A SPI Flash @0x00400000... Enabling Quad mode..."11:14
acathlaIt's a new flash MX25L3233F that is not yet available. And it's not wired to be available in 4x. I tried a different flash MX25L3235D, but it does the same. I'm not even sure the problem is with the flash...11:16
tntWell is you soc configured to not use it in quad mode ?11:16
*** nwest <nwest!~nathan@2601:5c1:4401:a3f0:2eb:b0db:e612:bc0d> has quit IRC (Ping timeout: 252 seconds)11:20
*** Advant- <Advant-!Advant@user/advant> has joined #litex11:27
*** Wolfvak_ <Wolfvak_!~Wolfvak@user/wolfvak> has joined #litex11:29
*** rektide_ <[email protected]> has joined #litex11:31
*** zyp_ <[email protected]> has joined #litex11:31
*** sensille_ <[email protected]> has joined #litex11:31
*** kbeckman1 <[email protected]> has joined #litex11:34
*** tnt <tnt!~tnt@osmocom/tnt> has quit IRC (*.net *.split)11:36
*** Finde <[email protected]> has quit IRC (*.net *.split)11:36
*** lambda <[email protected]> has quit IRC (*.net *.split)11:36
*** rektide <[email protected]> has quit IRC (*.net *.split)11:36
*** Advant <Advant!Advant@user/advant> has quit IRC (*.net *.split)11:36
*** sensille <[email protected]> has quit IRC (*.net *.split)11:36
*** kbeckmann <[email protected]> has quit IRC (*.net *.split)11:36
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has quit IRC (*.net *.split)11:36
*** zyp <[email protected]> has quit IRC (*.net *.split)11:36
*** tnt <tnt!~tnt@osmocom/tnt> has joined #litex11:38
*** zyp_ is now known as zyp11:38
*** Finde <[email protected]> has joined #litex11:42
*** lambda <[email protected]> has joined #litex11:42
*** sensille_ is now known as sensille11:55
acathlatnt, the platform does not include "spiflash4x" so I guessed it could not switch to 4x automatically12:18
zypacathla, the check only checks if the module itself has a quad read command12:36
zyphttps://github.com/enjoy-digital/litex/blob/master/litex/soc/software/liblitespi/spiflash.c#L11512:36
zypthe define comes from here: https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L177612:37
acathlaah, there is a #define SPIFLASH_MODULE_QUAD_CAPABLE but it's defined by the flash module, not the platform :(12:37
zypeasiest way to disable it without patching litex is probably to provide a flash module description without the READ_1_1_4 command12:38
acathlaI just found that. Is there a del_constant?12:38
zypyou could probably do something like «del soc.constants['SPIFLASH_MODULE_QUAD_CAPABLE']»12:39
acathlazyp, fake flash module works fine, thanks for the idea. del soc.constants does not work, or I put it at the wrong place.13:14
acathlaif SpiNorFlashOpCodes.READ_1_1_4 in module.supported_opcodes and mode == "4x": 13:16
acathlathat fix in https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L1776 seems to work13:17
*** lexano <[email protected]> has joined #litex13:38
zypI'm also not entirely sure the quad enable bit is in the same place in every flash module, I suspect that code might actually only work for some particular modules13:40
*** zjason` is now known as zjason15:17
*** lkcl <[email protected]> has joined #litex16:11
*** so-offish <so-offish!~so-offish@2610:148:610:b66:c8be:cf13:ebe8:e359> has joined #litex16:45
*** so-offishul <[email protected]> has joined #litex18:36
*** so-offishul <[email protected]> has quit IRC (Read error: Connection reset by peer)18:37
*** so-offish <so-offish!~so-offish@2610:148:610:b66:c8be:cf13:ebe8:e359> has quit IRC (Ping timeout: 255 seconds)18:40
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex18:44
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Read error: Connection reset by peer)18:47
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex18:48
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Read error: Connection reset by peer)18:57
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex18:57
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Read error: Connection reset by peer)19:05
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex19:05
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Quit: Leaving)19:10
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex19:10
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Read error: Connection reset by peer)19:11
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex19:12
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Read error: Connection reset by peer)19:12
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex19:13
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)20:33
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Read error: Connection reset by peer)20:55
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has joined #litex20:56
*** so-offishul <[email protected]> has joined #litex20:56
*** so-offish <so-offish!~so-offish@2610:148:610:b66:8dd3:31ee:a20d:eb4f> has quit IRC (Ping timeout: 255 seconds)21:00
*** so-offishul <[email protected]> has quit IRC (Ping timeout: 255 seconds)21:03
*** zjason <[email protected]> has quit IRC (Read error: Connection reset by peer)21:36
*** zjason <[email protected]> has joined #litex21:38
*** acathla <[email protected]> has quit IRC (Quit: [Guru Meditation])21:46
*** so-offish <[email protected]> has joined #litex21:51
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::b> has joined #litex21:52
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)21:55
*** TMM_ <[email protected]> has joined #litex21:55
*** so-offish <[email protected]> has quit IRC (Ping timeout: 255 seconds)21:56
*** acathla <[email protected]> has joined #litex22:00
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::b> has quit IRC (Quit: Leaving)22:00
*** manawyrm <[email protected]> has quit IRC (Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light))23:31
*** manawyrm <[email protected]> has joined #litex23:32
*** so-offish <so-offish!~so-offish@2610:148:610:2b10::3d> has joined #litex23:40

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!