forked from MiyooCFW/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BTRFS file system for MAIN partition
- Loading branch information
Showing
33 changed files
with
139 additions
and
170 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/busybox sh | ||
|
||
modprobe -r g_serial | ||
killall umtprd | ||
umtprd & |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/busybox sh | ||
killall umtprd | ||
modprobe g_serial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title=USB MTD | ||
description=USB MTD mass storage | ||
exec=/mnt/apps/usb-mtd/usb-mtd.sh |
3 changes: 3 additions & 0 deletions
3
board/miyoo/main/gmenu2x/sections/applications/usb-peripheral
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title=USB peripheral | ||
description=USB peripheral mode | ||
exec=/mnt/apps/usb-peripheral/usb-peripheral.sh |
3 changes: 3 additions & 0 deletions
3
board/miyoo/main/gmenu2x/sections/applications/usb-serial-console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title=USB serial console | ||
description=USB Serial console | ||
exec=/mnt/apps/usb-serial-console/usb-serial.sh |
3 changes: 0 additions & 3 deletions
3
board/miyoo/main/gmenu2x/sections/applications/usb-serial-mass-storage
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
MODULES_CUSTOM=0 | ||
FAT_CHECK=1 | ||
BOOT_LOGO=1 | ||
FLIP= (put 0 or 1 to overwrite) | ||
INVERT= (put 0 or 1 to overwrite) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# | ||
# uMTP Responder config file | ||
# Must be copied to /etc/umtprd/umtprd.conf | ||
# | ||
|
||
# Loop / daemon mode | ||
# Set to 1 to don't shutdown uMTPrd when the link is disconnected. | ||
|
||
loop_on_disconnect 1 | ||
|
||
#storage command : Create add a storage entry point. Up to 16 entry points supported | ||
#Syntax : storage "PATH" "NAME" | ||
|
||
storage "/" "rootfs" "ro" | ||
storage "/mnt" "MAIN" "rw" | ||
storage "/boot" "BOOT" "ro" | ||
|
||
# | ||
# Uncomment the following line if you want to | ||
# override the system default umask value for | ||
# the uploaded files. | ||
# | ||
|
||
umask 000 | ||
|
||
# Set the USB manufacturer string | ||
|
||
manufacturer "MIyoo CFW 2.0" | ||
|
||
# Set the USB Product string | ||
|
||
product "handheld" | ||
|
||
# Set the USB Serial number string | ||
|
||
serial "01234567" | ||
|
||
# Set the USB interface string. Should be always "MTP" | ||
|
||
interface "MTP" | ||
|
||
# Set the USB Vendor ID, Product ID and class | ||
|
||
usb_vendor_id 0x1D6B # Linux Foundation | ||
usb_product_id 0x0100 # PTP Gadget | ||
usb_class 0x6 # Image | ||
usb_subclass 0x1 # Still Imaging device | ||
usb_protocol 0x1 # | ||
|
||
# Device version | ||
|
||
usb_dev_version 0x3008 | ||
|
||
# inotify support | ||
# If you want disable the events support (beta), uncomment the following line : | ||
|
||
# no_inotify 0x1 | ||
|
||
# | ||
# Internal buffers size | ||
# | ||
|
||
# Internal default usb_max_rd_buffer_size and usb_max_wr_buffer_size value set to 0x10000. | ||
# Internal default read_buffer_cache_size value set to 0x100000. | ||
# Uncomment the following lines to reduce the buffers sizes to fix USB issues on iMX6 based systems. | ||
|
||
usb_max_rd_buffer_size 0x10000 # MAX usb read size. Must be a multiple of 512 and be less than read_buffer_cache_size | ||
usb_max_wr_buffer_size 0x10000 # MAX usb write size. Must be a multiple of 512. | ||
read_buffer_cache_size 0x80000 # Read file cache buffer. Must be a 2^x value. | ||
|
||
# | ||
# USB gadget device driver path | ||
# | ||
|
||
######################################################################## | ||
# | ||
# -- Generic FunctionFS Mode -- | ||
# | ||
######################################################################## | ||
|
||
usb_functionfs_mode 0x1 | ||
|
||
usb_dev_path "/dev/ffs-mtp/ep0" | ||
usb_epin_path "/dev/ffs-mtp/ep1" | ||
usb_epout_path "/dev/ffs-mtp/ep2" | ||
usb_epint_path "/dev/ffs-mtp/ep3" | ||
|
||
usb_max_packet_size 0x200 |
Oops, something went wrong.