*** tpb has joined #litex | 00:00 | |
*** tcal has quit IRC | 00:02 | |
*** HoloIRCUser has joined #litex | 01:08 | |
*** HoloIRCUser1 has joined #litex | 01:09 | |
pdp7 | gregdavill: is there a way for me to stop the crab from booting vexriscv and keep at the litex bios prompt? | 01:09 |
---|---|---|
pdp7 | when I open serial port /dev/ttyUSB0, it immediately boots | 01:10 |
gregdavill | Hmm, I suppose it's checking the FLASH, and seeing a valid image there... | 01:11 |
*** HoloIRCUser2 has quit IRC | 01:11 | |
*** HoloIRCUser has quit IRC | 01:12 | |
pdp7 | ah, I just needed to be fast and hit ESC right away | 01: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 |
gregdavill | Ohh, that works? Neat. | 01:13 |
pdp7 | https://www.irccloud.com/pastebin/z9BJVmPn/ | 01:14 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 01:14 |
sajattack[m] | spisdcardboot was added in the last week or so | 01:16 |
sajattack[m] | probably just hasn't made it into whatever codebase you're working from yet | 01:16 |
sajattack[m] | or hasn't been enabled | 01:16 |
sajattack[m] | have a look at make.py to enable it | 01:17 |
pdp7 | gregdavill: do you have that in your build? | 01:19 |
sajattack[m] | looks like it's enabled on master | 01:19 |
pdp7 | I got the bitstream I'm running on the crab from greg | 01:19 |
pdp7 | https://github.com/litex-hub/linux-on-litex-vexriscv-prebuilt | 01:19 |
tpb | Title: GitHub - litex-hub/linux-on-litex-vexriscv-prebuilt: Prebuilt bitstreams / linux images for litex-on-litex-vexriscv repository (at github.com) | 01:19 |
pdp7 | sajattack[m]: thanks | 01:20 |
*** tcal has joined #litex | 01:20 | |
gregdavill | for testing the spisdcardboot you'll need to load the bitstream _florent_ has made. | 01:21 |
pdp7 | oh, so load it via dfu? | 01:21 |
pdp7 | not just put it on sdcard | 01:21 |
gregdavill | So load this via DFU: https://github.com/litex-hub/linux-on-litex-vexriscv/files/4382870/orangecrab_usb_cdc_spisdcard.zip | 01:22 |
gregdavill | Then put the Linux files on the SD card. | 01:22 |
gregdavill | This is specifically to load Linux files from the SD card instead of FLASH. | 01:22 |
pdp7 | gregdavill: thanks, that was my misunderstanding | 01:24 |
gregdavill | I 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 |
pdp7 | so something like: | 01:26 |
pdp7 | dfu-util -d 1209:5bf0 -D top.bit ? | 01:26 |
*** tcal has quit IRC | 01:27 | |
gregdavill | Yep, that should do it. | 01:27 |
pdp7 | https://www.irccloud.com/pastebin/k9L8FOvu/ | 01:38 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 01:38 |
pdp7 | yeah thanks | 01:38 |
*** HoloIRCUser has joined #litex | 01:38 | |
*** HoloIRCUser2 has joined #litex | 01:39 | |
*** Xesxen has quit IRC | 01:39 | |
*** Xesxen has joined #litex | 01:39 | |
*** HoloIRCUser1 has quit IRC | 01:40 | |
*** tcal has joined #litex | 01:42 | |
*** HoloIRCUser has quit IRC | 01:42 | |
pdp7 | https://www.irccloud.com/pastebin/CXjz2wkU/ | 02:00 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 02:00 |
gregdavill | So your card probably does need to be formatted as FAT16. Which might also mean trying to find a low capacity card? <2gb | 02:01 |
*** Degi_ has joined #litex | 02:04 | |
*** Degi has quit IRC | 02:07 | |
*** Degi_ is now known as Degi | 02:07 | |
pdp7 | y4eah | 02:08 |
pdp7 | did it manual with fdisk and mkfs.vfat | 02:08 |
*** HoloIRCUser has joined #litex | 02:08 | |
*** HoloIRCUser2 has quit IRC | 02:10 | |
pdp7 | gregdavill: I get to | 02:13 |
pdp7 | https://www.irccloud.com/pastebin/6jbW4SEo/ | 02:13 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 02:13 |
pdp7 | full log https://github.com/litex-hub/linux-on-litex-vexriscv/issues/123#issuecomment-604187288 | 02:15 |
tpb | Title: 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 spot | 02:17 |
sajattack[m] | and only after the reclocking | 02:40 |
*** CarlFK has joined #litex | 02:50 | |
*** HoloIRCUser1 has joined #litex | 04:42 | |
*** HoloIRCUser has quit IRC | 04:47 | |
*** tcal has quit IRC | 07:39 | |
*** _whitelogger has quit IRC | 08:06 | |
*** scanakci has quit IRC | 08:06 | |
*** tucanae47 has quit IRC | 08:06 | |
*** pdp7 has quit IRC | 08:06 | |
*** daveshah has quit IRC | 08:06 | |
*** _florent_ has quit IRC | 08:06 | |
*** tnt has quit IRC | 08:06 | |
*** scanakci has joined #litex | 08:06 | |
*** tucanae47 has joined #litex | 08:06 | |
*** _florent_ has joined #litex | 08:06 | |
*** daveshah has joined #litex | 08:06 | |
*** pdp7 has joined #litex | 08:07 | |
*** pdp7 has quit IRC | 08:07 | |
*** pdp7 has joined #litex | 08:07 | |
*** _whitelogger has joined #litex | 08:09 | |
*** tnt has joined #litex | 08:11 | |
*** CarlFK has quit IRC | 10:07 | |
*** CarlFK has joined #litex | 11:32 | |
dkozel | _florent_: JTAG arrived, installed, mostly working, bitstream programmed. | 13:06 |
dkozel | Trying to build the kernel driver now, missing some dependency so working on that now | 13:06 |
*** gregdavill has quit IRC | 13:21 | |
*** scanakci has quit IRC | 13:39 | |
dkozel | netv2/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 |
dkozel | Hmm | 13:41 |
dkozel | Missing <linux/poll.h>? | 13:44 |
dkozel | also <linux/cdev.h>? | 13:46 |
dkozel | Usually that makes me guess my setup is broken somehow. With those the kernel module builds | 13:46 |
dkozel | I 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 tonight | 14:53 |
*** tcal has joined #litex | 16:07 | |
pdp7 | _florent_: I tried orangecrab_usb_cdc_spisdcard_no_reclocking.zip | 18:11 |
pdp7 | but still stuck at Liftoff | 18:11 |
pdp7 | https://github.com/litex-hub/linux-on-litex-vexriscv/issues/123#issuecomment-604582041 | 18:11 |
tpb | Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com) | 18:11 |
*** scanakci has joined #litex | 18:21 | |
*** tcal has quit IRC | 19:06 | |
*** HoloIRCUser has joined #litex | 20:23 | |
*** HoloIRCUser1 has quit IRC | 20:23 | |
*** HoloIRCUser1 has joined #litex | 20: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 IRC | 20:28 | |
*** Finde has quit IRC | 20:33 | |
*** Finde has joined #litex | 20:35 | |
*** tcal has joined #litex | 20:58 | |
dkozel | no, dmesg shows nothing after loading the kernel | 21:07 |
*** _whitelogger has quit IRC | 21:16 | |
*** _whitelogger has joined #litex | 21:19 | |
*** CarlFK has quit IRC | 21:20 | |
*** _whitelogger has quit IRC | 21:22 | |
*** _whitelogger has joined #litex | 21:25 | |
*** _whitelogger has quit IRC | 21:28 | |
*** _whitelogger has joined #litex | 21:31 | |
somlo | alternatively, try "--gateware-toolchain trellis" | 22:26 |
somlo | sorry, up-arrow + enter meant for a different window :) | 22:27 |
*** gregdavill has joined #litex | 22:32 | |
pdp7 | hi gregdavill | 22:57 |
pdp7 | dkozel: was just listening to you on the linux hamshack :) | 22:57 |
*** rohitksingh has quit IRC | 22:57 | |
*** rohitksingh has joined #litex | 22:58 | |
gregdavill | G'day pdp7 o/ | 22:59 |
pdp7 | unfortunately still stuck at Liftoff on booting the Crab from SD | 23:19 |
pdp7 | I wonder if there is are way for me to rebuild bitsream for testing different clock speeds with the SD card? | 23:29 |
pdp7 | https://github.com/litex-hub/linux-on-litex-vexriscv/issues/123#issuecomment-604744287 | 23:52 |
tpb | Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com) | 23:52 |
pdp7 | trying another sd card | 23:52 |
pdp7 | this time it ends with error Reading File [ROOTFS~1.CPI] into 0x40800000 : File not found | 23:56 |
pdp7 | i don't understand why 65535 repeats over and over | 23:57 |
pdp7 | "Clusters: 8 19 65105 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535" .... pages of this | 23:58 |
gregdavill | yeah, 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/!