Jump to content

CSC Armbian for RK3318/RK3328 TV box boards


jock

Recommended Posts

@jock well tv box was acting up from the start (had to reflash original android rom from the start) , i've also tried 333Mhz idbloaders from the link you posted (sd boot into clean armbian, backed up original, dd to sd card, erased flash beforehand so that it will boot it).. but that killed the box .. like completely, now it doesn't even go into maskrom mode (av port button and usb a/a cable in usb2 port). I guess i can close this case :) it is weird though, the second box i bought for a friend, works ok.. although i must recheck that now, maybe under load it will also crap on me.

Link to comment
Share on other sites

23 hours ago, gerotmf said:

like completely, now it doesn't even go into maskrom mode (av port button and usb a/a cable in usb2 port).

Well, maskrom mode is ALWAYS possible, there is no way except doing hardware damage to the board to break maskrom mode.

Link to comment
Share on other sites

Well, maskrom mode is ALWAYS possible, there is no way except doing hardware damage to the board to break maskrom mode.
Yes, that's why i think it's gone. It was finicky from the box. The other one - i have 2- is ok. So far.

Sent from my SM-S901B using Tapatalk

Link to comment
Share on other sites

11 hours ago, Vidor said:

If the Fat system does not admit files greater than 4GB, as the .img in the SD next to multitool?, I've been trying since yesterday.

Nope. But you can put the compressed image and multitool will decompress on the fly

Link to comment
Share on other sites

I tried to google a solution but I was not able to find one. I have two TV boxes that I installed armbian on them and recently I made an update / upgrade to both of them but only one seems to be unreachable. Both TV boxes are identical excpet one of them has piHole insalled. I also did update for the pi Hole on teh same day. Since teh update I can not ping / SSH or open the pi Hole page.   The output of armbianmonitor -u is in the link here http://paste.armbian.com/sawebujude

eth0 is UP with an IP address 192.168.1.239 . pihole version is 5.15.5 (Latest).  the box is listening at port 22 . I can reset the TV box but I would like to save my pi hole setting. Appreciate any help

Link to comment
Share on other sites

  • SteeMan changed the title to CSC Armbian for RK3318/RK3328 TV box boards
  • SteeMan pinned this topic

I hope someone can help with my WiFi issue or guide me to the solution

 

Problem:

Wifi does not accept password, tries 3 times and times out, ethernet is fine.

https://imgur.com/a/yNAk3O2

 

I installed Armbian_23.02.2_Rk3318-box_jammy_current_5.15.93_xfce_desktop.img on my T9 TV Box around 3 days ago and everything works (thanks to  Jock/Fabiobassa and other folks on this forum), except WiFI 

 

WiFi chip is RT8723BS

 

Images of box are below, along with the DTS and dmesg output. Have also included output of armbianmonitor

https://imgur.com/a/US4OLc3

https://imgur.com/a/0bv9Y00

https://imgur.com/a/cu3dWyW

 

https://www.mediafire.com/file/qppd2h802v69dl1/ARMBIAN_RK3288_BUILD_-_Arcube.zip/file

 

Have tried multiple NetworkManager related suggestions from various forums but so far no success.

https://imgur.com/a/XhdYjQO

 

Have also gone through this forum but I do not think I came across any solution for this, apologies if I missed something...

 

 

Link to comment
Share on other sites

@moussa854 Hello, from the logs you posted it looks to me that the eth0 interface seems to be DOWN:

 

### ip addr:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet XXX.XXX.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 56:9e:45:d9:4d:b8 brd ff:ff:ff:ff:ff:ff
 

 

Link to comment
Share on other sites

@arcube101 Hi, this kind of problems usually is in the wifi firmware/nvram ballpark, except for on kind of software issue I experienced: check if wpasupplicant debian package is correctly installed in your system: that package was removed as a dependency from network manager in upstream packages, thus was not included anymore in the base armbian images. Installing it manually may solve the problem.

 

Other than that, I have seen such kind of refusal when the crystal reference clock was set to a wrong frequency, but AFAIK on realtek chips you really can't se the reference frequency via driver option or nvram. Try the first suggestion and see if it works.

Link to comment
Share on other sites

@Tomek51 Regarding klipper and rk3318/rk3328. I have done this setup with an rk3318 box and this armbian distro. In terms of performance it works fine. I also have a webcam and stream over the network with gstreamer.

The comment I could make is be prepared to spend time (If unlucky) in setup and working around hardware bugs/issues. It is not like a raspberry pi where you plug it in and it just works. 

 

For example I boot from emmc and that works intermittently, about 50% of the times I need to go and unplug/plug back in. If booting from sdcard it works always so I will do a mixed kernel boot from sdcard and have a link to the root mount on internal emmc. These manufacturers don't have a standard bill of materials so for example the wifi chip that will be on your box will be unknown until you get it. In my case it was version of wifi chip that needed special modification of NVRAM settings and I found out about this from another user in the forum a few months after I had the box.

 

On top of that you will be working with other issues related to the 3D printer so adding uncertainty with your server may not be desirable. Anyway, good luck!

Link to comment
Share on other sites

Hello,

 

First I want to thank to jock and other guys for the great work big effort to make this project possible.

I have H96Max 4GB RAM/64GB eMMC with RK3318_V1.4 blue PCB inside, which seems to be well known here. I successfully booted several Armbian images from the SD card. All seems to work as expected and described in this thread. However when I test newer kernels I have weird problem with the HDMI signal with text being distorted (see attached images).


With jocks Armbian_22.05.0-trunk_Rk3318-box_bullseye_current_5.15.35_minimal.img.xz and ...._5.15.16_minimal.img.xz the HDMI is OK and text is not distorted, like on the images below

https://ibb.co/cFDyXTC
https://ibb.co/vmRTqCX

 


When jock Armbian_22.08.0-trunk_Rk3318-box_bullseye_edge_5.18.10_minimal.img.xz is used the text is weird as if some scan lines are sort of missing or skipped


The problem also persists when I tested with nightly stables https://github.com/armbian/community/releases/download/202307/Armbian_23.02.0-trunk_Rk3318-box_sid_edge_6.1.11_minimal.img.xz, as shown on images bwlow

https://ibb.co/dLJJL6f
https://ibb.co/svB9n4g

 


Please note, I tested HDMI with different monitors and TV, also the video from the stock Android image is OK.

 

I've read the whole thread, and several other threads also but did not find similar issue with newer kernels (>=5.18).
Can someone points me the direction where to dig?

Thanks.

Edited by stroma
Link to comment
Share on other sites

@stroma Hello, thanks for the photos, they will be useful at least to have an idea of the issue.

Anyway did you try the experimental image with kernel 5.19.15 and libreelec patches?

They have several HDMI/DRM fixes, perhaps they fix your case. Since the LE patches are not mainlined into armbian, you should then not upgrade the kernel.

 

I quickly looked back and  @Seth described similar issues you have had with his two boards.

Link to comment
Share on other sites

@jock, just tested the experimental image with kernel 5.19.15 and libreelec patches and as you suggested the HDMI output is OK.

 

It's a pity that mainlined armbian has this HDMI issue on my board. It seems the solution is to stay at older kernel revision.

Thanks for the help.

Link to comment
Share on other sites

@argen96 I've now got it working and everything is working very well. The only problem is that the box just crashes in the middle of printing. Sometimes it prints for more than 15 hours without problems and sometimes it crashes after 8 hours. That means the printer just stops and nothing happens anymore. The tv box can no longer be reached via the Internet either. Can I see a log somewhere of what exactly is happening?I took this image, is that the right one? Armbian_23.02.2_Rk3318-box_bullseye_current_5.15.93.img.xz

Does the system perhaps have a standby mode and that is where the problem is? 

Edited by Tomek51
Link to comment
Share on other sites

Hey I'm a total noob and wanted to flash my TV box. I have the h96 max with the rk3318 4gb ram & 64rom. I got to point 6 where I should burn the image to mmcblk2 and then restart. and since then my tv box doesn't work anymore, I can't start the multitool either, the tv box doesn't start at all or from time to time it lights up blue and red. I really need help.

 

https://share-your-photo.com/31f1a778cd

 

https://postimg.cc/jWyRhjXP

Link to comment
Share on other sites

Hello, I have tvbox RK3328 armbian works good. I want to use batocera for RK3328 but there is an error in uboot LPDDR3 800Mhz.

How to extract uboot from armbian sdcard to flash to batocera by windisk32imager.

I read forum altlinux - they create uboot 16MB to flash by balena or windisk32imager

Link to comment
Share on other sites

I have the problem that the USB connection randomly goes out. As a result, my 3D printer no longer works. Sometimes the printer runs over 15 hours and the USB connection works and sometimes the USB connection stops after 8 hours. What could this be?

Link to comment
Share on other sites

On 1/25/2023 at 4:30 AM, Roszek said:

Hello, and thank you again for the great support.

Unfortunately, my box has bricked due to a faulty image burned into the rom. How can I enter the maskrom mode in this model? I see no pins as you described.

 

 

I have that same tv box, the pins to enter maskrom mode are those indicated by the red arrows, attached image.

 

image.thumb.png.5210ca0971f2202bd2be8be9daaf727c.png

 

Sorry for my bad english.

 

 

Link to comment
Share on other sites

I have the problem that the USB connection randomly goes out. As a result, my 3D printer no longer works. Sometimes the printer runs over 15 hours and the USB connection works and sometimes the USB connection stops after 8 hours. What could this be?
Change usb cable first. Had similar problems with one of my pi4s .. and it was new cheap chinese cable. Also check dmesg and see if there is something with usb logged there lile recconect or disconnect msgs.

Sent from my SM-S901B using Tapatalk

Link to comment
Share on other sites

Anyone try command ?

lscpu

I change cpu frequency in dtb file, but BogoMips always shown 48.

For example for allwinner H3 cpu this command shows bogomips different. If frequency more Bogomips is more.

And in alwinner lscpu shows more information about cpu.

Am I correct if I say that something wrong in dtb file and armbian don't know all information about cpu?

Link to comment
Share on other sites

Hi
I am not able to connect my H96Max 4GB RAM/64GB eMMC with RK3318_V1.4 blue PCB to a wifi network.
The wifi module is marked as SP2734C.

I'm trying to connect with nmtui, I can see available network SSIDs, but the connection attempt always fails.

 

image.png

 

image.png

 

I tested wifi connection from stock android image and it works good, so the wifi module itself should be OK.

 

pi@rk3318-box:~$ uname -a
Linux rk3318-box 5.19.15-rockchip64 #trunk SMP PREEMPT Thu Oct 13 16:33:06 UTC 2022 aarch64 GNU/Linux

pi@rk3318-box:~$ dmesg | grep brcm
[   19.505134] brcmfmac: F1 signature read @0x18000000=0x16034334
[   19.559777] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4334-sdio for chip BCM4334/3
[   19.561271] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4334-sdio.rockchip,rk3318-box.bin failed with error -2
[   19.585315] usbcore: registered new interface driver brcmfmac
[   19.761972] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4334-sdio for chip BCM4334/3
[   19.762154] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   19.762745] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4334/3 wl0: Jul 24 2019 12:58:36 version 6.10.191 (TOB) (r) FWID 01-b049404e
[   20.213106] Bluetooth: hci0: BCM4334B0 'brcm/BCM4334B0.hcd' Patch

 

Also tested with latest mainlined armbian image - same result.
Is there something else I can try?

Edited by stroma
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines