Seite 21 von 34

Re: NI-Buildsystem

Verfasst: Mi 18. Mai 2022, 21:33
von Knicko
Mir kackt allerdings beim Bau vom Kernel der HD60 der build ab.

Code: Alles auswählen

CC [M]  fs/xfs/libxfs/xfs_ialloc.o
  CC [M]  fs/xfs/libxfs/xfs_ialloc_btree.o
  CC [M]  fs/xfs/libxfs/xfs_inode_fork.o
  CC [M]  fs/xfs/libxfs/xfs_inode_buf.o
  CC [M]  fs/xfs/libxfs/xfs_log_rlimit.o
  CC [M]  fs/xfs/libxfs/xfs_sb.o
  CC [M]  fs/xfs/libxfs/xfs_symlink_remote.o
  CC [M]  fs/xfs/libxfs/xfs_trans_resv.o
  CC [M]  fs/xfs/libxfs/xfs_rtbitmap.o
  CC [M]  fs/xfs/xfs_aops.o
  CC [M]  fs/xfs/xfs_attr_inactive.o
  CC [M]  fs/xfs/xfs_attr_list.o
  CC [M]  fs/xfs/xfs_bmap_util.o
  CC [M]  fs/xfs/xfs_buf.o
  CC [M]  fs/xfs/xfs_dir2_readdir.o
  CC [M]  fs/xfs/xfs_discard.o
  CC [M]  fs/xfs/xfs_error.o
In Datei, eingebunden von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_inode.h:22,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_bmap_util.c:28:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_bmap_util.c: In Funktion »xfs_swap_extents_check_format«:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/libxfs/xfs_inode_fork.h:90:42: Warnung: »<<« in booleschem Kontext, meinten Sie »<«? [-Wint-in-bool-context]
   90 | #define XFS_IFORK_BOFF(ip)              ((int)((ip)->i_d.di_forkoff << 3))
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_bmap_util.c:1668:21: Anmerkung: bei Substitution des Makros »XFS_IFORK_BOFF«
 1668 |                 if (XFS_IFORK_BOFF(ip) &&
      |                     ^~~~~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/libxfs/xfs_inode_fork.h:90:42: Warnung: »<<« in booleschem Kontext, meinten Sie »<«? [-Wint-in-bool-context]
   90 | #define XFS_IFORK_BOFF(ip)              ((int)((ip)->i_d.di_forkoff << 3))
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_bmap_util.c:1678:21: Anmerkung: bei Substitution des Makros »XFS_IFORK_BOFF«
 1678 |                 if (XFS_IFORK_BOFF(tip) &&
      |                     ^~~~~~~~~~~~~~
  CC [M]  fs/xfs/xfs_export.o
  CC [M]  fs/xfs/xfs_extent_busy.o
  CC [M]  fs/xfs/xfs_file.o
  CC [M]  fs/xfs/xfs_filestream.o
  CC [M]  fs/xfs/xfs_fsops.o
  CC [M]  fs/xfs/xfs_globals.o
  CC [M]  fs/xfs/xfs_icache.o
  CC [M]  fs/xfs/xfs_ioctl.o
  CC [M]  fs/xfs/xfs_iomap.o
  CC [M]  fs/xfs/xfs_iops.o
In Datei, eingebunden von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_fsops.c:21:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_fsops.c: In Funktion »xfs_growfs_data_private«:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/libxfs/xfs_format.h:768:17: Warnung: Zugriff auf die Adresse des gepackten Elements von »struct xfs_agfl« führt möglicherweise zu einem nicht ausgerichteten Zeigerwert [-Waddress-of-packed-member]
  768 |                 &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_fsops.c:279:28: Anmerkung: bei Substitution des Makros »XFS_BUF_TO_AGFL_BNO«
  279 |                 agfl_bno = XFS_BUF_TO_AGFL_BNO(mp, bp);
      |                            ^~~~~~~~~~~~~~~~~~~
  CC [M]  fs/xfs/xfs_inode.o
  CC [M]  fs/xfs/xfs_itable.o
  CC [M]  fs/xfs/xfs_message.o
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_ioctl.c: In Funktion »xfs_handle_to_dentry«:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_ioctl.c:182:25: Warnung: die Umwandlung eines gepackten Zeigers auf »struct xfs_fid64« (Ausrichtung 1) in einen Zeiger auf »struct fid« (Ausrichtung 4) führt möglicherweise zu einem nicht ausgerichteten Zeiger [-Waddress-of-packed-member]
  182 |                         xfs_handle_acceptable, NULL);
      |                         ^~~~~~~~~~~~~~~~~~~~~
In Datei, eingebunden von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_ioctl.c:37:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_export.h:62:8: Anmerkung: hier definiert
   62 | struct xfs_fid64 {
      |        ^~~~~~~~~
In Datei, eingebunden von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.h:21,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_linux.h:94,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs.h:32,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_ioctl.c:18:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/include/linux/exportfs.h:105:8: Anmerkung: hier definiert
  105 | struct fid {
      |        ^~~
  CC [M]  fs/xfs/xfs_mount.o
  CC [M]  fs/xfs/xfs_mru_cache.o
  CC [M]  fs/xfs/xfs_stats.o
  CC [M]  fs/xfs/xfs_super.o
  CC [M]  fs/xfs/xfs_symlink.o
  CC [M]  fs/xfs/xfs_sysfs.o
  CC [M]  fs/xfs/xfs_trans.o
  CC [M]  fs/xfs/xfs_xattr.o
  CC [M]  fs/xfs/kmem.o
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_xattr.c: In Funktion »xfs_xattr_put_listent«:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_xattr.c:186:9: Warnung: »strncpy« Ausgabe möglicherweise abgeschnitten, beim Kopieren von 5 bis 9 Byte aus einer Zeichenkette der Länge 9 [-Wstringop-truncation]
  186 |         strncpy(offset, xfs_xattr_prefix(flags), prefix_len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  fs/xfs/uuid.o
  CC [M]  fs/xfs/xfs_log.o
In Datei, eingebunden von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_linux.h:53,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs.h:32,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.c:19:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/include/linux/module.h:130:13: Warnung: »init_module« legt weniger eingeschränktes Attribut als sein Ziel »init_xfs_fs« fest: »cold« [-Wmissing-attributes]
  130 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.c:1942:1: Anmerkung: bei Substitution des Makros »module_init«
 1942 | module_init(init_xfs_fs);
      | ^~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.c:1826:1: Anmerkung: Ziel »init_module« wurde hier deklariert
 1826 | init_xfs_fs(void)
      | ^~~~~~~~~~~
In Datei, eingebunden von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_linux.h:53,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs.h:32,
                 von /media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.c:19:
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/include/linux/module.h:136:14: Warnung: »cleanup_module« legt weniger eingeschränktes Attribut als sein Ziel »exit_xfs_fs« fest: »cold« [-Wmissing-attributes]
  136 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.c:1943:1: Anmerkung: bei Substitution des Makros »module_exit«
 1943 | module_exit(exit_xfs_fs);
      | ^~~~~~~~~~~
/media/knicko/bs-systeme/ni-org/ni-buildsystem/build_tmp/linux-4.4.35/fs/xfs/xfs_super.c:1923:1: Anmerkung: Ziel »cleanup_module« wurde hier deklariert
 1923 | exit_xfs_fs(void)
      | ^~~~~~~~~~~
  CC [M]  fs/xfs/xfs_log_cil.o
  CC [M]  fs/xfs/xfs_buf_item.o
  CC [M]  fs/xfs/xfs_extfree_item.o
  CC [M]  fs/xfs/xfs_icreate_item.o
  CC [M]  fs/xfs/xfs_inode_item.o
  CC [M]  fs/xfs/xfs_log_recover.o
  CC [M]  fs/xfs/xfs_trans_ail.o
  CC [M]  fs/xfs/xfs_trans_buf.o
  CC [M]  fs/xfs/xfs_trans_extfree.o
  CC [M]  fs/xfs/xfs_trans_inode.o
  CC [M]  fs/xfs/xfs_rtalloc.o
  CC [M]  fs/xfs/xfs_acl.o
  CC [M]  fs/xfs/xfs_sysctl.o
  LD [M]  fs/xfs/xfs.o
  LD      fs/built-in.o
make[1]: *** [Makefile:150: sub-make] Fehler 2
knicko@knicko-Lenovo-ideapad-330-15IKB:/media/knicko/bs-systeme/ni-org/ni-buildsystem$ 
Keine Ahnung, warum er da mt xfs jetzt ein Problem hat.
Hatte bei oe-a auch mal da in die defconfig geschaut, ob sich da was Gravierendes geändert hat, aber da ist nichts, was den Fehler verursachen könnte.

Re: NI-Buildsystem

Verfasst: Mi 18. Mai 2022, 22:14
von BPanther
Den eigentlichen Fehler sehe ich nicht im Log-Auszug. Scheint nicht wirklich bei XFS zu sein, denn das sind da nur Warnungen. Oder der ist davor, nur fehlt das im Log.

Re: NI-Buildsystem

Verfasst: Mi 18. Mai 2022, 23:05
von vanhofen
Ich denke, da fehlen ein paar Kernel-Patches. Vielleicht komme ich morgen dazu.

Re: NI-Buildsystem

Verfasst: Fr 20. Mai 2022, 19:22
von Knicko
Danke Sven.
Ja, das war der Grund.
Wünsche Euch ein schönes Wochenende.
l.Gr. Knicko

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 15:50
von jokel
jo baut durch
make flash-image
make flash-image-hd5x
rm -rf /home/jokel/ni-buildsystem/build_tmp/image-build
/usr/bin/install -d /home/jokel/ni-buildsystem/build_tmp/image-build/zgemma/h7
cp /home/jokel/ni-buildsystem/build_tmp/linux-4.10.12-obj/arch/arm/boot/zImage_dtb /home/jokel/ni-buildsystem/build_tmp/image-build/zgemma/h7/kernel.bin
set -e; cd /home/jokel/ni-buildsystem/build_tmp/rootfs/linuxrootfs1; \
tar -cvf /home/jokel/ni-buildsystem/build_tmp/image-build/zgemma/h7/rootfs.tar -C /home/jokel/ni-buildsystem/build_tmp/rootfs/linuxrootfs1 . >/dev/null 2>&1; \
bzip2 /home/jokel/ni-buildsystem/build_tmp/image-build/zgemma/h7/rootfs.tar
# Create minimal image
set -e; cd /home/jokel/ni-buildsystem/build_tmp/image-build/zgemma/h7; \
tar -czf /home/jokel/ni-buildsystem/staging/images/ni411-202205211543-arm-h7.tgz kernel.bin rootfs.tar.bz2
echo http://neutrino-images.de/neutrino-imag ... arm-h7.tgz 9411202205211543 $(md5sum /home/jokel/ni-buildsystem/staging/images/ni411-202205211543-arm-h7.tgz | cut -c1-32) ""Air Digital Zgemma H7" [arm-h7] Selfmade" 4.11.141.141 >> /home/jokel/ni-buildsystem/staging/images/selfmade-arm-h7.txt
rm -rf /home/jokel/ni-buildsystem/build_tmp/image-build
#make flash-image-hd5x-multi
---------------------------------------------------------------------------------------------------------------------------------------------
Done
---------------------------------------------------------------------------------------------------------------------------------------------
jokel@jokel-ThinkPad:~/ni-buildsystem$

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 15:57
von vanhofen
Was ist mit dem Buildfehler, der vor 10 Minuten noch von dir gepostet wurde?
jokel hat geschrieben: Sa 21. Mai 2022, 15:50 ... ""Air Digital Zgemma H7" [arm-h7] Selfmade" 4.11.141.141
Nice. :grinning:

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 16:08
von jokel
ice32 hatte mir geschrieben "mach mal make clean" und mach nochmal "make image"
danach ging es :wink:
hatte ich wohl vergessen (a1)
neutrino-allgemein-f4/ni-buildsystem-t1 ... tml#p34935

vanhofen top :slight_smile:

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 16:10
von vanhofen
Ein Guter, der ice. :smiley:

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 16:43
von dryeye
@jokel

warum steht im screenshot eigentlich nicht...

Code: Alles auswählen

Ersteller: NI-Buildsystem, ice32
? :upside_down:

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 17:23
von jokel
@dryeye
ich gebe dir recht. ich bin halt noch nicht so fit wie ice32 und lerne aus meinen fehlern.
theoretisch müsste dort @vanhofen stehen.

Re: NI-Buildsystem

Verfasst: Sa 21. Mai 2022, 17:28
von max_10
Ersteller: NI-Buildsystem, ice32
Wenn ice32 das Image selber gebaut hat stimmt das schon so, wie es da steht.

Re: NI-Buildsystem

Verfasst: So 22. Mai 2022, 13:31
von jokel

Re: NI-Buildsystem

Verfasst: So 22. Mai 2022, 14:00
von Knicko
ja, da der cache auch neu musste, hat der Server mal 13 Stunden gerödelt- :grinning:
Fleißiges Kerlchen :stuck_out_tongue:
Wird also demnächst wieder früher mit den Images fertig sein.
gr. Knicko

Re: NI-Buildsystem

Verfasst: Mo 23. Mai 2022, 10:45
von jokel
ich hatte ja das nI-buildsystem aktualisiert. problem ist jetzt das im lcd display die bar nur noch einfarbig
dargestellt wird. da wurde geschraubt wie ich sehe
https://github.com/TangoCash/lcd4linux/ ... 4e363dd4e9
im image davor ist die bar noch zweifarbig und aktuell jetzt nur einfarbig.
kann das bitte mal jemand gegenchecken.
bild 1 ist alte image
bild 2 ist neues image

Re: NI-Buildsystem

Verfasst: Mo 23. Mai 2022, 11:21
von annie
Fehler liegt bei deinen Änderungen

Gerade frisch geflasht und eigene lcd Daten eingespielt:
lcd4linux.png

Re: NI-Buildsystem

Verfasst: Mo 23. Mai 2022, 11:49
von jokel
annie ich habe nichts geändert.
einziger unterschied ist alte image zum neuen.
und zur bar. das sind eigentlich zwei. grün geht von links nach rechts u. rot geht von rechts nach links
bar 1 grün ist layer 2 u. bar 2 rot ist layer 3,also recht kompliziert. leider habe ich vom alten buildsystem kein
backup :disappointed_relieved:
und die rote bar wird nicht mehr dargestellt bzw. gezeichnet

Re: NI-Buildsystem

Verfasst: Mo 23. Mai 2022, 12:35
von vanhofen
Jokel, Das Buildsystem ist ganz sicher nicht verantwortlich, wenn du dir rote und grüne Bilder nicht ins Image kopierst. Und der von dir oben angesprochene Patch ist dafür auch nicht verantwortlich.

Re: NI-Buildsystem

Verfasst: Mo 23. Mai 2022, 14:11
von jokel
vanhofen hat geschrieben: Mo 23. Mai 2022, 12:35 Jokel, Das Buildsystem ist ganz sicher nicht verantwortlich, wenn du dir rote und grüne Bilder nicht ins Image kopierst. Und der von dir oben angesprochene Patch ist dafür auch nicht verantwortlich.
nein am nI-buildsystem liegt es nicht aber an der lcd4linux quelle
Und der von dir oben angesprochene Patch ist dafür auch nicht verantwortlich.
https://github.com/TangoCash/lcd4linux/ ... 4e363dd4e9
und genau da lag der fehler. ich habe das mal rückgängig gemacht u. neu compiliert
ergebnis

Re: NI-Buildsystem

Verfasst: Mo 23. Mai 2022, 14:12
von jokel
so muss das aussehen. rote bar von rechts nach links.
vanhofen und ohne bildchen :wink:
tango :wink:

Re: NI-Buildsystem

Verfasst: Sa 28. Mai 2022, 11:29
von jokel
habe mir gerade eben das aktuelle image gebau / geflasht
wenn die box hochfährt ist die lautstärke bei 100% das mir bald die ohren abfallen
ist das neu ?