配置DTS支持USB存储
Support USB on LEDE
Step 1: Ensure dts file has enabled ehci and ohci
Step 2: Enable usb support on linux kernel
$ make kernel_menuconfig
Select in turn:
Step 3: Select usb kernel module and dependency libraries
$ make menuconfig
Select in turn:
Step 4: Support automatic mount and led indicator
Related files on the toplevel directory of the buildroot, as follow:
Step 5: Rebuild firmware
$ make V=s
Support SD Card on LEDE
Step 1: Ensure dts file has enabled sdhci
Step 2: Select SD card kernel module
Besides, it also needs to add filesystem module and dependency libraries and so on which has done on supported USB of Step 3 and Step 4. If you have done supported USB, then you should rebuild the firmware directly, otherwise, please repeat the above Step 3 and Step 4.
Last updated