Jump to content

CSC Armbian for RK322x TV box boards


jock

Recommended Posts

@fabiobassa

 

my plan here is simple, i wanna use it as a linux box where i can have a 21inch touch screen display running a flutter app. and ofcourse some other nittygritty things like it would be controlling some hardware over usb, would have GSM for network connection and so on. since this is a cheap thing available than a raspberry pi, best to use this for the purpose.

Link to comment
Share on other sites

@Parth the soc is slow, it is one of the slowest socs around with a modest amount of memory on board , so don't expect stellar performance.

The image with debian bookworm is a minimal image: small and good for servers.

 

For all the other questions, you can consult the official armbian documentation  https://docs.armbian.com/ and related forums

Link to comment
Share on other sites

@jock

 

After playing with kernel video parameters, I got the boot screen working at 480p, but now the greeting screen is what fails for no reason, since it changes resolution once it starts. Maybe it has to do with hdmi-hotplug...

Link to comment
Share on other sites

Hi guys,

looks like I need a help.

I got a perfect TV Box from Aliexpress few day ago:

Promised/reality

4K/720p

Android 11/ Android 7

double band wifi / 2,4Ghz only

RK3229/RK3228

RAM 4GB/1GB

FLASH 16GB/4GB

 

I hope to have a good and inexpensive alternative for Raspberry Pi

 

CPU RK3228a

eMCP 08EMCP08-EL3BT227  (8GB eMMC TLC NAND + 8Gb LPDDR3 x32 1600 Micron) 221-ball FBGA

wifi iCOMM sv6158 wifi

 

I am trying to get Armbian working.

From eMMC is doesn't work, problem is eMMC related.

 

From SD it works perfectly and very slow. But eMMC is not visible.

 

Do you know, what I am doing wrong?

 

Thanks in advance!

 

 

Скрытый текст
DDR Version V1.11 20200910_dbg
In
ID:0xFFF
333MHz
LPDDR3
Bus Width=32 Col=10 Bank=8 Row=14 CS=2 Die Bus-Width=32 Size=1024MB
mach:14
OUT

U-Boot SPL 2022.04-armbian (Mar 25 2024 - 17:17:14 +0000)
Trying to boot from MMC2
INF [0x0] TEE-CORE:init_primary_helper:377: Initializing (1.1.0-333-gc9d95d1 #2 2018<0xe5><0xb9><0xb4> 08<0xe6><0x9c><0x88> 17<0xe6><0x97><0xa5> <0xe6><0x98><0x9f><0xe6><0x9c><0x9f><0xe4><0xba><0x94> 03:32:22 UTC arm)

INF [0x0] TEE-CORE:init_primary_helper:378: Release version: 2.0

INF [0x0] TEE-CORE:init_primary_helper:379: Next entry point address: 0x61000000

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


U-Boot 2022.04-armbian (Mar 25 2024 - 17:17:14 +0000)

Model: Generic Rockchip rk322x TV Box board
DRAM:  1010 MiB
Core:  98 devices, 19 uclasses, devicetree: separate
MMC:   dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In:    serial@11030000
Out:   serial@11030000
Err:   serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net:   eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  1 <0x08><0x08><0x08> 0 
Card did not respond to voltage select! : -110

Device 0: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3184 bytes read in 3 ms (1 MiB/s)
## Executing script at 60000000
gpio: pin D25 (gpio 121) value is 1
Boot script loaded from mmc 0
165 bytes read in 3 ms (53.7 KiB/s)
9590465 bytes read in 215 ms (42.5 MiB/s)
9838504 bytes read in 222 ms (42.3 MiB/s)
44422 bytes read in 6 ms (7.1 MiB/s)
232 bytes read in 5 ms (44.9 KiB/s)
Applying kernel provided DT fixup script (rk322x-fixup.scr)
## Executing script at 600f0000
Kernel image @ 0x62000000 [ 0x000000 - 0x961fa8 ]
## Loading init Ramdisk from Legacy Image at 64000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9590401 Bytes = 9.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 61f00000
   Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Using Device Tree in place at 61f00000, end 61f73fff

Starting kernel ...

 

 

IMG_6989.JPG

IMG_7000.JPG

IMG_7004.JPG

IMG_6995.JPG

SoC.png

lsblk.png

config.png

Link to comment
Share on other sites

Hello @Vladimir Trondin, as @fabiobassa already pointed out, there is no driver for ssv6158. Doing some research, it seems that it may use the ssv6x5x driver, but it would require adaptation, plenty of time, plenty of patience and you would not be sure if it will finally work.

 

About the eMMC of your board, it would be handy to get the output of dmesg command, but in the meantime you could do some experimentation with the emmc parameters in rk322x-config withing this page:

 

image.png.42e6830999f6e75c8ced9b6f34877a1a.png

 

In particular, try to enable emmc-pins and emmc-ddr-ph45 or emmc-ddr-ph180 or emmc-hs200 (these last three are alternative, only one should be enabled) and see if your emmc gets detected after a reboot.

 

Also your board r3229q is not listed within the led-conf options, but I see some similarities with r329q board (led-conf2) MXQPRO_V72 (led-conf6), so you may start trying with those ones, or stick with generic since your wifi is already detected despite being useless.

 

Link to comment
Share on other sites

Unbrick rk3229 TV-box X96q:

(processor marked as S905W, but actually is not, software detects it as rk3229)

 

For unbrick power off, short this two resistors (upper contacts) with screwdriver, power on, red led will be bright - remove screwdriver. Unbricked, you can load from SD-card now. 

 

image.png.117def037ba9a1f92e0db3e84e05b889.png

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