Last active
August 29, 2015 14:17
-
-
Save janisz/5012bf0c1e9902b9fa5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://git.buildroot.net/buildroot --depth 1 | |
cd buildroot | |
make qemu_arm_versatile_defconfig | |
echo "default -1 default -1 =password - /bin/sh - " > user.tables | |
make menuconfig | |
# System configuration | |
# -> System hostname | |
# -> Root password | |
# -> Network interface to configure through DHCP | |
# -> Install timezone info | |
# -> Path to the users tables | |
# Filesystem images | |
# -> initial RAM filesystem linked into linux kernel | |
# Packages | |
# -> ntp | |
# -> dhcp | |
# -> lighttpd | |
make | |
echo "It's working" > output/target/var/www/index.html | |
make | |
qemu-system-arm -M versatilepb -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=scsi -append "root=/dev/sda console=ttyAMA0,115200" -net nic,model=smc91c111 -net user,hostfwd=tcp::22280-:80 --nographic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment