Building OP-TEE OS for pine64-LTS
#1
I am attempting to add a mk to OP-TEE/build for the pine64-lts.  I'm pretty far along but have some fairly sticky faults.  The first was the transition from ARM-TF to optee_os failed.  So I sent some emails off and focused on something I thought would be easier, booting Linux.  

What I've done is copied and modified the build script from qemu with concepts from other boards (poplar, rpi3) and brought in mainline u-boot.  U-boot is made aware of ARM-TF and the board readily boots the resulting .bin.  Next I wrote and compiled a boot.cmd:

Code:
setenv bootargs earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 load mmc 0:1 0x44000000 /sun50i-a64-pine64-lts.dtb load mmc 0:1 0x42000000 /uImage bootm 0x42000000 - 0x44000000

The dtb is from the kernel source.  It seems to be okay with all of this except when it boots the following is printed.

Code:
switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 272 bytes read in 3 ms (87.9 KiB/s) ## Executing script at 4fc00000 22300 bytes read in 6 ms (3.5 MiB/s) 20294208 bytes read in 879 ms (22 MiB/s) ## Booting kernel from Legacy Image at 42000000 ...   Image Name:   Linux kernel   Image Type:   AArch64 Linux Kernel Image (uncompressed)   Data Size:    20294144 Bytes = 19.4 MiB   Load Address: 80008000   Entry Point:  80008000   Verifying Checksum ... OK ## Flattened Device Tree blob at 44000000   Booting using the fdt blob at 0x44000000 EHCI failed to shut down host controller.   Loading Kernel Image   Loading Device Tree to 0000000049ff7000, end 0000000049fff71b ... OK Starting kernel ...

It sits here forever.  I have attempted to change log levels and earlyprintk but nothing helps.   Any assistance would be greatly appreciated.


Messages In This Thread
Building OP-TEE OS for pine64-LTS - by foreverska - 12-13-2019, 02:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wifi not recognized - Pine64+ / Debian Bullseye coredumpster 0 2,178 08-13-2024, 10:09 AM
Last Post: coredumpster
  Armbian for Pine64 LTS Mark88 1 3,212 07-26-2024, 12:48 PM
Last Post: Nepse
  Kernel rebuild resources and process for pine64-LTS Atreyo tech 2 7,583 07-02-2021, 12:23 AM
Last Post: Atreyo tech
  SoPine/Pine64 LTS: Ubuntu Mate is not booting jaganteki 0 4,293 11-20-2018, 10:49 PM
Last Post: jaganteki
  Problem setting Pine64 as a USB device martin357 2 7,145 07-02-2018, 02:08 AM
Last Post: martin357

Forum Jump:


Users browsing this thread: 1 Guest(s)