ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.83k stars 1.87k forks source link

请求O大帮助适配rk3568b2的主板 #2328

Closed dy008 closed 3 months ago

dy008 commented 4 months ago

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 All issues will only remain open for one week to prioritize resolving them. After that period, they will be closed but can still continue to be discussed in the thread. 所有的问题都只保留一周的开启状态供重点关注解决,超时将关闭,但仍然可以长期继续跟帖讨论。

原板是做的收银机,主板质量看着较好,配置:RK3568 2G+16G,一个千兆网口,2个USB2.0,1个USB3.0,原系统安卓11, 有emmc镜像里提取的dtb

Please provide a detailed description of the issue and, if necessary, attach a screenshot. 详细描述问题,并在必要时附上屏幕截图。

通过fork了O大的固件,编译了u-boot相关文件,目前可以实现外置SD卡启动进入内核并加载以太网口驱动,完成网络登录。 现在最大的问题是只要刷入本机的emmc里启动的话就会停在相似的位置: [ 9.063238] "cryptomgr_test" (210) uses obsolete ecb(arc4) skcipher [ 9.647418] mmc0: Card stuck being busy! __mmc_poll_for_busy [ 10.012106] dwmmc_rockchip fe2c0000.dwmmc: IDMAC supports 32-bit address mode. [ 10.012812] dwmmc_rockchip fe2c0000.dwmmc: Using internal DMA controller. [ 10.013432] dwmmc_rockchip fe2c0000.dwmmc: Version ID is 270a [ 10.013989] dwmmc_rockchip fe2c0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo [ 10.058103] rk808-regulator rk808-regulator.1.auto: there is no dvs0 gpio [ 10.058825] rk808-regulator rk808-regulator.1.auto: there is no dvs1 gpio [ 10.134260] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.2.auto/input/input0 [ 10.148122] rk808-rtc rk808-rtc.3.auto: registered as rtc0 [ 10.151487] rk808-rtc rk808-rtc.3.auto: setting system clock to 2017-08-05T09:00:51 UTC (1501923651) [ 10.167824] clk: Disabling unused clocks [ 10.168011] dwmmc_rockchip fe2c0000.dwmmc: IDMAC supports 32-bit address mode. [ 10.168890] dwmmc_rockchip fe2c0000.dwmmc: Using internal DMA controller. [ 10.169511] dwmmc_rockchip fe2c0000.dwmmc: Version ID is 270a [ 10.170067] dwmmc_rockchip fe2c0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo [ 10.170316] ALSA device list: [ 10.171074] dwmmc_rockchip fe2c0000.dwmmc: allocated mmc-pwrseq [ 10.171223] No soundcards found. [ 10.171239] mmc_host mmc2: card is non-removable.

再也不会继续,如果插着SD卡也会从SD卡启动,但是同样也会卡死在类似位置: [ 8.502972] ledtrig-cpu: registered to indicate activity on CPUs [ 8.504646] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 8.505470] dwmmc_rockchip fe2c0000.dwmmc: allocated mmc-pwrseq [ 8.506788] mmc_host mmc2: card is non-removable. [ 8.506921] hid: raw HID events driver (C) Jiri Kosina [ 8.507878] usbcore: registered new interface driver usbhid [ 8.508387] usbhid: USB HID core driver [ 8.511074] rockchip-saradc fe720000.saradc: supply vref not found, using dummy regulator [ 8.512052] rockchip-saradc fe720000.saradc: failed to get voltage [ 8.512618] rockchip-saradc: probe of fe720000.saradc failed with error -22 [ 8.517438] mmc_host mmc1: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 8.532974] mmc0: SDHCI controller on fe310000.sdhci [fe310000.sdhci] using ADMA [ 8.578179] Initializing XFRM netlink socket [ 8.579078] NET: Registered PF_INET6 protocol family [ 8.595151] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0) [ 8.596806] dwmmc_rockchip fe2b0000.dwmmc: All phases bad! [ 8.597304] mmc1: tuning execution failed: -5 [ 8.597727] mmc1: error -5 whilst initialising SD card [ 8.625750] Segment Routing with IPv6 [ 8.626102] RPL Segment Routing with IPv6 [ 8.626498] In-situ OAM (IOAM) with IPv6 [ 8.626995] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 8.628391] NET: Registered PF_PACKET protocol family [ 8.628450] mmc_host mmc1: Bus speed (slot 0) = 375000Hz (slot req 375000Hz, actual 375000HZ div = 0) [ 8.628862] NET: Registered PF_KEY protocol family [ 8.630264] 8021q: 802.1Q VLAN Support v1.8 [ 8.631157] registered taskstats version 1 [ 8.631551] Loading compiled-in X.509 certificates [ 8.639660] zswap: loaded using pool zstd/zbud [ 8.640666] Key type .fscrypt registered [ 8.641028] Key type fscrypt-provisioning registered [ 8.642713] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no [ 8.705692] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0) [ 8.707896] dwmmc_rockchip fe2b0000.dwmmc: All phases bad! [ 8.708415] mmc1: tuning execution failed: -5 [ 8.729460] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 8.740580] mmc_host mmc1: Bus speed (slot 0) = 375000Hz (slot req 375000Hz, actual 375000HZ div = 0) [ 8.790988] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 8.791979] mmc1: new high speed SDHC card at address 1388 [ 8.793409] mmcblk1: mmc1:1388 EZSD3 28.9 GiB [ 8.819096] mmcblk1: p1 p2 [ 8.843538] mmc_host mmc2: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0) [ 8.917262] alg: No test for 842 (842-scomp) [ 8.918277] alg: No test for 842 (842-generic) [ 9.201418] dwmmc_rockchip fe2c0000.dwmmc: Successfully tuned phase to 198 [ 9.204717] mmc2: new ultra high speed SDR104 SDIO card at address 0001 [ 9.553401] mmc0: Card stuck being busy! __mmc_poll_for_busy [ 9.799578] clk: Disabling unused clocks [ 9.801143] ALSA device list: [ 9.801473] No soundcards found. [ 9.806353] Freeing unused kernel memory: 6016K [ 9.807018] Run /init as init process [ 9.807365] with arguments: [ 9.807644] /init [ 9.807860] with environment: [ 9.808150] HOME=/ [ 9.808373] TERM=linux [ 9.808626] cgroup_enable=memory [ 9.808955] cgroup_memory=1

唯一能从外置SD正常启动的方法就是启动时短接emmc的数据0点(在pcb上留的有焊盘)随后附上板子外观和相关文件: IMG_3145 IMG_3144 w28.zip

dy008 commented 4 months ago

对了,附上我fork后地址: https://github.com/dy008/amlogic-s9xxx-armbian/releases