*** tpb <[email protected]> has joined #litex | 00:00 | |
*** mikek_DE1SOC <[email protected]> has joined #litex | 00:02 | |
mikek_DE1SOC | hello 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_DE1SOC | https://github.com/litex-hub/linux-on-litex-vexriscv/blob/master/HOWTO.md | 00:06 |
mikek_DE1SOC | But, The Class and GPIO do not seem to exist? Are they located somewhere else? Any help is eternally greatful! | 00:07 |
mikek_DE1SOC | https://news.ycombinator.com/item?id=25040621 | 00:22 |
tpb | Title: 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_DE1SOC | Also Tried above, but did not work... | 00:23 |
mikek_DE1SOC | :( | 00:23 |
openpowerwtf | may be dependent on platform definition, where physical pins are assigned | 01:50 |
mikek_DE1SOC | The Platform is the DE1SoC | 02:16 |
mikek_DE1SOC | here's what I have for /sys/class | 02:17 |
mikek_DE1SOC | oot@buildroot:/sys/class# ls -lrt | 02:17 |
mikek_DE1SOC | total 0 | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:00 net | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 vtconsole | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 vc | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 tty | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 spidev | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 spi_master | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 pwm | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 mtd | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 mmc_host | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 misc | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 mem | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 mdio_bus | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 input | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 i2c-dev | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 i2c-adapter | 02:17 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 hwmon | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 graphics | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 fpga_manager | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 drm | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 devlink | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 bsg | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 block | 02:18 |
mikek_DE1SOC | drwxr-xr-x 2 root root 0 Jan 1 00:07 bdi | 02:18 |
mikek_DE1SOC | The other issue is that the memory location of the CSR are not the same, from the gateware to the Linux sys.. :( | 02:18 |
mikek_DE1SOC | the 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:27 | 02:20 |
mikek_DE1SOC | #-------------------------------------------------------------------------------- | 02:20 |
mikek_DE1SOC | csr_base,ctrl,0xf0000000,, | 02:20 |
mikek_DE1SOC | csr_base,identifier_mem,0xf0000800,, | 02:20 |
mikek_DE1SOC | csr_base,uart,0xf0001000,, | 02:20 |
mikek_DE1SOC | csr_base,timer0,0xf0001800,, | 02:20 |
mikek_DE1SOC | csr_base,led,0xf0002000,, | 02:20 |
mikek_DE1SOC | csr_base,sdram,0xf0002800,, | 02:20 |
mikek_DE1SOC | csr_base,switches,0xf0003000,, | 02:20 |
mikek_DE1SOC | csr_register,ctrl_reset,0xf0000000,1,rw | 02:20 |
mikek_DE1SOC | csr_register,ctrl_scratch,0xf0000004,1,rw | 02:20 |
mikek_DE1SOC | csr_register,ctrl_bus_errors,0xf0000008,1,ro | 02:20 |
mikek_DE1SOC | csr_register,uart_rxtx,0xf0001000,1,rw | 02:20 |
mikek_DE1SOC | csr_register,uart_txfull,0xf0001004,1,ro | 02:20 |
mikek_DE1SOC | csr_register,uart_rxempty,0xf0001008,1,ro | 02:20 |
mikek_DE1SOC | csr_register,uart_ev_status,0xf000100c,1,ro | 02:20 |
mikek_DE1SOC | csr_register,uart_ev_pending,0xf0001010,1,rw | 02:20 |
mikek_DE1SOC | csr_register,uart_ev_enable,0xf0001014,1,rw | 02:20 |
mikek_DE1SOC | csr_register,uart_txempty,0xf0001018,1,ro | 02:20 |
mikek_DE1SOC | csr_register,uart_rxfull,0xf000101c,1,ro | 02:20 |
mikek_DE1SOC | csr_register,timer0_load,0xf0001800,1,rw | 02:20 |
mikek_DE1SOC | csr_register,timer0_reload,0xf0001804,1,rw | 02:20 |
mikek_DE1SOC | csr_register,timer0_en,0xf0001808,1,rw | 02:20 |
mikek_DE1SOC | csr_register,timer0_update_value,0xf000180c,1,rw | 02:20 |
mikek_DE1SOC | csr_register,timer0_value,0xf0001810,1,ro | 02:20 |
mikek_DE1SOC | csr_register,timer0_ev_status,0xf0001814,1,ro | 02:20 |
mikek_DE1SOC | csr_register,timer0_ev_pending,0xf0001818,1,rw | 02:20 |
mikek_DE1SOC | csr_register,timer0_ev_enable,0xf000181c,1,rw | 02:20 |
mikek_DE1SOC | csr_register,led_out,0xf0002000,1,rw | 02:20 |
mikek_DE1SOC | But in the Linux system it points to a different Address location???? | 02:21 |
mikek_DE1SOC | root@buildroot:/sys/bus/gpio/devices# ls -rlt | 02:21 |
mikek_DE1SOC | total 0 | 02:21 |
mikek_DE1SOC | lrwxrwxrwx 1 root root 0 Jan 1 00:31 gpiochip0 -> ../../../devices/platform/soc/f0003000.gpio/gpiochip0 | 02:21 |
mikek_DE1SOC | root@buildroot:/sys/bus/gpio/devices# | 02:21 |
openpowerwtf | do the verilog i/o look ok? serial, led, etc. pins are there? | 02:28 |
mikek_DE1SOC | yup. | 02:29 |
mikek_DE1SOC | LED are flashing right now... But with baremetal... | 02:29 |
openpowerwtf | ahhh, 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 #litex | 02:47 | |
*** nereye <[email protected]> has joined #litex | 03:03 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 03:12 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 268 seconds) | 03:13 | |
mikek_DE1SOC | thanks for your help | 03:20 |
mikek_DE1SOC | Night... | 03:20 |
*** mikek_DE1SOC <[email protected]> has quit IRC (Quit: Leaving) | 03:20 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex | 03:39 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 264 seconds) | 03:41 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 03: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 #litex | 07: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 #litex | 12:59 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 12:59 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex | 15:14 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 256 seconds) | 15:15 | |
*** jeffdi <[email protected]> has joined #litex | 16:18 | |
*** smb784 <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 18:12 | |
*** smb784 <[email protected]> has joined #litex | 18: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 #litex | 18:28 | |
jeffdi | Hello. 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 #litex | 18:49 | |
openpowerwtf | would 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 #litex | 19:33 | |
*** shalan <[email protected]> has quit IRC (Client Quit) | 19:34 | |
sajattack[m] | rad | 19:55 |
_florent_ | Hi jeffdi, nice, thanks for sharing. Happy to help if you have questions/issues or just want to discuss specific points | 20: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 #litex | 23:26 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!