aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-03-24 14:56:48 +0100
committerLars-Dominik Braun <lars@6xq.net>2012-03-24 14:56:48 +0100
commit35c78055e4386f5d02aaf299c4a2f21480b07741 (patch)
tree1ddab0ae0d74d8a08331a44d817d3590fda7ce18 /README
parent6e8bfd4629ef901541b34f26207abfd7f2236bf4 (diff)
downloadbuildroot-n35-master.tar.gz
buildroot-n35-master.tar.bz2
buildroot-n35-master.zip
Spring cleanupHEADmaster
Updated to buildroot 2012.02 and Linux 3.1.10, added n35d, updated install instructions.
Diffstat (limited to 'README')
-rw-r--r--README74
1 files changed, 58 insertions, 16 deletions
diff --git a/README b/README
index 0f8646f..4a62cd1 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ Acer n35 buildroot
==================
This directory contains patches and config files to get a modern Linux kernel
-running on the Acer n35 handheld. Most things are based on work by Christer
+running on the Acer n35 handheld. Most stuff is based on work by Christer
Weinigel[1] and Jiri Pinkava[2].
Getting started
@@ -11,22 +11,61 @@ Getting started
buildroot
+++++++++
-- Download a copy of buildroot[3] and unpack it
-- Copy buildroot-config to the buildroot-version/.config
-- Symlink buildroot-version/fs/n35-skeleton to n35-skeleton
-- Run make
-- Copy the contents of output/images/rootfs.tar to an SD card or NFS share
+Go to the directory that contains this README:
+
+ cd n35
+ export REPO_DIR=$(pwd)
+
+Download a copy of buildroot[3] and extract it:
+
+ tar -xf buildroot-XXXX.XX.tar.bz2
+ cd buildroot-XXXX.XX
+ export BUILDROOT_DIR=$(pwd)
+
+Copy the buildroot and busybox config file:
+
+ cp ${REPO_DIR}/buildroot/config-2012.02 ${BUILDROOT_DIR}/.config
+ cp ${REPO_DIR}/buildroot/busybox-1.19.x.config ${BUILDROOT_DIR}/busybox.config
+
+Symlink the skeleton root fs:
+
+ ln -sv ${REPO_DIR}/buildroot/skeleton ${BUILDROOT_DIR}/fs/n35-skeleton
+
+And compile your toolchain:
+
+ make
+
+Now you can copy the contents of output/images/rootfs.tar to an SD card or NFS
+share.
Kernel
++++++
-- Download the Linux kernel[4] and unpack it
-- copy linux/version/config-nfs to linux-version/.config
-- Run make
-- Copy arch/arm/boot/zImage and Christer’s WinCE boot.exe[5] to a FAT partition
- on the SD card
-- Create a file called “default.txt” on the same partition with the following
- content:
+Download the Linux kernel[4] and extract it
+
+ tar -xf linux-X.X.X.tar.bz2
+ cd linux-X.X.X
+
+Set cross-compiling environment variables
+
+ export INSTALL_MOD_PATH=/usr/armv4tl-softfloat-linux-uclibcgnueabi
+ export ARCH=arm
+ export CROSS_COMPILE=arm-unknown-linux-uclibcgnueabi-
+ export PATH=$PATH:$BUILDROOT_DIR/output/host/usr/bin/
+
+Copy linux/X.X.X/config-nfs to .config and compile:
+
+ cp ${REPO_DIR}/linux/X.X.X/config-nfs .config
+ make
+
+Copy the compressed kernel image and Christer’s WinCE boot.exe[5] to a FAT
+partition on the SD card
+
+ cp arch/arm/boot/zImage /mnt/mmc
+ cp /path/to/boot.exe /mnt/mmc
+
+Create a file called “default.txt” on the same partition with the following
+content:
# Acer N35
set MTYPE 927
@@ -38,10 +77,12 @@ Kernel
bootlinux
- This will start the kernel and boot the system from a NFS share. Note that
- you have to set up the network device usb0.
+This will start the kernel, set an IP address and boot the system from a NFS
+share. Note that you have to set up the network device usb0 correctly on the
+host system, otherwise mounting the root partition will result in a kernel
+panic.
- To boot from the second partition on the SD card use
+To boot from the second partition on the SD card use
set CMDLINE "console=tty verbose root=/dev/mmcblk0p2 ro rootdelay=5"
@@ -50,3 +91,4 @@ Kernel
[3] http://buildroot.uclibc.org/
[4] http://www.kernel.org/
[5] http://zoo.weinigel.se/n30/downloads/n30-20060107-1454-wince-boot.zip
+