Skip to content

userland repo is missing edidparser and vcdbg #56

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

Closed
lurch opened this issue Jun 29, 2013 · 29 comments
Closed

userland repo is missing edidparser and vcdbg #56

lurch opened this issue Jun 29, 2013 · 29 comments

Comments

@lurch
Copy link
Contributor

lurch commented Jun 29, 2013

As discussed here raspberrypi/firmware@470b34d the source-code for edidparser and vcdbg is currently unavailable. AFAICT this makes them the only part of the ARM-side code that isn't yet open-sourced.

Creating this issue as a reminder that they ought to be added at some point...

@lurch
Copy link
Contributor Author

lurch commented Nov 15, 2013

I guess as of raspberrypi/firmware@35d9905 then this repo is also missing the source code for mmal_vc_diag

@timg236
Copy link
Contributor

timg236 commented Nov 15, 2013

I'm hoping that mmal_vc_diag, vcdbg and the libdebug_sym source can be released. It's not particularly exciting code but there's a couple of dependencies in the firmware build system to untangle first. So, rather than delay mmal_vc_diag which can be quite useful for debugging camera issues I created an initial patch to release the binary.

@lurch
Copy link
Contributor Author

lurch commented Nov 15, 2013

Oh, I wasn't suggesting that you shouldn't have released mmal_vc_diag just because the source hasn't been published - that's entirely your prerogative.
I created this issue as more of a 'reminder' that it would be nice if all the ARM-side code could be open-sourced :)

@timg236
Copy link
Contributor

timg236 commented Nov 15, 2013

No worries, tracking issues like this on GitHub is a good idea because it's easy to forget these sorts of tools.

@wbx-github
Copy link

Hi,

is there any progress made in publishing vcdbg?
I wanna use it on a uClibc based system.

best regards
Waldemar

@lurch
Copy link
Contributor Author

lurch commented Feb 24, 2015

Just going through some old bugs, and I see that the sources for mmal_vc_diag and libdebug_sym mentioned by @timgover above are now in the userland repo. Which just leaves the original edidparser and vcdbg as the non-source binaries.

@wbx-github perhaps you could use http://unix.stackexchange.com/questions/46478/join-the-executable-and-all-its-libraries or http://stackoverflow.com/questions/16958716/convert-a-dynamically-linked-elf-binary-to-statically-linked as a workaround? (haven't tried either option myself, just found them from googling)

@kenrestivo
Copy link

I too would like to have the source code to vcdbg. Thanks.

@Ruffio
Copy link

Ruffio commented Jun 26, 2015

@lurch is this still an issue?

@XECDesign
Copy link
Contributor

yes

@Ruffio
Copy link

Ruffio commented Jun 26, 2015

@lurch any comments on this one?

@TheSin-
Copy link
Contributor

TheSin- commented Apr 13, 2016

I just noticed that my repo does not have vcdbg/edid_parser, I'd like to be able to compile and armel/armhf and arm64 version of these for my dist, is there any chance these may become open someday, for those of us that don't want to use raspbian?

@JamesH65
Copy link
Collaborator

JamesH65 commented Dec 5, 2017

@XECDesign @lurch Any chance we can close this?

@lurch
Copy link
Contributor Author

lurch commented Dec 5, 2017

@JamesH65 If you want to add edidparser and vcdbg to https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps then sure 😉

@JamesH65
Copy link
Collaborator

JamesH65 commented Dec 5, 2017

I've no idea where the source is! @popcornmix might have a better idea. Not sure if the licence is OS though.

@6by9
Copy link
Contributor

6by9 commented Dec 5, 2017

edid_parser is copyright Broadcom and pulls in various other libraries.
Based on a quick look I'm not sure what edidparser gives you over edid-decode (available from the standard Raspbian repos).

vcdbg likewise has a large number of dependencies, and is copyright Broadcom.

@lurch
Copy link
Contributor Author

lurch commented Dec 5, 2017

...in which case, either this ticket should remain open indefinitely; or README.md should be updated to say that this repo will never include the source for the edidparser and vcdbg binaries that the firmware repo includes. IMVHO of course.

@pelwell
Copy link
Contributor

pelwell commented Dec 5, 2017

or README.md should be updated to say that this repo will never include the source for the edid_parser and vcdbg binaries that the firmware repo includes.

I think "...does not contain the source for the edid_parser and vcdbg binaries due to licensing restrictions." would be preferable.

@JamesH65
Copy link
Collaborator

JamesH65 commented Dec 5, 2017

Which README.md needs updating? I'll fix it when I know!

@pelwell
Copy link
Contributor

pelwell commented Dec 5, 2017

This one: https://github.com/raspberrypi/userland/blob/master/README.md

@JamesH65
Copy link
Collaborator

JamesH65 commented Dec 5, 2017

OK, updated the README, so closing.

@JamesH65 JamesH65 closed this as completed Dec 5, 2017
@lurch
Copy link
Contributor Author

lurch commented Dec 5, 2017

Thanks @JamesH65 👍

@Merlinstail
Copy link

Merlinstail commented Jan 14, 2018 via email

@pelwell
Copy link
Contributor

pelwell commented Jan 14, 2018

Might be an idea to add where those can be obtained from in either source
or binary form

To what does "those" refer? vcdbg and edid_parser, as explained, are proprietary Broadcom code and will not be released in source form. edid-decode is available in Raspbian - it's a standard Debian package, so sudo apt-get install edid-decode. You can download (and build) the source in the usual way - see: https://wiki.debian.org/apt-src

@jakemagee
Copy link

I think @Merlinstail was asking where the binary form of vcdbg and edid_parser can be obtained. It appears to be here ... https://github.com/raspberrypi/firmware/tree/master/opt/vc/bin , and of course both are located in /usr/bin/ on the Raspbian images. Also, it appears that "edid_parser" is actually "edidparser" now? Although when ran with no arguments, the help info still references "edid_parser".

@jakemagee
Copy link

Opened raspberrypi/firmware#927 to see if the edidparser / edid_parser naming needs fixing.

@lurch
Copy link
Contributor Author

lurch commented Jan 16, 2018

It appears to be here ... https://github.com/raspberrypi/firmware/tree/master/opt/vc/bin

Yeah, that's the softfp version, and the hardfp version (as used in Raspbian) is at https://github.com/raspberrypi/firmware/tree/master/hardfp/opt/vc/bin
(IIRC once upon a time there were separate softfp and hardfp versions of Debian for the Raspberry Pi)

Also, it appears that "edid_parser" is actually "edidparser" now?

Hmm, looking at both https://github.com/raspberrypi/firmware/commits/master/hardfp/opt/vc/bin/edidparser and https://github.com/raspberrypi/firmware/commits/master/opt/vc/bin/edidparser it seems like the binary has always been named edidparser, so I must have made a typo when originally creating this issue :-/

EDIT: I've now edited all my previous comments as appropriate to fix the filename.

@lurch lurch changed the title userland repo is missing edid_parser and vcdbg userland repo is missing edidparser and vcdbg Jan 16, 2018
@mc-requtech
Copy link

If source is not feasible, maybe at least statically built binaries? The way things are now it's not possible to run vcdbg on a musl or uClibc system, which is rather unfortunate.

@lurch
Copy link
Contributor Author

lurch commented Mar 16, 2022

@mc-requtech
Copy link

@lurch Thank you. Looks very unofficial but it does work. 🎉

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

No branches or pull requests