[U-Boot] [PATCH v3 3/3] x86: Add Intel Edison board files

Simon Glass sjg at chromium.org
Fri Jul 7 03:59:21 UTC 2017


On 6 July 2017 at 05:41, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> Add Intel Edison board which is using U-Boot.
>
> The patch is based on work done by the following people (in alphabetical
> order):
>         Aiden Park <aiden.park at intel.com>
>         Dukjoon Jeon <dukjoon.jeon at intel.com>
>         eric.park <eric.park at intel.com>
>         Fabien Chereau <fabien.chereau at intel.com>
>         Felipe Balbi <felipe.balbi at linux.intel.com>
>         Scott D Phillips <scott.d.phillips at intel.com>
>         Sebastien Colleur <sebastienx.colleur at intel.com>
>         Steve Sakoman <steve.sakoman at intel.com>
>         Vincent Tinelli <vincent.tinelli at intel.com>
>
> In case we're building for Intel Edison, we must have 4096 bytes of
> zeroes in the beginning on u-boot.bin. This is done in
> board/intel/edison/config.mk.
>
> First run sets hardware_id environment variable which is read from
> System Controller Unit (SCU).
>
> Serial number (serial# environment variable) is generated based on eMMC
> CID.
>
> MAC address on USB network interface is unique to the board but kept the
> same all over the time.
>
> Set mac address from U-Boot using following scheme:
>         OUI = 02:00:86
>         next 3 bytes of MAC address set from eMMC serial number
>
> This allows to have a unique mac address across reboot and flashing.
>
> Signed-off-by: Vincent Tinelli <vincent.tinelli at intel.com>
> Signed-off-by: Felipe Balbi <felipe.balbi at linux.intel.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  arch/x86/cpu/tangier/Kconfig |   4 ++
>  arch/x86/dts/Makefile        |   1 +
>  arch/x86/dts/edison.dts      |  89 ++++++++++++++++++++++++++++++++++++
>  board/intel/Kconfig          |   8 ++++
>  board/intel/edison/Kconfig   |  26 +++++++++++
>  board/intel/edison/Makefile  |   7 +++
>  board/intel/edison/config.mk |  18 ++++++++
>  board/intel/edison/edison.c  | 104 +++++++++++++++++++++++++++++++++++++++++++
>  board/intel/edison/start.S   |  13 ++++++
>  configs/edison_defconfig     |  53 ++++++++++++++++++++++
>  doc/README.x86               |  39 ++++++++++++++++
>  include/configs/edison.h     |  61 +++++++++++++++++++++++++
>  12 files changed, 423 insertions(+)
>  create mode 100644 arch/x86/dts/edison.dts
>  create mode 100644 board/intel/edison/Kconfig
>  create mode 100644 board/intel/edison/Makefile
>  create mode 100644 board/intel/edison/config.mk
>  create mode 100644 board/intel/edison/edison.c
>  create mode 100644 board/intel/edison/start.S
>  create mode 100644 configs/edison_defconfig
>  create mode 100644 include/configs/edison.h

Reviewed-by: Simon Glass <sjg at chromium.org>

Thanks for the README, will give it a try!

- Simon


More information about the U-Boot mailing list