-
Notifications
You must be signed in to change notification settings - Fork 119
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
Error Make #5
Comments
Same error here:
I used
I have the |
try dev_ctx->kref.refcount.refs instead of dev_ctx->kref.refcount.counter |
Hi @midaszhou , I try your advise and works, but I get this now:
Can you help me? |
I replaced "page_cache_release(pages[i])" with "put_page(pages[i]) " to pass this error. ... |
Now i get this:
Thanks for all your help @midaszhou |
@rodyoukai: |
Hi again @midaszhou your advise works perfect, I can run make in scr folder without errors, now when tray run make in sample folder I get this:
Please help me!!! |
@rodyoukai: |
Finally I got half of a 640x480 size picture on screen by USB2 link, It turns out that my monitor only support 24bits color format. |
Thanks @midaszhou you are awesome... |
I've fixed the compiler errors on kernel 4.11.0, and usb_control_msg() failure. Starting from some kernel version, the USB core discriminates against data buffer from stack (eg. local variables) when using usb_control_transfer. The following line shows the core team decides that buffer allocated from vmalloc() is banned when the client driver wishes to call usb_control_msg(). This is really rediculous. http://elixir.free-electrons.com/linux/v3.18/source/drivers/usb/core/hcd.c#L1503 anyway, please try the latest code and see if it helps. |
@fresco-fl2000 Thanks a lot!
Don't have datasheet of FL2000, so above is what I can figure out now. I think it's the problem of hardware set, other registers need to be set properly for FL2000 chip. Need help! |
Hi Midas, |
@fresco-fl2000 Yes, My embedded board which the dongle is attached to only supports USB2 link, but I assume it can work with low resolution pictures, since the dongle works OK attaching to Windows system by USB2 link also, Max. resolution reaches 800x600. |
Hi Midas, |
@fresco-fl2000: ...... [ 366.887530] bulk_main_completion: NOT in_riq() [ 366.986613] fl2000_surface_destroy:deleting surface(ce108000) user_buffer(0x49600000)/buffer_length(921600)/width(640)/height(480)/pitch(1920)/type(3),render_buffer(d1671000), surface_list_count(0) [ 366.986620] fl2000_surface_unmap(dev_ctx, surface)... |
Switching to COLOR_FORMAT_RGB_16_565, now I can get a stable picture on my screen, however the resolution must be set at 640x480. You can only see small party of a 800x600 resolution pic, and also unstable. I think that's because data compression is not yet applied. |
Hi,
I have this error when try command make:
I hope you can help me.
Regards...
The text was updated successfully, but these errors were encountered: