Wednesday, 2021-12-01

*** tpb <[email protected]> has joined #litex00:00
*** jeffdi1 <[email protected]> has joined #litex00:00
*** TMM_ <[email protected]> has joined #litex00:01
*** joseng <[email protected]> has joined #litex00:34
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)00:47
*** futarisIRCcloud <[email protected]> has joined #litex00:48
bjonnhguess what, just received an update from ulx3s…01:09
bjonnhso I'll have two boards01:09
*** Degi_ <[email protected]> has joined #litex02:12
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)02:13
*** Degi_ is now known as Degi02:13
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Quit: Connection reset by peep)05:13
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex05:15
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)05:33
*** TMM_ <[email protected]> has joined #litex05:33
trabucayreI suppose If I order something in digilent shop I will have VAT & customs fees to EU shipping ?06:19
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex06:20
tcalHmm, I can't get the litex-boards build for iCEBreaker (non-bitsy) to work.   The LEDchaser is working, but I can't connect to BIOS over the tty.   I feel like I'm forgetting something.    `./1bitsquared_icebreakder.py --cpu-variant=minimal --build --flash`.   I've tried vex:lite, vex:minimal, and serv.   I did try pushing the uButton, which does seem to reset it (looking at the LEDchaser), but still nothing over the tty.06:28
tcal(ignore the typo above, I retyped it here - the typo wasn't in the original command)06:30
tntAre you sure the issue doesn't lie with the way you connect to the tty ?06:32
tcalWell, I'm trying `lxterm --speed 115200`, but then realized I didn't know how to determine the baud rate from the build artifacts.06:33
tntand are you using ttyUSB1 ?06:35
tcalYep, that's what I see appear under /dev06:35
tcalSo yes, `lxterm --speed 115200 /dev/ttyUSB1` is the full command06:36
tnttbh I never used lxterm so no clue if that's correct. I just use minicom.06:36
*** FabM <FabM!~FabM@2a03:d604:103:600:ed20:d8b1:e315:ec79> has joined #litex06:43
tntMmm ... doesn't seem to work for me either FWIW06:46
tntOh nm, it works fine. pebkac06:54
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 252 seconds)07:09
tcalHmm, thanks for checking!   Which CPU / variant did you use?   And you met timing?07:10
tnti used your exact line from above.07:13
tntAnd no, it didn't meet timing.07:13
tntWarning: Max frequency for clock 'main_crg_clkout': 22.17 MHz (FAIL at 24.00 MHz)07:13
tcalThanks, yeah, I was missing with 23.xx, and then SERV met timing, but the SoC still didn't work for me.   I'll try again tomorrow I think :) 07:14
*** jeffdi1 <[email protected]> has quit IRC (Quit: Leaving.)09:09
*** essele_ <[email protected]> has quit IRC (Read error: Connection reset by peer)09:10
*** essele <[email protected]> has joined #litex09:10
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)09:27
*** zjason` is now known as zjason12:47
*** jeffdi1 <[email protected]> has joined #litex15:39
esseleCan anyone give me a clue how to add io pins to a project. I'm using a ulx3s and want to make use of pin B17. If I use "add_extension([("name", 0, Pins("B17"))])" then I get an "TypeError: 'NoneType' object is not iterable" error when requesting it. It works fine if I edit the litex-boards/platform file and add it in, but I'm trying to avoid that.16:09
acathlaessele, instead of specifying directly the pin, you must use the connector_number:pin_number16:41
acathlaI did it like that: serial = [ ("serial", 0, Subsignal("tx", Pins("J3:0")), ... )] Where J3 is the connector name and 0 pin number.16:43
acathlaAnd then I can do an add_extension(serial)16:43
esseleThanks @acathia .. but it's not on a connector, the pin is one of the expansion pins on the ulx3s (B17) which isn't mentioned at all in the platform file. Does that mean it's not possible? The only approach is to completely populate the platform file with all of the pins?17:01
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)17:16
*** TMM_ <[email protected]> has joined #litex17:16
mntmnhey so... i managed to integrate ultraembedded core_usb_host and core_ulpi_wrapper in litex, and the linux driver for it works as well. i just need to wire up 1 IRQ line somehow17:33
mntmnin the target python, i have a usb_host_intr = Signal()17:34
mntmnhow do i wire this up to the interrupt-controller?17:36
mntmn(sifive,fu540-c000-plic) 17:36
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 268 seconds)17:38
mntmnshould i use add_interrupt(self, interrupt_name, interrupt_id=None, use_loc_if_exists=False)?17:39
mntmnah, if i have this: self.comb += self.cpu.interrupt[16].eq(usb_host_intr)17:44
mntmnthat's interrupts = <16>; in the dts, yeah?17:44
jersey99_florent_ Any wisdom on the boot/serialboot?18:03
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex18:38
_florent_jersey99: is the demo.bin the binary generated with litex_bare_metal_demo? Have you adapted the address (it seems you use 0x2000_0000, the demo probably uses 0x4000_0000 (main_ram)?18:39
_florent_Also it seem you are using endianness="big", RISC-V CPU are "little"18:41
jersey99Oh .. Let me look at that!18:41
jersey99very likely the big/little18:41
jersey99I think the addresses are fine. Unless there is a hard coded address inside the demo itself18:41
jersey99_florent_ Thanks for getting back, this should help!18:46
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds)19:54
*** Degi <[email protected]> has joined #litex19:57
*** zjason` <zjason`[email protected]> has joined #litex20:27
*** zjason <[email protected]> has quit IRC (Ping timeout: 256 seconds)20:28
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 268 seconds)21:24
jersey99_florent_ I am wondering if this has something to do with address disparity between SerialBoot and RomBoot. I see that lxterm uses 0x4000_0000 as boot_address for serialboot. In my test code with kc705, I build the demo.bin with demo.py, and set the BOOT_ADDRESS explicitly in BaseSoC to 0x2000_0000, after loading that memory with demo.bin. Am I23:05
jersey99missing something?23:05
jersey99I think I may have a lead after looking at boot.c23:15
jersey99Actually, I don't. Looks like ROM_BOOT_ADDRESS is all I have. For a second I got confused with FLASH_BOOT_ADDRESS23:17
mithroPeople here might find https://twitter.com/proppy/status/1466020384063430657?s=20 interesting23:31

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