Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求大佬添加一个dg-tn3568的dts固件 #2661

Open
stevenliuit opened this issue Nov 25, 2024 · 10 comments
Open

求大佬添加一个dg-tn3568的dts固件 #2661

stevenliuit opened this issue Nov 25, 2024 · 10 comments

Comments

@stevenliuit
Copy link

这个盒子是rk3568的cpu
已经有人适配了armbian的不完全体 求大佬添加一个armbian的固件 我测试一下

dts文件连接地址
rk3568-dg-tn3568.zip
目前这个dts用的armbian固件的linux内核为 6.6.74

@ophub
Copy link
Owner

ophub commented Nov 25, 2024

只有dtb不行,还要对应的u-boot才可以。

@stevenliuit
Copy link
Author

只有dtb不行,还要对应的u-boot才可以。

收到 我先试试

@ophub
Copy link
Owner

ophub commented Nov 25, 2024

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bookworm_save_2024.11

搜索 dg-tn3568

rk3568-dg-tn3568.dts.zip

你发的dts编译时有警告,我修了下,这是修改后的。

@stevenliuit
Copy link
Author

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bookworm_save_2024.11

搜索 dg-tn3568

rk3568-dg-tn3568.dts.zip

你发的dts编译时有警告,我修了下,这是修改后的。

嗯嗯 收到

@stevenliuit
Copy link
Author

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bookworm_save_2024.11

搜索 dg-tn3568

rk3568-dg-tn3568.dts.zip

你发的dts编译时有警告,我修了下,这是修改后的。

晚上刷一下试试

@stevenliuit
Copy link
Author

stevenliuit commented Nov 25, 2024

U-Boot SPL 2024.07-armbian-2024.07-S3f77-P0000-H3f52-Vc494-Bda0a-R448a (Aug 29 2024 - 01:28:01 +0000)
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
## Checking hash(es) for Image atf-4 ... sha256+ OK
## Checking hash(es) for Image atf-5 ... sha256+ OK
## Checking hash(es) for Image atf-6 ... sha256+ OK
INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44
NOTICE:  BL31: Built : 16:36:43, Sep 19 2023
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid 220114
INFO:    l3 cache partition cfg-0
INFO:    dfs DDR fsp_param[0].freq_mhz= 1560MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
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 = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2024.07-armbian-2024.07-S3f77-P0000-H3f52-Vc494-Bda0a-R448a (Aug 29 2024 - 01:28:01 +0000)

Model: Generic RK3566/RK3568
DRAM:  4 GiB
Core:  250 devices, 25 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Generic RK3566/RK3568
Hit any key to stop autoboot:  0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
Card did not respond to voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev '[email protected]':
Card did not respond to voltage select! : -110
Scanning bootdev '[email protected]':
  1  script       ready   mmc          1  [email protected] /boot/boot.scr
** Booting bootflow '[email protected]_1' with script
Boot script loaded from mmc 0:1
187 bytes read in 12 ms (14.6 KiB/s)
13746142 bytes read in 100 ms (131.1 MiB/s)
30095872 bytes read in 186 ms (154.3 MiB/s)
116034 bytes read in 35 ms (3.2 MiB/s)
Working FDT set to 12000000
2825 bytes read in 30 ms (91.8 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 09000000
Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards.
Unknown command 'kaslrseed' - try 'help'
## Loading init Ramdisk from Legacy Image at 12180000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13746078 Bytes = 13.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 12000000
   Booting using the fdt blob at 0x12000000
Working FDT set to 12000000
   Loading Ramdisk to ec1c3000, end ecedef9e ... OK
   Loading Device Tree to 00000000ec13e000, end 00000000ec1c2fff ... OK
Working FDT set to ec13e000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 6.6.47-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #3 SMP PREEMPT Mon Aug 19 04:04:32 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: dg-tn3568
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x1ff761980-0x1ff763fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000efffffff]
[    0.000000]   node   0: [mem 0x00000001f0000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x00000000dc000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 31 pages/cpu s88296 r8192 d30488 u126976
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: root=UUID=df92ea3c-975b-4477-9d76-a2af4e387188 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=7 ubootpart=ca5a6d0b-a2c7-784d-9d31-191bc7d7c5b0 usb-storage.quirks= cma=256M  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
[    0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=ca5a6d0b-a2c7-784d-9d31-191bc7d7c5b0 cgroup_enable=memory cgroup_memory=1", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1031688
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000d8000000-0x00000000dc000000] (64MB)
[    0.000000] Memory: 3739188K/4192256K available (16960K kernel code, 2318K rwdata, 5248K rodata, 4736K init, 604K bss, 190924K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 320 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: MBI range [296:319]
[    0.000000] GICv3: Using MBI frame 0x00000000fd410000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001257] Console: colour dummy device 80x25
[    0.001279] printk: console [tty1] enabled
[    0.002197] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002243] pid_max: default: 32768 minimum: 301
[    0.002370] LSM: initializing lsm=capability,yama,apparmor,integrity
[    0.002436] Yama: becoming mindful.
[    0.002574] AppArmor: AppArmor initialized
[    0.002748] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002803] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004359] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.005995] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.006176] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.006568] rcu: Hierarchical SRCU implementation.
[    0.006595] rcu:     Max phase no-delay instances is 1000.
[    0.010957] EFI services will not be available.
[    0.011574] smp: Bringing up secondary CPUs ...
[    0.012725] Detected VIPT I-cache on CPU1
[    0.012809] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[    0.012869] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.014023] Detected VIPT I-cache on CPU2
[    0.014097] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[    0.014147] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    0.015248] Detected VIPT I-cache on CPU3
[    0.015321] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
[    0.015367] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    0.015526] smp: Brought up 1 node, 4 CPUs
[    0.015762] SMP: Total of 4 processors activated.
[    0.015789] CPU features: detected: 32-bit EL0 Support
[    0.015806] CPU features: detected: 32-bit EL1 Support
[    0.015826] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.015850] CPU features: detected: Common not Private translations
[    0.015867] CPU features: detected: CRC32 instructions
[    0.015888] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.015904] CPU features: detected: LSE atomic instructions
[    0.015922] CPU features: detected: Privileged Access Never
[    0.015938] CPU features: detected: RAS Extension Support
[    0.015959] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.016094] CPU: All CPU(s) started at EL2
[    0.016117] alternatives: applying system-wide alternatives
[    0.022578] devtmpfs: initialized
[    0.045909] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.046008] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.054634] pinctrl core: initialized pinctrl subsystem
[    0.055500] DMI not present or invalid.
[    0.056432] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.058638] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.059894] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.061088] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.061196] audit: initializing netlink subsys (disabled)
[    0.061530] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[    0.064414] thermal_sys: Registered thermal governor 'fair_share'
[    0.064429] thermal_sys: Registered thermal governor 'bang_bang'
[    0.064460] thermal_sys: Registered thermal governor 'step_wise'
[    0.064480] thermal_sys: Registered thermal governor 'user_space'
[    0.064605] cpuidle: using governor menu
[    0.065135] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.065351] ASID allocator initialised with 65536 entries
[    0.067480] Serial: AMBA PL011 UART driver
[    0.103225] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.103787] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000
[    0.104309] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.104694] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000
[    0.105158] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.105576] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000
[    0.106037] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.106413] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000
[    0.106856] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.107226] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000
[    0.113733] Modules: 25248 pages in range for non-PLT usage
[    0.113753] Modules: 516768 pages in range for PLT usage
[    0.115040] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.115091] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.115114] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.115133] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.115153] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.115173] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.115193] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.115211] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.116535] cryptd: max_cpu_qlen set to 1000
[    0.185430] raid6: neonx8   gen()  1415 MB/s
[    0.253519] raid6: neonx4   gen()  1437 MB/s
[    0.321626] raid6: neonx2   gen()  1335 MB/s
[    0.389713] raid6: neonx1   gen()  1092 MB/s
[    0.457811] raid6: int64x8  gen()   909 MB/s
[    0.525906] raid6: int64x4  gen()  1050 MB/s
[    0.593995] raid6: int64x2  gen()   936 MB/s
[    0.662099] raid6: int64x1  gen()   682 MB/s
[    0.662124] raid6: using algorithm neonx4 gen() 1437 MB/s
[    0.730190] raid6: .... xor() 1098 MB/s, rmw enabled
[    0.730215] raid6: using neon recovery algorithm
[    0.731432] iommu: Default domain type: Translated
[    0.731470] iommu: DMA domain TLB invalidation policy: strict mode
[    0.732104] SCSI subsystem initialized
[    0.732738] usbcore: registered new interface driver usbfs
[    0.732820] usbcore: registered new interface driver hub
[    0.732890] usbcore: registered new device driver usb
[    0.733703] pps_core: LinuxPPS API ver. 1 registered
[    0.733731] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.733786] PTP clock support registered
[    0.734467] EDAC MC: Ver: 3.0.0
[    0.735312] scmi_core: SCMI protocol bus registered
[    0.736822] NetLabel: Initializing
[    0.736848] NetLabel:  domain hash size = 128
[    0.736866] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.736976] NetLabel:  unlabeled traffic allowed by default
[    0.737238] vgaarb: loaded
[    0.737996] clocksource: Switched to clocksource arch_sys_counter
[    0.741567] VFS: Disk quotas dquot_6.6.0
[    0.741675] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.742531] AppArmor: AppArmor Filesystem Enabled
[    0.755828] NET: Registered PF_INET protocol family
[    0.756246] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.760509] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.760774] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.760913] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.761529] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.762561] TCP: Hash tables configured (established 32768 bind 32768)
[    0.762877] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.763025] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.763416] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.763485] NET: Registered PF_XDP protocol family
[    0.763521] PCI: CLS 0 bytes, default 64
[    0.763926] Trying to unpack rootfs image as initramfs...
[    0.766345] kvm [1]: IPA Size Limit: 40 bits
[    0.766407] kvm [1]: GICv3: no GICV resource entry
[    0.766429] kvm [1]: disabling GICv2 emulation
[    0.766476] kvm [1]: GIC system register CPU interface enabled
[    0.766527] kvm [1]: vgic interrupt IRQ9
[    0.766596] kvm [1]: VHE mode initialized successfully
[    0.769325] Initialise system trusted keyrings
[    0.769428] Key type blacklist registered
[    0.769822] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.769930] zbud: loaded
[    0.770886] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.771501] fuse: init (API version 7.39)
[    0.774150] integrity: Platform Keyring initialized
[    0.820288] xor: measuring software checksum speed
[    0.826110]    8regs           :  1722 MB/sec
[    0.832406]    32regs          :  1578 MB/sec
[    0.838370]    arm64_neon      :  1698 MB/sec
[    0.838415] xor: using function: 8regs (1722 MB/sec)
[    0.838448] Key type asymmetric registered
[    0.838469] Asymmetric key parser 'x509' registered
[    0.838637] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.838915] io scheduler mq-deadline registered
[    0.838944] io scheduler kyber registered
[    0.839031] io scheduler bfq registered
[    0.856321] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.856378] dma-pl330 fe530000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.859481] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.859535] dma-pl330 fe550000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.863034] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.868742] printk: console [ttyS2] disabled
[    0.869266] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 25, base_baud = 1500000) is a 16550A
[    0.869579] printk: console [ttyS2] enabled
[    0.985248] Serial: AMBA driver
[    0.989433] rockchip-vop2 fe040000.vop: Adding to iommu group 2
[    0.994900] rockchip-drm display-subsystem: bound fe040000.vop (ops 0xffff8000811d5da8)
[    0.996138] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    0.996892] rockchip-drm display-subsystem: [drm] No compatible format found
[    0.997539] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    1.008764] loop: module loaded
[    1.012668] ahci-dwc fc400000.sata: supply ahci not found, using dummy regulator
[    1.013564] ahci-dwc fc400000.sata: supply phy not found, using dummy regulator
[    1.014499] ahci-dwc fc400000.sata: supply target not found, using dummy regulator
[    1.015339] ahci-dwc fc400000.sata: PMPn is limited up to 5 ports
[    1.016040] ahci-dwc fc400000.sata: forcing port_map 0x0 -> 0x1
[    1.016638] ahci-dwc fc400000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    1.017450] ahci-dwc fc400000.sata: flags: ncq sntf pm led clo only pmp fbs pio slum part ccc apst
[    1.018317] ahci-dwc fc400000.sata: port 0 is not capable of FBS
[    1.021416] scsi host0: ahci-dwc
[    1.022135] ata1: SATA max UDMA/133 mmio [mem 0xfc400000-0xfc400fff] port 0x100 irq 29
[    1.026129] tun: Universal TUN/TAP device driver, 1.6
[    1.027900] thunder_xcv, ver 1.0
[    1.028258] thunder_bgx, ver 1.0
[    1.028599] nicpf, ver 1.0
[    1.029735] e1000e: Intel(R) PRO/1000 Network Driver
[    1.030238] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.030833] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.031331] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.031876] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.032448] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.033253] sky2: driver version 1.30
[    1.034529] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    1.035908] rockchip-naneng-combphy fe830000.phy: phy type select 4 overwriting type 1
[    1.042728] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.043290] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    1.044190] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010
[    1.045112] xhci-hcd xhci-hcd.0.auto: irq 30, io mem 0xfd000000
[    1.045851] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.046410] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    1.047126] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    1.048242] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.049010] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.049670] usb usb1: Product: xHCI Host Controller
[    1.050152] usb usb1: Manufacturer: Linux 6.6.47-current-rockchip64 xhci-hcd
[    1.050797] usb usb1: SerialNumber: xhci-hcd.0.auto
[    1.052127] hub 1-0:1.0: USB hub found
[    1.052573] hub 1-0:1.0: 1 port detected
[    1.053679] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.054819] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    1.055581] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.056240] usb usb2: Product: xHCI Host Controller
[    1.056689] usb usb2: Manufacturer: Linux 6.6.47-current-rockchip64 xhci-hcd
[    1.057328] usb usb2: SerialNumber: xhci-hcd.0.auto
[    1.058650] hub 2-0:1.0: USB hub found
[    1.059090] hub 2-0:1.0: 1 port detected
[    1.060208] usbcore: registered new interface driver usb-storage
[    1.063288] mousedev: PS/2 mouse device common for all mice
[    1.064959] i2c_dev: i2c /dev entries driver
[    1.070402] rockchip-thermal fe710000.tsadc: Missing tshut mode property, using default (gpio)
[    1.071219] rockchip-thermal fe710000.tsadc: Missing tshut-polarity property, using default (low)
[    1.076905] sdhci: Secure Digital Host Controller Interface driver
[    1.077496] sdhci: Copyright(c) Pierre Ossman
[    1.077946] Synopsys Designware Multimedia Card Interface Driver
[    1.079473] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.084132] ledtrig-cpu: registered to indicate activity on CPUs
[    1.085576] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[    1.086779] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    1.087451] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[    1.090413] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.091356] hid: raw HID events driver (C) Jiri Kosina
[    1.091956] usbcore: registered new interface driver usbhid
[    1.092471] usbhid: USB HID core driver
[    1.096494] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
[    1.099451] drop_monitor: Initializing network drop monitor service
[    1.100476] NET: Registered PF_INET6 protocol family
[    1.340702] ata1: SATA link down (SStatus 0 SControl 300)
[    1.625460] Freeing initrd memory: 13420K
[    1.668855] Segment Routing with IPv6
[    1.669311] In-situ OAM (IOAM) with IPv6
[    1.669824] NET: Registered PF_PACKET protocol family
[    1.670611] 8021q: 802.1Q VLAN Support v1.8
[    1.671096] Key type dns_resolver registered
[    1.685177] registered taskstats version 1
[    1.685797] Loading compiled-in X.509 certificates
[    1.704219] zswap: loaded using pool zstd/z3fold
[    1.719513] Key type .fscrypt registered
[    1.719913] Key type fscrypt-provisioning registered
[    1.724078] Btrfs loaded, zoned=yes, fsverity=yes
[    1.724759] Key type encrypted registered
[    1.725152] AppArmor: AppArmor sha1 policy hashing enabled
[    1.762715] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    1.765183] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected!
[    1.766274] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    1.855372] rk808-regulator rk808-regulator.2.auto: there is no dvs0 gpio
[    1.856041] rk808-regulator rk808-regulator.2.auto: there is no dvs1 gpio
[    1.856664] rk808-regulator rk808-regulator.2.auto: max buck steps per change: 8
[    1.923129] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.3.auto/input/input0
[    1.936292] rk808-rtc rk808-rtc.4.auto: registered as rtc0
[    1.939517] rk808-rtc rk808-rtc.4.auto: setting system clock to 2017-08-05T09:00:59 UTC (1501923659)
[    1.957345] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    1.958842] WCN: marlin_init entry!
[    1.959737] of_cfs_init
[    1.960028] of_cfs_init: OK
[    1.960508] clk: Disabling unused clocks
[    1.974066] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA
[    1.976116] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    1.977885] Freeing unused kernel memory: 4736K
[    1.978648] Run /init as init process
[    2.093996] mmc1: new HS200 MMC card at address 0001
[    2.095676] mmcblk1: mmc1:0001 SLD32G 28.9 GiB
[    2.131048] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    2.131754] GPT:3448831 != 60620799
[    2.132079] GPT:Alternate GPT header not at the end of the disk.
[    2.132622] GPT:3448831 != 60620799
[    2.132945] GPT: Use GNU Parted to correct GPT errors.
[    2.133438]  mmcblk1: p1
[    2.138886] mmcblk1boot0: mmc1:0001 SLD32G 4.00 MiB
[    2.142603] mmcblk1boot1: mmc1:0001 SLD32G 4.00 MiB
[    2.147070] mmcblk1rpmb: mmc1:0001 SLD32G 4.00 MiB, chardev (243:0)
[    2.148978] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    2.721059] rk_gmac-dwmac fe2a0000.ethernet: IRQ eth_lpi not found
[    2.723684] rk_gmac-dwmac fe2a0000.ethernet: clock input or output? (input).
[    2.724376] rk_gmac-dwmac fe2a0000.ethernet: TX delay(0x2a).
[    2.724913] rk_gmac-dwmac fe2a0000.ethernet: RX delay(0x2a).
[    2.725539] rk_gmac-dwmac fe2a0000.ethernet: integrated PHY? (no).
[    2.726854] rk_gmac-dwmac fe2a0000.ethernet: clock input from PHY
[    2.732472] rk_gmac-dwmac fe2a0000.ethernet: init for RGMII
[    2.733504] rk_gmac-dwmac fe2a0000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    2.734374] rk_gmac-dwmac fe2a0000.ethernet:         DWMAC4/5
[    2.734879] rk_gmac-dwmac fe2a0000.ethernet: DMA HW capability register supported
[    2.735568] rk_gmac-dwmac fe2a0000.ethernet: RX Checksum Offload Engine supported
[    2.736252] rk_gmac-dwmac fe2a0000.ethernet: TX Checksum insertion supported
[    2.736894] rk_gmac-dwmac fe2a0000.ethernet: Wake-Up On Lan supported
[    2.737625] rk_gmac-dwmac fe2a0000.ethernet: TSO supported
[    2.738243] rk_gmac-dwmac fe2a0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.739014] rk_gmac-dwmac fe2a0000.ethernet: device MAC address 3a:37:87:bb:a7:66
[    2.739715] rk_gmac-dwmac fe2a0000.ethernet: Enabled RFS Flow TC (entries=10)
[    2.740375] rk_gmac-dwmac fe2a0000.ethernet: TSO feature enabled
[    2.740930] rk_gmac-dwmac fe2a0000.ethernet: Using 32/32 bits DMA host/device width
[    2.905211] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    2.907608] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
[    3.094284] EXT4-fs (mmcblk1p1): mounted filesystem df92ea3c-975b-4477-9d76-a2af4e387188 ro with writeback data mode. Quota mode: none.
[    3.468821] systemd[1]: System time before build time, advancing clock.
[    3.480454] systemd[1]: Inserted module 'autofs4'
[    3.516618] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    3.520709] systemd[1]: Detected architecture arm64.
[    3.523330] systemd[1]: Hostname set to <dg-tn3568>.
[   11.086023] random: crng init done
[   11.086558] systemd[1]: Initializing machine ID from random generator.
[   11.087445] systemd[1]: Installed transient /etc/machine-id file.
[   11.245100] dw-apb-uart fe660000.serial: forbid DMA for kernel console
[   11.291423] block mmcblk1: the capability attribute has been deprecated.
[   11.434635] systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[   11.758262] systemd[1]: Queued start job for default target Graphical Interface.
[   11.783948] systemd[1]: Created slice Slice /system/modprobe.
[   11.788849] systemd[1]: Created slice Slice /system/serial-getty.
[   11.792652] systemd[1]: Created slice User and Session Slice.
[   11.794216] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   11.795717] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   11.797857] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   11.799336] systemd[1]: Reached target Local Encrypted Volumes.
[   11.800425] systemd[1]: Reached target Path Units.
[   11.801232] systemd[1]: Reached target Remote File Systems.
[   11.802174] systemd[1]: Reached target Slice Units.
[   11.803012] systemd[1]: Reached target Swaps.
[   11.803838] systemd[1]: Reached target Local Verity Protected Volumes.
[   11.805673] systemd[1]: Listening on Syslog Socket.
[   11.807344] systemd[1]: Listening on fsck to fsckd communication Socket.
[   11.808733] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   11.811184] systemd[1]: Listening on Journal Audit Socket.
[   11.812848] systemd[1]: Listening on Journal Socket (/dev/log).
[   11.814727] systemd[1]: Listening on Journal Socket.
[   11.816617] systemd[1]: Listening on Network Service Netlink Socket.
[   11.818638] systemd[1]: Listening on udev Control Socket.
[   11.820175] systemd[1]: Listening on udev Kernel Socket.
[   11.842516] systemd[1]: Mounting Huge Pages File System...
[   11.851023] systemd[1]: Mounting POSIX Message Queue File System...
[   11.860535] systemd[1]: Mounting Kernel Debug File System...
[   11.869731] systemd[1]: Mounting Kernel Trace File System...
[   11.883865] systemd[1]: Starting Restore / save the current clock...
[   11.892936] systemd[1]: Starting Set the console keyboard layout...
[   11.903025] systemd[1]: Starting Create List of Static Device Nodes...
[   11.912397] systemd[1]: Starting Load Kernel Module configfs...
[   11.920947] systemd[1]: Starting Load Kernel Module drm...
[   11.930634] systemd[1]: Starting Load Kernel Module efi_pstore...
[   11.940404] systemd[1]: Starting Load Kernel Module fuse...
[   11.943063] systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.
[   11.944552] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   11.956878] systemd[1]: Starting Load Kernel Modules...
[   11.966141] systemd[1]: Starting Generate network units from Kernel command line...
[   11.976123] systemd[1]: Starting Remount Root and Kernel File Systems...
[   11.988294] systemd[1]: Starting Coldplug All udev Devices...
[   12.002754] systemd[1]: Mounted Huge Pages File System.
[   12.004726] systemd[1]: Mounted POSIX Message Queue File System.
[   12.006922] systemd[1]: Mounted Kernel Debug File System.
[   12.008742] systemd[1]: Mounted Kernel Trace File System.
[   12.013216] systemd[1]: Finished Restore / save the current clock.
[   12.018155] systemd[1]: Finished Create List of Static Device Nodes.
[   12.021178] systemd[1]: [email protected]: Deactivated successfully.
[   12.024456] systemd[1]: Finished Load Kernel Module configfs.
[   12.028527] systemd[1]: [email protected]: Deactivated successfully.
[   12.031626] systemd[1]: Finished Load Kernel Module drm.
[   12.034732] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   12.037475] systemd[1]: Finished Load Kernel Module efi_pstore.
[   12.041345] systemd[1]: [email protected]: Deactivated successfully.
[   12.044137] systemd[1]: Finished Load Kernel Module fuse.
[   12.048408] systemd[1]: Finished Load Kernel Modules.
[   12.053327] systemd[1]: Finished Generate network units from Kernel command line.
[   12.053555] EXT4-fs (mmcblk1p1): re-mounted df92ea3c-975b-4477-9d76-a2af4e387188 r/w. Quota mode: none.
[   12.063421] systemd[1]: Finished Remount Root and Kernel File Systems.
[   12.065660] systemd[1]: Reached target Preparation for Network.
[   12.098547] systemd[1]: Mounting FUSE Control File System...
[   12.107223] systemd[1]: Mounting Kernel Configuration File System...
[   12.108672] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   12.118136] systemd[1]: Starting Load/Save Random Seed...
[   12.130551] systemd[1]: Starting Apply Kernel Variables...
[   12.140051] systemd[1]: Starting Create System Users...
[   12.147789] systemd[1]: Mounted FUSE Control File System.
[   12.149656] systemd[1]: Mounted Kernel Configuration File System.
[   12.177304] systemd[1]: Finished Load/Save Random Seed.
[   12.180367] systemd[1]: Condition check resulted in First Boot Complete being skipped.

dg-tn3568 login: root (automatic login)


开机了 可以使用 感谢大佬

@stevenliuit
Copy link
Author

stevenliuit commented Nov 25, 2024

=> DDR 2d653b3476 typ 24/01/20-15:04:19,fwver: v1.21
In
LP4/4x derate en, other dram:1x trefi
ddrconfig:0
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: -24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -168ps,

change to: 324MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x63
rx vref: 35.9%
tx vref: 38.0%

change to: 528MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
rx vref: 37.9%
tx vref: 38.0%

change to: 780MHz
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
rx vref: 15.4%
tx vref: 38.0%

change to: 1560MHz(final freq)
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:29%
dram drv:40,odt:80
vref_ca:00000068
clk skew:0x26
rx vref: 15.4%
tx vref: 30.0%
cs 0:
the read training result:
DQS0:0x30, DQS1:0x2f, DQS2:0x33, DQS3:0x2d,
min  :0x10  0xf 0x11  0xf  0x2  0x5  0xa  0x7 , 0xb  0x7  0x4  0x1  0xe  0xb  0x                                                                                                                                                                                                                                                                                                                                                           d  0x8 ,
      0x10 0x11  0xc  0x9  0x2  0x1  0x2  0x6 , 0x9  0x7  0x7  0x1  0xe  0xe  0x                                                                                                                                                                                                                                                                                                                                                           b  0xf ,
mid  :0x28 0x27 0x2a 0x27 0x1b 0x1e 0x23 0x1f ,0x24 0x21 0x1b 0x19 0x27 0x23 0x2                                                                                                                                                                                                                                                                                                                                                           4 0x22 ,
      0x2a 0x2a 0x24 0x22 0x1c 0x1a 0x1b 0x1f ,0x23 0x20 0x1f 0x19 0x28 0x28 0x2                                                                                                                                                                                                                                                                                                                                                           3 0x29 ,
max  :0x41 0x40 0x43 0x3f 0x35 0x37 0x3c 0x37 ,0x3d 0x3b 0x32 0x32 0x40 0x3c 0x3                                                                                                                                                                                                                                                                                                                                                           b 0x3c ,
      0x45 0x43 0x3c 0x3c 0x36 0x34 0x34 0x38 ,0x3d 0x39 0x38 0x32 0x42 0x42 0x3                                                                                                                                                                                                                                                                                                                                                           c 0x44 ,
range:0x31 0x31 0x32 0x30 0x33 0x32 0x32 0x30 ,0x32 0x34 0x2e 0x31 0x32 0x31 0x2                                                                                                                                                                                                                                                                                                                                                           e 0x34 ,
      0x35 0x32 0x30 0x33 0x34 0x33 0x32 0x32 ,0x34 0x32 0x31 0x31 0x34 0x34 0x3                                                                                                                                                                                                                                                                                                                                                           1 0x35 ,
the write training result:
DQS0:0x22, DQS1:0x13, DQS2:0x1d, DQS3:0x5,
min  :0x6e 0x70 0x71 0x6e 0x61 0x63 0x68 0x65 0x66 ,0x5a 0x57 0x51 0x51 0x5e 0x5                                                                                                                                                                                                                                                                                                                                                           b 0x5c 0x59 0x57 ,
      0x68 0x66 0x5f 0x5e 0x59 0x56 0x57 0x5b 0x5e ,0x4e 0x4c 0x4a 0x44 0x53 0x5                                                                                                                                                                                                                                                                                                                                                           3 0x4c 0x53 0x49 ,
mid  :0x88 0x8a 0x8b 0x88 0x79 0x7c 0x81 0x7e 0x7e ,0x73 0x71 0x6a 0x6a 0x77 0x7                                                                                                                                                                                                                                                                                                                                                           4 0x74 0x72 0x6f ,
      0x84 0x83 0x79 0x79 0x73 0x6f 0x70 0x74 0x77 ,0x67 0x64 0x62 0x5c 0x6c 0x6                                                                                                                                                                                                                                                                                                                                                           c 0x66 0x6d 0x62 ,
max  :0xa3 0xa5 0xa6 0xa3 0x92 0x95 0x9a 0x97 0x97 ,0x8d 0x8c 0x83 0x83 0x91 0x8                                                                                                                                                                                                                                                                                                                                                           d 0x8d 0x8b 0x87 ,
      0xa1 0xa0 0x94 0x94 0x8d 0x89 0x89 0x8e 0x90 ,0x81 0x7c 0x7b 0x75 0x86 0x8                                                                                                                                                                                                                                                                                                                                                           6 0x81 0x87 0x7b ,
range:0x35 0x35 0x35 0x35 0x31 0x32 0x32 0x32 0x31 ,0x33 0x35 0x32 0x32 0x33 0x3                                                                                                                                                                                                                                                                                                                                                           2 0x31 0x32 0x30 ,
      0x39 0x3a 0x35 0x36 0x34 0x33 0x32 0x33 0x32 ,0x33 0x30 0x31 0x31 0x33 0x3                                                                                                                                                                                                                                                                                                                                                           3 0x35 0x34 0x32 ,
CA Training result:
cs:0 min  :0x41 0x3b 0x38 0x2e 0x39 0x29 0x3d ,0x42 0x35 0x37 0x27 0x33 0x27 0x3                                                                                                                                                                                                                                                                                                                                                           a ,
cs:0 mid  :0x7b 0x7e 0x73 0x70 0x73 0x6c 0x68 ,0x7c 0x78 0x70 0x6a 0x6d 0x6a 0x6                                                                                                                                                                                                                                                                                                                                                           5 ,
cs:0 max  :0xb6 0xc1 0xae 0xb2 0xae 0xaf 0x93 ,0xb6 0xbc 0xa9 0xad 0xa7 0xad 0x9                                                                                                                                                                                                                                                                                                                                                           1 ,
cs:0 range:0x75 0x86 0x76 0x84 0x75 0x86 0x56 ,0x74 0x87 0x72 0x86 0x74 0x86 0x5                                                                                                                                                                                                                                                                                                                                                           7 ,
out

U-Boot SPL 2024.07-armbian-2024.07-S3f77-P0000-H3f52-Vc494-Bda0a-R448a (Aug 29 2                                                                                                                                                                                                                                                                                                                                                           024 - 01:28:01 +0000)
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
## Checking hash(es) for Image atf-4 ... sha256+ OK
## Checking hash(es) for Image atf-5 ... sha256+ OK
## Checking hash(es) for Image atf-6 ... sha256+ OK
INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44
NOTICE:  BL31: Built : 16:36:43, Sep 19 2023
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid 220114
INFO:    l3 cache partition cfg-0
INFO:    dfs DDR fsp_param[0].freq_mhz= 1560MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE init                                                                                                                                                                                                                                                                                                                                                           ialization. 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 = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2024.07-armbian-2024.07-S3f77-P0000-H3f52-Vc494-Bda0a-R448a (Aug 29 2024                                                                                                                                                                                                                                                                                                                                                            - 01:28:01 +0000)

Model: Generic RK3566/RK3568
DRAM:  4 GiB
Core:  250 devices, 25 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Generic RK3566/RK3568
Hit any key to stop autoboot:  0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ------------                                                                                                                                                                                                                                                                                                                                                           ----
Scanning global bootmeth 'efi_mgr':
Card did not respond to voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev '[email protected]':
Card did not respond to voltage select! : -110
Scanning bootdev '[email protected]':
  1  script       ready   mmc          1  [email protected] /boot/boot.s                                                                                                                                                                                                                                                                                                                                                           cr
** Booting bootflow '[email protected]_1' with script
Boot script loaded from mmc 0:1
236 bytes read in 12 ms (18.6 KiB/s)
13754357 bytes read in 96 ms (136.6 MiB/s)
30163456 bytes read in 194 ms (148.3 MiB/s)
Failed to load '/boot/dtb/rockchip/rk3568-dg-tn3568.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
2825 bytes read in 35 ms (78.1 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 09000000
Trying kaslrseed command... Info: Unknown command can be safely ignored since ka                                                                                                                                                                                                                                                                                                                                                           slrseed does not apply to all boards.
Unknown command 'kaslrseed' - try 'help'
## Loading init Ramdisk from Legacy Image at 12180000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13754293 Bytes = 13.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
Boot failed (err=-14)
Unknown uclass 'nvme' in label
Unknown uclass 'scsi' in label
Unknown uclass 'pxe' in label
Unknown uclass 'dhcp' in label
No more bootdevs
---  -----------  ------  --------  ----  ------------------------  ------------                                                                                                                                                                                                                                                                                                                                                           ----
(2 bootflows, 2 valid)
=>

我执行完 apt update && apt upgrade后直接无法开机出现上面错误 这个咋弄啊 @ophub

@stevenliuit stevenliuit reopened this Nov 25, 2024
@stevenliuit
Copy link
Author

idbloader和u-boot文件最新.zip
@ophub 这个好像是开了rkmpp和npu的 可以改用这个嘛

@ophub
Copy link
Owner

ophub commented Nov 26, 2024

上面的错误显示你把dtb整没了,可能是你安装了什么把/boot破坏了

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bookworm_save_2024.11

更换u-boot的测试固件上传到这了,文件名上日期11.26

@stevenliuit
Copy link
Author

stevenliuit commented Nov 26, 2024

上面的错误显示你把dtb整没了,可能是你安装了什么把/boot破坏了

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bookworm_save_2024.11

更换u-boot的测试固件上传到这了,文件名上日期11.26

收到 晚上回去刷一下试试 应该是更新的时候 把原来的dtb给更新成armbian的dtb了 导致我的dtb丢了

测试完啦 更新访问都没问题 就是默认没有rkmpp和npu 这个应该和主线的内核有关系 感谢 @ophub 大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants