Saturday, 2020-03-21

*** tpb has joined #litex00:00
*** rohitksingh has quit IRC01:47
*** rohitksingh has joined #litex02:01
*** Degi_ has joined #litex02:15
*** Degi has quit IRC02:17
*** Degi_ is now known as Degi02:17
*** futarisIRCcloud has quit IRC02:34
*** futarisIRCcloud has joined #litex05:13
*** HoloIRCUser has joined #litex07:19
*** HoloIRCUser1 has quit IRC07:19
*** CarlFK has quit IRC07:29
*** CarlFK has joined #litex07:31
*** gregdavill has joined #litex10:09
*** _whitelogger has quit IRC10:24
*** _whitelogger has joined #litex10:26
*** gregdavill has quit IRC10:54
*** rohitksingh has quit IRC11:46
*** ambro718 has joined #litex13:50
*** HoloIRCUser1 has joined #litex15:04
*** HoloIRCUser has quit IRC15:07
sajattack[m]am I the only one getting a kernel panic running spisdcardboot?17:08
somloworks great for me booting (bbl(linux-riscv64(busybox))) on litex+rocket17:19
sajattack[m]post #435 and #436?17:19
somloat litex commit c547b2cc (as of a few hours ago17:20
sajattack[m]hrm17:21
sajattack[m]maybe my buildroot got messed17:21
somloactually, much faster than before (with the reclocking thing)17:22
sajattack[m]let me try the official images17:22
somlonot sure about buildroot -- I have busybox built into the kernel, wrapped inside BBL, as a single boot.bin file17:22
somlonow 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 booting17:25
somloI 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/rp7p417:33
tpbTitle: rp7p4 - Ghostbin (at ghostbin.co)17:34
sajattack[m]or some variation thereof17:34
sajattack[m]sometimes it says the initramfs contains junk or something17:34
sajattack[m]other times it kernel panics even earlier17:34
somlosajattack[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 there17:35
sajattack[m]ok17:36
somloso 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 you17:36
sajattack[m]yeah17:36
sajattack[m]memtest is ok17:36
sajattack[m]but maybe the sdcard is dirty somehow17:37
somlocould be the stuff you transfer over is already corrupted somehow, or maybe some overrun of some kind ?17:37
somloI haven't played with vexriscv linux, so I don't know much about all the ways it can go wrong17:38
sajattack[m]it worked before reclocking17:39
somloeasy (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 you17:39
sajattack[m]yeah17:39
somloi.e, "git bisect" :)17:39
somlothen you'd have a specific commit to blame for your troubles, and a slightly smaller problem space to deal with17:40
sajattack[m]idk git bisect but I can git log and git checkout17:42
somlosajatacc[m]: web‪chick.net/node/99 (there's many more guides if you google)17:43
somloyou'll love it :)17:43
somlopick a commit that works, pick one that breaks, let git tell you which ones to try until you find the one that broke your stuff17:44
sajattack[m]cool17:44
sajattack[m]`2bf31a31da336b628825aced248396b8ba3e3105 is the first bad commit`18:10
sajattack[m]as I suspected18:10
*** HoloIRCUser has joined #litex19:18
*** HoloIRCUser1 has quit IRC19:21
*** tucanae47 has joined #litex19:35
*** rohitksingh has joined #litex20:47
*** HoloIRCUser2 has joined #litex22:32
*** HoloIRCUser has quit IRC22:32
*** Degi has quit IRC22:32
*** peepsalot has quit IRC22:54
*** gregdavill has joined #litex23:14
*** peepsalot has joined #litex23:21
*** HoloIRCUser2 has quit IRC23:24
*** HoloIRCUser has joined #litex23:24

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