Go to advanced search

by foxcube
Mon Oct 22, 2018 11:15 am
Forum: Bare metal, Assembly language
Topic: Moving from RPi Zero to 3+
Replies: 2
Views: 1825

Re: Moving from RPi Zero to 3+

Thanks for the reply.

It did boot successfully before I removed the Raspbian kernel files and replaced them with my bare metal kernel, so I assume that the only thing it doesn't like is my kernel.

Are there any files on the SD card that should be removed when running bare metal?
by foxcube
Fri Oct 19, 2018 3:27 pm
Forum: Bare metal, Assembly language
Topic: Moving from RPi Zero to 3+
Replies: 2
Views: 1825

Moving from RPi Zero to 3+

I haven't been able to get to the ACT LED flashing stage yet, so I expect I'm missing something fundamental. changed LED to GPIO29 changed -mfpu=vfp to -mfpu=neon changed -march=armv6zk -mtune=arm1176jzf-s to -march=armv8-a -mtune=cortex-a53 removed the vfp setup I'm using an SD card that has succes...
by foxcube
Tue Oct 30, 2012 9:39 pm
Forum: General discussion
Topic: Hauppauge PVR-USB2 MPEG-2 Capture.
Replies: 8
Views: 6086

Re: Hauppauge PVR-USB2 MPEG-2 Capture.

Thanks. I'll have a look.

Brian
by foxcube
Tue Oct 23, 2012 5:06 pm
Forum: General discussion
Topic: Hauppauge PVR-USB2 MPEG-2 Capture.
Replies: 8
Views: 6086

Hauppauge PVR-USB2 MPEG-2 Capture.

Has anyone had any success with the above? It is seen by the system and I can set and check configuration, but when I try to read data, the program locks up. I'm accessing it with the V4L2 API and as I'm trying to learn that and Linux at the same time, it's extremely likely that it's something I'm n...
by foxcube
Fri Jul 27, 2012 11:56 am
Forum: C/C++
Topic: GNU assembler problem.
Replies: 6
Views: 1838

Re: GNU assembler problem.

Thanks for all the suggestions. If I use LDR R1,=FRED instead of ADRL R1,FRED then it's OK in a small program.

In a large program, the compiler gives 'Literal pool needs to be closer'. I need to find out how to define that.

Brian
by foxcube
Mon Jul 16, 2012 10:23 am
Forum: C/C++
Topic: GNU assembler problem.
Replies: 6
Views: 1838

Re: GNU assembler problem.

Thanks for the reply. I'll post some more code when I can get to that machine. Your code segment doesn't appear to write to FRED, so it won't show the problem I'm getting. I don't have a problem reading from FRED. It's as though it's put FRED in a read only section. I'm using Debian Wheezy if that m...
by foxcube
Sat Jul 14, 2012 1:22 pm
Forum: C/C++
Topic: GNU assembler problem.
Replies: 6
Views: 1838

GNU assembler problem.

I can't seem to write to any data that I define in my assembler program. It gives a segmentation fault. Reading is fine. e.g. fred: .word initfred: adr r0,fred mov r1,#0 str r1,[r0] I've tried using .data and .text, but then the assembler complains that fred is in a different section. I must be miss...
by foxcube
Wed Jun 20, 2012 9:32 am
Forum: Troubleshooting
Topic: Cannot get any mouse to work.
Replies: 2
Views: 582

Re: Cannot get any mouse to work.

Thanks. I'll give it a try.

Brian
by foxcube
Sat Jun 16, 2012 6:23 pm
Forum: Troubleshooting
Topic: Cannot get any mouse to work.
Replies: 2
Views: 582

Cannot get any mouse to work.

Hi, I'm using debian6-19-04-2012, a powered hub for keyboard and mouse and a 5v 1.2A supply (RS). The lights on the optical mice come on. I cannot make the mouse move in the GUI (startx). I've tried 2 USB mice, into the hub and directly into the PI and also a PS2 mouse with a USB converter. Any idea...

Go to advanced search