Jump to content

ning

Members
  • Posts

    329
  • Joined

  • Last visited

Everything posted by ning

  1. remove all usb related setting in rk3566-box-demo.dts, add above. success boot to shell. next step verify others: 1, HDMI 2, HDMI sound 3, ethernet 4, WIFI/BT 5, SATA 6, LED??
  2. aftr check dts dump, it only has 2 usb ports enabed. usb_host0_xhci: usb@fcc00000 { compatible = "rockchip,rk3568-dwc3", "snps,dwc3"; reg = <0x0 0xfcc00000 0x0 0x400000>; interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru CLK_USB3OTG0_REF>, <&cru CLK_USB3OTG0_SUSPEND>, <&cru ACLK_USB3OTG0>; clock-names = "ref_clk", "suspend_clk", "bus_clk"; dr_mode = "otg"; phy_type = "utmi_wide"; power-domains = <&power RK3568_PD_PIPE>; resets = <&cru SRST_USB3OTG0>; snps,dis_u2_susphy_quirk; status = "disabled"; }; usb_host1_xhci: usb@fd000000 { compatible = "rockchip,rk3568-dwc3", "snps,dwc3"; reg = <0x0 0xfd000000 0x0 0x400000>; interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru CLK_USB3OTG1_REF>, <&cru CLK_USB3OTG1_SUSPEND>, <&cru ACLK_USB3OTG1>; clock-names = "ref_clk", "suspend_clk", "bus_clk"; dr_mode = "host"; phys = <&usb2phy0_host>, <&combphy1 PHY_TYPE_USB3>; phy-names = "usb2-phy", "usb3-phy"; phy_type = "utmi_wide"; power-domains = <&power RK3568_PD_PIPE>; resets = <&cru SRST_USB3OTG1>; snps,dis_u2_susphy_quirk; status = "disabled"; }; let me disable others.
  3. 2 usb: 1 USB2.0, 1 USB3.0 do you mean, rk3566-box-demo.dts enabled usb port more than actual, this make hard LOCKUP?
  4. use rk3566-box-demo.dts block at I think issue in ohci-platform, let me blacklist it or disable related usb port in dts, and try next.
  5. vendor uboot can boot mainline kenrel (6.5) sysboot usb 0 any 0x1080000 /boot/extlinux/extlinux.conf but, no good dts, next step is find or develop a good dts
  6. currently chainloader failed, it failed at a strange place. I will move to next step try boot mainline kernel with vendor uboot. create a debian sid USB driver.
  7. I understand, chainloader is a way to verify mainline uboot, kernel.
  8. 3, DTS dump /data/dtc -I fs /proc/device-tree -O dts -o Jianpian.dts this can't directly use for uboot or kernel build, just as reference. jianpian.dts
  9. this is entry point, need add setenv OLDBOOTCMD "boot_android ${devtype} ${devnum};boot_fit;bootrkp;run distro_bootcmd;" setenv USBBOOTCMD "usb start;if fatload usb 0 0x1000000 u-boot.bin; then go 0x1000000; fi;" <<-- TODO setenv bootcmd "run USBBOOTCMD; run OLDBOOTCMD;" to override current bootcmd.
  10. 2, interrupt auto boot Yes, by Ctrl+C env print result: next step, try chainloader to mainline u-boot:2023.10 with patch.
  11. Yes, it's Android 4.19. do you mean, using mainline kernel it will lose dynamic memory freq change cap, to run at a fixed freq? I would like to run kernel 6.6 on debian sid.
  12. 1, serial port: open the box, on the backside, there are 3 hole, which is serail port, from right to left, they are TX, GND, RX, serial config is 150000n8. first log: we know the memory is 8GB Lp4x. Ddr version is V1.14. freq=324Mhz? which is from rkbin repo. next step try to use ctrl+c to stop auto boot.
  13. https://github.com/zhangn1985/linux-stable/tree/sbc6.4 this is tree for orangepi-800
  14. I like H3.
  15. from the mainline develop status view point, Amlogic vdec is stopped, and Rockchip is still active developping. Rockchip soc can use all upstream components, even uboot. but Amlogic need vendor blob to create uboot. Rockchip soc have Cursor plane, but amlogic doesn't. this is good for desktop use.
  16. I just review the patches needed for kernel hwdec, and Armbian already has it, and build it as module. here is the way you able to use hwdec. 1, download server image for orangepipc. hwdec not support X ot wayland. 2, build ffmpeg and mpv yourself. A, build ffmpeg. download ffmpeg 5.1.2 source from git or from ffmpeg.org (recommend git for easy apply patches) apply patches from https://github.com/jernejsk/FFmpeg drmprime: v4l2-drmprime-n5.1.2 branch v4l2-request: v4l2-request-n5.1.2 branch total 23 patches. build ffmpeg with `--enable-hwaccels --enable-v4l2_m2m --enable-libdrm --enable-libudev --enable-v4l2-request`, others keep default. B, build mpv download and build with no X, no Wayland support. mpv.conf ao=alsa vo=gpu hwdec=drm
  17. you need to check your uboot log whether dt overlays are applied.
  18. check your console tools (minicom) config.
  19. I think you are using debian official kernel, or build from it. I think you need to check the patches from armbian, cherry pick some to rebuild debian kernel.
  20. I guess already use mainline uboot? right? if you are still using verdor uboot, debian kernel missing 1 patch to support boot mainline kernel on vendor uboot. I have added configs to enable debian kernel to support amlogic socs, tested A311d, S905x3 should also be supported. I guess you have wrong boot method, suggest you to use extlinux.conf install of boot.scr (local boot) install `u-boot-menu` and use extlinux.conf as boot menu to boot debian's kernel. if this not work, I suggest you to use `debootstrap` to rebuild your system, if you know how to configure system to bootable.
  21. just install linux-image-arm64 from official debian repo, if missing some feature, just replace the dtb, then install zfs-dkms.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines