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

Can't extract symvers from the kernel from Android preinstalled on Cubieboard 2 #1

Open
vi opened this issue Feb 22, 2014 · 1 comment

Comments

@vi
Copy link

vi commented Feb 22, 2014

The file: http://vi-server.org/pub/zImage_from_cubieboard2

The error:

$ python /mnt/src/git/extract-symvers/extract-symvers.py -e le -B 0x40000000 zImage  
Traceback (most recent call last):
  File "/mnt/src/git/extract-symvers/extract-symvers.py", line 139, in <module>
    main()
  File "/mnt/src/git/extract-symvers/extract-symvers.py", line 135, in main
    for s, crc, t in kernel.symbols():
  File "/mnt/src/git/extract-symvers/extract-symvers.py", line 102, in symbols
    for t, s in symsearch.items():
AttributeError: 'NoneType' object has no attribute 'items'
@vi
Copy link
Author

vi commented Feb 22, 2014

Looks like I was using incorrect base address. Retrying with 0xc0008000 produced usable Module.symvers file.

Maybe the tool should detect attempts to use it with incorrect base address and show more friendly message with a list of "typical" base addresses?

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

1 participant