mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00

* BOARD: firstboot: use ext4 for p1 explicitly * BOARD: /etc/main : update fsck scripts * BOARD: inittab: - add /roms in p5 - mount RO /boot in async (default) * BOARD: genimage.sh: gen ROMS EXT4 image * BAORD: prebuild.sh: - create mount point for ROMS - increase MAIN & ROMS block size - the size of /mnt is "hardcoded" after image creation - we need real space for backup manipulation in ROMS * BOARD: mv roms upward * BOARD: firstboot: add p5 ROMS and resize * BOARD: genimage-sdcard.cfg: - use GPT - add p5 for roms * PACKAGE/BOARD: patch/genimage: down-size gpt table * PACKAGE/DEFCONFIG: add `gptfdisk` package to shared * BOARD: firstboot: allow for switching FS type in MAIN and ROMS * README: update firstboot_procedure.drawio.png - add FS change boxes and IPK installer * BOARD: firstboot: not mandatory to resize for IPK manager * DEFCONFIG: add default kernel patching * DEFCONFIG: uppercase rootfs label * BOARD: umtpr: uppercas partition LABELS * DEFCONFIG/PACKAGE: add RSYNC pkg * BOARD: mount FAT p5 in async (default) * BOARD: add ROMS icons for Win Co-Authored-By: TriForce <triforce@gznetwork.com>
90 lines
2.2 KiB
Plaintext
90 lines
2.2 KiB
Plaintext
#
|
|
# 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 "/roms" "ROMS" "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 "Miyoo 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 0x8000 # MAX usb read size. Must be a multiple of 512 and be less than read_buffer_cache_size
|
|
usb_max_wr_buffer_size 0x8000 # MAX usb write size. Must be a multiple of 512.
|
|
# read_buffer_cache_size 0x8000 # 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
|