ginux-qemu

command module
v0.0.0-...-dcae0ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

README

ginux

Run Linux in the browser

Using your own kernel/busybox (Optional)

Compile kernel

http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.tar.bz2

make ARCH=arm versatile_defconfig
make ARCH=arm menuconfig
	Remove module support
make ARCH=arm CROSS_COMPILE=arm-none-eabi- all
qemu-system-arm -M versatilepb -m 20M -kernel arch/arm/boot/zImage
Compile Busybox

http://www.busybox.net/downloads/busybox-1.22.1.tar.bz2

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig
	Static version in busybox settings-> build options
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- install
cd _install
mkdir proc sys dev etc etc/init.d
vim etc/init.d/rcS
#!/bin/sh
mount -t proc none /proc
mount -t sysfs none /sys
/sbin/mdev -s
find . | cpio -o --format=newc > ../../rootfs.img
cd ../../
gzip -c rootfs.img > rootfs.img.gz
qemu-system-arm -M versatilepb -m 20M -nographic -readconfig qemu.conf

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL