[raspi-internals] Re: Working GNU toolchain for VC4

  • From: Martin Sperl <rpiinternal@xxxxxxxxxxxxxxxx>
  • To: raspi-internals@xxxxxxxxxxxxx
  • Date: Tue, 26 Apr 2016 12:08:16 +0200


On 23.04.2016, at 15:25, Julian Brown <julianbrown99@xxxxxxxxx> wrote:
Possible next steps for anyone with the motivation are probably:

* Getting code running on the real hardware! It'd be nice to get a real Pi 
substituting for resim in GCC tests (downloading each test successively over 
serial, and automatically rebooting on crashes). That means enabling SDRAM 
and "pivoting" to a small monitor of some sort from there, I think. (This is 
about where I've run out of steam.)

For quick testing: use model A or Zero and boot it via USB (does not work with 
any model that has a hub) using the rpiboot tools provided by the foundation 
via //github.com/raspberrypi/tools.


When you start after the the usbbootloader.bin (have your own msd.elf in the 
local directory) then the sram should be enabled already - or you build your 
fat image and boot from that ...

Then you can take a serial uart to get the output for verification - you could 
even use zmodem to load the code to execute over serial (when you get that far 
as a simple boot driver).

Martin

Other related posts: