Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2995

enable pi4 boot log on console output

XMLWordPrintable

      Icefish 8.99.1 pi4 boot log is disabled,  the defination below seems make no effect. 

      file: meta-agl-bsp/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend
      ENABLE_UART_raspberrypi4 = "1"
      
      
      file: meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi4.inc
      # CMDLINE for raspberrypi
      SERIAL = "${@oe.utils.conditional("ENABLE_UART", "1", "console=serial0,115200", "", d)}"
      CMDLINE ?= "dwc_otg.lpm_enable=0 ${SERIAL} root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
      

      manually do modification below  can  enable bootlog

      add args below to file: /boot/cmdline.txt
      console=serial0,11520 console=tty1
      

       

      This patch is not nice and can enable boot log.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            LiXiaoming Li Xiaoming
            LiXiaoming Li Xiaoming
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: