fefpi Posted October 3 Posted October 3 Hello, I am having some problem following the tutorial for this board (identified as R69): I thought of using the multitool to burn an image to the tv box, but after picking an image and inserting the sd card, it did not respond, since it booted from the original firmware and ignored multitool. I also tried using a usb sd card adapter, but same thing. My questions are: what is happening? Did this happen to someone alrealdy? Was it solved? How to solve it? I am almost sure I did the process right, since I already did it to some tv boxes and got good results... I would have attached some log, but don't know if there is one, since the multitool didnt even open. Thanks a lot in advance! 0 Quote
rampagepi Posted October 4 Posted October 4 (edited) Hi, how to force set a boot resolution for this system on rockchip rk322x box? on armbian s9xx tv box images, I append this 'video=HDMI-A-1:1920x1080M@60D' to the kernel boot line and this will force the boot resolution to be the desired one, due to its tiny font on a 4k monitor. With the image here for rk322x, there's no uEnv.txt, but a similar armbianEnv.txt, I tried to add 'video=HDMI-A-1:1920x1080M@60D' to be the last line in this file, but it has no effect. my rk322x borad, it will think my 4k monitor HDMI is 5k , or 60hz, actually its only 4k@30Hz on HDMI, the result is it will blackscreen after the uboot output. when this board connected to a Full HD monitor, it outputs fine from start to end .. root@rk322x-box `:]x**j-,' --------------- .,+t***********z\<" OS: Armbian bookworm 24.11.0-trunk.192 armv7l ?******************; Host: Generic RK322x Tv Box board '*n` .'`^,;;,^`'. ,cc. Kernel: Linux 6.6.52-current-rockchip -<. .[l Uptime: 7 mins // ^^ ^^ \\ Packages: 714 (dpkg) !^ ^^ ": Shell: bash 5.2.15 'tt}` !~]rj_ ")t/. Display (U2879G6): 3840x2160 @ 30 Hz in 28″ [External] Itttt?' ~~]rr] `{tttt, Cursor: Adwaita \tttttt!""I_]r("""~tttttt1 Terminal: /dev/pts/0 '_tttttttttttt)ftttttttttttti. CPU: Generic DT based system (4) @ 1.39 GHz \*ztttttttttttttttttttttttttf**[ GPU: Rockchip rk3228-mali [Integrated] l**c)tttttttttttttttttttttttt(z**, Memory: 331.82 MiB / 977.04 MiB (34%) .z*x.`tttttttttttttttttttttttt.`u*n Swap: 0 B / 488.52 MiB (0%) >` (tttttttttttttttttttttt] "I Disk (/): 1.86 GiB / 6.94 GiB (27%) - ext4 ,tttttttttttttttttttttt` Disk (/var/log): 7.38 MiB / 46.84 MiB (16%) - ext4 ./tttttfttttttttfttttt( Local IP (end0): 192.168.19.162/24 'I)))(\()(tt))|\()({;' Locale: en_US.UTF-8 .~~~~~~~|)~~~~~~~< '[)))))1|()))))))? ",,," ",,,^ Edited October 4 by rampagepi 0 Quote
jock Posted October 4 Author Posted October 4 13 hours ago, rampagepi said: I tried to add 'video=HDMI-A-1:1920x1080M@60D' to be the last line in this file, but it has no effect. uhm no, as the last line it should have no effets; it may have an effect if you append to extraargs= line, or create such a line for that: extraargs=video=HDMI... here there is a comprehensive documentation: https://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst 1 Quote
striga Posted October 5 Posted October 5 (edited) Hello, I am trying to get the module for the esp8089 working, but I cannot install kernel headers for 6.1.68-current-rockchip (from 24.2.0-trunk.357). How can I build the driver without updating the kernel? Update: Switched to stable kernel (6.6.47), everything works except hdmi initial output. Edited October 5 by striga 0 Quote
jock Posted October 5 Author Posted October 5 @striga esp8089 module is already available in the armbian kernel releases. Proof is that if you run sudo modinfo esp8089 you get the module info. About the hdmi initial output, you should mention what board you have, and perhaps run rk322x-config to setup your board peculiarities 0 Quote
rampagepi Posted October 5 Posted October 5 cool, yes adding video=HDMI-A-1:1920x1080M@60D to the kernel command line, does make the boot process after the uboot, know I want to use 1080p resolution and it displayed ok. (need to run mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr after adding that). Now the problem left is when it want to start the login session of lxqt, it again doesn't know the resolution and black screen. On a non-4K monitor lxqt works fine. Guess I need to read the lxqt guide on how to force it to use a lower resolution on any monitor 0 Quote
jock Posted October 5 Author Posted October 5 @rampagepi indeed it works adding to the command line, but you did the bad way: on next uboot update the boot.scr will be overwritten. You need to add to extraargs in armbianEnv.txt to avoid being overwritten About the DE: you are changing the console framebuffer video resolution. Once in a graphical environment, you should tell that you want a different resolution its own way. Another way could be to supply an alternative EDID to the kernel to simulate the use of another monitor 0 Quote
rampagepi Posted October 5 Posted October 5 (edited) OK, dont know much on how to provide fake EDID to the kernel. But I used this and it happily working as I wanted now. sudo vim /etc/X11/xorg.conf Section "Device" Identifier "Configured Video Device" EndSection Section "Monitor" Identifier "Configured Monitor" HorizSync 30.0-62.0 VertRefresh 50.0-70.0 EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1080" "1024x768" EndSubSection EndSection Thanks for the help. .. root@rk322x-box `:]x**j-,' --------------- .,+t***********z\<" OS: Armbian bookworm 24.11.0-trunk.222 armv7l ?******************; Host: Generic RK322x Tv Box board '*n` .'`^,;;,^`'. ,cc. Kernel: Linux 6.6.54-current-rockchip -<. .[l Uptime: 6 mins // ^^ ^^ \\ Packages: 714 (dpkg) !^ ^^ ": Shell: bash 5.2.15 'tt}` !~]rj_ ")t/. Display (U2879G6): 1920x1080 @ 50 Hz in 28″ [External] Itttt?' ~~]rr] `{tttt, DE: LXQt \tttttt!""I_]r("""~tttttt1 WM: Xfwm4 (X11) '_tttttttttttt)ftttttttttttti. WM Theme: Breeze \*ztttttttttttttttttttttttttf**[ Theme: Fusion [Qt] l**c)tttttttttttttttttttttttt(z**, Icons: Adwaita [Qt] .z*x.`tttttttttttttttttttttttt.`u*n Cursor: Adwaita (24px) >` (tttttttttttttttttttttt] "I Terminal: /dev/pts/0 ,tttttttttttttttttttttt` CPU: Generic DT based system (4) @ 1.39 GHz ./tttttfttttttttfttttt( GPU: Rockchip rk3228-mali [Integrated] 'I)))(\()(tt))|\()({;' Memory: 272.59 MiB / 977.04 MiB (28%) .~~~~~~~|)~~~~~~~< Swap: 0 B / 488.52 MiB (0%) '[)))))1|()))))))? Disk (/): 1.88 GiB / 6.94 GiB (27%) - ext4 ",,," ",,,^ Disk (/var/log): 6.88 MiB / 46.84 MiB (15%) - ext4 Local IP (end0): 192.168.19.162/24 Locale: en_US.UTF-8 Edited October 5 by rampagepi 0 Quote
Parth Posted October 14 Posted October 14 Hi all, so i might keep things long or maybe short, since ive spent over 12 hrs trying to walk through forums and leading to nothing so far, i am lost and confused at the same time. so sorry in advance. i happen to have got myself 2 mxq pro 4k boxes one with 2GB ram and 16GB rom and other with 4GB ram and 64 GB rom. the 2GB ram apparently to my surprise had rockchip3128 which happened to be useless for my purpose so now its gonna be in the parts bin. but got lucky with the 4GB version and got a RK3228A. i had already spent 4 hrs prior at night doing all the research before i began buying things and making it work. unfortunately things did not go according to the plan. i followed the guide which is the post 1 of the thread, and was not aware about things like how to check if ive got emmc or nand. since i am an embedded developer it was not hard to pinpoint the part number and grab some chinese datasheet, which atleast mentioned as emmc. moving forward i followed the below mentioned procedure. Quote Installation (via SD card): Building: You can build your own image follow the common steps to build armbian for other tv boxes devices: when you are in the moment to choose the target board, switch to CSC/TVB/EOL boards and select "rk322x-box" from the list. Download prebuilt images from the following links: Archive builds (GPG-signed) - https://imola.armbian.com/dl/rk322x-box/archive/ SUGGESTED - Nightly built from trunk each week by Armbian servers (GPG-signed) - https://github.com/armbian/community Old images provided by me (unsigned and outdated) - https://users.armbian.com/jock/rk322x/armbian/stable Archived/older images: https://armbian.hosthatch.com/archive/rk322x-box/archive/ Multitool: The Multitool is a small but powerful tool to do quick backup/restore of internal flash, but also burn images and general system rescue and maintenance via terminal or SSH. Compressed images will be uncompressed on fly. Multitool - A small but powerful image for RK322x TV Box maintenance (instructions to access via network here) Quick installation instructions on eMMC: Build or download your preferred Armbian image and a copy of the Multitool; Burn the Multitool on an SD card; once done, place the Armbian image in images folder of the SD card NTFS partition; Plug the SD card in the TV box and plug in the power cord. After some seconds the blue led starts blinking and the Multitool appears; OPTIONAL: you can do a backup of the existing firmware with "Backup flash" menu option; Choose "Burn image to flash" from the menu, then select the destination device (usually mmcblk2) and the image to burn; Wait for the process to complete, then choose "Shutdown" from main menu; Unplug the power cord and the SD card, then replug the power cord; Wait for 10 seconds, then the led should start blinking and HDMI will turn on. The first time the boot process will take a couple of minutes or more because the filesystem is going to be resized, so be patient and wait for the login prompt. On first boot you will be asked for entering a password for root user of your choice and the name and password for a regular user Run sudo rk322x-config and select your board characteristics to enable leds, wifi chips, high-speed eMMC, etc... Run sudo armbian-config to configure timezone, locales and other personal options Congratulations, Armbian is now installed and configured! while working with the above steps the first hurdle i met with was the image i choose was the following ```Armbian_community_24.11.0-trunk.253_Rk322x-box_noble_current_6.6.54_xfce_desktop``` and for some reason while at multitool step where it was asked to copy the image into the folder, the size was larger of the compressed image so i just resized that multitool partition. and added the image onto it. finally as easy as the steps were mentioned, i installed the sd card in the hopes it would boot from the SD card, and it successfully did not. Jumping between different tutorials and youtube video like the below mentioned ones. Installing Armbian on Rockchip RK3288 Android TV Box (M8S RK3288) Backup and Restore Your Rockchip Android Box (e.g. MXQ Pro 4K) Using AndroidTool & RKDumper i was still not able to get things working. again coming back to the same quoted post, i followed the no-sd method and still no luck. finally i was able to install the uboot and then installed the image took note of the flash info and all. but finally i managed to brick the device. to conclude i still am not able to get it run armbian, and nope, im sorry my excitement and overconfidence took over me and i did not backup the flash. so having the hardware knowledge handy, i can still get it into the mask rom mode, and flash the bootloader but still nothing works. sharing some screenshots and my uart dump. the below one i got while i plugged in or even did not plug in the sd card with the armbian image. this one below, i got after i erased the flash hoping it will pick up the sdcard as my boot option but still, if i insert the sdcard i would get the uart data, if i remove it and power on. nothing. since this whole post is 4 years old there are some links broken on internet, and i got no clue where to start with to fix it. any minute guidance would also help a lot. moreover here is a folder screenshot of all the files ive got with me for making this work. (Please note that my daily driver laptop is linux popOS, and the windows files are ran on windows 10 on virtualbox) 0 Quote
Kos Pag Posted October 14 Posted October 14 (edited) Wifi is not recognised rtl870+ I own q9pro tv box andowl i install this image Armbian_community_24.11.0-trunk.253_Rk322x-box_noble_current_6.6.54_xfce_desktop.img. Rk3229 Edited October 15 by Kos Pag 0 Quote
RaptorSDS Posted October 14 Posted October 14 vor 3 Stunden schrieb Parth Yatin Temkar: e 4GB version and got a RK3228A. there is no 4GB version of rk3228 you mean 4giB or 1GB Ram because of uboot from 2024 maybe still a closed bootloader , normally every bricked box still boot from usb or sdcard ( like on page one there is no real soft brick , only hard brick of memory chip fail) 0 Quote
RaptorSDS Posted October 14 Posted October 14 vor 52 Minuten schrieb Kos Pag: Wifi is not recognised rtl870+ and now ?? read the glasball maybe some information would be nice also rtl870+ is usb ? because normaly this box has cheap old wlan modules 0 Quote
MattWestB Posted October 14 Posted October 14 (edited) @Parth Yatin Temkar First burn the multi tool on on SD-Card and do not mixing with it. Put the SC-Card in the box and power it on. Look if the LED is start blinking slowly = it have starting. Very likely you is not getting any video then the board need setting for getting it working OK. Then it running its expanding the partition and then starting multi tool script. If you is getting video do one backup of the flash !!! And use the menu power down (the flash can being locked in write mode if hard power it off the writing). Put the SD-Card in the PC and copy the backup of the flash to it and also copy the Arbian image to the image folder (don need unpacking it). If not have video you need using SSH for connecting to the box thru Ethernet (IP from your router if you is not knowing it) or using the local console (it not populated on the PCB but normally working). Now is the tricky part then need erasing the flash so the old mini bootloader is away from the flash then the SOC is looking for it on the SD-Card and you can booting easier. If being brave do one erase flash from multi tool or with the RK-tools you have using and its safe as long the old is in the flash or the flash is empty. If going well you can booting SD-card with multi tool or Armbian now and installing one Armbian image from sd-card or booting Armbian form SD-Card. If booting Armbian its possible updating the flash bootloader from armbian-config program but its depends of the version if the image if its easy or not. Best is trying Armbian on SD-Card so knowing how it working and then flashing the flash. If messing the mini boot loader you must shutting the test points under the SOC on the PCB for getting it booting multi tool and do one flash erase. Photos is posted for some years ago with consolle and the test points for MASK-ROM and its prity easy to do on the box. PS: Your box have 1G RAM and 8G Flash as normal for this boxes. Edited October 14 by MattWestB 0 Quote
jock Posted October 14 Author Posted October 14 @Parth Yatin Temkar hello; I'm a bit confused about your journey. First of all, as @RaptorSDS said, the specs of the rk3228a board are fake because the chip cannot support more than 2gb of DRAM. You have 1gb of DRAM and the proof is the ddrbin that is reporting the DRAM size. A backup of the original firmware would have been really useful, I suspect you have some issue with the trust os. This: makes me think there is some artificial in the proprietary trust os that is freezing the board. You have to try with a bootloader with opensource optee but at the moment I don't have it at hand, but can give a chance to build an image with the older opensource trust os and see if it works for you. As long as you have the serial working, could you please post the output of the multitool boot? 0 Quote
Parth Posted October 15 Posted October 15 thanks a ton for the prompt responses @jock @MattWestB @RaptorSDS let me summarize, 1. i dont really do care about how much ram and rom i have got, the goal is to get the linux working on this processor. 2. i am still lost in terms of, checking with the uboot and hitting all the keys on the uart, i cannot see the usual fat-arrow line which you should get in uboot to type the commands. all it gets stuck at is whats shown in the images. 3. the multiboot/uboot is still not going further of anything at all, i still have to try for network, but i doubt it would be useful since the uart itself is not showing the data which i or even you guys expect. 4. there are no blinking lights or any lights working on the device since ive started installing linux, the last time i saw any lights working was when i unboxed the device and tested if it even works. 5. all i can do now is, short the emmc pin, and get the device in the MASK ROM mode, while in that mode, i did the following things Tried to download the bootloader and note that only this version ```V1.10.238``` gives me a success saying downloading bootloader succeeeded ./rkdeveloptool db /home/parthasus/Electronics/TVBoxRelated/rk322x_loader_v1.10.238_256.bin then i can even pass the upgrading loader command to it. ./rkdeveloptool ul /home/parthasus/Electronics/TVBoxRelated/rk322x_loader_v1.10.238_256.bin even that works, and all that works for now after shorting the emmc pin and while the device is in MASK ROM mode. i even tried to flash another bootloader file ```RK32xxLoader(L)_uboot_V2.15_replace_ddr.bin``` but that did not work. so now i am back to square one figuring out what should i do next and what should i flash next? yet again thanks in advance. 0 Quote
RaptorSDS Posted October 15 Posted October 15 vor einer Stunde schrieb Parth: i dont really do care about how much ram and rom i have got, the goal is to get the linux working on this processor. understand but fake and cheap is always a topic , we have story about fake the fake , cpu --> like sell as amlogic , report as rockchip , label as motorola and inside it was a rk3229 memory micron chp id that even micron dont know wifi chips from iphone that was reused maybe you flash a rk322x bootloader and its old rk30xx chip or newer rk33xx chip ( maybe thats why uboot from 2024 0 Quote
Parth Posted October 15 Posted October 15 26 minutes ago, RaptorSDS said: maybe you flash a rk322x bootloader and its old rk30xx chip or newer rk33xx chip ( maybe thats why uboot from 2024 after i made the comment above, i did try almost all the possible bootloader files i could get online but apart from the bootloader given on the first page of this thread, none of the other bootloaders are working. apart from that, even on the uart terminal its all just garbage and nothing else. and yes, i do understand, being an embedded engineer, i have faced that quite a lot. 0 Quote
jock Posted October 15 Author Posted October 15 @Parth here it is, you may try to run this image and see if it boots 0 Quote
fabiobassa Posted October 15 Posted October 15 (edited) @Parth Quote Quote rockchip3128 which happened to be useless for my purpose so now its gonna be in the parts bin NOT TRUE !!! Edited October 15 by fabiobassa 0 Quote
fabiobassa Posted October 15 Posted October 15 @Parth Even 3128 is working quite well with linux just compile kernel with appropriate config and appropriate cpu platform Regarding the garbage on uart, remember the uart speed is unusual ( 1500000 NOT 115200 ) until it starts modified uboot that is 115200 so you have to take care of this note I am the one in this project that discovered the uart pins on mostly of 322x boards and I can give for sure that if garbage comes out is: wrong pin wrong speed lack of ground On the software - firmware side can give you answers @jock @RaptorSDS and all the friends athat daily work on those boards 1 Quote
RaptorSDS Posted October 15 Posted October 15 vor 2 Stunden schrieb Kos Pag: Wifi is not recognised rtl870+ is not usb thank you for more info in orginal post , please tell us wich LED config do you use ( LED config also determing wich Enable Pins used example wifi enable) also trl870+ also not common one did other ubuntu or debian are support rtl870+ 0 Quote
Parth Posted October 15 Posted October 15 1 hour ago, fabiobassa said: Even 3128 is working quite well with linux just compile kernel with appropriate config and appropriate cpu platform will keep that for later, i am too poor to understand the kernel then linking it to the os, i am actually trying to study all that, but could not find the right resources. so let me read first and get back on the forum after i am done trying. thanks a lot tho for giving hopes to me, means a lot, thank you. 1 hour ago, fabiobassa said: Regarding the garbage on uart, remember the uart speed is unusual ( 1500000 NOT 115200 ) until it starts modified uboot that is 115200 so you have to take care of this note i will try that as well. right away. 1 hour ago, jock said: here it is, you may try to run this image and see if it boots @jock just to be sure, i should first flash the bootloader V1.10 given on first page of this forum then load the image which you provided in the sd card and try right? thanks everyone to take out time off your schedule and respond to my posts. it really means alot. thank you all. 0 Quote
jock Posted October 15 Author Posted October 15 6 minutes ago, Parth said: @jock just to be sure, i should first flash the bootloader V1.10 given on first page of this forum then load the image which you provided in the sd card and try right? You can burn it on an sdcard and test directly from sdcard if you blank your emmc with rkdeveloptool or a similar tool. When emmc is empty (as well as when it is "masked", hence maskrom), the board will boot from sdcard and it is the suggested way to verify the board boots with armbian or has issues. 0 Quote
Parth Posted October 15 Posted October 15 @jock so i will first put the emmc in reset mode with shorting the pins, erase the emmc and then just simply connect the sd card with the image which you asked to download (its downloading) and simply test it, in terms of i shall get something on the UART right? thanks a lot for the prompt response. 0 Quote
jock Posted October 15 Author Posted October 15 17 minutes ago, Parth said: @jock so i will first put the emmc in reset mode with shorting the pins, erase the emmc and then just simply connect the sd card with the image which you asked to download (its downloading) and simply test it, in terms of i shall get something on the UART right? you should get the regular log on the uart and then kernel and systemd messages. You shoul also get proper HDMI output (except for R29/R2B/H10 boards, which require to be first configured with rk322x-config). edit: ah, uboot is fully functional both via uart and via usb keyboard 0 Quote
jock Posted October 15 Author Posted October 15 I uploaded also a bookworm with kernel 6.11 image here 0 Quote
Parth Posted October 16 Posted October 16 hi, thanks a billion, to my surprise things are now working. so both the images provided by @jock works, but the bookworm seems to be commandline only with no desktop environment? but the armbian-trunk works too with the xfce. i happen to have noticed that armbian-trunk/noble is a bit slow for my liking. and i wanted to go more lightweight which can also run basic desktop environment. so i wanted to poke around with the kernel but my knowledge to play with it is limited. also i wanted to turn off all the splash screen and boot messages coming on the hdmi and i could not do that. so it would be great help if you can point to the following. 1. How can i rebuild the kernel and the image to flash onto the board 2. Is there Debian-bookworm available? with desktop env? 3. what are the steps or any guide available online where i can compile the kernel and images provided by armbian community? thanks a ton in advance, and thanks a lot for helping me throught till here. 0 Quote
fabiobassa Posted October 16 Posted October 16 @Parth maybe is easier if you tell us what are your goal, for what purposes you want use this box Don't forget the overall total cpu power and amount of ram, we are speaking of a 12 dollars soc. What do you want from this box ? 0 Quote
Parth Posted October 16 Posted October 16 @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. 1 Quote
Recommended Posts
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.