*** tpb has joined #litex | 00:00 | |
*** Degi_ has joined #litex | 00:11 | |
*** Degi has quit IRC | 00:13 | |
*** Degi_ is now known as Degi | 00:13 | |
*** daniellimws has joined #litex | 00:30 | |
*** CarlFK has quit IRC | 00:38 | |
*** CarlFK has joined #litex | 01:46 | |
*** futarisIRCcloud has joined #litex | 01:48 | |
*** tcal has joined #litex | 01:59 | |
*** Skip has quit IRC | 03:16 | |
*** _whitelogger has quit IRC | 06:03 | |
*** _whitelogger has joined #litex | 06:05 | |
*** CarlFK has quit IRC | 06:15 | |
*** HoloIRCUser has joined #litex | 06:32 | |
*** HoloIRCUser2 has quit IRC | 06:34 | |
*** HoloIRCUser1 has joined #litex | 07:27 | |
*** HoloIRCUser has quit IRC | 07:29 | |
futarisIRCcloud | https://groups.google.com/forum/#!msg/linux-litex/f0NaNtXYCds/f4R75jeWAgAJ | 07:43 |
---|---|---|
tpb | Title: Google Groups (at groups.google.com) | 07:43 |
*** CarlFK has joined #litex | 08:04 | |
*** CarlFK has quit IRC | 08:08 | |
*** borisnotes has joined #litex | 08:15 | |
*** borisnotes has quit IRC | 08:45 | |
*** futarisIRCcloud has quit IRC | 09:56 | |
*** rohitksingh has quit IRC | 12:17 | |
*** rohitksingh has joined #litex | 12:18 | |
*** Skip has joined #litex | 14:04 | |
*** palmer has quit IRC | 14:40 | |
*** tcal has quit IRC | 16:10 | |
*** tcal has joined #litex | 16:27 | |
*** HoloIRCUser has joined #litex | 16:35 | |
*** HoloIRCUser1 has quit IRC | 16:37 | |
*** futarisIRCcloud has joined #litex | 18:10 | |
*** CarlFK has joined #litex | 18:29 | |
*** Skip has quit IRC | 18:50 | |
*** Skip has joined #litex | 18:50 | |
Skip | What is the status of liteeth supprort in linux-on-litex-vexriscv? I'm adding liteeth to the pano_logic_g2 target in litex-buildenv and it's working in the BIOS, but I don't see any new network devices in linux. | 18:53 |
daveshah | Someone else can help with the details as I'm not up to date with the latest linux-on-litex-vexriscv | 19:08 |
daveshah | but you need to make sure the liteeth driver is included in the kernel | 19:09 |
daveshah | and there is a correct liteeth ethernet entry in the dts | 19:09 |
daveshah | I think the kernel should include liteeth by default, so the issue is probably on the dts side | 19:09 |
Skip | thanks for the pointer, I'll have a look. I'm just using the build-linux.sh from litex-buildenv, I haven't even looked at it. | 19:39 |
somlo | Skip: check out https://github.com/gsomlo/riscv-pk/blob/gls-litex-devel/machine/litex_rocket.dts for an example of a DT entry for liteeth | 20:51 |
tpb | Title: riscv-pk/litex_rocket.dts at gls-litex-devel · gsomlo/riscv-pk · GitHub (at github.com) | 20:51 |
*** acathla has quit IRC | 21:45 | |
*** Xesxen has quit IRC | 21:45 | |
*** acathla has joined #litex | 21:46 | |
*** Xesxen has joined #litex | 21:46 | |
*** tcal has quit IRC | 21:47 | |
*** somlo has quit IRC | 21:47 | |
*** tcal has joined #litex | 21:51 | |
*** somlo has joined #litex | 21:51 | |
*** tmbinc has joined #litex | 22:03 | |
tcal | daveshah: I recently played around with ethernet on arty a7 35T, had DNS running, could do a "traceroute amazon.com" from the linux prompt from the board. | 22:03 |
tmbinc | I was following https://github.com/timvideos/litex-buildenv/wiki/HowTo-Linux-on-Pano-Logic-G2 and it seems the memory map for image.json at the end is incorrect. Before doing a stupid edit, for me SDRAM memory ends up at 0x40000000, not 0xC0000000. Did that recently change, or am I missing something else? | 22:03 |
tpb | Title: HowTo Linux on Pano Logic G2 · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 22:04 |
tmbinc | With the right offsets, it boots into linux fine (on XC6SLX100)With the right offsets, it boots into linux fine (on XC6SLX100) | 22:04 |
tcal | daveshah: I made some config changes to my wifi router. Let me send a pointer to a little writeup I did, if it's useful | 22:04 |
tcal | skip: I'll try to find the info for you | 22:05 |
tcal | Sorry I can't figure out how to make the doc shareable and I need to run. But, it does work! | 22:15 |
*** HoloIRCUser1 has joined #litex | 22:15 | |
*** HoloIRCUser has quit IRC | 22:18 | |
*** HoloIRCUser has joined #litex | 22:19 | |
mithro | tmbinc: I think the values may have changed recently | 22:21 |
*** Guest16974 has joined #litex | 22:21 | |
*** HoloIRCUser1 has quit IRC | 22:22 | |
*** Guest16974 has quit IRC | 22:27 | |
tmbinc | where is emulator.bin supposed to reside? In main ram? I don't see linux leaving a hole for it here | 22:27 |
Skip | @tmbinc Good to know! I hadn't tried that yet. I didn't realized that the device type could be overridden when I added "Currently only the XC6SLX150 based versions are supported. | 22:28 |
Skip | But there isn't enough flash so it will be serial boot or netboot. | 22:28 |
Skip | I used the json from https://github.com/timvideos/litex-buildenv/wiki/HowTo-Linux-on-Pano-Logic-G2 successfully without any changes. | 22:29 |
tpb | Title: HowTo Linux on Pano Logic G2 · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 22:29 |
Skip | Thanks @somio, looking at it now. | 22:31 |
tmbinc | Skip: may depend on the litex version then? i'm on litex-buildenv fc8799adbc9 (litex 2d018826532e486) | 22:34 |
mithro | tmbinc: The hole for emulator.bin is only a new thing too | 22:37 |
tmbinc | Hm it's not here apparently - I'm loading the emulator to 41100000, which seems fine, but then linux crash once I use sufficient memory | 22:41 |
tmbinc | (which may or may not be related) | 22:41 |
Skip | @tmbinc according to build/pano_logic_g2_base_vexriscv.linux/test/csr.json: | 22:41 |
Skip | "emulator_ram": { | 22:41 |
Skip | i.e. 0x50000000 | 22:42 |
tmbinc | Hm I don't have this. | 22:43 |
tmbinc | which litex/litex-buildenv version are you on? | 22:43 |
tmbinc | and 0x50000000, is that sram? | 22:43 |
tmbinc | I feel I'm missing something here | 22:43 |
tmbinc | ah, wait: 78ee1e26d53add79eefdf349d9be57616bfc843d "After updating to the newer LiteX, emulator binary is located in the main ram and does not need a separate memory segment" | 22:44 |
Skip | I'm on a dirty branch derived from a0cb5fdf212350be92c53d16f293d4349b738d60 | 22:44 |
tmbinc | ok, 78ee is newer than that | 22:44 |
Skip | I've added SPI support for the Pano and Ethernet. | 22:45 |
tmbinc | ethernet, nice! | 22:45 |
Skip | Unfortunately it needed changes to liteeth | 22:46 |
Skip | There s BUFGMUX in .../gmii.py which drove me nuts. It causes an routing errors on the Pano. | 22:47 |
Skip | I'll try 78ee as soon as I get some bits locked down. | 22:49 |
Skip | Linux isn't seeing the Ethernet, I'm just starting to dig into the dts. | 22:50 |
tmbinc | can you boot from it already? | 22:51 |
Skip | Linux boots currently boots from SPI flash, power cycle the Pano (wait forever...) ... lInux prompt. | 22:52 |
Skip | There's a PR for it: https://github.com/timvideos/litex-buildenv/pull/410 | 22:53 |
tpb | Title: Panologic: Added SPI flash support. Successfully boots Linux from flash. by skiphansen · Pull Request #410 · timvideos/litex-buildenv · GitHub (at github.com) | 22:53 |
tmbinc | Ah, I thought the SPI flash was too small. Is that just for the XC6SLX100 version? | 22:54 |
Skip | It's too small on the LX100 version, it's fine on the LX150 version. There's even 3MB "spare" ... I'm going to try to do an overlay fw with it like OpenWRT "someday". | 22:58 |
Skip | The current bit file is uncompressed, some flash space can be free'ed by compressing it. | 22:59 |
Skip | If nothing else it'll load faster. | 22:59 |
Skip | https://github.com/skiphansen/pano_progfpga/blob/master/Series2.md#series-2-rev-ab-spi-memory-map | 23:00 |
tpb | Title: pano_progfpga/Series2.md at master · skiphansen/pano_progfpga · GitHub (at github.com) | 23:00 |
Skip | That's the SPI memory map for the original Pano image. | 23:01 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!