Jump to content

Compile Raspberry interface for OrangePi 4


carlosinacio

Recommended Posts

Hello everyone,

 

I have an OrangePi 4 that will serve as an interface for the electric car chargers that are produced in my company. We currently use Raspberry 3 and we want to upgrade to the OrangePi 4, mainly because it has eMMc.

The problem is that the interface we have was designed to work on Raspberry. I put the SD card with the image in the OrangePi but it starts with the system that has been installed on eMMc (Armbian).

Can you tell me if it will be very difficult for the image we use in Rpi to be possible to install on OrangePi?

 

Another thing I want to do is move from the Armbian that I have currently installed on eMMc to Debian, however the image on the website (https://drive.google.com/drive/folders/1wAdkC25BmjMwapWahEEQGTvi-yuwo8Gx) is only for the 4.4.179 kernel and the one I have installed on OrangePi is 4.4.213. How can I install the Debian image?

Link to comment
Share on other sites

 

 

5 minutes ago, carlosinacio said:

I put the SD card with the image

You cannot simply put an sd card with an OS designed for SBC type X into an SBC type Y and expect to work.

 

5 minutes ago, carlosinacio said:

however the image on the website

Get official images here:https://www.armbian.com/download/

 

To bring it to the eMMC first you have to write the image to the sd card, boot from it and use armbian-config (or issue nand-sata-install directly) to write it to the eMMC.

Link to comment
Share on other sites

24 minutes ago, Werner said:

 

 

You cannot simply put an sd card with an OS designed for SBC type X into an SBC type Y and expect to work.

 

Get official images here:https://www.armbian.com/download/

 

To bring it to the eMMC first you have to write the image to the sd card, boot from it and use armbian-config (or issue nand-sata-install directly) to write it to the eMMC.

 

Yes, I know it can't be just putting the card in and it works. But there may be some simple way to be able to compile the interface I have to work on OrangePi..

 

The only official images from Armbian that I can install are based on kernel 4.4 because I can't upgrade it to 5.8. In armbian-config just appear 4.4.x kernels.. And in the Armbian website doesn't appear one image based on Debian

 

Link to comment
Share on other sites

If there are not specific reasons to use 5.8 you can stick with 4.4. @NicoD explained in a video why this is a good idea depending on your needs:https://www.youtube.com/watch?v=NLY5nbMaT6U

 

There is a Debian image available.

grafik.png

 

If you want Buster with 5.8 kernel you need to build that on your own. Build tools will help you to do this: https://github.com/armbian/build

 

 

Quote

But there may be some simple way to be able to compile the interface I have to work on OrangePi..

Install compiler and compile your source code? Hard to tell what is needed without any info whatsoever about your program :lol:

Link to comment
Share on other sites

2 hours ago, Werner said:

If there are not specific reasons to use 5.8 you can stick with 4.4. @NicoD explained in a video why this is a good idea depending on your needs:https://www.youtube.com/watch?v=NLY5nbMaT6U

 

There is a Debian image available.

grafik.png

 

If you want Buster with 5.8 kernel you need to build that on your own. Build tools will help you to do this: https://github.com/armbian/build

 

 

Install compiler and compile your source code? Hard to tell what is needed without any info whatsoever about your program :lol:

 

I had already seen and tested this Debian image, but I needed one with a desktop and not a server.

 

I know the interface is made with QTCreator, and our raspberrys runs a Debian image.. I have the image on a SD Card, I can pass to you and check if it's possible to do something with it..

 

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