Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tvlad1234
Copy link
Contributor

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.

::sysinit:/bin/mkdir -p /run/lock/subsys /dev/shm /dev/pts
::sysinit:/bin/mount -a
::sysinit:/bin/hostname -F /etc/hostname
Copy link
Owner

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are you mounting?

Copy link
Contributor Author

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants