Closed ghost closed 7 years ago
You have to install these binaries from busybox's menuconfig in order to use them. I think by selecting applets. @Seonghun94
Thanks @kllbrd the busybox menuconfig setting list is...
CONFIG_STATIC=y, listed as "Build BusyBox as a static binary (no shared libs)" in BusyBox Settings → Build Options CONFIG_CROSS_COMPILER_PREFIX=riscv64-unknown-linux-gnu-, listed as "Cross Compiler prefix" in BusyBox Settings → Build Options CONFIG_FEATURE_INSTALLER=y, listed as "Support --install [-s] to install applet links at runtime" in BusyBox Settings → General Configuration CONFIG_INIT=y, listed as "init" in Init utilities CONFIG_ASH=y, listed as "ash" in Shells CONFIG_ASH_JOB_CONTROL=n, listed as "Ash → Job control" in Shells CONFIG_MOUNT=y, listed as "mount" in Linux System Utilities CONFIG_FEATURE_USE_INITTAB=y, listed as "Support reading an inittab file" in Init Utilities
is that right? then, I already done
Yes, this is right. But in order to run binaries via busybox you have to open menuconfig, go to the applets section and select from there which binaries you want. ---Applets Coreutils ---> ls (for example) ...etc. @Seonghun94
@kllbrd Thank you very much!!!! It's running now. ^^
I executed the instruction :
spike bbl vmlinux
but i can't running instruction in busybox
# ls
# echo