-
Notifications
You must be signed in to change notification settings - Fork 87
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
mips32 opkg missing? #15
Comments
Yeah opkg is not available on all arch yet, but you can use mips32el |
Q&A entry suggests:
It is a good idea but there is a complication, I think it needs to match libc between arm_now and donor project. For example, arm_now selects glibc by default (https://github.com/nongiach/arm_now/blob/master/arm_now/download.py#L59) while currently OpenWrt defaults to musl (and used to be uClibc). Note bootlin does have mips musl test-systems: https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/test-system/ PS. Great project arm_now! |
Tried to manually build arm_now directory using mips32--musl--stable-2021.11-1-rootfs.ext2 but having some issue..
|
However with directly launching qemu on the rootfs.ext2, it seems to work:
|
Ugh, and another complication: hardfloat vs softfloat. The bootlin image looks like hardfloat:
while OpenWrt packages (example strace) look like softfloat (note
so when trying to run the binary, it does not work:
|
However, as an alternative, OpenWrt initramfs works quite well under QEMU, and has opkg: https://openwrt.org/docs/guide-user/virtualization/qemu#openwrt_in_qemu_mips
|
Looks like opkg is missing from the mips32 image:
The text was updated successfully, but these errors were encountered: