On 6 July 2017 at 05:41, Andy Shevchenko <[email protected]> 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 <[email protected]> > Dukjoon Jeon <[email protected]> > eric.park <[email protected]> > Fabien Chereau <[email protected]> > Felipe Balbi <[email protected]> > Scott D Phillips <[email protected]> > Sebastien Colleur <[email protected]> > Steve Sakoman <[email protected]> > Vincent Tinelli <[email protected]> > > 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 <[email protected]> > Signed-off-by: Felipe Balbi <[email protected]> > Signed-off-by: Andy Shevchenko <[email protected]> > --- > 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 <[email protected]> Thanks for the README, will give it a try! - Simon _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

