Jump to content

CSC Armbian for RK322x TV box boards


jock

Recommended Posts

@Max Sterg Yes the github repository is the best place to grab community images.

Feel free to write questions here on the forum, even though this specific thread is specialized for rk322x support in armbian, so it is related mostly to hardware support and peripherals.

 

edit: ah, don't expect great performance for the rk322x within graphical environment, it is a very limited device that is more suitable for server-like and command line tasks.

Link to comment
Share on other sites

@jock ok i will see that too, thanks mate! now i must solve a little problem about my SD Card at this moment, my SD is a 64GB A2 U3 Sandisk and i had made it with Belena Etcher and a another img of armbian specially a bullsye img and now my sd shows me a only 1 part 5,something Gigs and the other 59 aren't connected somehow... 🤣 wtf is happening here? i have made 15 times format of the sd card and always shows me 5GB space..... hahahahah something doesn't want to make it happen 😂

 

Link to comment
Share on other sites

@jock @Max Sterg thats correct the first time the image only occupied some GigaByte , after first run is enlarge .

But you you can also put , after burn the sd card , the images  as  a compressed file on it (tar.zx or something like that) the multitool can decompress this file on the fly ( at the moment this tool burn the image to the box)

the one gig is enough for that desktop image

 

 

 

 

Link to comment
Share on other sites

Hello there, here i am with updates. im with legacy armbian on rk3229. Octoprint works like a charm with a creality ender 3.
Also webcams with fswebcam to take pictures.

Wifi antenna is weak but works. Ethernet works fine.
I tried to compile retroarch but i have no hardware acceleration on legacy version so im looking another way.

I have a working lakka image booting from the sd card. Works really great. i burn to emmc with u-tool but no success booting...
Sorry for the offtopic but is there any way to make it work?

BTW i tried to debug mainline boot following yt tutorials but there is no text on the board with rx, tx or ground... i found 4 suspicious copper points, im risking to brick the device

if i try?

867039F5-7AF7-459E-8A73-D0960141D936.JPG

Link to comment
Share on other sites

4 hours ago, fukowaka said:

BTW i tried to debug mainline boot following yt tutorials but there is no text on the board with rx, tx or ground... i found 4 suspicious copper points, im risking to brick the device

if i try?

board version? sometimes those 4 pads do not work for me, what i sometimes do when i'm feeling lazy is i try connecting the ground on the board first then i try connecting the rx pin of usb serial to different pads of the board while booting to find its tx pin. you only need two pins to capture serial debug logs. i found mine at the back of the board. i think i posted the pics in this post at page 26. you get very low chances of bricking your board if you do it this way. other method i use is a low cost stm32 o-scope and a multitester which a is way safer method in my opinion.

Edited by Seth
Link to comment
Share on other sites

The right and left is VCC and GND but i dont know witch is witch.

The 2 middle is RX and TX als not know the order of them.

Start using one known GND form some shield or the power plug - to the USB-TTL GND.

Then testing  the RX from your USB-TTL cable and testing connecting is to one of the middle pins and rebooting the board. If getting some charters in the terminal (speed is 150000 baud for boot loader) its the right pin and if not testing the other middle pin.

If getting the board TX -> USB-TTL RX working is the other middle the board RX <- USB-TTL TX.

Then testing is the right or the left is GND (if both VCC and GND is on the pins you can using one multi meter for getting 3.3 Volt plus is the black GND).

 

Then having GND, RX and TX all is connected OK and you can using it as one local terminal but need changing the comport speed for Linux kernel (see first post / unbricking) and you can see and changing all in normal Linux way..

Link to comment
Share on other sites

On 10/17/2022 at 12:07 AM, jock said:

You should at least describe the issue before alarming people this way, and moreover you should post logs to let people understand if there is an issue with the image.

I don't see logs and I don't see the filename of the image object of the problem, just a dubious procedure based upon a dubious hypothesis.

 

And I say it is a dubious hypothesis because what you are stating can be only an issue related to the kernel (or possibly device trees), just because u-boot and related code has been frozen months ago.

Everything is possible, and I will check soon, to me it looks very difficult that a newer minor release of the kernel could corrupt some ROM data about the ethernet that, even after reverting to a previous working image, you don't solve the problem.

Maybe you have a broken cable or a broken router?

 

sorry about that.

 

I used the image Armbian_22.11.0-trunk_Rk322x-box_jammy_current_5.15.72.img

once the image flash, it works fine until you perform a apt upgrade.

 

procedure to reproduce it is to perform apt upgrade and reboot. it doesnt really matter what dtb file I use but my board is based of V72 (MXQPRO_V72 2021-01-29) so even if I picked the V72 on rk322x-config the issue persist.  funny thing about this is that the issue persist even after reflashing everything. I even go as far as reflashing Armbian_22.05.0-trunk_Rk322x-box_bullseye_current_5.15.25_minimal.img the issue still persist. Not until I reflash the tvbox-backup.gz I have before and suddenly after android booted up, that ethernet port suddenly works.

 

this is no fluke, I didnt even touch the LAN cable nor replugging it, I just left it plug in all the time.

 

I wish I had some meaningful dmesg output I can share other than having 

 

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

rk_gmac-dwmac 30200000.ethernet eth0: Link is Down

 

over and over again.

 

after reflashing my android backup, I just reflash Armbian_22.05.0-trunk_Rk322x-box_bullseye_current_5.15.25_minimal.img again and the ethernet port remains working even after update. let it run for 8 hours for no issue

 

the next day, you know what ill try reflashing that Armbian_22.11.0-trunk_Rk322x-box_jammy_current_5.15.72.img image again. ok it works, perform update again, it broke. 

 

-----

 

so that's it, Im not really a linux developer guy to be honest so I cant really dig much further on the issue what causing it.

Edited by remlei
Link to comment
Share on other sites

@remlei ok this is better, but you still miss the important information:

 

* what packages apt upgraded when you got the system broken?

* what is the kernel version that broke the ethernet?

 

I compiled a fresh image with latest kernel version at that time (5.15.74) and nothing happened on a MXQPRO_V73 board

Link to comment
Share on other sites

Hello. Somewhere a year ago I purchased a tv box on the rk3228a SELENGA R4 chip and installed Armbian _22.02.0-trunk_Rk322x-box_bullseye_Legacy_4.4.194_minimal.img on it, it worked. Now I wanted to install a new one from the github repository, but I could not install one of them, I tried: jammy_current_5.15.74, jammy_edge_5.19.16, sid_current_5.15.74, sid_edge_5.19.16 none of these did not start. I took a photo of what he writes when he tries to boot. Please tell me what could be the reason?20221024_145923.thumb.jpg.bd99d6b4c932c5e067c8883db037706d.jpg

Link to comment
Share on other sites

@jock hey mate, i want to ask you a really stupid question(for you, for me its a valuable one 😅) i tried to burn the Multitool with Belena and i have two partitions ok? then when i tried to unzip the Armbian img inside the image file i can't because i have small space..... I have read all the documentation and i can't figure it out which is the right way to burn the multitool inside the SD and don't have partitions... i have download the sd formatter to format easy and clean the SD card!!! Sorry for the boomer questions but... my gramps always says "There is no stupid question, only a dummy person"😂

 

Thank you for your answers!!!!❤

 

Link to comment
Share on other sites

@Max Sterg there are two ways

 

first way : put the linux image as compress file on the multitool

 

or

 

secound way: first boot multitool , than the partionion get resize to around 2 till 4 gig and than put the compress or unzip files on the multitool

 

 

@chakatun

i got something similar when i start armbian with nand option from rk322x-config tool --> than initram did not know where to start from but i have nand space

or maybe you have one of the new emcp memory (RAM and ROM on same chip)  than its difficult to boot from internal space

 

Edited by RaptorSDS
grammar add answer
Link to comment
Share on other sites

@RaptorSDS So.... for the second way: 

i must put with belena multitool inside the SD and then i put the SD inside TV BOX to boot for the first time and then i unzip the armbian img inside the image file in SD?

 

and for the first: i just flash with belena the Multitool and put just like that the compress file of arm img inside the image file and.... That's it?

 

Thank you my friend! 😁

Link to comment
Share on other sites

@RaptorSDS   Thanks for answering. I think that I have a board with NAND, and therefore I can only install the old kernel on it. Yesterday, during installation, I chose the place "Burn image to flash" and erased the bootloader))), I could not switch to maskrom mode, so I disassembled the prefix and closed the test point and restored the bootloader.

How do I find out what type of memory is on my board?

Here is a photo of my board
And from the multitool menu.

IMG_20221025_173739_325.thumb.jpg.2cbc80441bf93672f3547fd56e8f3cc2.jpg

 

 

Link to comment
Share on other sites

vor 29 Minuten schrieb chakatun:

Thanks for answering. I think that I have a board with NAND, and therefore I can only install the old kernel on it. Yesterday, during installation, I chose the place "Burn image to flash" and erased the bootloader))), I could not switch to maskrom mode, so I disassembled the prefix and closed the test point and restored the bootloader.

How do I find out what type of memory is on my board?

Here is a photo of my board
And from the multitool menu.

 

I would say EMCP

 

because on left ro right i see wifi chip ; empty Memory chip space ; the Rk322x ;one Memory chip

 

thats only one memory chip on upper right corner that maybe  EMCP (combined RAM and ROM chip) please look at this chip and google it 

 

 

Link to comment
Share on other sites

@chakatun You is having the SOC under the heat sink and i can see one more large chip that is one flash.

If more flash chip on the upper or under side you is not having eMMC but MMC flash. Also your PCB is dated 2242 = year 2022 and week 42 so very likely not NAND. Can you posting one photo from the underside of the PCB ?

 

Also its looks like you have the hardware console but not populated half under the heat sink that can giving interesting information then the bootloader is initiating the hardware. 

 

You have finding the masc ROM pads ? pleas post one photo of them so other user can debricking there device if needed.

Link to comment
Share on other sites

@MattWestB Board name R329Q V8.1. To switch the board to MASKROM, you need to close the contact on the board next to which the small letter "D" to GND. Here is a photo of all the chips that are on this board.

20221026_192904.thumb.jpg.cd14b0300c676c1b07d2b54777590abc.jpg

 

20221026_192919.thumb.jpg.4bac5f3e0e5e2d48f07edd632c10ce28.jpg

 

These chips were on the bottom

20221026_193147-0.thumb.jpg.34ddd98526944d13da512913620799c7.jpg

 20221026_193141-0.thumb.jpg.b44938299f7b2a286d7900ec758a09cb.jpg

 

 

And these are on top.

 

20221026_193204-0.thumb.jpg.5f2404aed4b641ef0b8c7d25a418f14b.jpg

 

I was wrong these 3 chips were on the bottom

 

And these are on top

 

20221026_193324-0.thumb.jpg.cc243fc1813f337258cc0c4cf6ca65b4.jpg

 

20221026_193301-0.thumb.jpg.3254a714e6d98e9393d1e151efda28e0.jpg

 

20221026_193246-0.thumb.jpg.f726bfd639d1160d6bcbd2502914c1a8.jpg

 

20221026_193231-0.thumb.jpg.3361e36656fc51496dfbcc5004b92de8.jpg

20221026_192919.jpg

Link to comment
Share on other sites

@RaptorSDS I tried both ways and the tv box doesn't boot with multitool... i can see the files for the file Explorer but the tv box doesn't open to the multitool menu, I believe the problem is in the partition thing... I will try with Win32 Imager something like that or rufus to make it bootable 🤔 OR with a USB 3.0. 

 

What's your opinion? 😥 

Link to comment
Share on other sites

@Джок OK. Understood everything, thank you very much.
I took another TV box on the RK3228A chip 1GB of RAM, 8GB, it has other internal memory and I easily installed the 5.15.74 image on it. But now there is another problem - WI FI does not work. in rk322x-config it says: unknown device.

 

Фото девайса

20221027_004535-0.thumb.jpg.006b79fc240c018a2ceed30e7db45acb.jpg

 

память 

20221027_004213-0.thumb.jpg.4f066974197e4667db8ac8ea63292d4a.jpg

 

WI FI chip

20221027_004128-0.thumb.jpg.d606f48e20059eff2be45d919c02c09e.jpg

Link to comment
Share on other sites

 

On 8/31/2022 at 11:09 PM, fukowaka said:

One by one burned into the emmc. Starts booting like for 5 seconds then reboots. Last i can read is "tty2" then reboots again, endlesly

 

 

I've the same issue. I've tried lastest nightly and stable images (both SD and emmc) but only those with legacy kernel boot successfully.
I also tried changing power supply, changing kernel after initializing the legacy version (via armbian-config) and all the workarounds mentioned here:

Board Pics:

DSC01092.jpg

 

DSC01099.jpg

 

Yes SoC has a fake label... It's RK3228a/b

Edited by handymenny
Add board pics
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