Go to advanced search

by AngusMcFire
Mon Aug 13, 2018 6:14 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 74
Views: 42105

Re: Yet Another Bare Metal Tutorial for the RPi3

Hi, thanks for the response, i see now the maximum bits are limited based on the IPS of the CPU. There is a quite good docu. https://armv8-ref.codingbelief.com/en/chapter_d4/d42_2_controlling_address_translation_stages.html I think i have to work with 39 Bit :| it will do somehow Anyway million than...
by AngusMcFire
Mon Aug 06, 2018 10:52 am
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 74
Views: 42105

Re: Yet Another Bare Metal Tutorial for the RPi3

Hi, thanks for the fast reply, i need the 48Bit address space because i am porting a x86_64 OS as part of my bachelor thesis, i am well aware this is quite overkill for a 1GB system:-) For the configuration i do basically the same as you do, except using T0SZ=16 and T1SZ=16, I set the IPS the same w...
by AngusMcFire
Sun Aug 05, 2018 8:55 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 74
Views: 42105

Re: Yet Another Bare Metal Tutorial for the RPi3

Hi, I altered/reimplemented the MMU example to use 48 bit of Virtual addresses with 4 layers of address translation. It works fine on QEMU, but on the real raspberry pi 3 it is not working. The raspberry gets stuck after enabling the MMU: asm volatile ("msr sctlr_el1, %0;" : : "r" (tmp_var)); Is the...

Go to advanced search