![]() |
#16 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#17 | |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
I tried to build the module yesterday. But my module isn't loaded (wrong format). Onyx kernel module signature: Code:
vermagic: 2.6.35.3-998-ga1cd8a7 preempt mod_unload modversions ARMv7 Code:
vermagic: 2.6.35.3-899-g9b1a262 mod_unload modversions ARMv5 1. Turn on ARMv7 2. Turn on preempt 3. Manually correct 2.6.35.3-899-g9b1a262 -> 2.6.35.3-998-ga1cd8a7 right? Last edited by sergeyvl12; 02-17-2012 at 07:56 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
|
|
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,042
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
|
![]() |
![]() |
![]() |
#20 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
Are we talking about a plain vanilla 2.6.35.3 kernel tree here, or are there additional patches? (The http://opensource.onyx-international.com/ only contains an older 2.6.26) Are all drivers in the mainline kernel, or are there binary modules that would stop someone from switching to a newer kernel? Last, but not least: Does the current kernel support kexec? Cheers! |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2012
Device: Onyx M92
|
Problem
FDD, сould you give me a kernel config file please?
I've enabled ARMv7, preempt and manually corrected local version, but i've got error "Invalid module format (-1): Exec format error " and "no symbol version for module_layout" message in dmesg if i try to run it on onyx. I think my problem is in config file, but i do not know which parameter should i set to solve problem... |
![]() |
![]() |
![]() |
#22 |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
I'd be interested in the .config as well.
Moreover a request: Could someone who's successfully compiled software for the M92 write a short summary/primer on using the SDK under https://wiki.mobileread.com/wiki/Boox...re_development ? I'm currently doing my first steps and am running into probably silly problems (currently cmake complains about not knowing ENABLE_QT when I try to compile a modified calculator version as a first test) Maybe the steps to compile ones first program amongst those available in the std. repositories? Even stuff that might be trivial to you would help newbies to the sdk ![]() Cheers and (hoping ![]() |
![]() |
![]() |
![]() |
#23 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
Karma: 669
Join Date: Jan 2012
Device: M92
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
|
|
![]() |
![]() |
![]() |
#25 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
![]() I'm currently trying to compile the SDK itself and run into the problem that ld complains about undefined references linking stardict_base for dictionary_test . It seems like libzip were missing (gzopen, gzread, gzclose missing). Did you run into this problem, too? |
|
![]() |
![]() |
![]() |
#26 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
Karma: 669
Join Date: Jan 2012
Device: M92
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
![]() A (maybe dumb) question w.r.t. the missing patches you mentioned in a previous post: Doesn't the GPL force them to release them? Maybe it would make sense to ask them or add a respective item to the M92 wishlist? @peterx: thx, I'll try ![]() |
|
![]() |
![]() |
![]() |
#28 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
rake -f Rakefile.imx508 build:x86:static <- ran fine make <- there's no Makefile in the SDK top directory - so it naturally failed rake -f Rakefile.imx508 build:arm:static <- produced exactly the same error I got before: Code:
Linking CXX executable ../../../unittests/dictionary_test CMakeFiles/dictionary_test.dir/qstardict_plugin/stardict_base.cpp.o: In function `stardict::WordlistIndex::load(QString const&, unsigned long, unsigned long)': stardict_base.cpp:(.text+0x2350): undefined reference to `gzopen' stardict_base.cpp:(.text+0x23e4): undefined reference to `gzread' stardict_base.cpp:(.text+0x23f4): undefined reference to `gzclose' collect2: ld returned 1 exit status make[2]: *** [unittests/dictionary_test] Error 1 make[1]: *** [code/src/dictionary/CMakeFiles/dictionary_test.dir/all] Error 2 make: *** [all] Error 2 rake aborted! set up the environment variables, and checked out the booxsdk git. The commands were executed in the top directory of the downloaded git repository. Update: The missing library however seems to be libz... and is present in the /opt/onyx/... subdirectories... but apparently was not found However, after starting over with a clean git checkout, the build:x86:static doesn't run through anymore, but complains about missing assembler instructions... I have a feeling that it's using the wrong toolchain right now... I guess I'd better call it a day ![]() Last edited by kodomo; 02-27-2012 at 05:58 PM. |
|
![]() |
![]() |
![]() |
#29 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
now build:arm:static runs fine... next thing will be to check what's wrong with build:x86:static I'll update the wiki... Last edited by kodomo; 02-28-2012 at 04:57 AM. |
|
![]() |
![]() |
![]() |
#30 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
Karma: 669
Join Date: Jan 2012
Device: M92
|
Quote:
It worked for me with this patch (I'll also send it to onyx): diff --git a/code/src/dictionary/CMakeLists.txt b/code/src/dictionary/CMakeLists.txt index ad2398a..326c928 100644 --- a/code/src/dictionary/CMakeLists.txt +++ b/code/src/dictionary/CMakeLists.txt @@ -32,7 +32,7 @@ QT4_ADD_RESOURCES(dictionary_ui_res ${resource_srcs}) ADD_LIBRARY(dictionary ${SRCS} ${MOC_SRCS} ${dictionary_ui_res}) -TARGET_LINK_LIBRARIES(dictionary onyx_ui ${ADD_LIB}) +TARGET_LINK_LIBRARIES(dictionary onyx_ui ${ADD_LIB} z) ########### Unit Tests ##################### INCLUDE_DIRECTORIES(.) @@ -40,6 +40,6 @@ ADD_EXECUTABLE(dictionary_test unittests/libdict_test.cpp ${SRCS} ${MOC_SRCS}) TARGET_LINK_LIBRARIES(dictionary_test onyx_sys onyx_screen onyx_ui dictionary tts sound ${QT_LIBRARIES} - ${ADD_LIB}) + ${ADD_LIB} z) SET_TARGET_PROPERTIES(dictionary_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${TEST_OUTPUT_PATH}) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
python on pocketbook ... and on onyx boox m92 too! | jbaach | Onyx Boox | 19 | 04-16-2012 07:34 PM |
Pocketbook 903 / Onyx Boox M92 comparison | jbaach | PocketBook | 8 | 03-04-2012 08:40 AM |
Pocketbook 903 / Onyx Boox M92 Vergleich | jbaach | PocketBook | 7 | 03-02-2012 02:02 PM |
Onyx Boox M92 available in November | hansokumake | Onyx Boox | 47 | 12-20-2011 05:46 AM |
Onyx Boox m92 / Pocketbook 903 Vergleich | jbaach | Andere Lesegeräte | 0 | 12-13-2011 12:22 PM |