Re: [SailfishDevel] mersdk and kernel-devel
Hi, On 11.01.2014 14:30, Kimmo Lindholm wrote: Ok, I need to build the complete kernel to get Module.symvers … but I get error with “make modules”…. HELP I tried building that tree with my mer SDK and it worked.. I used following steps (inside mersdk): sb2 make sbj_defconfig sb2 make -j8 zImage sb2 make -j8 modules I use my own Jolla sb2 target, but the kernel should pretty much build without dependecies. Might be just some tool missing. Check if you have following in your SDK target: BuildRequires: python BuildRequires: pkgconfig(ncurses) BuildRequires: perl BuildRequires: kmod >= 9 BuildRequires: fdupes BuildRequires: binutils-devel BuildRequires: elfutils-devel BuildRequires: python-devel BuildRequires: flex BuildRequires: bison - Kalle make -f /usr/src/kernels/3.4.0.20131212.3/scripts/Makefile.build obj=fs/lockd /usr/src/kernels/3.4.0.20131212.3/scripts/gcc-wrapper.py gcc -Wp,-MD,fs/lockd/.clntlock.o.d -nostdinc -isystem /usr/lib/gcc/armv7hl-meego-linux-gnueabi/4.6.4/include -I/usr/src/kernels/3.4.0.20131212.3/arch/arm/include -Iarch/arm/include/generated -Iinclude -I/usr/src/kernels/3.4.0.20131212.3/include -include /usr/src/kernels/3.4.0.20131212.3/include/linux/kconfig.h -I/usr/src/kernels/3.4.0.20131212.3/fs/lockd -Ifs/lockd -D__KERNEL__ -mlittle-endian -I/usr/src/kernels/3.4.0.20131212.3/arch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -marm -fno-dwarf2-cfi-asm -fstack-protector -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fomit-frame-pointer -g -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(clntlock)" -D"KBUILD_MODNAME=KBUILD_STR(lockd)" -c -o fs/lockd/.tmp_clntlock.o /usr/src/kernels/3.4.0.20131212.3/fs/lockd/clntlock.c scripts/genksyms/genksyms: option requires an argument -- 'r' Usage: genksyms [-adDTwqhV] > /path/to/.tmp_obj.ver -a, --archSelect architecture -d, --debug Increment the debug level (repeatable) -D, --dumpDump expanded symbol defs (for debugging only) -r, --reference file Read reference symbols from a file -T, --dump-types file Dump expanded types into file -p, --preservePreserve reference modversions or fail -w, --warningsEnable warnings -q, --quiet Disable warnings (default) -h, --helpPrint this message -V, --version Print the release version close failed in file object destructor: sys.excepthook is missing lost sys.stderr make[3]: *** [fs/lockd/clntlock.o] Error 1 make[2]: *** [fs/lockd] Error 2 make[1]: *** [fs] Error 2 make: *** [sub-make] Error 2 *From:*devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] *On Behalf Of *Kimmo Lindholm *Sent:* Friday, January 10, 2014 11:47 PM *To:* Sailfish OS Developers *Subject:* Re: [SailfishDevel] mersdk and kernel-devel It took couple of hours to figure everything out but finally it looks promising… [SB2 sdk-build SailfishOS-armv7hl] I have no name!@SailfishSDK 62 $ modinfo hello.ko filename: /home/mersdk/testit/62/hello.ko depends: vermagic: 3.4.0-perf-g8401fcf SMP preempt mod_unload modversions ARMv7 -kimmo *From:*devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] *On Behalf Of *Jonni Rainisto *Sent:* Friday, January 10, 2014 5:34 PM *To:* Sailfish OS Developers *Subject:* Re: [SailfishDevel] mersdk and kernel-devel I think that someone did source code request and posted the kernel online: http://talk.maemo.org/showpost.php?p=1395881&postcount=8 And if you don't trust random internet urls there is source code request information in devices about screen. re, Jonni *From:*devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Kimmo Lindholm [kimmo.lindh...@eke.fi] *Sent:* Friday, January 10, 2014 4:58 PM *To:* devel@lists.sailfishos.org *Subject:* [SailfishDevel] mersdk and kernel-devel ahoy, How can i install kernel-devel to mersdk for compiling modules for SailfishOs-armv7hl ? Can’t find module.h -kimmo ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] The Other Half I2C
Hi, For now, it's root only. - Kalle On 28.12.2013 01:31, Kimmo Lindholm wrote: Should this work? in path /sys/devices/platform/reg-userspace-consumer.0 [nemo@localhost reg-userspace-consumer.0]$ echo 1 > state -bash: state: Lupa evätty or need root access? *Lähettäjä:* devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] käyttäjän Kimmo Lindholm [kimmo.lindh...@eke.fi] puolesta *Lähetetty:* 23. joulukuuta 2013 18:20 *Vastaanottaja:* Sailfish OS Developers *Aihe:* Re: [SailfishDevel] The Other Half I2C Then I have to just sit and wait. Or is there any magic that I can store to the eeprom to keep it active? -kimmo *From:*devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] *On Behalf Of *Jonni Rainisto *Sent:* Monday, December 23, 2013 6:06 PM *To:* Sailfish OS Developers *Subject:* Re: [SailfishDevel] The Other Half I2C NOTE: This API is not supported in initial Jolla device software. It will be available from 1.0.2.* and later Sailfish OS releases. # Enable VDD echo 1 > /sys/devices/platform/reguserspaceconsumer.0/state # Disable VDD echo 0 > /sys/devices/platform/reguserspaceconsumer.0/state So unfortunately you have to wait for next update before you can unable 3.3V pin from user space. But that should happen 'soon'... *From:*devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Kimmo Lindholm [kimmo.lindh...@eke.fi] *Sent:* Monday, December 23, 2013 4:49 PM *To:* devel@lists.sailfishos.org *Subject:* [SailfishDevel] The Other Half I2C Anchors aweigh! Just hooked up scope to I2C bus on pogo pins, and there is life! Can someone point me in correct direction to enable 3.3V pin? 3.3V seems to be active just for a while when I press the cover detector switch and after eeprom in address 0x50 is tested 3.3V is gone. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] journalctl workaround to see console.log
Hi, On Mon, 2013-12-16 at 22:29 +0200, Kalle Vahlman wrote: > 2013/12/16 : > > Hi All > > > > As reported in a previous thread, the latest SDK release does not spool > > console.log output to the QtCreator application output. journalctl has been > > suggested as a workaround. > > > > Having experimented with journalctl, Is it possible that console.log output > > to journalctl either gets lost, or is reported many seconds / minutes later? > > That seems to be the behaviour I am observing. > > If you flood messages, they might be suppressed. There's a limit of > 200/10s or so. If that happens you should see a message about it in > the journalctl output. There are some knobs you can tune in /etc/systemd/journald.conf Hope it helps. - Kalle > > -- > Porkkalankatu 20, FI-00180 Helsinki > Tel +358 9 8567 6400 > Fax +358 9 8567 6401 > www.movial.com > ___ > SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] R: QML: Unable to open input file: No such file or directory
Hello, On Tue, 2013-06-04 at 18:08 +0200, christopher.l...@thurweb.ch wrote: > Hi Wim > > I think it may well be down to something you are doing in > GroupBox.qml. Can you post the content of this component? > > I get the same error from one of my core apps when it starts up on the > Sailfish Emulator > > % Display on requested > % Qml debugging is enabled. Only use this in a safe environment! > % Using the meego graphics system > % libEGL warning: DRI2: failed to authenticate > % Unable to open input file: No such file or directory > % QFeedbackFFMemless::QFeedbackFFMemless(QObject*) Error: did not find > vibra spi device! > % defaultServiceProvider::requestService(): no service found for - > "com.nokia.qt.camera" > % Camera error: "The camera service is missing" > > The app actually starts up despite these errors. I suspect the "Unable > to open input file" is down to Feedback / Haptics which I have in this > project, but I have not yet got around to proving it (the "vibra spi" > line immediately after this points in that direction, and I guess it > is possible that the emulator does not (yet) properly support haptics. Haptics support depends on if there is an force feedback input device that supports FF_RUMBLE and FF_PERIODIC (basically a ff-memless kernel driver) in the kernel that is being run. The "vibra spi" AFAIK is N9 specific vibra driver. I guess in theory if you plug in a force feedback joystick with ff-memless driver support, it might vibrate. Though not sure how the resources are available in kernel run by a virtual machine.. - Kalle http://freegamedev.net/wiki/Force_Feedback > > On the train on the way home later this evening I will comment out the > haptics stuff and see if the error disappears. > > tot zins > > Chris > > > > > Zitat von "Wim de Vries" : > > > Even more strange > > I have added QML/pages to qml.files in .pro > > GroupBox comes up now, but the error message is still there. > > > > The loading page (SecondPage.qml) and the to-be loaded page > > (GroupBox.qml) are in the same directory. > > Why is it not found by default? > > > > r > > wim > > > > > > > > On 06/04/2013 03:48 PM, Wim de Vries wrote: > >> Additinal note: > >> If I load in FirstPage it does work. > >> If I load it in ThirdPage it dowsn't. > >> > >> > >> > >> On 06/04/2013 03:31 PM, Wim de Vries wrote: > >>> On 06/04/2013 02:56 PM, and.berna...@gmail.com wrote: > > Maybe you forgot to add it to the qml.files variable in the .pro > file? Or to the .qrc, if you're using resources :) > >>> pro: > >>> # QML files and folders > >>> qml.files = *.qml pages cover main.qml > >>> > >>> and GroupBox.qml as well as MButtom.qml are in the pages directory > >>> (next to the qmls). > >>> > >>> r > >>> wim > >>> > >>> > >>> > *Da: *Wim de Vries > *Inviato: *martedì 4 giugno 2013 14:53 > *A: *devel@lists.sailfishos.org > *Oggetto: *[SailfishDevel] QML: Unable to open input file: No such file > or > directory > > > Hi, > I am sandboxing the sailfishapplication. > In the page dir, I created my MButtom.qml. > This one is loaded in the SecondPage. > Works fine. > I also have a GroupBox.qml. > When I load this one I get: > > Unable to open input file: No such file or directory > > > SecondPage.qml: > > import QtQuick 1.1 > import Sailfish.Silica 1.0 > > Page { > id: page2 > MButton > { > id: r1 > buttonText: "MBUTTON" > } > > GroupBox > { > id : altWindow > } > > } > > Any hints. > Thanks. > > > > > > > > > > ___ > SailfishOS.org Devel mailing list > >>> > >>> > >>> > >>> ___ > >>> SailfishOS.org Devel mailing list > >> > >> > >> > >> ___ > >> SailfishOS.org Devel mailing list > > > > > > > ___ > SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list