Bug#879061: file: add support for FIT image (linux kernel file: *.itb)

2020-05-17 Thread Christoph Biedl
Control: tags 879061 unreproducible moreinfo

Mathieu Malaterre wrote...

> It would be nice to have something a bit more descriptive for FIT image:
> 
> $ file arch/mips/boot/vmlinux.gz.itb
> arch/mips/boot/vmlinux.gz.itb: data

For lack of a reproducer I tried to find some according files and found
something in the u-boot-rockchip_2020.04+dfsg-2_arm64.deb - these
however have been recognized by file/libmagic for years.

Christoph


signature.asc
Description: PGP signature


Bug#879061: file: add support for FIT image (linux kernel file: *.itb)

2017-10-18 Thread Mathieu Malaterre
Package: file
Version: 1:5.30-1+deb9u1
Severity: normal

It would be nice to have something a bit more descriptive for FIT image:

$ file arch/mips/boot/vmlinux.gz.itb
arch/mips/boot/vmlinux.gz.itb: data

Compared from the u-boot command line tool:

$ mkimage -l arch/mips/boot/vmlinux.gz.itb
FIT description: Linux 4.14.0-rc5-00036-gb900e164bc3a-dirty
Created: Wed Oct 18 21:46:50 2017
 Image 0 (kernel@0)
  Description:  Linux 4.14.0-rc5-00036-gb900e164bc3a-dirty
  Created:  Wed Oct 18 21:46:50 2017
  Type: Kernel Image
  Compression:  gzip compressed
  Data Size:4096329 Bytes = 4000.32 kB = 3.91 MB
  Architecture: MIPS
  OS:   Linux
  Load Address: 0x8010
  Entry Point:  0x807889c0
  Hash algo:sha1
  Hash value:   b071fb516a3f5ad1cc89f2fbdaad198595eced15
 Default Configuration: 'conf@default'
 Configuration 0 (conf@default)
  Description:  Generic Linux kernel
  Kernel:   kernel@0



-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages file depends on:
ii  libc6  2.24-11+deb9u1
ii  libmagic1  1:5.30-1+deb9u1
ii  zlib1g 1:1.2.8.dfsg-5

file recommends no packages.

file suggests no packages.

-- no debconf information