Go to advanced search

by JazzD
Wed Aug 21, 2013 6:41 pm
Forum: Bare metal, Assembly language
Topic: FTP kernel.img to your SD card.
Replies: 5
Views: 2563

Re: FTP kernel.img to your SD card.

wow that is awesome, just what i need.
by JazzD
Wed Aug 21, 2013 9:01 am
Forum: Bare metal, Assembly language
Topic: Bare Metal SD Card solution
Replies: 11
Views: 5178

Re: Bare Metal SD Card solution

Well basically yes, probably I'm just missing something. Right now it looks like the implementation of rpi-boot is not the fastest.
by JazzD
Wed Aug 21, 2013 7:49 am
Forum: Bare metal, Assembly language
Topic: Bare Metal SD Card solution
Replies: 11
Views: 5178

Re: Bare Metal SD Card solution

Yes I figured that out after a while, this thing is fixed now. I got everything I wanted implemented but I was not very convinced with the sd card speed. Loading an image of 1MB takes a lot of time. I don't know a lot about the SD card code, what are the bottle necks?
by JazzD
Fri Aug 16, 2013 8:15 am
Forum: Bare metal, Assembly language
Topic: Bare Metal SD Card solution
Replies: 11
Views: 5178

Re: Bare Metal SD Card solution

Damnit :lol: I've solved my problem. The heap in rpi-boot had a restriction for the sbrk implementation. I changed that buffer and it loaded a fullscreen full hd image :). Now I'm only stuck with the slow SD card implementation but at least it works!
by JazzD
Wed Aug 14, 2013 11:52 am
Forum: Bare metal, Assembly language
Topic: Bare Metal SD Card solution
Replies: 11
Views: 5178

Re: Bare Metal SD Card solution

I did some more tests and it turns out that allocation under 1MB seems to be okay, is that some kind of barrier (like 640kb on x86 systems?). Is there any configuration that has to be enabled to access the full 256mb SDRAM? Again I'm currently using rpi-boot as a base. Any ideas?
by JazzD
Tue Aug 13, 2013 12:51 pm
Forum: Bare metal, Assembly language
Topic: Bare Metal SD Card solution
Replies: 11
Views: 5178

Re: Bare Metal SD Card solution

I've found out that rpi-boot has a decent SD card driver! It works great for me. Right now I'm loading images from SD card, a problem I'm experiencing that it works for smaller images. On larger images malloc seems to fail. It looks like out of memory (pointer is zero before and after malloc). My qu...
by JazzD
Sat Aug 10, 2013 3:45 pm
Forum: Bare metal, Assembly language
Topic: Bare Metal SD Card solution
Replies: 11
Views: 5178

Bare Metal SD Card solution

Hey I'm currently developing a full bare metal solution using rpi. Later I want to load files from the SD card that I'm booting from. Has anyone tried to implement an SD Card driver on bare metal yet? I had a look at some bit banging versions that I know from AVR development, but I think that does n...

Go to advanced search