Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed broken macro

...

  1. Disconnect power supply before connecting the expansion board to the development kit.
  2. Once the expansion board has been connected, power on the development kit and hit any key to boot into barebox when prompted:

    Code Block
    Hit m for menu or any other key to stop autoboot:   3
     
    type exit to get to the menu
    barebox@Phytec_phyCORE_AM335x:/



  3. To view the available expansion boards:

    Code Block
    ls /env/expansions/
    . ..
    am335x-phytec-lcd-018-pba-b-01  am335x-phytec-lcd-018-pba-c-01
    am335x-phytec-lcd-018-pcm-953   am335x-phytec-lcd-018-peb-av-02
    am335x-wega-peb-av-01           am335x-wega-peb-eval-01


    Note

    Please note that not all of these will be compatible with your specific board.


  4. Edit /env/config-expansions to modify which expansions are enabled:

    Code Block
    edit /env/config-expansions

     

    1. You should see something similar to the following. By default, Barebox built with the phyCORE-AM335x RDK configures the kernel to enable display LCD-018:

      Code Block
      #!/bin/sh
      . /env/expansions/am335x-phytec-lcd-018-pcm-953 


  5. Remove the line  . /env/expansions/am335x-phytec-lcd-018-pcm-953 so that the LCD pins are not configured for LCD-018 when the kernel is booted. You may create your own custom expansion files to enable by following the format described below.
    1. The expansions make use of the barebox command of_enable_node which enables the device tree node. For example, the expansion configuration file /env/expansions/am335x-phytec-lcd-018-pcm-953 contains the following lines:

      Code Block
      of_enable_node /panel
      of_enable_node /backlight
      of_enable_node /ocp/lcdc@0x4830e000/
      of_enable_node /ocp/epwmss@48300000/
      of_enable_node /ocp/epwmss@48300000/ecap@48300100/
      of_enable_node /ocp/i2c@44e0b000/touchscreen@38/ 


      Note

      When using of_enable_node, you must list the full path to the node as it is implemented in the device tree.

Content by Label
showLabelsfalse
max5
spacesPKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("am335x","yocto","pd15_1_0","dts","pd14_1-rc1") and type = "page" and space = "PKB"
labelsam335x yocto dts pd15_1_0 pd14_1-rc1


Page properties
hiddentrue


Related issues 


...