Open main menu

DAVE Developer's Wiki β

Changes

MISC-AN-001: Creating a root file system using Buildroot

1,560 bytes added, 14:57, 18 October 2023
Buildroot file system on the target
==Buildroot file system on the target==
Starting the root file system in the target will ''welcome'' you with the classic prompt:
 
<pre>
...
...
[ 3.412976] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 3.421286] devtmpfs: mounted
[ 3.426837] Freeing unused kernel image (initmem) memory: 1024K
[ 3.433614] Run /sbin/init as init process
[ 3.943521] systemd[1]: systemd 250 running in system mode (-PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK -SECCOMP -GCRYPT -GNUTLS +OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ +ZLIB -ZSTD -BPF_FRAMEWORK -XKBCOMMON -UTMP -SYSVINIT default-hierarchy=unified)
[ 3.976207] systemd[1]: Detected architecture arm.
 
Welcome to Buildroot 2022.05!
 
[ 4.023816] systemd[1]: Hostname set to <buildroot>.
[ 5.136734] systemd[1]: Queued start job for default target Multi-User System.
[ 5.150596] systemd[1]: Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/modprobe.
[ 5.193797] systemd[1]: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
...
...
[ OK ] Started Serial Getty on ttymxc0.
[ OK ] Reached target Login Prompts.
Starting OpenSSH server daemon...
[ OK ] Started Tiny HTTP Daemon.
[ OK ] Started vsftpd FTP server.
[ 18.251565] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[ 18.259328] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ OK ] Started OpenSSH server daemon.
[ OK ] Started Network Time Service.
[ OK ] Started Lighttpd Daemon.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Reached target Multi-User System.
 
Welcome to Buildroot
buildroot login:
</pre>
Then, the main application will show their version:
<pre class="workstation-terminal">
root@buildroot:/root# python3 --version
Python 3.10.4
Finally, the <code>qt-web-kiosk</code>:
<pre class="workstation-terminal">
root@buildroot:/home# qt-webkit-kiosk --version -platform linuxfb
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
and then, if launched with the proper parameters, will display the Google web site:
<pre class="workstation-terminal">root@buildroot:/home# qt-webkit-kiosk -u httphttps://www.google.it -platform linuxfb
</pre>
[[File:Qt-webkit-kiosk.png|thumb|center|600px| qt-webkit-kiosk (Google) on AXEL ULite EVK]]
8,256
edits