User manual

10 Buildroot
10.5. Compiling Your Own Software
There are following ways on how to get your software to be build and installed on the system using
Buildroot:
adding your software to the packages folder
using generated toolchain to compile your software and then manually copying it either to
fs/skeleton or output/target
The first way is described here Add packages. The second way is described here Using toolchain.
See this article on how to override source directory Source directory override.
You can also use Buildroot together with Eclipse to develop your application Eclipse integration.
10.6. Using Your Own Kernel
If you have your own kernel or just want to use our 2.6.33 kernel, execute following steps:
1. disable automatic kernel compilation (BR2_LINUX_KERNEL)
2. copy your zImage to target/device/vscom/OnRISC/
3. execute make (your zImage will be installed to output/target/boot/)
10.7. Setup SSH Server
SSH server will be activated via the BR2_PACKAGE_OPENSSH variable. After copying the
new rootfs image to the media, you’ll see RSA/DSA keys will be created. By default password is
required to login via SSH. You can configure the system in the following ways:
define root password via passwd root
change sshd behavior to accept empty passwords (set PermitEmptyPasswords to yes in
/etc/sshd_config)
10.8. Getting Help
If you encounter any non-kernel related problems, you should get in contact with Buildroot com-
munity. As usual it is recommended to read the mailing list archives before asking questions on
the mailing list.
May 2014 OnRISC User Manual 70