Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Orange Pi PC Beta Image
#1
Hi!
I build this image for OragePi PC.
This is beta image. Not RetrOrangePi but a start point for RetrOragePi 5.0 if the developer like it.

Probably I can build Image easy for all H3, H5, H6 and RK device supported by Armbian.

The base is Armbain and Linux Kernel 5.10.
I port the Mali driver to this kernel.
We can also use lima driver but dosen't work very well with emulationstation (5fps).

I don't test it much. I don't know if audio work, please report bellow.

I will publish all work soon in my repo.
I will give you all userpatches dir for Armbian.

I call the project ReArm (RetroPie on Armbina)

If anyone interested for a specific board (I own only H3 and H6 board) I can build it. It will take 90 minutes.

Orange Pi PC [ v20220115]
https://mega.nz/file/gIVknTDC#S1x4zmevPy...7lnrUub1JE

Sunvell R69 [ v20220124 ] [ dram 400MHz ]
https://mega.nz/file/VUdRSapC#EjCUm-MLdV...vof_c1mTAY

Sunvell R69 [ v20220124 ] [ dram 576MHz ]
https://mega.nz/file/JQNFkAYL#5zVjtwTn9g...9cHFqRQbgQ

OrangePi Lite [ v20220115]
https://mega.nz/file/oBFShRKY#dRNOs8oYrQ...vuflVLpABg

OrangePi Plus [v20220116]
https://mega.nz/file/ZRcADJjD#6OpFtjeVBP...U3GAuSNY9s

OrangePi One Plus H6 [v20220204]
https://mega.nz/file/dUcVkI4Q#7_1Obgub8Z...QIeK1zbkJ8

v20220114
- Splashscreen
- Sunvell R69 - update dtb
- Fix HDMI audio
- Chicuelo theme as default theme

v20220115
- OrangePi Lite - update dtb

v20220116
- OrangePi Plus- update defconfig on uboot
- Update Splashscreen

v20220124
- Sunvell R69 refuse to boot with high dram clock. Create 2 images with different clock for dram, you can try what work better and boot at first time
- Update Emulation and Retropie-setup

