@moore can you please look, which clock assigned to GPT on MT7622? Not value, but ID and parent plz.
Also, looks like, stated in doc 13MHz a bit wrong. At least board do about 12 sec on sleep 10.
have not get managed it…copied kernel+dtb (which i load from my older uboot) to root of sd-card and did this:
U-Boot MT7622> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait
U-Boot MT7622> ls mmc 1:1
bananapi/
0 sd.txt
8841288 uImage_5.4
23721 bpi-r64-5.4.dtb
3 file(s), 1 dir(s)
U-Boot MT7622> setenv kaddr 0x44000000
U-Boot MT7622> setenv dtaddr 0x47000000
U-Boot MT7622> fatload mmc 1:1 $kaddr uImage_5.4
8841288 bytes read in 785 ms (10.7 MiB/s)
U-Boot MT7622> fatload mmc 1:1 $dtaddr bpi-r64-5.4.dtb
23721 bytes read in 8 ms (2.8 MiB/s)
U-Boot MT7622> bootm $kaddr - $dtaddr
## Booting kernel from Legacy Image at 44000000 ...
Image Name: Linux Kernel 5.4.0-rc1-r64
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 8841224 Bytes = 8.4 MiB
Load Address: 40080000
Entry Point: 40080000
Verifying Checksum ... OK
## Flattened Device Tree blob at 47000000
Booting using the fdt blob at 0x47000000
Loading Kernel Image
Loading Device Tree to 7bff7000, end 7bfffca8 ... OK
Starting kernel ...
then it hangs till a board-reset occours
did same steps with my old uboot (where i have additional env-vars set) and i see kernel booting…with this running i see emmc-partitions and can access them
for the not loading kernel (which was loaded from sd-card correctly) i guess it is a problem with loading ATF (missing offset/config-option)…if i load kernel with old uboot i see this:
Starting kernel ...
[ATF][ 8.776223]save kernel info
[ATF][ 8.779425]Kernel_EL2
[ATF][ 8.782181]Kernel is 64Bit
[ATF][ 8.785369]pc=0x40080000, r0=0x6bff7000, r1=0x0
INFO: BL3-1: Preparing for EL3 exit to normal world, Kernel
INFO: BL3-1: Next image address = 0x40080000
INFO: BL3-1: Next image spsr = 0x3c9
[ATF][ 8.803636]el3_exit
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]