Go to advanced search

by kernelcode
Sun Nov 19, 2017 9:18 pm
Forum: Troubleshooting
Topic: raspistill GL scene yuv crashes Pi - please assist verification
Replies: 3
Views: 536

Re: raspistill GL scene yuv crashes Pi - please assist verification

This has been fixed in the latest firmware update - works fine now

https://github.com/raspberrypi/userland/issues/433 (closed)
by kernelcode
Tue Oct 17, 2017 7:11 pm
Forum: Troubleshooting
Topic: raspistill GL scene yuv crashes Pi - please assist verification
Replies: 3
Views: 536

Re: raspistill GL scene yuv crashes Pi - please assist verification

Happens for me too. Raspberry Pi 3, v1 camera.

Not just for raspistill either, in my own code which uses the Y, U, V textures it crashes in the same manner.

Using the Y plane is OK, but as soon as the U or V is included it crashes.
yuv_scene.jpg
yuv_scene.jpg (131.73 KiB) Viewed 446 times
by kernelcode
Wed Apr 13, 2016 7:14 am
Forum: General discussion
Topic: PiZero Roadmap
Replies: 159
Views: 64161

Re: PiZero Roadmap

LiPo charger?

Cheap, fairly non-invasive, two/three extra pads for a battery
by kernelcode
Mon Feb 29, 2016 6:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DMA SRC_INC not working as (I) expected
Replies: 5
Views: 729

Re: DMA SRC_INC not working as (I) expected

@jdb, I tried setting the width bits (contrary to the docs) and it made no difference. So I guess that's not it [ 117.593186] dma_mapped vaddr dd824000 -> paddr 0x1d824000 -> dma 0x1d824000 [ 117.608090] TI: 00000230 [ 117.613976] SRC: 1d824020 [ 117.619739] DST: 1d825000 [ 117.625379] LEN: 00000020...
by kernelcode
Mon Feb 29, 2016 10:11 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DMA SRC_INC not working as (I) expected
Replies: 5
Views: 729

Re: DMA SRC_INC not working as (I) expected

Hi Joan, I don't think this can be a caching problem. I have a couple of reasons for this: 1) I'm using the streaming DMA API to avoid caching problems (no the memory is not cache coherent, but I use the DMA API to perform cache maintenance before and after CPU/device accesses) - Granted, this could...
by kernelcode
Mon Feb 29, 2016 8:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DMA SRC_INC not working as (I) expected
Replies: 5
Views: 729

Re: DMA SRC_INC not working as (I) expected

That's not what the documentation says, is that a documentation error?
Source Transfer Width
1 = Use 128-bit source read width.
0 = Use 32-bit source read width.
Image

I'll give it a try tonight anyway.

Thanks
by kernelcode
Sun Feb 28, 2016 8:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DMA SRC_INC not working as (I) expected
Replies: 5
Views: 729

DMA SRC_INC not working as (I) expected

I'm playing around with the DMA engine, but it's not quite working like I expected. I'm trying to "repeat" one word from one memory buffer into another - think memset() but with a 32-bit value. I figured I could do this by setting DEST_INC and clearing SRC_INC in the DMA control block. I've set up t...
by kernelcode
Tue Jun 05, 2012 4:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C (BSC) Automatically aborts on error?
Replies: 2
Views: 1460

Re: I2C (BSC) Automatically aborts on error?

For what it's worth I've managed a workaround. My application will eventually have an AVR connected to the i2c bus anyway, so I've stuck an attiny on there, sniffing all the i2c transactions. If the transaction is directed at the LCD then it ACKs every byte for it. If anyone else runs into this prob...
by kernelcode
Mon Jun 04, 2012 12:15 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C installation
Replies: 12
Views: 4469

Re: I2C installation

Try installing the package (with dpkg -i) instead of extracting, and then rename the vmlinuz image, that worked for me. I have also compiled with this .config: http://pastebin.com/bAqN4pRW Using the rpi-i2cspi branch from here: https://github.com/bootc/linux.git (but I think that's outdated now) I c...
by kernelcode
Sun Jun 03, 2012 4:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C (BSC) Automatically aborts on error?
Replies: 2
Views: 1460

I2C (BSC) Automatically aborts on error?

This is a bit of a niche question - but maybe someone from Broadcom/with more knowledge could help? I'm using Chris Boot's i2c driver, seems to work fine looking on an oscilloscope. However, I'm using it to talk to an LCD which isn't quite i2c compliant - it will never ACK, instead the datasheet say...
by kernelcode
Sun Jun 03, 2012 12:06 pm
Forum: Beginners
Topic: SSH to Raspberry Pi without HDMI
Replies: 12
Views: 28629

Re: SSH to Raspberry Pi without HDMI

There is also the issue of trying to determine the IP address assigned to your rPi from your DHCP server. Chances are great your DHCP server is located on your ADSL router and you can find it there. If you are a noob (not that there is anything wrong with being a noob) you might try the next higher...
by kernelcode
Sun Jun 03, 2012 11:58 am
Forum: Advanced users
Topic: Auto start a script
Replies: 38
Views: 91184

Re: Auto start a script

Joe Schmoe wrote: It is also true that when you put it into the /etc/rc* sequence, if it fails, it gums up your booting process (and this can be fatal). You have to be careful what you put there. Human frailty and all that...
I didn't know this - why is that and what kind of issues are we talking about?
by kernelcode
Sun Jun 03, 2012 11:43 am
Forum: Advanced users
Topic: Auto start a script
Replies: 38
Views: 91184

Re: Auto start a script

I put stuff in /etc/rc.local if I want it to run on boot - it will run with root privileges (I think you could use sudo to stop that), and will run before login. The advantage in my mind is that you aren't leaving a logged-in terminal (though maybe you could automatically log out with your method to...
by kernelcode
Sat Apr 28, 2012 2:25 am
Forum: Staffroom, classroom and projects
Topic: The Official Raspberry Filling : Call for Contributions
Replies: 61
Views: 14286

Re: The Official Raspberry Filling : Call for Contributions

<t>daviewales said: <br/> <br/> <br/> Mjiig said: <br/> <br/> <br/> I've actually been thinking about creating a programming "quest" that gives you one very simple programming problem to start with after a basic introduction (modify this program so that it prints out the product not the sum), and th...
by kernelcode
Tue Nov 22, 2011 3:57 pm
Forum: General discussion
Topic: The equivalent of four UARTs
Replies: 5
Views: 1711

Re: The equivalent of four UARTs

<t>I have no idea how you plan on soliciting the actual communication - but the problem I can see with I2C and SPI is that they are both master-slave buses. (and yes, both are bi-directional).<br/> You could, for instance, have a node surrounded by 4 others (N, E, S, W as you put it), with the centr...

Go to advanced search