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

请求适配华北工控emb 3531 有uboot dts #1549

Closed
rongchuan17 opened this issue Jul 16, 2023 · 9 comments
Closed

请求适配华北工控emb 3531 有uboot dts #1549

rongchuan17 opened this issue Jul 16, 2023 · 9 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@rongchuan17
Copy link
Contributor

rongchuan17 commented Jul 16, 2023

Device Information | 设备信息

  • SOC:rk3399
  • Model emb3531

官方wiki
已有第三方armbian: https://pan.baidu.com/s/1BF4HaJpLcQ83BZPh8V2Tig 提取码: 84fp
在 /usr/lib 中提取了uboot
uboot.zip

dtb文件:
Uploading rk3399-emb3531.zip…

@rongchuan17
Copy link
Contributor Author

自己fork,编译通过,可以用了

@ophub
Copy link
Owner

ophub commented Jul 17, 2023

感谢分享,你的 pull 已经合并。

@ophub ophub added documentation Improvements or additions to documentation support This need is supported new box Research Fills in the Blanks labels Jul 17, 2023
@rongchuan17
Copy link
Contributor Author

感谢诸位开源大佬们的无私奉献!

@fan0312
Copy link

fan0312 commented Jul 26, 2023

这个还是同样的问题,不能reboot,估计是提取的uboot问题

设备信息| 设备信息

  • 芯片:rk3399
  • 型号 emb3531

官方wiki 已有第三方armbian:https://pan.baidu.com/s/1BF4HaJpLcQ83BZPh8V2Tig提取码:84fp 在/usr/lib中提取了uboot uboot.zip

dtb文件: 正在上传rk3399-emb3531.zip…

这个第三方的armbian,也是不可以reboot的。

@bbggoo
Copy link

bbggoo commented Jul 26, 2023

这个dts出错很少,dts算比较完善。kernel可能有问题,刷完后,kernel启动阶段后会随机启动失败
串口输出如下

In
Channel 0: DDR3, 933MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 933MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x32817281, stride = 0x9
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 329
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=15028MB
FwPartOffset=2000 , 100000
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
SdmmcInit=0 1
StorageInit ok = 73423
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:          primary, start:0x8000, size:0x7f800
GPT part:  1, name:          primary, start:0x88000, size:0x4ff800
no find partition:uboot.
Trust Addr:0x4000, 0x58334c42
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xd87b0
RunBL31 0x40000 @ 102579 us
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
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 2022.04-armbian (Jun 22 2022 - 07:16:35 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: FriendlyElec NanoPC-T4
DRAM:  2 GiB
PMIC:  RK808 
Core:  280 devices, 26 uclasses, devicetree: separate
MMC:   mmc@fe310000: 3, mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: FriendlyElec NanoPC-T4
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus usb@fe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found
scanning bus usb@fe900000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3252 bytes read in 12 ms (264.6 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 0
268 bytes read in 8 ms (32.2 KiB/s)
16849991 bytes read in 1611 ms (10 MiB/s)
33325568 bytes read in 3165 ms (10 MiB/s)
79248 bytes read in 25 ms (3 MiB/s)
Failed to load '/dtb/rockchip/overlay/rk3399-fixup.scr'
Unknown command 'kaslrseed' - try 'help'
Moving Image from 0x2080000 to 0x2200000, end=42b0000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    16849927 Bytes = 16.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 78efb000, end 79f0cc07 ... OK
   Loading Device Tree to 0000000078e7f000, end 0000000078efafff ... OK

Starting kernel ...

后面都是乱码,然后灯灭了

@gzx7301
Copy link

gzx7301 commented Sep 29, 2024

您好 我想询问在内核6.1.11版本中 解决了RKMPP的问题吗 我在内核6.1.92版本中没有相关驱动 也没有发现相关设备

@WlphM
Copy link

WlphM commented Oct 3, 2024

您好 我想询问在内核6.1.11版本中 解决了RKMPP的问题吗 我在内核6.1.92版本中没有相关驱动 也没有发现相关设备

解决了吗

@gzx7301
Copy link

gzx7301 commented Oct 3, 2024

您好 我想询问在内核6.1.11版本中 解决了RKMPP的问题吗 我在内核6.1.92版本中没有相关驱动 也没有发现相关设备

解决了吗

我替换了一个朋友给我的DTB文件 然后编译并安装 rockschips/mpp 后 似乎解决了 我目前只测试了 jellyfin 是可以正常硬解
rk3399-emb3531.zip

@WlphM
Copy link

WlphM commented Oct 4, 2024

您好 我想询问在内核6.1.11版本中 解决了RKMPP的问题吗 我在内核6.1.92版本中没有相关驱动 也没有发现相关设备

解决了吗

我替换了一个朋友给我的DTB文件 然后编译并安装 rockschips/mpp 后 似乎解决了 我目前只测试了 jellyfin 是可以正常硬解 rk3399-emb3531.zip

好的非常感谢,麻烦再问一下,我看rockschips/mpp 4月份已经更新了介绍说是支持h.265,所以想问下在jellyfin上试过可以支持h.265吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

6 participants