The SP7350 supports ten 13 root file systems:
BusyBox 1.3137.10
Ubuntu Server 20.04.6 / 22.04.4 / 24.04.1
Ubuntu MATE 20.04.6 / 22.04.4 / 24.04.1
Ubuntu XFCE 20.04.6 / 22.04.4 / 24.04.1
Buildroot 2024.02
Yocto 4.2.4
Yocto 3.0.2 (32-bit)
...
The image of the target root filesystem is then made and stored at:
Code Block |
---|
out/rootfs.img |
2. BusyBox 1.
...
37.
...
0
BusyBox constructs a lightweight root file system for embedded Linux systems by combining tiny versions of many common UNIX utilities into a single small executable, often just a few hundred kilobytes. This reduces the overall memory footprint and system overhead compared to having separate executables for each utility, contributing to faster boot times.
The source of BusyBox 1.3137.1 0 is be downloaded from:
Users can use menuconfig of BusyBox to select additional utilities. Navigate to the BusyBox directory:
Code Block |
---|
linux/rootfs/initramfs/busybox-1.3137.10 |
And run ‘make menuconfig’, for example:
Code Block |
---|
wellslu@scdiu3:~/Q654/linux/rootfs/initramfs/busybox-1.3137.1$0$ make menuconfig |
A BusyBox Configuration menu will appear:
...
Users can move the cursor to enable the desired utilities. For example, to enable TFTP FTP server support, navigate to 'Networking Utilities' and enable 'tftpd ftpd (10 30 kb)'.
...
Exit BusyBox Configuration menu and choose ‘Save’ to save the changes to default configuration file ‘.config’. Run 'make' to rebuild the images. The 'tftpdftpd' utility will be included in the new root file system:
Code Block |
---|
wellslu@scdiu3:~/Q654$ ll linux/rootfs/initramfs/disk/usr/sbin/tftpftp* lrwxrwxrwx 1 wellslu sp 17 JunOct 47 1810:5707 linux/rootfs/initramfs/disk/usr/sbin/tftpdftpd -> ../../bin/busybox* wellslu@scdiu3:~/Q654$ |
To update your settings as the default configuration, copy the file 'linux/rootfs/initramfs/busybox-1.3137.10/.config' to 'linux/rootfs/initramfs/configs/bbx_dynamic_defconfig':
Code Block |
---|
wellslu@scdiu3:~/Q654/linux/rootfs/initramfs/busybox-1.3137.1$0$ cp .config ../configs/bbx_dynamic_defconfig wellslu@scdiu3:~/Q654/linux/rootfs/initramfs/busybox-1.3137.1$0$ |
Default The default account of virtual terminal is : root'root,' and no password is required.
Refer to the snapshot of the UART console when Linux has just started successfully:
...
ubuntu-standard
ubuntu-minimal
ubuntu-server
curl
iputils-ping
net-tools
network-manager
openssh-server
The pre-built root file-system has limited utilities or packages. Users can extend the functionality by installing extra utilities or packages from Ubuntu APT servers on the internet. For example, to install iperf3, users can issue the following commands:
...
ubuntu-standard
ubuntu-minimal
ubuntu-mate-desktop
curl
iputils-ping
net-tools
openssh-server
oem-config-gtk
The pre-built root file-system has limited utilities or packages. Users can extend the functionality by installing extra utilities or packages from Ubuntu APT servers on the internet.
...
ubuntu-standard
ubuntu-minimal
xubuntu-desktop
curl
iputils-ping
net-tools
openssh-server
oem-config-gtk
The following packages are removed:
...