Jump to content

Recommended Posts

Posted

Is there any working image for orangepi5-pro?

I am having trouble to understand a few things in the https://www.armbian.com/orange-pi-5-pro/

 

It says:

 

 

Quote

PCI support is broken on vendor kernel (6.1.xx) on versions higher then 24.8.1. Use this version and freeze kernel (armbian-config -> system) prior to updating OS. PCI works on other Rockchip 3588 devices, while fixing this on all represent expensive technical challenge which we will be able to proceed once your donations for entire project reaches at least 1000 USD per month. With Orangepi devices we have extremely high negative support budget. Alternative operating systems that relies on our work face the same problem. We appreciate for your understanding.

 

 

But downloding the image on that page brings Armbian_community_25.8.0-trunk.38_Orangepi5pro_bookworm_vendor_6.1.115_minimal.img.xz

which is version 25.8.0 and that image wont boot.

 

 

 

Posted

Hi @Michael Robinson, thanks for the help, but one of the first things i did was check the build process. Unfortunately there is no orangepi5-pro board in the v24.8.1 branch which makes that warning about 24.8.1 version even hard to understand. I tried to compile new versions, but none of those new versions boot.

 

Hi @Wernerthanks for the tip, but unfortunately the oldest version on github is 24.11 and they do not boot

Posted

I have an Orange Pi 5 pro - with a 256GB M.2 SSD drive -  I have kernel 6.115 running .  Booting from SD - root is mounted on nvme0n1p1 (the SSD). Armbian 25.8.0-trunk53.-bookworm. I have three issues with this - 1:- no audio out of the 3.5 inch jack.         2: No internal Bluetooth   3. Have to use the SD card for initial boot.       PCI is working on that version.  

 

I would like to use the RT-Pre-emptive kernel.  It doesn't seem to be available.  And the 6.1.2 kernel images do not find the SSD drive at all on orange pi 5 pro.   

 

 

Posted
9 hours ago, CNCJIM said:

1:- no audio out of the 3.5 inch jack. 

I assume should work with vendor. Maybe missing node in device tree.

9 hours ago, CNCJIM said:

2: No internal Bluetooth 

Maybe missing firmware blobs or same as above.

9 hours ago, CNCJIM said:

3. Have to use the SD card for initial boot. 

Expected since neither SPI nor eMMC are present by default. Direct boot from NVMe isn't support by any Rockchip soc.

Posted

I have questions about 1 building a full image that supports the Orange Pi 5 Pro.  From my understanding of building the kernel - the supported modules for the chipset need to be built for the specific SBC card.   I can easily access the correct kernel I would like.  What I am lacking is an understanding of what source images to install on my build platform for the modules and what the the configuration settings specific to the  SBC.    

Can someone clue me in?   I haven't built a  kernel in 20 years.   I can try to make a case for Armbian to support the OPI 5 Pro or Max.  But this isn't the right forum  for that,  I prefer the Pro or Max over the Plus as I do not need all those HDMI ports.  My goal is to build two kernels - one on SMB Pre-emptive and one RT PREEMPTIVE  - specifically for the Orange Pi 5 PRO and two images with all the I/O functional.    Evidently the Armbian official builds are for the Orange Pi 5B and the Plus.  I haven't exhaustively gone through all of the community supported offerings. 

Posted

All images are specifically made for the board. Some share the same kernel package since they are from the same soc family (for example, there are a lot of boards using the rk3588/s soc so they can have the same kernel package. Board's components are defined in device tree).

Sample board config: https://github.com/armbian/build/blob/main/config/boards/orangepi5pro.csc

BOARD_FAMILY is rockchip-r3588

The sources config: https://github.com/armbian/build/blob/main/config/sources/families/rockchip-rk3588.conf

 

Pro, max and ultra are community contributions and for now entirely unsupported since there is also no support from the vendor for us for these whatsoever to make its software better.

Posted

Werner - thanks -   I did check the community and only found builds for 6.1 --  I did a build and had added three lines in the .conf file  CONFIG_ PREEMPTICE_RT=y  CONFIG_PREEMPTION=y and CONFIG_PREEMPT=y  as I recall.    did the  "make"   "make modules_install" and then the "make module"  and  there were a string of questions - during the make about some of the pre-emption options, which I was unprepared to answer.   Not worried about those.   

I was concerned that the modules_install and the  module  make commands were installing the necessary routines.   I do not understand how the orangepi5pro.csc file  gets incorporated into the build process.   I was on an Orangepi os to run the krtnrl build.  Now moving back to Armbian  6.1.115.   I am downloading a Armbian community supported  6.1.115 download for orange pi pro.  

I will then download the  rockchip-rk3588.conf file - and the orangepi5pro.csc file -    not sure where the board config file goes and how it ties into the kernel build process -  might need a pointer for that

Jim 

Posted

CONFIG_PREEMPT_RT=y.   I was hoping to use the OrangePi5  Pro - with Linuxcnc - for machine controls -   This would require predictable response times for precision cutting routines.  The kernel build settings in the current release do not include the Setting for PREEMPTIVE_RT.    Debian for X86 defaults to having it setup to support a Fully Preemptive mode.    I am wondering why this hasn't trickled down to SBC builds.   Byte2bot sells a shield card for converting the Pi 20 pin header to a Parallel port for connecting to CNC motion control cards -  roughly $50 without having any manual wiring.  Really slick - but at the moment - its would be good for Raspberry pi 4 and 5 as they have the Realtime kernel build available.    I have a Tower PC with PCIe parallel on debian bookwork setup for machine control for a milling machine.    So the Orange_Pi_5  is a much better solution .      Please let me know how if I am on the correct  track.

  I  will copy the config file to the .config file in the kernel build directory --   This should be found in the /boot directory  or the /proc directory  -  and add in the PREEMPT commands for fully PREEMTIVE that I found  listed in the Kconfig file.   Then I have to figure out where to place the orangepi5pro.csc  file you pointed me to. 

At that point I should try to find some reference material about the Preemption settings the make   process is going to ask me about.   

make should complete, and then "make module_install"  -    Then "make modules"   

At that point -  the build is done.      I will have to sort out how the /boot files need to be modified.   Sorry for all the questions -  If there is some reference material - that is clear about the Image Uinitram the Armbian Environment  -  and other boot related topics please point them out.   

 

 

Posted (edited)

@werner

Sorry the delay, I was trying to get the TTL adapter.

 

Here is what I get from the TTL in the first boot after flashing Armbian_community_25.8.0-trunk.228_Orangepi5pro_bookworm_vendor_6.1.115_minimal.img

 

DDR 9fa84341ce typ 24/09/06-09:51:11,fwver: v1.18
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
ch0 ttot7
LPDDR5, 2400MHz
channel[0] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
ch1 ttot7
channel[1] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
ch2 ttot7
channel[2] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
ch3 ttot7
channel[3] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
Manufacturer ID:0xff
DQS rds:l0,l0
CH0 RX Vref:27.1%, TX Vref:20.0%,20.0%
DQ rds:h3 h4 h2 h1 h5 h2 h2 h1, h1 h3 h3 h5 h1 h3 h2 h2

DQS rds:l0,h1
CH1 RX Vref:27.9%, TX Vref:21.0%,20.0%
DQ rds:l0 h1 h2 h3 h6 h2 h3 h6, h4 h2 h2 h2 h2 h1 h4 l0

DQS rds:l0,l0
CH2 RX Vref:26.7%, TX Vref:19.0%,21.0%
DQ rds:h3 l0 l0 l0 h4 h1 h7 h3, h2 l0 h1 l0 h2 h4 h1 h1

DQS rds:l0,h1
CH3 RX Vref:27.9%, TX Vref:20.0%,20.0%
DQ rds:h5 h3 h7 h4 h2 h2 h4 h4, h4 h3 h4 h2 h3 h1 h3 h1

stride=0x2, ddr_config=0x6
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0x0 0x2400 0x44800 0x89000, rank_mask0 0                                                                                                                                                                                                                                             x2000
change to F1: 534MHz
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
change to F2: 1320MHz
ch0 ttot8
ch1 ttot8
ch2 ttot8
ch3 ttot8
change to F3: 1968MHz
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
change to F0: 2400MHz
ch0 ttot7
ch1 ttot7
ch2 ttot7
ch3 ttot7
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Jun 13 2025 - 02:18:34)
unknown raw ID ff ff ff
unrecognized JEDEC id bytes: ff, ff, ff
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -95
Trying to boot from MMC2
Card did not respond to voltage select!
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
# Reset the board to bootrom #

 

 

 

 

Not sure if it matters, but I have a EMMC installed and flashed the image to it using the rkdevelop tool. ( The same way I do to flash the firmware from orangepi site )

 

Just in case, here are the commands I use

 

 ./rkdeveloptool db MiniLoaderAll.bin

./rkdeveloptool wl 0 Armbian_community_25.8.0-trunk.228_Orangepi5pro_bookworm_vendor_6.1.115_minimal.img 

./rkdeveloptool  rd

 

 

Edited by salas

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