[raspi-internals] Re: ARM init code is now on my Github.

  • From: Martin Sperl <rpiinternal@xxxxxxxxxxxxxxxx>
  • To: raspi-internals@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2016 09:38:49 +0200


On 16.05.2016, at 04:12, Kristina Brooks <tinab@xxxxxxx> wrote:

Can check it out on: https://github.com/christinaa/rpi-open-firmware ;
<https://github.com/christinaa/rpi-open-firmware>

Won't write much here, you can just read the README.md.


Thanks for all the effort - I was also was looking into the same thing (started 
my binutils some time ago)!

Any idea if (read) access to the sd, L1 and L2 register sets (0x7ee0x000) is 
available from the arm side with your boot loader?

The reason why I ask is because it seems as if the normal firmware seems to be 
putting restrictions on this range.
- found out while writing the sdram driver for the linux kernel…. (but it may 
be an implementation of the HW).

It may be a necessity to run things inside the VC4 when changing SDRAM or some 
ARM - related PLL settings
to enable the clock.

I may shortly look into uboot on vc4 (assuming the toolchain works correctly) 
and then branch the arm off that…

The in-kernel video driver using KMS is coming along, so more registers are now 
documented in that code
and then the FB runs independently of the firmware (at least as far as I 
understood)...



Other related posts: