Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rpardini/b285d106067590a60d97afacb0c95d16 to your computer and use it in GitHub Desktop.
Save rpardini/b285d106067590a60d97afacb0c95d16 to your computer and use it in GitHub Desktop.
NanoPC T6 LTS - Fixed boot with from-factory eMMC blobs and Armbian SD, by disabling OPTEE in uboot defconfig
DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:28.9%, TX Vref:23.8%,21.8%
CH1 RX Vref:28.5%, TX Vref:24.8%,21.8%
CH2 RX Vref:29.3%, TX Vref:23.8%,22.8%
CH3 RX Vref:30.1%, TX Vref:20.8%,18.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g1b1171b7c71-220418 #fa (Apr 18 2024 - 11:12:44)
Trying to boot from MMC2
No misc partition
spl: partition error
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(806278dba1...) + OK
## Checking uboot 0x00200000 ... sha256(bf1bc8ffb2...) + OK
## Checking fdt 0x00315450 ... sha256(268d09d694...) + OK
## Checking atf-2 0x000f0000 ... sha256(c00c7fd75b...) + OK
## Checking atf-3 0xff100000 ... sha256(71c3a5841b...) + OK
## Checking atf-4 0xff001000 ... sha256(2301cf73be...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 797.301/962.28 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-405-gb52c2eadd:derrick.huang
NOTICE: BL31: Built : 11:23:47, Aug 15 2022
INFO: spec: 0x1
INFO: ext 32k is not valid
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: system boots from cpu-hwid-0
INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
ERROR: dfs get fsp_params[0] error, 0xfead0004 != 0xfead0001
ERROR: dfs get fsp_params[1] error, 0x0 != 0xfead0001
ERROR: dfs get fsp_params[2] error, 0x0 != 0xfead0001
ERROR: dfs get fsp_params[3] error, 0x56c != 0xfead0001
ERROR: loader&trust unmatch!!! Please update trust if need enable dmc
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09-armbian (Jun 05 2024 - 13:48:41 +0000)
Model: NanoPC-T6
MPIDR: 0x81000000
PreSerial: 2, raw, 0xfeb50000
DRAM: 16 GiB
Sysmem: init
Relocation Offset: eda49000
Relocation fdt: eb9f9120 - eb9fecd0
CR: M/C/I
Using default environment
DM: v2
no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No boot partition
Failed to load DTB, ret=-2
No valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
Model: NanoPC-T6
MPIDR: 0x81000000
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KH4000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
No misc partition
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
Scanning mmc 1:1...s #0, OK
Found U-Boot script /boot/boot.scr
4245 bytes read in 24 ms (171.9 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
Testing for existence mmc 1 /boot/armbianEnv.txt ...
Found mmc 1 /boot/armbianEnv.txt - loading mmc 1 0x9000000 /boot/armbianEnv.txt ...
162 bytes read in 22 ms (6.8 KiB/s)
Loaded environment from mmc 1 /boot/armbianEnv.txt into 0x9000000 filesize 0xa2...
Importig into environment ...
armbianEnv.txt imported into environment
20645729 bytes read in 1692 ms (11.6 MiB/s)
45820416 bytes read in 3715 ms (11.8 MiB/s)
274384 bytes read in 142 ms (1.8 MiB/s)
Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards.
Unknown cNo misc partition
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: AArch64
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 0x08300000
Booting using the fdt blob at 0x08300000
reserving fdt memory region: ad Using Device Tree in place at 0000000008300000, end 00000000083abfff
WARNING: could not set reg FDT_ERR_BADOFFSET.
## reserved-memory:
cma: addr=10000000 size=10000000
ramoops@110000: addr=110000 size=e0000
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Adding bank: 0x4f0000000 - 0x500000000 (size: 0x10000000)
Total: 6598.643/6615.159 ms
Starting kernel ...
[ 6.626930] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 6.626956] Linux version 6.1.43-vendor-rk35xx (armbi (GNU Binutils for Ubuntu) 2.38) #1 SMP Wed May 29 01:45:25 UTC 2024
[ 6.637485] Machine model: FriendlyElec NanoPC-T6
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment