Jump to content

Recommended Posts

Posted
  On 8/14/2023 at 9:00 PM, fabiobassa said:

After discovered that IF ONLY HE had followed all the instructions that very kindly the users of this 3ad suggested instead of trying other magic combinations, and after we  already said thet we need uart logs and so now I  would like remember  we said to him to stay on legacy kenel that is 4.4.xxx

Expand  

 

I have always post UART logs except the first time dued to my inexperience (I believe that UART log on Android was the same of UART log with sd card). For the use of kernel 4.4.xxx this is the first time, at first post it's present this url https://imola.armbian.com/dl/rk322x-box/archive/ and this url https://armbian.hosthatch.com/archive/rk322x-box/archive/ . In some circustances a noob user such me can think that image 21.02 can contain some bugs... however tomorrow I'll flash this https://armbian.hosthatch.com/archive/rk322x-box/archive/Armbian_21.08.1_Rk322x-box_buster_legacy_4.4.194_xfce_desktop.img.xz (even if I don't understand why other images more recent works to other and not to me)

Posted
  Quote

I have always post UART logs except the first time dued to my inexperience (I believe that UART log on Android was the same of UART log with sd card). For the use of kernel 4.4.xxx this is the first time, at first post it's present this url https://imola.armbian.com/dl/rk322x-box/archive/ and this url https://armbian.hosthatch.com/archive/rk322x-box/archive/ . In some circustances a noob user such me can think that image 21.02 can contain some bugs... however tomorrow I'll flash this https://armbian.hosthatch.com/archive/rk322x-box/archive/Armbian_21.08.1_Rk322x-box_buster_legacy_4.4.194_xfce_desktop.img.xz (even if I don't understand why other images more recent works to other and not to me)

Expand  

 

@n3o  The members trying to help you are highly experienced. The important point here is for you not to treat their specific instructions as merely "suggestions" after which you go off and do your own thing.   That is where the frustration lies. 

 

Based on the energy other users and you have spent on this, I would just buy some other TV box or SBC that is already known to run Armbian without any issues instead of trying to resurrect an old tired piece of hardware.   Unless you are really short on cash,  this is what I would do.  However, if you really are so short on cash that you cannot afford another $20USD on something else, then I believe your priorities are all wrong.

 

I have an H20 RK3228A tv box that is in transit that has some documented booting issues with Armbian.  In a way, I am happy to see how this whole episode has progressed.  I'm happy because now I know what NOT to do.

Posted (edited)
  On 8/14/2023 at 9:56 PM, occams razor said:

@n3o  The members trying to help you are highly experienced. The important point here is for you not to treat their specific instructions as merely "suggestions" after which you go off and do your own thing.   That is where the frustration lies. 

 

Based on the energy other users and you have spent on this, I would just buy some other TV box or SBC that is already known to run Armbian without any issues instead of trying to resurrect an old tired piece of hardware.   Unless you are really short on cash,  this is what I would do.  However, if you really are so short on cash that you cannot afford another $20USD on something else, then I believe your priorities are all wrong.

 

I have an H20 RK3228A tv box that is in transit that has some documented booting issues with Armbian.  In a way, I am happy to see how this whole episode has progressed.  I'm happy because now I know what NOT to do.

Expand  

 

no doubt about the fact that are highly experienced, but they think that I'm not execute their istructions that is false. For the UART initially I don' knew what was it, after I have asked for the correct bitrate value. When I have post the first log I believed that it was something related to hardware (such a bios) and so if believed to all image, only after I have discovered about that was related to image. Same thing about image, in first post the last image was about kernel , and I have understood that armbian 22.11 was the legacy. Only yesterday I have discovered that kernel 4.4 is legacy.

 

However I have flashed the legacy image Armbian_21.08.1_Rk322x-box_buster_legacy_4.4.194_xfce_desktop.img.xz, system still doesn't boot but it's present the log UART, @RaptorSDS here there is the log UART

 

  Reveal hidden contents

 

Edited by n3o
Posted
  On 8/15/2023 at 2:30 PM, n3o said:

However I have flashed the legacy image Armbian_21.08.1_Rk322x-box_buster_legacy_4.4.194_xfce_desktop.img.xz, system still doesn't boot but it's present the log UART, @RaptorSDS here there is the log UART

Expand  

you have the USB Stick still insert thats a problem (like with sd-card only) it will interrupt bootloader

 

 

 

what about 4.4 on nand and no SD-card and no USB stick ?

 

Posted
  On 8/15/2023 at 3:07 PM, RaptorSDS said:

you have the USB Stick still insert thats a problem (like with sd-card only) it will interrupt bootloader

Expand  

 

no, there isn't USB stick... usb are all empty, only HDMI cable is plugged but it's unplugged from monitor.

  On 8/15/2023 at 3:07 PM, RaptorSDS said:

what about 4.4 on nand and no SD-card and no USB stick ?

Expand  

 

the last log it's related to install on NAND ... I haven't use jumpstart option of multitool

Posted
  On 8/15/2023 at 3:36 PM, n3o said:

no, there isn't USB stick... usb are all empty, only HDMI cable is plugged but it's unplugged from monitor.

Expand  

ok soory

was irretated by usb init direct befor rknand init

 

than we can try "jumpstart" and hope that we can  start than armbian for SD-card ,

 

else we can try the more complex like write new bootloader but than someone else has to help ( i hadnt any box with need of rktool)

Posted
  On 8/15/2023 at 3:46 PM, RaptorSDS said:

else we can try the more complex like write new bootloader but than someone else has to help ( i hadnt any box with need of rktool)

Expand  

 

when I try to execute steps here https://forum.armbian.com/topic/12656-csc-armbian-for-rk322x-tv-boxes/?do=findComment&comment=121103 the box automaticaaly go to maskrom mode (I can see it because on linux vm with lsusb commands it's clearly written). I can't execute command "rkflashtool e 0 8192" because I'll get "fatal: cannot open device" on windows. It's important execute that command? Why it's already in maskrom mode?

 

Posted

after set jumpstart and made flash legacy image, led of the box is blue and nothing happen.... now I wait other 2 minutes and make uart log, but my opinion is that bootloader should be changed

Posted (edited)
  On 8/16/2023 at 10:56 AM, n3o said:

I can't execute command "rkflashtool e 0 8192" because I'll get "fatal: cannot open device" on windows

Expand  

Hi @n3o, are you using Windows? Linux ? OpenBSD? binary or compiled rkflashtool?

This is because

* on Linux maybe you don't have the right USB permission. You can switch to the super user account (super easy), or write an udev rule that chmod the USB node(easy if you know what are you doing)

* my rkflashtool uses libusb which on Windows needs the generic USB driver called WinUsb. With Windows 7 you need to right-click and install this file https://raw.githubusercontent.com/ilmich/rkflashtool/master/rockwinusb.inf. With Windows > 7 there is no need to install a driver, but you need to associate the unknown device with the USB generic driver WinUsb (I'm not a Windows user so try starting reading this link https://github.com/libusb/libusb/wiki/Windows#user-content-How_to_use_libusb_on_Windows)

* there is a bug on Windows (fixed with the latest alpha version) with multiple USB devices connected. Try, if you can, to have only the box connected with USB.

 

About your experiments, you wrote a lot, but I'm sorry, I'm too lazy to read:).

So if I can give you some advice, format the internal storage and forget it. Write the Armbian version you like on the SD card and stop.
This is because in addition to having a few problems, sd cards with 64/128GB are cheap and for Linux use are better than the 'little' 8 GB of internal storage that you often find in our boxes.

 

Cheers

Michele

 

edit: rkflashtool is an external tool made with love by volunteers. Obviously, there is also the contribution of @jock and @fabiobassa, but for any problem with the tool, I ask you the courtesy of opening an issue here https://github.com/ilmich/rkflashtool/issues

Edited by ilmich
Posted

Hi, i want share the experiences with my MXQ_R2B_LP3_V2.62_20225, the picture is the MASKROM pads, in my board i put a switch button to do easy, this board enter in MASKROM mode when hold on jumper in pads and conect USB cabe in compunter!  I did so much try, with multitools and rkdeveloptools, I did learn use the SSH terminal, and the board is working but without HDMI,  it do boot with Multitool card and i use with ssh terminal, i saved a dmesg log, and xorg log too! What more logs i can get it? I try install Armbian legacy buster, the original and my backup from other board (R329 Ver 8.0 that working fine) and don't boot from card this images don't work, but work it ok in R329, i only get  boot from card or flashdrive usb, installing  "jump start for NAND" from multitool card and downloading in board with rkdeveloptools!  Yet don't understand the rk3228 boot process, i like use the internal memory, i don't know how 'copy' from image or card, to memory and work! I'll use it without video, i understand that is a old problem like the MXQ R29 too!  I so much grate for this forum and the dedication of every one that contributed ! Thank you!!! 

 

PS: The memory is a "eMCP", code: 7NA92 JYA42, like in R29, I don't found the real name! 

MXQ_R2B_LP3_MASKROM.jpg

log.dmesg.txtFetching info... Xorg.0.logFetching info...

Posted
  On 8/18/2023 at 3:12 AM, Benedito Portela said:

The memory is a "eMCP"

Expand  

 

 

eMCP some parts are not complete support at the moment --> eMCP is a more newer thing maybe actual kernel 6.10 running better ( eMCP is eMMC+DDR Ram )

 

the UART log is maybe better but DMESG is still ok , i see some clock and voltage not correct--> some gpio not registred

do you try other setting with rk322x-config? --> led-config this also thange some GPIO setting for diffirent boards?

 

 

 

 

Posted

@Benedito Portela Great work and you have finding all you was needing by reading and understanding it and learning little of Linux and SSH ;-)))

If like getting the device boot on all media you need to delete or upgrade the boot bin on the internal flash.

If you deleting the internal flash the ROM in the SOC is looking for it on the SD-card and then can booting USB and other storage by "jump starting". I prefer erasing the internal storage and writing one new updated boot bin on it => you can boot from every media also if having OS installed in the internal flash by putting in one USB drive and can "test drive" other versions.

Bad thing is only supporting new kernels and not 4.X ones that need the original one for working.

 

The HDMI is one long story and looks like not being solved but the box is working OK and its use less power then not connecting the HDMI so the SOC is not  running so hot.

 

Did you getting the WiFi working ??

I only using Eth then its more stable and is not making interference with my Ziggbe / Thread networks.

USB is not stable and can needing repower for getting device coming back if they is getting problems.

 

Great work done brave user !!!

 

Posted

RaptorSDS, I must use debian buster because i use a old program, but kernel can be new, i'll try new kernel versions! I only use the armbian-config to setup in performance mode, max clock, don't configured Leds, and other things. i run now the rk3228-config and only color leds change! It have three leds, blue, red and orange, before rk3228-config, only orange blink, now the blue is on! I don't use GPIO, I use USB port and audio out, Eth and HDMI just to setup, to change configs programs! 

 

MattWestB, I tried some boot binarys, some memory address, combinations from card multitool and image original and my image already for use,  but only boot from card or USB work! The WIFI don't work, and i don't use and a think better not use! I'll pause for now, but I'll be following the posts!

Thank you! 

Posted

@Benedito Portela in your dmesg i see

[   34.427778] dwhdmi-rockchip 200a0000.hdmi: failed to get edid
[   34.432114] dwhdmi-rockchip 200a0000.hdmi: failed to get edid
[   34.470696] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[   34.470753] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[   34.470795] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[   34.470818] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[   34.470842] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[   34.470865] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property

Can you please indicate the model of the TV/monitor you are using?!
The problem seems to lie in the edid. Some old tv's have edid with problems. It may also depend on hardware configurations, but I imagine that with the original firmware it works.

Posted

ilmich, I use AOC monitor VGA, with adapter HDMI to VGA simple. but already used in LG TV 32LK450! The firth tvbox is MX9 5g 4k, board R329Q_V8.0, the segund is MX9 4k board R329q_v3.1 and last is MXQ Pro 5G 4K board MXQ-R2B-LP3_V2.62_220225! The firth work all fine, the segund work but it a very old and not is confiable, already some errors "segment faults" can is memory problems, i don't want use it this way, the third is that don't hdmi work and i want install armbian in internal memory! The android original work all! I want have a board like backup to firth box, and used it to do configs experiences, before put in firth box!

 

fabiobassa, i did backup used the android tools, many files apart, i can zipper and upload, it's ok? What uploda service is better for you?

Thank you! 

 

Posted
  Quote

USB is not stable and can needing repower for getting device coming back if they is getting problems.

Expand  

@MattWestB    It doesn't surprise me that the USB ports on these tv boxes are dodgy.  In my experience with an RPI3 I found that poor power supply regulation caused all sort of headaches with anything more interesting than a mouse or keyboard on the USB ports.   I now almost exclusively power usb peripherals with a inline power supply/isolator  when using anything like a wireless dongle like zigbee or zwave since these have fairly significant RF amplifiers that have high power consumption peaks.   Running something lik an SSD off the usb ports was also painfully unreliable for me.

 

I have a H20 RK3228 box coming in today so I'll soon be able to experience how bad these are first hand.

Posted
  On 8/18/2023 at 1:15 PM, Benedito Portela said:

rk3228-config and only color leds change! It have three leds, blue, red and orange, before rk3228-config, only orange blink, now the blue is on! I don't use GPIO, I use USB port and audio out, Eth and HDMI just to setup, to change configs programs! 

Expand  

but in backround also many other parameter change not only the LED (led-config is a old name because before it only change some led things , but nowaday many more are change like eth speed , wlan enable pin  etc)

GPIO is more a generale name for some Outputs of the tv box , there a still many thing thats parmater by gpio like wlan on/off or correct eth speed

 

example ( port AO pin 1and 2 ) are gpio and can configure to be i2a for SPDIF , also AO 2 has be configure as Clock and with a parameter of  speed , also some Ports need a specific voltage

 

i saw

  Reveal hidden contents

 

in your log and maybe some missconfigure of GPIOS maybe some LED-Config could help

Posted
  On 8/18/2023 at 6:30 PM, Benedito Portela said:

RaptorSDS, in this board, the rk3228-config have three configure screen, Chipset, Storage and Leds, it don't recognize wifi!  In R329Q, have the wifi! I tested both led setup, just leds change!

Expand  

like i sad befor led are a old word it change some more

 

jock explain :

https://forum.armbian.com/topic/12656-csc-armbian-for-rk322x-tv-boxes/?do=findComment&comment=163046

 

 

 

 

what do you mean recognize wifi ? complete empty SDIO device or a wifi with unknow id like 024c:D724 ( RTL8723DS , because i solder it myself  and no one else has this chip inside a rk322x box, so its not recognice automaticly )

Is wifi another problem ?  i thing that HDMI was your problem ?

 

 

Posted

RaptorSDS, I don't need wifi! When exit of rk3228-config, it show this menseger: " Device tree overlays enabled: emmc led-conf1
Wifi chip 02d0:4334 has been detected, but currently it is unsupported "! I saw the post and didn't know of Led and WiFi relation, is did good know thank you!
 

Posted (edited)

I received my "H20" RK3228A tv box today.   Here are some board pictures and boot logs of multitool-2.  HDMI display out for multitool-2 only seems to work *after* I restart the tv box from android recovery.   If I cold start it, it appears to boot normally according to the logs, but without an active HDMI output.

 

This is the first time I've seen this board, it is similar to the H20 V1.5 board with the blue solder mask, but this one is V1.71 and has green solder mask and a different WIFI chip.  The WIFI from an unknown IC manufacturer with part number S9082H.  If someone recognizes the logo let us know who that is.

 

Link to the backed up EMMC via multitool if you want to look at how android is setting up HDMI.  https://file.io/sKaMNtcEbTie

 

Link to back up from RKDUMP  https://file.io/cwN4jYBlPLOX

 

The complete board name is H20_221_v1.71_230617

 

Pictures here:

Top of the boardBottom of the boardWIFI chip

 

This is the UART log when booting multitool-2 sdcard from a cold start.

  Reveal hidden contents

 

Below is the log when android recovery restarts to the "bootloader" while the multitool-2 SD card is inserted.

 

  Reveal hidden contents

 

I haven't done a diff but both look virtually the same.

Edited by occams razor
added link for RKDUMP backup
Posted (edited)

For the H20_221_v1.71 board I have worked out the uart connections and maskrom enable point.   For maskrom, this is shorting out either the data or clock line.  I have no way to determine which unless I take this thing to the office and look at it on a logic analyzer.  The test points are probably very similar to the v1.5 board with the blue solder mask.

 

 

 

h20 connections2.jpg

Edited by occams razor
Posted (edited)
  On 8/19/2023 at 12:03 AM, occams razor said:

S9082H

Expand  

 

https://forum.armbian.com/topic/12656-csc-armbian-for-rk322x-tv-boxes/page/58/#comment-158957

 

https://forum.armbian.com/topic/12656-csc-armbian-for-rk322x-tv-boxes/page/57/#comment-156548

 

there is a S9082C from SCL  , its a clone of some wifi rtl chips , its closse source , no linux support

 

its looks your is the next one S9082H from another SCL copy distributor

Edited by RaptorSDS
Posted
  On 8/18/2023 at 9:07 PM, Benedito Portela said:

RaptorSDS, I don't need wifi! When exit of rk3228-config, it show this menseger: " Device tree overlays enabled: emmc led-conf1
Wifi chip 02d0:4334 has been detected, but currently it is unsupported "! I saw the post and didn't know of Led and WiFi relation, is did good know thank you!

Expand  

 

Probably your board is misconfigured with led-conf1, which are chiptrip brands.

The two r329q boards should go with led-conf2 (rk322x-config tells you which led-conf to use with which board):

 

image.png.7900938340d2629615f3edddcd390a02.png

 

The last board, which is unknown yet, perhaps may benefit from led-conf7 (R29), but your mileage may vary.

Anyway, getting wifi properly detected with the right led-conf:

1) helps us to put your board in the list

2) prevents possible malfunction of other hardware

 

If you pay attention (and please do!) to the Important paragraph in the above screen, it is clearly stated what is the purpose of the led/gpio configurations and what are the benefits of selecting the right one.

 

As @RaptorSDS said, your wifi chip is a broadcom 4334, but there are several variants around so perhaps the driver is not able to correctly make it work; anyway if you get the ID of the chip in rk322x-config (as you already do), then you should be ok with the led/gpio configuration

Posted

Hi Joke, the rk3228-config in this version, don't have the important paragraph and just two options, a guess because, i use the Armbian 21.02.1 Debian Buster Legacy 4.4.194! The chip is a 339S0205, wifi iphone 5 module, maybe reused from scrap!

Chip-wifi.jpeg

tela-3.png

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