You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 3.2.2. Running RT-Thread Smart Edition + Root File System
233
+
234
+
For the Smart kernel, you can also mount the root filesystem during the boot process by specifying the path to the root filesystem image when executing the `run.sh` script.
235
+
236
+
Note that the kernel supports fat by default, and if you want to mount an ext4 filesystem, you need to install the lwext4 package, even if you can `PKG_USING_LWEXT4`
237
+
> the menuconfig path is (Top) -> RT-Thread online packages -> system). packages -> lwext4: an excellent choice of ext2/3/4 filesystem for microcontrollers.
238
+
239
+
If you can't find the package in the menu, you can exit menuconfig and run `pkgs --upgrade` to update the package index before trying to enable the package.
240
+
After checking this option, you will also need to update the software and install the source code into the packages directory of bsp as follows (you only need to do this once):
241
+
242
+
```shell
243
+
source~/.env/env.sh
244
+
pkgs --update
245
+
```
246
+
247
+
Save and recompile the kernel.
248
+
249
+
For more information on how to make a root filesystem, please refer to <https://github.com/RT-Thread/userapps/blob/main/README.md>, which will not be repeated here.
0 commit comments