r_morrell

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7618
    r_morrell
    Participant

    Great!

     

    I went back and through tke Ozzmaker scripts again and all is working …

    I probably worried about things that were not problems

     

    But did learn a little more about the latest Raspbian etc

     

    Thanks very much to Mark for helping me.

     

    Roger

    #7617
    r_morrell
    Participant

    Further update – on reading about how dtoverlays work

    i did sudo vcdbg log msg

    which showed it found the piscreen2 and loaded it.  (I also put dtdebug and boor again – which made this output very verbose

    001363.757: brfs: File read: /mfs/sd/config.txt
    001364.687: brfs: File read: 1622 bytes
    001386.165: HDMI:EDID version 1.3, 1 extensions, screen size 48×27 cm
    001386.272: HDMI:EDID features – videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
    001386.390: HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)
    001386.472: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
    001386.556: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
    001386.632: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
    001386.717: HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
    001386.796: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
    001386.880: HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
    001386.956: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
    001387.033: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
    001387.109: HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
    001387.195: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
    001387.278: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
    001387.410: HDMI:EDID standard timings block x 8: 0x714F 81C0 8100 8180 9500 A9C0 B300 0101
    001387.508: HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 0
    001387.616: HDMI:EDID found DMT format: code 85, 1280x720p @ 60 Hz (16:9) in standard timing 1
    001387.708: HDMI:EDID found DMT format: code 28, 1280x800p @ 60 Hz (16:10) in standard timing 2
    001387.797: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 3
    001387.895: HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 4
    001387.996: HDMI:EDID found DMT format: code 83, 1600x900p @ 60 Hz (16:9) in standard timing 5
    001388.086: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 6
    001401.138: HDMI:EDID parsing v3 CEA extension 0
    001401.215: HDMI:EDID monitor support – underscan IT formats:yes, basic audio:no, yuv444:yes, yuv422:yes, #native DTD:1
    001401.304: HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
    001401.392: HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17)
    001401.477: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
    001401.553: HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz (native)
    001401.625: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
    001401.702: HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
    001401.774: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz
    001401.849: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
    001401.924: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
    001401.978: HDMI:EDID found HDMI VSDB length 5
    001402.040: HDMI:EDID HDMI VSDB has physical address 1.0.0.0
    001402.095: HDMI:EDID HDMI VSDB has no extension fields
    001402.175: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
    001402.431: HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz
    001419.477: brfs: File read: /mfs/sd/config.txt
    001420.278: HDMI:Setting property pixel encoding to Default
    001420.342: HDMI:Setting property pixel clock type to PAL
    001420.399: HDMI:Setting property content type flag to No data
    001420.462: HDMI:Setting property fuzzy format match to enabled
    001639.455: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
    001640.772: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
    001652.870: hdmi: HDMI:EDID version 1.3, 1 extensions, screen size 48×27 cm
    001652.977: hdmi: HDMI:EDID features – videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
    001653.101: hdmi: HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)
    001653.184: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
    001653.273: hdmi: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
    001653.356: hdmi: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
    001653.445: hdmi: HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
    001653.524: hdmi: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
    001653.613: hdmi: HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
    001653.696: hdmi: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
    001653.778: hdmi: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
    001653.862: hdmi: HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
    001653.951: hdmi: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
    001654.035: hdmi: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
    001654.171: hdmi: HDMI:EDID standard timings block x 8: 0x714F 81C0 8100 8180 9500 A9C0 B300 0101
    001654.273: hdmi: HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 0
    001654.387: hdmi: HDMI:EDID found DMT format: code 85, 1280x720p @ 60 Hz (16:9) in standard timing 1
    001654.478: hdmi: HDMI:EDID found DMT format: code 28, 1280x800p @ 60 Hz (16:10) in standard timing 2
    001654.571: hdmi: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 3
    001654.673: hdmi: HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 4
    001654.777: hdmi: HDMI:EDID found DMT format: code 83, 1600x900p @ 60 Hz (16:9) in standard timing 5
    001654.874: hdmi: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 6
    001667.928: hdmi: HDMI:EDID parsing v3 CEA extension 0
    001668.007: hdmi: HDMI:EDID monitor support – underscan IT formats:yes, basic audio:no, yuv444:yes, yuv422:yes, #native DTD:1
    001668.099: hdmi: HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
    001668.191: hdmi: HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17)
    001668.281: hdmi: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
    001668.363: hdmi: HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz (native)
    001668.439: hdmi: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
    001668.520: hdmi: HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
    001668.595: hdmi: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz
    001668.675: hdmi: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
    001668.754: hdmi: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
    001668.814: hdmi: HDMI:EDID found HDMI VSDB length 5
    001668.879: hdmi: HDMI:EDID HDMI VSDB has physical address 1.0.0.0
    001668.935: hdmi: HDMI:EDID HDMI VSDB has no extension fields
    001669.019: hdmi: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
    001669.279: hdmi: HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz
    001669.351: hdmi: HDMI: hotplug attached with HDMI support
    001669.424: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
    001671.873: hdmi: HDMI: power_on to CEA mode 1080p60
    001675.098: hdmi: HDMI: Action callback added to queue to happen at frame 2
    001675.166: hdmi: HDMI: Action stop_3d_mode added to queue to happen at frame 2
    001675.226: hdmi: HDMI: Action unmute added to queue to happen at frame 3
    001675.296: hdmi: HDMI: Action cec_init added to queue to happen at frame 3
    001726.105: *** Restart logging
    001726.171: brfs: File read: 1622 bytes
    001730.164: brfs: File read: /mfs/sd/cmdline.txt
    001730.259: Read command line from file ‘cmdline.txt’:
    001730.323: ‘dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=3fa3f8fa-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait’
    001730.643: brfs: File read: 142 bytes
    002074.739: brfs: File read: /mfs/sd/kernel7.img
    002074.801: Loading ‘kernel7.img’ to 0x8000 size 0x4b4d00
    002079.195: No kernel trailer – assuming DT-capable
    002079.283: brfs: File read: 4934912 bytes
    002083.379: brfs: File read: /mfs/sd/bcm2710-rpi-3-b-plus.dtb
    002083.444: Loading ‘bcm2710-rpi-3-b-plus.dtb’ to 0x4bcd00 size 0x63e6
    002230.687: brfs: File read: 25574 bytes
    002235.628: brfs: File read: /mfs/sd/config.txt
    002236.177: dtparam: i2c_arm=on
    002252.918: dtparam: spi=on
    002267.517: dtparam: audio=on
    002286.653: brfs: File read: 1622 bytes
    002298.486: brfs: File read: /mfs/sd/overlays/piscreen2r.dtbo
    002321.893: Loaded overlay ‘piscreen2r’
    003565.384: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
    003683.004: Device tree loaded to 0x2eff9400 (size 0x6bb3)
    003685.518: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
    005135.922: vchiq_core: vchiq_init_state: slot_zero = 0xfad80000, is_master = 1
    005140.954: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
    005146.721: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010

    I also looked in the /boot/overlays directory and piscreen2r is there

    I ran lsmod

    which showed that fbtft was there but not piscreen2r (not sure it it shows overlays?)

    Module Size Used by
    fuse 110592 3
    rfcomm 49152 4
    bnep 20480 2
    hci_uart 36864 1
    btbcm 16384 1 hci_uart
    serdev 20480 1 hci_uart
    bluetooth 368640 29 hci_uart,bnep,btbcm,rfcomm
    ecdh_generic 28672 1 bluetooth
    joydev 20480 0
    ads7846 20480 0
    hwmon 16384 1 ads7846
    fb_ili9486 16384 0
    fbtft 45056 1 fb_ili9486
    syscopyarea 16384 1 fbtft
    sysfillrect 16384 1 fbtft
    sysimgblt 16384 1 fbtft
    fb_sys_fops 16384 1 fbtft
    evdev 24576 8
    brcmfmac 307200 0
    brcmutil 16384 1 brcmfmac
    cfg80211 573440 1 brcmfmac
    snd_bcm2835 32768 1
    rfkill 28672 6 bluetooth,cfg80211
    snd_pcm 98304 1 snd_bcm2835
    snd_timer 32768 1 snd_pcm
    snd 69632 5 snd_timer,snd_bcm2835,snd_pcm
    i2c_bcm2835 16384 0
    spi_bcm2835 16384 0
    uio_pdrv_genirq 16384 0
    fixed 16384 0
    uio 20480 1 uio_pdrv_genirq
    i2c_dev 16384 0
    ip_tables 24576 0
    x_tables 32768 1 ip_tables
    ipv6 425984 58

     

    I boot the PI in console mode and nothing comes up

    what does happen is I get /dev/fb1  with an LS that I did not before

    crw-rw—- 1 root video 29, 0 Nov 10 13:18 /dev/fb0
    crw-rw—- 1 root video 29, 1 Nov 10 13:18 /dev/fb1

    I will go backand look at the piscreen doc to see if there is anything else to try

     

     

     

     

    #7615
    r_morrell
    Participant

    further research …

     

    This is in the log …..

     

    Do we use the fbtft module ?

    =============================

     

    /devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input3
    [    4.848572] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.856108] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.856902] fbtft_of_value: regwidth = 16
    [    4.856913] fbtft_of_value: buswidth = 8
    [    4.856921] fbtft_of_value: debug = 0
    [    4.856928] fbtft_of_value: rotate = 90
    [    4.856936] fbtft_of_value: fps = 30
    [    4.856942] fbtft_of_value: txbuflen = 32768
    [    4.970399] random: crng init done

     

     

    Also

    =====

     

     

    I’m not sure if this – https://github.com/notro/fbtft/blob/master/fbtft_device.c

     

    Is where Raspbian get the driver support – but it has piscreen but not piscreen2

     

    I’m going to try regressing my version of Raspbian

     

    But I already know that my Pi 3 wont work son some older versions of Raspbian – it just hangs during the boot on the rainbow screen

     

    #7611
    r_morrell
    Participant

    lsmod

    Module Size Used by
    rfcomm 49152 4
    bnep 20480 2
    hci_uart 36864 1
    btbcm 16384 1 hci_uart
    serdev 20480 1 hci_uart
    bluetooth 368640 29 hci_uart,bnep,btbcm,rfcomm
    ecdh_generic 28672 1 bluetooth
    fb_ili9486 16384 0
    fbtft 45056 1 fb_ili9486
    joydev 20480 0
    syscopyarea 16384 1 fbtft
    sysfillrect 16384 1 fbtft
    sysimgblt 16384 1 fbtft
    fb_sys_fops 16384 1 fbtft
    ads7846 20480 0
    hwmon 16384 1 ads7846
    brcmfmac 307200 0
    evdev 24576 4
    brcmutil 16384 1 brcmfmac
    cfg80211 573440 1 brcmfmac
    rfkill 28672 6 bluetooth,cfg80211
    snd_soc_bcm2835_i2s 16384 0
    snd_bcm2835 32768 0
    snd_soc_core 188416 1 snd_soc_bcm2835_i2s
    snd_compress 20480 1 snd_soc_core
    snd_pcm_dmaengine 16384 1 snd_soc_core
    snd_pcm 98304 4 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core
    snd_timer 32768 1 snd_pcm
    snd 69632 5 snd_compress,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
    spi_bcm2835 16384 0
    i2c_bcm2835 16384 0
    uio_pdrv_genirq 16384 0
    fixed 16384 0
    uio 20480 1 uio_pdrv_genirq
    i2c_dev 16384 0
    ip_tables 24576 0
    x_tables 32768 1 ip_tables
    ipv6 425984 24

    it did not work

    Here is the fixed

    cat /boot/config.txt
    # For more options and information see
    # http://rpf.io/configtxt
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default “safe” mode
    #hdmi_safe=1

    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    #disable_overscan=1

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display’s size minus
    # overscan.
    #framebuffer_width=1280
    #framebuffer_height=720

    # uncomment if hdmi display is not detected and composite is being output
    #hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)
    #hdmi_group=1
    #hdmi_mode=1

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4

    # uncomment for composite PAL
    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.
    arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces
    dtparam=i2c_arm=on
    dtparam=i2s=on
    dtparam=spi=on

    # Uncomment this to enable the lirc-rpi module
    #dtoverlay=lirc-rpi

    # Additional overlays and parameters are documented /boot/overlays/README

    Enable audio (loads snd_bcm2835)
    dtparam=audio=onls -l

     

    # NOOBS Auto-generated Settings:
    hdmi_force_hotplug=1

    dtoverlay=piscreen2r

     

    I have attached the dmseg output on d3.txt

    in the config.txt I also enablea the i2c and set the overclock – need that for other part of my project

    but there was no reference to any of these or the dtoverlay  in the log, it looks the boot is exiting or ignoring some of the config.txt before it is finshed ?

    what could make that happen ?

     

    Attachments:
    #7609
    r_morrell
    Participant

    here it is

    at /boot/config.txt
    # For more options and information see
    # http://rpf.io/configtxt
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default “safe” mode
    #hdmi_safe=1

    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    #disable_overscan=1

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display’s size minus
    # overscan.
    #framebuffer_width=1280
    #framebuffer_height=720

    # uncomment if hdmi display is not detected and composite is being output
    #hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)
    #hdmi_group=1
    #hdmi_mode=1

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4

    # uncomment for composite PAL
    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces
    #dtparam=i2c_arm=on
    #dtparam=i2s=on
    #dtparam=spi=on

    # Uncomment this to enable the lirc-rpi module
    #dtoverlay=lirc-rpi

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)
    dtparam=audio=on

    # NOOBS Auto-generated Settings:
    hdmi_force_hotplug=1

    dyoverlay=piscreen2r

    pi@raspberrypi3:~ $

    #7605
    r_morrell
    Participant

    Trying again with a chnaged file name

    Attachments:
    #7604
    r_morrell
    Participant

    Yes I am connected like that

     

    attached d1 is the output of dmesg

    and l1 from

    Roger

Viewing 7 posts - 1 through 7 (of 7 total)

Blip, blop, bloop…