[U-Boot] [PATCH 0/7] Add board detection for Odroid XU3 / XU3Lite / XU4

Anand Moon linux.amoon at gmail.com
Sun Aug 30 21:03:16 CEST 2015


hi Przemyslaw,

On 28 August 2015 at 19:29, Przemyslaw Marczak <p.marczak at samsung.com>
wrote:
> This patchset adds:
> - define the CPU name for Chromebook Peach Pi as Exynos5800
> - set the cpu id of Exynos5422 to 0x5422
> - S2MPS11 PMIC I/O driver
> - Exynos5420-compatible (9-channel, 12-bit) ADC driver
> - board detection for Odroid XU3 / XU3lite / XU4
>
> This was tested on Odroid XU3 and XU3 Lite, without the XU4,
> but I'm waiting for reply from the Odroid forum users.
>
> Tested with buildman for samsung.
>
> Available on github:
> https://github.com/bobenstein/u-boot/tree/xu3-patchset-test
>
> Przemyslaw Marczak (7):
>   s5p: cpu_info: use defined CPU name if available
>   peach-pi: define CPU name for SoC Exynos5800
>   Exynos5422/5800: set cpu id to 0x5422
>   dm: pmic: add s2mps11 PMIC I/O driver
>   odroid-xu3: enable s2mps11 PMIC support
>   Exynos: add internal ADC driver
>   exynos5-dt: add board detection for Odroid XU3/XU3L/XU4.
>
>  arch/arm/cpu/armv7/s5p-common/cpu_info.c  |   5 ++
>  arch/arm/dts/exynos5422-odroidxu3.dts     |   7 ++
>  arch/arm/mach-exynos/Makefile             |   1 +
>  arch/arm/mach-exynos/adc.c                |  83 ++++++++++++++++++++++
>  arch/arm/mach-exynos/clock.c              |  16 ++---
>  arch/arm/mach-exynos/clock_init_exynos5.c |   2 +-
>  arch/arm/mach-exynos/common_setup.h       |   4 +-
>  arch/arm/mach-exynos/include/mach/adc.h   |  45 ++++++++++++
>  arch/arm/mach-exynos/include/mach/cpu.h   |  10 +--
>  arch/arm/mach-exynos/include/mach/gpio.h  |   4 +-
>  arch/arm/mach-exynos/pinmux.c             |   2 +-
>  arch/arm/mach-exynos/power.c              |   2 +-
>  board/samsung/common/exynos5-dt.c         | 114
++++++++++++++++++++++++++++++
>  configs/odroid-xu3_defconfig              |   3 +
>  doc/device-tree-bindings/pmic/s2mps11.txt |  17 +++++
>  drivers/power/pmic/Kconfig                |  14 ++++
>  drivers/power/pmic/Makefile               |   1 +
>  drivers/power/pmic/s2mps11.c              |  60 ++++++++++++++++
>  include/configs/odroid_xu3.h              |  12 ++++
>  include/configs/peach-pi.h                |   2 +
>  include/power/s2mps11.h                   | 109
++++++++++++++++++++++++++++
>  21 files changed, 493 insertions(+), 20 deletions(-)
>  create mode 100644 arch/arm/mach-exynos/adc.c
>  create mode 100644 doc/device-tree-bindings/pmic/s2mps11.txt
>  create mode 100644 drivers/power/pmic/s2mps11.c
>  create mode 100644 include/power/s2mps11.h
>

Thanks for these patches.
​ 👍​


At the last moment I got this to work on my odroidxu3 board.

One problem I would like to address out is usb smsc95xx ethernet is not
getting started at the boot.

# usb start                   /* command failed at the start */
------------------------------------------------------------------------------------------------------
U-Boot 2015.10-rc2-00226-g7dbe336 (Aug 30 2015 - 23:41:27 +0530) for
ODROID-XU3

CPU:   Exynos5422 @ 800 MHz
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Model: xu3
DRAM:  2 GiB
MMC:   EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
starting USB...
USB0:   USB EHCI 1.00
USB1:   Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
USB2:   Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
-----------------------------------------------------------------------------------------

I will give it a try with latest kernel and let you know how it worked on
Odroid-XU4 / XU4.

-Anand Moon

> --
> 1.9.1
>


More information about the U-Boot mailing list