00:00
tpb has quit [Remote host closed the connection]
00:00
tpb has joined #litex
00:02
tcal has quit [Ping timeout: 256 seconds]
01:08
HoloIRCUser has joined #litex
01:09
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:10
<
pdp7 >
when I open serial port /dev/ttyUSB0, it immediately boots
01:11
<
gregdavill >
Hmm, I suppose it's checking the FLASH, and seeing a valid image there...
01:11
HoloIRCUser2 has quit [Ping timeout: 240 seconds]
01:12
HoloIRCUser has quit [Ping timeout: 240 seconds]
01:12
<
pdp7 >
ah, I just needed to be fast and hit ESC right away
01:13
<
gregdavill >
Ohh, that works? Neat.
01:16
<
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:17
<
sajattack[m] >
have a look at make.py to enable it
01:19
<
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
<
tpb >
Title: GitHub - litex-hub/linux-on-litex-vexriscv-prebuilt: Prebuilt bitstreams / linux images for litex-on-litex-vexriscv repository (at github.com)
01:20
<
pdp7 >
sajattack[m]: thanks
01:20
tcal has joined #litex
01:21
<
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: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:24
<
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:26
<
pdp7 >
so something like:
01:26
<
pdp7 >
dfu-util -d 1209:5bf0 -D top.bit ?
01:27
tcal has quit [Ping timeout: 240 seconds]
01:27
<
gregdavill >
Yep, that should do it.
01:38
HoloIRCUser has joined #litex
01:39
HoloIRCUser2 has joined #litex
01:39
Xesxen has quit [Ping timeout: 268 seconds]
01:39
Xesxen has joined #litex
01:40
HoloIRCUser1 has quit [Ping timeout: 246 seconds]
01:42
tcal has joined #litex
01:42
HoloIRCUser has quit [Ping timeout: 240 seconds]
02:01
<
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:04
Degi_ has joined #litex
02:07
Degi has quit [Ping timeout: 240 seconds]
02:07
Degi_ is now known as Degi
02:08
<
pdp7 >
did it manual with fdisk and mkfs.vfat
02:08
HoloIRCUser has joined #litex
02:10
HoloIRCUser2 has quit [Ping timeout: 246 seconds]
02:13
<
pdp7 >
gregdavill: I get to
02:15
<
tpb >
Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)
02:17
<
sajattack[m] >
spisdcardboot had troubles for me too but at a different spot
02:40
<
sajattack[m] >
and only after the reclocking
02:50
CarlFK has joined #litex
04:42
HoloIRCUser1 has joined #litex
04:47
HoloIRCUser has quit [Ping timeout: 264 seconds]
07:39
tcal has quit [Ping timeout: 250 seconds]
08:07
pdp7 has quit [Changing host]
08:09
_whitelogger has joined #litex
08:11
tnt has joined #litex
10:07
CarlFK has quit [Quit: Leaving.]
11:32
CarlFK has joined #litex
13:06
<
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:21
gregdavill has quit [Ping timeout: 240 seconds]
13:39
scanakci has quit [Quit: Connection closed for inactivity]
13:41
<
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:44
<
dkozel >
Missing <linux/poll.h>?
13:46
<
dkozel >
also <linux/cdev.h>?
13:46
<
dkozel >
Usually that makes me guess my setup is broken somehow. With those the kernel module builds
14:53
<
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
16:07
tcal has joined #litex
18:11
<
pdp7 >
_florent_: I tried orangecrab_usb_cdc_spisdcard_no_reclocking.zip
18:11
<
pdp7 >
but still stuck at Liftoff
18:11
<
tpb >
Title: Test SDCard boot with OrangeCrab · Issue #123 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)
18:21
scanakci has joined #litex
19:06
tcal has quit [Ping timeout: 264 seconds]
20:23
HoloIRCUser has joined #litex
20:23
HoloIRCUser1 has quit [Read error: Connection reset by peer]
20:24
HoloIRCUser1 has joined #litex
20:27
<
_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:28
HoloIRCUser has quit [Ping timeout: 258 seconds]
20:33
Finde has quit [Quit: WeeChat 1.0.1]
20:35
Finde has joined #litex
20:58
tcal has joined #litex
21:07
<
dkozel >
no, dmesg shows nothing after loading the kernel
21:19
_whitelogger has joined #litex
21:20
CarlFK has quit [Ping timeout: 258 seconds]
21:25
_whitelogger has joined #litex
21:31
_whitelogger has joined #litex
22:26
<
somlo >
alternatively, try "--gateware-toolchain trellis"
22:27
<
somlo >
sorry, up-arrow + enter meant for a different window :)
22:32
gregdavill has joined #litex
22:57
<
pdp7 >
hi gregdavill
22:57
<
pdp7 >
dkozel: was just listening to you on the linux hamshack :)
22:57
rohitksingh has quit [Quit: No Ping reply in 180 seconds.]
22:58
rohitksingh has joined #litex
22:59
<
gregdavill >
G'day pdp7 o/
23:19
<
pdp7 >
unfortunately still stuck at Liftoff on booting the Crab from SD
23:29
<
pdp7 >
I wonder if there is are way for me to rebuild bitsream for testing different clock speeds with the SD card?
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:56
<
pdp7 >
this time it ends with error Reading File [ROOTFS~1.CPI] into 0x40800000 : File not found
23:57
<
pdp7 >
i don't understand why 65535 repeats over and over
23:58
<
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.