
On Thu, Jul 6, 2017 at 7:41 PM, Andy Shevchenko andriy.shevchenko@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@intel.com Dukjoon Jeon dukjoon.jeon@intel.com eric.park eric.park@intel.com Fabien Chereau fabien.chereau@intel.com Felipe Balbi felipe.balbi@linux.intel.com Scott D Phillips scott.d.phillips@intel.com Sebastien Colleur sebastienx.colleur@intel.com Steve Sakoman steve.sakoman@intel.com Vincent Tinelli vincent.tinelli@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@intel.com Signed-off-by: Felipe Balbi felipe.balbi@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevchenko@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: Bin Meng bmeng.cn@gmail.com