Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fhunleth/tilde-pi
Very, very, very early experimentation with making a Tilde Server in Buildroot
https://github.com/fhunleth/tilde-pi
Last synced: about 1 month ago
JSON representation
Very, very, very early experimentation with making a Tilde Server in Buildroot
- Host: GitHub
- URL: https://github.com/fhunleth/tilde-pi
- Owner: fhunleth
- License: gpl-2.0
- Created: 2015-04-18T15:39:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-16T23:48:05.000Z (over 9 years ago)
- Last Synced: 2024-10-13T09:56:26.829Z (2 months ago)
- Language: Makefile
- Size: 191 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CoderDojoDC Tilde Pi
This project generates a simple Linux server that can be loaded onto a
Raspberry Pi. The server will be used to teach CoderDojoDC members about
the Unix commandline and let them post simple web pages.## Building
If you're using Ubuntu, you may need to install some packages to make Buildroot
work. This should be sufficient:$ sudo apt-get install git g++ libncurses5-dev bc
$ sudo apt-get install libc6:i386 libstdc++6:i386 zlib1g:i386 gcc-multilib # 64-bit LinuxAfter that, clone this project and run `make`:
$ make tilde_pi_defconfig
$ makeIt can take some time to download and build everything so you may need to be
patient. The build products can be found in `buildroot/output/images`.## Installing
Insert an SDCard on your PC and note where it appears under Linux. If the SDCard
is automounted, make sure to `umount` everything that was mounted. Then run the
following, but replace `/dev/sdc` with the path to the SDCard.$ sudo dd if=buildroot/output/images/tilde_pi.img of=/dev/sdc bs=1M
Insert the SDCard into a Raspberry Pi Model B, and watch it boot over the serial
port. Log in as...## Running in qemu
It's possible to do a lot of work locally in qemu. Run the following to make a
qemu build:$ make clean
$ make tilde_qemu_defconfig
$ makeThen, start up qemu:
$ qemu-system-arm -M vexpress-a9 -kernel buildroot/output/images/zImage \
-drive file=buildroot/output/images/rootfs.ext2,if=sd \
-append "console=ttyAMA0,115200 root=/dev/mmcblk0" \
-serial telnet:localhost:4444,server \
-net nic,model=lan9118 -net user -nographicNow that qemu is started, it's waiting for you to connect to the serial port.
This is accessible by telneting to port 4444. I.e.$ telnet localhost 4444
Log in as root:root or fhunleth:fhunleth, etc. for now.