Sunday, 2021-11-14

*** tpb <[email protected]> has joined #litex00:00
*** mikek_DE1SOC <[email protected]> has joined #litex00:02
mikek_DE1SOChello all: Looking for HELP!!  I have mu DE1SOC board working with Linux, booted over serial. But Trying to toggle LEDs, as per here!00:06
mikek_DE1SOChttps://github.com/litex-hub/linux-on-litex-vexriscv/blob/master/HOWTO.md00:06
mikek_DE1SOCBut, The Class and GPIO do not seem to exist? Are they located somewhere else? Any help is eternally greatful!00:07
mikek_DE1SOChttps://news.ycombinator.com/item?id=2504062100:22
tpbTitle: Oh hey, I was just playing with this... it's really cool! There's a "Linux on Li... | Hacker News (at news.ycombinator.com)00:22
mikek_DE1SOCAlso Tried above, but did not work...00:23
mikek_DE1SOC:(00:23
openpowerwtfmay be dependent on platform definition, where physical pins are assigned01:50
mikek_DE1SOCThe Platform is the DE1SoC02:16
mikek_DE1SOChere's what I have for /sys/class02:17
mikek_DE1SOCoot@buildroot:/sys/class# ls -lrt02:17
mikek_DE1SOCtotal 002:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:00 net02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 vtconsole02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 vc02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 tty02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 spidev02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 spi_master02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 pwm02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 mtd02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 mmc_host02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 misc02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 mem02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 mdio_bus02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 input02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 i2c-dev02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 i2c-adapter02:17
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 hwmon02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 graphics02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 fpga_manager02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 drm02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 devlink02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 bsg02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 block02:18
mikek_DE1SOCdrwxr-xr-x    2 root     root             0 Jan  1 00:07 bdi02:18
mikek_DE1SOCThe other issue is that the memory location of the CSR are not the same, from the gateware to the Linux sys..  :(02:18
mikek_DE1SOCthe CSR output from my DE1SoC build...02:19
mikek_DE1SOC#--------------------------------------------------------------------------------02:20
mikek_DE1SOC# Auto-generated by Migen (a5bc262) & LiteX (46cd9c5a) on 2021-11-13 20:43:2702:20
mikek_DE1SOC#--------------------------------------------------------------------------------02:20
mikek_DE1SOCcsr_base,ctrl,0xf0000000,,02:20
mikek_DE1SOCcsr_base,identifier_mem,0xf0000800,,02:20
mikek_DE1SOCcsr_base,uart,0xf0001000,,02:20
mikek_DE1SOCcsr_base,timer0,0xf0001800,,02:20
mikek_DE1SOCcsr_base,led,0xf0002000,,02:20
mikek_DE1SOCcsr_base,sdram,0xf0002800,,02:20
mikek_DE1SOCcsr_base,switches,0xf0003000,,02:20
mikek_DE1SOCcsr_register,ctrl_reset,0xf0000000,1,rw02:20
mikek_DE1SOCcsr_register,ctrl_scratch,0xf0000004,1,rw02:20
mikek_DE1SOCcsr_register,ctrl_bus_errors,0xf0000008,1,ro02:20
mikek_DE1SOCcsr_register,uart_rxtx,0xf0001000,1,rw02:20
mikek_DE1SOCcsr_register,uart_txfull,0xf0001004,1,ro02:20
mikek_DE1SOCcsr_register,uart_rxempty,0xf0001008,1,ro02:20
mikek_DE1SOCcsr_register,uart_ev_status,0xf000100c,1,ro02:20
mikek_DE1SOCcsr_register,uart_ev_pending,0xf0001010,1,rw02:20
mikek_DE1SOCcsr_register,uart_ev_enable,0xf0001014,1,rw02:20
mikek_DE1SOCcsr_register,uart_txempty,0xf0001018,1,ro02:20
mikek_DE1SOCcsr_register,uart_rxfull,0xf000101c,1,ro02:20
mikek_DE1SOCcsr_register,timer0_load,0xf0001800,1,rw02:20
mikek_DE1SOCcsr_register,timer0_reload,0xf0001804,1,rw02:20
mikek_DE1SOCcsr_register,timer0_en,0xf0001808,1,rw02:20
mikek_DE1SOCcsr_register,timer0_update_value,0xf000180c,1,rw02:20
mikek_DE1SOCcsr_register,timer0_value,0xf0001810,1,ro02:20
mikek_DE1SOCcsr_register,timer0_ev_status,0xf0001814,1,ro02:20
mikek_DE1SOCcsr_register,timer0_ev_pending,0xf0001818,1,rw02:20
mikek_DE1SOCcsr_register,timer0_ev_enable,0xf000181c,1,rw02:20
mikek_DE1SOCcsr_register,led_out,0xf0002000,1,rw02:20
mikek_DE1SOCBut in the Linux system it points to a different Address location????02:21
mikek_DE1SOCroot@buildroot:/sys/bus/gpio/devices# ls -rlt02:21
mikek_DE1SOCtotal 002:21
mikek_DE1SOClrwxrwxrwx    1 root     root             0 Jan  1 00:31 gpiochip0 -> ../../../devices/platform/soc/f0003000.gpio/gpiochip002:21
mikek_DE1SOCroot@buildroot:/sys/bus/gpio/devices# 02:21
openpowerwtfdo the verilog i/o look ok?  serial, led, etc. pins are there?02:28
mikek_DE1SOCyup.02:29
mikek_DE1SOCLED are flashing right now... But with baremetal...02:29
openpowerwtfahhh, good...but i haven't gone the distance to linux yet :)02:32
*** Degi <[email protected]> has quit IRC (Ping timeout: 245 seconds)02:45
*** Degi <[email protected]> has joined #litex02:47
*** nereye <[email protected]> has joined #litex03:03
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex03:12
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 268 seconds)03:13
mikek_DE1SOCthanks for your help03:20
mikek_DE1SOCNight...03:20
*** mikek_DE1SOC <[email protected]> has quit IRC (Quit: Leaving)03:20
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex03:39
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 264 seconds)03:41
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex03:54
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 245 seconds)03:55
*** nereye <[email protected]> has quit IRC (Quit: Client closed)06:39
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)07:01
*** TMM_ <[email protected]> has joined #litex07:01
*** jeffdi <[email protected]> has quit IRC (Remote host closed the connection)09:09
*** MartoniQuiNaQuUn <MartoniQuiNaQuUn!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex12:59
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex12:59
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex15:14
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 256 seconds)15:15
*** jeffdi <[email protected]> has joined #litex16:18
*** smb784 <[email protected]> has quit IRC (Ping timeout: 260 seconds)18:12
*** smb784 <[email protected]> has joined #litex18:13
*** jeffdi <[email protected]> has quit IRC ()18:18
*** smb784 <[email protected]> has quit IRC (Remote host closed the connection)18:22
*** MartoniQuiNaQuUn <MartoniQuiNaQuUn!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Quit: Leaving)18:25
*** jeffdi <[email protected]> has joined #litex18:28
jeffdiHello.  This is Jeff DiCorpo from Efabless.com.  We are working on a project to utilize Litex to generate the management SoC block as part of a full ASIC design used by the Google sponsor Open MPW program.  The repo can be found hereā€¦ https://github.com/efabless/caravel_mgmt_soc_litex.18:33
*** shalan <[email protected]> has joined #litex18:49
openpowerwtfwould the user area then be a module also?19:07
*** shalan <[email protected]> has quit IRC (Quit: Leaving.)19:33
*** shalan <[email protected]> has joined #litex19:33
*** shalan <[email protected]> has quit IRC (Client Quit)19:34
sajattack[m]rad19:55
_florent_Hi jeffdi, nice, thanks for sharing. Happy to help if you have questions/issues or just want to discuss specific points20:03
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 268 seconds)20:17
sajattack[m]_florent_: any ideas why I'm having issues with crossover uart after a litex update?20:22
DerekKozel[m]Is Sean Blakley in the chat? I'd enjoy chatting about Thunderbolt. I have a udev script that could be useful for him.21:21
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)23:26
*** TMM_ <[email protected]> has joined #litex23:26

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