57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
Photobooth OS
|
|
|
|
- select defconfig
|
|
make winf_photobooth_defconfig
|
|
|
|
- launch vm
|
|
qemu-system-x86_64 -m 1024 -bios /usr/share/ovmf/OVMF.fd -drive file=output/images/disk.img,format=raw -accel kvm -cpu host -smp 2,sockets=1,cores=2,threads=1 -vga none -device virtio-vga,xres=1280,yres=1024 -nic user,net=192.168.7.0/24,hostfwd=tcp:127.0.0.1:2222-192.168.7.1:22 -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostbus=1,hostaddr=2
|
|
|
|
|
|
- pure linux path
|
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
- after changing defconfig
|
|
make savedefconfig
|
|
|
|
- after changing linux defconfig
|
|
make linux-update-defconfig
|
|
|
|
- hostname
|
|
winf-photobooth.local
|
|
|
|
- networking
|
|
eth0: 192.168.7.1/24, DHCP 192.168.7.100-200
|
|
plug in device -> gets IP; ssh root@192.168.7.1 / root@winf-photobooth.local
|
|
qemu vm: ssh -p 2222 root@127.0.0.1
|
|
|
|
|
|
|
|
Original README:
|
|
|
|
Buildroot is a simple, efficient and easy-to-use tool to generate embedded
|
|
Linux systems through cross-compilation.
|
|
|
|
The documentation can be found in docs/manual. You can generate a text
|
|
document with 'make manual-text' and read output/docs/manual/manual.text.
|
|
Online documentation can be found at https://buildroot.org/docs.html
|
|
|
|
To build and use the buildroot stuff, do the following:
|
|
|
|
1) run 'make menuconfig'
|
|
2) select the target architecture and the packages you wish to compile
|
|
3) run 'make'
|
|
4) wait while it compiles
|
|
5) find the kernel, bootloader, root filesystem, etc. in output/images
|
|
|
|
You do not need to be root to build or run buildroot. Have fun!
|
|
|
|
Buildroot comes with a basic configuration for a number of boards. Run
|
|
'make list-defconfigs' to view the list of provided configurations.
|
|
|
|
Please feed suggestions, bug reports, insults, and bribes back to the
|
|
buildroot mailing list: buildroot@buildroot.org
|
|
You can also find us on #buildroot on OFTC IRC.
|
|
|
|
If you would like to contribute patches, please read
|
|
https://buildroot.org/manual.html#submitting-patches
|