Selecting a Platform

Selecting a platform is the initial step in the build of a kernel for your target. A platform configuration is essentially a collection of kernel configurations that are associated with that particular platform. This process allows the user to configure for a target platform without having to go through all the configurations associated with that platform.

Choosing Vendor and Platform

Start the Configuration Menu

On the command prompt, change into $PETALINUX/software/petalinux-dist. Use one of the four main configuration methods to start the configuration menu.

$ cd $PETALINUX/software/petalinux-dist
$ make menuconfig

Select vendor and platform

Select the vendor and platform for your target device.

  ┌──────────────────────── Vendor/Product Selection ─────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.            │
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes,   │
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help.       │
  │  Legend: [*] built-in  [ ] excluded  <M> module  < > module capable       │
  │ ┌───────────────────────────────────────────────────────────────────────┐ │
  │ │              --- Select the Vendor you wish to target                 │ │
  │ │              (Xilinx) Vendor                                          │ │
  │ │              --- Select the Product you wish to target                │ │
  │ │              (ML401) Xilinx Products                                  │ │
  │ │                                                                       │ │
  │ │                                                                       │ │
  │ │                                                                       │ │
  │ │                                                                       │ │
  │ │                                                                       │ │
  │ │                                                                       │ │
  │ │                                                                       │ │
  │ └───────────────────────────────────────────────────────────────────────┘ │
  ├───────────────────────────────────────────────────────────────────────────┤
  │                     <Select>    < Exit >    < Help >                      │
  |___________________________________________________________________________|

The above example selects the Xilinx vendor and ML401 platform. If the vendor and platform do not exist for your device, refer to the Adding New Platform Section for more information on adding your own platform into PetaLinux.

Save Settings

Save and exit the configuration menu. The configuration for your platform is now saved in your current build tree.

  ┌──────────────────────────────────────────────────────────┐
  │   Do you wish to save your new kernel configuration?     │
  ├──────────────────────────────────────────────────────────┤
  │                 < (Yes) >      <  No  >                  │
  └──────────────────────────────────────────────────────────┘