futarisIRCcloud has quit [Quit: Connection closed for inactivity]
rohitksingh has quit [Quit: No Ping reply in 180 seconds.]
rohitksingh has joined #litex
Skip has joined #litex
palmer has quit [Quit: killed]
tcal has quit [Remote host closed the connection]
tcal has joined #litex
HoloIRCUser has joined #litex
HoloIRCUser1 has quit [Ping timeout: 240 seconds]
futarisIRCcloud has joined #litex
CarlFK has joined #litex
Skip has quit [Remote host closed the connection]
Skip has joined #litex
<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.
<daveshah>
Someone else can help with the details as I'm not up to date with the latest linux-on-litex-vexriscv
<daveshah>
but you need to make sure the liteeth driver is included in the kernel
<daveshah>
and there is a correct liteeth ethernet entry in the dts
<daveshah>
I think the kernel should include liteeth by default, so the issue is probably on the dts side
<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.
Xesxen has quit [Remote host closed the connection]
acathla has joined #litex
Xesxen has joined #litex
tcal has quit [Ping timeout: 265 seconds]
somlo has quit [Ping timeout: 265 seconds]
tcal has joined #litex
somlo has joined #litex
tmbinc has joined #litex
<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.
<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?
<tpb>
Title: HowTo Linux on Pano Logic G2 · timvideos/litex-buildenv Wiki · GitHub (at github.com)
<tmbinc>
With the right offsets, it boots into linux fine (on XC6SLX100)With the right offsets, it boots into linux fine (on XC6SLX100)
<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
<tcal>
skip: I'll try to find the info for you
<tcal>
Sorry I can't figure out how to make the doc shareable and I need to run. But, it does work!
HoloIRCUser1 has joined #litex
HoloIRCUser has quit [Ping timeout: 256 seconds]
HoloIRCUser has joined #litex
<mithro>
tmbinc: I think the values may have changed recently
Guest16974 has joined #litex
HoloIRCUser1 has quit [Ping timeout: 265 seconds]
Guest16974 has quit [Ping timeout: 265 seconds]
<tmbinc>
where is emulator.bin supposed to reside? In main ram? I don't see linux leaving a hole for it here
<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.
<Skip>
But there isn't enough flash so it will be serial boot or netboot.
<tpb>
Title: HowTo Linux on Pano Logic G2 · timvideos/litex-buildenv Wiki · GitHub (at github.com)
<Skip>
Thanks @somio, looking at it now.
<tmbinc>
Skip: may depend on the litex version then? i'm on litex-buildenv fc8799adbc9 (litex 2d018826532e486)
<mithro>
tmbinc: The hole for emulator.bin is only a new thing too
<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
<tmbinc>
(which may or may not be related)
<Skip>
@tmbinc according to build/pano_logic_g2_base_vexriscv.linux/test/csr.json:
<Skip>
"emulator_ram": {
<Skip>
i.e. 0x50000000
<tmbinc>
Hm I don't have this.
<tmbinc>
which litex/litex-buildenv version are you on?
<tmbinc>
and 0x50000000, is that sram?
<tmbinc>
I feel I'm missing something here
<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"
<Skip>
I'm on a dirty branch derived from a0cb5fdf212350be92c53d16f293d4349b738d60
<tmbinc>
ok, 78ee is newer than that
<Skip>
I've added SPI support for the Pano and Ethernet.
<tmbinc>
ethernet, nice!
<Skip>
Unfortunately it needed changes to liteeth
<Skip>
There s BUFGMUX in .../gmii.py which drove me nuts. It causes an routing errors on the Pano.
<Skip>
I'll try 78ee as soon as I get some bits locked down.
<Skip>
Linux isn't seeing the Ethernet, I'm just starting to dig into the dts.
<tmbinc>
can you boot from it already?
<Skip>
Linux boots currently boots from SPI flash, power cycle the Pano (wait forever...) ... lInux prompt.
<tpb>
Title: Panologic: Added SPI flash support. Successfully boots Linux from flash. by skiphansen · Pull Request #410 · timvideos/litex-buildenv · GitHub (at github.com)
<tmbinc>
Ah, I thought the SPI flash was too small. Is that just for the XC6SLX100 version?
<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".
<Skip>
The current bit file is uncompressed, some flash space can be free'ed by compressing it.