Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Banana Pi : qu'en pensez-vous ?
#31
Ah oui ca c'est uboot qu'il faut changer aussi.
Sinon j'ai oublié il faut aussi ajouter bananapi dans:
Code:
COMPATIBLE_MACHINE = "(.......|bananapi)"

Pour uboot, dans ce fichier:
Code:
src/meta-sunxi/recipes-bsp/u-boot/u-boot_git.bb

il faut mettre
Code:
SRCREV = "ea1ac32bf76eb60baef474c2516fc431b381d952
DEFAULT_PREFERENCE_bananapi="1"
COMPATIBLE_MACHINE = "(.......|bananapi)"

Et dans src/meta-sunxi/conf/machine/bananapi.conf
Code:
UBOOT_MACHINE = "Bananapi_config"
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply
#32
Code:
COMPATIBLE_MACHINE = "(.......|bananapi)"

=> je l'avais déjà fait

Pour uboot, dans ce fichier:
Code:
src/meta-sunxi/recipes-bsp/u-boot/u-boot_git.bb

=> idem déjà en place


il faut mettre
Code:
SRCREV = "ea1ac32bf76eb60baef474c2516fc431b381d952
DEFAULT_PREFERENCE_bananapi="1"
COMPATIBLE_MACHINE = "(.......|bananapi)"

=> je n'avais pas changé la variable SRCREV ... : DONE

Et dans src/meta-sunxi/conf/machine/bananapi.conf
Code:
UBOOT_MACHINE = "Bananapi_config"

=> J'avais mis "bananapi" ... : DONE

Par contre, je reviens avec l'erreur initiale en 1er lieu ... :
Code:
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/sunxi-board-fex/1.0-r6/temp/log.do_compile.2662)
ERROR: Logfile of failure stored in: /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/sunxi-board-fex/1.0-r6/temp/log.do_compile.2662
Log data follows:
| DEBUG: Executing shell function do_compile
| sed: can't read /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/sunxi-board-fex/1.0-r6/git/sys_config/a20/Bananapi.fex: No such file or directory
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/sunxi-board-fex/1.0-r6/temp/log.do_compile.2662)
ERROR: Task 276 (/home/mwa/extra/calaos-os/src/meta-sunxi/recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb, do_compile) failed with exit code '1'
ERROR: Function failed: do_compile (log file is located at /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/u-boot/1_v2013.10+v2014.01-rc1-r0/temp/log.do_compile.2663)
ERROR: Logfile of failure stored in: /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/u-boot/1_v2013.10+v2014.01-rc1-r0/temp/log.do_compile.2663
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j8 CROSS_COMPILE=arm-oe-linux-gnueabi- CC=arm-oe-linux-gnueabi-gcc  --sysroot=/home/mwa/extra/calaos-os/tmp-eglibc/sysroots/bananapi Bananapi_config
| make: *** No rule to make target `Bananapi_config'.  Stop.
| make: *** [Bananapi_config] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/u-boot/1_v2013.10+v2014.01-rc1-r0/temp/log.do_compile.2663)
ERROR: Task 262 (/home/mwa/extra/calaos-os/src/meta-sunxi/recipes-bsp/u-boot/u-boot_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3864 tasks of which 3854 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
  /home/mwa/extra/calaos-os/src/meta-sunxi/recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb, do_compile
  /home/mwa/extra/calaos-os/src/meta-sunxi/recipes-bsp/u-boot/u-boot_git.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Une nouvelle piste ? Qu'est-ce que j'ai oublié ?
Reply
#33
fait ca:

Code:
bitbake -c cleansstate sunxi-board-fex

et recommence
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply
#34
(11-25-2014, 04:01 PM)raoulh Wrote: fait ca:

Code:
bitbake -c cleansstate sunxi-board-fex

et recommence

=> le clean est fait ! et ça a retiré les erreurs de UBOOT Smile

Donc on avance ... maintenant reste la dernière (avant une nouvelle série ?) :
Code:
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/u-boot/1_v2013.10+v2014.01-rc1-r0/temp/log.do_compile.4496)
ERROR: Logfile of failure stored in: /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/u-boot/1_v2013.10+v2014.01-rc1-r0/temp/log.do_compile.4496
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j8 CROSS_COMPILE=arm-oe-linux-gnueabi- CC=arm-oe-linux-gnueabi-gcc  --sysroot=/home/mwa/extra/calaos-os/tmp-eglibc/sysroots/bananapi Bananapi_config
| make: *** No rule to make target `Bananapi_config'.  Stop.
| make: *** [Bananapi_config] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/mwa/extra/calaos-os/tmp-eglibc/work/bananapi-oe-linux-gnueabi/u-boot/1_v2013.10+v2014.01-rc1-r0/temp/log.do_compile.4496)
ERROR: Task 262 (/home/mwa/extra/calaos-os/src/meta-sunxi/recipes-bsp/u-boot/u-boot_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3954 tasks of which 3950 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/mwa/extra/calaos-os/src/meta-sunxi/recipes-bsp/u-boot/u-boot_git.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Une piste ?

PS : merci pour ton aide raoulh Wink
Reply
#35
Quelqu'un aurait-il une idée à creuser pour que je puisse avancer ?
Reply
#36
(11-28-2014, 02:18 PM)maktibab Wrote: Quelqu'un aurait-il une idée à creuser pour que je puisse avancer ?

personne ? snif snouf ...
Reply
#37
je commence à désespérer ... Confused

est-ce que je dois obligatoirement passer par la génération d'une image dédiée à mon bananapi ? Où ... je peux tenter d'installer une autre image ?
Reply
#38
Bon après plusieurs semaines / mois de passivité je me suis décidé à remettre les couverts Smile sans doute la sortie de la V2 qui me fait prendre le temps Smile

Donc je retente une compilation de calaos-os pour mon bananapi mais ... toujours une erreur ! Par contre elle semble avoir évolué et apparait quasiment après le démarrage de bitbake :

calaos@michael-VirtualBox:~/calaos-os$ bitbake calaos-image
WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_msntp (${sbindir}/msntp).
Parsing recipes: 100% |##########################################################################################################################################| Time: 00:00:54
Parsing of 1658 .bb files complete (0 cached, 1658 parsed). 2070 targets, 65 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 3.4.61 of linux-libc-headers not available (for item linux-libc-headers)
NOTE: versions of linux-libc-headers available: 3.10
ERROR: Nothing RPROVIDES 'kernel-modules' (but /home/calaos/calaos-os/src/oe-core/meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'kernel-modules' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['kernel-modules']
NOTE: Runtime target 'packagegroup-base-extended' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-base-extended', 'kernel-modules']
ERROR: Required build target 'calaos-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['calaos-image', 'packagegroup-base-extended', 'kernel-modules']

Summary: There was 1 WARNING message shown.
Reply
#39
Peux tu tester cette image : http://calaos.fr/download/testing/calaos-os/bananapi/ ?
Et me faire un retour ?
Calaos v2 sur Rpi et MeleA1000 | Eco Device | IPX800 | Karotz | 1Wire | Relais GPIO | Squeezebox
Reply
#40
(02-22-2015, 01:59 PM)captainigloo Wrote: Peux tu tester cette image : http://calaos.fr/download/testing/calaos-os/bananapi/ ?
Et me faire un retour ?

Hello captainigloo !

Image transférée sur carte SD.
Bananapi démarré -> 2 logos de tux apparaissent quelques secondes -> un curseur (brievement) puis ... tada Smile ça marche !

Par contre ... ça ram pour les animations ... vive la neige Sad
Y a une config particulière à faire pour ça ? J'aurais pensé qu'avec une sortie HDMI ça serait bien plus fluide.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)