Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

Beginners • Re: Connect a RPI Zero 2W to a composite connector?

$
0
0
Moved the added line to cmdline.txt to be the first line as stated...
There must only be one line in cmdline.txt. If you want to add anything, put it one the same line, at the beginning or the end, with a space between it and the rest of the line.

So if your existing cmdline.txt looks like this:

Code:

console=serial0,115200 console=tty1 video=HDMI-A-1:1920x1080@60D root=PARTUUID=xxxxxxxx-02 rootfstype=ext4 fsck.repair=yes rootwait
change it to look like this:

Code:

video=Composite-1:720x576@50ie,margin_left=30,margin_right=30,margin_top=20,margin_bottom=20,tv_mode=PAL console=serial0,115200 console=tty1 video=HDMI-A-1:1920x1080@60D root=PARTUUID=xxxxxxxx-02 rootfstype=ext4 fsck.repair=yes rootwait
or this:

Code:

console=serial0,115200 console=tty1 video=HDMI-A-1:1920x1080@60D root=PARTUUID=xxxxxxxx-02 rootfstype=ext4 fsck.repair=yes rootwait video=Composite-1:720x576@50ie,margin_left=30,margin_right=30,margin_top=20,margin_bottom=20,tv_mode=PAL
(Don't copy paste these examples! The PARTUUID=xxxxxxxx-02 values will be different to yours, and some of the other options may be different.)
Yeah, in the beginning I'd had it on two separate lines hence what likely caused the kernel panic when the default line wasn't the first and left unread.
Unfortunately though since the first edit I've had it on one line and I still have a blank screen : /

(I've been messing around with adding and removing setting the TV mode to PAL so that line isn't in cmd or config [reasoning being that the default boot which I can see is supposedly in NTSC] but either way hasn't worked for me :| )

cmdline.txt is currently

Code:

video=Composite-1:720x576@50ie,margin_left=30,margin_right=30,margin_top=20,margin_bottom=20,console=serial0,115200 console=tty1 root=PARTUUID=f67a04c9-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=US
config.txt is currently

Code:

# For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3d,compositemax_framebuffers=2#vc4.tv_norm=PAL#ignore_lcd=1# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Run in 64-bit modearm_64bit=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[cm5]dtoverlay=dwc2,dr_mode=host[all]dtparam=act_led_trigger=actpwr
Edit:

One thing I noticed while posting this is that the dtoverlay=vc4-kms-v3d,composite was gone, this is because I'd in some other testing enabled and disabled composite through the display settings from SSH
So added back this line and edited the code above (still blank screen)
But
If the line ",composite" is there I see the resberry pi logo and some boot info, if it is not I do not see this
So that's something...

Statistics: Posted by Lohil — Sun Apr 06, 2025 3:23 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles