HefnySco / OBAL

Open Board Architecture for Linux
58 stars 19 forks source link

Failed phys2virt prev_virt=0xf7f2f000 phys_page=0xc5e20000 Operation not permitted #50

Closed Anojan14 closed 8 months ago

Anojan14 commented 9 months ago

image

Any Ideas why Im getting this error I feel like I'm using a wrong version of RPI OS but when I install Buster it says the the python version is too old

HefnySco commented 9 months ago

You need to recompile Linux to allow CONFIG_STRICT_DEVMEM = ENABLED.

HefnySco commented 9 months ago

Compile Linux 64-bit https://www.raspberrypi.org/documentation/computers/linux_kernel.html#configuring-the-kernel

Detailed Description https://lemariva.com/blog/2019/09/raspberry-pi-4b-preempt-rt-kernel-419y-performance-test

Anojan14 commented 9 months ago

Thank you I did try and rebuild the kernel didn't go to well will try using your method thanks :) Will let you know how it goes

Anojan14 commented 9 months ago

Compile Linux 64-bit https://www.raspberrypi.org/documentation/computers/linux_kernel.html#configuring-the-kernel

Detailed Description https://lemariva.com/blog/2019/09/raspberry-pi-4b-preempt-rt-kernel-419y-performance-test

I am getting this error when running make -j4 zImage

image

I'm using Ubuntu and a Rasberry Pi 4 model B (it's a quad Core)

image

I'm thinking some files got missing or corrupted so I deleted everything and started again

EDIT: Done the above^^ Output image image

Do you have the pre-built kernel so I can Install the kernel on the RPI4 Please

Anojan14 commented 9 months ago

Ive finished building there kernel using Rasbperry pi website the detailed one isn't working I'm compiling the files directly on the RPI4 as I don't have linux and don't want it

Anojan14 commented 9 months ago

Can you please message me when you are online I need to ask you something online thanks

HefnySco commented 9 months ago

https://docs.google.com/document/d/1uomo_2-cMGGrQfBMLpcBvQ17OGtd19-J6zNGcjWSems/edit?usp=sharing

This is my own How-To document... it is not well written but you should be able to find your way through it.

Anojan14 commented 9 months ago

https://docs.google.com/document/d/1uomo_2-cMGGrQfBMLpcBvQ17OGtd19-J6zNGcjWSems/edit?usp=sharing

This is my own How-To document... it is not well written but you should be able to find your way through it.

Hello thank yoy for sharing this I've requested access to view this file could you please accept it thank you

HefnySco commented 9 months ago

https://docs.google.com/document/d/1uomo_2-cMGGrQfBMLpcBvQ17OGtd19-J6zNGcjWSems/edit?usp=sharing This is my own How-To document... it is not well written but you should be able to find your way through it.

Hello thank yoy for sharing this I've requested access to view this file could you please accept it thank you

done

okonon commented 8 months ago

@HefnySco i requested access as well. Would you be able to grant it ? Thanks a lot. Also is it possible to get latest stm32 board info?