-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use stable buildroot-2024.05 with external tree #46
base: master
Are you sure you want to change the base?
Conversation
::sysinit:/bin/mkdir -p /run/lock/subsys /dev/shm /dev/pts | ||
::sysinit:/bin/mount -a | ||
::sysinit:/bin/hostname -F /etc/hostname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove hostname? Isn't that kind of important?
@@ -1,10 +1,8 @@ | |||
# <file system> <mount pt> <type> <options> <dump> <pass> | |||
/dev/root / ext2 rw,noauto 0 1 | |||
# /dev/root / ext2 rw,noauto 0 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are you mounting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it already mounted (initramfs)?
console::sysinit:echo "Welcome to mini-rv32ima Linux" | ||
console::respawn:/bin/login -f root | ||
#console::respawn:/bin/getty -L -n -L console 0 vt100 # GENERIC_SERIAL | ||
console::respawn:/bin/sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Login is important, without login, you can't send signals to apps
The latest mainline buildroot now supports no-MMU 32-bit RISC-V out of the box. This PR makes use of that, instead of the buildroot fork used until now. The BR2_EXTERNAL tree containing the HVC driver patch for the kernel, default configs and rootfs overlay is found in the buildroot_overlay folder, which replaces the old configs folder. I also added a gitignore file.