Jump to content

MR01

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by MR01

  1. A guy on stakeoverflow posted, then was automatically removed, his achivement on this tablet.
     

    Quote

    I've tinkered around with my android Tablet: Umidigi G1 Tab with a Rockchip RK3562.
    I compiled my own U-Boot from https://github.com/rockchip-linux/u-boot.
    This worked.
    Loading u-boot.itb got me an UART console to read stuff.
    I switched back to the original U-Boot which restored the device.
    Last time I took the wrong U-Boot file (uboot.img - without dtb)


    Now I'm stuck.
    I found no option to trigger the Maskrom Mode.
    Volume- while plugging in worked before for loader mode.
    This isn't working.
    I still have UART ... but not much to do.
    No USB-Controller is found, mmc isn't recognized.
    Loadb isn't available

    This device has A/B Slots ... I know there is a working configuration in Slot B ... but I have no idea how to force the slot-swap.

    Tried: Load rockusb-mode - not possible Load "download" Mode - Crash

    Issuing "fastboot usb 0" seems to work, but the device wont get recognized by Windows and Linux.


    Hope this can help.

  2. Hi, im thinking about a new low budget tablet with RK3562 to use with Armbian.

    The main points would be to have the console output on the LCD and maybe also the usability of touch for direct input.

     

    There is already someone that own a similar product? (tablet with soc RK3562 or just RK)
    Im newbie about serial console and debugging, eventually the unlock of bootloader will be a big job or the RK share compatibility in some aspects of booting and more?

    I found out that there is already a NPU support on github for the RK3562 (rknpu2 repo)

    Thanks for the replies to all.

  3. @jock ok then i will wait an eventually new kernel by you, i wanted to get the benefits of 5.19 kernel but if wifi is broken then is useless to me.

     

    PS: i did some modding in this free time of holidays, from Aliexpress with bonus new user at 0,01€ [see photos]

    I got better (lower) temps also at fan off...difference in quantity of adesive thermal paste put by stock....
    With fan on i hit 26° but at almost 0 load (firewall forwarding wifi-to-eth and pi-hole demon), if i attach HDMI i hit 30° stable.

     

     

    DC-5V-12V-24V-3010-30mm-30x30x10mm-ventola-di-raffreddamento-con-dissipatore-di-calore-ventola-BGA.jpg

    photo_2023-01-01_17-48-36.thumb.jpg.bc58fa30228b550b4e85cc0a630b8e39.jpgphoto_2023-01-01_17-48-41.thumb.jpg.31131958143ae1972e1ecd2daddc2c80.jpgphoto_2023-01-01_17-46-13.thumb.jpg.4814bfb445443c58525cc20e407d7171.jpg

  4. I installed 5.19.15 image on RK3318 box, but then i lost the driver of realtek usb wifi card i use.

    There is a way to simply choose the next boot kernel? so that i can clone repo and get .deb headers then boot to 5.19.15 kernel e test/install? (Ps: where can i find the correct 5.19.15 headers for build drivers from source?)

     

    Im using this box daily so moving it to ethernet port of router is complicated (is away from pc and im using it for pc connection)

     

    Thanks

     

     

  5. @jocki installed, one year ago, 5.15.35 image on internal storage.

    Im not sure where im wrong, but i cant boot into sdcard multi tool (i want to make a backup of internal storage so i can restore before doint testing and junking the system)

     

    Is possible or in old 5.15.35 the u-boot only boot internal storage?

  6. Sorry for the weird question, is possible to print, in console or some where else, the received IR codes?

    I have a smartphone with IR and the tvboxs  have a receiver...so maybe i can create my "database" of custom codes of my controllers by saving the codes captured by armbian on tvbox.

     

    Would it be possible?

  7. @lmdc45 Yeah too many failing "how to" on web, when you know how to do it with firewall rules is not that hard, but on web many do things/commands without thinking too much.

    Im not very happy with this mode by using firewall, because it trigger too much the cpu when in high load of packets (like when downloading games from Steam, the cpu temperature skyrock...).
    Debian has bridge-util that should do the same thing but, hopefully, better then firewall redirections.
    I didnt find enough doc material on web to be sure it works and works better then my actual firewall rules so for now im stuck to this setup.

    If you try that bridge-util update me with your results, i just cant ruin my setup because its necessary for my main pc-setup internet connection.

  8. Remember that with 

    Quote

    dhcp-range=172.24.0.100,172.24.0.250,72h

    IP will change after 72h of system-up, just remove ,72h for always.

     

     

    13 hours ago, lmdc45 said:

    seems to have some 172.24.0.1/24 network and some 172.24.1.1/24 network probably a mistake. 
    Otherwise working ok thanks

    Probably my mistake, should be all 172.24.0.1 if i remember right, anyway im using it as cheap low latency powerfull wifi-eth for my gaming pc.

     image.png.6d8f65d82eff6f6df4728f2401d0ed4f.png

  9. 10 hours ago, Jack853 said:

    I am having a bit of trouble with the backup on the multitool software. Can anyone help me?

     

    Basically so I have a backup saved on my computer and when I use rufus to put the multitool on an sd card it makes the size of the card 2gb even though its a 8gb one. Then when I try to put the backup in the backup folder I cant because the backup file is too big.

    I will attach some images to further show my issue:

    https://ibb.co/NTPRxYp

    https://ibb.co/m9G29kY

    https://ibb.co/cYMDKDX

    https://ibb.co/kDm7RXb

    When i had the same problem i just expanded the partition with gparted.

  10. 20 hours ago, MR01 said:

    i only have /etc/X11/xorg.conf.d/01-armbian-defaults.conf
    I dont think i removed or deleted it by accident because i never installed DE in this installation of minimal.

    To update the Lima driver question ON or OFF
    dmesg | grep lima

    [    7.913523] lima ff300000.gpu: gp - mali450 version major 0 minor 0
    [    7.913612] lima ff300000.gpu: pp0 - mali450 version major 0 minor 0
    [    7.913675] lima ff300000.gpu: pp1 - mali450 version major 0 minor 0
    [    7.913731] lima ff300000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit                                                                                                              external bus
    [    7.913746] lima ff300000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit                                                                                                              external bus
    [    7.915008] lima ff300000.gpu: bus rate = 491520000
    [    7.915046] lima ff300000.gpu: mod rate = 491520000
    [    7.917641] [drm] Initialized lima 1.1.0 20191231 for ff300000.gpu on minor 1

     

  11. 15 hours ago, jock said:

    I may remember not so well because rk3318 received little attention lately, but it should be enable and provided via opensource Lima driver.

    You can check if AccelMethod is set to "glamor" (enabled) or "none" (disabled) in /etc/X11/xorg.conf.d/40-serverflags.conf

    As usual, it is wise to disable compositing for a bit better performance in a typical desktop usage.

    i only have /etc/X11/xorg.conf.d/01-armbian-defaults.conf
    I dont think i removed or deleted it by accident because i never installed DE in this installation of minimal.

  12. 47 minutes ago, jock said:

    I guess lightdm+lxde are not under wayland but rather regular X.org.

    About hw acceleration, what do you mean? Both 3D acceleration via GPU and hw video decoding through VPU works on all recent mainline kernels, Chrome is just not able to deal with them: that's a long way to get there.


    Chrome probably is missing OpenGL/OpenGL ES features that mainline kernel miss.
    My bad on 3D with Lima driver.

  13. 2 hours ago, MX10.AC2N said:

    Hi everyone,
    I'm looking to set up a minimal gui under wayland but it's not easy for a beginner.
    I found https://github.com/arcbjorn/arc-arch-linux-installation-guide#for-full-desktop-gui
    But it's based on arch linux and I struggle a bit to adapt..
    So I'm trying to post here to see if some of us can manage a script for installing a minimal gui under wayland.. or if you think it's a waste of time to try this experiment (for the instant..)
    Thanks again and again armbian is great..!


    I did install lightdm+lxde[core-minimal] on debian minimal without big problems.
    But i removed all after finding out that hw accelleration didnt work on 5.15 kernel, so chrome will not run at all for example, and i old kernel was not running my usb dongle by default.

  14. 2 hours ago, jock said:

     

    You probably have an AP6330 "package" on the board

    AP6330 with a metal plate.

     

    Quote

    root@rk3318-box:~# dmesg | grep -i blue
    [    8.009535] Bluetooth: Core ver 2.22
    [    8.009740] NET: Registered PF_BLUETOOTH protocol family
    [    8.009753] Bluetooth: HCI device and connection manager initialized
    [    8.009783] Bluetooth: HCI socket layer initialized
    [    8.009795] Bluetooth: L2CAP socket layer initialized
    [    8.009840] Bluetooth: SCO socket layer initialized
    [    8.161276] Bluetooth: HCI UART driver ver 2.3
    [    8.161321] Bluetooth: HCI UART protocol H4 registered
    [    8.161329] Bluetooth: HCI UART protocol BCSP registered
    [    8.161498] Bluetooth: HCI UART protocol LL registered
    [    8.161513] Bluetooth: HCI UART protocol ATH3K registered
    [    8.161608] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    8.162107] Bluetooth: HCI UART protocol Intel registered
    [    8.162679] Bluetooth: HCI UART protocol Broadcom registered
    [    8.162847] Bluetooth: HCI UART protocol QCA registered
    [    8.162864] Bluetooth: HCI UART protocol AG6XX registered
    [    8.162956] Bluetooth: HCI UART protocol Marvell registered
    [    8.551727] Bluetooth: hci0: BCM: chip id 62
    [    8.552567] Bluetooth: hci0: BCM: features 0x0f
    [    8.554381] Bluetooth: hci0: BCM4330B1
    [    8.554418] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
    [    8.563141] Bluetooth: hci0: BCM4330B1 'brcm/BCM4330B1.hcd' Patch
    [    9.345127] Bluetooth: hci0: BCM4330B1 37.4 MHz Class 1 Ampak
    [    9.345172] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
    [    9.345903] Bluetooth: hci0: BCM: Using default device address (43:30:b1:00:00:00)
    [    9.358938] systemd[1]: Reached target Bluetooth.


    Seems recognized and working NOW, yesterday didnt and i tried many times with many reboots, the only thing i did in late night (so right before now dmesg) was set in rc.local "ifconfig wlan0 down" because im using a powerfull external usb dongle.

    So maybe when wifi is off bth works? Im not fond of kernel/drivers in general so maybe is no-sense.

    I dont plan to use bth anyway.

    Ps: im using this box as a powerfull switch WIFI>ETH because my house is on 2 plans and my only telephone port is in the plan down my actual pc and there must be the router....plus every plan is electrically "indipendent" with 2 different save-life (so i dont even try to use powerline), so for better signal i will put the box in a better position with a ethernet cable running side-wall from the box to my pc

    dmesg.txt

  15. 1 hour ago, jock said:

    I guess that you have the bcm43342 wifi part; dmesg will tell what firmware is actually needed for bluetooth.

    It may be that

    Probably here the led has the polarity inverted (active low vs. active high) in the device tree.

    Grazie a te, gentilissimo ;)

     

     

    i have the same board of @markst precisely a X88-PRO-B-RK3318-D4-V1.2, but selled with a different name (QPLOVE Q9 4/128 [ram/emmc]) so maybe something is different, wifi works bth not.
    And as the others guys with 4gb ram i can only use 2gb of ram.

    image.thumb.png.e7232e08558b38a2eb81a5fbbb4e5f64.pngimage.thumb.png.b213be745e6bbdef98a3fb75a225f816.png

     

    Firmware: BCM4330/4 wl0

  16. 57 minutes ago, MBB said:

    I have flashed an X88 Pro 10 box and run rk3318-config.  Wifi is identified as BCM4334 correctly and works.  Bluetooth is found but using XFCE 'devices' option, finds none.  I tried a second model (H96 Max) and it behaves the same.  If I plug in a TP Link bluetooth adapter, devices are found and work fine.  Anyone else running into this?

    There is no correlation just a problem in find and activate the right driver, the hw/chip of the usb bth dongle is present in the kernel linux while the internal chip not.
    Did you try with console commands?

    Did you try to disconnect the usb and still use bth?

  17. On 2/12/2022 at 12:49 PM, jock said:

    Yes, x88 pro boards have wifi swapped to "external" controller, so on first run it can't be detected.

    First rk3318-config run will set a proper dtb to use the external controller. After reboot, you have to run rk3318-config again so the wifi chip can finally be detected and fully configured (bluetooth included) by rk3318-config.

     

    I see from dmesg that the bluetooth driver is still not reading the right firmware file, probably because I missed an "A" in the filename.

    Could you please rename /lib/firmware/brcm/BCM43342.hcd to /lib/firmware/brcm/BCM43342A.hcd and try again?

     

    edit: the images on your tutorial seems to be broken, I see the thumbnails but can't open the full size images.

     

    Hi i have also a x88 Pro board, wifi now works i had 5.15.35 from start but no one said the trick of double rk3318-config with the reboot so i found it out only now.

     

    Quote

    mount -o remount,rw /system
    mv /system/vendor/firmware/bcm4334W.hcd /system/vendor/firmware/bcm43342A.hcd

    i found this in xda forum, leading the idea that bcm4334W is compatible with bcm43342A, fixing wifi+bth on android.
    I dont know how/where get that .hcd, did you guys tried that already?

    Thanks a lot to @jock and @awawa ^^

  18. Hello im new and im Italian so i hope you will not hate me if i write not perfectly (Who said Google Translate?? No No No)

     

    This Guide is for a "client to client" setup of the box, we will internally switch Wifi to Eth, so a working computer can access internet from its eth port even if the router signal source is wireless.

     

    Router AP -----> ARM BOX [WIFI internal or usb dongle] ===>> internal eth0 ------> ethernet cable --> client eth port

     

    • Make sure WiFi in arm box is connected using nmtui command
      • FROM NOW ON <WIFI CARD> is the wifi adapter name es: replace "<WIFI CARD>" with "wlx0013eff301ee"
    • Execute: sudo apt-get update && sudo apt-get install dnsmasq iptables iptables-persistent -y
      • say no to save actual iptables rules (we dont have any yet)
    • Edit /etc/network/interfaces
      • comment if exist the part of eth0 "iface eth0" to "#iface eth0"
      • add those lines
      • allow-hotplug eth0
        	iface eth0 inet static
        		address 172.24.1.1
        		netmask 255.255.255.0
        		network 172.24.1.0
        		broadcast 172.24.1.255
        		dns-nameservers 1.1.1.1 1.0.0.1
        	#########{Static}###########
        	up ip addr add 172.24.0.1/24 dev eth0
    • execute those commands
      • REMEMBER TO REPLACE <WIFI CARD>
      • ip addr add 172.24.0.1/24 dev eth0
        iptables -A FORWARD -o <WIFI CARD> -i eth0 -s 172.24.0.0/24 -m conntrack --ctstate NEW -j ACCEPT
        iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
        iptables -t nat -F POSTROUTING
        iptables -t nat -A POSTROUTING -o <WIFI CARD> -j MASQUERADE
        sh -c "iptables-save > /etc/iptables.ipv4.nat"
        sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
        /etc/init.d/dnsmasq stop
        cp /etc/dnsmasq.conf /etc/dnsmasq.conf-backup
    • Edit /etc/dnsmasq.conf inserting
      • interface=eth0
        listen-address=172.24.1.1
        bind-interfaces
        server=1.1.1.1 
        domain-needed
        bogus-priv
        dhcp-range=172.24.0.100,172.24.0.250,72h
    • Edit /etc/sysctl.conf inserting
      • net.ipv4.conf.default.forwarding=1
        net.ipv4.conf.all.forwarding=1
    • Edit /etc/rc.local inserting before "exit 0"
      • iptables-restore < /etc/iptables.ipv4.nat
    • execute those commands
      • systemctl enable dnsmasq
        systemctl enable iptables

     

     

    Explainations:

     

    We set static net to eht0 then we set routing in iptables [forward and back] wlan<->eth then we make this setup persistent so that will persist after reboot.

    Working on my RK3318 Armbian bullseye 5.15 minimal and USB3 dongle RTL8814AU (also tested with a 8812au)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines