Jump to content

Recommended Posts

Posted

Hy Group

another topic maybe someone can point in the right direction my box has a SCL 9082 Wifi chip , this chip is bad supported .

 

i got hands on an SV6030P wifi modul , pinout is idientical --> how good is this chip supportet at linux ?

Posted
  On 5/6/2022 at 12:28 PM, RaptorSDS said:

i got hands on an SV6030P wifi modul , pinout is idientical --> how good is this chip supportet at linux ?

Expand  

Never heard about sv6030P and never saw any driver for it. It looks very similar so ssv6051p, but can't say what kind of support it has.

Posted
  On 5/7/2022 at 6:57 AM, jock said:

Never heard about sv6030P and never saw any driver for it. It looks very similar so ssv6051p, but can't say what kind of support it has.

Expand  

ok thank you , looks also bad supported --> ssv6051p is maybe a big brother of 6030p i found some coreElec information and some datasheet from icomm  (iottech)

 

  Zitat

CoreELEC 9.2.14 changelog

Updated Wifi driver ssv6xxx-aml

Implemented Wifi driver SSV6030P

Expand  

 

they force ssv6051p driver for 6030p 

 

Question is the SSV6051p and the patch also inside the rk322x images

ssv6xxx-aml-003-force-SSV6051P-when-SSV6030P-is-detected.patchFetching info...

Posted

i tried installing an old armbian image to see if it would be faster since the most recent one felt a little slower than an older one i tried before and now the tvbox wont boot anymore. my board is r329Q_V3.1.

Posted

Hi everyone,

 

Can anyone help me? I'm not so technical guy so please bear with me.

 

I decided to use bullseye image because I have a hard time using jammy in remote session. It really really slow.

 

I just want a system running adguard home. So I think I need aguard home installation and a browser to configure it.

 

My problem is that I cannot launch the browser (chromium) in SSH for the obvious reason.

 

What do I need to install to be able run and configure adguard home. I really appreciate if anyone guide me for the command that I need to use.

 

Thank you so much.

 

EDIT: Silly me, I figure it out. I just need to install aguard home and configure it in my local computer (laptop) 😅

Posted

I have a new problem with the SSH. After setting it up and rebooted, it didn't accept my login credentials, even in root and username, still the same "Access denied" 😔

Posted (edited)

Please, anyone could provide a full dump from the default android (any android) of a mxq-4k, made with multiboot tool? I did not made the backup, and now I can't restore original firmware, probably because of the partitions been mess-up or whatever.. I can install and remove and install Armbian many times as I want, but I just can't go back to android without the full dump, a least is what I think.

Edited by Felipe Triana
typo
Posted

@Felipe Triana

Felipe armbian uses gpt , android uses a organization of partitions called rkparameters . rk parameters are written into sector 0X02000 of the nand, just after the loader address space
is a bit as you modified the master boot record to use mbr or uefi. This just to explain the difference between android and armbian and also this is an annoing alert repeating from the beginning of this post, saying  mxq-4k means NOTHING !!!!!!!
Neither is possible ask a backup from a mxq-4k from other users for the reasons explained  later in this post

Please open the bow ( 4 little screws under rubber pads) and give more info ( mx4v ? mz4vr? r329q ??) or better attach photos of the box

If you really want go back to android ( but .. why ???   🙂  )  and if you are also a windows user or you can use windows in some way , you can use the attached windows tool and,  instead of using the backup obtained by multitool,  look for an android suitable for you board ( that despite of being called mxq-4k could be a 3228. 3228a, 3229, ddr2, ddr3 and all the hell the china market does ) !!!
😄 🤣

For the future, backup before any experiment !


AndroidTool_Release_v2.69.zip

 

Posted

@fabiobassa

 

Hi, I'm only replying now, because the forum limts one post per day for me, for now a least. Ok. Back to the topic.

Yesterday, I was trying to go back to the android because I was thinking in use the TV BOX as a temporary replacemant to my father's notebook, that stopped working and I already resoldered almost everything changed the SIO, SB etc.. Anyway, today I just boght another box, with android and installed for him, and worked fine... but would be nice to have a full backup of the nand anyway, if one day I wish to go back to original firmware, I should have done the backup. 

The box is a MXQ-4K, as i said, but now I will give details:

It features a RK3228A, with 2GB of Micron DDR3 (2 chips on top, 2 on the back of board), a 8GB BGA NAND, and a SV6051 wireless chip and R329Q_V3.0 board revision. I took some photos for more details, right below here:

WhatsApp_Image_2022-05-27_at_9.39.42_PM.

Here a close up of the rockchip on this board, before I changed the heatsink
 

WhatsApp_Image_2022-05-27_at_9.38.44_PM.

Here is 2 of the 4 DDR3 ram chips, its HTTC4G83BGR (4 gigabites, or 512MB per module)

 

WhatsApp_Image_2022-05-27_at_9.39.14_PM.

The wireless chip, SV6051P, nothing special..


WhatsApp_Image_2022-05-27_at_9.38.58_PM.

An overview of the back of the board, showing the nand and pcb shape

WhatsApp_Image_2022-05-27_at_9.40.24_PM.
And finely a overview of the board powered on, running main build from SD Card...

Ok, things that I noticed, that can ou cannot be bugs:

 

  Quote

- It only finds 1GB of ram, instead of 2GB (maybe need some aditional configuration?) - tested with both builds, main and legacy, same.
- I can only connect to SSH, or anyother service, even apache, if I connect the RJ45 cable, tried diferent router, tried ufw open, tried remove iptables and fw completely, nothing - tested with both builds, main and legacy, same.
- on GUI interface, on main build, audio does not detect HDMI audio, only onboard audio, on legacy works fine.
- Minor issue, but nice to metion, the multimedia script for legacy devices, has a variable like $USERNAME or something near this, that is suppost to copy a XML file I think for home/user folder, but the variable is broken, it just returns empty. I had to open the script and write my username manually. I think that it is responsable for make window composing work(?) - anyway, even with this, the desktop arrow and select tool works faster, but that's it. When you drag a window across the screen, it looks like I finished solitary game.

Expand  

So far is what I noticed... 

I would be already happy if a least I could recognize the full 2GB of ram on board and wireless worked on inbound connections, a least I could use the box as a home server, for files, websites, etc.

I found other issues that I think is maybe the hardware itself that cant cope with todays demands: main or legacy, even with multimedia tools installed, Youtube can't even play at 144p without dropping 20 to 40% of the frames, tested windowd, and fullscreen, same. Youtube keep rendering on CPU mode, with firefox or chromium, even if I run the browser with glrun command.

So far thats it, I'm afraid that I will be able only to reply after 24 hours, because of forum limitation, so in this case, until tomorrow! Thank you for the attention, 

Posted

@Felipe Triana Hello, I don't understand if you did or didn't backup the original firmware and how many boxes you have.

Anyway, replacing a notebook with the cheapest of the cheapest hardware around is not a wise idea; such tv boxes are much more suited for light server usage and they are definitely not suitable as desktop replacement.

 

If the amount of detected ram is 1gb, then you have 1gb, no matter what the manufacturer says about. There are plenty of reports of fake specs just in this thread, so this is no surprise.

 

For the other issues you mention, never experienced anything like that: network services are working perfectly fine and HDMI audio device is showing up for me.

 

About youtube, it is worth mention that there is no video acceleration in browsers nowadays. Videos are accelerated when used with proper software, but surely can't be accelerated in browsers and you can't expect anything more than a 10-years old budget-class smartphone CPU.

One thing that helps is disabling desktop composition (is a general recommendation as per Armbian documentation).

 

Legacy flavour is receiving little to no attention due to recent advancements of mainline kernels, so you'd better switch to mainline kernel, but surely these cheap tvboxes are not suitable for desktop replacement.

 

Posted

@jock

  Quote

Hello, I don't understand if you did or didn't backup the original firmware and how many boxes you have.

Expand  

I bought another yesterday, brand new, left with stock android and workds for my father for now. On android at least he can see emails and youtube. 😅 about the backup, no I did not make it, I should have... I had this box laying arrond, and had the ideia for desktop replacement, but then I saw the limitations that you said, but I didnt made the backup of the NAND, and that's is why I made the first post..
 

  Quote

If the amount of detected ram is 1gb, then you have 1gb, no matter what the manufacturer says about. There are plenty of reports of fake specs just in this thread, so this is no surprise.

Expand  

 

I know my box have 2GB, because I installed it 😂 I'm work with GPU, bga etc, and was very easy to me find DDR3 laying around, I just swap the original samsung 256MB chips for the 512MB micron ones. Maybe I need to make other steps to unlock the memory. I already reflashed it from maskrom, still 1GB. Maybe you can help.I know the hardware stuff, but no so much about the software. 🤣
 

  Quote

For the other issues you mention, never experienced anything like that: network services are working perfectly fine and HDMI audio device is showing up for me.

Expand  


Yes, this issue about wireless exists, I could not access any inbound port from wireless. I noticed that if I just plug my etherned cable, and instantly try to access SSH using the wireless ip, works fine, but if I disconnect the cable, stop working.  I "fixed" apparently by disabling the eth0 with ifconfig, but I dont know if it is a proper fix 😅
About the HDMI I tested it again and worked, but show as "built in audio" instead HDMI audio, like on the legacy one does show, differentiating built in, from HDMI.


 

  Quote

Legacy flavour is receiving little to no attention due to recent advancements of mainline kernels, so you'd better switch to mainline kernel, but surely these cheap tvboxes are not suitable for desktop replacement.

Expand  

Yes, I noticed that, but its the only option if you dont want to use a SD card as system drive if you have NAND, right? Anyway, the problem that I mentioned on the media script existis, you can replicate if you want.

But for me, about the box, no matter, I plan now to use this box as a home server as you said. I'm running main from SD card, mininal install without desktop. I already installed apache2, mariadb, php, working fine, very responsive, I liked. If I can make 2GB work, would be awesome.

 

Posted
  On 5/28/2022 at 2:58 PM, Felipe Triana said:

I know my box have 2GB, because I installed it 😂 I'm work with GPU, bga etc, and was very easy to me find DDR3 laying around, I just swap the original samsung 256MB chips for the 512MB micron ones. Maybe I need to make other steps to unlock the memory. I already reflashed it from maskrom, still 1GB. Maybe you can help.I know the hardware stuff, but no so much about the software. 🤣

Expand  

Ah, I did not understand you soldered bga chips directly on the board! Congrats, that's quite a skill!

Anyway, DDR amount is detected automatically and there is no software switch to change the amount of memory the system will detect. The right amount is purely a hardware matter, so I don't know if there is a resistor or something more complex to let the hardware being detected 🤷‍♂️

 

  On 5/28/2022 at 2:58 PM, Felipe Triana said:

Yes, this issue about wireless exists, I could not access any inbound port from wireless. I noticed that if I just plug my etherned cable, and instantly try to access SSH using the wireless ip, works fine, but if I disconnect the cable, stop working.  I "fixed" apparently by disabling the eth0 with ifconfig, but I dont know if it is a proper fix 😅

Expand  

ssv6051p driver suffers from an ARP request problem, so even if the wireless is connected, the device does not actually respond to requests from external hosts, even pings, until you let the wireless exchange a packet with the network, doing like a ping from the box to the router for example. This is just a hypothesis though, no one really dug into; that could be or not be related to your isssue.

 

  On 5/28/2022 at 2:58 PM, Felipe Triana said:

Yes, I noticed that, but its the only option if you dont want to use a SD card as system drive if you have NAND, right? Anyway, the problem that I mentioned on the media script existis, you can replicate if you want.

Expand  

To use the NAND as system drive you need to use the legacy kernel, that's right. At the moment the NAND driver is not available for mainline kernels.

 

Posted
  On 5/28/2022 at 7:06 PM, jock said:

Ah, I did not understand you soldered bga chips directly on the board! Congrats, that's quite a skill!

Anyway, DDR amount is detected automatically and there is no software switch to change the amount of memory the system will detect. The right amount is purely a hardware matter, so I don't know if there is a resistor or something more complex to let the hardware being detected 🤷‍♂️

 

Expand  


Hmm, do you know when the software do the detection? Maybe I just need to upgrade the bootloader on NAND for other (?) ... Don't know.. I'm not using nand right now, because I'm usind SD card to use mainline, but I think the multiboot tool flashed something to bypass NAND, if I remember correctly... 🤔 

But if the detection is made during the system boot process, maybe its some resistor configuration or the kernel just "dont like" my modules. They are 8 bit instead 4 bit, and double the original density, but thats the only diferrence. 
 

  Quote


unknown.png?width=923&height=671unknown.png?width=879&height=671

 

Expand  

 

 

Original was Samsung, K4B2G0446C, and the replacemant is from Micron, HTTC4G83BFR:

K4B: just Samsung marking.
2G:   2 Gigabites module (256 Megabytes)
04:   4 bit module
4:     8 internal banks *(3 = 4 banks, 4 = 8 banks, 5 = 16 banks)
6:     Voltage *(6 = 1.5v)
 

I took this data from Samsung datasheet... Micron is a little more dificult to find the right datasheet, but its fair to assume that this module has 4 Gigabites, 8 bytes, and for 4 internal banks, since its 4G83 

 

The letters after that is just revision type, speed, power, etc, doesn't matter in this case.

Anyway, if you know where its detected the DRAM, and where the profiles for then (assuming that is some kind of profiling table) maybe just need to edit this, a big maybe on that, because I dont know s**t about the software compared to you guys. 

Thanks @jock and @fabiobassa for the support until now 😃 Have a nice weekend.

 

 

Posted

@Felipe Triana DDR memory detection is made by a rockchip proprietary code that is called ddrbin as the very first binary code.

It's a closed source binary, so whatever it does and how it does is not known. It produces some debug messages that may be useful to you (memory arrangement, density, bus width) when the serial adapter is connected to the board.

 

There is a tool, ddrbin_tool, that can be used to alter ddr speed, ddr command rate timing and uart debug speed, but nothing more.

 

If you totally erased the NAND, then the ddrbin in use is the one from the sdcard, if you installed "jump start" with multitool, then the ddrbin in use is from NAND.

 

Multitool can't completely erase the NAND because the kernel driver has some limitations and cannot access the first sectors of the NAND, thus multitool can't neither write or read the installed ddrbin  in NAND.

Posted (edited)

Hey guys,

 

First thx to @jock and @fabiobassa for their amazing work!!

 

Im running docker-emby on my RK3229 box Armbian 21.08.1 Buster kernel legacy 4.4.194-rk322x and works fine...

 

If you need to test docker on your system try this as root:

 

cd /root
curl https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh > check-config.sh
chmod +x check-config.sh
bash ./check-config.sh

 

Let me know if you wanna know how to run docker-emby ...🤓
 

Edited by primoitt
Posted
  On 2/17/2022 at 7:09 PM, jock said:

@vhick @cnupy

Sorry for the issue, I discovered that the images I built were strangely missing the bootloader.

I'm rebuilding and will upload the images in a few minutes, hopefully these new images will be ok: I just tested the bullseye current minimal and it works fine, I guess the others will be fine too...

Expand  

 

Good afternoon, My name is Marcio and I am part of an NGO where we have a computer project for inclusion here in Brazil. At first I apologize for the bad English (I'm using google translator). The IRS seized many of these devices mostly RK3229, RK322x, and we want to use these devices to supply the demand for donations that we need. I've tried several images but none works, multitool works, but when I burn the image in mmcblk2, it doesn't start and even if I burn it directly to the memory card it doesn't start either, I would really like some help. Thank you so much

Posted (edited)

@Poleto69
bom dia marcio, if you search on this same forum there was another brasilian man, he also was struggling with this honorable project  to bring computers and/or low power devices into favelas
Contact him so you can share infos on those box and achieve your goal

Edited by fabiobassa
Posted (edited)

Hello!
I would like to ask for help.

I have the following TV box:
---------------------------------
MXQ-4k 5G
MXQ_RK3229
Wifi Chip: ESP8089-522014-P22G43

RK3229_MXQ_EMCP_V.4.0

Rockchip

4GB ram + 64GB storage
---------------------------------

I want an SD card running Armbian for this box, but so far I haven't found a suitable Armbian image for this box.
From here I tried Armbian images: https://armbian.systemonachip.net/archive/rk322x-box/archive/

Do not write an image to the EMCP chip because it will be brick out of the box. So it stays in the box with the original firmware.


SD boot system may work, "Boot from sdcard" may be good.

 

These images work well when written to an SD card (starting from an SD card):

- Boot from SD card and works fine: Multitool (multitool.img)
- Starts and works well from SD card: LibreElec (LibreELEC-RK322x.arm-9.2-devel-20200427213119-b7186bc-rk3228a-mxq4kpro.img)
and this is also good (LibreELEC-RK322x.arm-9.2-devel-20220112105523-3ce5dd4-rk3228a-mxq4kpro.img)

 

Is there an Armbian that can boot from an SD card and work with it to install APT GET programs?
I would need an image file that can do this and work with my TV box.

 

I want to install Octoprint on linux to control a 3D printer via USB.
I would reach the box with a Wi-Fi connection. That would be the mission of the box.

 

Maybe this TV box is not suitable for this because there is no system for it.

 

The following may help something about my system.

 

  Reveal hidden contents

 


Thanks

Edited by SteeMan
moved log to spoiler
Posted

@Zoli I don't get what is your problem with armbian images, actually everything is described in the first page of this thread and you should not take the archived images (which are way older) but you should take the stable ones from https://users.armbian.com/jock/rk322x/armbian/stable/ and prefer the mainline/current kernel; legacy is not really maintained anymore.

 

Once you successfully test the image from sdcard (following the instructions on the first page), you may think to burn it on eMMC/eMCP using the multitool (or via armbian-config), but first be sure your armbian image boots from sdcard, otherwise you may risk to brick the board.

 

 

Posted

Hello,

 

My box has served me well, unfortunately it got wet and finally gave up the ghost. i bought 3 other boxes, one is scishion v88 and the other two is tylex v88. installation with the scishion went well, everything works. the tylex box however could not detect the wifi chip. chip was marked sp6330, i removed the tin can on top of it and sure enough it was a bcm4330 chip. rk322x-config cannot detect the chip. attached are pics and armbian dmesg log. oh the scishion one is now serving as my print server very reliable.

00000IMG_00000_BURST20220619150621961_COVER~2.jpg

IMG_20220520_084547.jpg

IMG_20220520_091041.jpg

IMG_20220524_180308.jpg

IMG_20220524_180326.jpg

IMG_20220524_180334.jpg

IMG_20220524_180358.jpg

dmesg.logFetching info...

Posted

Hello @Seth, the TX3PRO board looks a nice one, with a clean design.

Probably your issue is due a low strength for the SDIO pins set by default device tree.

You may try to use the IPB900 (led-conf5) board configuration from rk322x-config, reboot and see if the wireless is detected. IPB900 is clearly not the board you have, so leds will probably not work, but that board has the same problem I think yours has, so it is useful to make a quick test.

 

If it works, we've just spotted the problem; anyway the original android image/backup (or, even better, just the dtb) is useful to make a better suited board configuration for TX3PRO

Posted (edited)
  On 6/19/2022 at 5:12 PM, jock said:

Hello @Seth, the TX3PRO board looks a nice one, with a clean design.

Probably your issue is due a low strength for the SDIO pins set by default device tree.

You may try to use the IPB900 (led-conf5) board configuration from rk322x-config, reboot and see if the wireless is detected. IPB900 is clearly not the board you have, so leds will probably not work, but that board has the same problem I think yours has, so it is useful to make a quick test.

 

If it works, we've just spotted the problem; anyway the original android image/backup (or, even better, just the dtb) is useful to make a better suited board configuration for TX3PRO

Expand  

hello again

thanks for the reply @jock

sadly led-conf5 doesn't seem to work. the backup i made also seems to be corrupted because i used a dodgy microsd that came with an ender3 i bought. about 1GB is still readable though. i loaded it in binwalk and i have attached the log, i then used dd to extract the portion of the file that says flattened device tree, after that i converted the dtb to dts which is also attached here. i hope the files are readable enough. i got the trick from @hexdump at page 26 or 27 i think. and also the errors and warnings from the dtc command. i know the dts seems to say that it is rk3188 but it is a 3228A because i checked the processor physically. i'm guessing that this board originally used 3188 processor and that it just happened that 3228a was pin compatible and they repurposed their old boards, i am so confused right now...

 

edit:

i also forgot to mention that i did all this using the same box hooked up to my router lan. :D

I have also encountered the problem just like @Bandar but i just installed the legacy kernel, i found a small transistor at the power input of my tylex box which is way smaller than the intended footprint, i'm guessing it is used as a capacitance multiplier for cleaner dc since the dodgy power supplies that come with these boxes are noisy and severely underrated for the load. buster legacy and buster current with version 20.11.13 worked on mine though, but i just went with the bullseye legacy since it's newer.

 

binwalk.logFetching info... devicetree.dtb devicetree.dts errors.logFetching info...

Edited by Seth
Posted

@Seth I looked into the device tree you provided and it seems to be that the gpio pin to enable the wifi chip have reversed polarity. There seems to be several pins with reversed polarity (wifi, bluetooth, leds, ...) , so I need to craft a special device tree overlay to make tests.

 

Unfortunately I don't follow the legacy kernel anymore, everything is moving towards mainline since support is very good nowadays, so the overlay I will provide may or may not work on legacy kernel...

Posted
  On 6/20/2022 at 8:54 PM, jock said:

@Seth I looked into the device tree you provided and it seems to be that the gpio pin to enable the wifi chip have reversed polarity. There seems to be several pins with reversed polarity (wifi, bluetooth, leds, ...) , so I need to craft a special device tree overlay to make tests.

 

Unfortunately I don't follow the legacy kernel anymore, everything is moving towards mainline since support is very good nowadays, so the overlay I will provide may or may not work on legacy kernel...

Expand  

@jock

been playing with the tylex boxes last night and forgot to unplug it. woke up with 2 dead boxes probably power surge from thunderstorm killed it last night. might try to fix it when i find the time or i might transplant ram and emmc to the scishion box. i gotta unpack my hot air station from storage and go yolo this weekend. the scishion box has a lot of potential though just need to upgrade nand to emmc and add more ram. your rk3318/3328 project is starting to appeal to me too. lots of things to try out. :D

Posted
  On 6/21/2022 at 5:32 AM, Seth said:

@jock

been playing with the tylex boxes last night and forgot to unplug it. woke up with 2 dead boxes probably power surge from thunderstorm killed it last night. might try to fix it when i find the time or i might transplant ram and emmc to the scishion box. i gotta unpack my hot air station from storage and go yolo this weekend. the scishion box has a lot of potential though just need to upgrade nand to emmc and add more ram. your rk3318/3328 project is starting to appeal to me too. lots of things to try out. :D

Expand  

Ah that's a shame!

Well some testing on the real hardware of the device tree overlay could be useful to support extra devices, since your TX3PRO board has some differences from the baseline that prevent some hardware to work properly... Well let me know if you recover the tylex boards!

Posted
  On 6/21/2022 at 2:42 AM, Jonas Fabricio Kozamekinas said:

Hi there, i have a board with R29-MXQ-LP3 20210717 and after make sdcard with Multiools the board dont boot up only give a red light.

Any help to noob?

 

Expand  

Well it's a way too short description of the problem to give any useful hint.

Try another sdcard and use a proper tool to write to sdcard (like Balena Etcher) 🤷‍♂️

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.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines