Closed sebeaumont closed 2 years ago
Same ballgame -- indeed same gateware I stuck on sd card -- boots ok when I use my trusty raspberry pi4...
[ 76.946099] mmc0: error -22 whilst initialising MMC card
[ 76.969776] litex-mmc f0004800.mmc: Requested clk_freq=0: set to 195312 via div=256
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: [ 184.725613] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting network: OK
Welcome to Buildroot
buildroot login: root
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \ /
/____/_/_//_/\_,_//_\_\
/ _ \/ _ \
__ _ __ _ _\___/_//_/ ___ _
/ / (_) /____ | |/_/__| | / /____ __ / _ \(_)__ _____ __
/ /__/ / __/ -_)> </___/ |/ / -_) \ // , _/ (_-</ __/ |/ /
/____/_/\__/\__/_/|_|____|___/\__/_\_\/_/|_/_/___/\__/|___/
/ __/ |/ / _ \
_\ \/ /|_/ / ___/
/___/_/ /_/_/
32-bit RISC-V Linux running on LiteX / VexRiscv-SMP.
login[72]: root login on 'console'
root@buildroot:~#
😀
BTW: building buildroot according to README.md I'm getting Incorrect selection of kernel headers: expected 5.16.x, got 5.14.x
not sure where to adjust this.
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y in https://github.com/litex-hub/linux-on-litex-vexriscv/tree/master/buildroot/configs :)
If that works, can you open a PR ?
@Dolu1990 If that means starting over with the build... I maybe some time...
Yes ^^ likely the best is to restart the build, they maybe ways to avoid it, but for sanity reasons, best to take the safe long road first XD
Thanks for the PR ^^
Is it worth considering an update to a later kernel?
I'm not sure who is handeling the litex linux kernel fork. @mithro what is the situation on that side ?
https://github.com/litex-hub/linux/tree/litex-rebase is at v5.18-rc3, and working fine on my OrangeCrab.
Then i guess it would be fine to update the kernel.
In some ways, myself, i'm avoiding any unecessary update as things may break secretly, and then it is literaly hell to figure out where the issue come from XD
Developping a CPU and getting it into a stable state can easly turn into madness / paranoia ^^
Thanks @sebeaumont, @Dolu1990 for looking at this. We can stick to v5.14 for now. I'll do a test with v5.18 and if working, will switch the project to it. (Otherwise @gsomlo has been maintaining the Linux Kernel fork).
On Mon, May 02, 2022 at 03:53:43AM -0700, enjoy-digital wrote:
(Otherwise @gsomlo has been maintaining the Linux Kernel fork).
I've been "curating" a list of LiteX specific out-of-tree kernel patches at https://github.com/litex-hub/linux/tree/litex-rebase
I'm testing (about once per day) the subset of those applicable to 64-bit Rocket configurations of LiteX.
If the tree contains an obvious bug that manifests on vexriscv (or any other LiteX-supported CPU model besides Rocket) I'm happy to apply additional patches tested by other members of the LiteX community.
@gsomlo ok thanks :) By the way, will you be in https://open-src-soc.org/2022-05/ ?
The initial issue has been fixed thanks to @sebeaumont's PRs, we can probably close this.
Any hints? I'm using freshly built gateware nothing fancy
./make.py --build --board ulx3s --device LFE5U-85F
but with binary blob of images. I'll try with a fresh build ofbuildroot