Skip to contentSkip to conversation

U-Boot 2016.01 on Hikey 96

U-Boot Stefano Babic 2 participants 2 messages Jan 26, 2016 – Feb 6, 2016

lore
Share & tools
lore
#0 lore raw

Hi Peter,

I have a Hikey 96 and I wanted to check U-Boot on ARM-64. I followed your README in hisilicon/hikey and I run all steps without any apparent issue. U-Boot is current Tom's tree. Just this step:
sudo bash -x generate_ptable.sh

reports error, because PTABLE is not set. I have simply added "PTABLE=tiny" in the generate_ptable.sh script, and everything seems done without any errors.

I can install everything without errors, fastboot worked, but all what I get is:

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!

and nothing more, the board hangs - much before U-Boot is started. I see in your README that all latest versions are taken, for example for ATF. Do you know if it is still working with the README you pushed, or latest version for ATF / l_loader/.. can break together with U-Boot ? Can you give me some hints to go on ?

Thanks,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#1 lore raw

Hi Stefano,

Quoted 10 lines · Stefano Babic

I have a Hikey 96 and I wanted to check U-Boot on ARM-64. I followed your README in hisilicon/hikey and I run all steps without any apparent issue. U-Boot is current Tom's tree. Just this step:
sudo bash -x generate_ptable.sh

reports error, because PTABLE is not set. I have simply added "PTABLE=tiny" in the generate_ptable.sh script, and everything seems done without any errors.

Sorry for the delay in replying, I'm off sick atm, and not really checking work email.

Quoted 11 lines

I can install everything without errors, fastboot worked, but all what I get is:

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!

Which UART are you connected to?

Fairly recently ATF, U-Boot and the Linux kernel all switched to a UART on the low speed connector by default. I wonder if you are still connected to
the UART exposed on J16 where you have to solder on the connector?

The UARTs on the low speed connector can be easily accessed with this daughter board https://www.96boards.org/products/mezzanine/uarts/

It is useful to have both connected, as depending on what versions of ATF, U-Boot and kernel you use, you may get output on both UARTS, and things will appear to not work.

Quoted 6 lines

and nothing more, the board hangs - much before U-Boot is started. I see in your README that all latest versions are taken, for example for ATF. Do you know if it is still working with the README you pushed, or latest version for ATF / l_loader/.. can break together with U-Boot ? Can you give me some hints to go on ?

Last version I tested was 2015.10 with the latest versions of ATF at that point. I will try and test latest version of U-Boot and ATF at some point when I return beginning of March.

regards,

Peter.