Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only call reloc when reloc_len is non-zero #1

Open
wants to merge 18 commits into
base: rpmsg-543x
Choose a base branch
from

Conversation

vstehle
Copy link

@vstehle vstehle commented May 22, 2012

Signed-off-by: Vincent Stehlé [email protected]

Nicolas Dechesne and others added 18 commits May 29, 2012 11:04
In order to have the linker include the resource table in the
baseimage, the resource variable needs to be used in some form.
Otherwise the optimization in the linker detects that this is a
non-referenced variable and removes it from the baseimage. To
alleviate this, a dummy trace was used to make sure the resource
table section is present in the firmware binary.

The new IpcMemory module inherently adds this trace, and so the
trace in DCE image is no longer required and is removed.

Signed-off-by: Nicolas Dechesne <[email protected]>
With sysbios-rpmsg >= 1.10+ there is a new resource table mechanism,
and we need to update our VirtToPhys function.

Fortunately, this API is now implemented and provided by rpmsg.

Signed-off-by: Nicolas Dechesne <[email protected]>
This is now taken care by rpmsg after moving to 1.20+

Signed-off-by: Nicolas Dechesne <[email protected]>
It isn't enough that we use the correct address.. HDVICP2 needs to as
well.

Conflicts:

	ducati/ti/dce/ivahd.c
	firmware/ducati-m3-core0.xem3
The 'package' ti.dce both had the DCE code, as well as the
baseimage code (BIOS cfg, main(), ...). With this change we split the
DCE code from the baseimage. there is now:
 - ti.dce
 - ti.dce.baseimage

that will allow a simpler reuse of ti.dce into other base images

there is still some clean up that can be done in the base image to move
the thread creation, and some config in ti.dce, and this will be done
in further commits. This commit only changes the file 'location' without
changing any implementation detail.

Signed-off-by: Nicolas Dechesne <[email protected]>
Configure ti.dce so that it automatically registers a startup function
when it's being used, so that the base image that uses DCE does not need
to make the call, it's managed automagically.

As such, dce_init() will be called when BIOS_start() is called.

Signed-off-by: Nicolas Dechesne <[email protected]>
With this image, we can decode h264 video on OMAP5 with kernel 3.4.
(ducati-build commit: d5f49bdcd65412c52372aedea1cee47284f19ec0)

Signed-off-by: Vincent Stehlé <[email protected]>
This is needed to be able to share the fd opened by dce_init
XDM_MEMTYPE_BO_OFFSET can be used in VIDDEC3_process outBufs to
signal that a buffer descriptor denotes an offset to the bo
passed in the first descriptor. Useful for example to decode NV12
into a single bo.
Signed-off-by: Vincent Stehlé <[email protected]>
- Fix SMP define
- Enable use of smp platforms with $FOR_SMP environment variable.

Signed-off-by: Vincent Stehlé <[email protected]>
Signed-off-by: Vincent Stehlé <[email protected]>
Signed-off-by: Vincent Stehlé <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant