-1

I am roughly following this tutorial and have created a kernel.img.

It says:

Do you still have the SD card with the original Raspbian image on it from when you where testing the hardware above? Great. So you already have a SD card with a boot partition and the required files. If not then download one of the original raspberry boot images and copy them to the SD card.

I do not have the files on my SD card so my question is, where do I find all of the other files in the "original raspberry boot image"?

7
  • have you downloaded Raspbian (not noobs) and flashed it to your SD card? Also you say "you are roughly following" how do you sort of follow the instructions and expect the same end results? How do we know what parts you followed and what parts you didn't. Commented Oct 14, 2016 at 13:58
  • Ok, I followed it EXACTLY except that I plan on modifying the code as soon as I get this to work...
    – dalearn
    Commented Oct 14, 2016 at 14:02
  • no, I do not have raspbian...
    – dalearn
    Commented Oct 14, 2016 at 14:03
  • That would probably explain why you don't have the files on your card. So you skipped the testing phase of the tutorial - go back and download Raspbian and copy it to your card. Commented Oct 14, 2016 at 14:08
  • I already had it working but wanted to go bare metal so wiped it.
    – dalearn
    Commented Oct 14, 2016 at 14:09

1 Answer 1

2

Do you still have the SD card with the original Raspbian image? ...Great. So you already have a SD card with a boot partition and the required files. If not then download one of the original raspberry boot images and copy them to the SD card.

This seems pretty straightforward. Those can be found here. You might as well use the lite image, since you only need the contents of the first small partition.

The files themselves can also be found in this github repository.

I do not have the files on my SD card

Then you will need to either:

  • Burn the image to the card properly following the installation guide linked from the download page above. Or:

  • Mount the image directly as described here and copy the files out. Or:

  • Download the files from the github repo.

In the last two cases you will have to format the card yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.