...
- Disconnect power supply before connecting the expansion board to the development kit.
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:/
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.
Edit /env/config-expansions to modify which expansions are enabled:
Code Block edit /env/config-expansions
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
- 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.
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.
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page properties | ||
---|---|---|
| ||
|
...