增加ota文件系统编译方法;(注意每次swupdate_make_recovery_img需要删除根目录和./lichee/linux下的.config和.config.old)

This commit is contained in:
lijunliang
2024-06-05 16:39:59 +08:00
parent 36028ad52e
commit 6d51adb4db
75 changed files with 11872 additions and 73 deletions

View File

@@ -0,0 +1,38 @@
#!/bin/sh
#
# Load mmc modules....
#
MODULES_DIR="/lib/modules/`uname -r`"
start() {
printf "Load mmc modules\n"
#insmod $MODULES_DIR/mmc_core.ko
#insmod $MODULES_DIR/mmc_block.ko
#insmod $MODULES_DIR/sunxi_mmc_host.ko
}
stop() {
printf "Unload mmc modules\n"
#rmmod $MODULES_DIR/mmc_core.ko
#rmmod $MODULES_DIR/block.ko
#rmmod $MODULES_DIR/sunxi_mmc_host.ko
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?