From f054b69bad53c4df86ece039194f6be9ed95c45b Mon Sep 17 00:00:00 2001
From: landley
Date: Thu, 9 Mar 2006 18:03:21 +0000
Subject: They won't stop asking, but we can point them to the specific
entry...
git-svn-id: svn://busybox.net/trunk/busybox@14493 69ca8d6d-28ef-0310-b511-8ec308f3f277
---
docs/busybox.net/FAQ.html | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/docs/busybox.net/FAQ.html b/docs/busybox.net/FAQ.html
index 3e4aa28c2..b21f722b6 100644
--- a/docs/busybox.net/FAQ.html
+++ b/docs/busybox.net/FAQ.html
@@ -10,6 +10,7 @@ have additions to this FAQ document, we would love to add them,
- How can I get started using BusyBox?
- How do I build a BusyBox-based system?
+
- Busybox init isn't working!
- Which Linux kernel versions are supported?
- Which architectures does BusyBox run on?
- Which C libraries are supported?
@@ -113,6 +114,33 @@ have additions to this FAQ document, we would love to add them,
For more instructions, see the website.
+
+
+
+
+ Build a statically linked version of the following "hello world" program
+ with your cross compiler toolchain.
+
+
+#include <stdio.h>
+
+int main(int argc, char *argv)
+{
+ printf("Hello world!\n");
+ sleep(999999999);
+}
+
+
+
+ Now try to boot your device with an "init=" argument pointing to your
+ hello world program. Did you see the hello world message? Until you
+ do, don't bother messing with busybox init.
+
+
+
+ Once you've got it working statically linked, try getting it to work
+ dynamically linked. Then read the FAQ entry before this one.
+
--
cgit v1.2.3-55-g6feb