On Tue, May 12, 2015 at 6:48 AM, Peter Griffin peter.griffin@linaro.org wrote:
Hi Rob,
On 12 May 2015 at 01:44, Rob Herring rob.herring@linaro.org wrote:
On Tue, Mar 17, 2015 at 6:20 AM, Peter Griffin peter.griffin@linaro.org wrote:
Hi folks,
For fun I've done a minimal U-Boot port for the HiKey board, I thought I'd post it here in case anyone else is interested. This work is based on top of Linus Walleij Juno port.
The code can be found here: -
ssh://git@git.linaro.org:/people/peter.griffin/u-boot
Currently the port supports: -
- Serial
- eMMC (although only basic read testing)
- USB (ASIX usb networking works, no mass storage)
- GPIO
I've not seen any activity on this. Do you plan to send this upstream for review?
Yes I have been meaning to send the patches for a while. Thanks for the reminder / prod.
I just tried the pre-built binaries from here: http://people.linaro.org/~peter.griffin/hikey/hikey-u-boot-release_r1/u-boot...
It boots into u-boot, but the 'usb start' isn't working to detect my asix adapter (full log below). Any idea what's going on?
Kevin
debug EMMC boot: print init OK debug EMMC boot: send RST_N . debug EMMC boot: start eMMC boot...... load fastboot1!
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):b6cfb3ed2eb4 NOTICE: BL1: Built : 13:53:12, May 11 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 INFO: ddr3 rank1 init pass INFO: lpddr3_freq_init, set ddrc 800mhz INFO: init ddr3 rank0 INFO: ddr3 rank1 init pass INFO: Elpida DDR NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.1(debug):9a97502 NOTICE: BL2: Built : 10:22:35, Mar 17 2015 INFO: BL2: Loading BL3-1 INFO: Using FIP INFO: Loading file 'bl31.bin' at address 0xf9858000 INFO: File 'bl31.bin' loaded: 0xf9858000 - 0xf985f010 INFO: BL2: Loading BL3-3 INFO: Using FIP INFO: Loading file 'bl33.bin' at address 0x37000000 INFO: File 'bl33.bin' loaded: 0x37000000 - 0x3703db38 NOTICE: BL1: Booting BL3-1 NOTICE: BL3-1: v1.1(debug):9a97502 NOTICE: BL3-1: Built : 10:22:38, Mar 17 2015 INFO: BL3-1: Initializing runtime services INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x37000000 INFO: BL3-1: Next image spsr = 0x3c9 U-Boot 2015.04-rc1-00010-g49ec0dd (Mar 17 2015 - 10:11:00) hikey_aemv8a
DRAM: 1 GiB MMC: HiKey DWMMC: 0 Using default environment
In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 Bad Linux ARM64 Image magic! HiKey64# usb start starting USB... USB0: Core Release: 3.00a dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout! dwc_otg_core_host_init: Timeout!