PineTab2 spec for ddr and
#1
I'm trying to build a U-Boot loader for PineTab2 (don't ask me why, I have no answer to this question).
I use this guide  https://forum.pine64.org/showthread.php?tid=7992 with some modifications.
However, it fails on step 2 - building atf. Without it, U-Boot returns an error
Code:
[alarm@danctnix u-boot]$ make pinetab2-rk3566_defconfig   # # configuration written to .config # [alarm@danctnix u-boot]$ make -j 4 scripts/kconfig/conf  --syncconfig Kconfig CFG     u-boot.cfg GEN     include/autoconf.mk.dep CFG     spl/u-boot.cfg GEN     include/autoconf.mk GEN     spl/include/autoconf.mk UPD     include/generated/timestamp_autogenerated.h ENVC    include/generated/env.txt ENVP    include/generated/env.in ENVT    include/generated/environment.h LDS     u-boot.lds CC      common/version.o AR      common/built-in.a CC      env/common.o AR      env/built-in.a LD      u-boot OBJCOPY u-boot.srec OBJCOPY u-boot-nodtb.bin RELOC   u-boot-nodtb.bin SYM     u-boot.sym CAT     u-boot-dtb.bin MKIMAGE u-boot.img MKIMAGE u-boot-dtb.img COPY    u-boot.bin CC      spl/common/spl/spl.o AR      spl/common/spl/built-in.a LD      spl/u-boot-spl OBJCOPY spl/u-boot-spl-nodtb.bin SYM     spl/u-boot-spl.sym CAT     spl/u-boot-spl-dtb.bin COPY    spl/u-boot-spl.bin BINMAN  .binman_stamp [b]Image 'simple-bin' is missing external blobs and is non-functional: rockchip-tpl atf-bl31[/b]                                                                                                                                                                                                                               /binman/simple-bin/mkimage/rockchip-tpl (rockchip-tpl):  An external TPL is required to initialize DRAM. Get the external TPL  binary and build with ROCKCHIP_TPL=/path/to/ddr.bin. One possible source  for the external TPL binary is https://github.com/rockchip-linux/rkbin. /binman/simple-bin/fit/images/@atf-SEQ/atf-bl31 (atf-bl31):  See the documentation for your board. You may need to build ARM Trusted  Firmware and build with BL31=/path/to/bl31.bin [b]Image 'simple-bin' has faked external blobs and is non-functional: rockchip-tpl[/b]                                                                                                                                                                                                                               [b]Image 'simple-bin' is missing optional external blobs but is still functional: tee-os[/b]                                                                                                                                                                                                                               /binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os):  See the documentation for your board. You may need to build Open Portable  Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin [b]Image 'simple-bin-spi' is missing external blobs and is non-functional: rockchip-tpl atf-bl31[/b]                                                                                                                                                                                                                               /binman/simple-bin-spi/mkimage/rockchip-tpl (rockchip-tpl):  An external TPL is required to initialize DRAM. Get the external TPL  binary and build with ROCKCHIP_TPL=/path/to/ddr.bin. One possible source  for the external TPL binary is https://github.com/rockchip-linux/rkbin. /binman/simple-bin-spi/fit/images/@atf-SEQ/atf-bl31 (atf-bl31):  See the documentation for your board. You may need to build ARM Trusted  Firmware and build with BL31=/path/to/bl31.bin [b]Image 'simple-bin-spi' has faked external blobs and is non-functional: rockchip-tpl[/b]                                                                                                                                                                                                                               [b]Image 'simple-bin-spi' is missing optional external blobs but is still functional: tee-os[/b]                                                                                                                                                                                                                               /binman/simple-bin-spi/fit/images/@tee-SEQ/tee-os (tee-os):  See the documentation for your board. You may need to build Open Portable  Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin [b]Some images are invalid[/b] make: *** [Makefile:1339: .binman_stamp] Error 103
Well, now I'm looking at https://github.com/rockchip-linux/rkbin repository, and there are lots of options there for the TPL
Code:
ls rkbin/bin/rk35/rk3566* rkbin/bin/rk35/rk3566_ddr_1056MHz_D3_LP3_eyescan_v1.23.bin   rkbin/bin/rk35/rk3566_ddr_1056MHz_ultra_v1.20.bin rkbin/bin/rk35/rk3566_ddr_528MHz_ultra_v1.10.bin rkbin/bin/rk35/rk3566_ddr_920MHz_ultra_v1.10.bin rkbin/bin/rk35/rk3566_ddr_1056MHz_D4_LP4_4x_eyescan_v1.23.bin rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.23.bin rkbin/bin/rk35/rk3566_ddr_780MHz_ultra_v1.10.bin rkbin/bin/rk35/rk3566_ddr_920MHz_v1.23.bin
Does anyone know what the DDR frequency is on the PineTab2?

Another question.
There is no bl31 for rk3566 in https://github.com/rockchip-linux/rkbin. However, according to https://github.com/ARM-software/arm-trus...st?plain=1 rk3566 and rk3568 are the same for bl31. Is that right?
Can I use rk3568_bl31_v1.45.elf to build u-boot for rk3566?

Don't laugh too hard, I'm new on that   Smile
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinetab2 not starting Corconegre 12 25,245 07-25-2025, 03:04 AM
Last Post: biketool
  What is the state of the PineTab2 today? Arcikks 2 4,743 12-04-2024, 08:30 PM
Last Post: dachalife
  pinetab2 hardware is not very good lmartin 13 17,860 07-30-2024, 08:50 AM
Last Post: Piotr Bujakowski
  Pinetab2 Audio Hiss/Static from speakers scottgr 2 4,415 03-16-2024, 11:56 AM
Last Post: scottgr
  Pinetab2 screen removal Corconegre 5 7,711 01-10-2024, 08:08 AM
Last Post: stozi
  PineTab2, Ubuntu Touch and WiFI JMoore 2 6,108 01-07-2024, 10:58 AM
Last Post: JMoore
  Using the Pinetab2's PCIe slot FortunateFowl 0 3,056 12-22-2023, 01:23 PM
Last Post: FortunateFowl
Exclamation Pinetab2 Keyboard Issues lockedpotato 0 2,980 10-14-2023, 05:48 PM
Last Post: lockedpotato
  pinetab2 booting when adapter connected Ome Ko 16 17,018 09-15-2023, 11:45 PM
Last Post: Ome Ko
  SOLVED: New PineTab2 not booting properly. SECONDARY PROBLEM SOLVED: Not updating bacon_dude 6 10,113 09-06-2023, 07:43 PM
Last Post: bacon_dude

Forum Jump:


Users browsing this thread: 1 Guest(s)