Skip to content
Snippets Groups Projects
  1. Oct 03, 2024
  2. Sep 30, 2024
    • GitBot's avatar
      Integrate gitlab-ci/cleaos-443-automatic-sdk-build · 4e8e0fa7
      GitBot authored
      --
      
      Commit: clea-os/infrastructure/gitlab-ci@a4de07e9
      
      [SDK] Implement Automatic SDK Build
      
        * Add build pipeline for SDK.
        * Introduce variable ARTIFACTS_PATH to separate path to artifacts
          for images and SDK.
        * Remove pathname.txt We detect artifacts path with ARTIFACTS_PATH now
        * Remove BUILD_DIR, BUILD_DIRECTORY and MACHINE from build task.
        * Adapt artifacts_name.sh, check_build_artifacts.sh,
          deploy_artifacts.sh, generate_report.sh to handle SDK artifacts as
          well.
      4e8e0fa7
  3. Sep 18, 2024
    • GitBot's avatar
      Integrate linux-seco-imx/seco_lf-5.10.y-d18_usb_drd · 4fcd933e
      GitBot authored
      --
      
      Commit: clea-os/bsp/nxp/linux-seco-imx@985e047f
      
      [D18] usb1: add USB DRD support
      
      Add USB DRD support on SoC USB1 interface.
      Host/Device detection is done by ID pin via usb-role-switch connector.
      
      DRD mode is a reduced functionality OTG mode: in DRD operation, the controller
      mode (Host/Device) is decided based on the ID pin status.
      With the ID pin at ground the mode is Host and otherwise it is Device: once a
      cable plug is attached the controller selects the state and doesn't
      change it until the cable is unplugged.
      
      * Test details:
      root@seco-imx8mp-d18:~# cat /sys/kernel/debug/usb/38100000.dwc3/mode
      device
      root@seco-imx8mp-d18:~# cat /sys/kernel/debug/gpio | grep -i USB
       gpio-10  (USB1_ID_GPIO        |id                  ) in  hi IRQ
       gpio-12  (USB0_EN_OC#_1V8_OUT_|regulator-usb1-vbus ) out lo
       gpio-99  (USB0_VBUS_GPIO      )
       gpio-115 (USB0_EN_OC_1V8_IN   )
      root@seco-imx8mp-d18:~# modprobe g_mass_storage iSerialNumber=123456 file=/dev/m mcblk1p1 stall=0 removable=1
      [  145.847608] Mass Storage Function, version: 2009/09/11
      [  145.852770] LUN: removable file: (no medium)
      [  145.857153] LUN: removable file: /dev/mmcblk1p1
      [  145.861712] Number of LUNs=1
      [  145.865014] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
      [  145.872023] g_mass_storage gadget: g_mass_storage ready
      root@seco-imx8mp-d18:~# rmmod g_mass_storage
      [  249.908302] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
      [  249.913850] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
      [  249.921877] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000002001810010
      [  249.931326] xhci-hcd xhci-hcd.1.auto: irq 74, io mem 0x38100000
      [  249.938065] hub 3-0:1.0: USB hub found
      [  249.941879] hub 3-0:1.0: 1 port detected
      [  249.946085] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
      [  249.951631] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
      [  249.959332] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
      [  249.965925] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
      [  249.974484] hub 4-0:1.0: USB hub found
      [  249.978275] hub 4-0:1.0: 1 port detected
      [  250.203790] usb 3-1: new high-speed USB device number 2 using xhci-hcd
      [  250.359989] usb-storage 3-1:1.0: USB Mass Storage device detected
      [  250.367004] scsi host0: usb-storage 3-1:1.0
      [  251.393355] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.27 PQ: 0 ANSI: 6
      [  251.407656] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
      [  251.416645] sd 0:0:0:0: [sda] Write Protect is off
      [  251.421734] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
      [  251.457705]  sda: sda1
      [  251.463757] sd 0:0:0:0: [sda] Attached SCSI removable disk
      root@seco-imx8mp-d18:~# cat /sys/kernel/debug/usb/38100000.dwc3/mode
      host
      root@seco-imx8mp-d18:~# cat /sys/kernel/debug/gpio | grep -i USB
       gpio-10  (USB1_ID_GPIO        |id                  ) in  lo IRQ
       gpio-12  (USB0_EN_OC#_1V8_OUT_|regulator-usb1-vbus ) out hi
       gpio-99  (USB0_VBUS_GPIO      )
       gpio-115 (USB0_EN_OC_1V8_IN   )
      [  311.938370] usb 3-1: USB disconnect, device number 2
      [  311.959608] xhci-hcd xhci-hcd.1.auto: remove, state 4
      [  311.964718] usb usb4: USB disconnect, device number 1
      [  311.970368] xhci-hcd xhci-hcd.1.auto: USB bus 4 deregistered
      [  311.976158] xhci-hcd xhci-hcd.1.auto: remove, state 1
      [  311.981472] usb usb3: USB disconnect, device number 1
      [  312.030136] xhci-hcd xhci-hcd.1.auto: USB bus 3 deregistered
      root@seco-imx8mp-d18:~# cat /sys/kernel/debug/usb/38100000.dwc3/mode
      device
      root@seco-imx8mp-d18:~# cat /sys/kernel/debug/gpio | grep -i USB
       gpio-10  (USB1_ID_GPIO        |id                  ) in  hi IRQ
       gpio-12  (USB0_EN_OC#_1V8_OUT_|regulator-usb1-vbus ) out lo
       gpio-99  (USB0_VBUS_GPIO      )
       gpio-115 (USB0_EN_OC_1V8_IN   )
      4fcd933e
  4. Sep 13, 2024
    • GitBot's avatar
      Integrate linux-seco-imx/seco_lf-5.10.y_develop-santino · 041dc257
      GitBot authored
      --
      
      Commit: clea-os/bsp/nxp/linux-seco-imx@8473ecdd
      
      [SANTINO][DTS] Comment-out nodes without suitable drivers
      
      The imported nodes:
      - `spreadspectrum`
      - `gfplatdetect`
      have no suitable driver. These nodes have been commented-out in order
      restore them once the related drivers will be ported.
      
      The overlay is impacted too as it handles `spreadspectrum`.
      
      --
      
      Commit: clea-os/bsp/nxp/linux-seco-imx@2a93e3d9
      
      [SANTINO][DTS] Change sound driver
      
      Changed audio driver for SGTL5000 codec. The `simple-audio-card` didn't
      create the sound card. The speaker enable needs to be driven by the OS.
      
      Test procedure:
      ```
      root@seco-imx6dl-santino:~# amixer sset Lineout unmute
      root@seco-imx6dl-santino:~# amixer sset Lineout 31
      root@seco-imx6dl-santino:~# amixer sset PCM 192
      root@seco-imx6dl-santino:~# gpioset gpiochip4 29=1
      root@seco-imx6dl-santino:~# aplay -Dhw:0,0 /usr/share/sounds/alsa/Front_Right.wav
      ```
      
      JIRA Reference: [SANTINO-23]
      
      --
      
      Commit: clea-os/bsp/nxp/linux-seco-imx@2d41e1dd
      
      [SANTINO][OVERLAY] Add 800x480 LCD and touch screen
      
      LCD:
      Add reg-userspace-consumer to let the user handle the LCD panel.
      
      Test procedure:
      i) switch off the panel:
      ```
      echo "disabled" > /sys/class/regulator/regulator.7/reg_rgb_panel_on_consumer-rgb_panel_on/state
      echo 0 > /sys/class/backlight/backlight/brightness
      ```
      ii) switch on the panel:
      ```
      echo 255 > /sys/class/backlight/backlight/brightness
      echo "enabled" > /sys/class/regulator/regulator.7/reg_rgb_panel_on_consumer-rgb_panel_on/state
      ```
      
      TOUCH:
      Calibration needed at OS level. For weston:
      ```
      weston-touch-calibrator /dev/fb0
      ```
      
      JIRA Reference: [SANTINO-19]
      
      --
      
      Commit: clea-os/bsp/nxp/linux-seco-imx@f5ed2bc2
      
      [SANTINO][DTS] Port dts files from NE kernel
      041dc257
  5. Sep 12, 2024
    • GitBot's avatar
      Integrate linux-seco-imx/ectrl-stm32 · 7991a881
      GitBot authored
      --
      
      Commit: clea-os/bsp/nxp/linux-seco-imx@cb9a3859
      
      [DRIVER] seco: ectrl_stm32: align input events to managed events
      
      Test details:
      root@seco-sys-d18:~# evtest /dev/input/event0
      Input driver version is 1.0.1
      Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
      Input device name: "seco_ectrl"
      Supported events:
        Event type 0 (EV_SYN)
        Event type 1 (EV_KEY)
          Event code 62 (KEY_F4)
          Event code 63 (KEY_F5)
          Event code 64 (KEY_F6)
          Event code 338 (?)
          Event code 339 (?)
          Event code 341 (?)
          Event code 343 (?)
      Properties:
      Testing ... (interrupt to exit)
      [   39.778790] Embedded Controller: event name: PowerButton, code 338
      [   39.778790]
      Event: time 1716209812.595937, type 1 (EV_KEY), code 338 (?), value 1
      Event: time 1716209812.595937, -------------- SYN_REPORT ------------
      Event: time 1716209812.596005, type 1 (EV_KEY), code 338 (?), value 0
      Event: time 1716209812.596005, -------------- SYN_REPORT ------------
      7991a881
    • GitBot's avatar
      Integrate u-boot-seco-imx/seco_lf_v2021.04_develop-santino · 92f97f4f
      GitBot authored
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@6ee1831a
      
      [SANTINO][NON-FUNCTIONAL] Update MAINTAINERS
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@f9ce32d2
      
      [SANTINO][NON-FUNCTIONAL] Convert tabs to spaces
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@3bb82eff
      
      [SANTINO] Remove not needed ldo bypass code
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@b51bb6cc
      
      [SANTINO] Adapt seco-config video to Santino overlays
      
      Add the RGB parallel LCD to the options of seco_config (video).
      
      Remove the unneeded video options coming from A75 project.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@0bc82480
      
      [SANTINO] Fix SD boot configuration through seco-config
      
      Fixed SCFG_BOOT_DEV_ID_SD_EXT. It was stringify-ing a variable not
      defined, causing an U-Boot error when booting from SD card.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@222db61a
      
      [SANTINO] Configure default console interface
      
      Switched to ttymxc0 due to kernel device tree. In the kernel device tree
      the UART2 is aliased as serial0.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@c2adcb86
      
      [SANTINO] Remove SPI-onboard device tree source
      
      The SPI is not configured on this board.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@e9c5dffd
      
      [SANTINO] Remove peripheral overlay from seco-config
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@41553411
      
      [SANTINO][DTS] Add USB support
      
      NOTE: it's not possible to boot from USB (eMMC and SD card only) due to
      board design.
      
      Tested inserting a USB drive into the port X34:
      ```
      MX SECO U-Boot > usb reset
      resetting USB...
      Bus usb@02184000: usb dr_mode not found
      Port not available.
      Bus usb@2184200: USB EHCI 1.00
      scanning bus usb@2184200 for devices... 2 USB Device(s) found
             scanning usb for storage devices... 1 Storage Device(s) found
      MX SECO U-Boot > part list usb 0
      
      Partition Map for USB device 0  --   Partition Type: EFI
      
      Part	Start LBA	End LBA		Name
      	Attributes
      	Type GUID
      	Partition GUID
        1	0x00004000	0x0002d997	"bootfs"
      	attrs:	0x0000000000000004
      	type:	ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
      	guid:	09ddd247-917f-476a-bd4a-0aaa15ccd1a0
        2	0x00030000	0x0073e899	"rootfs"
      	attrs:	0x0000000000000000
      	type:	0fc63daf-8483-4772-8e79-3d69d8477de4
      	guid:	e202d33f-261e-4c19-b90b-eaab27bd9a66
      
      ```
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@d8191429
      
      [SANTINO][DTS] Remove commented nodes and convert Tabs to spaces
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@61a5d2c5
      
      [SANTINO] Remove Ethernet-related unused functions
      
      Remove from the board file the Ethernet-related function inherited from
      the NXP reference project.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@d2d993ce
      
      [SANTINO][DTS][DEFCONFIG] Add Ethernet support
      
      Update both defconfig and device-tree to enable the Ethernet port on the
      board.
      Tested with:
      ```
      MX SECO U-Boot > setenv ipaddr 10.0.1.100
      MX SECO U-Boot > setenv netmask 255.255.255.0
      MX SECO U-Boot > ping 10.0.1.1
      Using ethernet@2188000 device
      host 10.0.1.1 is alive
      ```
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@f118ea5c
      
      [SANTINO] Fix usdhc index in the board file
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@8d2b7ad0
      
      [SANTINO][DTS] Configure USB OTG
      
      Configured the USB OTG as per Santino schematic. This commit enables the
      flashing onto eMMC via `uuu` tool.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@c24a4e6c
      
      [SANTINO][PMIC] Force DDR voltage to 1.35V
      
      Needed because some boards come with PMIC pre-programmed for 1.5V.
      
      Ideally this should be done before initializing the DRAM but, due to
      lack of internal SRAM of the MCU, requires a bigger effort to be
      implemented.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@07497a99
      
      [SANTINO] Add default device tree
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@ae7b4fdc
      
      [SANTINO] Remove unneeded functions in board files
      
      Removed:
      - LVDS, HDMI -> they are fully handled by the OS
      - PCIe
      - EPDC
      - SPI
      - functions from NXP reference project
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@02c508ca
      
      [SANTINO] Fix usdhc device numbers
      
      Adapted `usdhc_devno` to the Santino board. This fixes the MMC not found
      during boot.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@88f40b85
      
      [SANTINO][ENV] Add Seco-like environment
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@1fd7a16f
      
      [SANTINO] Remove unused files
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@e229e9be
      
      [SANTINO][PMIC] Configure PFUZE3000 over I2C1
      
      Added the needed changes to correctly enable the PMIC.
      
      TODO: some Santino boards has PMIC supplying DDR with 1.5V instead of
      the required 1.35V. Therefore, the PMIC should be programmed through
      I2C to change reduce SW3 voltage. This should be done before RAM
      initialization.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@6c3c0d0a
      
      [SANTINO][DTS] Configure usdhc2, usdhc4, uart2
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@de636d51
      
      [SANTINO][DTS] Depopulate dts files
      
      Removed unneeded nodes from dts files derived from the NXP reference
      project.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@8143cad1
      
      [SANTINO] Configure usdhc2 and usdhc4
      
      Configure all the relevant variables for usdhc2 (SD card)
      and usdhc4 (eMMC) in the board configuration file.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@c924adcd
      
      [SANTINO][NON-FUNCTIONAL] Clean-up board files
      
      Removed unnecessary commented code from NXP reference project.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@732ec108
      
      [SANTINO][DDR] Add 1GB (2x512MB) DDR calibration
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@0117313a
      
      [SANTINO] Add SPL_TEXT_BASE to seco_imx6dl_santino_defconfig
      
      Configure the SPL base to let `uuu` tool execut the SPD.
      
      This commit shows the first output through board's serial port.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@e14d3239
      
      [SANTINO][DDR] Add DDR calibration
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@28f70db1
      
      [SANTINO][NON-FUNC] defconfig re-organization
      
      Sorted defconfig entries as per A62 board. Nothing have been added,
      removed or commented.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@170510e8
      
      [SANTINO] Minimal porting from A62 to compile u-boot
      
      Applied the minimal changes in order to successfully compile u-boot.
      A62 code has been used as guideline to compile the Santino target,
      keeping - as much as possible - the NXP reference project's code.
      
      To compile, the file `include/configs/seco_imx6dl_santino.h` has been
      replaced with the content of the same file for A62.
      
      This commit succesfully build u-boot and u-boot-spl.
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@111c23eb
      
      [SANTINO] Create Santino board target
      
      U-boot cannot be compiled due to mis-configuration (keeping the
      reference project files with different target)
      
      --
      
      Commit: clea-os/bsp/nxp/u-boot-seco-imx@2bdfbcf5
      
      [SANTINO] Create tree based on `mx6dlsabresd` project
      
      This is the first commit. Only the minimal structure to handle the
      defconfig has been added. More commits will come to adapt the reference
      project to the Santino board.
      92f97f4f
  6. Sep 09, 2024
  7. Sep 03, 2024
  8. Sep 02, 2024
  9. Aug 29, 2024
  10. Aug 23, 2024
  11. Aug 09, 2024
  12. Aug 08, 2024
  13. Jul 31, 2024
  14. Jul 26, 2024
  15. Jul 23, 2024
  16. Jul 22, 2024
  17. Jul 18, 2024
  18. Jul 16, 2024
  19. Jul 15, 2024
  20. Jul 11, 2024
  21. Jul 10, 2024
  22. Jul 09, 2024
  23. Jul 05, 2024
  24. Jul 03, 2024
  25. Jul 02, 2024
Loading