[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845779: flash-kernel: flashkernel uses mkimage -A arm on arm64

Package: flash-kernel
Version: 3.71
Severity: normal

Dear Maintainer,

I want to get the Hardkernel Odroid C2 supported by flash-kernel.

It is a 64bit system.

Unfortunately in file /usr/share/flash-kernel/functions the functions
mkimage_kernel() and mkimage_initrd() both call mkimage with argument

 -A arm .

This is incorrect. On 64bit arm systems you have to use

 -A arm64 .

Otherwise neither u-boot nor the kernel can read the images.

I suggest to use `uname -m` to determine the architectue.
If it is aarch64 use mkimage -A arm64.

Best regards

Heinrich Schuchardt

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 4.9.0-rc6-next-20161124 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages flash-kernel depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  devio                  1.2-1.2
ii  initramfs-tools        0.125
ii  linux-base             4.5
ii  mtd-utils              1:1.5.2-1
ii  ucf                    3.0036

Versions of packages flash-kernel recommends:
ii  u-boot-tools  2016.11+dfsg1-1

flash-kernel suggests no packages.

-- debconf information:
  flash-kernel/linux_cmdline: quiet

Reply to: