*** tpb has joined #litex | 00:00 | |
*** rohitksingh has quit IRC | 01:47 | |
*** rohitksingh has joined #litex | 02:01 | |
*** Degi_ has joined #litex | 02:15 | |
*** Degi has quit IRC | 02:17 | |
*** Degi_ is now known as Degi | 02:17 | |
*** futarisIRCcloud has quit IRC | 02:34 | |
*** futarisIRCcloud has joined #litex | 05:13 | |
*** HoloIRCUser has joined #litex | 07:19 | |
*** HoloIRCUser1 has quit IRC | 07:19 | |
*** CarlFK has quit IRC | 07:29 | |
*** CarlFK has joined #litex | 07:31 | |
*** gregdavill has joined #litex | 10:09 | |
*** _whitelogger has quit IRC | 10:24 | |
*** _whitelogger has joined #litex | 10:26 | |
*** gregdavill has quit IRC | 10:54 | |
*** rohitksingh has quit IRC | 11:46 | |
*** ambro718 has joined #litex | 13:50 | |
*** HoloIRCUser1 has joined #litex | 15:04 | |
*** HoloIRCUser has quit IRC | 15:07 | |
sajattack[m] | am I the only one getting a kernel panic running spisdcardboot? | 17:08 |
---|---|---|
somlo | works great for me booting (bbl(linux-riscv64(busybox))) on litex+rocket | 17:19 |
sajattack[m] | post #435 and #436? | 17:19 |
somlo | at litex commit c547b2cc (as of a few hours ago | 17:20 |
sajattack[m] | hrm | 17:21 |
sajattack[m] | maybe my buildroot got messed | 17:21 |
somlo | actually, much faster than before (with the reclocking thing) | 17:22 |
sajattack[m] | let me try the official images | 17:22 |
somlo | not sure about buildroot -- I have busybox built into the kernel, wrapped inside BBL, as a single boot.bin file | 17:22 |
somlo | now I need to figure out how to make the SPI-mode SDCard visible to the Linux kernel, so I can mount it once I'm done booting | 17:25 |
somlo | I know there's "mmc_spi" to start, but no idea if it'll work out of the box or if it might need a bit of "surgery" first :) | 17:26 |
sajattack[m] | I keep getting this https://ghostbin.co/paste/rp7p4 | 17:33 |
tpb | Title: rp7p4 - Ghostbin (at ghostbin.co) | 17:34 |
sajattack[m] | or some variation thereof | 17:34 |
sajattack[m] | sometimes it says the initramfs contains junk or something | 17:34 |
sajattack[m] | other times it kernel panics even earlier | 17:34 |
somlo | sajattack[m]: fwiw, we're exercising different #ifdef branches of spisdcardboot(), but we both have at least one spi_sdcard_readFile() and one boot() call in there | 17:35 |
sajattack[m] | ok | 17:36 |
somlo | so I think those work fine for both of us. It's what happens once you jump to the data you transferred over into memory that things go south for you | 17:36 |
sajattack[m] | yeah | 17:36 |
sajattack[m] | memtest is ok | 17:36 |
sajattack[m] | but maybe the sdcard is dirty somehow | 17:37 |
somlo | could be the stuff you transfer over is already corrupted somehow, or maybe some overrun of some kind ? | 17:37 |
somlo | I haven't played with vexriscv linux, so I don't know much about all the ways it can go wrong | 17:38 |
sajattack[m] | it worked before reclocking | 17:39 |
somlo | easy (if maybe a bit time consuming) would be to check out a pre-reclocking commit and build that, see if reclocking consistently breaks it for you | 17:39 |
sajattack[m] | yeah | 17:39 |
somlo | i.e, "git bisect" :) | 17:39 |
somlo | then you'd have a specific commit to blame for your troubles, and a slightly smaller problem space to deal with | 17:40 |
sajattack[m] | idk git bisect but I can git log and git checkout | 17:42 |
somlo | sajatacc[m]: web‪chick.net/node/99 (there's many more guides if you google) | 17:43 |
somlo | you'll love it :) | 17:43 |
somlo | pick a commit that works, pick one that breaks, let git tell you which ones to try until you find the one that broke your stuff | 17:44 |
sajattack[m] | cool | 17:44 |
sajattack[m] | `2bf31a31da336b628825aced248396b8ba3e3105 is the first bad commit` | 18:10 |
sajattack[m] | as I suspected | 18:10 |
*** HoloIRCUser has joined #litex | 19:18 | |
*** HoloIRCUser1 has quit IRC | 19:21 | |
*** tucanae47 has joined #litex | 19:35 | |
*** rohitksingh has joined #litex | 20:47 | |
*** HoloIRCUser2 has joined #litex | 22:32 | |
*** HoloIRCUser has quit IRC | 22:32 | |
*** Degi has quit IRC | 22:32 | |
*** peepsalot has quit IRC | 22:54 | |
*** gregdavill has joined #litex | 23:14 | |
*** peepsalot has joined #litex | 23:21 | |
*** HoloIRCUser2 has quit IRC | 23:24 | |
*** HoloIRCUser has joined #litex | 23:24 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!