fabio revised this gist . Go to revision
No changes
Fabio Manganiello revised this gist . Go to revision
2 files changed, 93 insertions
cmdline.txt(file created)
| @@ -0,0 +1,2 @@ | |||
| 1 | + | # Modified cmdline.txt for CutiePi. Replace PARTUUID with your own (use `sudo blkid` or `ls -l /dev/disk/by-partuuid/` to find it). | |
| 2 | + | root=PARTUUID=750709b2-02 rw rootwait console=tty1 selinux=0 fsck.repair=yes plymouth.ignore-serial-consoles smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 usbhid.mousepoll=8 audit=0 | |
config.txt(file created)
| @@ -0,0 +1,91 @@ | |||
| 1 | + | ### Modified version of /boot/config.txt for CutiePi | |
| 2 | + | ||
| 3 | + | # See /boot/overlays/README for all available options | |
| 4 | + | ||
| 5 | + | # Uncomment some or all of these to enable optional Hardware interfaces | |
| 6 | + | dtparam=i2c_arm=on | |
| 7 | + | #dtparam=i2s=on | |
| 8 | + | #dtparam=spi=on | |
| 9 | + | ||
| 10 | + | # Run in 64bit mode | |
| 11 | + | arm_64bit=1 | |
| 12 | + | ||
| 13 | + | # Auto load correct initramfs files if found | |
| 14 | + | auto_initramfs=1 | |
| 15 | + | ||
| 16 | + | # Run as fast as the firmware/board allows | |
| 17 | + | arm_boost=1 | |
| 18 | + | ||
| 19 | + | # Disable compensation for displays with overscan | |
| 20 | + | disable_overscan=1 | |
| 21 | + | ||
| 22 | + | # uncomment the following to adjust overscan. Use positive numbers if console | |
| 23 | + | # goes off screen, and negative if there is too much border | |
| 24 | + | #overscan_left=16 | |
| 25 | + | #overscan_right=16 | |
| 26 | + | #overscan_top=16 | |
| 27 | + | #overscan_bottom=16 | |
| 28 | + | ||
| 29 | + | # uncomment to force a console size. By default it will be display's size minus | |
| 30 | + | # overscan. | |
| 31 | + | #framebuffer_width=1280 | |
| 32 | + | #framebuffer_height=720 | |
| 33 | + | ||
| 34 | + | # uncomment if hdmi display is not detected and composite is being output | |
| 35 | + | #hdmi_force_hotplug=1 | |
| 36 | + | ||
| 37 | + | # uncomment to force a specific HDMI mode (this will force VGA) | |
| 38 | + | #hdmi_group=1 | |
| 39 | + | #hdmi_mode=1 | |
| 40 | + | ||
| 41 | + | # Enable sound | |
| 42 | + | dtparam=audio=on | |
| 43 | + | # Uncomment if no sound thru hdmi | |
| 44 | + | #hdmi_drive=2 | |
| 45 | + | ||
| 46 | + | # Auto load overlays for detected cameras | |
| 47 | + | camera_auto_detect=1 | |
| 48 | + | # Auto load overlays for detected DSI displays | |
| 49 | + | display_auto_detect=1 | |
| 50 | + | ||
| 51 | + | # Enable DRM VC4 V3D driver | |
| 52 | + | #dtoverlay=vc4-kms-v3d | |
| 53 | + | # For pi4's and above boards uncomment next line & Comment out above line | |
| 54 | + | dtoverlay=vc4-kms-v3d,cma-512 | |
| 55 | + | max_framebuffers=2 | |
| 56 | + | ||
| 57 | + | # Don't have the firmware create an initial video= setting in cmdline.txt | |
| 58 | + | # Use the kernel default instead | |
| 59 | + | #disable_fw_kms_setup=1 | |
| 60 | + | ||
| 61 | + | # Disable rainbow screen at boot | |
| 62 | + | disable_splash=1 | |
| 63 | + | ||
| 64 | + | # RPi 5B/4B/400 ONLY | |
| 65 | + | # For 4k content @ 60 Hz refresh rate, uncomment hdmi_enable_4kp60=1 | |
| 66 | + | #hdmi_enable_4kp60=1 | |
| 67 | + | # If video breaks with hdmi_enable_4kp60=1 uncomment | |
| 68 | + | #force_turbo=1 | |
| 69 | + | ||
| 70 | + | # Uncomment this to enable infrared communication. | |
| 71 | + | #dtoverlay=gpio-ir,gpio_pin=17 | |
| 72 | + | #dtoverlay=gpio-ir-tx,gpio_pin=18 | |
| 73 | + | ||
| 74 | + | [cm4] | |
| 75 | + | # Enable host mode on the 2711 built-in XHCI USB controller | |
| 76 | + | # This line should be remoed if the legacy DWC2 controller is required | |
| 77 | + | otg_mode=1 | |
| 78 | + | avoid_warnings=2 | |
| 79 | + | ||
| 80 | + | dtoverlay=cutiepi-panel | |
| 81 | + | enable_uart=1 | |
| 82 | + | dtoverlay=uart1 | |
| 83 | + | dtoverlay=i2c5,pins_10_11 | |
| 84 | + | dtoverlay=mpu6050-i2c5,interrupt=27 | |
| 85 | + | ||
| 86 | + | start_x=1 | |
| 87 | + | gpu_mem=128 | |
| 88 | + | dtoverlay=ov5647 | |
| 89 | + | ||
| 90 | + | ||
| 91 | + | [all] | |
Newer
Older