zlacker

[parent] [thread] 4 comments
1. ctstov+(OP)[view] [source] 2015-10-27 16:45:15
Terrifying! Is there a way to disable that?
replies(2): >>bravo2+O1 >>rwmj+24
2. bravo2+O1[view] [source] 2015-10-27 17:01:27
>>ctstov+(OP)
I don't know which chip OP is using but no you can't. It is usually a small CPU which is part of the GPU video decoder that is used as the 'boot' processor. It usually executes first level ROM code and fetches the first stage boot loader from flash, USB, etc.

It can also do PMU control when the machine is 'turned off'. The alternative is to use an external microcontroller. It is actually quiet useful.

What is your reason for wanting to disable it?

replies(1): >>gvb+m4
3. rwmj+24[view] [source] 2015-10-27 17:16:19
>>ctstov+(OP)
It's basically a fundamental part of the SoC, so I doubt it could be disabled.
◧◩
4. gvb+m4[view] [source] [discussion] 2015-10-27 17:18:25
>>bravo2+O1
It is another "DMA hacking" vector, one that is always on. https://en.wikipedia.org/wiki/DMA_attack
replies(1): >>bravo2+HU
◧◩◪
5. bravo2+HU[view] [source] [discussion] 2015-10-28 03:54:58
>>gvb+m4
I have to disagree.

Those core execute the codes from their local SRAM which can only be written to under very specific conditions. You can't arbitrarily write to their SRAMs.

An SOC has various bus arbitrators that are built into hardware which control the dataflow. It is part of the chip's backbone. I've never seen an architecture in which you could easily write to the aux core's SRAM. This is partially because those cores are often responsible for DRM therefore access to them is very restricted, but also because it is expensive (in terms of gates) and unnecessary to hang them off the main bus.

It is a very unlikely "DMA hacking" vector.

The peripheral can just as easily DMA to main memory and overwrite kernel code if the memory apertures are set wide open to allow peripheral to DMA anything into the host. Additionally unless you have PCIe or a similar bus with mastering capability a peripheral can't DMA.

[go to top]