6/5/2017
========

- Reprise rédaction+ tests

* BR 2017.02.2 -> OK

* Test 'mini' distribution OK en conservant le noyau Raspbian + root-fs compilé avec Codebench 2014.05

Compilation noyau statique rpi-4.4.y ne fonctionne pas
 
* Test Yocto/Morty -> branche 'morty' sur meta-raspberrypi -> OK

ENABLE_UART = "1"

7/5/2017
========

- Test rpi-4.1.y -> ne fonctionne pas non plus même sur Pi 2 (étrange)

- Ajout /sys + hostname à /etc/inittab

10/5/2017
=========

- Test BR + Linaro OK :)

- Ajout référence PTXdist

28/5/2017
=========

- Test U-Boot sur Pi 3

Modif include/configs/rpi.h pour utiliser PL011

/* Console UART */
#ifdef CONFIG_BCM2837
/* #define CONFIG_BCM283X_MU_SERIAL */
#define CONFIG_PL01X_SERIAL
#else
#define CONFIG_PL01X_SERIAL
#endif

30/5/2017
=========

- make savedefconfig ne sauvegarde pas le choix de toolchain ??

1/6/2017
========

- Sortie 2017.05 -> compilation à re-tester + modifs mineures à faire

30/6/2017
=========

- Test Pi0 + Wi-Fi

MACHINE = "raspberrypi0-wifi"
INHERIT += "rm_work"
IMAGE_INSTALL_append = " iw wpa-supplicant linux-firmware-bcm43430"

$ bitbake rpi-basic-image

-> OK :)

- Idem sur Pi 3 !


8/7/2017
========

- Test Qt5

http://blog.unixshell.se/?p=27

make[2]: *** No rule to make target '.obj/qstring_compat.o', needed by '../../lib/libQt5Core.so.5.7.1'.  Stop.

https://stackoverflow.com/questions/38166053/an-error-building-qt-libraries-for-the-raspberry-pi-linking-error

-> Ajout 	-no-use-gold-linker à qtbase_git.bb

local.conf ->

DISTRO_FEATURES_remove = "x11 wayland"
IMAGE_INSTALL_append = " qtbase qt5everywheredemo"


Ajout gpu_mem=128 dans config.txt

# export QT_QPA_PLATFORM=eglfs
# cd /usr/share/qt5everywheredemo-1.0#
# ./QtDemo

11/7/2017
=========

- Test compilation X11, Qt5 sur Ubuntu 14.04 + Morty -> erreur libical

$ cat /media/pierre/PF_WD_1TO/Yocto/morty/rpi3-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libical/2.0.0-r0/temp/log.do_configure.17404
DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function do_configure
cmake: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake)
cmake: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by cmake)
cmake: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cmake)

WARNING: /media/pierre/PF_WD_1TO/Yocto/morty/rpi3-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libical/2.0.0-r0/temp/run.do_configure.17404:1 exit 1 from 'cmake ${OECMAKE_SITEFILE} /media/pierre/PF_WD_1TO/Yocto/morty/rpi3-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libical/2.0.0-r0/libical-2.0.0 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE=/media/pierre/PF_WD_1TO/Yocto/morty/rpi3-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libical/2.0.0-r0/toolchain.cmake -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DSHARED_ONLY=True ${PACKAGECONFIG_CONFARGS} -Wno-dev'

ERROR: Function failed: do_configure (log file is located at /media/pierre/PF_WD_1TO/Yocto/morty/rpi3-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libical/2.0.0-r0/temp/log.do_configure.17404)
[pierre@XPS-pf ~]$ 

16/7/2017
=========

- A placer en intro ??

"Le monde réel est plein de soucis, la Matrice est remplies d'algorithmes multiples permettant de les corriger et donc de présenter un monde lisse et parfait" 

17/7/2017
=========

- Test gdbserver + BR + Linaro

* erreur exécution gdbserver -> compilation à partir des sources

https://sourceware.org/gdb/wiki/BuildingCrossGDBandGDBserver

* modif taille rootfs

Modif BR2_TARGET_ROOTFS_EXT2_BLOCKS à 80000

18/7/2017
=========

- Test OpenOCD / Pi 3 / 64 bits -> KO

https://github.com/OP-TEE/build/blob/master/docs/rpi3.md#6-openocd-and-jtag
https://github.com/daniel-k/rpi3-aarch64-jtag

- Compilation OpenOCD 0.10 + test RPi B+ OK (tjrs en exécutant 2x le programme...)

$ git clone git://repo.or.cz/openocd.git
$ cd openocd/
$ ./bootstrap 
$ ./configure --enable-ftdi
$ make -j 4
  508  ./src/openocd -f tcl/interface/ftdi/olimex-arm-usb-tiny-h.cfg -f <path>/rpi.cfg 

19/7/2017
=========

- Ftrace

# echo function > current_tracer plante le noyau en 32 bits + Linaro (OK en 64)

25/7/2017
=========

Patch "SDK relogeable"

Hello,

this is v10 of my patch series to make the buildroot SDK (HOST_DIR)
relocatable. It sanitizes the RPATH of all ELF files in the "target",
"staging" and "host" tree using "patchelf --make-rpath-relative". We
now use patchelf v0.9 to still support old Debian and RHEL systems.

v5 did RPATH sanitization per package after package installation into
the host, staging or target tree using GLOBAL_INSTRUMENTATION_HOOKS.
This approach got more and more complex and inefficient. Therefore
it was abandoned in favor of global sanititation at the end of the
host, staging and target build (see changes since v5).

Furthermore this patch creates the script "relocate-sdk.sh" in the top
directory of the "host" tree allowing to relocate the SDK after it has
been moved to a new location. It replaces the old path with the new
one in all text files identified by "file --mime-type". The location
is stored in "share/buildroot/sdk-location". This patch is already
upstream.

Unfortunately, "qmake" uses hard-coded pathes compiled into the QT5
libraries. To overcome this problem, "qt5pase" now creates "qt.conf".

v8 now creates a relocatable SDK with "make sdk". The normal "make"
only sanitizes the RPATH in the target tree.

In the meantime, various patches have been accepted. v9 will provide
the rest and fixes some minor issues.

Wolfgang.

27/7/2017
=========

- Test macros Libreoffice Python

https://tmtlakmal.wordpress.com/2013/08/11/a-simple-python-macro-in-libreoffice-4-0/

Macro insert_image

Sub Main
 dim document   as object
   dim dispatcher as object
   document   = ThisComponent.CurrentController.Frame
   dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
   rem ----------------------------------------------------------------------
   dim args1(3) as new com.sun.star.beans.PropertyValue
   args1(0).Name = "FileName"
   oVC = ThisComponent.CurrentController.getViewCursor
   img_path = Curdir & "/LE5/docs/chapitres/Images/" & oVC.String
   args1(0).Value = img_path
   args1(1).Name = "FilterName"
   args1(1).Value = "<All formats>"
   args1(2).Name = "AsLink"
   args1(2).Value = true
   args1(3).Name = "Style"
   args1(3).Value = "Graphics"
   dispatcher.executeDispatch(document, ".uno:InsertGraphic", "", 0, args1())
End Sub


28/7/2017
=========

- BR 

* légende  "options de constructionS" -> retirer le S

* voir br_toolchain_external_eabi.png (résolution image?)

* idem prise en charge /dev

* utiliser légende "buildroot_system_conf_init.png" (au lieu de config)

* Idem system_conf_overlay.png 

- U-Boot 

* remplacement bootloader_ par u-boot_

uboot_menuconfig -> menuconfig

