U-boot-xlnx

From ElphelWiki
Revision as of 12:20, 14 January 2016 by Oleg (talk | contribs) (Steps)
Jump to: navigation, search

Desctiption

A walkthrough for microzed.

Steps

Step 0: toolchain

1. Build and install toolchain with poky, instructions here.

Step 1: get source

git clone https://github.com/Xilinx/u-boot-xlnx.git

latest commit:

commit 40e8c28b90725f1e23e22c3b3514cf0b531f1bee
Author: Michal Simek <michal.simek@xilinx.com>
Date:   Mon Jan 11 11:50:53 2016 +0100

Step 2: initenv

1. Create initenv in u-boot-xlnx:

initenv:

  1. !/bin/sh

export CROSS_COMPILE=arm-poky-linux-gnueabi- export PATH=/opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/:$PATH

Step 2: make

make zynq_microzed_defconfig

output:

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
make