Initial buildroot info
This commit is contained in:
parent
39f10ac769
commit
2511015338
39
buildroot/Readme.md
Normal file
39
buildroot/Readme.md
Normal file
@ -0,0 +1,39 @@
|
||||
## Buildroot
|
||||
Buildroot permette la creazxione di una immagine linux minimale (~20MB) con solo lo stretto necssario. L'ambiente e' basato su busybox, sono disponibili diversi pacchetti ed e' possibile configurare il kernel.
|
||||
|
||||
### Istruzioni
|
||||
Installare le dipendenze (debian 10)
|
||||
|
||||
```
|
||||
apt install -t build-essential libncurses-dev bison flex libssl-dev libelf-dev
|
||||
```
|
||||
|
||||
Clonare il repo
|
||||
```
|
||||
git clone https://github.com/buildroot/buildroot.git
|
||||
```
|
||||
|
||||
Copiare i files presenti nella cartella `buildroot` di questo repo.
|
||||
|
||||
```
|
||||
make pcengines_apu2_defconfig
|
||||
```
|
||||
|
||||
Per cambiare la configurazione di buildroot (pacchetti, architettura, opzioni di compilazione):
|
||||
```
|
||||
make menuconfig
|
||||
```
|
||||
|
||||
Per configurare direttamente il kernel linux
|
||||
```
|
||||
make linux-menuconfig
|
||||
|
||||
```
|
||||
|
||||
Avviare la compilazione
|
||||
```
|
||||
make
|
||||
```
|
||||
B
|
||||
B
|
||||
|
6
buildroot/board/pcengines/apu2/isolinux.cfg
Normal file
6
buildroot/board/pcengines/apu2/isolinux.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
serial 0 115200
|
||||
default 1
|
||||
label 1
|
||||
kernel __KERNEL_PATH__
|
||||
initrd __INITRD_PATH__
|
||||
append root=/dev/sr0 console=ttyS0,115200n8
|
3120
buildroot/board/pcengines/apu2/linux.config
Normal file
3120
buildroot/board/pcengines/apu2/linux.config
Normal file
File diff suppressed because it is too large
Load Diff
63
buildroot/configs/pcengines_apu2_defconfig
Normal file
63
buildroot/configs/pcengines_apu2_defconfig
Normal file
@ -0,0 +1,63 @@
|
||||
BR2_x86_64=y
|
||||
BR2_x86_jaguar=y
|
||||
BR2_RELRO_FULL=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
|
||||
BR2_TARGET_GENERIC_HOSTNAME="cros"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to 1337 Systems Inc."
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.122"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pcengines/apu2/linux.config"
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_PACKAGE_PHP=y
|
||||
BR2_PACKAGE_PHP_SAPI_FPM=y
|
||||
# BR2_PACKAGE_PHP_EXT_SESSION is not set
|
||||
# BR2_PACKAGE_PHP_EXT_ZLIB is not set
|
||||
BR2_PACKAGE_LIBRESSL=y
|
||||
BR2_PACKAGE_LIBRESSL_BIN=y
|
||||
BR2_PACKAGE_LIBCURL=y
|
||||
BR2_PACKAGE_LIBCURL_CURL=y
|
||||
# BR2_PACKAGE_LIBCURL_PROXY_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES is not set
|
||||
BR2_PACKAGE_LIBCURL_TLS_NONE=y
|
||||
BR2_PACKAGE_HOSTAPD=y
|
||||
# BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP is not set
|
||||
# BR2_PACKAGE_HOSTAPD_ACS is not set
|
||||
# BR2_PACKAGE_HOSTAPD_VLAN is not set
|
||||
BR2_PACKAGE_IW=y
|
||||
BR2_PACKAGE_NGINX=y
|
||||
# BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_SSI_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_USERID_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_GEO_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_MAP_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE is not set
|
||||
# BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE is not set
|
||||
BR2_PACKAGE_OPENSSH=y
|
||||
BR2_PACKAGE_WIRELESS_REGDB=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_ISO9660=y
|
||||
BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="board/pcengines/apu2/isolinux.cfg"
|
||||
BR2_TARGET_ROOTFS_ISO9660_HYBRID=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_SYSLINUX=y
|
0
conf/dhcpd.conf
Normal file
0
conf/dhcpd.conf
Normal file
Loading…
Reference in New Issue
Block a user