OpenCores
no use no use 1/1 no use no use
busybox source code for openrisc
by liushengli on Nov 3, 2015
liushengli
Posts: 5
Joined: Nov 2, 2015
Last seen: Nov 26, 2015
I want to recompile the busybox for my openrisc-linux test.Can someone provide a source code link of busybox with arch=openrisc? Thanks.
RE: busybox source code for openrisc
by olof on Nov 5, 2015
olof
Posts: 218
Joined: Feb 10, 2010
Last seen: Dec 17, 2018
Hi!

I did this about a week ago. You can use latest upstream busybox (I used 1.24.0, but 1.24.1 probably works fine too), and compiled it with the or1k-musl-linux toolchain. I had to disable the wtmp, utmp and rpc options, but otherwise it worked fine.

Use the following command to build

#Make default config
make CROSS_COMPILE=or1k-linux-musl- defconfig
#Edit the config to disable wtmp, utmp and rpc
make CROSS_COMPILE=or1k-linux-musl- menuconfig
#Build
make CROSS_COMPILE=or1k-linux-musl-
#Install binaries into ./install
make CROSS_COMPILE=or1k-linux-musl- install

Hope this helps

//Olof
no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.