From nobody Fri Sep 10 15:27:07 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 62F0E17A95EC for ; Fri, 10 Sep 2021 15:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H5fqv1r77z4pVr for ; Fri, 10 Sep 2021 15:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 204BC73AB for ; Fri, 10 Sep 2021 15:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 18AFR7i2083569 for ; Fri, 10 Sep 2021 15:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18AFR72f083568 for freebsd-arm@FreeBSD.org; Fri, 10 Sep 2021 15:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 258405] rpib4 : display resolution 4k mode and network interface does not properly work together Date: Fri, 10 Sep 2021 15:27:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: x11max1@unitybox.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258405 Bug ID: 258405 Summary: rpib4 : display resolution 4k mode and network interface does not properly work together Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: x11max1@unitybox.de Created attachment 227806 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227806&action= =3Dedit network interface genet0 and display resolution 1920x1280 only I own several rpib4 model b and one of them i use as a desktop pc connected= to a 4k monitor. Installed is FreeBSD version 13.0. FreeBSD rpi4b 13.0-CURRENT FreeBSD 13.0-CURRENT #14 r370524: Thu Sep 9 08:46:11 CEST 2021 root@rpi4b:/usr/obj/usr/src/arm64.aarch64/sys/GENERI= C=20 arm64 There are some problem with the network interface and display relosolution. If rpib4 is configured to load a display resolution in 4K mode (3840x2160) = the network interface is not coming up, means the network interface named "gene= t0" is no more in the device tree and could not be loaded. But without 4k mode the network interface is coming up. With this configura= tion the max display resolution is "1920x1280" i can use with rpib4.=20 Somewhere else have observe this behaviour ? If starting up the same rpib4 using raspberry OS all is fine. The problem seems to be located in the file: bcm2711-rpi-4-b.dtb=20 T=C5=9Ataarting in 4k mode the network interface "genet0" is configured out= after boot process is done. Don't know see why. /usr/local/share/rpi-firmware comes with /usr/local/share/rpi-firmware. -rw-r--r-- 1 root wheel 49090 Mar 3 2021 bcm2711-rpi-4-b.dtb stefanev@rpi4b> file -s bcm2711-rpi-4-b.dtb bcm2711-rpi-4-b.dtb_ORIG: Device Tree Blob version 17, size=3D49090, boot C= PU=3D0, string block size=3D4026, DT structure block size=3D44992 But i have replaced this file with an older one, that makes it possible to = root up rpib4. /boot/msdos/ -rwxr-xr-x 1 root wheel 40659 Mar 13 13:59 bcm2711-rpi-4-b.dtb stefanev@rpi4b> file -s bcm2711-rpi-4-b.dtb=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 /boot/msdos bcm2711-rpi-4-b.dtb: Device Tree Blob version 17, size=3D40659, boot CPU=3D= 0, string block size=3D3643, DT structure block size=3D36944 stefanev@rpi4b> cat config.txt=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 /boot/msdos [all] arm_64bit=3D1 # enable audio (loads snd_bmc2835) #dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don,sd_poll_once=3Don dtparam=3Di2c_arm=3Don dtoverlay=3Denc28j60 dtoverlay=3Dmmc dtoverlay=3Ddisable-bt device_tree_address=3D0x4000 kernel=3Du-boot.bin #=20 dtoverlay=3Dhifiberry-dac dtoverlay=3Dhifiberry-dacplus dtoverlay=3Dhifiberry-digi dtoverlay=3Dhifiberry-amp dtoverlay=3Diqaudio-dac dtoverlay=3Diqaudio-dacplus dtdebug=3D1 [pi4] #hdmi_safe=3D1 ##### START audio over hdmi ##### # You need them both set because hdmi_group=3D1 tells the kernel we are usi= ng CEA=20 # mode (for TV's, has sound) instead of DMT mode(for monitors, no sound) an= d=20 # hdmi_drive=3D2 tells the kernel to use HDMI if available. (HDMI mode has = sound, DVI does not.) #hdmi_group=3D2 hdmi_group=3D1 hdmi_drive=3D2 ##### END audio over hdmi ##### armstub=3Darmstub8-gic.bin #### with this setting rpib4 won't start up, boot process stucks if loading= 4k #dtoverlay=3Dvc4-fkms-v3d.dtbo #dtoverlay=3Dvc4-kms-v3d-pi4.dtbo #hdmi_enable_4kp60=3D1 #hdmi_mode=3D76 #hdmi_cvt 3840 2160 60 #max_framebuffer_width=3D3840 #max_framebuffer=3Dheight=3D2160 #hdmi_ignore_edid=3D0xa5000080 max_framebuffers=3D2 disable_overscan=3D1 --=20 You are receiving this mail because: You are the assignee for the bug.=