kumquat-buildroot/board/freescale/imx28evk
Fabio Estevam 23e0f3350f imx28evk: Fix the first partition location
When the SD card is connected to the host PC it can be mounted as
/dev/mmcblk0 or /dev/sdX, depending on how the SD controller is connected to
/the PC.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

[Peter: extend commit meesage]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-25 19:57:20 +02:00
..
create-boot-sd.sh
readme.txt

**************************
Freescale i.MX28 EVK board
**************************

This file documents the Buildroot support for the Freescale i.MX28 EVK board.

Read the i.MX28 Evaluation Kit Quick Start Guide [1] for an introduction to the
board.

Build
=====

First, configure Buildroot for your i.MX28 EVK board:

  make freescale_imx28evk_defconfig

Build all components:

  make

You will find in ./output/images/ the following files:
  - imx28-evk.dtb
  - rootfs.tar
  - u-boot.sd
  - zImage

Create a bootable SD card
=========================

To determine the device associated to the SD card have a look in the
/proc/partitions file:

  cat /proc/partitions

Run the following script as root on your SD card. This will partition the card
and copy the bootloader, kernel and root filesystem as needed.

*** WARNING! The script will destroy all the card content. Use with care! ***

  ./board/freescale/imx28evk/create-boot-sd.sh <your-sd-device>

Boot the i.MX28 EVK board
=========================

To boot your newly created system (refer to the i.MX28 EVK Quick Start Guide
[1] for guidance):
- insert the SD card in the SD Card Socket 0 of the board;
- verify that your i.MX28 EVK board jumpers and switches are set as mentioned
  in the i.MX28 EVK Quick Start Guide [1];
- connect an RS232 UART cable to the Debug UART Port and connect using a
  terminal emulator at 115200 bps, 8n1;
- power on the board.

Enjoy!

References
==========
[1] http://cache.freescale.com/files/32bit/doc/user_guide/EVK_imx28_QuickStart.pdf