How do people test 32bit #kernels today? What is an easy way to build a 32bit kernel and userspace?
=> More informations about this toot | More toots from brauner@mastodon.social
@brauner I build with ARCH=i386 and boot an older Debian image.
=> More informations about this toot | More toots from kees@fosstodon.org
@brauner i think buildroot is generally a good way to build kernel + userspace for about anything?
other than that, debian still ships a 32-bit distro for x86 and most other archs?
=> More informations about this toot | More toots from lkundrak@metalhead.club
@brauner for building a 32-bit x86 kernel I just deselect CONFIG_64BIT in make nconfig
... for the userspace part I don't have as good a suggestion. (On debian-based systems one way is to "debootstrap" a 32-bit system into a mount of a newly created filesystem image for the VM, but that's not building from source.)
=> More informations about this toot | More toots from jann@infosec.exchange
@brauner it would be pretty funny if you instead ran a 32-bit kernel with 64-bit userspace binaries executed through qemu-user-static hooked up through binfmt-misc ^^
(Though I don't actually know if qemu supports running emulated 64-bit code in a 32-bit environment...)
=> More informations about this toot | More toots from jann@infosec.exchange
@brauner I use yocto, but I'm not sure that qualifies as "easy"...
=> More informations about this toot | More toots from keithp@fosstodon.org
@brauner Guenter has a big collection of rootfs images for lots of arches you can download and use, eg. https://github.com/groeck/linux-build-test/tree/master/rootfs/x86
For building your own buildroot is easiest IME.
=> More informations about this toot | More toots from mpe@fosstodon.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini