*** tpb <[email protected]> has joined #litex | 00:00 | |
*** lexano <[email protected]> has joined #litex | 01:09 | |
*** lexano <[email protected]> has quit IRC (Read error: Connection reset by peer) | 01:17 | |
*** lexano <[email protected]> has joined #litex | 01:19 | |
*** bl0x <[email protected]> has joined #litex | 02:32 | |
*** bl0x_ <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 02:34 | |
*** Degi_ <[email protected]> has joined #litex | 04:44 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 04:44 | |
*** Degi_ is now known as Degi | 04: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 #litex | 07: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 #litex | 09:01 | |
*** _alice <[email protected]> has joined #litex | 09:01 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 09:16 | |
*** TMM_ <[email protected]> has joined #litex | 09:17 | |
acathla | I 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 |
---|---|---|
acathla | It'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 |
tnt | Well 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 #litex | 11:27 | |
*** Wolfvak_ <Wolfvak_!~Wolfvak@user/wolfvak> has joined #litex | 11:29 | |
*** rektide_ <[email protected]> has joined #litex | 11:31 | |
*** zyp_ <[email protected]> has joined #litex | 11:31 | |
*** sensille_ <[email protected]> has joined #litex | 11:31 | |
*** kbeckman1 <[email protected]> has joined #litex | 11: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 #litex | 11:38 | |
*** zyp_ is now known as zyp | 11:38 | |
*** Finde <[email protected]> has joined #litex | 11:42 | |
*** lambda <[email protected]> has joined #litex | 11:42 | |
*** sensille_ is now known as sensille | 11:55 | |
acathla | tnt, the platform does not include "spiflash4x" so I guessed it could not switch to 4x automatically | 12:18 |
zyp | acathla, the check only checks if the module itself has a quad read command | 12:36 |
zyp | https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/liblitespi/spiflash.c#L115 | 12:36 |
zyp | the define comes from here: https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L1776 | 12:37 |
acathla | ah, there is a #define SPIFLASH_MODULE_QUAD_CAPABLE but it's defined by the flash module, not the platform :( | 12:37 |
zyp | easiest way to disable it without patching litex is probably to provide a flash module description without the READ_1_1_4 command | 12:38 |
acathla | I just found that. Is there a del_constant? | 12:38 |
zyp | you could probably do something like «del soc.constants['SPIFLASH_MODULE_QUAD_CAPABLE']» | 12:39 |
acathla | zyp, 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 |
acathla | if SpiNorFlashOpCodes.READ_1_1_4 in module.supported_opcodes and mode == "4x": | 13:16 |
acathla | that fix in https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L1776 seems to work | 13:17 |
*** lexano <[email protected]> has joined #litex | 13:38 | |
zyp | I'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 modules | 13:40 |
*** zjason` is now known as zjason | 15:17 | |
*** lkcl <[email protected]> has joined #litex | 16:11 | |
*** so-offish <so-offish!~so-offish@2610:148:610:b66:c8be:cf13:ebe8:e359> has joined #litex | 16:45 | |
*** so-offishul <[email protected]> has joined #litex | 18: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 #litex | 18: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 #litex | 18: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 #litex | 18: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 #litex | 19: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 #litex | 19: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 #litex | 19: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 #litex | 19: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 #litex | 20:56 | |
*** so-offishul <[email protected]> has joined #litex | 20: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 #litex | 21:38 | |
*** acathla <[email protected]> has quit IRC (Quit: [Guru Meditation]) | 21:46 | |
*** so-offish <[email protected]> has joined #litex | 21:51 | |
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::b> has joined #litex | 21:52 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 21:55 | |
*** TMM_ <[email protected]> has joined #litex | 21:55 | |
*** so-offish <[email protected]> has quit IRC (Ping timeout: 255 seconds) | 21:56 | |
*** acathla <[email protected]> has joined #litex | 22: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 #litex | 23:32 | |
*** so-offish <so-offish!~so-offish@2610:148:610:2b10::3d> has joined #litex | 23:40 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!