_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
tcal has quit [Ping timeout: 256 seconds]
HoloIRCUser has joined #litex
HoloIRCUser1 has joined #litex
<pdp7> gregdavill: is there a way for me to stop the crab from booting vexriscv and keep at the litex bios prompt?
<pdp7> when I open serial port /dev/ttyUSB0, it immediately boots
<gregdavill> Hmm, I suppose it's checking the FLASH, and seeing a valid image there...
HoloIRCUser2 has quit [Ping timeout: 240 seconds]
HoloIRCUser has quit [Ping timeout: 240 seconds]
<pdp7> ah, I just needed to be fast and hit ESC right away
<gregdavill> Ohh, that works? Neat.
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<sajattack[m]> spisdcardboot was added in the last week or so
<sajattack[m]> probably just hasn't made it into whatever codebase you're working from yet
<sajattack[m]> or hasn't been enabled
<sajattack[m]> have a look at make.py to enable it
<pdp7> gregdavill: do you have that in your build?
<sajattack[m]> looks like it's enabled on master
<pdp7> I got the bitstream I'm running on the crab from greg
<tpb> Title: GitHub - litex-hub/linux-on-litex-vexriscv-prebuilt: Prebuilt bitstreams / linux images for litex-on-litex-vexriscv repository (at github.com)
<pdp7> sajattack[m]: thanks
tcal has joined #litex
<gregdavill> for testing the spisdcardboot you'll need to load the bitstream _florent_ has made.
<pdp7> oh, so load it via dfu?
<pdp7> not just put it on sdcard
<gregdavill> Then put the Linux files on the SD card.
<gregdavill> This is specifically to load Linux files from the SD card instead of FLASH.
<pdp7> gregdavill: thanks, that was my misunderstanding
<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.
<pdp7> so something like:
<pdp7> dfu-util -d 1209:5bf0 -D top.bit ?
tcal has quit [Ping timeout: 240 seconds]
<gregdavill> Yep, that should do it.
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<pdp7> yeah thanks
HoloIRCUser has joined #litex
HoloIRCUser2 has joined #litex
Xesxen has quit [Ping timeout: 268 seconds]
Xesxen has joined #litex
HoloIRCUser1 has quit [Ping timeout: 246 seconds]
tcal has joined #litex
HoloIRCUser has quit [Ping timeout: 240 seconds]
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<gregdavill> So your card probably does need to be formatted as FAT16. Which might also mean trying to find a low capacity card? <2gb
Degi_ has joined #litex
Degi has quit [Ping timeout: 240 seconds]
Degi_ is now known as Degi
<pdp7> y4eah
<pdp7> did it manual with fdisk and mkfs.vfat
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Ping timeout: 246 seconds]
<pdp7> gregdavill: I get to
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<tpb> Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)
<sajattack[m]> spisdcardboot had troubles for me too but at a different spot
<sajattack[m]> and only after the reclocking
CarlFK has joined #litex
HoloIRCUser1 has joined #litex
HoloIRCUser has quit [Ping timeout: 264 seconds]
tcal has quit [Ping timeout: 250 seconds]
pdp7 has quit [Changing host]
_whitelogger has joined #litex
tnt has joined #litex
CarlFK has quit [Quit: Leaving.]
CarlFK has joined #litex
<dkozel> _florent_: JTAG arrived, installed, mostly working, bitstream programmed.
<dkozel> Trying to build the kernel driver now, missing some dependency so working on that now
gregdavill has quit [Ping timeout: 240 seconds]
scanakci has quit [Quit: Connection closed for inactivity]
<dkozel> netv2/software/kernel/main.c:604:54: error: unknown type name ‘poll_table’
<dkozel> 604 | static unsigned int litepcie_poll(struct file *file, poll_table *wait)
<dkozel> Hmm
<dkozel> Missing <linux/poll.h>?
<dkozel> also <linux/cdev.h>?
<dkozel> Usually that makes me guess my setup is broken somehow. With those the kernel module builds
<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
tcal has joined #litex
<pdp7> _florent_: I tried orangecrab_usb_cdc_spisdcard_no_reclocking.zip
<pdp7> but still stuck at Liftoff
<tpb> Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)
scanakci has joined #litex
tcal has quit [Ping timeout: 264 seconds]
HoloIRCUser has joined #litex
HoloIRCUser1 has quit [Read error: Connection reset by peer]
HoloIRCUser1 has joined #litex
<_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 ?
HoloIRCUser has quit [Ping timeout: 258 seconds]
Finde has quit [Quit: WeeChat 1.0.1]
Finde has joined #litex
tcal has joined #litex
<dkozel> no, dmesg shows nothing after loading the kernel
_whitelogger has joined #litex
CarlFK has quit [Ping timeout: 258 seconds]
_whitelogger has joined #litex
_whitelogger has joined #litex
<somlo> alternatively, try "--gateware-toolchain trellis"
<somlo> sorry, up-arrow + enter meant for a different window :)
gregdavill has joined #litex
<pdp7> hi gregdavill
<pdp7> dkozel: was just listening to you on the linux hamshack :)
rohitksingh has quit [Quit: No Ping reply in 180 seconds.]
rohitksingh has joined #litex
<gregdavill> G'day pdp7 o/
<pdp7> unfortunately still stuck at Liftoff on booting the Crab from SD
<pdp7> I wonder if there is are way for me to rebuild bitsream for testing different clock speeds with the SD card?
<tpb> Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)
<pdp7> trying another sd card
<pdp7> this time it ends with error Reading File [ROOTFS~1.CPI] into 0x40800000 : File not found
<pdp7> i don't understand why 65535 repeats over and over
<pdp7> "Clusters: 8 19 65105 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535" .... pages of this
<gregdavill> yeah, that doesn't seem right.