Sunday, 2020-11-15

*** tpb has joined #litex00:00
*** lf has joined #litex00:36
*** lf_ has quit IRC00:36
*** Dolu has quit IRC01:41
*** Degi has quit IRC02:15
*** Degi has joined #litex02:16
*** chantheman1288 has joined #litex04:43
chantheman1288Hi, I set up Linux on LiteX on Vexriscv booting from an SD card. Is there a way to setup persistent storage on the boot SD card?04:45
*** chantheman1288 has quit IRC04:47
*** chantheman1288 has joined #litex04:48
*** cjearls has quit IRC04:51
*** _whitelogger has quit IRC05:12
*** _whitelogger has joined #litex05:14
*** CarlFK has quit IRC05:37
*** _whitelogger has quit IRC06:48
*** _whitelogger has joined #litex06:50
*** _whitelogger has quit IRC07:57
*** _whitelogger has joined #litex07:59
*** TMM has quit IRC08:47
*** TMM has joined #litex08:47
*** Dolu has joined #litex10:19
*** bastelma1n has joined #litex12:44
chantheman1288Is there any way to set up persistent storage on an SD card that is being used to boot Linux on a LiteX Vexriscv setup?15:47
keesj how does it currently work?16:33
chantheman1288I currently have an orange crab board using LiteX on Linux on Vexriscv. I have the Linux boot files loaded on a FAT32 partition on the microSD card in the microSD slot on the board. When it receives power, it appears to boot, but the SD card storage appears to be inaccessible to Linux after boot16:48
chantheman1288I think after that point it's just running off a virtual file system, but I'm not sure16:49
_florent_chantheman1288: it's already possible in the dev branches but has not been merged yet in master. With current master the images are just copied to RAM at startup and the SDCard is not available in Linux.18:13
chantheman1288Is this the dev branch of LiteX, or of Linux-on-LiteX-Vexriscv?19:26
chantheman1288How would I try the dev branch instead of the master branch?19:27
*** CarlFK has joined #litex19:46
*** somlo has quit IRC19:59
*** somlo has joined #litex20:07
somlochantheman1288: if you're ok rebuilding your own kernel, you can try https://github.com/litex-hub/linux/tree/litex-rocket-rebase (don't let the name discourage you, it *should* be buildable and work on 32-bit vexriscv as wel)20:15
somloit's the latest there is in terms of litesdcard support (antmicro driver from "sdcard" branch with some updates and fixes)20:16
somlocurrently detects sdcard on boot or on first insertion -- re-insertion of sdcard after eject doesn't work yet20:16
chantheman1288I see. Thanks for your help20:31

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