Go to advanced search

by handuel
Sun Dec 29, 2013 9:11 am
Forum: Bare metal, Assembly language
Topic: ARM MMU - How to do paging.
Replies: 4
Views: 3109

Re: ARM MMU - How to do paging.

Oh so there is.... I'm not doing well today(/yesterday); I managed to completely miss that. :oops:
by handuel
Fri Dec 27, 2013 9:08 pm
Forum: Bare metal, Assembly language
Topic: ARM MMU - How to do paging.
Replies: 4
Views: 3109

Re: ARM MMU - How to do paging.

My apologies for posting in the wrong place, it is kind of you to reply anyway. I will try and search for examples (although I have done previously and have been unable to find anything, I am somehow unbelievably bad at using google), and will also take a look at the resources you recommended, which...
by handuel
Fri Dec 27, 2013 2:21 pm
Forum: Bare metal, Assembly language
Topic: ARM MMU - How to do paging.
Replies: 4
Views: 3109

ARM MMU - How to do paging.

I am working on an operating system for the pi, and am trying to implement some kind of address space, so that processes cannot access each others memory etc. To do this I clearly need to use paging, however I am unable to find any information on how to communicate with the MMU to do this. Can anyon...
by handuel
Tue Jun 11, 2013 5:00 pm
Forum: Beginners
Topic: Does Linux overwrite existing files?
Replies: 8
Views: 2085

Re: Does Linux overwrite existing files?

Depends what browser. Apt-get will, some file browsers will, some will ask. Some browsers will, some will ask. There is no default behaviour for this on Linux.
by handuel
Tue Jun 04, 2013 3:06 pm
Forum: Java
Topic: Java + Bare Metal = OS?
Replies: 9
Views: 5741

Re: Java + Bare Metal = OS?

You'd have to start off by porting a JVM that can be run at boot time, which guess what, has to be written in C (that is if you want a java kernel). Otherwise you would have to write a kernel in C, and then load a JVM in user mode, and write the shell and user apps in java. Either way, that's a lot ...
by handuel
Tue Jun 04, 2013 2:59 pm
Forum: Beginners
Topic: sudo nano not saving config.txt
Replies: 9
Views: 43024

Re: sudo nano not saving config.txt

You used ^X to close nano, but didn't save the file first (or at least I guess so), try using ^O to save, and then ^X
by handuel
Mon Jun 03, 2013 7:09 pm
Forum: Bare metal, Assembly language
Topic: OS Frameworks?
Replies: 6
Views: 1755

Re: OS Frameworks?

AFAIK Yes. I think you have to set up some kind of init program for it so it will exec your shell, but I'm not quite sure how to do that.
by handuel
Mon Jun 03, 2013 5:40 pm
Forum: Bare metal, Assembly language
Topic: ARM assembler tutorial for Raspberry Pi
Replies: 25
Views: 19916

Re: ARM assembler tutorial for Raspberry Pi

It may be down, but the wayback archive is our friend: http://web.archive.org/web/201304190845 ... ello-world
by handuel
Sun Jun 02, 2013 7:24 pm
Forum: Bare metal, Assembly language
Topic: OS Frameworks?
Replies: 6
Views: 1755

Re: OS Frameworks?

Linux? What you are looking for is a kernel, and Linux, being the kernel for the official OS’s of the pi, would probably do nicely. Have fun deving in userland :)
by handuel
Sun Jun 02, 2013 11:18 am
Forum: Bare metal, Assembly language
Topic: 512MB vs 256MB
Replies: 7
Views: 2036

Re: 512MB vs 256MB

Try creating a config.txt file in the same directory as the bootloader, and adding the contents kernel_old=1 , to load everything at address 0. Then make the linker script look like this: STARTUP(./build/crt0.o) SECTIONS { .init 0x0000 : { *(.init) } .text 0x8000 : { code = .; _code = .; __code = .;...
by handuel
Sun Jun 02, 2013 10:59 am
Forum: Bare metal, Assembly language
Topic: Arm asm gedit highlighting
Replies: 0
Views: 812

Arm asm gedit highlighting

I've seen one or two posts about this, and no one seems to have made it. There is only stuff for x86. I was getting fed up at not having proper highlighting in my projects, so I sat down over the weekend and made this: github.com/handuel/asm-language. I do need some people to test it though, as my k...
by handuel
Tue Nov 13, 2012 6:11 pm
Forum: Arch
Topic: Kernel panic booting with qemu.
Replies: 7
Views: 3654

Re: Kernel panic booting with qemu.

Thanks for all the responses, wish I'd known about installing from a local repostiory sooner, I actually fixed it by chrooting to the sd card, (I needed to install one of the qemu packages to do this, so I could run software compiled for arm), and installing the necessary packages.
by handuel
Mon Nov 12, 2012 6:51 pm
Forum: Arch
Topic: Kernel panic booting with qemu.
Replies: 7
Views: 3654

Re: Kernel panic booting with qemu.

It's not that I don't understand the set up, I imagine I'd run into a similar problem if I tried doing the same thing with raspian, thanks for the advice, but I enjoy running arch for the challenge :p
by handuel
Mon Nov 12, 2012 6:20 pm
Forum: Arch
Topic: Kernel panic booting with qemu.
Replies: 7
Views: 3654

Kernel panic booting with qemu.

I have just got my pi, and am using the archlinux image for it (I'm a reasonably experienced linux user, and wanted the challenge of running a more complex distro). However I do not have a network adapter for the pi, so cannot install any basic software such as gcc. However I do have a computer runn...
by handuel
Sun Jul 29, 2012 1:49 pm
Forum: Troubleshooting
Topic: No sound after startx
Replies: 24
Views: 6853

Re: No sound after startx

The issue with permissions was the fact that you had read/write permissions, but not execute permissions to the file. For future refference, and to anyone reading the thread, execute permissions can be given using chmod +x "filename" Also I understand that you were frustrated when you said that's th...

Go to advanced search