Thursday, 2020-03-26

*** tpb has joined #litex00:00
*** tcal has quit IRC00:02
*** HoloIRCUser has joined #litex01:08
*** HoloIRCUser1 has joined #litex01:09
pdp7gregdavill: is there a way for me to stop the crab from booting vexriscv and keep at the litex bios prompt?01:09
pdp7when I open serial port /dev/ttyUSB0, it immediately boots01:10
gregdavillHmm, I suppose it's checking the FLASH, and seeing a valid image there...01:11
*** HoloIRCUser2 has quit IRC01:11
*** HoloIRCUser has quit IRC01:12
pdp7ah, I just needed to be fast and hit ESC right away01:12
pdp7![Screenshot from 2020-03-26 02-12-33](https://user-images.githubusercontent.com/313864/77600142-39005a00-6f07-11ea-9d14-67c0f8c635b7.png)01:12
gregdavillOhh, that works? Neat.01:13
pdp7https://www.irccloud.com/pastebin/z9BJVmPn/01:14
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)01:14
sajattack[m]spisdcardboot was added in the last week or so01:16
sajattack[m]probably just hasn't made it into whatever codebase you're working from yet01:16
sajattack[m]or hasn't been enabled01:16
sajattack[m]have a look at make.py to enable it01:17
pdp7gregdavill: do you have that in your build?01:19
sajattack[m]looks like it's enabled on master01:19
pdp7I got the bitstream I'm running on the crab from greg01:19
pdp7https://github.com/litex-hub/linux-on-litex-vexriscv-prebuilt01:19
tpbTitle: GitHub - litex-hub/linux-on-litex-vexriscv-prebuilt: Prebuilt bitstreams / linux images for litex-on-litex-vexriscv repository (at github.com)01:19
pdp7sajattack[m]: thanks01:20
*** tcal has joined #litex01:20
gregdavillfor testing the spisdcardboot you'll need to load the bitstream _florent_ has made.01:21
pdp7oh, so load it via dfu?01:21
pdp7not just put it on sdcard01:21
gregdavillSo load this via DFU: https://github.com/litex-hub/linux-on-litex-vexriscv/files/4382870/orangecrab_usb_cdc_spisdcard.zip01:22
gregdavillThen put the Linux files on the SD card.01:22
gregdavillThis is specifically to load Linux files from the SD card instead of FLASH.01:22
pdp7gregdavill: thanks, that was my misunderstanding01:24
gregdavillI have a separate bootloader that can load a bitstream off the SD card. But that was developed for the ButterStick needs a bit of porting work to get working on the Crab.01:24
pdp7so something like:01:26
pdp7dfu-util -d 1209:5bf0 -D top.bit ?01:26
*** tcal has quit IRC01:27
gregdavillYep, that should do it.01:27
pdp7https://www.irccloud.com/pastebin/k9L8FOvu/01:38
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)01:38
pdp7yeah thanks01:38
*** HoloIRCUser has joined #litex01:38
*** HoloIRCUser2 has joined #litex01:39
*** Xesxen has quit IRC01:39
*** Xesxen has joined #litex01:39
*** HoloIRCUser1 has quit IRC01:40
*** tcal has joined #litex01:42
*** HoloIRCUser has quit IRC01:42
pdp7https://www.irccloud.com/pastebin/CXjz2wkU/02:00
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)02:00
gregdavillSo your card probably does need to be formatted as FAT16. Which might also mean trying to find a low capacity card? <2gb02:01
*** Degi_ has joined #litex02:04
*** Degi has quit IRC02:07
*** Degi_ is now known as Degi02:07
pdp7y4eah02:08
pdp7did it manual with fdisk and mkfs.vfat02:08
*** HoloIRCUser has joined #litex02:08
*** HoloIRCUser2 has quit IRC02:10
pdp7gregdavill: I get to02:13
pdp7https://www.irccloud.com/pastebin/6jbW4SEo/02:13
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)02:13
pdp7full log https://github.com/litex-hub/linux-on-litex-vexriscv/issues/123#issuecomment-60418728802:15
tpbTitle: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)02:15
sajattack[m]spisdcardboot had troubles for me too but at a different spot02:17
sajattack[m]and only after the reclocking02:40
*** CarlFK has joined #litex02:50
*** HoloIRCUser1 has joined #litex04:42
*** HoloIRCUser has quit IRC04:47
*** tcal has quit IRC07:39
*** _whitelogger has quit IRC08:06
*** scanakci has quit IRC08:06
*** tucanae47 has quit IRC08:06
*** pdp7 has quit IRC08:06
*** daveshah has quit IRC08:06
*** _florent_ has quit IRC08:06
*** tnt has quit IRC08:06
*** scanakci has joined #litex08:06
*** tucanae47 has joined #litex08:06
*** _florent_ has joined #litex08:06
*** daveshah has joined #litex08:06
*** pdp7 has joined #litex08:07
*** pdp7 has quit IRC08:07
*** pdp7 has joined #litex08:07
*** _whitelogger has joined #litex08:09
*** tnt has joined #litex08:11
*** CarlFK has quit IRC10:07
*** CarlFK has joined #litex11:32
dkozel_florent_: JTAG arrived, installed, mostly working, bitstream programmed.13:06
dkozelTrying to build the kernel driver now, missing some dependency so working on that now13:06
*** gregdavill has quit IRC13:21
*** scanakci has quit IRC13:39
dkozelnetv2/software/kernel/main.c:604:54: error: unknown type name ‘poll_table’13:41
dkozel  604 | static unsigned int litepcie_poll(struct file *file, poll_table *wait)13:41
dkozelHmm13:41
dkozelMissing <linux/poll.h>?13:44
dkozelalso <linux/cdev.h>?13:46
dkozelUsually that makes me guess my setup is broken somehow. With those the kernel module builds13:46
dkozelI have the kernel module loaded but no /dev/litepcie device is present. Have to switch to some other stuff for a few hours, but will try to figure out the module tonight14:53
*** tcal has joined #litex16:07
pdp7_florent_: I tried orangecrab_usb_cdc_spisdcard_no_reclocking.zip18:11
pdp7 but still stuck at Liftoff18:11
pdp7https://github.com/litex-hub/linux-on-litex-vexriscv/issues/123#issuecomment-60458204118:11
tpbTitle: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)18:11
*** scanakci has joined #litex18:21
*** tcal has quit IRC19:06
*** HoloIRCUser has joined #litex20:23
*** HoloIRCUser1 has quit IRC20:23
*** HoloIRCUser1 has joined #litex20:24
_florent_dkozel: sorry, just saw your messages,  i could try to help more tomorrow. Just after loading the kernel module, can you do a dmesg to see if the litepcie device has been created correctly ?20:27
*** HoloIRCUser has quit IRC20:28
*** Finde has quit IRC20:33
*** Finde has joined #litex20:35
*** tcal has joined #litex20:58
dkozelno, dmesg shows nothing after loading the kernel21:07
*** _whitelogger has quit IRC21:16
*** _whitelogger has joined #litex21:19
*** CarlFK has quit IRC21:20
*** _whitelogger has quit IRC21:22
*** _whitelogger has joined #litex21:25
*** _whitelogger has quit IRC21:28
*** _whitelogger has joined #litex21:31
somloalternatively, try "--gateware-toolchain trellis"22:26
somlosorry, up-arrow + enter meant for a different window :)22:27
*** gregdavill has joined #litex22:32
pdp7hi gregdavill22:57
pdp7dkozel: was just listening to you on the linux hamshack :)22:57
*** rohitksingh has quit IRC22:57
*** rohitksingh has joined #litex22:58
gregdavillG'day pdp7  o/22:59
pdp7unfortunately still stuck at Liftoff on booting the Crab from SD23:19
pdp7I wonder if there is are way for me to rebuild bitsream for testing different clock speeds with the SD card?23:29
pdp7https://github.com/litex-hub/linux-on-litex-vexriscv/issues/123#issuecomment-60474428723:52
tpbTitle: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)23:52
pdp7trying another sd card23:52
pdp7this time it ends with error Reading File [ROOTFS~1.CPI] into 0x40800000 : File not found23:56
pdp7i don't understand why 65535 repeats over and over23:57
pdp7"Clusters: 8 19 65105 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535" .... pages of this23:58
gregdavillyeah, that doesn't seem right.23:58

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