summaryrefslogtreecommitdiffstats
path: root/kernel/README
diff options
context:
space:
mode:
authorJohn Lane <john@lane.uk.net>2013-01-20 22:30:27 +0000
committerJohn Lane <john@lane.uk.net>2013-01-20 22:30:27 +0000
commit98692703eac635b983f5b9c634acd2abf2bc558c (patch)
treecf029c02f805b1c689dd452bf77ed12ac08c9ebb /kernel/README
parentdff2da45f2bc1507bb182c42b7705c2d750e6e7d (diff)
downloadrpi-utils-master.zip
rpi-utils-master.tar.gz
rpi-utils-master.tar.bz2
Update build-kernel-qemu for hard-floatHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'kernel/README')
-rw-r--r--kernel/README46
1 files changed, 0 insertions, 46 deletions
diff --git a/kernel/README b/kernel/README
deleted file mode 100644
index abbb1ad..0000000
--- a/kernel/README
+++ /dev/null
@@ -1,46 +0,0 @@
-Kernel Build Notes
-==================
-
-QEMU ARM Emulator
------------------
-
-The following sequence of commands can be used to build a kernel
-image that can be used to boot QEMU. They are also present in
-the script 'build-kernel-qemu'.
-
-$ mkdir kernel-qemu
-$ cd kernel-qemu
-$ git clone --depth 1 git://github.com/raspberrypi/linux.git
-$ wget http://xecdesign.com/downloads/linux-qemu/linux-arm.patch
-$ patch -p1 -d linux/ < linux-arm.patch
-$ cd linux
-$ make ARCH=arm versatile_defconfig
-$ cat >> .config << EOF
-CONFIG_CROSS_COMPILE="$(which arm-linux-gnueabi-gcc | sed "s/-gcc/-/")"
-CONFIG_CPU_V6=y
-CONFIG_ARM_ERRATA_411920=y
-CONFIG_ARM_ERRATA_364296=y
-CONFIG_AEABI=y
-CONFIG_OABI_COMPAT=y
-CONFIG_PCI=y
-CONFIG_SCSI=y
-CONFIG_SCSI_SYM53C8XX_2=y
-CONFIG_BLK_DEV_SD=y
-CONFIG_BLK_DEV_SR=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-CONFIG_TMPFS=y
-CONFIG_INPUT_EVDEV=y
-CONFIG_EXT4_FS=y
-CONFIG_FONT_8x16=y
-CONFIG_LOGO=y
-EOF
-$ make -j 8 -k ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig
-$ make -j 8 -k ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
-$ cd ..
-$ cp linux/arch/arm/boot/zImage kernel-qemu
-
-References
-==========
-http://xecdesign.com/compiling-a-kernel/
-http://balau82.wordpress.com/2010/03/22/compiling-linux-kernel-for-qemu-arm-emulator/