christianhaitian / arkos

Another rockchip Operating System
MIT License
1.48k stars 83 forks source link

Request: Support for Powkiddy RK2023 #679

Closed banana3333 closed 1 year ago

banana3333 commented 1 year ago

Probably a longshot, but is there any chance of support for RK2023 being added? Mine was able to boot the RG353V/VS image, but the display seems to be vertically offset downwards a bit. A big row at the top is empty while the bottom is cut off. The battery reader also understandably isn't working here and just reads 0% no matter the charge.

image image

Alternatively, if there is a way I could adjust the vertical offset with the current image that would be a huge help.

christianhaitian commented 1 year ago

I've requested a couple of development units from Powkiddy and they're supposed to be sending me some. We'll see.

christianhaitian commented 1 year ago

Just heard JelOS may add official support for this unit as well. Will depend on if they can get some units which they're working on.

In the meantime, can someone post the contents of the boot folder from the stock os card in a zip file here. Mostly looking for the .dtb file(s). Thanks in advance

banana3333 commented 1 year ago

The JELOS partition had a .dtb file, is this maybe what you wanted?

image

https://www.mediafire.com/file/4ec67kym04enpha/JELOS.zip/file EDIT: Also here is the full image if you want that https://mega.nz/file/HcgH3AZA#8SWbKfeW4rxPglmdMYUgqZFapHboFBoiTTHnwpDs3Mg

I found a boot folder under the root partition, but this Linux Reader program I'm using to view it on Windows is telling me nothing is in there.

image

RetroGFX commented 1 year ago

UnofficialOS will hopefully add official support as well for these if everything goes as planned.. I'm working on it.

christianhaitian commented 1 year ago

The JELOS partition had a .dtb file, is this maybe what you wanted?

image

https://www.mediafire.com/file/4ec67kym04enpha/JELOS.zip/file EDIT: Also here is the full image if you want that https://mega.nz/file/HcgH3AZA#8SWbKfeW4rxPglmdMYUgqZFapHboFBoiTTHnwpDs3Mg

I found a boot folder under the root partition, but this Linux Reader program I'm using to view it on Windows is telling me nothing is in there.

image

That dtb is what I was looking for. Thanks for providing that jelos.zip. Attached is a zip file that contains an updated rk3566-OC.dtb file. Try replacing the one in the boot partition on the ArkOS card with this one and see if that changes anything. Let us know your results.

rk3566-OC.zip

banana3333 commented 1 year ago

Awesome! That did the trick! Thank you Christian!

image

christianhaitian commented 1 year ago

Nice!. Enjoy!

christianhaitian commented 1 year ago

I should be able to fix the battery reading issue when I have an actual device so I can see what changed with that.

christianhaitian commented 1 year ago

Hopefully all the buttons works correctly.

banana3333 commented 1 year ago

Yeah I figured it would be easier for you to work on stuff like battery when you actually have a device. All the buttons are working perfectly.

JuanMiguelBG commented 1 year ago

Christian, your RG353M image with v1 DTB, works successfully with the RK2023. As you know, the only issue, it's the battery level reading.

RetroGFX commented 1 year ago

Yeah I figured it would be easier for you to work on stuff like battery when you actually have a device. All the buttons are working perfectly.

Is this with or without using the new dtb file.. Just curious

banana3333 commented 1 year ago

Yeah I figured it would be easier for you to work on stuff like battery when you actually have a device. All the buttons are working perfectly.

Is this with or without using the new dtb file.. Just curious

This is with using the new dtb file.

RetroGFX commented 1 year ago

Yeah I figured it would be easier for you to work on stuff like battery when you actually have a device. All the buttons are working perfectly.

Is this with or without using the new dtb file.. Just curious

This is with using the new dtb file.

Awesome thanks for the info

banana3333 commented 1 year ago

I gave it a shot on mine and the battery reading was showing 0% again. It still works just fine otherwise though!

christianhaitian commented 1 year ago

Updated kernel and dtb that fixes the battery reading and analog sticks for this device. Thanks to @fewtarius for the guidance on the battery fix and TSS_Killer for confirming the analog and battery fixes for this device.

RK2023-AnalogandBatteryFix.zip

christianhaitian commented 1 year ago

An image is now available for the RK2023 from the wiki here. Closing this request as this device now officially supported by ArkOS.