Jump to content

CarlosPiles

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by CarlosPiles

  1. Hello again to everybody. Back to the group after a while. My MX10 TV Box broke down and needed to be replaced, so I had to way for the spare one. I can confirm that there are at least two models of MX10 4/32 The first one came with wifi chip rtl8723bs and ran with the rk3328-a5x-mx10.dtb. out of the box, with the only inconvenient of red led light instead of blue and I remote control not working. It has no Bluetooth so nothing to do. You can edit the source disk and add opp-cpu 1392 and change trip points for higher speed and it works The second one has come with ssv6051 wifi chip and runs with rk3328-mx10.dtb, rk3328-mx10-fast.dtb and rk3328-mx10-slow.dtb. Each one has its failures. rk3328-mx10.dtb runs out of the box with same behaviour as the previous rk3328-a5x-mx10.dtb - red led and no IR command. It is also the slowest one in memory and disk operations. The rk3328-mx10-fast.dtb runs quicker - and hotter (reaches 95... 99.C) shows blue led but does not power off. Can anyone help me with fixing the no-poweroff bug? It should be in the design. TIA
  2. Be carefull with changing /system/xbin/su as i've read sometimes it blocks Android boot.
  3. I had seen it, but It refers to tv boxes booting armbian, with lots of issues that are solved at this moment. I mean a list with references to the dtbs used to success and links to customized dtbs. This way we'll be able to gather a huge library of models and their device trees. Due to the great differences between amlogic and rockchip insiders, I'd rather create two different topics; and only successful or almost successful (all working But BT and / or Wifi) configurations should be póster there. Everybody will be able to succesfully install armbian reading that thread if owns a box in the list. Meanwhile, we'll continue stabilizing the kernel adding modules and testing dtbs.
  4. Perhaps it would be a good idea to open a new topic to sumarize the diferent rk3328 tv boxes and the range of integrated peripherals working, pointing model | wifi | armbian image | dtb (opcional link) | custom configuración (link) | malí working. My case Mx10 | rtl8723bs not working | 5.68 | rk3328-mx10.dtb | standard | mali not working It would be great to have a brief topic with the successful works from this thread and the state of works in progress. So all of us shall be able to build a working image for most models. And it will help to decide which model to buy.
  5. Do you mean running make-mbr.sh from boot partición? Can you provide a link to that documentation?
  6. Working with 5.68 image. I found it more stable than 5.71. None of them work with remote commander to switch mx10 on. I will give a try to 5.73.
  7. I know, but not working out-of-the-box for mx10, as in mx10 SD is /dev/blkmmc0 and internas eMMC is /dev/blkmmc2 Ddbr ran perfectly and I will try to merge the Ddbr media detection into install.sh to get an universal installer which autodetect blkmmcX as ddbr does. Any warning about not damaging the loader?
  8. Now I am working on the Armbian installation into MX10's EMMC. I will keep you informed.
  9. Congrats to @slaven and @armar!!! Good job @mb16 !! Can you tell me the version of A5X? A5X Plus (2/16) or a5X Max (4/32)?
  10. Cannot get the link- Broken status or deleted
  11. For those of you interested in running Armbian and compiling kernel within MX-10 TVBOX (working with cheap MX-10 4/32 Oreo 8.1) Step 1: Burn https://yadi.sk/d/DSO6euzB3ahemo/ARMBIAN/5.68/20190110/Armbian_5.68_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20190110.img.xz into SD Step 2: Change FDT in BOOT/extlinux/extlinux.conf to FDT /dtb/rockchip/rk3328-box-mx10.dtb Step 3: Insert in TVBOX | First run | Create user | sudo apt update && sudo apt upgrade Step 4: git clone https://github.com/150balbes/rockchip-kernel.git Step 5: apt install libncurses5-dev (for make nconfig) Step 6: Use attached configXXXXXX file as .config Step 7: make nconfig (here you can adjust your kernel config) Step 8: F6 Save as .config Step 9: make all (I use make -j 4 all to launch 4 prcesses and it runs for about 1 hour) Step 10: Backup full /boot folder Step 11: sudo make install Step 12: sudo make config_install Step 13: Modify BOOT/extlinux/extlinux.conf to boot new kerner (4.1.154) LABEL Armbian LINUX /vmlinuz-4.4.154 INITRD /uInitrd FDT /dtb/rockchip/rk3328-box-mx10.dtb APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 Ready to reboot config20190113
  12. How to extract DTB from an RK3328 TVBOX The DTB is in the resource partition and it's less than 100 KB long in size. With this scripts you can get it from a TVBOS. I've enabled USB debugging and Internet ADB in developer options within TVBOX setup. Change the IP in connect to fit your environment ubuntu@ubuntu-Ci5:~$ adb connect 192.168.0.142:5555 connected to 192.168.0.142:5555 ubuntu@ubuntu-Ci5:~$ adb shell rk3328_box:/ # cd data rk3328_box:/data # cd media rk3328_box:/data/media # cd 0 rk3328_box:/data/media/0 # cd Download rk3328_box:/data/media/0/Download # dd if=/dev/block/by-name/resource of=resource.img bs=100k count=1 1+0 records in 1+0 records out rk3328_box:/data/media/0/Download # exit ubuntu@ubuntu-Ci5:~$ adb pull /data/media/0/Download/resource.img 393 KB/s (102400 bytes in 0.254s) ./extract-dtd.py resource.img And you get the dtb in the dtb folder
  13. Hi @balbes150 Here you have my mx-10 internal dts mx-10-from-box.dts
  14. Hi @balbes150 Not mine. Here you can see. ubuntu@ubuntu-Ci5:~$ adb connect 192.168.0.142:5555 connected to 192.168.0.142:5555 ubuntu@ubuntu-Ci5:~$ adb shell rk3328_box:/ # lsmod Module Size Used by 8723bs 1400585 0 rk3328_box:/ # Here it use rtl8723bs
  15. This way, rtl8821cu can be loaded as a module with modprobe and insmod I hope this can help somebody
  16. this is a how-to include rtl8821cu into kernel tree for future compilation 1 Extract the compressed file into drivers/net/wireless/rockchip_wlan/ 2 Modify drivers/net/wireless/rockchip_wlan/Kconfig and change about line 47 source "drivers/net/wireless/rockchip_wlan/rtl8822be/Kconfig" source "drivers/net/wireless/rockchip_wlan/mvl88w8977/Kconfig" source "drivers/net/wireless/rockchip_wlan/ssv6xxx/Kconfig" /* Insert the Kconfig path to 8821cu module */ source "drivers/net/wireless/rockchip_wlan/rtl8822be/Kconfig" source "drivers/net/wireless/rockchip_wlan/rtl8821cu/Kconfig" /* -----> source "drivers/net/wireless/rockchip_wlan/mvl88w8977/Kconfig" <------ */ source "drivers/net/wireless/rockchip_wlan/ssv6xxx/Kconfig" 3 Modify Makefile to get rid of the new module original Makefile # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_AP6XXX) += rkwifi/ obj-$(CONFIG_RTL8188EU) += rtl8188eu/ obj-$(CONFIG_RTL8188FU) += rtl8188fu/ obj-$(CONFIG_RTL8189ES) += rtl8189es/ obj-$(CONFIG_RTL8189FS) += rtl8189fs/ obj-$(CONFIG_RTL8723BS) += rtl8723bs/ obj-$(CONFIG_RTL8723BU) += rtl8723bu/ obj-$(CONFIG_RTL8723CS) += rtl8723cs/ obj-$(CONFIG_RTL8723DS) += rtl8723ds/ obj-$(CONFIG_RTL8822BE) += rtl8822be/ obj-$(CONFIG_SSV6051) += ssv6xxx/ obj-$(CONFIG_MVL88W8977) += mvl88w8977/ obj-$(CONFIG_WL_ROCKCHIP) += wifi_sys/rkwifi_sys_iface.o obj-$(CONFIG_WL_ROCKCHIP) += rkwifi/rk_wifi_config.o obj-$(CONFIG_CYW_BCMDHD) += cywdhd/ New Makefile # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_AP6XXX) += rkwifi/ obj-$(CONFIG_RTL8188EU) += rtl8188eu/ obj-$(CONFIG_RTL8188FU) += rtl8188fu/ obj-$(CONFIG_RTL8189ES) += rtl8189es/ obj-$(CONFIG_RTL8189FS) += rtl8189fs/ obj-$(CONFIG_RTL8723BS) += rtl8723bs/ obj-$(CONFIG_RTL8723BU) += rtl8723bu/ obj-$(CONFIG_RTL8723CS) += rtl8723cs/ obj-$(CONFIG_RTL8723DS) += rtl8723ds/ obj-$(CONFIG_RTL8822BE) += rtl8822be/ obj-$(CONFIG_RTL8821CU) += rtl8821cu/ obj-$(CONFIG_SSV6051) += ssv6xxx/ obj-$(CONFIG_MVL88W8977) += mvl88w8977/ obj-$(CONFIG_WL_ROCKCHIP) += wifi_sys/rkwifi_sys_iface.o obj-$(CONFIG_WL_ROCKCHIP) += rkwifi/rk_wifi_config.o obj-$(CONFIG_CYW_BCMDHD) += cywdhd/ rtl8821cu.tar.xz
  17. First I want to say that all my tests are on a MX-10 4/32 Oreo 8.1. Kernel compilation an tests are done into the same machine. Mx-10 DOS NOT use ssv6051 wifi but rtl8723bs. Once this said I can help a bit with this. It seems sources are still forn android defaults In drivers/net/wireless/rockchip_wlan/ssv6xxx/firmware/ssv6051-wifi.cfg , change firmware_path = /vendor/etc/firmware/ ----> firmware_path = /lib/firmware/ssv6051/ In drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ssvdevice.c change line 61 char DEFAULT_CFG_PATH[] = "/vendor/etc/firmware/ssv6051-wifi.cfg"; with char DEFAULT_CFG_PATH[] = "/lib/firmware/ssv6051/ssv6051-wifi.cfg"; And drivers/net/wireless/rockchip_wlan/ssv6xxx/firmware/ssv6051-wifi.cfg must be installed in /lib/firmware/ssv6051 directory You also need firmware file installed in this folder (ssv6051-sw.bin got from armbian for S905 3.14 Kernel) ssv6051-sw.bin
  18. Hello. Now working on MX-10 8,1 Oreo 4/32 internal wifi. I've got access to internal android devicetree via adb (running box)and want to extract it from to box to a file to view parameters. How can I do this task. I've googled for it and only got help for extracting from OTA and ROM files. TIA
  19. Hi. Back to forum after some tests. I have compiled the kernel with most of wifi modules included. It compiled without errors and generated correspinding modules. I need to know how I can update kernel (named without rk3328 suffix) in order to boot from a diferent kernel. I expect to be able to keep current boot options without overwrite, and edit some files to boot an alternative kernel. Can you tell me if it is possible and which files must be changed?
  20. Hello. First of all, thanks and congratulations to armbian team. I must mention Igor and Balbes. Very good job. Secondly, I`d like to say that I`ve succesfully installed Armbian 5.44 Ubuntu Bionic Mate 3.14 20180726 on X96 and X96 Míni (everything working But BT) and been able to install it in eMMC. Now, my goal is focused on MX10. Just tried your current image for Rk3328, changed the DTS entry to MX10 one, and almost everithing working in the first boot. All but wifi. In order to try to fix it, I need the kernel source to add more wifi drivers. Where can I download it? Can I use the one in the apto.armbian repository (linux-source-4.4.156-rockchip64)?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines