CubeMX Project for BRK

Viewing 4 reply threads
  • Author
    Posts
    • #11376
      Akshay AzhikodanAkshay
      Participant

        Hi Team,

        I have modified the the minimal config project in CubeMX and generated the device trees for the kernel,uboot and TF-A. How do I compile these files and add it to the developer package so that it works on the BRK board.

        Regards ,

        Akshay

      • #11382
        Neeraj Dantu
        Moderator

          Akshay,

          The procedure to compile custom device trees with the Developer Package is shown here: https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package/.

          Best,

          Neeraj

        • #11388
          Akshay AzhikodanAkshay
          Participant

            Thanks @Neeraj Dantu.
            The compilation was successful.But when I flash the U-Boot from my cubemx project the BRK board doesn’t seem to boot up. If i use the device tree for u-boot from the link:
            https://github.com/octavosystems/OSD32MP1-BRK-device-tree/tree/master/u-boot-v2020.01 the board seems to boot fine. Is it ok if i use this u-boot file along with my custom kernel device tree?
            Regards,
            Akshay

          • #11390
            Neeraj Dantu
            Moderator

              Akshay,

              That should work as long as you have all the features you need in U-Boot. Please check the SD card detect declaration in CubeMX generated device tree and make sure that it is the same pin as the CD pin connected in the BRK schematics. I suspect this is preventing the board boot.

              Best,

              Neeraj

               

               

            • #11460
              Akshay AzhikodanAkshay
              Participant

                Thanks Neeraj,
                I am trying to interface a wifi module with brk board usng UART. Do i need to write a wifi driver for the STLinux?
                Regards,
                Akshay

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.