Ewen McNeill

Results 94 comments of Ewen McNeill

I've made an attempt to divide up the large https://github.com/timvideos/litex-buildenv/commit/3a9127d08d8d0be9a68331bd71bf43fc216dbb26 submodule update, to narrow down what's causing the issue with the iCE40 HX8K/TinyFPGA BX. Sort of manually bisecting the submodule...

With some experimentation i've been able to get up to `litex` at the end of 2019-09-29, with `litedram` at 2019-09-11, and that works okay on the TinyFPGA BX. Very soon...

https://github.com/enjoy-digital/litex/commit/101f1b1cef749aea7d4b1a4897d74868eb77e6c6 also builds okay, which is the first 2019-09-30 commit. After that I have to update `litedram` to `5d1a9847aa805034e58eabf376e2807bfed7b133` to pick up code moved from `litex` to `litedram`, and then,...

Joy, it looks like https://github.com/enjoy-digital/litex/commit/8be5824e258b84df240d34636aaa539124b92c65 is the commit that removes `get_mem_regions()`, which means testing anything *before* that (eg, https://github.com/enjoy-digital/litex/commit/7b72148c4ed6f518397780d77aafe6df70937f9c) means that we have to revert `litex-buildenv` back to https://github.com/timvideos/litex-buildenv/commit/3a9127d08d8d0be9a68331bd71bf43fc216dbb26, without...

In the interests of science, I've tested the `litex` commit in the middle -- https://github.com/enjoy-digital/litex/commit/8be5824e258b84df240d34636aaa539124b92c65. As expected, the first failing combination (builds okay, but no output in serial after it...

In case it is useful for reference later, this is the difference in the `generated` directories between the last working revision combination and the first broken combination. In particular it...

So `FLASH_BOOT_ADDRESS` was removed in the relevant change: https://github.com/enjoy-digital/litex/commit/8be5824e258b84df240d34636aaa539124b92c65#diff-d35fa8f6bd2523ded61b8e55c30cf6c2L68-L74 There's a bunch of special case code in the `litex` BIOS `boot.c` when `FLASH_BOOT_ADDRESS` is defined: https://github.com/enjoy-digital/litex/blob/e801dc0261d7101b148135933f441ed82ca61da8/litex/soc/software/bios/boot.c#L361-L371 to do XIP (execute...

Of note, the `lm32-crt0.S` *also* has `EXECUTE_IN_PLACE` special cases: https://github.com/enjoy-digital/litex/blob/e801dc0261d7101b148135933f441ed82ca61da8/litex/soc/software/libbase/crt0-lm32.S#L115-L131 which is triggered by using `crt0-lm32-xip.o`: https://github.com/enjoy-digital/litex/blob/e801dc0261d7101b148135933f441ed82ca61da8/litex/soc/software/libbase/Makefile#L30-L31 And which one is used (`lm32-crt0-xip.o` / `lm32-crt0-ctr.o`) determines whether the BIOS will...

FTR, I've figured out where the `sram` size is being changed from `0x2800` to `0x4000`, and I think it's probably a mistake. (Or at least if it's being done deliberately,...

The litex code got changed a couple of times on 2019-10-29: https://github.com/enjoy-digital/litex/commit/4014fbffe135086e86020d6571832b0a8fd7d11f https://github.com/enjoy-digital/litex/commit/9fcf29738710f755ed45ad967eacd2287cd91a67 The first still adjusts *other* memory regions when checking, but it seems to me that the second...