Re: [Gta04-owner] QtMoko2 progress

2018-03-01 Thread H. Nikolaus Schaller
Dear tinkerers and readers,
it is time for another update:

* we have brought the Jessie and Wheezy source code in better sync [1]
* in total we currently have just 5 patches on top of Wheezy
  to get it compiled and linked and installed on Jessie
* we have fixed some wrong ALSA mixer states
* some (invisible) warnings have been fixed - just to be safe
* there is a script for easier debugging on the device (it runs qpe
  under the control of gdb and disables auto-suspend)
* Andreas has found some more power-saving patches for the kernel

The Jessie version has a significant bug (a double-free) where we
only know that it comes from QSmoothListPrivate::dereferenceItem
called by libQtCore.so.4 while closing e.g. the Calendar.

This seems to be very difficult to track down since the first free()
must have been done unnoticed much earlier in code.

And it is not at all obvious how this comes from compiling on Jessie
and adding 5 patches. It might be a gcc bug, or a bug that reveals
itself only when using a newer gcc or newer APIs of some libs.

This means at the moment we can only recommend to use the Wheezy
version. Unless we can fix that in source code.

Finally, I have installed QtMoko/Wheezy through makesd on an
OpenPandora SD card and the result is promising:

https://twitter.com/goldelico/status/969214757109628929

So it might at least basically work at on the PyraPhone as well.

BR and happy tinkering,
Nikolaus

[1]: http://git.goldelico.com/?p=gta04-qtmoko.git;a=summary
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


[Gta04-owner] QtMoko2 progress

2018-02-24 Thread H . Nikolaus Schaller
Hi,
here is first progress and an update:

* I have back-ported most of the DT-kernel patches to the Wheezy version
  so that touchscreen and other components are working now:
  http://git.goldelico.com/?p=gta04-qtmoko.git;a=shortlog;h=refs/heads/wheezy
* Theme packages are now also provided (they were built but not copied
  from the build to the download server). See:
  
http://download.goldelico.com/letux-debian-rootfs/debian/dists/jessie/main/binary-all/?C=M;O=D
* I have fixed an annoying compile warning
* I have tried to flash QtMoko/Jessie to NAND but it seems to be 1-2% too big :)
  But we can certainly strip off e.g. man pages...
* The Wheezy image is small enough.
  Here is a Quick HowTo for the really brave and fearless tester:
  1. DEV=/dev/sdb ./makesd qtmoko -r 
http://download.goldelico.com/letux-debian-rootfs/20180224-wheezy-7.11-armhf-qtmoko.tbz
  2. boot
  3. log into some console (RS232/USB+Ethernet/Terminal)
  4. cd /root; ./flash-nand
  But it does not boot for me (looks as if Debian tries to fsck the ubifs 
NAND...)

Some words about how I have setup the build process:

* I have checked out the git repo on my workstation for easy editing by known 
tools
* my workstation has an Ethernet connection to an OMAP5432EVM (or USB to a 
PocketBone)
* rsync and ssh are used to send the files to the EVM and start the build 
process in a chroot
* build results (.deb .dsc, .tgz) are pulled through ssh to the workstation
* if everything goes well, they are uploaded to the Goldelico download server
  and the Debian repository index is rebuilt
* finally, prepackes binaries for makesd are created on the download server

A build (with ccache filled) takes approx. 180-200 minutes on the OMAP5.

BR,
Nikolaus

___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner