Pi Zero format boards that are supported.

Code:
# get-edid >file.bin

This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
Looks like no busses have an EDID. Sorry!
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <pyrophobicman@gmail.com>.
 
This is correct :

Code:
# edid-decode /sys/class/drm/card0-HDMI-A-1/edid

edid-decode (hex):

00 ff ff ff ff ff ff 00 30 ae 86 10 01 01 01 01
22 15 01 03 80 29 1a 78 ee e5 b5 a3 55 49 99 27
13 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 30 11 d0 00 21 d0 22 20 64 50
24 04 ff ff 00 00 00 1c 00 00 00 fc 00 4c 45 4e
20 4c 31 39 35 30 77 44 0a 20 00 00 00 fd 00 32
4c 1e 51 0e 00 0a 20 20 20 20 20 20 00 00 00 ff
00 42 33 34 33 32 38 34 35 0a 20 20 20 20 01 78

02 03 14 71 41 00 23 09 07 07 83 01 00 00 65 03
0c 00 10 00 00 00 00 10 00 40 31 20 0c 40 55 00
b9 88 21 00 00 18 00 00 00 10 00 1c 16 20 58 2c
25 00 b9 88 21 00 00 9e 00 00 00 10 00 1c 16 20
10 2c 25 80 b9 88 21 00 00 9e 00 00 00 10 00 30
30 0a 20 20 20 20 20 20 20 20 20 20 00 00 00 10
00 38 2d 40 10 2c 45 80 b9 88 21 00 00 1e 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f9

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
Manufacturer: LEN
    Model: 4230
    Serial Number: 16843009
    Made in: week 34 of 2011
  Basic Display Parameters & Features:
    Digital display
Maximum image size: 41 cm x 26 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    RGB color display
    Default (sRGB) color space is primary color space
    First detailed timing is the preferred timing
  Color Characteristics:
Red : 0.6396, 0.3339
    Green: 0.2861, 0.5986
    Blue : 0.1542, 0.0771
    White: 0.3134, 0.3291
  Established Timings I & II:
    DMT 0x04:   640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz
Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:   720x720    59.790 Hz   1:1    45.082 kHz  44.000 MHz (255 mm x 255 mm)
                 Hfront  100 Hsync  80 Hback  76 Hpol N
                 Vfront   18 Vsync   4 Vback  12 Vpol P
    Display Product Name: 'LEN L1950wD'
  Display Range Limits:
    Monitor ranges (GTF): 50-76 Hz V, 30-81 kHz H, max dotclock 140 MHz
    Display Product Serial Number: 'B3432845'
  Extension blocks: 1
Checksum: 0x78

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
Detailed Timing Descriptors:
    Dummy Descriptor:
    Dummy Descriptor:
    Dummy Descriptor:
    Dummy Descriptor:
    Dummy Descriptor:
Checksum: 0xf9

Source : https://askubuntu.com/questions/107...i-get-the-screen-resolution-of-the-physically
 
Code:
STATIC HDMI_DISPLAY_TIMING mDefaultTimings = {
.Vic = 0,
.FrequencyKHz = 44000,
.HDisplay = 720, .HSyncStart = 820, .HSyncEnd = 900, .HTotal = 976, .HSyncPol = FALSE,
.VDisplay = 720, .VSyncStart = 738, .VSyncEnd = 742, .VTotal = 754, .VSyncPol = TRUE,
};
from parse-edid
Modeline "Mode 0" 44.00 720 820 900 976 720 738 742 754 -hsync +vsync
 
Ok and now the final round. I've compiled the img file that should work. But now I should understand how to install it on this sd card,without destroying the partition 4,that contains a fully working FreeBSD 14.3-STABLE.

Code:
Disk /dev/sdj: 119.08 GiB, 127865454592 bytes, 249737216 sectors
Disk model: STORAGE DEVICE
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 07D2637F-2E74-11F0-832C-F1B721F986A1

Dispositivo  Start      Fine   Settori  Size Tipo
/dev/sdj1       64     16383     16320    8M Linux filesystem
/dev/sdj2    16384     32767     16384    8M Linux filesystem
/dev/sdj3   131072    196607     65536   32M EFI System
/dev/sdj4   196608 249737175 249540568  119G FreeBSD UFS

The images produced are :

ZERO-3W_EFI.img and ZERO-3W_EFI.itb
 
you (probably / im not sure if it matters) need to edit the 2 linux partitions
so the first one is 10M and the 2nd one is 5M

Code:
Disk ZERO-3W_EFI.img: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C4052B19-DE0F-433C-A940-8B9130D9959D

Device           Start   End Sectors Size Type
ZERO-3W_EFI.img1    64 20479   20416  10M Linux filesystem
ZERO-3W_EFI.img2 20480 30719   10240   5M Linux filesystem
so you need to edit your partition and set start and size as above
 
Maybe :


dd if=ZERO-3W_EFI.img of=/dev/sdj seek=64 bs=512 conv=sync
dd if=ZERO-3W_EFI.itb of=/dev/sdj seek=16384 bs=512 conv=sync
 
This is what I can do :

Istantanea_2025-05-22_22-02-27.png



Istantanea_2025-05-22_22-04-32.png
 
Code:
label: gpt
label-id: 07D2637F-2E74-11F0-832C-F1B721F986A1
device: /dev/sdj
unit: sectors
first-lba: 40
last-lba: 249737175
sector-size: 512

/dev/sdj1 : start=          64, size=       16320, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=07D35DA3-2E74-11F0-832C-F1B721F986A1, name="loader"
/dev/sdj2 : start=       16384, size=       16384, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=07D3AC23-2E74-11F0-832C-F1B721F986A1, name="uboot"
/dev/sdj3 : start=      131072, size=       65536, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=07D4C210-2E74-11F0-832C-F1B721F986A1, name="efi"
/dev/sdj4 : start=      196608, size=   249540568, type=516E7CB6-6ECF-11D6-8FF8-00022D09712B, uuid=07D6525C-2E74-11F0-832C-F1B721F986A1, name="root"
 
start= 64, size= 20416
start= 20480, size= 10240
now in that file for sdj1 and sdj2 change as above and save
then fdisk /dev/sdj
press I and load the saved file

you can verify that start and size above are correct by using fdisk ZERO-3W_EFI.img and pressing p
 
# fdisk /dev/sdj

Welcome to fdisk (util-linux 2.39.3).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Comando (m per richiamare la guida): I

Enter script file name: uno

Created a new GPT disklabel (GUID: 07D2637F-2E74-11F0-832C-F1B721F986A1).
Created a new partition 1 of type 'Linux filesystem' and of size 10 MiB.
Created a new partition 2 of type 'Linux filesystem' and of size 5 MiB.
Created a new partition 3 of type 'EFI System' and of size 32 MiB.
Created a new partition 4 of type 'FreeBSD UFS' and of size 119 GiB.
Script successfully applied.

Comando (m per richiamare la guida): q

# gparted /dev/sdj

Istantanea_2025-05-22_22-33-01.png
 
And I can make by myself the last part....

Code:
# losetup -P /dev/loop0 ZERO-3W_EFI.img
# fdisk -l

Disk /dev/loop0: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E2FFD533-F05D-4F26-94AA-0AD44BD8DF38

Dispositivo  Start  Fine Settori Size Tipo
/dev/loop0p1 64 20479 20416 10M Linux filesystem
/dev/loop0p2 20480 30719   10240   5M Linux filesystem

# dd if=/dev/loop0p1 of=/dev/sdj1
# dd if=/dev/loop0p2 of=/dev/sdj2

Do you confirm ?
 
Back
Top