V20220204
- Support to H6 devices with Mesa backend (Mali t720 userspace blob doesn't exist for aarch64)
- Fix audio on h6 devices
- Retroarch 1.10
Reply
#2
Hey thanks , nice job , got it working , on my board with the sunvell r69 dtb , so far what i have test is working fine , only mapping the analog controller in emulation station doesn't work , but it does map under retroarch, so nice to see this update , it needs some work but is a great start 

cheers! Big Grin
Reply
#3
Add Sunvell R69.
Probably clock is to high, i will fix it on next realese.
Actualy 1.36 GHz, but probably need to limit to 1.3 GHz
Reply
#4
Hey thank you gleam2003

>I port the Mali driver to this kernel.

That sounds interesting. Can you post what you did/the patchset.
I changed CPU (H3->H5) on some of my Orange PIs to have 64Bit and better performance. I would like to reproduce your steps.

BR matrixstorm



Update:

Perhaps I found your github (https://github.com/gleam2003) ?
Anyway can you please write I bit what you did?
Did you compile mainline kernel, or did you compile megous well known https://github.com/megous/linux (base for Armbian)?
What did you port in order to use ARMs native mali drivers.

Thanks, matrixprog
Reply
#5
(01-16-2022, 08:59 AM)matrixstorm Wrote: Hey thank you gleam2003

>I port the Mali driver to this kernel.

That sounds interesting. Can you post what you did/the patchset.
I changed CPU (H3->H5) on some of my Orange PIs to have 64Bit and better performance. I would like to reproduce your steps.

BR matrixstorm

I will post all userpatches dir whit all data on github.
Please collaborate with your work for H5 when avviable, I don't own this kind of board

(01-16-2022, 08:59 AM)matrixstorm Wrote: Hey thank you gleam2003

>I port the Mali driver to this kernel.

That sounds interesting. Can you post what you did/the patchset.
I changed CPU (H3->H5) on some of my Orange PIs to have 64Bit and better performance. I would like to reproduce your steps.

BR matrixstorm



Update:

Perhaps I found your github (https://github.com/gleam2003) ?
Anyway can you please write I bit what you did?
Did you compile mainline kernel, or did you compile megous well known https://github.com/megous/linux (base for Armbian)?
What did you port in order to use ARMs native mali drivers.

Thanks, matrixprog
About your update:

I'm using my personal github repository not the one you post but I need to publish the userpatches folder for Armbian.
I use mainline kernel. What advantage to use megous?
Reply
#6
(01-16-2022, 09:24 AM)gleam2003 Wrote:
(01-16-2022, 08:59 AM)matrixstorm Wrote: Hey thank you gleam2003

>I port the Mali driver to this kernel.

That sounds interesting. Can you post what you did/the patchset.
I changed CPU (H3->H5) on some of my Orange PIs to have 64Bit and better performance. I would like to reproduce your steps.

BR matrixstorm

I will post all userpatches dir whit all data on github.
Please collaborate with your work for H5 when avviable, I don't own this kind of board

Hi thanks for your reply.
I would like to work with you together on H5.
I have some spare (modified) Orange Pi One (H3 --> H5 CPU, 1GB RAM and 1.4VCore for 1.37GHz) I had on ebay for sale.
(Just to give you some pictures: https://www.ebay.com/itm/233639026162)

If you like to send me an PM I would send it to you as a gift. So you have some H5 platform, too.

Until now I used the Armbian Orange Pi PC2 Image with modified devicetree on it.

BR

(01-16-2022, 09:24 AM)gleam2003 Wrote: I'm using my personal github repository not the one you post but I need to publish the userpatches folder for Armbian.
I use mainline kernel. What advantage to use megous?

Megous has lots of additional buxfixes and non-mainline (not yet) featues patched into. Collected from https://linux-sunxi.org/Linux_mainlining_effort

BR matrixstorm
Reply
#7
(01-16-2022, 09:36 AM)matrixstorm Wrote:
(01-16-2022, 09:24 AM)gleam2003 Wrote:
(01-16-2022, 08:59 AM)matrixstorm Wrote: Hey thank you gleam2003

>I port the Mali driver to this kernel.

That sounds interesting. Can you post what you did/the patchset.
I changed CPU (H3->H5) on some of my Orange PIs to have 64Bit and better performance. I would like to reproduce your steps.

BR matrixstorm

I will post all userpatches dir whit all data on github.
Please collaborate with your work for H5 when avviable, I don't own this kind of board

Hi thanks for your reply.
I would like to work with you together on H5.
I have some spare (modified) Orange Pi One (H3 --> H5 CPU, 1GB RAM and 1.4VCore for 1.37GHz) I had on ebay for sale.
(Just to give you some pictures: https://www.ebay.com/itm/233639026162)

If you like to send me an PM I would send it to you as a gift. So you have some H5 platform, too.

Until now I used the Armbian Orange Pi PC2 Image with modified devicetree on it.

BR

(01-16-2022, 09:24 AM)gleam2003 Wrote: I'm using my personal github repository not the one you post but I need to publish the userpatches folder for Armbian.
I use mainline kernel. What advantage to use megous?

Megous has lots of additional buxfixes and non-mainline (not yet) featues patched into. Collected from https://linux-sunxi.org/Linux_mainlining_effort

BR matrixstorm

Can you tell me how to build the megous kernel with Armbian? Thanks
Reply
#8
(01-16-2022, 04:30 PM)gleam2003 Wrote: Can you tell me how to build the megous kernel with Armbian? Thanks

Hi again

Yes, of course.
I for myself have an build-script, because I am building the -rt Kernel (better "smoothness" on systems with lots of different priorities) and I am building the xr819 and rtl8189 modules...
...but I will unfold the script here to manual steps.
For compatibility (and because the 5.10 is SLTS [1] - super long term support), I will use the 5.10 kernel version.

I also assume you have build dependencies (swig, openssl, flex, bison, ncurses ...) already installed.
I am very strict in avoiding stuff running as root, so I always build as "kerneluser" (uid:1015, gid:1015)
This is direct build, if you do/want crossbuilding - please write me...

(1) set your /usr/src permissions accordingly to kerneluser:kernelgroup
(2) clone the repository (as bare) somewhere in kernelusers home: git clone --mirror https://github.com/megous/linux
(3) (from that directory) generate your source-archive and directly extract it to (for example) /usr/src/linux-sun8i-aarch32: git archive --format=tar --prefix=linux-sun8i-aarch32/ orange-pi-5.10-20210226-1254 | tar -xC /usr/src/
(4) cd /usr/src/linux-sun8i-aarch32
(5) (just to be shure) export ARCH=arm
(6) make mrproper
(7) make defconfig && make menuconfig (OR) make oldconfig (using your, mine or armbians baseconfig)
(8) make -j4
...


[1] https://www.cip-project.org/blog/2020/12...t-for-slts

Update:
I have wrote myself a tool to always automatically answer oldconfig's questions. (Using always default answer, except when building as module is possible.)
So I always build kernels with maximum number of modules, since it is more flexible at runtime.
The tool is called modkernel.


Attached Files
.txt   bau.txt (Size: 641 bytes / Downloads: 3)
.txt   h3-config.txt (Size: 185.53 KB / Downloads: 3)
.txt   modkernel-modk.txt (Size: 11.06 KB / Downloads: 1)
.txt   h5-config.txt (Size: 192.87 KB / Downloads: 5)
.txt   modkernel-Makefile.txt (Size: 893 bytes / Downloads: 2)
Reply
#9
Mali Patch for kernel 5.10:

https://mega.nz/file/oAUECb7Q#dOg0M_MP8_...Vt1MHmF2gA

Config kernel value:

CONFIG_MALI400=m
CONFIG_MALI450=y
# CONFIG_MALI470 is not set
# CONFIG_MALI400_DEBUG is not set
# CONFIG_MALI400_PROFILING is not set
# CONFIG_MALI400_UMP is not set
CONFIG_MALI_DMA_BUF_MAP_ON_ATTACH=y
# CONFIG_MALI_SHARED_INTERRUPTS is not set
# CONFIG_MALI_PMU_PARALLEL_POWER_UP is not set
# CONFIG_MALI_DT is not set
CONFIG_MALI_DEVFREQ=y

UPDATE: Disable LIMA in kernel config
Reply
#10
Thank you very much:

(01-16-2022, 05:36 PM)gleam2003 Wrote: Mali Patch for kernel 5.10:

https://mega.nz/file/oAUECb7Q#dOg0M_MP8_...Vt1MHmF2gA

Config kernel value:

CONFIG_MALI400=m
CONFIG_MALI450=y
# CONFIG_MALI470 is not set
# CONFIG_MALI400_DEBUG is not set
# CONFIG_MALI400_PROFILING is not set
# CONFIG_MALI400_UMP is not set
CONFIG_MALI_DMA_BUF_MAP_ON_ATTACH=y
# CONFIG_MALI_SHARED_INTERRUPTS is not set
# CONFIG_MALI_PMU_PARALLEL_POWER_UP is not set
# CONFIG_MALI_DT is not set
CONFIG_MALI_DEVFREQ=y

UPDATE: Disable LIMA in kernel config


How do you handle the userspace parts? (MESA/OpenGL and libDRM?)

BR matrixstorm
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  2022 Beta image by gleam2003 gleam2003 14 1,817 05-16-2022, 04:18 PM
Last Post: gleam2003
  orange pi zero 2 kadaverik 22 10,858 05-16-2022, 04:11 PM
Last Post: Merlin3D
  OrangePi PC 2 Batocera Image gleam2003 8 1,016 05-01-2022, 11:46 PM
Last Post: ctogamez
  Image for Orange Pi lite 2 cyborg 3 2,644 04-17-2022, 01:11 PM
Last Post: samorange
  Orange Pi One Plus Batocera Image H6 gleam2003 1 371 04-08-2022, 02:22 PM
Last Post: darrenbailey894
  Orange PC 2 macchese 4 2,089 12-17-2021, 11:26 PM
Last Post: asegura074
  Orange Pi Lite (Slim Version) diegohv 29 21,152 10-22-2021, 09:49 PM
Last Post: jahh22
  Orange PI Win PLus - restarting djmcg 31 22,045 09-12-2021, 11:24 PM
Last Post: Fido
Star Orange Pi One Plus/Lite2 has 3D acceleration now rauli 4 2,913 02-08-2021, 05:25 AM
Last Post: rauli
Question Orange Pi Prime KhanhDTP 5 4,759 01-17-2021, 08:21 PM
Last Post: Rockman-X

Forum Jump:


Users browsing this thread: 2 Guest(s)